@visactor/vrender-core 0.16.0-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/README.md +9 -0
- package/cjs/allocator/allocator-modules.d.ts +1 -0
- package/cjs/allocator/allocator-modules.js +1 -0
- package/cjs/allocator/allocator-modules.js.map +1 -0
- package/cjs/allocator/canvas-allocate.d.ts +14 -0
- package/cjs/allocator/canvas-allocate.js +46 -0
- package/cjs/allocator/canvas-allocate.js.map +1 -0
- package/cjs/allocator/constants.d.ts +9 -0
- package/cjs/allocator/constants.js +11 -0
- package/cjs/allocator/constants.js.map +1 -0
- package/cjs/allocator/graphic-allocate.d.ts +1 -0
- package/cjs/allocator/graphic-allocate.js +1 -0
- package/cjs/allocator/graphic-allocate.js.map +1 -0
- package/cjs/allocator/matrix-allocate.d.ts +25 -0
- package/cjs/allocator/matrix-allocate.js +77 -0
- package/cjs/allocator/matrix-allocate.js.map +1 -0
- package/cjs/allocator/point-allocate.d.ts +1 -0
- package/cjs/allocator/point-allocate.js +1 -0
- package/cjs/allocator/point-allocate.js.map +1 -0
- package/cjs/animate/Ticker/default-ticker.d.ts +87 -0
- package/cjs/animate/Ticker/default-ticker.js +244 -0
- package/cjs/animate/Ticker/default-ticker.js.map +1 -0
- package/cjs/animate/Ticker/index.d.ts +1 -0
- package/cjs/animate/Ticker/index.js +21 -0
- package/cjs/animate/Ticker/index.js.map +1 -0
- package/cjs/animate/animate.d.ts +146 -0
- package/cjs/animate/animate.js +395 -0
- package/cjs/animate/animate.js.map +1 -0
- package/cjs/animate/config.d.ts +3 -0
- package/cjs/animate/config.js +13 -0
- package/cjs/animate/config.js.map +1 -0
- package/cjs/animate/custom-animate.d.ts +229 -0
- package/cjs/animate/custom-animate.js +643 -0
- package/cjs/animate/custom-animate.js.map +1 -0
- package/cjs/animate/default-ticker.d.ts +2 -0
- package/cjs/animate/default-ticker.js +13 -0
- package/cjs/animate/default-ticker.js.map +1 -0
- package/cjs/animate/easing.d.ts +45 -0
- package/cjs/animate/easing.js +118 -0
- package/cjs/animate/easing.js.map +1 -0
- package/cjs/animate/index.d.ts +6 -0
- package/cjs/animate/index.js +23 -0
- package/cjs/animate/index.js.map +1 -0
- package/cjs/animate/morphing.d.ts +52 -0
- package/cjs/animate/morphing.js +289 -0
- package/cjs/animate/morphing.js.map +1 -0
- package/cjs/animate/timeline.d.ts +17 -0
- package/cjs/animate/timeline.js +46 -0
- package/cjs/animate/timeline.js.map +1 -0
- package/cjs/application.d.ts +11 -0
- package/cjs/application.js +9 -0
- package/cjs/application.js.map +1 -0
- package/cjs/canvas/conical-gradient.d.ts +12 -0
- package/cjs/canvas/conical-gradient.js +124 -0
- package/cjs/canvas/conical-gradient.js.map +1 -0
- package/cjs/canvas/constants.d.ts +2 -0
- package/cjs/canvas/constants.js +7 -0
- package/cjs/canvas/constants.js.map +1 -0
- package/cjs/canvas/contributions/base-canvas.d.ts +52 -0
- package/cjs/canvas/contributions/base-canvas.js +107 -0
- package/cjs/canvas/contributions/base-canvas.js.map +1 -0
- package/cjs/canvas/empty-context.d.ts +97 -0
- package/cjs/canvas/empty-context.js +209 -0
- package/cjs/canvas/empty-context.js.map +1 -0
- package/cjs/canvas/index.d.ts +4 -0
- package/cjs/canvas/index.js +22 -0
- package/cjs/canvas/index.js.map +1 -0
- package/cjs/canvas/util.d.ts +24 -0
- package/cjs/canvas/util.js +399 -0
- package/cjs/canvas/util.js.map +1 -0
- package/cjs/color-string/colorName.d.ts +2 -0
- package/cjs/color-string/colorName.js +13 -0
- package/cjs/color-string/colorName.js.map +1 -0
- package/cjs/color-string/index.d.ts +3 -0
- package/cjs/color-string/index.js +22 -0
- package/cjs/color-string/index.js.map +1 -0
- package/cjs/color-string/interpolate.d.ts +7 -0
- package/cjs/color-string/interpolate.js +103 -0
- package/cjs/color-string/interpolate.js.map +1 -0
- package/cjs/color-string/store.d.ts +11 -0
- package/cjs/color-string/store.js +54 -0
- package/cjs/color-string/store.js.map +1 -0
- package/cjs/common/Reflect-metadata.d.ts +2 -0
- package/cjs/common/Reflect-metadata.js +392 -0
- package/cjs/common/Reflect-metadata.js.map +1 -0
- package/cjs/common/bezier-utils.d.ts +5 -0
- package/cjs/common/bezier-utils.js +35 -0
- package/cjs/common/bezier-utils.js.map +1 -0
- package/cjs/common/bounds-context.d.ts +18 -0
- package/cjs/common/bounds-context.js +59 -0
- package/cjs/common/bounds-context.js.map +1 -0
- package/cjs/common/canvas-utils.d.ts +8 -0
- package/cjs/common/canvas-utils.js +73 -0
- package/cjs/common/canvas-utils.js.map +1 -0
- package/cjs/common/contribution-provider.d.ts +4 -0
- package/cjs/common/contribution-provider.js +27 -0
- package/cjs/common/contribution-provider.js.map +1 -0
- package/cjs/common/custom-path2d.d.ts +47 -0
- package/cjs/common/custom-path2d.js +333 -0
- package/cjs/common/custom-path2d.js.map +1 -0
- package/cjs/common/enums.d.ts +70 -0
- package/cjs/common/enums.js +49 -0
- package/cjs/common/enums.js.map +1 -0
- package/cjs/common/generator.d.ts +4 -0
- package/cjs/common/generator.js +14 -0
- package/cjs/common/generator.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/decorator_utils.d.ts +16 -0
- package/cjs/common/inversify-lite/annotation/decorator_utils.js +97 -0
- package/cjs/common/inversify-lite/annotation/decorator_utils.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/inject.d.ts +2 -0
- package/cjs/common/inversify-lite/annotation/inject.js +36 -0
- package/cjs/common/inversify-lite/annotation/inject.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/inject_base.d.ts +3 -0
- package/cjs/common/inversify-lite/annotation/inject_base.js +20 -0
- package/cjs/common/inversify-lite/annotation/inject_base.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/injectable.d.ts +2 -0
- package/cjs/common/inversify-lite/annotation/injectable.js +48 -0
- package/cjs/common/inversify-lite/annotation/injectable.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/lazy_service_identifier.d.ts +7 -0
- package/cjs/common/inversify-lite/annotation/lazy_service_identifier.js +17 -0
- package/cjs/common/inversify-lite/annotation/lazy_service_identifier.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/multi_inject.d.ts +2 -0
- package/cjs/common/inversify-lite/annotation/multi_inject.js +36 -0
- package/cjs/common/inversify-lite/annotation/multi_inject.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/named.d.ts +2 -0
- package/cjs/common/inversify-lite/annotation/named.js +39 -0
- package/cjs/common/inversify-lite/annotation/named.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/post_construct.d.ts +4 -0
- package/cjs/common/inversify-lite/annotation/post_construct.js +36 -0
- package/cjs/common/inversify-lite/annotation/post_construct.js.map +1 -0
- package/cjs/common/inversify-lite/annotation/property_event_decorator.d.ts +4 -0
- package/cjs/common/inversify-lite/annotation/property_event_decorator.js +24 -0
- package/cjs/common/inversify-lite/annotation/property_event_decorator.js.map +1 -0
- package/cjs/common/inversify-lite/bindings/binding.d.ts +20 -0
- package/cjs/common/inversify-lite/bindings/binding.js +27 -0
- package/cjs/common/inversify-lite/bindings/binding.js.map +1 -0
- package/cjs/common/inversify-lite/bindings/binding_count.d.ts +5 -0
- package/cjs/common/inversify-lite/bindings/binding_count.js +10 -0
- package/cjs/common/inversify-lite/bindings/binding_count.js.map +1 -0
- package/cjs/common/inversify-lite/constants/error_msgs.d.ts +32 -0
- package/cjs/common/inversify-lite/constants/error_msgs.js +50 -0
- package/cjs/common/inversify-lite/constants/error_msgs.js.map +1 -0
- package/cjs/common/inversify-lite/constants/literal_types.d.ts +5 -0
- package/cjs/common/inversify-lite/constants/literal_types.js +35 -0
- package/cjs/common/inversify-lite/constants/literal_types.js.map +1 -0
- package/cjs/common/inversify-lite/constants/metadata_keys.d.ts +13 -0
- package/cjs/common/inversify-lite/constants/metadata_keys.js +16 -0
- package/cjs/common/inversify-lite/constants/metadata_keys.js.map +1 -0
- package/cjs/common/inversify-lite/container/container.d.ts +46 -0
- package/cjs/common/inversify-lite/container/container.js +292 -0
- package/cjs/common/inversify-lite/container/container.js.map +1 -0
- package/cjs/common/inversify-lite/container/container_module.d.ts +11 -0
- package/cjs/common/inversify-lite/container/container_module.js +24 -0
- package/cjs/common/inversify-lite/container/container_module.js.map +1 -0
- package/cjs/common/inversify-lite/container/lookup.d.ts +16 -0
- package/cjs/common/inversify-lite/container/lookup.js +97 -0
- package/cjs/common/inversify-lite/container/lookup.js.map +1 -0
- package/cjs/common/inversify-lite/index.d.ts +8 -0
- package/cjs/common/inversify-lite/index.js +84 -0
- package/cjs/common/inversify-lite/index.js.map +1 -0
- package/cjs/common/inversify-lite/interfaces/interfaces.d.ts +239 -0
- package/cjs/common/inversify-lite/interfaces/interfaces.js +6 -0
- package/cjs/common/inversify-lite/interfaces/interfaces.js.map +1 -0
- package/cjs/common/inversify-lite/planning/context.d.ts +11 -0
- package/cjs/common/inversify-lite/planning/context.js +22 -0
- package/cjs/common/inversify-lite/planning/context.js.map +1 -0
- package/cjs/common/inversify-lite/planning/metadata.d.ts +8 -0
- package/cjs/common/inversify-lite/planning/metadata.js +44 -0
- package/cjs/common/inversify-lite/planning/metadata.js.map +1 -0
- package/cjs/common/inversify-lite/planning/metadata_reader.d.ts +6 -0
- package/cjs/common/inversify-lite/planning/metadata_reader.js +51 -0
- package/cjs/common/inversify-lite/planning/metadata_reader.js.map +1 -0
- package/cjs/common/inversify-lite/planning/plan.d.ts +7 -0
- package/cjs/common/inversify-lite/planning/plan.js +14 -0
- package/cjs/common/inversify-lite/planning/plan.js.map +1 -0
- package/cjs/common/inversify-lite/planning/planner.d.ts +5 -0
- package/cjs/common/inversify-lite/planning/planner.js +132 -0
- package/cjs/common/inversify-lite/planning/planner.js.map +1 -0
- package/cjs/common/inversify-lite/planning/queryable_string.d.ts +11 -0
- package/cjs/common/inversify-lite/planning/queryable_string.js +33 -0
- package/cjs/common/inversify-lite/planning/queryable_string.js.map +1 -0
- package/cjs/common/inversify-lite/planning/reflection_utils.d.ts +5 -0
- package/cjs/common/inversify-lite/planning/reflection_utils.js +129 -0
- package/cjs/common/inversify-lite/planning/reflection_utils.js.map +1 -0
- package/cjs/common/inversify-lite/planning/request.d.ts +14 -0
- package/cjs/common/inversify-lite/planning/request.js +22 -0
- package/cjs/common/inversify-lite/planning/request.js.map +1 -0
- package/cjs/common/inversify-lite/planning/target.d.ts +23 -0
- package/cjs/common/inversify-lite/planning/target.js +81 -0
- package/cjs/common/inversify-lite/planning/target.js.map +1 -0
- package/cjs/common/inversify-lite/resolution/instantiation.d.ts +3 -0
- package/cjs/common/inversify-lite/resolution/instantiation.js +143 -0
- package/cjs/common/inversify-lite/resolution/instantiation.js.map +1 -0
- package/cjs/common/inversify-lite/resolution/resolver.d.ts +3 -0
- package/cjs/common/inversify-lite/resolution/resolver.js +74 -0
- package/cjs/common/inversify-lite/resolution/resolver.js.map +1 -0
- package/cjs/common/inversify-lite/scope/scope.d.ts +3 -0
- package/cjs/common/inversify-lite/scope/scope.js +56 -0
- package/cjs/common/inversify-lite/scope/scope.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/binding_in_syntax.d.ts +9 -0
- package/cjs/common/inversify-lite/syntax/binding_in_syntax.js +25 -0
- package/cjs/common/inversify-lite/syntax/binding_in_syntax.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/binding_in_when_on_syntax.d.ts +12 -0
- package/cjs/common/inversify-lite/syntax/binding_in_when_on_syntax.js +29 -0
- package/cjs/common/inversify-lite/syntax/binding_in_when_on_syntax.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/binding_on_syntax.d.ts +6 -0
- package/cjs/common/inversify-lite/syntax/binding_on_syntax.js +14 -0
- package/cjs/common/inversify-lite/syntax/binding_on_syntax.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/binding_to_syntax.d.ts +18 -0
- package/cjs/common/inversify-lite/syntax/binding_to_syntax.js +88 -0
- package/cjs/common/inversify-lite/syntax/binding_to_syntax.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/binding_when_on_syntax.d.ts +8 -0
- package/cjs/common/inversify-lite/syntax/binding_when_on_syntax.js +19 -0
- package/cjs/common/inversify-lite/syntax/binding_when_on_syntax.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/binding_when_syntax.d.ts +7 -0
- package/cjs/common/inversify-lite/syntax/binding_when_syntax.js +20 -0
- package/cjs/common/inversify-lite/syntax/binding_when_syntax.js.map +1 -0
- package/cjs/common/inversify-lite/syntax/constraint_helpers.d.ts +3 -0
- package/cjs/common/inversify-lite/syntax/constraint_helpers.js +38 -0
- package/cjs/common/inversify-lite/syntax/constraint_helpers.js.map +1 -0
- package/cjs/common/inversify-lite/utils/async.d.ts +3 -0
- package/cjs/common/inversify-lite/utils/async.js +15 -0
- package/cjs/common/inversify-lite/utils/async.js.map +1 -0
- package/cjs/common/inversify-lite/utils/binding_utils.d.ts +4 -0
- package/cjs/common/inversify-lite/utils/binding_utils.js +94 -0
- package/cjs/common/inversify-lite/utils/binding_utils.js.map +1 -0
- package/cjs/common/inversify-lite/utils/clonable.d.ts +3 -0
- package/cjs/common/inversify-lite/utils/clonable.js +10 -0
- package/cjs/common/inversify-lite/utils/clonable.js.map +1 -0
- package/cjs/common/inversify-lite/utils/exceptions.d.ts +2 -0
- package/cjs/common/inversify-lite/utils/exceptions.js +43 -0
- package/cjs/common/inversify-lite/utils/exceptions.js.map +1 -0
- package/cjs/common/inversify-lite/utils/factory_type.d.ts +5 -0
- package/cjs/common/inversify-lite/utils/factory_type.js +11 -0
- package/cjs/common/inversify-lite/utils/factory_type.js.map +1 -0
- package/cjs/common/inversify-lite/utils/id.d.ts +2 -0
- package/cjs/common/inversify-lite/utils/id.js +14 -0
- package/cjs/common/inversify-lite/utils/id.js.map +1 -0
- package/cjs/common/inversify-lite/utils/js.d.ts +1 -0
- package/cjs/common/inversify-lite/utils/js.js +14 -0
- package/cjs/common/inversify-lite/utils/js.js.map +1 -0
- package/cjs/common/inversify-lite/utils/serialization.d.ts +10 -0
- package/cjs/common/inversify-lite/utils/serialization.js +99 -0
- package/cjs/common/inversify-lite/utils/serialization.js.map +1 -0
- package/cjs/common/matrix.d.ts +5 -0
- package/cjs/common/matrix.js +54 -0
- package/cjs/common/matrix.js.map +1 -0
- package/cjs/common/morphing-utils.d.ts +17 -0
- package/cjs/common/morphing-utils.js +295 -0
- package/cjs/common/morphing-utils.js.map +1 -0
- package/cjs/common/path-svg.d.ts +12 -0
- package/cjs/common/path-svg.js +64 -0
- package/cjs/common/path-svg.js.map +1 -0
- package/cjs/common/polygon.d.ts +4 -0
- package/cjs/common/polygon.js +46 -0
- package/cjs/common/polygon.js.map +1 -0
- package/cjs/common/render-area.d.ts +11 -0
- package/cjs/common/render-area.js +136 -0
- package/cjs/common/render-area.js.map +1 -0
- package/cjs/common/render-command-list.d.ts +2 -0
- package/cjs/common/render-command-list.js +17 -0
- package/cjs/common/render-command-list.js.map +1 -0
- package/cjs/common/render-curve.d.ts +18 -0
- package/cjs/common/render-curve.js +123 -0
- package/cjs/common/render-curve.js.map +1 -0
- package/cjs/common/seg-context.d.ts +36 -0
- package/cjs/common/seg-context.js +98 -0
- package/cjs/common/seg-context.js.map +1 -0
- package/cjs/common/segment/basis.d.ts +28 -0
- package/cjs/common/segment/basis.js +69 -0
- package/cjs/common/segment/basis.js.map +1 -0
- package/cjs/common/segment/common.d.ts +3 -0
- package/cjs/common/segment/common.js +12 -0
- package/cjs/common/segment/common.js.map +1 -0
- package/cjs/common/segment/curve/arc.d.ts +14 -0
- package/cjs/common/segment/curve/arc.js +29 -0
- package/cjs/common/segment/curve/arc.js.map +1 -0
- package/cjs/common/segment/curve/base.d.ts +13 -0
- package/cjs/common/segment/curve/base.js +15 -0
- package/cjs/common/segment/curve/base.js.map +1 -0
- package/cjs/common/segment/curve/cubic-bezier.d.ts +19 -0
- package/cjs/common/segment/curve/cubic-bezier.js +42 -0
- package/cjs/common/segment/curve/cubic-bezier.js.map +1 -0
- package/cjs/common/segment/curve/curve-context.d.ts +19 -0
- package/cjs/common/segment/curve/curve-context.js +48 -0
- package/cjs/common/segment/curve/curve-context.js.map +1 -0
- package/cjs/common/segment/curve/ellipse.d.ts +18 -0
- package/cjs/common/segment/curve/ellipse.js +30 -0
- package/cjs/common/segment/curve/ellipse.js.map +1 -0
- package/cjs/common/segment/curve/line.d.ts +18 -0
- package/cjs/common/segment/curve/line.js +41 -0
- package/cjs/common/segment/curve/line.js.map +1 -0
- package/cjs/common/segment/curve/move.d.ts +13 -0
- package/cjs/common/segment/curve/move.js +28 -0
- package/cjs/common/segment/curve/move.js.map +1 -0
- package/cjs/common/segment/curve/path.d.ts +11 -0
- package/cjs/common/segment/curve/path.js +31 -0
- package/cjs/common/segment/curve/path.js.map +1 -0
- package/cjs/common/segment/curve/quadratic-bezier.d.ts +16 -0
- package/cjs/common/segment/curve/quadratic-bezier.js +29 -0
- package/cjs/common/segment/curve/quadratic-bezier.js.map +1 -0
- package/cjs/common/segment/index.d.ts +11 -0
- package/cjs/common/segment/index.js +57 -0
- package/cjs/common/segment/index.js.map +1 -0
- package/cjs/common/segment/linear-closed.d.ts +24 -0
- package/cjs/common/segment/linear-closed.js +60 -0
- package/cjs/common/segment/linear-closed.js.map +1 -0
- package/cjs/common/segment/linear.d.ts +24 -0
- package/cjs/common/segment/linear.js +59 -0
- package/cjs/common/segment/linear.js.map +1 -0
- package/cjs/common/segment/monotone.d.ts +36 -0
- package/cjs/common/segment/monotone.js +129 -0
- package/cjs/common/segment/monotone.js.map +1 -0
- package/cjs/common/segment/step.d.ts +26 -0
- package/cjs/common/segment/step.js +65 -0
- package/cjs/common/segment/step.js.map +1 -0
- package/cjs/common/shape/arc.d.ts +5 -0
- package/cjs/common/shape/arc.js +50 -0
- package/cjs/common/shape/arc.js.map +1 -0
- package/cjs/common/shape/rect.d.ts +2 -0
- package/cjs/common/shape/rect.js +54 -0
- package/cjs/common/shape/rect.js.map +1 -0
- package/cjs/common/sort.d.ts +4 -0
- package/cjs/common/sort.js +101 -0
- package/cjs/common/sort.js.map +1 -0
- package/cjs/common/split-path.d.ts +44 -0
- package/cjs/common/split-path.js +272 -0
- package/cjs/common/split-path.js.map +1 -0
- package/cjs/common/store.d.ts +2 -0
- package/cjs/common/store.js +1 -0
- package/cjs/common/store.js.map +1 -0
- package/cjs/common/text.d.ts +6 -0
- package/cjs/common/text.js +27 -0
- package/cjs/common/text.js.map +1 -0
- package/cjs/common/utils.d.ts +40 -0
- package/cjs/common/utils.js +154 -0
- package/cjs/common/utils.js.map +1 -0
- package/cjs/common/xml/OrderedObjParser.d.ts +19 -0
- package/cjs/common/xml/OrderedObjParser.js +130 -0
- package/cjs/common/xml/OrderedObjParser.js.map +1 -0
- package/cjs/common/xml/index.d.ts +1 -0
- package/cjs/common/xml/index.js +21 -0
- package/cjs/common/xml/index.js.map +1 -0
- package/cjs/common/xml/node2json.d.ts +1 -0
- package/cjs/common/xml/node2json.js +47 -0
- package/cjs/common/xml/node2json.js.map +1 -0
- package/cjs/common/xml/parser.d.ts +10 -0
- package/cjs/common/xml/parser.js +33 -0
- package/cjs/common/xml/parser.js.map +1 -0
- package/cjs/common/xml/type.d.ts +1 -0
- package/cjs/common/xml/type.js +6 -0
- package/cjs/common/xml/type.js.map +1 -0
- package/cjs/common/xml/utils.d.ts +1 -0
- package/cjs/common/xml/utils.js +23 -0
- package/cjs/common/xml/utils.js.map +1 -0
- package/cjs/constants.d.ts +2 -0
- package/cjs/constants.js +7 -0
- package/cjs/constants.js.map +1 -0
- package/cjs/container.d.ts +2 -0
- package/cjs/container.js +10 -0
- package/cjs/container.js.map +1 -0
- package/cjs/core/application.d.ts +1 -0
- package/cjs/core/application.js +6 -0
- package/cjs/core/application.js.map +1 -0
- package/cjs/core/camera.d.ts +19 -0
- package/cjs/core/camera.js +68 -0
- package/cjs/core/camera.js.map +1 -0
- package/cjs/core/constants.d.ts +3 -0
- package/cjs/core/constants.js +8 -0
- package/cjs/core/constants.js.map +1 -0
- package/cjs/core/contributions/env/base-contribution.d.ts +58 -0
- package/cjs/core/contributions/env/base-contribution.js +84 -0
- package/cjs/core/contributions/env/base-contribution.js.map +1 -0
- package/cjs/core/contributions/env/modules.d.ts +3 -0
- package/cjs/core/contributions/env/modules.js +12 -0
- package/cjs/core/contributions/env/modules.js.map +1 -0
- package/cjs/core/contributions/index.d.ts +4 -0
- package/cjs/core/contributions/index.js +31 -0
- package/cjs/core/contributions/index.js.map +1 -0
- package/cjs/core/contributions/layerHandler/canvas2d-contribution.d.ts +22 -0
- package/cjs/core/contributions/layerHandler/canvas2d-contribution.js +93 -0
- package/cjs/core/contributions/layerHandler/canvas2d-contribution.js.map +1 -0
- package/cjs/core/contributions/layerHandler/modules.d.ts +3 -0
- package/cjs/core/contributions/layerHandler/modules.js +13 -0
- package/cjs/core/contributions/layerHandler/modules.js.map +1 -0
- package/cjs/core/contributions/layerHandler/offscreen2d-contribution.d.ts +20 -0
- package/cjs/core/contributions/layerHandler/offscreen2d-contribution.js +78 -0
- package/cjs/core/contributions/layerHandler/offscreen2d-contribution.js.map +1 -0
- package/cjs/core/contributions/modules.d.ts +2 -0
- package/cjs/core/contributions/modules.js +20 -0
- package/cjs/core/contributions/modules.js.map +1 -0
- package/cjs/core/contributions/textMeasure/AtextMeasure.d.ts +52 -0
- package/cjs/core/contributions/textMeasure/AtextMeasure.js +183 -0
- package/cjs/core/contributions/textMeasure/AtextMeasure.js.map +1 -0
- package/cjs/core/contributions/textMeasure/layout.d.ts +13 -0
- package/cjs/core/contributions/textMeasure/layout.js +91 -0
- package/cjs/core/contributions/textMeasure/layout.js.map +1 -0
- package/cjs/core/contributions/textMeasure/modules.d.ts +3 -0
- package/cjs/core/contributions/textMeasure/modules.js +14 -0
- package/cjs/core/contributions/textMeasure/modules.js.map +1 -0
- package/cjs/core/contributions/textMeasure/textMeasure-contribution.d.ts +4 -0
- package/cjs/core/contributions/textMeasure/textMeasure-contribution.js +21 -0
- package/cjs/core/contributions/textMeasure/textMeasure-contribution.js.map +1 -0
- package/cjs/core/contributions/window/base-contribution.d.ts +49 -0
- package/cjs/core/contributions/window/base-contribution.js +44 -0
- package/cjs/core/contributions/window/base-contribution.js.map +1 -0
- package/cjs/core/core-modules.d.ts +3 -0
- package/cjs/core/core-modules.js +16 -0
- package/cjs/core/core-modules.js.map +1 -0
- package/cjs/core/global-module.d.ts +1 -0
- package/cjs/core/global-module.js +1 -0
- package/cjs/core/global-module.js.map +1 -0
- package/cjs/core/global.d.ts +70 -0
- package/cjs/core/global.js +161 -0
- package/cjs/core/global.js.map +1 -0
- package/cjs/core/graphic-utils.d.ts +40 -0
- package/cjs/core/graphic-utils.js +139 -0
- package/cjs/core/graphic-utils.js.map +1 -0
- package/cjs/core/index.d.ts +9 -0
- package/cjs/core/index.js +25 -0
- package/cjs/core/index.js.map +1 -0
- package/cjs/core/layer-service.d.ts +16 -0
- package/cjs/core/layer-service.js +58 -0
- package/cjs/core/layer-service.js.map +1 -0
- package/cjs/core/layer.d.ts +55 -0
- package/cjs/core/layer.js +132 -0
- package/cjs/core/layer.js.map +1 -0
- package/cjs/core/light.d.ts +11 -0
- package/cjs/core/light.js +26 -0
- package/cjs/core/light.js.map +1 -0
- package/cjs/core/stage.d.ts +148 -0
- package/cjs/core/stage.js +435 -0
- package/cjs/core/stage.js.map +1 -0
- package/cjs/core/window.d.ts +54 -0
- package/cjs/core/window.js +126 -0
- package/cjs/core/window.js.map +1 -0
- package/cjs/create.d.ts +3 -0
- package/cjs/create.js +14 -0
- package/cjs/create.js.map +1 -0
- package/cjs/event/constant.d.ts +1 -0
- package/cjs/event/constant.js +6 -0
- package/cjs/event/constant.js.map +1 -0
- package/cjs/event/event-manager.d.ts +60 -0
- package/cjs/event/event-manager.js +277 -0
- package/cjs/event/event-manager.js.map +1 -0
- package/cjs/event/event-system.d.ts +38 -0
- package/cjs/event/event-system.js +201 -0
- package/cjs/event/event-system.js.map +1 -0
- package/cjs/event/event-target.d.ts +3 -0
- package/cjs/event/event-target.js +22 -0
- package/cjs/event/event-target.js.map +1 -0
- package/cjs/event/federated-event/base-event.d.ts +53 -0
- package/cjs/event/federated-event/base-event.js +69 -0
- package/cjs/event/federated-event/base-event.js.map +1 -0
- package/cjs/event/federated-event/custom-event.d.ts +4 -0
- package/cjs/event/federated-event/custom-event.js +16 -0
- package/cjs/event/federated-event/custom-event.js.map +1 -0
- package/cjs/event/federated-event/index.d.ts +5 -0
- package/cjs/event/federated-event/index.js +23 -0
- package/cjs/event/federated-event/index.js.map +1 -0
- package/cjs/event/federated-event/mouse-event.d.ts +29 -0
- package/cjs/event/federated-event/mouse-event.js +53 -0
- package/cjs/event/federated-event/mouse-event.js.map +1 -0
- package/cjs/event/federated-event/pointer-event.d.ts +18 -0
- package/cjs/event/federated-event/pointer-event.js +32 -0
- package/cjs/event/federated-event/pointer-event.js.map +1 -0
- package/cjs/event/federated-event/wheel-event.d.ts +14 -0
- package/cjs/event/federated-event/wheel-event.js +27 -0
- package/cjs/event/federated-event/wheel-event.js.map +1 -0
- package/cjs/event/index.d.ts +7 -0
- package/cjs/event/index.js +24 -0
- package/cjs/event/index.js.map +1 -0
- package/cjs/event/util.d.ts +1 -0
- package/cjs/event/util.js +6 -0
- package/cjs/event/util.js.map +1 -0
- package/cjs/export.d.ts +1 -0
- package/cjs/export.js +1 -0
- package/cjs/export.js.map +1 -0
- package/cjs/graphic/arc.d.ts +69 -0
- package/cjs/graphic/arc.js +134 -0
- package/cjs/graphic/arc.js.map +1 -0
- package/cjs/graphic/arc3d.d.ts +40 -0
- package/cjs/graphic/arc3d.js +30 -0
- package/cjs/graphic/arc3d.js.map +1 -0
- package/cjs/graphic/area.d.ts +51 -0
- package/cjs/graphic/area.js +78 -0
- package/cjs/graphic/area.js.map +1 -0
- package/cjs/graphic/bounds.d.ts +6 -0
- package/cjs/graphic/bounds.js +24 -0
- package/cjs/graphic/bounds.js.map +1 -0
- package/cjs/graphic/builtin-symbol/arrow.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/arrow.js +33 -0
- package/cjs/graphic/builtin-symbol/arrow.js.map +1 -0
- package/cjs/graphic/builtin-symbol/arrow2-down.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/arrow2-down.js +30 -0
- package/cjs/graphic/builtin-symbol/arrow2-down.js.map +1 -0
- package/cjs/graphic/builtin-symbol/arrow2-left.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/arrow2-left.js +30 -0
- package/cjs/graphic/builtin-symbol/arrow2-left.js.map +1 -0
- package/cjs/graphic/builtin-symbol/arrow2-right.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/arrow2-right.js +30 -0
- package/cjs/graphic/builtin-symbol/arrow2-right.js.map +1 -0
- package/cjs/graphic/builtin-symbol/arrow2-up.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/arrow2-up.js +30 -0
- package/cjs/graphic/builtin-symbol/arrow2-up.js.map +1 -0
- package/cjs/graphic/builtin-symbol/base.d.ts +4 -0
- package/cjs/graphic/builtin-symbol/base.js +20 -0
- package/cjs/graphic/builtin-symbol/base.js.map +1 -0
- package/cjs/graphic/builtin-symbol/circle.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/circle.js +33 -0
- package/cjs/graphic/builtin-symbol/circle.js.map +1 -0
- package/cjs/graphic/builtin-symbol/close.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/close.js +33 -0
- package/cjs/graphic/builtin-symbol/close.js.map +1 -0
- package/cjs/graphic/builtin-symbol/cross.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/cross.js +42 -0
- package/cjs/graphic/builtin-symbol/cross.js.map +1 -0
- package/cjs/graphic/builtin-symbol/diamond.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/diamond.js +32 -0
- package/cjs/graphic/builtin-symbol/diamond.js.map +1 -0
- package/cjs/graphic/builtin-symbol/index.d.ts +4 -0
- package/cjs/graphic/builtin-symbol/index.js +32 -0
- package/cjs/graphic/builtin-symbol/index.js.map +1 -0
- package/cjs/graphic/builtin-symbol/line-h.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/line-h.js +32 -0
- package/cjs/graphic/builtin-symbol/line-h.js.map +1 -0
- package/cjs/graphic/builtin-symbol/line-v.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/line-v.js +32 -0
- package/cjs/graphic/builtin-symbol/line-v.js.map +1 -0
- package/cjs/graphic/builtin-symbol/rect.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/rect.js +28 -0
- package/cjs/graphic/builtin-symbol/rect.js.map +1 -0
- package/cjs/graphic/builtin-symbol/square.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/square.js +29 -0
- package/cjs/graphic/builtin-symbol/square.js.map +1 -0
- package/cjs/graphic/builtin-symbol/star.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/star.js +34 -0
- package/cjs/graphic/builtin-symbol/star.js.map +1 -0
- package/cjs/graphic/builtin-symbol/stroke.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/stroke.js +28 -0
- package/cjs/graphic/builtin-symbol/stroke.js.map +1 -0
- package/cjs/graphic/builtin-symbol/thin-triangle.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/thin-triangle.js +31 -0
- package/cjs/graphic/builtin-symbol/thin-triangle.js.map +1 -0
- package/cjs/graphic/builtin-symbol/triangle-down.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/triangle-down.js +34 -0
- package/cjs/graphic/builtin-symbol/triangle-down.js.map +1 -0
- package/cjs/graphic/builtin-symbol/triangle-left.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/triangle-left.js +34 -0
- package/cjs/graphic/builtin-symbol/triangle-left.js.map +1 -0
- package/cjs/graphic/builtin-symbol/triangle-right.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/triangle-right.js +34 -0
- package/cjs/graphic/builtin-symbol/triangle-right.js.map +1 -0
- package/cjs/graphic/builtin-symbol/triangle-up.d.ts +12 -0
- package/cjs/graphic/builtin-symbol/triangle-up.js +34 -0
- package/cjs/graphic/builtin-symbol/triangle-up.js.map +1 -0
- package/cjs/graphic/builtin-symbol/triangle.d.ts +8 -0
- package/cjs/graphic/builtin-symbol/triangle.js +18 -0
- package/cjs/graphic/builtin-symbol/triangle.js.map +1 -0
- package/cjs/graphic/builtin-symbol/utils.d.ts +19 -0
- package/cjs/graphic/builtin-symbol/utils.js +42 -0
- package/cjs/graphic/builtin-symbol/utils.js.map +1 -0
- package/cjs/graphic/builtin-symbol/wedge.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/wedge.js +30 -0
- package/cjs/graphic/builtin-symbol/wedge.js.map +1 -0
- package/cjs/graphic/builtin-symbol/wye.d.ts +11 -0
- package/cjs/graphic/builtin-symbol/wye.js +35 -0
- package/cjs/graphic/builtin-symbol/wye.js.map +1 -0
- package/cjs/graphic/circle.d.ts +47 -0
- package/cjs/graphic/circle.js +57 -0
- package/cjs/graphic/circle.js.map +1 -0
- package/cjs/graphic/config.d.ts +26 -0
- package/cjs/graphic/config.js +229 -0
- package/cjs/graphic/config.js.map +1 -0
- package/cjs/graphic/constants.d.ts +40 -0
- package/cjs/graphic/constants.js +39 -0
- package/cjs/graphic/constants.js.map +1 -0
- package/cjs/graphic/glyph.d.ts +69 -0
- package/cjs/graphic/glyph.js +123 -0
- package/cjs/graphic/glyph.js.map +1 -0
- package/cjs/graphic/graphic-creator.d.ts +36 -0
- package/cjs/graphic/graphic-creator.js +104 -0
- package/cjs/graphic/graphic-creator.js.map +1 -0
- package/cjs/graphic/graphic-service/arc-contribution.d.ts +5 -0
- package/cjs/graphic/graphic-service/arc-contribution.js +21 -0
- package/cjs/graphic/graphic-service/arc-contribution.js.map +1 -0
- package/cjs/graphic/graphic-service/area-contribution.d.ts +1 -0
- package/cjs/graphic/graphic-service/area-contribution.js +6 -0
- package/cjs/graphic/graphic-service/area-contribution.js.map +1 -0
- package/cjs/graphic/graphic-service/circle-contribution.d.ts +5 -0
- package/cjs/graphic/graphic-service/circle-contribution.js +21 -0
- package/cjs/graphic/graphic-service/circle-contribution.js.map +1 -0
- package/cjs/graphic/graphic-service/common-contribution.d.ts +5 -0
- package/cjs/graphic/graphic-service/common-contribution.js +28 -0
- package/cjs/graphic/graphic-service/common-contribution.js.map +1 -0
- package/cjs/graphic/graphic-service/default-theme.d.ts +1 -0
- package/cjs/graphic/graphic-service/default-theme.js +3 -0
- package/cjs/graphic/graphic-service/default-theme.js.map +1 -0
- package/cjs/graphic/graphic-service/graphic-module.d.ts +3 -0
- package/cjs/graphic/graphic-service/graphic-module.js +28 -0
- package/cjs/graphic/graphic-service/graphic-module.js.map +1 -0
- package/cjs/graphic/graphic-service/graphic-service.d.ts +78 -0
- package/cjs/graphic/graphic-service/graphic-service.js +526 -0
- package/cjs/graphic/graphic-service/graphic-service.js.map +1 -0
- package/cjs/graphic/graphic-service/path-contribution.d.ts +5 -0
- package/cjs/graphic/graphic-service/path-contribution.js +21 -0
- package/cjs/graphic/graphic-service/path-contribution.js.map +1 -0
- package/cjs/graphic/graphic-service/rect-contribution.d.ts +5 -0
- package/cjs/graphic/graphic-service/rect-contribution.js +21 -0
- package/cjs/graphic/graphic-service/rect-contribution.js.map +1 -0
- package/cjs/graphic/graphic-service/symbol-contribution.d.ts +7 -0
- package/cjs/graphic/graphic-service/symbol-contribution.js +30 -0
- package/cjs/graphic/graphic-service/symbol-contribution.js.map +1 -0
- package/cjs/graphic/graphic.d.ts +175 -0
- package/cjs/graphic/graphic.js +625 -0
- package/cjs/graphic/graphic.js.map +1 -0
- package/cjs/graphic/group.d.ts +79 -0
- package/cjs/graphic/group.js +177 -0
- package/cjs/graphic/group.js.map +1 -0
- package/cjs/graphic/image.d.ts +60 -0
- package/cjs/graphic/image.js +92 -0
- package/cjs/graphic/image.js.map +1 -0
- package/cjs/graphic/index.d.ts +28 -0
- package/cjs/graphic/index.js +34 -0
- package/cjs/graphic/index.js.map +1 -0
- package/cjs/graphic/line.d.ts +50 -0
- package/cjs/graphic/line.js +70 -0
- package/cjs/graphic/line.js.map +1 -0
- package/cjs/graphic/node-tree.d.ts +77 -0
- package/cjs/graphic/node-tree.js +359 -0
- package/cjs/graphic/node-tree.js.map +1 -0
- package/cjs/graphic/path.d.ts +53 -0
- package/cjs/graphic/path.js +71 -0
- package/cjs/graphic/path.js.map +1 -0
- package/cjs/graphic/polygon.d.ts +49 -0
- package/cjs/graphic/polygon.js +59 -0
- package/cjs/graphic/polygon.js.map +1 -0
- package/cjs/graphic/pyramid3d.d.ts +42 -0
- package/cjs/graphic/pyramid3d.js +92 -0
- package/cjs/graphic/pyramid3d.js.map +1 -0
- package/cjs/graphic/rect.d.ts +47 -0
- package/cjs/graphic/rect.js +54 -0
- package/cjs/graphic/rect.js.map +1 -0
- package/cjs/graphic/rect3d.d.ts +38 -0
- package/cjs/graphic/rect3d.js +51 -0
- package/cjs/graphic/rect3d.js.map +1 -0
- package/cjs/graphic/richtext/frame.d.ts +43 -0
- package/cjs/graphic/richtext/frame.js +150 -0
- package/cjs/graphic/richtext/frame.js.map +1 -0
- package/cjs/graphic/richtext/icon.d.ts +24 -0
- package/cjs/graphic/richtext/icon.js +43 -0
- package/cjs/graphic/richtext/icon.js.map +1 -0
- package/cjs/graphic/richtext/line.d.ts +27 -0
- package/cjs/graphic/richtext/line.js +105 -0
- package/cjs/graphic/richtext/line.js.map +1 -0
- package/cjs/graphic/richtext/paragraph.d.ts +28 -0
- package/cjs/graphic/richtext/paragraph.js +83 -0
- package/cjs/graphic/richtext/paragraph.js.map +1 -0
- package/cjs/graphic/richtext/utils.d.ts +42 -0
- package/cjs/graphic/richtext/utils.js +188 -0
- package/cjs/graphic/richtext/utils.js.map +1 -0
- package/cjs/graphic/richtext/wrapper.d.ts +25 -0
- package/cjs/graphic/richtext/wrapper.js +57 -0
- package/cjs/graphic/richtext/wrapper.js.map +1 -0
- package/cjs/graphic/richtext.d.ts +78 -0
- package/cjs/graphic/richtext.js +184 -0
- package/cjs/graphic/richtext.js.map +1 -0
- package/cjs/graphic/shadow-root.d.ts +13 -0
- package/cjs/graphic/shadow-root.js +44 -0
- package/cjs/graphic/shadow-root.js.map +1 -0
- package/cjs/graphic/symbol.d.ts +53 -0
- package/cjs/graphic/symbol.js +93 -0
- package/cjs/graphic/symbol.js.map +1 -0
- package/cjs/graphic/text.d.ts +65 -0
- package/cjs/graphic/text.js +240 -0
- package/cjs/graphic/text.js.map +1 -0
- package/cjs/graphic/theme.d.ts +20 -0
- package/cjs/graphic/theme.js +132 -0
- package/cjs/graphic/theme.js.map +1 -0
- package/cjs/graphic/tools.d.ts +15 -0
- package/cjs/graphic/tools.js +165 -0
- package/cjs/graphic/tools.js.map +1 -0
- package/cjs/graphic/wrap-text.d.ts +10 -0
- package/cjs/graphic/wrap-text.js +111 -0
- package/cjs/graphic/wrap-text.js.map +1 -0
- package/cjs/index.d.ts +46 -0
- package/cjs/index.js +56 -0
- package/cjs/index.js.map +1 -0
- package/cjs/interface/allocator.d.ts +27 -0
- package/cjs/interface/allocator.js +6 -0
- package/cjs/interface/allocator.js.map +1 -0
- package/cjs/interface/animate.d.ts +191 -0
- package/cjs/interface/animate.js +6 -0
- package/cjs/interface/animate.js.map +1 -0
- package/cjs/interface/camera.d.ts +24 -0
- package/cjs/interface/camera.js +6 -0
- package/cjs/interface/camera.js.map +1 -0
- package/cjs/interface/canvas.d.ts +61 -0
- package/cjs/interface/canvas.js +6 -0
- package/cjs/interface/canvas.js.map +1 -0
- package/cjs/interface/color.d.ts +37 -0
- package/cjs/interface/color.js +6 -0
- package/cjs/interface/color.js.map +1 -0
- package/cjs/interface/common.d.ts +27 -0
- package/cjs/interface/common.js +6 -0
- package/cjs/interface/common.js.map +1 -0
- package/cjs/interface/context.d.ts +196 -0
- package/cjs/interface/context.js +6 -0
- package/cjs/interface/context.js.map +1 -0
- package/cjs/interface/contribution.d.ts +86 -0
- package/cjs/interface/contribution.js +6 -0
- package/cjs/interface/contribution.js.map +1 -0
- package/cjs/interface/core.d.ts +36 -0
- package/cjs/interface/core.js +6 -0
- package/cjs/interface/core.js.map +1 -0
- package/cjs/interface/creator.d.ts +4 -0
- package/cjs/interface/creator.js +6 -0
- package/cjs/interface/creator.js.map +1 -0
- package/cjs/interface/curve.d.ts +42 -0
- package/cjs/interface/curve.js +6 -0
- package/cjs/interface/curve.js.map +1 -0
- package/cjs/interface/event.d.ts +193 -0
- package/cjs/interface/event.js +6 -0
- package/cjs/interface/event.js.map +1 -0
- package/cjs/interface/global.d.ts +153 -0
- package/cjs/interface/global.js +6 -0
- package/cjs/interface/global.js.map +1 -0
- package/cjs/interface/graphic/arc.d.ts +37 -0
- package/cjs/interface/graphic/arc.js +6 -0
- package/cjs/interface/graphic/arc.js.map +1 -0
- package/cjs/interface/graphic/arc3d.d.ts +22 -0
- package/cjs/interface/graphic/arc3d.js +6 -0
- package/cjs/interface/graphic/arc3d.js.map +1 -0
- package/cjs/interface/graphic/area.d.ts +24 -0
- package/cjs/interface/graphic/area.js +6 -0
- package/cjs/interface/graphic/area.js.map +1 -0
- package/cjs/interface/graphic/bounds.d.ts +37 -0
- package/cjs/interface/graphic/bounds.js +10 -0
- package/cjs/interface/graphic/bounds.js.map +1 -0
- package/cjs/interface/graphic/circle.d.ts +8 -0
- package/cjs/interface/graphic/circle.js +6 -0
- package/cjs/interface/graphic/circle.js.map +1 -0
- package/cjs/interface/graphic/creator.d.ts +32 -0
- package/cjs/interface/graphic/creator.js +6 -0
- package/cjs/interface/graphic/creator.js.map +1 -0
- package/cjs/interface/graphic/dynamic-path.d.ts +1 -0
- package/cjs/interface/graphic/dynamic-path.js +3 -0
- package/cjs/interface/graphic/dynamic-path.js.map +1 -0
- package/cjs/interface/graphic/ellipse.d.ts +8 -0
- package/cjs/interface/graphic/ellipse.js +6 -0
- package/cjs/interface/graphic/ellipse.js.map +1 -0
- package/cjs/interface/graphic/face3d.d.ts +11 -0
- package/cjs/interface/graphic/face3d.js +6 -0
- package/cjs/interface/graphic/face3d.js.map +1 -0
- package/cjs/interface/graphic/glyph.d.ts +24 -0
- package/cjs/interface/graphic/glyph.js +6 -0
- package/cjs/interface/graphic/glyph.js.map +1 -0
- package/cjs/interface/graphic/group.d.ts +30 -0
- package/cjs/interface/graphic/group.js +6 -0
- package/cjs/interface/graphic/group.js.map +1 -0
- package/cjs/interface/graphic/image.d.ts +15 -0
- package/cjs/interface/graphic/image.js +6 -0
- package/cjs/interface/graphic/image.js.map +1 -0
- package/cjs/interface/graphic/index.d.ts +26 -0
- package/cjs/interface/graphic/index.js +33 -0
- package/cjs/interface/graphic/index.js.map +1 -0
- package/cjs/interface/graphic/isogon.d.ts +7 -0
- package/cjs/interface/graphic/isogon.js +6 -0
- package/cjs/interface/graphic/isogon.js.map +1 -0
- package/cjs/interface/graphic/line.d.ts +23 -0
- package/cjs/interface/graphic/line.js +6 -0
- package/cjs/interface/graphic/line.js.map +1 -0
- package/cjs/interface/graphic/path.d.ts +14 -0
- package/cjs/interface/graphic/path.js +6 -0
- package/cjs/interface/graphic/path.js.map +1 -0
- package/cjs/interface/graphic/polygon.d.ts +9 -0
- package/cjs/interface/graphic/polygon.js +6 -0
- package/cjs/interface/graphic/polygon.js.map +1 -0
- package/cjs/interface/graphic/polyline.d.ts +3 -0
- package/cjs/interface/graphic/polyline.js +6 -0
- package/cjs/interface/graphic/polyline.js.map +1 -0
- package/cjs/interface/graphic/pyramid3d.d.ts +7 -0
- package/cjs/interface/graphic/pyramid3d.js +6 -0
- package/cjs/interface/graphic/pyramid3d.js.map +1 -0
- package/cjs/interface/graphic/rect.d.ts +11 -0
- package/cjs/interface/graphic/rect.js +6 -0
- package/cjs/interface/graphic/rect.js.map +1 -0
- package/cjs/interface/graphic/rect3d.d.ts +10 -0
- package/cjs/interface/graphic/rect3d.js +6 -0
- package/cjs/interface/graphic/rect3d.js.map +1 -0
- package/cjs/interface/graphic/richText.d.ts +181 -0
- package/cjs/interface/graphic/richText.js +6 -0
- package/cjs/interface/graphic/richText.js.map +1 -0
- package/cjs/interface/graphic/shadow-root.d.ts +5 -0
- package/cjs/interface/graphic/shadow-root.js +6 -0
- package/cjs/interface/graphic/shadow-root.js.map +1 -0
- package/cjs/interface/graphic/svg.d.ts +7 -0
- package/cjs/interface/graphic/svg.js +6 -0
- package/cjs/interface/graphic/svg.js.map +1 -0
- package/cjs/interface/graphic/symbol.d.ts +22 -0
- package/cjs/interface/graphic/symbol.js +6 -0
- package/cjs/interface/graphic/symbol.js.map +1 -0
- package/cjs/interface/graphic/text.d.ts +73 -0
- package/cjs/interface/graphic/text.js +6 -0
- package/cjs/interface/graphic/text.js.map +1 -0
- package/cjs/interface/graphic/theme.d.ts +56 -0
- package/cjs/interface/graphic/theme.js +6 -0
- package/cjs/interface/graphic/theme.js.map +1 -0
- package/cjs/interface/graphic/util.d.ts +15 -0
- package/cjs/interface/graphic/util.js +6 -0
- package/cjs/interface/graphic/util.js.map +1 -0
- package/cjs/interface/graphic-service.d.ts +78 -0
- package/cjs/interface/graphic-service.js +6 -0
- package/cjs/interface/graphic-service.js.map +1 -0
- package/cjs/interface/graphic-utils.d.ts +1 -0
- package/cjs/interface/graphic-utils.js +3 -0
- package/cjs/interface/graphic-utils.js.map +1 -0
- package/cjs/interface/graphic.d.ts +253 -0
- package/cjs/interface/graphic.js +6 -0
- package/cjs/interface/graphic.js.map +1 -0
- package/cjs/interface/index.d.ts +29 -0
- package/cjs/interface/index.js +35 -0
- package/cjs/interface/index.js.map +1 -0
- package/cjs/interface/layer.d.ts +99 -0
- package/cjs/interface/layer.js +6 -0
- package/cjs/interface/layer.js.map +1 -0
- package/cjs/interface/light.d.ts +6 -0
- package/cjs/interface/light.js +6 -0
- package/cjs/interface/light.js.map +1 -0
- package/cjs/interface/loader.d.ts +17 -0
- package/cjs/interface/loader.js +6 -0
- package/cjs/interface/loader.js.map +1 -0
- package/cjs/interface/matrix.d.ts +21 -0
- package/cjs/interface/matrix.js +6 -0
- package/cjs/interface/matrix.js.map +1 -0
- package/cjs/interface/node-tree.d.ts +43 -0
- package/cjs/interface/node-tree.js +6 -0
- package/cjs/interface/node-tree.js.map +1 -0
- package/cjs/interface/path.d.ts +100 -0
- package/cjs/interface/path.js +6 -0
- package/cjs/interface/path.js.map +1 -0
- package/cjs/interface/picker.d.ts +56 -0
- package/cjs/interface/picker.js +6 -0
- package/cjs/interface/picker.js.map +1 -0
- package/cjs/interface/plugin.d.ts +17 -0
- package/cjs/interface/plugin.js +6 -0
- package/cjs/interface/plugin.js.map +1 -0
- package/cjs/interface/render.d.ts +90 -0
- package/cjs/interface/render.js +6 -0
- package/cjs/interface/render.js.map +1 -0
- package/cjs/interface/stage.d.ts +146 -0
- package/cjs/interface/stage.js +6 -0
- package/cjs/interface/stage.js.map +1 -0
- package/cjs/interface/sync-hook.d.ts +26 -0
- package/cjs/interface/sync-hook.js +6 -0
- package/cjs/interface/sync-hook.js.map +1 -0
- package/cjs/interface/text.d.ts +49 -0
- package/cjs/interface/text.js +6 -0
- package/cjs/interface/text.js.map +1 -0
- package/cjs/interface/theme-service.d.ts +1 -0
- package/cjs/interface/theme-service.js +3 -0
- package/cjs/interface/theme-service.js.map +1 -0
- package/cjs/interface/util.d.ts +1 -0
- package/cjs/interface/util.js +3 -0
- package/cjs/interface/util.js.map +1 -0
- package/cjs/interface/window.d.ts +84 -0
- package/cjs/interface/window.js +6 -0
- package/cjs/interface/window.js.map +1 -0
- package/cjs/modules.d.ts +8 -0
- package/cjs/modules.js +24 -0
- package/cjs/modules.js.map +1 -0
- package/cjs/picker/constants.d.ts +4 -0
- package/cjs/picker/constants.js +8 -0
- package/cjs/picker/constants.js.map +1 -0
- package/cjs/picker/global-picker-service.d.ts +13 -0
- package/cjs/picker/global-picker-service.js +77 -0
- package/cjs/picker/global-picker-service.js.map +1 -0
- package/cjs/picker/index.d.ts +4 -0
- package/cjs/picker/index.js +22 -0
- package/cjs/picker/index.js.map +1 -0
- package/cjs/picker/pick-interceptor.d.ts +22 -0
- package/cjs/picker/pick-interceptor.js +107 -0
- package/cjs/picker/pick-interceptor.js.map +1 -0
- package/cjs/picker/pick-modules.d.ts +3 -0
- package/cjs/picker/pick-modules.js +18 -0
- package/cjs/picker/pick-modules.js.map +1 -0
- package/cjs/picker/picker-service.d.ts +18 -0
- package/cjs/picker/picker-service.js +120 -0
- package/cjs/picker/picker-service.js.map +1 -0
- package/cjs/plugins/builtin-plugin/3dview-transform-plugin.d.ts +17 -0
- package/cjs/plugins/builtin-plugin/3dview-transform-plugin.js +44 -0
- package/cjs/plugins/builtin-plugin/3dview-transform-plugin.js.map +1 -0
- package/cjs/plugins/builtin-plugin/auto-render-plugin.d.ts +10 -0
- package/cjs/plugins/builtin-plugin/auto-render-plugin.js +28 -0
- package/cjs/plugins/builtin-plugin/auto-render-plugin.js.map +1 -0
- package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.d.ts +10 -0
- package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.js +36 -0
- package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.js.map +1 -0
- package/cjs/plugins/builtin-plugin/flex-layout-plugin.d.ts +36 -0
- package/cjs/plugins/builtin-plugin/flex-layout-plugin.js +177 -0
- package/cjs/plugins/builtin-plugin/flex-layout-plugin.js.map +1 -0
- package/cjs/plugins/builtin-plugin/html-attribute-plugin.d.ts +13 -0
- package/cjs/plugins/builtin-plugin/html-attribute-plugin.js +79 -0
- package/cjs/plugins/builtin-plugin/html-attribute-plugin.js.map +1 -0
- package/cjs/plugins/builtin-plugin/incremental-auto-render-plugin.d.ts +15 -0
- package/cjs/plugins/builtin-plugin/incremental-auto-render-plugin.js +58 -0
- package/cjs/plugins/builtin-plugin/incremental-auto-render-plugin.js.map +1 -0
- package/cjs/plugins/builtin-plugin/poptip-plugin.d.ts +1 -0
- package/cjs/plugins/builtin-plugin/poptip-plugin.js +3 -0
- package/cjs/plugins/builtin-plugin/poptip-plugin.js.map +1 -0
- package/cjs/plugins/constants.d.ts +2 -0
- package/cjs/plugins/constants.js +7 -0
- package/cjs/plugins/constants.js.map +1 -0
- package/cjs/plugins/plugin-modules.d.ts +3 -0
- package/cjs/plugins/plugin-modules.js +13 -0
- package/cjs/plugins/plugin-modules.js.map +1 -0
- package/cjs/plugins/plugin-service.d.ts +15 -0
- package/cjs/plugins/plugin-service.js +58 -0
- package/cjs/plugins/plugin-service.js.map +1 -0
- package/cjs/render/contributions/modules.d.ts +2 -0
- package/cjs/render/contributions/modules.js +20 -0
- package/cjs/render/contributions/modules.js.map +1 -0
- package/cjs/render/contributions/render/arc-render.d.ts +11 -0
- package/cjs/render/contributions/render/arc-render.js +142 -0
- package/cjs/render/contributions/render/arc-render.js.map +1 -0
- package/cjs/render/contributions/render/arc3d-render.d.ts +9 -0
- package/cjs/render/contributions/render/arc3d-render.js +105 -0
- package/cjs/render/contributions/render/arc3d-render.js.map +1 -0
- package/cjs/render/contributions/render/area-render.d.ts +12 -0
- package/cjs/render/contributions/render/area-render.js +207 -0
- package/cjs/render/contributions/render/area-render.js.map +1 -0
- package/cjs/render/contributions/render/base-render.d.ts +28 -0
- package/cjs/render/contributions/render/base-render.js +106 -0
- package/cjs/render/contributions/render/base-render.js.map +1 -0
- package/cjs/render/contributions/render/circle-render.d.ts +10 -0
- package/cjs/render/contributions/render/circle-render.js +47 -0
- package/cjs/render/contributions/render/circle-render.js.map +1 -0
- package/cjs/render/contributions/render/clear-screen.d.ts +1 -0
- package/cjs/render/contributions/render/clear-screen.js +3 -0
- package/cjs/render/contributions/render/clear-screen.js.map +1 -0
- package/cjs/render/contributions/render/contributions/arc-contribution-render.d.ts +15 -0
- package/cjs/render/contributions/render/contributions/arc-contribution-render.js +85 -0
- package/cjs/render/contributions/render/contributions/arc-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/area-contribution-render.d.ts +12 -0
- package/cjs/render/contributions/render/contributions/area-contribution-render.js +77 -0
- package/cjs/render/contributions/render/contributions/area-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/base-contribution-render.d.ts +37 -0
- package/cjs/render/contributions/render/contributions/base-contribution-render.js +180 -0
- package/cjs/render/contributions/render/contributions/base-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/circle-contribution-render.d.ts +15 -0
- package/cjs/render/contributions/render/contributions/circle-contribution-render.js +69 -0
- package/cjs/render/contributions/render/contributions/circle-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/constants.d.ts +11 -0
- package/cjs/render/contributions/render/contributions/constants.js +12 -0
- package/cjs/render/contributions/render/contributions/constants.js.map +1 -0
- package/cjs/render/contributions/render/contributions/group-contribution-render.d.ts +7 -0
- package/cjs/render/contributions/render/contributions/group-contribution-render.js +35 -0
- package/cjs/render/contributions/render/contributions/group-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/image-contribution-render.d.ts +7 -0
- package/cjs/render/contributions/render/contributions/image-contribution-render.js +64 -0
- package/cjs/render/contributions/render/contributions/image-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/index.d.ts +7 -0
- package/cjs/render/contributions/render/contributions/index.js +24 -0
- package/cjs/render/contributions/render/contributions/index.js.map +1 -0
- package/cjs/render/contributions/render/contributions/path-contribution-render.d.ts +9 -0
- package/cjs/render/contributions/render/contributions/path-contribution-render.js +32 -0
- package/cjs/render/contributions/render/contributions/path-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/polygon-contribution-render.d.ts +9 -0
- package/cjs/render/contributions/render/contributions/polygon-contribution-render.js +32 -0
- package/cjs/render/contributions/render/contributions/polygon-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/rect-contribution-render.d.ts +30 -0
- package/cjs/render/contributions/render/contributions/rect-contribution-render.js +110 -0
- package/cjs/render/contributions/render/contributions/rect-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/symbol-contribution-render.d.ts +15 -0
- package/cjs/render/contributions/render/contributions/symbol-contribution-render.js +69 -0
- package/cjs/render/contributions/render/contributions/symbol-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/contributions/text-contribution-render.d.ts +1 -0
- package/cjs/render/contributions/render/contributions/text-contribution-render.js +6 -0
- package/cjs/render/contributions/render/contributions/text-contribution-render.js.map +1 -0
- package/cjs/render/contributions/render/draw-contribution.d.ts +30 -0
- package/cjs/render/contributions/render/draw-contribution.js +177 -0
- package/cjs/render/contributions/render/draw-contribution.js.map +1 -0
- package/cjs/render/contributions/render/draw-interceptor.d.ts +13 -0
- package/cjs/render/contributions/render/draw-interceptor.js +124 -0
- package/cjs/render/contributions/render/draw-interceptor.js.map +1 -0
- package/cjs/render/contributions/render/glyph-render.d.ts +8 -0
- package/cjs/render/contributions/render/glyph-render.js +35 -0
- package/cjs/render/contributions/render/glyph-render.js.map +1 -0
- package/cjs/render/contributions/render/graphic-render.d.ts +6 -0
- package/cjs/render/contributions/render/graphic-render.js +19 -0
- package/cjs/render/contributions/render/graphic-render.js.map +1 -0
- package/cjs/render/contributions/render/group-render.d.ts +10 -0
- package/cjs/render/contributions/render/group-render.js +85 -0
- package/cjs/render/contributions/render/group-render.js.map +1 -0
- package/cjs/render/contributions/render/image-render.d.ts +10 -0
- package/cjs/render/contributions/render/image-render.js +64 -0
- package/cjs/render/contributions/render/image-render.js.map +1 -0
- package/cjs/render/contributions/render/incremental-area-render.d.ts +8 -0
- package/cjs/render/contributions/render/incremental-area-render.js +42 -0
- package/cjs/render/contributions/render/incremental-area-render.js.map +1 -0
- package/cjs/render/contributions/render/incremental-draw-contribution.d.ts +39 -0
- package/cjs/render/contributions/render/incremental-draw-contribution.js +169 -0
- package/cjs/render/contributions/render/incremental-draw-contribution.js.map +1 -0
- package/cjs/render/contributions/render/incremental-line-render.d.ts +8 -0
- package/cjs/render/contributions/render/incremental-line-render.js +44 -0
- package/cjs/render/contributions/render/incremental-line-render.js.map +1 -0
- package/cjs/render/contributions/render/index.d.ts +14 -0
- package/cjs/render/contributions/render/index.js +27 -0
- package/cjs/render/contributions/render/index.js.map +1 -0
- package/cjs/render/contributions/render/line-render.d.ts +10 -0
- package/cjs/render/contributions/render/line-render.js +133 -0
- package/cjs/render/contributions/render/line-render.js.map +1 -0
- package/cjs/render/contributions/render/module.d.ts +3 -0
- package/cjs/render/contributions/render/module.js +109 -0
- package/cjs/render/contributions/render/module.js.map +1 -0
- package/cjs/render/contributions/render/path-render.d.ts +10 -0
- package/cjs/render/contributions/render/path-render.js +51 -0
- package/cjs/render/contributions/render/path-render.js.map +1 -0
- package/cjs/render/contributions/render/polygon-render.d.ts +10 -0
- package/cjs/render/contributions/render/polygon-render.js +49 -0
- package/cjs/render/contributions/render/polygon-render.js.map +1 -0
- package/cjs/render/contributions/render/pyramid3d-render.d.ts +11 -0
- package/cjs/render/contributions/render/pyramid3d-render.js +90 -0
- package/cjs/render/contributions/render/pyramid3d-render.js.map +1 -0
- package/cjs/render/contributions/render/rect-render.d.ts +10 -0
- package/cjs/render/contributions/render/rect-render.js +56 -0
- package/cjs/render/contributions/render/rect-render.js.map +1 -0
- package/cjs/render/contributions/render/rect3d-render.d.ts +11 -0
- package/cjs/render/contributions/render/rect3d-render.js +94 -0
- package/cjs/render/contributions/render/rect3d-render.js.map +1 -0
- package/cjs/render/contributions/render/render-slector.d.ts +4 -0
- package/cjs/render/contributions/render/render-slector.js +23 -0
- package/cjs/render/contributions/render/render-slector.js.map +1 -0
- package/cjs/render/contributions/render/richtext-render.d.ts +9 -0
- package/cjs/render/contributions/render/richtext-render.js +48 -0
- package/cjs/render/contributions/render/richtext-render.js.map +1 -0
- package/cjs/render/contributions/render/symbol-render.d.ts +10 -0
- package/cjs/render/contributions/render/symbol-render.js +61 -0
- package/cjs/render/contributions/render/symbol-render.js.map +1 -0
- package/cjs/render/contributions/render/symbol.d.ts +20 -0
- package/cjs/render/contributions/render/symbol.js +17 -0
- package/cjs/render/contributions/render/symbol.js.map +1 -0
- package/cjs/render/contributions/render/text-render.d.ts +13 -0
- package/cjs/render/contributions/render/text-render.js +163 -0
- package/cjs/render/contributions/render/text-render.js.map +1 -0
- package/cjs/render/contributions/render/utils.d.ts +18 -0
- package/cjs/render/contributions/render/utils.js +151 -0
- package/cjs/render/contributions/render/utils.js.map +1 -0
- package/cjs/render/index.d.ts +3 -0
- package/cjs/render/index.js +22 -0
- package/cjs/render/index.js.map +1 -0
- package/cjs/render/render-modules.d.ts +3 -0
- package/cjs/render/render-modules.js +12 -0
- package/cjs/render/render-modules.js.map +1 -0
- package/cjs/render/render-service.d.ts +19 -0
- package/cjs/render/render-service.js +59 -0
- package/cjs/render/render-service.js.map +1 -0
- package/cjs/resource-loader/loader.d.ts +9 -0
- package/cjs/resource-loader/loader.js +61 -0
- package/cjs/resource-loader/loader.js.map +1 -0
- package/cjs/tapable/Hook.d.ts +12 -0
- package/cjs/tapable/Hook.js +60 -0
- package/cjs/tapable/Hook.js.map +1 -0
- package/cjs/tapable/SyncHook.d.ts +5 -0
- package/cjs/tapable/SyncHook.js +16 -0
- package/cjs/tapable/SyncHook.js.map +1 -0
- package/cjs/tapable/index.d.ts +1 -0
- package/cjs/tapable/index.js +21 -0
- package/cjs/tapable/index.js.map +1 -0
- package/dist/index.js +29005 -0
- package/dist/index.min.js +1 -0
- package/es/allocator/allocator-modules.d.ts +1 -0
- package/es/allocator/allocator-modules.js +1 -0
- package/es/allocator/allocator-modules.js.map +1 -0
- package/es/allocator/canvas-allocate.d.ts +14 -0
- package/es/allocator/canvas-allocate.js +42 -0
- package/es/allocator/canvas-allocate.js.map +1 -0
- package/es/allocator/constants.d.ts +9 -0
- package/es/allocator/constants.js +18 -0
- package/es/allocator/constants.js.map +1 -0
- package/es/allocator/graphic-allocate.d.ts +1 -0
- package/es/allocator/graphic-allocate.js +1 -0
- package/es/allocator/graphic-allocate.js.map +1 -0
- package/es/allocator/matrix-allocate.d.ts +25 -0
- package/es/allocator/matrix-allocate.js +71 -0
- package/es/allocator/matrix-allocate.js.map +1 -0
- package/es/allocator/point-allocate.d.ts +1 -0
- package/es/allocator/point-allocate.js +1 -0
- package/es/allocator/point-allocate.js.map +1 -0
- package/es/animate/Ticker/default-ticker.d.ts +87 -0
- package/es/animate/Ticker/default-ticker.js +230 -0
- package/es/animate/Ticker/default-ticker.js.map +1 -0
- package/es/animate/Ticker/index.d.ts +1 -0
- package/es/animate/Ticker/index.js +2 -0
- package/es/animate/Ticker/index.js.map +1 -0
- package/es/animate/animate.d.ts +146 -0
- package/es/animate/animate.js +389 -0
- package/es/animate/animate.js.map +1 -0
- package/es/animate/config.d.ts +3 -0
- package/es/animate/config.js +10 -0
- package/es/animate/config.js.map +1 -0
- package/es/animate/custom-animate.d.ts +229 -0
- package/es/animate/custom-animate.js +613 -0
- package/es/animate/custom-animate.js.map +1 -0
- package/es/animate/default-ticker.d.ts +2 -0
- package/es/animate/default-ticker.js +11 -0
- package/es/animate/default-ticker.js.map +1 -0
- package/es/animate/easing.d.ts +45 -0
- package/es/animate/easing.js +111 -0
- package/es/animate/easing.js.map +1 -0
- package/es/animate/index.d.ts +6 -0
- package/es/animate/index.js +12 -0
- package/es/animate/index.js.map +1 -0
- package/es/animate/morphing.d.ts +52 -0
- package/es/animate/morphing.js +292 -0
- package/es/animate/morphing.js.map +1 -0
- package/es/animate/timeline.d.ts +17 -0
- package/es/animate/timeline.js +42 -0
- package/es/animate/timeline.js.map +1 -0
- package/es/application.d.ts +11 -0
- package/es/application.js +3 -0
- package/es/application.js.map +1 -0
- package/es/canvas/conical-gradient.d.ts +12 -0
- package/es/canvas/conical-gradient.js +121 -0
- package/es/canvas/conical-gradient.js.map +1 -0
- package/es/canvas/constants.d.ts +2 -0
- package/es/canvas/constants.js +4 -0
- package/es/canvas/constants.js.map +1 -0
- package/es/canvas/contributions/base-canvas.d.ts +52 -0
- package/es/canvas/contributions/base-canvas.js +104 -0
- package/es/canvas/contributions/base-canvas.js.map +1 -0
- package/es/canvas/empty-context.d.ts +97 -0
- package/es/canvas/empty-context.js +216 -0
- package/es/canvas/empty-context.js.map +1 -0
- package/es/canvas/index.d.ts +4 -0
- package/es/canvas/index.js +8 -0
- package/es/canvas/index.js.map +1 -0
- package/es/canvas/util.d.ts +24 -0
- package/es/canvas/util.js +385 -0
- package/es/canvas/util.js.map +1 -0
- package/es/color-string/colorName.d.ts +2 -0
- package/es/color-string/colorName.js +11 -0
- package/es/color-string/colorName.js.map +1 -0
- package/es/color-string/index.d.ts +3 -0
- package/es/color-string/index.js +6 -0
- package/es/color-string/index.js.map +1 -0
- package/es/color-string/interpolate.d.ts +7 -0
- package/es/color-string/interpolate.js +91 -0
- package/es/color-string/interpolate.js.map +1 -0
- package/es/color-string/store.d.ts +11 -0
- package/es/color-string/store.js +50 -0
- package/es/color-string/store.js.map +1 -0
- package/es/common/Reflect-metadata.d.ts +2 -0
- package/es/common/Reflect-metadata.js +388 -0
- package/es/common/Reflect-metadata.js.map +1 -0
- package/es/common/bezier-utils.d.ts +5 -0
- package/es/common/bezier-utils.js +26 -0
- package/es/common/bezier-utils.js.map +1 -0
- package/es/common/bounds-context.d.ts +18 -0
- package/es/common/bounds-context.js +52 -0
- package/es/common/bounds-context.js.map +1 -0
- package/es/common/canvas-utils.d.ts +8 -0
- package/es/common/canvas-utils.js +65 -0
- package/es/common/canvas-utils.js.map +1 -0
- package/es/common/contribution-provider.d.ts +4 -0
- package/es/common/contribution-provider.js +20 -0
- package/es/common/contribution-provider.js.map +1 -0
- package/es/common/custom-path2d.d.ts +47 -0
- package/es/common/custom-path2d.js +338 -0
- package/es/common/custom-path2d.js.map +1 -0
- package/es/common/enums.d.ts +70 -0
- package/es/common/enums.js +73 -0
- package/es/common/enums.js.map +1 -0
- package/es/common/generator.d.ts +4 -0
- package/es/common/generator.js +8 -0
- package/es/common/generator.js.map +1 -0
- package/es/common/inversify-lite/annotation/decorator_utils.d.ts +16 -0
- package/es/common/inversify-lite/annotation/decorator_utils.js +67 -0
- package/es/common/inversify-lite/annotation/decorator_utils.js.map +1 -0
- package/es/common/inversify-lite/annotation/inject.d.ts +2 -0
- package/es/common/inversify-lite/annotation/inject.js +8 -0
- package/es/common/inversify-lite/annotation/inject.js.map +1 -0
- package/es/common/inversify-lite/annotation/inject_base.d.ts +3 -0
- package/es/common/inversify-lite/annotation/inject_base.js +16 -0
- package/es/common/inversify-lite/annotation/inject_base.js.map +1 -0
- package/es/common/inversify-lite/annotation/injectable.d.ts +2 -0
- package/es/common/inversify-lite/annotation/injectable.js +16 -0
- package/es/common/inversify-lite/annotation/injectable.js.map +1 -0
- package/es/common/inversify-lite/annotation/lazy_service_identifier.d.ts +7 -0
- package/es/common/inversify-lite/annotation/lazy_service_identifier.js +9 -0
- package/es/common/inversify-lite/annotation/lazy_service_identifier.js.map +1 -0
- package/es/common/inversify-lite/annotation/multi_inject.d.ts +2 -0
- package/es/common/inversify-lite/annotation/multi_inject.js +8 -0
- package/es/common/inversify-lite/annotation/multi_inject.js.map +1 -0
- package/es/common/inversify-lite/annotation/named.d.ts +2 -0
- package/es/common/inversify-lite/annotation/named.js +12 -0
- package/es/common/inversify-lite/annotation/named.js.map +1 -0
- package/es/common/inversify-lite/annotation/post_construct.d.ts +4 -0
- package/es/common/inversify-lite/annotation/post_construct.js +10 -0
- package/es/common/inversify-lite/annotation/post_construct.js.map +1 -0
- package/es/common/inversify-lite/annotation/property_event_decorator.d.ts +4 -0
- package/es/common/inversify-lite/annotation/property_event_decorator.js +14 -0
- package/es/common/inversify-lite/annotation/property_event_decorator.js.map +1 -0
- package/es/common/inversify-lite/bindings/binding.d.ts +20 -0
- package/es/common/inversify-lite/bindings/binding.js +23 -0
- package/es/common/inversify-lite/bindings/binding.js.map +1 -0
- package/es/common/inversify-lite/bindings/binding_count.d.ts +5 -0
- package/es/common/inversify-lite/bindings/binding_count.js +6 -0
- package/es/common/inversify-lite/bindings/binding_count.js.map +1 -0
- package/es/common/inversify-lite/constants/error_msgs.d.ts +32 -0
- package/es/common/inversify-lite/constants/error_msgs.js +64 -0
- package/es/common/inversify-lite/constants/error_msgs.js.map +1 -0
- package/es/common/inversify-lite/constants/literal_types.d.ts +5 -0
- package/es/common/inversify-lite/constants/literal_types.js +21 -0
- package/es/common/inversify-lite/constants/literal_types.js.map +1 -0
- package/es/common/inversify-lite/constants/metadata_keys.d.ts +13 -0
- package/es/common/inversify-lite/constants/metadata_keys.js +30 -0
- package/es/common/inversify-lite/constants/metadata_keys.js.map +1 -0
- package/es/common/inversify-lite/container/container.d.ts +46 -0
- package/es/common/inversify-lite/container/container.js +281 -0
- package/es/common/inversify-lite/container/container.js.map +1 -0
- package/es/common/inversify-lite/container/container_module.d.ts +11 -0
- package/es/common/inversify-lite/container/container_module.js +14 -0
- package/es/common/inversify-lite/container/container_module.js.map +1 -0
- package/es/common/inversify-lite/container/lookup.d.ts +16 -0
- package/es/common/inversify-lite/container/lookup.js +68 -0
- package/es/common/inversify-lite/container/lookup.js.map +1 -0
- package/es/common/inversify-lite/index.d.ts +8 -0
- package/es/common/inversify-lite/index.js +16 -0
- package/es/common/inversify-lite/index.js.map +1 -0
- package/es/common/inversify-lite/interfaces/interfaces.d.ts +239 -0
- package/es/common/inversify-lite/interfaces/interfaces.js +2 -0
- package/es/common/inversify-lite/interfaces/interfaces.js.map +1 -0
- package/es/common/inversify-lite/planning/context.d.ts +11 -0
- package/es/common/inversify-lite/planning/context.js +16 -0
- package/es/common/inversify-lite/planning/context.js.map +1 -0
- package/es/common/inversify-lite/planning/metadata.d.ts +8 -0
- package/es/common/inversify-lite/planning/metadata.js +13 -0
- package/es/common/inversify-lite/planning/metadata.js.map +1 -0
- package/es/common/inversify-lite/planning/metadata_reader.d.ts +6 -0
- package/es/common/inversify-lite/planning/metadata_reader.js +18 -0
- package/es/common/inversify-lite/planning/metadata_reader.js.map +1 -0
- package/es/common/inversify-lite/planning/plan.d.ts +7 -0
- package/es/common/inversify-lite/planning/plan.js +8 -0
- package/es/common/inversify-lite/planning/plan.js.map +1 -0
- package/es/common/inversify-lite/planning/planner.d.ts +5 -0
- package/es/common/inversify-lite/planning/planner.js +120 -0
- package/es/common/inversify-lite/planning/planner.js.map +1 -0
- package/es/common/inversify-lite/planning/queryable_string.d.ts +11 -0
- package/es/common/inversify-lite/planning/queryable_string.js +27 -0
- package/es/common/inversify-lite/planning/queryable_string.js.map +1 -0
- package/es/common/inversify-lite/planning/reflection_utils.d.ts +5 -0
- package/es/common/inversify-lite/planning/reflection_utils.js +99 -0
- package/es/common/inversify-lite/planning/reflection_utils.js.map +1 -0
- package/es/common/inversify-lite/planning/request.d.ts +14 -0
- package/es/common/inversify-lite/planning/request.js +16 -0
- package/es/common/inversify-lite/planning/request.js.map +1 -0
- package/es/common/inversify-lite/planning/target.d.ts +23 -0
- package/es/common/inversify-lite/planning/target.js +58 -0
- package/es/common/inversify-lite/planning/target.js.map +1 -0
- package/es/common/inversify-lite/resolution/instantiation.d.ts +3 -0
- package/es/common/inversify-lite/resolution/instantiation.js +117 -0
- package/es/common/inversify-lite/resolution/instantiation.js.map +1 -0
- package/es/common/inversify-lite/resolution/resolver.d.ts +3 -0
- package/es/common/inversify-lite/resolution/resolver.js +55 -0
- package/es/common/inversify-lite/resolution/resolver.js.map +1 -0
- package/es/common/inversify-lite/scope/scope.d.ts +3 -0
- package/es/common/inversify-lite/scope/scope.js +50 -0
- package/es/common/inversify-lite/scope/scope.js.map +1 -0
- package/es/common/inversify-lite/syntax/binding_in_syntax.d.ts +9 -0
- package/es/common/inversify-lite/syntax/binding_in_syntax.js +21 -0
- package/es/common/inversify-lite/syntax/binding_in_syntax.js.map +1 -0
- package/es/common/inversify-lite/syntax/binding_in_when_on_syntax.d.ts +12 -0
- package/es/common/inversify-lite/syntax/binding_in_when_on_syntax.js +25 -0
- package/es/common/inversify-lite/syntax/binding_in_when_on_syntax.js.map +1 -0
- package/es/common/inversify-lite/syntax/binding_on_syntax.d.ts +6 -0
- package/es/common/inversify-lite/syntax/binding_on_syntax.js +8 -0
- package/es/common/inversify-lite/syntax/binding_on_syntax.js.map +1 -0
- package/es/common/inversify-lite/syntax/binding_to_syntax.d.ts +18 -0
- package/es/common/inversify-lite/syntax/binding_to_syntax.js +63 -0
- package/es/common/inversify-lite/syntax/binding_to_syntax.js.map +1 -0
- package/es/common/inversify-lite/syntax/binding_when_on_syntax.d.ts +8 -0
- package/es/common/inversify-lite/syntax/binding_when_on_syntax.js +13 -0
- package/es/common/inversify-lite/syntax/binding_when_on_syntax.js.map +1 -0
- package/es/common/inversify-lite/syntax/binding_when_syntax.d.ts +7 -0
- package/es/common/inversify-lite/syntax/binding_when_syntax.js +15 -0
- package/es/common/inversify-lite/syntax/binding_when_syntax.js.map +1 -0
- package/es/common/inversify-lite/syntax/constraint_helpers.d.ts +3 -0
- package/es/common/inversify-lite/syntax/constraint_helpers.js +11 -0
- package/es/common/inversify-lite/syntax/constraint_helpers.js.map +1 -0
- package/es/common/inversify-lite/utils/async.d.ts +3 -0
- package/es/common/inversify-lite/utils/async.js +10 -0
- package/es/common/inversify-lite/utils/async.js.map +1 -0
- package/es/common/inversify-lite/utils/binding_utils.d.ts +4 -0
- package/es/common/inversify-lite/utils/binding_utils.js +65 -0
- package/es/common/inversify-lite/utils/binding_utils.js.map +1 -0
- package/es/common/inversify-lite/utils/clonable.d.ts +3 -0
- package/es/common/inversify-lite/utils/clonable.js +6 -0
- package/es/common/inversify-lite/utils/clonable.js.map +1 -0
- package/es/common/inversify-lite/utils/exceptions.d.ts +2 -0
- package/es/common/inversify-lite/utils/exceptions.js +8 -0
- package/es/common/inversify-lite/utils/exceptions.js.map +1 -0
- package/es/common/inversify-lite/utils/factory_type.d.ts +5 -0
- package/es/common/inversify-lite/utils/factory_type.js +7 -0
- package/es/common/inversify-lite/utils/factory_type.js.map +1 -0
- package/es/common/inversify-lite/utils/id.d.ts +2 -0
- package/es/common/inversify-lite/utils/id.js +8 -0
- package/es/common/inversify-lite/utils/id.js.map +1 -0
- package/es/common/inversify-lite/utils/js.d.ts +1 -0
- package/es/common/inversify-lite/utils/js.js +8 -0
- package/es/common/inversify-lite/utils/js.js.map +1 -0
- package/es/common/inversify-lite/utils/serialization.d.ts +10 -0
- package/es/common/inversify-lite/utils/serialization.js +66 -0
- package/es/common/inversify-lite/utils/serialization.js.map +1 -0
- package/es/common/matrix.d.ts +5 -0
- package/es/common/matrix.js +48 -0
- package/es/common/matrix.js.map +1 -0
- package/es/common/morphing-utils.d.ts +17 -0
- package/es/common/morphing-utils.js +287 -0
- package/es/common/morphing-utils.js.map +1 -0
- package/es/common/path-svg.d.ts +12 -0
- package/es/common/path-svg.js +58 -0
- package/es/common/path-svg.js.map +1 -0
- package/es/common/polygon.d.ts +4 -0
- package/es/common/polygon.js +39 -0
- package/es/common/polygon.js.map +1 -0
- package/es/common/render-area.d.ts +11 -0
- package/es/common/render-area.js +133 -0
- package/es/common/render-area.js.map +1 -0
- package/es/common/render-command-list.d.ts +2 -0
- package/es/common/render-command-list.js +9 -0
- package/es/common/render-command-list.js.map +1 -0
- package/es/common/render-curve.d.ts +18 -0
- package/es/common/render-curve.js +118 -0
- package/es/common/render-curve.js.map +1 -0
- package/es/common/seg-context.d.ts +36 -0
- package/es/common/seg-context.js +94 -0
- package/es/common/seg-context.js.map +1 -0
- package/es/common/segment/basis.d.ts +28 -0
- package/es/common/segment/basis.js +66 -0
- package/es/common/segment/basis.js.map +1 -0
- package/es/common/segment/common.d.ts +3 -0
- package/es/common/segment/common.js +6 -0
- package/es/common/segment/common.js.map +1 -0
- package/es/common/segment/curve/arc.d.ts +14 -0
- package/es/common/segment/curve/arc.js +22 -0
- package/es/common/segment/curve/arc.js.map +1 -0
- package/es/common/segment/curve/base.d.ts +13 -0
- package/es/common/segment/curve/base.js +7 -0
- package/es/common/segment/curve/base.js.map +1 -0
- package/es/common/segment/curve/cubic-bezier.d.ts +19 -0
- package/es/common/segment/curve/cubic-bezier.js +37 -0
- package/es/common/segment/curve/cubic-bezier.js.map +1 -0
- package/es/common/segment/curve/curve-context.d.ts +19 -0
- package/es/common/segment/curve/curve-context.js +44 -0
- package/es/common/segment/curve/curve-context.js.map +1 -0
- package/es/common/segment/curve/ellipse.d.ts +18 -0
- package/es/common/segment/curve/ellipse.js +24 -0
- package/es/common/segment/curve/ellipse.js.map +1 -0
- package/es/common/segment/curve/line.d.ts +18 -0
- package/es/common/segment/curve/line.js +34 -0
- package/es/common/segment/curve/line.js.map +1 -0
- package/es/common/segment/curve/move.d.ts +13 -0
- package/es/common/segment/curve/move.js +22 -0
- package/es/common/segment/curve/move.js.map +1 -0
- package/es/common/segment/curve/path.d.ts +11 -0
- package/es/common/segment/curve/path.js +23 -0
- package/es/common/segment/curve/path.js.map +1 -0
- package/es/common/segment/curve/quadratic-bezier.d.ts +16 -0
- package/es/common/segment/curve/quadratic-bezier.js +23 -0
- package/es/common/segment/curve/quadratic-bezier.js.map +1 -0
- package/es/common/segment/index.d.ts +11 -0
- package/es/common/segment/index.js +51 -0
- package/es/common/segment/index.js.map +1 -0
- package/es/common/segment/linear-closed.d.ts +24 -0
- package/es/common/segment/linear-closed.js +56 -0
- package/es/common/segment/linear-closed.js.map +1 -0
- package/es/common/segment/linear.d.ts +24 -0
- package/es/common/segment/linear.js +56 -0
- package/es/common/segment/linear.js.map +1 -0
- package/es/common/segment/monotone.d.ts +36 -0
- package/es/common/segment/monotone.js +123 -0
- package/es/common/segment/monotone.js.map +1 -0
- package/es/common/segment/step.d.ts +26 -0
- package/es/common/segment/step.js +62 -0
- package/es/common/segment/step.js.map +1 -0
- package/es/common/shape/arc.d.ts +5 -0
- package/es/common/shape/arc.js +40 -0
- package/es/common/shape/arc.js.map +1 -0
- package/es/common/shape/rect.d.ts +2 -0
- package/es/common/shape/rect.js +48 -0
- package/es/common/shape/rect.js.map +1 -0
- package/es/common/sort.d.ts +4 -0
- package/es/common/sort.js +94 -0
- package/es/common/sort.js.map +1 -0
- package/es/common/split-path.d.ts +44 -0
- package/es/common/split-path.js +249 -0
- package/es/common/split-path.js.map +1 -0
- package/es/common/store.d.ts +2 -0
- package/es/common/store.js +1 -0
- package/es/common/store.js.map +1 -0
- package/es/common/text.d.ts +6 -0
- package/es/common/text.js +19 -0
- package/es/common/text.js.map +1 -0
- package/es/common/utils.d.ts +40 -0
- package/es/common/utils.js +143 -0
- package/es/common/utils.js.map +1 -0
- package/es/common/xml/OrderedObjParser.d.ts +19 -0
- package/es/common/xml/OrderedObjParser.js +122 -0
- package/es/common/xml/OrderedObjParser.js.map +1 -0
- package/es/common/xml/index.d.ts +1 -0
- package/es/common/xml/index.js +2 -0
- package/es/common/xml/index.js.map +1 -0
- package/es/common/xml/node2json.d.ts +1 -0
- package/es/common/xml/node2json.js +41 -0
- package/es/common/xml/node2json.js.map +1 -0
- package/es/common/xml/parser.d.ts +10 -0
- package/es/common/xml/parser.js +28 -0
- package/es/common/xml/parser.js.map +1 -0
- package/es/common/xml/type.d.ts +1 -0
- package/es/common/xml/type.js +2 -0
- package/es/common/xml/type.js.map +1 -0
- package/es/common/xml/utils.d.ts +1 -0
- package/es/common/xml/utils.js +15 -0
- package/es/common/xml/utils.js.map +1 -0
- package/es/constants.d.ts +2 -0
- package/es/constants.js +4 -0
- package/es/constants.js.map +1 -0
- package/es/container.d.ts +2 -0
- package/es/container.js +4 -0
- package/es/container.js.map +1 -0
- package/es/core/application.d.ts +1 -0
- package/es/core/application.js +2 -0
- package/es/core/application.js.map +1 -0
- package/es/core/camera.d.ts +19 -0
- package/es/core/camera.js +61 -0
- package/es/core/camera.js.map +1 -0
- package/es/core/constants.d.ts +3 -0
- package/es/core/constants.js +6 -0
- package/es/core/constants.js.map +1 -0
- package/es/core/contributions/env/base-contribution.d.ts +58 -0
- package/es/core/contributions/env/base-contribution.js +81 -0
- package/es/core/contributions/env/base-contribution.js.map +1 -0
- package/es/core/contributions/env/modules.d.ts +3 -0
- package/es/core/contributions/env/modules.js +10 -0
- package/es/core/contributions/env/modules.js.map +1 -0
- package/es/core/contributions/index.d.ts +4 -0
- package/es/core/contributions/index.js +8 -0
- package/es/core/contributions/index.js.map +1 -0
- package/es/core/contributions/layerHandler/canvas2d-contribution.d.ts +22 -0
- package/es/core/contributions/layerHandler/canvas2d-contribution.js +90 -0
- package/es/core/contributions/layerHandler/canvas2d-contribution.js.map +1 -0
- package/es/core/contributions/layerHandler/modules.d.ts +3 -0
- package/es/core/contributions/layerHandler/modules.js +13 -0
- package/es/core/contributions/layerHandler/modules.js.map +1 -0
- package/es/core/contributions/layerHandler/offscreen2d-contribution.d.ts +20 -0
- package/es/core/contributions/layerHandler/offscreen2d-contribution.js +76 -0
- package/es/core/contributions/layerHandler/offscreen2d-contribution.js.map +1 -0
- package/es/core/contributions/modules.d.ts +2 -0
- package/es/core/contributions/modules.js +10 -0
- package/es/core/contributions/modules.js.map +1 -0
- package/es/core/contributions/textMeasure/AtextMeasure.d.ts +52 -0
- package/es/core/contributions/textMeasure/AtextMeasure.js +182 -0
- package/es/core/contributions/textMeasure/AtextMeasure.js.map +1 -0
- package/es/core/contributions/textMeasure/layout.d.ts +13 -0
- package/es/core/contributions/textMeasure/layout.js +83 -0
- package/es/core/contributions/textMeasure/layout.js.map +1 -0
- package/es/core/contributions/textMeasure/modules.d.ts +3 -0
- package/es/core/contributions/textMeasure/modules.js +11 -0
- package/es/core/contributions/textMeasure/modules.js.map +1 -0
- package/es/core/contributions/textMeasure/textMeasure-contribution.d.ts +4 -0
- package/es/core/contributions/textMeasure/textMeasure-contribution.js +18 -0
- package/es/core/contributions/textMeasure/textMeasure-contribution.js.map +1 -0
- package/es/core/contributions/window/base-contribution.d.ts +49 -0
- package/es/core/contributions/window/base-contribution.js +41 -0
- package/es/core/contributions/window/base-contribution.js.map +1 -0
- package/es/core/core-modules.d.ts +3 -0
- package/es/core/core-modules.js +22 -0
- package/es/core/core-modules.js.map +1 -0
- package/es/core/global-module.d.ts +1 -0
- package/es/core/global-module.js +1 -0
- package/es/core/global-module.js.map +1 -0
- package/es/core/global.d.ts +70 -0
- package/es/core/global.js +162 -0
- package/es/core/global.js.map +1 -0
- package/es/core/graphic-utils.d.ts +40 -0
- package/es/core/graphic-utils.js +146 -0
- package/es/core/graphic-utils.js.map +1 -0
- package/es/core/index.d.ts +9 -0
- package/es/core/index.js +18 -0
- package/es/core/index.js.map +1 -0
- package/es/core/layer-service.d.ts +16 -0
- package/es/core/layer-service.js +56 -0
- package/es/core/layer-service.js.map +1 -0
- package/es/core/layer.d.ts +55 -0
- package/es/core/layer.js +129 -0
- package/es/core/layer.js.map +1 -0
- package/es/core/light.d.ts +11 -0
- package/es/core/light.js +20 -0
- package/es/core/light.js.map +1 -0
- package/es/core/stage.d.ts +148 -0
- package/es/core/stage.js +469 -0
- package/es/core/stage.js.map +1 -0
- package/es/core/window.d.ts +54 -0
- package/es/core/window.js +130 -0
- package/es/core/window.js.map +1 -0
- package/es/create.d.ts +3 -0
- package/es/create.js +6 -0
- package/es/create.js.map +1 -0
- package/es/event/constant.d.ts +1 -0
- package/es/event/constant.js +2 -0
- package/es/event/constant.js.map +1 -0
- package/es/event/event-manager.d.ts +60 -0
- package/es/event/event-manager.js +276 -0
- package/es/event/event-manager.js.map +1 -0
- package/es/event/event-system.d.ts +38 -0
- package/es/event/event-system.js +194 -0
- package/es/event/event-system.js.map +1 -0
- package/es/event/event-target.d.ts +3 -0
- package/es/event/event-target.js +16 -0
- package/es/event/event-target.js.map +1 -0
- package/es/event/federated-event/base-event.d.ts +53 -0
- package/es/event/federated-event/base-event.js +61 -0
- package/es/event/federated-event/base-event.js.map +1 -0
- package/es/event/federated-event/custom-event.d.ts +4 -0
- package/es/event/federated-event/custom-event.js +8 -0
- package/es/event/federated-event/custom-event.js.map +1 -0
- package/es/event/federated-event/index.d.ts +5 -0
- package/es/event/federated-event/index.js +10 -0
- package/es/event/federated-event/index.js.map +1 -0
- package/es/event/federated-event/mouse-event.d.ts +29 -0
- package/es/event/federated-event/mouse-event.js +47 -0
- package/es/event/federated-event/mouse-event.js.map +1 -0
- package/es/event/federated-event/pointer-event.d.ts +18 -0
- package/es/event/federated-event/pointer-event.js +24 -0
- package/es/event/federated-event/pointer-event.js.map +1 -0
- package/es/event/federated-event/wheel-event.d.ts +14 -0
- package/es/event/federated-event/wheel-event.js +21 -0
- package/es/event/federated-event/wheel-event.js.map +1 -0
- package/es/event/index.d.ts +7 -0
- package/es/event/index.js +14 -0
- package/es/event/index.js.map +1 -0
- package/es/event/util.d.ts +1 -0
- package/es/event/util.js +2 -0
- package/es/event/util.js.map +1 -0
- package/es/export.d.ts +1 -0
- package/es/export.js +1 -0
- package/es/export.js.map +1 -0
- package/es/graphic/arc.d.ts +69 -0
- package/es/graphic/arc.js +133 -0
- package/es/graphic/arc.js.map +1 -0
- package/es/graphic/arc3d.d.ts +40 -0
- package/es/graphic/arc3d.js +32 -0
- package/es/graphic/arc3d.js.map +1 -0
- package/es/graphic/area.d.ts +51 -0
- package/es/graphic/area.js +82 -0
- package/es/graphic/area.js.map +1 -0
- package/es/graphic/bounds.d.ts +6 -0
- package/es/graphic/bounds.js +16 -0
- package/es/graphic/bounds.js.map +1 -0
- package/es/graphic/builtin-symbol/arrow.d.ts +11 -0
- package/es/graphic/builtin-symbol/arrow.js +28 -0
- package/es/graphic/builtin-symbol/arrow.js.map +1 -0
- package/es/graphic/builtin-symbol/arrow2-down.d.ts +11 -0
- package/es/graphic/builtin-symbol/arrow2-down.js +22 -0
- package/es/graphic/builtin-symbol/arrow2-down.js.map +1 -0
- package/es/graphic/builtin-symbol/arrow2-left.d.ts +11 -0
- package/es/graphic/builtin-symbol/arrow2-left.js +22 -0
- package/es/graphic/builtin-symbol/arrow2-left.js.map +1 -0
- package/es/graphic/builtin-symbol/arrow2-right.d.ts +11 -0
- package/es/graphic/builtin-symbol/arrow2-right.js +22 -0
- package/es/graphic/builtin-symbol/arrow2-right.js.map +1 -0
- package/es/graphic/builtin-symbol/arrow2-up.d.ts +11 -0
- package/es/graphic/builtin-symbol/arrow2-up.js +22 -0
- package/es/graphic/builtin-symbol/arrow2-up.js.map +1 -0
- package/es/graphic/builtin-symbol/base.d.ts +4 -0
- package/es/graphic/builtin-symbol/base.js +12 -0
- package/es/graphic/builtin-symbol/base.js.map +1 -0
- package/es/graphic/builtin-symbol/circle.d.ts +12 -0
- package/es/graphic/builtin-symbol/circle.js +26 -0
- package/es/graphic/builtin-symbol/circle.js.map +1 -0
- package/es/graphic/builtin-symbol/close.d.ts +12 -0
- package/es/graphic/builtin-symbol/close.js +25 -0
- package/es/graphic/builtin-symbol/close.js.map +1 -0
- package/es/graphic/builtin-symbol/cross.d.ts +12 -0
- package/es/graphic/builtin-symbol/cross.js +34 -0
- package/es/graphic/builtin-symbol/cross.js.map +1 -0
- package/es/graphic/builtin-symbol/diamond.d.ts +12 -0
- package/es/graphic/builtin-symbol/diamond.js +24 -0
- package/es/graphic/builtin-symbol/diamond.js.map +1 -0
- package/es/graphic/builtin-symbol/index.d.ts +4 -0
- package/es/graphic/builtin-symbol/index.js +56 -0
- package/es/graphic/builtin-symbol/index.js.map +1 -0
- package/es/graphic/builtin-symbol/line-h.d.ts +12 -0
- package/es/graphic/builtin-symbol/line-h.js +24 -0
- package/es/graphic/builtin-symbol/line-h.js.map +1 -0
- package/es/graphic/builtin-symbol/line-v.d.ts +12 -0
- package/es/graphic/builtin-symbol/line-v.js +24 -0
- package/es/graphic/builtin-symbol/line-v.js.map +1 -0
- package/es/graphic/builtin-symbol/rect.d.ts +11 -0
- package/es/graphic/builtin-symbol/rect.js +22 -0
- package/es/graphic/builtin-symbol/rect.js.map +1 -0
- package/es/graphic/builtin-symbol/square.d.ts +11 -0
- package/es/graphic/builtin-symbol/square.js +21 -0
- package/es/graphic/builtin-symbol/square.js.map +1 -0
- package/es/graphic/builtin-symbol/star.d.ts +11 -0
- package/es/graphic/builtin-symbol/star.js +30 -0
- package/es/graphic/builtin-symbol/star.js.map +1 -0
- package/es/graphic/builtin-symbol/stroke.d.ts +11 -0
- package/es/graphic/builtin-symbol/stroke.js +20 -0
- package/es/graphic/builtin-symbol/stroke.js.map +1 -0
- package/es/graphic/builtin-symbol/thin-triangle.d.ts +11 -0
- package/es/graphic/builtin-symbol/thin-triangle.js +26 -0
- package/es/graphic/builtin-symbol/thin-triangle.js.map +1 -0
- package/es/graphic/builtin-symbol/triangle-down.d.ts +12 -0
- package/es/graphic/builtin-symbol/triangle-down.js +26 -0
- package/es/graphic/builtin-symbol/triangle-down.js.map +1 -0
- package/es/graphic/builtin-symbol/triangle-left.d.ts +12 -0
- package/es/graphic/builtin-symbol/triangle-left.js +26 -0
- package/es/graphic/builtin-symbol/triangle-left.js.map +1 -0
- package/es/graphic/builtin-symbol/triangle-right.d.ts +12 -0
- package/es/graphic/builtin-symbol/triangle-right.js +26 -0
- package/es/graphic/builtin-symbol/triangle-right.js.map +1 -0
- package/es/graphic/builtin-symbol/triangle-up.d.ts +12 -0
- package/es/graphic/builtin-symbol/triangle-up.js +26 -0
- package/es/graphic/builtin-symbol/triangle-up.js.map +1 -0
- package/es/graphic/builtin-symbol/triangle.d.ts +8 -0
- package/es/graphic/builtin-symbol/triangle.js +12 -0
- package/es/graphic/builtin-symbol/triangle.js.map +1 -0
- package/es/graphic/builtin-symbol/utils.d.ts +19 -0
- package/es/graphic/builtin-symbol/utils.js +37 -0
- package/es/graphic/builtin-symbol/utils.js.map +1 -0
- package/es/graphic/builtin-symbol/wedge.d.ts +11 -0
- package/es/graphic/builtin-symbol/wedge.js +22 -0
- package/es/graphic/builtin-symbol/wedge.js.map +1 -0
- package/es/graphic/builtin-symbol/wye.d.ts +11 -0
- package/es/graphic/builtin-symbol/wye.js +30 -0
- package/es/graphic/builtin-symbol/wye.js.map +1 -0
- package/es/graphic/circle.d.ts +47 -0
- package/es/graphic/circle.js +61 -0
- package/es/graphic/circle.js.map +1 -0
- package/es/graphic/config.d.ts +26 -0
- package/es/graphic/config.js +265 -0
- package/es/graphic/config.js.map +1 -0
- package/es/graphic/constants.d.ts +40 -0
- package/es/graphic/constants.js +64 -0
- package/es/graphic/constants.js.map +1 -0
- package/es/graphic/glyph.d.ts +69 -0
- package/es/graphic/glyph.js +122 -0
- package/es/graphic/glyph.js.map +1 -0
- package/es/graphic/graphic-creator.d.ts +36 -0
- package/es/graphic/graphic-creator.js +126 -0
- package/es/graphic/graphic-creator.js.map +1 -0
- package/es/graphic/graphic-service/arc-contribution.d.ts +5 -0
- package/es/graphic/graphic-service/arc-contribution.js +18 -0
- package/es/graphic/graphic-service/arc-contribution.js.map +1 -0
- package/es/graphic/graphic-service/area-contribution.d.ts +1 -0
- package/es/graphic/graphic-service/area-contribution.js +2 -0
- package/es/graphic/graphic-service/area-contribution.js.map +1 -0
- package/es/graphic/graphic-service/circle-contribution.d.ts +5 -0
- package/es/graphic/graphic-service/circle-contribution.js +18 -0
- package/es/graphic/graphic-service/circle-contribution.js.map +1 -0
- package/es/graphic/graphic-service/common-contribution.d.ts +5 -0
- package/es/graphic/graphic-service/common-contribution.js +23 -0
- package/es/graphic/graphic-service/common-contribution.js.map +1 -0
- package/es/graphic/graphic-service/default-theme.d.ts +1 -0
- package/es/graphic/graphic-service/default-theme.js +3 -0
- package/es/graphic/graphic-service/default-theme.js.map +1 -0
- package/es/graphic/graphic-service/graphic-module.d.ts +3 -0
- package/es/graphic/graphic-service/graphic-module.js +34 -0
- package/es/graphic/graphic-service/graphic-module.js.map +1 -0
- package/es/graphic/graphic-service/graphic-service.d.ts +78 -0
- package/es/graphic/graphic-service/graphic-service.js +534 -0
- package/es/graphic/graphic-service/graphic-service.js.map +1 -0
- package/es/graphic/graphic-service/path-contribution.d.ts +5 -0
- package/es/graphic/graphic-service/path-contribution.js +18 -0
- package/es/graphic/graphic-service/path-contribution.js.map +1 -0
- package/es/graphic/graphic-service/rect-contribution.d.ts +5 -0
- package/es/graphic/graphic-service/rect-contribution.js +18 -0
- package/es/graphic/graphic-service/rect-contribution.js.map +1 -0
- package/es/graphic/graphic-service/symbol-contribution.d.ts +7 -0
- package/es/graphic/graphic-service/symbol-contribution.js +29 -0
- package/es/graphic/graphic-service/symbol-contribution.js.map +1 -0
- package/es/graphic/graphic.d.ts +175 -0
- package/es/graphic/graphic.js +639 -0
- package/es/graphic/graphic.js.map +1 -0
- package/es/graphic/group.d.ts +79 -0
- package/es/graphic/group.js +181 -0
- package/es/graphic/group.js.map +1 -0
- package/es/graphic/image.d.ts +60 -0
- package/es/graphic/image.js +95 -0
- package/es/graphic/image.js.map +1 -0
- package/es/graphic/index.d.ts +28 -0
- package/es/graphic/index.js +56 -0
- package/es/graphic/index.js.map +1 -0
- package/es/graphic/line.d.ts +50 -0
- package/es/graphic/line.js +74 -0
- package/es/graphic/line.js.map +1 -0
- package/es/graphic/node-tree.d.ts +77 -0
- package/es/graphic/node-tree.js +351 -0
- package/es/graphic/node-tree.js.map +1 -0
- package/es/graphic/path.d.ts +53 -0
- package/es/graphic/path.js +77 -0
- package/es/graphic/path.js.map +1 -0
- package/es/graphic/polygon.d.ts +49 -0
- package/es/graphic/polygon.js +63 -0
- package/es/graphic/polygon.js.map +1 -0
- package/es/graphic/pyramid3d.d.ts +42 -0
- package/es/graphic/pyramid3d.js +96 -0
- package/es/graphic/pyramid3d.js.map +1 -0
- package/es/graphic/rect.d.ts +47 -0
- package/es/graphic/rect.js +58 -0
- package/es/graphic/rect.js.map +1 -0
- package/es/graphic/rect3d.d.ts +38 -0
- package/es/graphic/rect3d.js +54 -0
- package/es/graphic/rect3d.js.map +1 -0
- package/es/graphic/richtext/frame.d.ts +43 -0
- package/es/graphic/richtext/frame.js +142 -0
- package/es/graphic/richtext/frame.js.map +1 -0
- package/es/graphic/richtext/icon.d.ts +24 -0
- package/es/graphic/richtext/icon.js +41 -0
- package/es/graphic/richtext/icon.js.map +1 -0
- package/es/graphic/richtext/line.d.ts +27 -0
- package/es/graphic/richtext/line.js +95 -0
- package/es/graphic/richtext/line.js.map +1 -0
- package/es/graphic/richtext/paragraph.d.ts +28 -0
- package/es/graphic/richtext/paragraph.js +75 -0
- package/es/graphic/richtext/paragraph.js.map +1 -0
- package/es/graphic/richtext/utils.d.ts +42 -0
- package/es/graphic/richtext/utils.js +178 -0
- package/es/graphic/richtext/utils.js.map +1 -0
- package/es/graphic/richtext/wrapper.d.ts +25 -0
- package/es/graphic/richtext/wrapper.js +48 -0
- package/es/graphic/richtext/wrapper.js.map +1 -0
- package/es/graphic/richtext.d.ts +78 -0
- package/es/graphic/richtext.js +190 -0
- package/es/graphic/richtext.js.map +1 -0
- package/es/graphic/shadow-root.d.ts +13 -0
- package/es/graphic/shadow-root.js +36 -0
- package/es/graphic/shadow-root.js.map +1 -0
- package/es/graphic/symbol.d.ts +53 -0
- package/es/graphic/symbol.js +105 -0
- package/es/graphic/symbol.js.map +1 -0
- package/es/graphic/text.d.ts +65 -0
- package/es/graphic/text.js +247 -0
- package/es/graphic/text.js.map +1 -0
- package/es/graphic/theme.d.ts +20 -0
- package/es/graphic/theme.js +127 -0
- package/es/graphic/theme.js.map +1 -0
- package/es/graphic/tools.d.ts +15 -0
- package/es/graphic/tools.js +162 -0
- package/es/graphic/tools.js.map +1 -0
- package/es/graphic/wrap-text.d.ts +10 -0
- package/es/graphic/wrap-text.js +113 -0
- package/es/graphic/wrap-text.js.map +1 -0
- package/es/index.d.ts +46 -0
- package/es/index.js +92 -0
- package/es/index.js.map +1 -0
- package/es/interface/allocator.d.ts +27 -0
- package/es/interface/allocator.js +2 -0
- package/es/interface/allocator.js.map +1 -0
- package/es/interface/animate.d.ts +191 -0
- package/es/interface/animate.js +2 -0
- package/es/interface/animate.js.map +1 -0
- package/es/interface/camera.d.ts +24 -0
- package/es/interface/camera.js +2 -0
- package/es/interface/camera.js.map +1 -0
- package/es/interface/canvas.d.ts +61 -0
- package/es/interface/canvas.js +2 -0
- package/es/interface/canvas.js.map +1 -0
- package/es/interface/color.d.ts +37 -0
- package/es/interface/color.js +2 -0
- package/es/interface/color.js.map +1 -0
- package/es/interface/common.d.ts +27 -0
- package/es/interface/common.js +2 -0
- package/es/interface/common.js.map +1 -0
- package/es/interface/context.d.ts +196 -0
- package/es/interface/context.js +2 -0
- package/es/interface/context.js.map +1 -0
- package/es/interface/contribution.d.ts +86 -0
- package/es/interface/contribution.js +2 -0
- package/es/interface/contribution.js.map +1 -0
- package/es/interface/core.d.ts +36 -0
- package/es/interface/core.js +2 -0
- package/es/interface/core.js.map +1 -0
- package/es/interface/creator.d.ts +4 -0
- package/es/interface/creator.js +2 -0
- package/es/interface/creator.js.map +1 -0
- package/es/interface/curve.d.ts +42 -0
- package/es/interface/curve.js +2 -0
- package/es/interface/curve.js.map +1 -0
- package/es/interface/event.d.ts +193 -0
- package/es/interface/event.js +2 -0
- package/es/interface/event.js.map +1 -0
- package/es/interface/global.d.ts +153 -0
- package/es/interface/global.js +2 -0
- package/es/interface/global.js.map +1 -0
- package/es/interface/graphic/arc.d.ts +37 -0
- package/es/interface/graphic/arc.js +2 -0
- package/es/interface/graphic/arc.js.map +1 -0
- package/es/interface/graphic/arc3d.d.ts +22 -0
- package/es/interface/graphic/arc3d.js +2 -0
- package/es/interface/graphic/arc3d.js.map +1 -0
- package/es/interface/graphic/area.d.ts +24 -0
- package/es/interface/graphic/area.js +2 -0
- package/es/interface/graphic/area.js.map +1 -0
- package/es/interface/graphic/bounds.d.ts +37 -0
- package/es/interface/graphic/bounds.js +8 -0
- package/es/interface/graphic/bounds.js.map +1 -0
- package/es/interface/graphic/circle.d.ts +8 -0
- package/es/interface/graphic/circle.js +2 -0
- package/es/interface/graphic/circle.js.map +1 -0
- package/es/interface/graphic/creator.d.ts +32 -0
- package/es/interface/graphic/creator.js +2 -0
- package/es/interface/graphic/creator.js.map +1 -0
- package/es/interface/graphic/dynamic-path.d.ts +1 -0
- package/es/interface/graphic/dynamic-path.js +3 -0
- package/es/interface/graphic/dynamic-path.js.map +1 -0
- package/es/interface/graphic/ellipse.d.ts +8 -0
- package/es/interface/graphic/ellipse.js +2 -0
- package/es/interface/graphic/ellipse.js.map +1 -0
- package/es/interface/graphic/face3d.d.ts +11 -0
- package/es/interface/graphic/face3d.js +2 -0
- package/es/interface/graphic/face3d.js.map +1 -0
- package/es/interface/graphic/glyph.d.ts +24 -0
- package/es/interface/graphic/glyph.js +2 -0
- package/es/interface/graphic/glyph.js.map +1 -0
- package/es/interface/graphic/group.d.ts +30 -0
- package/es/interface/graphic/group.js +2 -0
- package/es/interface/graphic/group.js.map +1 -0
- package/es/interface/graphic/image.d.ts +15 -0
- package/es/interface/graphic/image.js +2 -0
- package/es/interface/graphic/image.js.map +1 -0
- package/es/interface/graphic/index.d.ts +26 -0
- package/es/interface/graphic/index.js +52 -0
- package/es/interface/graphic/index.js.map +1 -0
- package/es/interface/graphic/isogon.d.ts +7 -0
- package/es/interface/graphic/isogon.js +2 -0
- package/es/interface/graphic/isogon.js.map +1 -0
- package/es/interface/graphic/line.d.ts +23 -0
- package/es/interface/graphic/line.js +2 -0
- package/es/interface/graphic/line.js.map +1 -0
- package/es/interface/graphic/path.d.ts +14 -0
- package/es/interface/graphic/path.js +2 -0
- package/es/interface/graphic/path.js.map +1 -0
- package/es/interface/graphic/polygon.d.ts +9 -0
- package/es/interface/graphic/polygon.js +2 -0
- package/es/interface/graphic/polygon.js.map +1 -0
- package/es/interface/graphic/polyline.d.ts +3 -0
- package/es/interface/graphic/polyline.js +2 -0
- package/es/interface/graphic/polyline.js.map +1 -0
- package/es/interface/graphic/pyramid3d.d.ts +7 -0
- package/es/interface/graphic/pyramid3d.js +2 -0
- package/es/interface/graphic/pyramid3d.js.map +1 -0
- package/es/interface/graphic/rect.d.ts +11 -0
- package/es/interface/graphic/rect.js +2 -0
- package/es/interface/graphic/rect.js.map +1 -0
- package/es/interface/graphic/rect3d.d.ts +10 -0
- package/es/interface/graphic/rect3d.js +2 -0
- package/es/interface/graphic/rect3d.js.map +1 -0
- package/es/interface/graphic/richText.d.ts +181 -0
- package/es/interface/graphic/richText.js +2 -0
- package/es/interface/graphic/richText.js.map +1 -0
- package/es/interface/graphic/shadow-root.d.ts +5 -0
- package/es/interface/graphic/shadow-root.js +2 -0
- package/es/interface/graphic/shadow-root.js.map +1 -0
- package/es/interface/graphic/svg.d.ts +7 -0
- package/es/interface/graphic/svg.js +2 -0
- package/es/interface/graphic/svg.js.map +1 -0
- package/es/interface/graphic/symbol.d.ts +22 -0
- package/es/interface/graphic/symbol.js +2 -0
- package/es/interface/graphic/symbol.js.map +1 -0
- package/es/interface/graphic/text.d.ts +73 -0
- package/es/interface/graphic/text.js +2 -0
- package/es/interface/graphic/text.js.map +1 -0
- package/es/interface/graphic/theme.d.ts +56 -0
- package/es/interface/graphic/theme.js +2 -0
- package/es/interface/graphic/theme.js.map +1 -0
- package/es/interface/graphic/util.d.ts +15 -0
- package/es/interface/graphic/util.js +2 -0
- package/es/interface/graphic/util.js.map +1 -0
- package/es/interface/graphic-service.d.ts +78 -0
- package/es/interface/graphic-service.js +2 -0
- package/es/interface/graphic-service.js.map +1 -0
- package/es/interface/graphic-utils.d.ts +1 -0
- package/es/interface/graphic-utils.js +3 -0
- package/es/interface/graphic-utils.js.map +1 -0
- package/es/interface/graphic.d.ts +253 -0
- package/es/interface/graphic.js +2 -0
- package/es/interface/graphic.js.map +1 -0
- package/es/interface/index.d.ts +29 -0
- package/es/interface/index.js +58 -0
- package/es/interface/index.js.map +1 -0
- package/es/interface/layer.d.ts +99 -0
- package/es/interface/layer.js +2 -0
- package/es/interface/layer.js.map +1 -0
- package/es/interface/light.d.ts +6 -0
- package/es/interface/light.js +2 -0
- package/es/interface/light.js.map +1 -0
- package/es/interface/loader.d.ts +17 -0
- package/es/interface/loader.js +2 -0
- package/es/interface/loader.js.map +1 -0
- package/es/interface/matrix.d.ts +21 -0
- package/es/interface/matrix.js +2 -0
- package/es/interface/matrix.js.map +1 -0
- package/es/interface/node-tree.d.ts +43 -0
- package/es/interface/node-tree.js +2 -0
- package/es/interface/node-tree.js.map +1 -0
- package/es/interface/path.d.ts +100 -0
- package/es/interface/path.js +2 -0
- package/es/interface/path.js.map +1 -0
- package/es/interface/picker.d.ts +56 -0
- package/es/interface/picker.js +2 -0
- package/es/interface/picker.js.map +1 -0
- package/es/interface/plugin.d.ts +17 -0
- package/es/interface/plugin.js +2 -0
- package/es/interface/plugin.js.map +1 -0
- package/es/interface/render.d.ts +90 -0
- package/es/interface/render.js +2 -0
- package/es/interface/render.js.map +1 -0
- package/es/interface/stage.d.ts +146 -0
- package/es/interface/stage.js +2 -0
- package/es/interface/stage.js.map +1 -0
- package/es/interface/sync-hook.d.ts +26 -0
- package/es/interface/sync-hook.js +2 -0
- package/es/interface/sync-hook.js.map +1 -0
- package/es/interface/text.d.ts +49 -0
- package/es/interface/text.js +2 -0
- package/es/interface/text.js.map +1 -0
- package/es/interface/theme-service.d.ts +1 -0
- package/es/interface/theme-service.js +3 -0
- package/es/interface/theme-service.js.map +1 -0
- package/es/interface/util.d.ts +1 -0
- package/es/interface/util.js +3 -0
- package/es/interface/util.js.map +1 -0
- package/es/interface/window.d.ts +84 -0
- package/es/interface/window.js +2 -0
- package/es/interface/window.js.map +1 -0
- package/es/modules.d.ts +8 -0
- package/es/modules.js +54 -0
- package/es/modules.js.map +1 -0
- package/es/picker/constants.d.ts +4 -0
- package/es/picker/constants.js +8 -0
- package/es/picker/constants.js.map +1 -0
- package/es/picker/global-picker-service.d.ts +13 -0
- package/es/picker/global-picker-service.js +75 -0
- package/es/picker/global-picker-service.js.map +1 -0
- package/es/picker/index.d.ts +4 -0
- package/es/picker/index.js +8 -0
- package/es/picker/index.js.map +1 -0
- package/es/picker/pick-interceptor.d.ts +22 -0
- package/es/picker/pick-interceptor.js +109 -0
- package/es/picker/pick-interceptor.js.map +1 -0
- package/es/picker/pick-modules.d.ts +3 -0
- package/es/picker/pick-modules.js +18 -0
- package/es/picker/pick-modules.js.map +1 -0
- package/es/picker/picker-service.d.ts +18 -0
- package/es/picker/picker-service.js +127 -0
- package/es/picker/picker-service.js.map +1 -0
- package/es/plugins/builtin-plugin/3dview-transform-plugin.d.ts +17 -0
- package/es/plugins/builtin-plugin/3dview-transform-plugin.js +36 -0
- package/es/plugins/builtin-plugin/3dview-transform-plugin.js.map +1 -0
- package/es/plugins/builtin-plugin/auto-render-plugin.d.ts +10 -0
- package/es/plugins/builtin-plugin/auto-render-plugin.js +22 -0
- package/es/plugins/builtin-plugin/auto-render-plugin.js.map +1 -0
- package/es/plugins/builtin-plugin/dirty-bounds-plugin.d.ts +10 -0
- package/es/plugins/builtin-plugin/dirty-bounds-plugin.js +34 -0
- package/es/plugins/builtin-plugin/dirty-bounds-plugin.js.map +1 -0
- package/es/plugins/builtin-plugin/flex-layout-plugin.d.ts +36 -0
- package/es/plugins/builtin-plugin/flex-layout-plugin.js +179 -0
- package/es/plugins/builtin-plugin/flex-layout-plugin.js.map +1 -0
- package/es/plugins/builtin-plugin/html-attribute-plugin.d.ts +13 -0
- package/es/plugins/builtin-plugin/html-attribute-plugin.js +75 -0
- package/es/plugins/builtin-plugin/html-attribute-plugin.js.map +1 -0
- package/es/plugins/builtin-plugin/incremental-auto-render-plugin.d.ts +15 -0
- package/es/plugins/builtin-plugin/incremental-auto-render-plugin.js +52 -0
- package/es/plugins/builtin-plugin/incremental-auto-render-plugin.js.map +1 -0
- package/es/plugins/builtin-plugin/poptip-plugin.d.ts +1 -0
- package/es/plugins/builtin-plugin/poptip-plugin.js +3 -0
- package/es/plugins/builtin-plugin/poptip-plugin.js.map +1 -0
- package/es/plugins/constants.d.ts +2 -0
- package/es/plugins/constants.js +4 -0
- package/es/plugins/constants.js.map +1 -0
- package/es/plugins/plugin-modules.d.ts +3 -0
- package/es/plugins/plugin-modules.js +15 -0
- package/es/plugins/plugin-modules.js.map +1 -0
- package/es/plugins/plugin-service.d.ts +15 -0
- package/es/plugins/plugin-service.js +57 -0
- package/es/plugins/plugin-service.js.map +1 -0
- package/es/render/contributions/modules.d.ts +2 -0
- package/es/render/contributions/modules.js +6 -0
- package/es/render/contributions/modules.js.map +1 -0
- package/es/render/contributions/render/arc-render.d.ts +11 -0
- package/es/render/contributions/render/arc-render.js +139 -0
- package/es/render/contributions/render/arc-render.js.map +1 -0
- package/es/render/contributions/render/arc3d-render.d.ts +9 -0
- package/es/render/contributions/render/arc3d-render.js +102 -0
- package/es/render/contributions/render/arc3d-render.js.map +1 -0
- package/es/render/contributions/render/area-render.d.ts +12 -0
- package/es/render/contributions/render/area-render.js +219 -0
- package/es/render/contributions/render/area-render.js.map +1 -0
- package/es/render/contributions/render/base-render.d.ts +28 -0
- package/es/render/contributions/render/base-render.js +106 -0
- package/es/render/contributions/render/base-render.js.map +1 -0
- package/es/render/contributions/render/circle-render.d.ts +10 -0
- package/es/render/contributions/render/circle-render.js +50 -0
- package/es/render/contributions/render/circle-render.js.map +1 -0
- package/es/render/contributions/render/clear-screen.d.ts +1 -0
- package/es/render/contributions/render/clear-screen.js +3 -0
- package/es/render/contributions/render/clear-screen.js.map +1 -0
- package/es/render/contributions/render/contributions/arc-contribution-render.d.ts +15 -0
- package/es/render/contributions/render/contributions/arc-contribution-render.js +87 -0
- package/es/render/contributions/render/contributions/arc-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/area-contribution-render.d.ts +12 -0
- package/es/render/contributions/render/contributions/area-contribution-render.js +75 -0
- package/es/render/contributions/render/contributions/area-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/base-contribution-render.d.ts +37 -0
- package/es/render/contributions/render/contributions/base-contribution-render.js +185 -0
- package/es/render/contributions/render/contributions/base-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/circle-contribution-render.d.ts +15 -0
- package/es/render/contributions/render/contributions/circle-contribution-render.js +69 -0
- package/es/render/contributions/render/contributions/circle-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/constants.d.ts +11 -0
- package/es/render/contributions/render/contributions/constants.js +22 -0
- package/es/render/contributions/render/contributions/constants.js.map +1 -0
- package/es/render/contributions/render/contributions/group-contribution-render.d.ts +7 -0
- package/es/render/contributions/render/contributions/group-contribution-render.js +34 -0
- package/es/render/contributions/render/contributions/group-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/image-contribution-render.d.ts +7 -0
- package/es/render/contributions/render/contributions/image-contribution-render.js +70 -0
- package/es/render/contributions/render/contributions/image-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/index.d.ts +7 -0
- package/es/render/contributions/render/contributions/index.js +14 -0
- package/es/render/contributions/render/contributions/index.js.map +1 -0
- package/es/render/contributions/render/contributions/path-contribution-render.d.ts +9 -0
- package/es/render/contributions/render/contributions/path-contribution-render.js +32 -0
- package/es/render/contributions/render/contributions/path-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/polygon-contribution-render.d.ts +9 -0
- package/es/render/contributions/render/contributions/polygon-contribution-render.js +32 -0
- package/es/render/contributions/render/contributions/polygon-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/rect-contribution-render.d.ts +30 -0
- package/es/render/contributions/render/contributions/rect-contribution-render.js +112 -0
- package/es/render/contributions/render/contributions/rect-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/symbol-contribution-render.d.ts +15 -0
- package/es/render/contributions/render/contributions/symbol-contribution-render.js +63 -0
- package/es/render/contributions/render/contributions/symbol-contribution-render.js.map +1 -0
- package/es/render/contributions/render/contributions/text-contribution-render.d.ts +1 -0
- package/es/render/contributions/render/contributions/text-contribution-render.js +2 -0
- package/es/render/contributions/render/contributions/text-contribution-render.js.map +1 -0
- package/es/render/contributions/render/draw-contribution.d.ts +30 -0
- package/es/render/contributions/render/draw-contribution.js +189 -0
- package/es/render/contributions/render/draw-contribution.js.map +1 -0
- package/es/render/contributions/render/draw-interceptor.d.ts +13 -0
- package/es/render/contributions/render/draw-interceptor.js +128 -0
- package/es/render/contributions/render/draw-interceptor.js.map +1 -0
- package/es/render/contributions/render/glyph-render.d.ts +8 -0
- package/es/render/contributions/render/glyph-render.js +36 -0
- package/es/render/contributions/render/glyph-render.js.map +1 -0
- package/es/render/contributions/render/graphic-render.d.ts +6 -0
- package/es/render/contributions/render/graphic-render.js +14 -0
- package/es/render/contributions/render/graphic-render.js.map +1 -0
- package/es/render/contributions/render/group-render.d.ts +10 -0
- package/es/render/contributions/render/group-render.js +91 -0
- package/es/render/contributions/render/group-render.js.map +1 -0
- package/es/render/contributions/render/image-render.d.ts +10 -0
- package/es/render/contributions/render/image-render.js +73 -0
- package/es/render/contributions/render/image-render.js.map +1 -0
- package/es/render/contributions/render/incremental-area-render.d.ts +8 -0
- package/es/render/contributions/render/incremental-area-render.js +46 -0
- package/es/render/contributions/render/incremental-area-render.js.map +1 -0
- package/es/render/contributions/render/incremental-draw-contribution.d.ts +39 -0
- package/es/render/contributions/render/incremental-draw-contribution.js +179 -0
- package/es/render/contributions/render/incremental-draw-contribution.js.map +1 -0
- package/es/render/contributions/render/incremental-line-render.d.ts +8 -0
- package/es/render/contributions/render/incremental-line-render.js +47 -0
- package/es/render/contributions/render/incremental-line-render.js.map +1 -0
- package/es/render/contributions/render/index.d.ts +14 -0
- package/es/render/contributions/render/index.js +28 -0
- package/es/render/contributions/render/index.js.map +1 -0
- package/es/render/contributions/render/line-render.d.ts +10 -0
- package/es/render/contributions/render/line-render.js +139 -0
- package/es/render/contributions/render/line-render.js.map +1 -0
- package/es/render/contributions/render/module.d.ts +3 -0
- package/es/render/contributions/render/module.js +147 -0
- package/es/render/contributions/render/module.js.map +1 -0
- package/es/render/contributions/render/path-render.d.ts +10 -0
- package/es/render/contributions/render/path-render.js +56 -0
- package/es/render/contributions/render/path-render.js.map +1 -0
- package/es/render/contributions/render/polygon-render.d.ts +10 -0
- package/es/render/contributions/render/polygon-render.js +54 -0
- package/es/render/contributions/render/polygon-render.js.map +1 -0
- package/es/render/contributions/render/pyramid3d-render.d.ts +11 -0
- package/es/render/contributions/render/pyramid3d-render.js +93 -0
- package/es/render/contributions/render/pyramid3d-render.js.map +1 -0
- package/es/render/contributions/render/rect-render.d.ts +10 -0
- package/es/render/contributions/render/rect-render.js +62 -0
- package/es/render/contributions/render/rect-render.js.map +1 -0
- package/es/render/contributions/render/rect3d-render.d.ts +11 -0
- package/es/render/contributions/render/rect3d-render.js +96 -0
- package/es/render/contributions/render/rect3d-render.js.map +1 -0
- package/es/render/contributions/render/render-slector.d.ts +4 -0
- package/es/render/contributions/render/render-slector.js +18 -0
- package/es/render/contributions/render/render-slector.js.map +1 -0
- package/es/render/contributions/render/richtext-render.d.ts +9 -0
- package/es/render/contributions/render/richtext-render.js +53 -0
- package/es/render/contributions/render/richtext-render.js.map +1 -0
- package/es/render/contributions/render/symbol-render.d.ts +10 -0
- package/es/render/contributions/render/symbol-render.js +64 -0
- package/es/render/contributions/render/symbol-render.js.map +1 -0
- package/es/render/contributions/render/symbol.d.ts +20 -0
- package/es/render/contributions/render/symbol.js +40 -0
- package/es/render/contributions/render/symbol.js.map +1 -0
- package/es/render/contributions/render/text-render.d.ts +13 -0
- package/es/render/contributions/render/text-render.js +170 -0
- package/es/render/contributions/render/text-render.js.map +1 -0
- package/es/render/contributions/render/utils.d.ts +18 -0
- package/es/render/contributions/render/utils.js +116 -0
- package/es/render/contributions/render/utils.js.map +1 -0
- package/es/render/index.d.ts +3 -0
- package/es/render/index.js +6 -0
- package/es/render/index.js.map +1 -0
- package/es/render/render-modules.d.ts +3 -0
- package/es/render/render-modules.js +8 -0
- package/es/render/render-modules.js.map +1 -0
- package/es/render/render-service.d.ts +19 -0
- package/es/render/render-service.js +57 -0
- package/es/render/render-service.js.map +1 -0
- package/es/resource-loader/loader.d.ts +9 -0
- package/es/resource-loader/loader.js +55 -0
- package/es/resource-loader/loader.js.map +1 -0
- package/es/tapable/Hook.d.ts +12 -0
- package/es/tapable/Hook.js +52 -0
- package/es/tapable/Hook.js.map +1 -0
- package/es/tapable/SyncHook.d.ts +5 -0
- package/es/tapable/SyncHook.js +8 -0
- package/es/tapable/SyncHook.js.map +1 -0
- package/es/tapable/index.d.ts +1 -0
- package/es/tapable/index.js +2 -0
- package/es/tapable/index.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { IGraphicAttribute } from '../graphic';
|
|
2
|
+
import type { IArcGraphicAttribute } from './arc';
|
|
3
|
+
import type { IAreaGraphicAttribute } from './area';
|
|
4
|
+
import type { ICircleGraphicAttribute } from './circle';
|
|
5
|
+
import type { IGlyphGraphicAttribute } from './glyph';
|
|
6
|
+
import type { IGroup, IGroupGraphicAttribute } from './group';
|
|
7
|
+
import type { IImageGraphicAttribute } from './image';
|
|
8
|
+
import type { ILineGraphicAttribute } from './line';
|
|
9
|
+
import type { IPathGraphicAttribute } from './path';
|
|
10
|
+
import type { IPolygonGraphicAttribute } from './polygon';
|
|
11
|
+
import type { IRectGraphicAttribute } from './rect';
|
|
12
|
+
import type { IRect3dGraphicAttribute } from './rect3d';
|
|
13
|
+
import type { IRichTextGraphicAttribute, IRichTextIconGraphicAttribute } from './richText';
|
|
14
|
+
import type { ISymbolGraphicAttribute } from './symbol';
|
|
15
|
+
import type { ITextGraphicAttribute } from './text';
|
|
16
|
+
export interface IThemeSpec {
|
|
17
|
+
text?: Partial<ITextGraphicAttribute>;
|
|
18
|
+
rect?: Partial<IRectGraphicAttribute>;
|
|
19
|
+
rect3d?: Partial<IRect3dGraphicAttribute>;
|
|
20
|
+
arc?: Partial<IArcGraphicAttribute>;
|
|
21
|
+
area?: Partial<IAreaGraphicAttribute>;
|
|
22
|
+
circle?: Partial<ICircleGraphicAttribute>;
|
|
23
|
+
line?: Partial<ILineGraphicAttribute>;
|
|
24
|
+
path?: Partial<IPathGraphicAttribute>;
|
|
25
|
+
symbol?: Partial<ISymbolGraphicAttribute>;
|
|
26
|
+
group?: Partial<IGroupGraphicAttribute>;
|
|
27
|
+
polygon?: Partial<IPolygonGraphicAttribute>;
|
|
28
|
+
image?: Partial<IImageGraphicAttribute>;
|
|
29
|
+
common?: Partial<IGraphicAttribute>;
|
|
30
|
+
}
|
|
31
|
+
export interface IFullThemeSpec {
|
|
32
|
+
arc: Required<IArcGraphicAttribute>;
|
|
33
|
+
area: Required<IAreaGraphicAttribute>;
|
|
34
|
+
circle: Required<ICircleGraphicAttribute>;
|
|
35
|
+
line: Required<ILineGraphicAttribute>;
|
|
36
|
+
path: Required<IPathGraphicAttribute>;
|
|
37
|
+
symbol: Required<ISymbolGraphicAttribute>;
|
|
38
|
+
text: Required<ITextGraphicAttribute>;
|
|
39
|
+
rect: Required<IRectGraphicAttribute>;
|
|
40
|
+
rect3d: Required<IRect3dGraphicAttribute>;
|
|
41
|
+
glyph: Required<IGlyphGraphicAttribute>;
|
|
42
|
+
group: Required<IGroupGraphicAttribute>;
|
|
43
|
+
polygon: Required<IPolygonGraphicAttribute>;
|
|
44
|
+
richtext: Required<IRichTextGraphicAttribute>;
|
|
45
|
+
richtextIcon: Required<IRichTextIconGraphicAttribute>;
|
|
46
|
+
image: Required<IImageGraphicAttribute>;
|
|
47
|
+
}
|
|
48
|
+
export interface ITheme {
|
|
49
|
+
getTheme: (g: IGroup) => IFullThemeSpec;
|
|
50
|
+
combinedTheme?: IFullThemeSpec;
|
|
51
|
+
userTheme?: IThemeSpec;
|
|
52
|
+
nextTheme?: IThemeSpec;
|
|
53
|
+
applyTheme: (group: IGroup, pt: IThemeSpec, force?: boolean) => IThemeSpec;
|
|
54
|
+
setTheme: (t: IThemeSpec, g: IGroup) => void;
|
|
55
|
+
dirty: boolean;
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interface/graphic/theme.ts"],"names":[],"mappings":"","file":"theme.js","sourcesContent":["import type { IGraphicAttribute } from '../graphic';\nimport type { IArcGraphicAttribute } from './arc';\nimport type { IAreaGraphicAttribute } from './area';\nimport type { ICircleGraphicAttribute } from './circle';\nimport type { IGlyphGraphicAttribute } from './glyph';\nimport type { IGroup, IGroupGraphicAttribute } from './group';\nimport type { IImageGraphicAttribute } from './image';\nimport type { ILineGraphicAttribute } from './line';\nimport type { IPathGraphicAttribute } from './path';\nimport type { IPolygonGraphicAttribute } from './polygon';\nimport type { IRectGraphicAttribute } from './rect';\nimport type { IRect3dGraphicAttribute } from './rect3d';\nimport type { IRichTextGraphicAttribute, IRichTextIconGraphicAttribute } from './richText';\nimport type { ISymbolGraphicAttribute } from './symbol';\nimport type { ITextGraphicAttribute } from './text';\n\nexport interface IThemeSpec {\n text?: Partial<ITextGraphicAttribute>;\n rect?: Partial<IRectGraphicAttribute>;\n rect3d?: Partial<IRect3dGraphicAttribute>;\n arc?: Partial<IArcGraphicAttribute>;\n area?: Partial<IAreaGraphicAttribute>;\n circle?: Partial<ICircleGraphicAttribute>;\n line?: Partial<ILineGraphicAttribute>;\n path?: Partial<IPathGraphicAttribute>;\n symbol?: Partial<ISymbolGraphicAttribute>;\n group?: Partial<IGroupGraphicAttribute>;\n polygon?: Partial<IPolygonGraphicAttribute>;\n image?: Partial<IImageGraphicAttribute>;\n common?: Partial<IGraphicAttribute>;\n}\n\nexport interface IFullThemeSpec {\n arc: Required<IArcGraphicAttribute>;\n area: Required<IAreaGraphicAttribute>;\n circle: Required<ICircleGraphicAttribute>;\n line: Required<ILineGraphicAttribute>;\n path: Required<IPathGraphicAttribute>;\n symbol: Required<ISymbolGraphicAttribute>;\n text: Required<ITextGraphicAttribute>;\n rect: Required<IRectGraphicAttribute>;\n rect3d: Required<IRect3dGraphicAttribute>;\n glyph: Required<IGlyphGraphicAttribute>;\n group: Required<IGroupGraphicAttribute>;\n polygon: Required<IPolygonGraphicAttribute>;\n richtext: Required<IRichTextGraphicAttribute>;\n richtextIcon: Required<IRichTextIconGraphicAttribute>;\n image: Required<IImageGraphicAttribute>;\n}\n\nexport interface ITheme {\n getTheme: (g: IGroup) => IFullThemeSpec;\n combinedTheme?: IFullThemeSpec;\n userTheme?: IThemeSpec;\n nextTheme?: IThemeSpec;\n applyTheme: (group: IGroup, pt: IThemeSpec, force?: boolean) => IThemeSpec;\n setTheme: (t: IThemeSpec, g: IGroup) => void;\n dirty: boolean;\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ICustomPath2D } from '../path';
|
|
2
|
+
import type { IArcGraphicAttribute } from './arc';
|
|
3
|
+
import type { IAreaGraphicAttribute } from './area';
|
|
4
|
+
import type { ICircleGraphicAttribute } from './circle';
|
|
5
|
+
import type { IEllipseGraphicAttribute } from './ellipse';
|
|
6
|
+
import type { IIsogonGraphicAttribute } from './isogon';
|
|
7
|
+
import type { IPolygonGraphicAttribute } from './polygon';
|
|
8
|
+
import type { IRectGraphicAttribute } from './rect';
|
|
9
|
+
export declare function arcToPath(shape: IArcGraphicAttribute): ICustomPath2D;
|
|
10
|
+
export declare function areaToPath(shape: IAreaGraphicAttribute): ICustomPath2D;
|
|
11
|
+
export declare function circleToPath(shape: ICircleGraphicAttribute): ICustomPath2D;
|
|
12
|
+
export declare function ellipseToPath(shape: IEllipseGraphicAttribute): ICustomPath2D;
|
|
13
|
+
export declare function isogonToPath(shape: IIsogonGraphicAttribute): ICustomPath2D;
|
|
14
|
+
export declare function plygonToPath(shape: IPolygonGraphicAttribute): ICustomPath2D;
|
|
15
|
+
export declare function rectToPath(shape: IRectGraphicAttribute): ICustomPath2D;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interface/graphic/util.ts"],"names":[],"mappings":"","file":"util.js","sourcesContent":["import type { ICustomPath2D } from '../path';\nimport type { IArcGraphicAttribute } from './arc';\nimport type { IAreaGraphicAttribute } from './area';\nimport type { ICircleGraphicAttribute } from './circle';\nimport type { IEllipseGraphicAttribute } from './ellipse';\nimport type { IIsogonGraphicAttribute } from './isogon';\nimport type { IPolygonGraphicAttribute } from './polygon';\nimport type { IRectGraphicAttribute } from './rect';\n\nexport declare function arcToPath(shape: IArcGraphicAttribute): ICustomPath2D;\nexport declare function areaToPath(shape: IAreaGraphicAttribute): ICustomPath2D;\nexport declare function circleToPath(shape: ICircleGraphicAttribute): ICustomPath2D;\nexport declare function ellipseToPath(shape: IEllipseGraphicAttribute): ICustomPath2D;\nexport declare function isogonToPath(shape: IIsogonGraphicAttribute): ICustomPath2D;\nexport declare function plygonToPath(shape: IPolygonGraphicAttribute): ICustomPath2D;\nexport declare function rectToPath(shape: IRectGraphicAttribute): ICustomPath2D;\n"]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { IAABBBounds } from '@visactor/vutils';
|
|
2
|
+
import type { ISyncHook } from './sync-hook';
|
|
3
|
+
import type { IGraphic } from './graphic';
|
|
4
|
+
import type { IStage } from './stage';
|
|
5
|
+
import type { IRectGraphicAttribute, IGroup, IGroupGraphicAttribute, IGlyphGraphicAttribute, ISymbolGraphicAttribute, ICircleGraphicAttribute, ICircle, IGlyph, ISymbol, IArcGraphicAttribute, IArc, IArc3dGraphicAttribute, IAreaGraphicAttribute, IArc3d, IArea, ILineGraphicAttribute, IPathGraphicAttribute, ILine, IPath, IPolygonGraphicAttribute, IPolygon, IPyramid3dGraphicAttribute, IPyramid3d, ITextGraphicAttribute, IText, IRichTextGraphicAttribute, IRichText, IImageGraphicAttribute, IImage, IRect3dGraphicAttribute, IRect, IRect3d, IShadowRoot, IWrapTextGraphicAttribute } from './graphic/index';
|
|
6
|
+
export interface IGraphicService {
|
|
7
|
+
onAttributeUpdate: (graphic: IGraphic) => void;
|
|
8
|
+
onSetStage: (graphic: IGraphic, stage: IStage) => void;
|
|
9
|
+
onRemove: (graphic: IGraphic) => void;
|
|
10
|
+
onAddIncremental: (graphic: IGraphic, group: IGroup, stage: IStage) => void;
|
|
11
|
+
onClearIncremental: (group: IGroup, stage: IStage) => void;
|
|
12
|
+
hooks: {
|
|
13
|
+
onAttributeUpdate: ISyncHook<[IGraphic]>;
|
|
14
|
+
onSetStage: ISyncHook<[IGraphic, IStage]>;
|
|
15
|
+
onRemove: ISyncHook<[IGraphic]>;
|
|
16
|
+
onAddIncremental: ISyncHook<[IGraphic, IGroup, IStage]>;
|
|
17
|
+
onClearIncremental: ISyncHook<[IGroup, IStage]>;
|
|
18
|
+
beforeUpdateAABBBounds: ISyncHook<[IGraphic, IStage, boolean, IAABBBounds]>;
|
|
19
|
+
afterUpdateAABBBounds: ISyncHook<[IGraphic, IStage, IAABBBounds, {
|
|
20
|
+
globalAABBBounds: IAABBBounds;
|
|
21
|
+
}, boolean]>;
|
|
22
|
+
};
|
|
23
|
+
beforeUpdateAABBBounds: (graphic: IGraphic, stage: IStage, willUpdate: boolean, bounds: IAABBBounds) => void;
|
|
24
|
+
afterUpdateAABBBounds: (graphic: IGraphic, stage: IStage, bounds: IAABBBounds, params: {
|
|
25
|
+
globalAABBBounds: IAABBBounds;
|
|
26
|
+
}, selfChange: boolean) => void;
|
|
27
|
+
creator: IGraphicCreator;
|
|
28
|
+
updateRectAABBBounds: (attribute: IRectGraphicAttribute, rectTheme: Required<IRectGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
29
|
+
updateGroupAABBBounds: (attribute: IGroupGraphicAttribute, groupTheme: Required<IGroupGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGroup) => IAABBBounds;
|
|
30
|
+
updateGlyphAABBBounds: (attribute: IGlyphGraphicAttribute, groupTheme: Required<IGlyphGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGlyph) => IAABBBounds;
|
|
31
|
+
updateSymbolAABBBounds: (attribute: ISymbolGraphicAttribute, symbolTheme: Required<ISymbolGraphicAttribute>, aabbBounds: IAABBBounds, full?: boolean, graphic?: ISymbol) => IAABBBounds;
|
|
32
|
+
updateCircleAABBBounds: (attribute: ICircleGraphicAttribute, circleTheme: Required<ICircleGraphicAttribute>, aabbBounds: IAABBBounds, full?: boolean, graphic?: ICircle) => IAABBBounds;
|
|
33
|
+
updateArcAABBBounds: (attribute: IArcGraphicAttribute, arcTheme: Required<IArcGraphicAttribute>, aabbBounds: IAABBBounds, full?: boolean, graphic?: IArc) => IAABBBounds;
|
|
34
|
+
updateArc3dAABBBounds: (attribute: IArc3dGraphicAttribute, arcTheme: Required<IArc3dGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IArc3d) => IAABBBounds;
|
|
35
|
+
updateAreaAABBBounds: (attribute: IAreaGraphicAttribute, areaTheme: Required<IAreaGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IArea) => IAABBBounds;
|
|
36
|
+
updateLineAABBBounds: (attribute: ILineGraphicAttribute, lineTheme: Required<ILineGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: ILine) => IAABBBounds;
|
|
37
|
+
updatePathAABBBounds: (attribute: IPathGraphicAttribute, pathTheme: Required<IPathGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IPath) => IAABBBounds;
|
|
38
|
+
updatePolygonAABBBounds: (attribute: IPolygonGraphicAttribute, polygonTheme: Required<IPolygonGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IPolygon) => IAABBBounds;
|
|
39
|
+
updatePyramid3dAABBBounds: (attribute: IPyramid3dGraphicAttribute, polygonTheme: Required<IPyramid3dGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IPyramid3d) => IAABBBounds;
|
|
40
|
+
updateTextAABBBounds: (attribute: ITextGraphicAttribute, textTheme: Required<ITextGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IText) => IAABBBounds;
|
|
41
|
+
updateRichTextAABBBounds: (attribute: IRichTextGraphicAttribute, textTheme: Required<IRichTextGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IRichText) => IAABBBounds;
|
|
42
|
+
updateImageAABBBounds: (attribute: IImageGraphicAttribute, textTheme: Required<IImageGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IImage) => IAABBBounds;
|
|
43
|
+
}
|
|
44
|
+
export type IGraphicCreator = {
|
|
45
|
+
arc: (attributes: IArcGraphicAttribute) => IArc;
|
|
46
|
+
area: (attributes: IAreaGraphicAttribute) => IArea;
|
|
47
|
+
circle: (attributes: ICircleGraphicAttribute) => ICircle;
|
|
48
|
+
group: (attributes: IGroupGraphicAttribute) => IGroup;
|
|
49
|
+
image: (attributes: IImageGraphicAttribute) => IImage;
|
|
50
|
+
line: (attributes: ILineGraphicAttribute) => ILine;
|
|
51
|
+
path: (attributes: IPathGraphicAttribute) => IPath;
|
|
52
|
+
rect: (attributes: IRectGraphicAttribute) => IRect;
|
|
53
|
+
rect3d: (attributes: IRect3dGraphicAttribute) => IRect3d;
|
|
54
|
+
symbol: (attributes: ISymbolGraphicAttribute) => ISymbol;
|
|
55
|
+
text: (attributes: ITextGraphicAttribute) => IText;
|
|
56
|
+
richtext: (attributes: IRichTextGraphicAttribute) => IRichText;
|
|
57
|
+
polygon: (attributes: IPolygonGraphicAttribute) => IPolygon;
|
|
58
|
+
shadowRoot: (graphic?: IGraphic) => IShadowRoot;
|
|
59
|
+
wrapText: (attributes: IWrapTextGraphicAttribute) => IText;
|
|
60
|
+
};
|
|
61
|
+
export interface IArcBoundsContribution {
|
|
62
|
+
updateBounds: (attribute: IArcGraphicAttribute, arcTheme: Required<IArcGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
63
|
+
}
|
|
64
|
+
export interface IAreaBoundsContribution {
|
|
65
|
+
updateBounds: (attribute: IAreaGraphicAttribute, arcTheme: Required<IAreaGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
66
|
+
}
|
|
67
|
+
export interface ICircleBoundsContribution {
|
|
68
|
+
updateBounds: (attribute: ICircleGraphicAttribute, circleTheme: Required<ICircleGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
69
|
+
}
|
|
70
|
+
export interface IPathBoundsContribution {
|
|
71
|
+
updateBounds: (attribute: IPathGraphicAttribute, pathTheme: Required<IPathGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
72
|
+
}
|
|
73
|
+
export interface IRectBoundsContribution {
|
|
74
|
+
updateBounds: (attribute: IRectGraphicAttribute, rectTheme: Required<IRectGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
75
|
+
}
|
|
76
|
+
export interface ISymbolBoundsContribution {
|
|
77
|
+
updateBounds: (attribute: ISymbolGraphicAttribute, SymbolTheme: Required<ISymbolGraphicAttribute>, aabbBounds: IAABBBounds, graphic?: IGraphic) => IAABBBounds;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interface/graphic-service.ts"],"names":[],"mappings":"","file":"graphic-service.js","sourcesContent":["import type { IAABBBounds } from '@visactor/vutils';\n\nimport type { ISyncHook } from './sync-hook';\nimport type { IGraphic } from './graphic';\nimport type { IStage } from './stage';\nimport type {\n IRectGraphicAttribute,\n IGroup,\n IGroupGraphicAttribute,\n IGlyphGraphicAttribute,\n ISymbolGraphicAttribute,\n ICircleGraphicAttribute,\n ICircle,\n IGlyph,\n ISymbol,\n IArcGraphicAttribute,\n IArc,\n IArc3dGraphicAttribute,\n IAreaGraphicAttribute,\n IArc3d,\n IArea,\n ILineGraphicAttribute,\n IPathGraphicAttribute,\n ILine,\n IPath,\n IPolygonGraphicAttribute,\n IPolygon,\n IPyramid3dGraphicAttribute,\n IPyramid3d,\n ITextGraphicAttribute,\n IText,\n IRichTextGraphicAttribute,\n IRichText,\n IImageGraphicAttribute,\n IImage,\n IRect3dGraphicAttribute,\n IRect,\n IRect3d,\n IShadowRoot,\n IWrapTextGraphicAttribute\n} from './graphic/index';\n\nexport interface IGraphicService {\n // themeService: IThemeService;\n onAttributeUpdate: (graphic: IGraphic) => void;\n onSetStage: (graphic: IGraphic, stage: IStage) => void;\n onRemove: (graphic: IGraphic) => void;\n onAddIncremental: (graphic: IGraphic, group: IGroup, stage: IStage) => void;\n onClearIncremental: (group: IGroup, stage: IStage) => void;\n hooks: {\n onAttributeUpdate: ISyncHook<[IGraphic]>;\n onSetStage: ISyncHook<[IGraphic, IStage]>;\n onRemove: ISyncHook<[IGraphic]>;\n onAddIncremental: ISyncHook<[IGraphic, IGroup, IStage]>;\n onClearIncremental: ISyncHook<[IGroup, IStage]>;\n beforeUpdateAABBBounds: ISyncHook<[IGraphic, IStage, boolean, IAABBBounds]>;\n afterUpdateAABBBounds: ISyncHook<[IGraphic, IStage, IAABBBounds, { globalAABBBounds: IAABBBounds }, boolean]>;\n };\n beforeUpdateAABBBounds: (graphic: IGraphic, stage: IStage, willUpdate: boolean, bounds: IAABBBounds) => void;\n afterUpdateAABBBounds: (\n graphic: IGraphic,\n stage: IStage,\n bounds: IAABBBounds,\n params: { globalAABBBounds: IAABBBounds },\n selfChange: boolean\n ) => void;\n\n creator: IGraphicCreator;\n\n updateRectAABBBounds: (\n attribute: IRectGraphicAttribute,\n rectTheme: Required<IRectGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n\n updateGroupAABBBounds: (\n attribute: IGroupGraphicAttribute,\n groupTheme: Required<IGroupGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGroup\n ) => IAABBBounds;\n\n updateGlyphAABBBounds: (\n attribute: IGlyphGraphicAttribute,\n groupTheme: Required<IGlyphGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGlyph\n ) => IAABBBounds;\n\n updateSymbolAABBBounds: (\n attribute: ISymbolGraphicAttribute,\n symbolTheme: Required<ISymbolGraphicAttribute>,\n aabbBounds: IAABBBounds,\n full?: boolean,\n graphic?: ISymbol\n ) => IAABBBounds;\n\n updateCircleAABBBounds: (\n attribute: ICircleGraphicAttribute,\n circleTheme: Required<ICircleGraphicAttribute>,\n aabbBounds: IAABBBounds,\n full?: boolean,\n graphic?: ICircle\n ) => IAABBBounds;\n\n updateArcAABBBounds: (\n attribute: IArcGraphicAttribute,\n arcTheme: Required<IArcGraphicAttribute>,\n aabbBounds: IAABBBounds,\n full?: boolean,\n graphic?: IArc\n ) => IAABBBounds;\n\n updateArc3dAABBBounds: (\n attribute: IArc3dGraphicAttribute,\n arcTheme: Required<IArc3dGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IArc3d\n ) => IAABBBounds;\n\n updateAreaAABBBounds: (\n attribute: IAreaGraphicAttribute,\n areaTheme: Required<IAreaGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IArea\n ) => IAABBBounds;\n\n updateLineAABBBounds: (\n attribute: ILineGraphicAttribute,\n lineTheme: Required<ILineGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: ILine\n ) => IAABBBounds;\n\n updatePathAABBBounds: (\n attribute: IPathGraphicAttribute,\n pathTheme: Required<IPathGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IPath\n ) => IAABBBounds;\n\n updatePolygonAABBBounds: (\n attribute: IPolygonGraphicAttribute,\n polygonTheme: Required<IPolygonGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IPolygon\n ) => IAABBBounds;\n\n updatePyramid3dAABBBounds: (\n attribute: IPyramid3dGraphicAttribute,\n polygonTheme: Required<IPyramid3dGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IPyramid3d\n ) => IAABBBounds;\n\n updateTextAABBBounds: (\n attribute: ITextGraphicAttribute,\n textTheme: Required<ITextGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IText\n ) => IAABBBounds;\n\n updateRichTextAABBBounds: (\n attribute: IRichTextGraphicAttribute,\n textTheme: Required<IRichTextGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IRichText\n ) => IAABBBounds;\n\n updateImageAABBBounds: (\n attribute: IImageGraphicAttribute,\n textTheme: Required<IImageGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IImage\n ) => IAABBBounds;\n}\n\nexport type IGraphicCreator = {\n arc: (attributes: IArcGraphicAttribute) => IArc;\n area: (attributes: IAreaGraphicAttribute) => IArea;\n circle: (attributes: ICircleGraphicAttribute) => ICircle;\n group: (attributes: IGroupGraphicAttribute) => IGroup;\n image: (attributes: IImageGraphicAttribute) => IImage;\n line: (attributes: ILineGraphicAttribute) => ILine;\n path: (attributes: IPathGraphicAttribute) => IPath;\n rect: (attributes: IRectGraphicAttribute) => IRect;\n rect3d: (attributes: IRect3dGraphicAttribute) => IRect3d;\n symbol: (attributes: ISymbolGraphicAttribute) => ISymbol;\n text: (attributes: ITextGraphicAttribute) => IText;\n richtext: (attributes: IRichTextGraphicAttribute) => IRichText;\n polygon: (attributes: IPolygonGraphicAttribute) => IPolygon;\n shadowRoot: (graphic?: IGraphic) => IShadowRoot;\n wrapText: (attributes: IWrapTextGraphicAttribute) => IText;\n};\n\nexport interface IArcBoundsContribution {\n updateBounds: (\n attribute: IArcGraphicAttribute,\n arcTheme: Required<IArcGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n}\n\nexport interface IAreaBoundsContribution {\n updateBounds: (\n attribute: IAreaGraphicAttribute,\n arcTheme: Required<IAreaGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n}\n\nexport interface ICircleBoundsContribution {\n updateBounds: (\n attribute: ICircleGraphicAttribute,\n circleTheme: Required<ICircleGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n}\n\nexport interface IPathBoundsContribution {\n updateBounds: (\n attribute: IPathGraphicAttribute,\n pathTheme: Required<IPathGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n}\n\nexport interface IRectBoundsContribution {\n updateBounds: (\n attribute: IRectGraphicAttribute,\n rectTheme: Required<IRectGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n}\n\nexport interface ISymbolBoundsContribution {\n updateBounds: (\n attribute: ISymbolGraphicAttribute,\n SymbolTheme: Required<ISymbolGraphicAttribute>,\n aabbBounds: IAABBBounds,\n graphic?: IGraphic\n ) => IAABBBounds;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interface/graphic-utils.ts"],"names":[],"mappings":"","file":"graphic-utils.js","sourcesContent":["// import { IPoint } from \"@visactor/vutils\";\n// import { IContext2d } from \"./context\";\n// import { IGraphicAttribute } from \"./graphic\";\n\n// interface TextType {\n// text: string;\n// fontFamily: string;\n// fontSize: number;\n// }\n\n// export declare function measureText(\n// params: TextType,\n// ctx?: IContext2d\n// ): { width: number; height: number };\n\n// export * from \"./graphic/bounds\";\n\n// // export type TransformType = Pick<IGraphicAttribute, 'x' | 'y' | 'scaleX' | 'scaleY' | 'angle'> & {\n// // anchor?: IGraphicAttribute['anchor'];\n// // };\n\n// // export interface Transform {\n// // init: (origin: TransformType) => Transform;\n// // translate: (x: number, y: number) => Transform;\n// // translateTo: (x: number, y: number) => Transform;\n// // scale: (sx: number, sy: number, center: IPoint) => Transform;\n// // scaleTo: (sx: number, sy: number, center: IPoint) => Transform;\n// // rotate: (rx: number, ry: number, center: IPoint) => Transform;\n// // rotateTo: (rx: number, ry: number, center: IPoint) => Transform;\n// // // 语法糖\n// // interactive: (dx: number, dy: number, dsx: number, dsy: number, drx: number, dry: number) => Transform;\n// // // 扩展padding像素,用于外描边,内描边\n// // extend: (origin: TransformType, padding: number) => Transform;\n// // // 将所有的transform生成为一次的transform\n// // simplify: (target?: TransformType) => TransformType;\n// // }\n"]}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import type { IAABBBounds, IOBBBounds, IMatrix, IPointLike, IPoint } from '@visactor/vutils';
|
|
2
|
+
import type { IAnimate, IStep, EasingType, IAnimateTarget } from './animate';
|
|
3
|
+
import type { IColor } from './color';
|
|
4
|
+
import type { IGroup } from './graphic/group';
|
|
5
|
+
import type { IShadowRoot } from './graphic/shadow-root';
|
|
6
|
+
import type { ILayer } from './layer';
|
|
7
|
+
import type { INode } from './node-tree';
|
|
8
|
+
import type { ICustomPath2D } from './path';
|
|
9
|
+
import type { IStage } from './stage';
|
|
10
|
+
import type { IGlyphGraphicAttribute } from './graphic/glyph';
|
|
11
|
+
import type { IContainPointMode } from '../common/enums';
|
|
12
|
+
import type { IFace3d } from './graphic/face3d';
|
|
13
|
+
type IStrokeSeg = {
|
|
14
|
+
start: number;
|
|
15
|
+
end: number;
|
|
16
|
+
length: number;
|
|
17
|
+
};
|
|
18
|
+
export type GraphicType = 'area' | 'circle' | 'ellipse' | 'line' | 'rect' | 'rect3d' | 'path' | 'richtext' | 'text' | 'arc' | 'arc3d' | 'image' | 'symbol' | 'group' | 'shadowroot' | 'polygon' | 'pyramid3d' | 'glyph';
|
|
19
|
+
export type Cursor = 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'grab' | 'grabbing' | 'all-scroll' | 'col-resize' | 'row-resize' | 'n-resize' | 'e-resize' | 's-resize' | 'w-resize' | 'ne-resize' | 'nw-resize' | 'se-resize' | 'sw-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'zoom-in' | 'zoom-out';
|
|
20
|
+
export type ITransform = {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
z: number;
|
|
24
|
+
dx: number;
|
|
25
|
+
dy: number;
|
|
26
|
+
dz: number;
|
|
27
|
+
scrollX: number;
|
|
28
|
+
scrollY: number;
|
|
29
|
+
scaleX: number;
|
|
30
|
+
scaleY: number;
|
|
31
|
+
scaleZ: number;
|
|
32
|
+
angle: number;
|
|
33
|
+
alpha: number;
|
|
34
|
+
beta: number;
|
|
35
|
+
scaleCenter: [number, number];
|
|
36
|
+
anchor: [number | string, number | string];
|
|
37
|
+
anchor3d: [number | string, number | string, number] | [number | string, number | string];
|
|
38
|
+
postMatrix: IMatrix;
|
|
39
|
+
};
|
|
40
|
+
export type IFillType = boolean | string | IColor;
|
|
41
|
+
export type IFillStyle = {
|
|
42
|
+
fillOpacity: number;
|
|
43
|
+
shadowBlur: number;
|
|
44
|
+
shadowColor: string;
|
|
45
|
+
shadowOffsetX: number;
|
|
46
|
+
shadowOffsetY: number;
|
|
47
|
+
fill: IFillType;
|
|
48
|
+
};
|
|
49
|
+
export type ILayout = {
|
|
50
|
+
alignSelf: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
51
|
+
};
|
|
52
|
+
export type IBorderStyle = Omit<IStrokeStyle, 'outerBorder' | 'innerBorder'> & {
|
|
53
|
+
distance: number | string;
|
|
54
|
+
visible?: boolean;
|
|
55
|
+
};
|
|
56
|
+
export type IStrokeType = boolean | string | IColor | null;
|
|
57
|
+
export type IStrokeStyle = {
|
|
58
|
+
outerBorder: Partial<IBorderStyle>;
|
|
59
|
+
innerBorder: Partial<IBorderStyle>;
|
|
60
|
+
strokeOpacity: number;
|
|
61
|
+
lineDash: number[];
|
|
62
|
+
lineDashOffset: number;
|
|
63
|
+
lineWidth: number;
|
|
64
|
+
lineCap: CanvasLineCap;
|
|
65
|
+
lineJoin: CanvasLineJoin;
|
|
66
|
+
miterLimit: number;
|
|
67
|
+
strokeBoundsBuffer: number;
|
|
68
|
+
stroke: IStrokeType[] | IStrokeType;
|
|
69
|
+
};
|
|
70
|
+
type TextureType = 'circle' | 'diamond' | 'rect' | 'vertical-line' | 'horizontal-line' | 'bias-lr' | 'bias-rl' | 'grid';
|
|
71
|
+
export type IConnectedStyle = {
|
|
72
|
+
connectedType: 'connect' | 'zero' | 'none';
|
|
73
|
+
connectedStyle: {
|
|
74
|
+
stroke: IStrokeStyle['stroke'];
|
|
75
|
+
strokeOpacity: IStrokeStyle['strokeOpacity'];
|
|
76
|
+
lineDash: IStrokeStyle['lineDash'];
|
|
77
|
+
lineDashOffset: IStrokeStyle['lineDashOffset'];
|
|
78
|
+
lineCap: IStrokeStyle['lineCap'];
|
|
79
|
+
lineJoin: IStrokeStyle['lineJoin'];
|
|
80
|
+
lineWidth: IStrokeStyle['lineWidth'];
|
|
81
|
+
fill: IFillStyle['fill'];
|
|
82
|
+
fillOpacity: IFillStyle['fillOpacity'];
|
|
83
|
+
};
|
|
84
|
+
connectedX: number;
|
|
85
|
+
connectedY: number;
|
|
86
|
+
};
|
|
87
|
+
export type IBackgroundConfig = {
|
|
88
|
+
stroke?: string | boolean;
|
|
89
|
+
fill?: string | boolean;
|
|
90
|
+
lineWidth?: number;
|
|
91
|
+
cornerRadius?: number;
|
|
92
|
+
expandX?: number;
|
|
93
|
+
expandY?: number;
|
|
94
|
+
};
|
|
95
|
+
export type IGraphicStyle = IFillStyle & IStrokeStyle & {
|
|
96
|
+
opacity: number;
|
|
97
|
+
backgroundMode: number;
|
|
98
|
+
background: string | HTMLImageElement | HTMLCanvasElement | IBackgroundConfig | null;
|
|
99
|
+
texture: TextureType | string;
|
|
100
|
+
textureColor: string;
|
|
101
|
+
textureSize: number;
|
|
102
|
+
texturePadding: number;
|
|
103
|
+
blur: number;
|
|
104
|
+
cursor: Cursor | null;
|
|
105
|
+
html: {
|
|
106
|
+
dom: string | HTMLElement;
|
|
107
|
+
container: string | HTMLElement | null;
|
|
108
|
+
width: number;
|
|
109
|
+
height: number;
|
|
110
|
+
style: string | Record<string, any>;
|
|
111
|
+
visible?: boolean;
|
|
112
|
+
anchorType?: 'position' | 'boundsLeftTop';
|
|
113
|
+
} | null;
|
|
114
|
+
};
|
|
115
|
+
export type IGraphicAttribute = IGraphicStyle & ITransform & {
|
|
116
|
+
strokeSeg: IStrokeSeg | null;
|
|
117
|
+
boundsPadding: number | number[];
|
|
118
|
+
pickMode: 'accurate' | 'imprecise' | 'custom';
|
|
119
|
+
boundsMode: 'accurate' | 'imprecise';
|
|
120
|
+
customPickShape: () => boolean | null;
|
|
121
|
+
pickable: boolean;
|
|
122
|
+
childrenPickable: boolean;
|
|
123
|
+
visible: boolean;
|
|
124
|
+
zIndex: number;
|
|
125
|
+
layout: any;
|
|
126
|
+
keepDirIn3d?: boolean;
|
|
127
|
+
shadowRootIdx: number;
|
|
128
|
+
};
|
|
129
|
+
export interface IGraphicJson<T extends Partial<IGraphicAttribute> = Partial<IGraphicAttribute>> {
|
|
130
|
+
attribute: Partial<T>;
|
|
131
|
+
_uid: number;
|
|
132
|
+
type: string;
|
|
133
|
+
name: string;
|
|
134
|
+
children: IGraphicJson<T>[];
|
|
135
|
+
}
|
|
136
|
+
export type ISetAttributeContext = {
|
|
137
|
+
type?: number;
|
|
138
|
+
animationState?: {
|
|
139
|
+
step?: IStep;
|
|
140
|
+
isFirstFrameOfStep?: boolean;
|
|
141
|
+
ratio?: number;
|
|
142
|
+
end?: boolean;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
export type IGraphicAnimateParams = {
|
|
146
|
+
id?: number | string;
|
|
147
|
+
onStart?: () => void;
|
|
148
|
+
onFrame?: (step: IStep, ratio: number) => void;
|
|
149
|
+
onEnd?: () => void;
|
|
150
|
+
onRemove?: () => void;
|
|
151
|
+
interpolate?: (key: string, ratio: number, from: any, to: any, nextAttributes: any) => boolean;
|
|
152
|
+
};
|
|
153
|
+
export interface IGraphic<T extends Partial<IGraphicAttribute> = Partial<IGraphicAttribute>> extends INode, IAnimateTarget {
|
|
154
|
+
type?: GraphicType;
|
|
155
|
+
numberType?: number;
|
|
156
|
+
stage?: IStage;
|
|
157
|
+
layer?: ILayer;
|
|
158
|
+
shadowRoot?: IShadowRoot;
|
|
159
|
+
glyphHost?: IGraphic<IGlyphGraphicAttribute>;
|
|
160
|
+
backgroundImg?: boolean;
|
|
161
|
+
bindDom?: Map<string | HTMLElement, {
|
|
162
|
+
container: HTMLElement | string;
|
|
163
|
+
dom: HTMLElement;
|
|
164
|
+
wrapGroup: HTMLDivElement;
|
|
165
|
+
}>;
|
|
166
|
+
valid: boolean;
|
|
167
|
+
parent: IGroup | null;
|
|
168
|
+
isContainer?: boolean;
|
|
169
|
+
in3dMode?: boolean;
|
|
170
|
+
stamp?: number;
|
|
171
|
+
animationBackUps?: {
|
|
172
|
+
from: Record<string, any>;
|
|
173
|
+
to: Record<string, any>;
|
|
174
|
+
};
|
|
175
|
+
attribute: Partial<T>;
|
|
176
|
+
pathProxy?: ICustomPath2D | ((attrs: T) => ICustomPath2D);
|
|
177
|
+
incremental?: number;
|
|
178
|
+
incrementalAt?: number;
|
|
179
|
+
states?: Record<string, Partial<T>>;
|
|
180
|
+
normalAttrs?: Partial<T>;
|
|
181
|
+
stateProxy?: (stateName: string, targetStates?: string[]) => Partial<T>;
|
|
182
|
+
findFace?: () => IFace3d;
|
|
183
|
+
toggleState: (stateName: string, hasAnimation?: boolean) => void;
|
|
184
|
+
removeState: (stateName: string, hasAnimation?: boolean) => void;
|
|
185
|
+
clearStates: (hasAnimation?: boolean) => void;
|
|
186
|
+
useStates: (states: string[], hasAnimation?: boolean) => void;
|
|
187
|
+
addState: (stateName: string, keepCurrentStates?: boolean, hasAnimation?: boolean) => void;
|
|
188
|
+
hasState: (stateName?: string) => boolean;
|
|
189
|
+
getState: (stateName: string) => Partial<T>;
|
|
190
|
+
onBeforeAttributeUpdate?: (val: any, attributes: Partial<T>, key: null | string | string[], context?: ISetAttributeContext) => T | undefined;
|
|
191
|
+
applyStateAttrs: (attrs: Partial<T>, stateNames: string[], hasAnimation?: boolean, isClear?: boolean) => void;
|
|
192
|
+
updateNormalAttrs: (stateAttrs: Partial<T>) => void;
|
|
193
|
+
readonly AABBBounds: IAABBBounds;
|
|
194
|
+
readonly OBBBounds: IOBBBounds;
|
|
195
|
+
readonly globalAABBBounds: IAABBBounds;
|
|
196
|
+
readonly transMatrix: IMatrix;
|
|
197
|
+
readonly globalTransMatrix: IMatrix;
|
|
198
|
+
getOffsetXY: (attr?: ITransform) => IPoint;
|
|
199
|
+
containsPoint: (x: number, y: number, mode?: IContainPointMode) => boolean;
|
|
200
|
+
setMode: (mode: '3d' | '2d') => void;
|
|
201
|
+
isValid: () => boolean;
|
|
202
|
+
translate: (x: number, y: number) => this;
|
|
203
|
+
translateTo: (x: number, y: number) => this;
|
|
204
|
+
scale: (scaleX: number, scaleY: number, scaleCenter?: IPointLike) => this;
|
|
205
|
+
scaleTo: (scaleX: number, scaleY: number) => this;
|
|
206
|
+
rotate: (angle: number, rotateCenter?: IPointLike) => this;
|
|
207
|
+
rotateTo: (angle: number) => this;
|
|
208
|
+
skewTo: (b: number, c: number) => this;
|
|
209
|
+
addUpdateBoundTag: () => void;
|
|
210
|
+
addUpdateShapeAndBoundsTag: () => void;
|
|
211
|
+
addUpdateLayoutTag: () => void;
|
|
212
|
+
update: (d?: {
|
|
213
|
+
bounds: boolean;
|
|
214
|
+
trans: boolean;
|
|
215
|
+
}) => void;
|
|
216
|
+
animate: (params?: IGraphicAnimateParams) => IAnimate;
|
|
217
|
+
name?: string;
|
|
218
|
+
shouldUpdateShape: () => boolean;
|
|
219
|
+
clearUpdateShapeTag: () => void;
|
|
220
|
+
setAttributes: (params: Partial<T>, forceUpdateTag?: boolean, context?: ISetAttributeContext) => void;
|
|
221
|
+
initAttributes: (params: Partial<T>) => void;
|
|
222
|
+
setAttribute: (key: string, value: any, forceUpdateTag?: boolean, context?: ISetAttributeContext) => void;
|
|
223
|
+
setStage: (stage?: IStage, layer?: ILayer) => void;
|
|
224
|
+
onSetStage: (cb: (g: IGraphic, stage: IStage) => void) => void;
|
|
225
|
+
shouldUpdateAABBBounds: () => boolean;
|
|
226
|
+
shouldSelfChangeUpdateAABBBounds: () => boolean;
|
|
227
|
+
shouldUpdateGlobalMatrix: () => boolean;
|
|
228
|
+
addUpdatePositionTag: () => void;
|
|
229
|
+
addUpdateGlobalPositionTag: () => void;
|
|
230
|
+
attachShadow: () => IShadowRoot;
|
|
231
|
+
detachShadow: () => void;
|
|
232
|
+
toJson: () => IGraphicJson;
|
|
233
|
+
createPathProxy: (path?: string) => void;
|
|
234
|
+
toCustomPath?: () => ICustomPath2D;
|
|
235
|
+
resources?: Map<string | HTMLImageElement | HTMLCanvasElement | IBackgroundConfig, {
|
|
236
|
+
state: 'init' | 'loading' | 'success' | 'fail';
|
|
237
|
+
data?: HTMLImageElement | HTMLCanvasElement;
|
|
238
|
+
}>;
|
|
239
|
+
imageLoadSuccess: (url: string, data: HTMLImageElement) => void;
|
|
240
|
+
imageLoadFail: (url: string) => void;
|
|
241
|
+
clone: () => IGraphic;
|
|
242
|
+
stopAnimates: (stopChildren?: boolean) => void;
|
|
243
|
+
getNoWorkAnimateAttr: () => Record<string, number>;
|
|
244
|
+
}
|
|
245
|
+
export interface IRoot extends IGraphic {
|
|
246
|
+
pick: (x: number, y: number) => IGraphic;
|
|
247
|
+
}
|
|
248
|
+
export type IAnimateConfig = {
|
|
249
|
+
duration?: number;
|
|
250
|
+
easing?: EasingType;
|
|
251
|
+
};
|
|
252
|
+
export type GraphicReleaseStatus = 'released' | 'willRelease';
|
|
253
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interface/graphic.ts"],"names":[],"mappings":"","file":"graphic.js","sourcesContent":["import type { IAABBBounds, IOBBBounds, IMatrix, IPointLike, IPoint } from '@visactor/vutils';\nimport type { IAnimate, IStep, EasingType, IAnimateTarget } from './animate';\nimport type { IColor } from './color';\nimport type { IGroup } from './graphic/group';\nimport type { IShadowRoot } from './graphic/shadow-root';\nimport type { ILayer } from './layer';\nimport type { INode } from './node-tree';\nimport type { ICustomPath2D } from './path';\nimport type { IStage } from './stage';\nimport type { IGlyphGraphicAttribute } from './graphic/glyph';\nimport type { IContainPointMode } from '../common/enums';\nimport type { IFace3d } from './graphic/face3d';\n\ntype IStrokeSeg = {\n start: number; // 百分比\n // end和length二选一\n end: number; // 百分比\n length: number; // 像素长度\n};\n\n// TODO 最后加一个any\nexport type GraphicType =\n | 'area'\n | 'circle'\n | 'ellipse'\n | 'line'\n | 'rect'\n | 'rect3d'\n | 'path'\n | 'richtext'\n | 'text'\n | 'arc'\n | 'arc3d'\n | 'image'\n | 'symbol'\n | 'group'\n | 'shadowroot'\n | 'polygon'\n | 'pyramid3d'\n | 'glyph';\n\n// Cursor style\n// See: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor\nexport type Cursor =\n | 'auto'\n | 'default'\n | 'none'\n | 'context-menu'\n | 'help'\n | 'pointer'\n | 'progress'\n | 'wait'\n | 'cell'\n | 'crosshair'\n | 'text'\n | 'vertical-text'\n | 'alias'\n | 'copy'\n | 'move'\n | 'no-drop'\n | 'not-allowed'\n | 'grab'\n | 'grabbing'\n | 'all-scroll'\n | 'col-resize'\n | 'row-resize'\n | 'n-resize'\n | 'e-resize'\n | 's-resize'\n | 'w-resize'\n | 'ne-resize'\n | 'nw-resize'\n | 'se-resize'\n | 'sw-resize'\n | 'ew-resize'\n | 'ns-resize'\n | 'nesw-resize'\n | 'nwse-resize'\n | 'zoom-in'\n | 'zoom-out';\n\nexport type ITransform = {\n x: number;\n y: number;\n z: number;\n dx: number;\n dy: number;\n dz: number;\n scrollX: number;\n scrollY: number;\n scaleX: number;\n scaleY: number;\n scaleZ: number;\n angle: number;\n alpha: number;\n beta: number;\n scaleCenter: [number, number];\n anchor: [number | string, number | string]; // 基于AABB的锚点位置,用于简单的定位某些path\n anchor3d: [number | string, number | string, number] | [number | string, number | string]; // 3d的锚点位置\n postMatrix: IMatrix;\n};\n\nexport type IFillType = boolean | string | IColor;\nexport type IFillStyle = {\n fillOpacity: number;\n shadowBlur: number;\n shadowColor: string;\n shadowOffsetX: number;\n shadowOffsetY: number;\n fill: IFillType;\n};\n\nexport type ILayout = {\n alignSelf: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n};\n\nexport type IBorderStyle = Omit<IStrokeStyle, 'outerBorder' | 'innerBorder'> & {\n distance: number | string;\n visible?: boolean;\n};\n\nexport type IStrokeType = boolean | string | IColor | null;\nexport type IStrokeStyle = {\n outerBorder: Partial<IBorderStyle>;\n innerBorder: Partial<IBorderStyle>;\n strokeOpacity: number;\n lineDash: number[];\n lineDashOffset: number;\n lineWidth: number;\n lineCap: CanvasLineCap;\n lineJoin: CanvasLineJoin;\n miterLimit: number;\n // 描边的boundsBuffer,用于控制bounds的buffer\n strokeBoundsBuffer: number;\n /**\n * stroke - true 全描边\n * stroke - false 不描边\n * stroke 为数值类型,适用于rect\\arc等图形,用于配置部分描边的场景,其中\n *\n * 0b00000 - 不描边\n * 0b000001 - top\n * 0b000010 - right\n * 0b000100 - bottom\n * 0b001000 - left\n * 相应的:\n * 0b000011 - top + right\n * 0b000111 - top + right + bottom\n * 0b001111 - 全描边\n *\n * stroke - boolean[],适用于rect\\arc等图形,用于配置部分描边的场景\n */\n stroke: IStrokeType[] | IStrokeType;\n};\n\ntype TextureType = 'circle' | 'diamond' | 'rect' | 'vertical-line' | 'horizontal-line' | 'bias-lr' | 'bias-rl' | 'grid';\n\nexport type IConnectedStyle = {\n // 连接,取零或者断开\n connectedType: 'connect' | 'zero' | 'none';\n connectedStyle: {\n stroke: IStrokeStyle['stroke'];\n strokeOpacity: IStrokeStyle['strokeOpacity'];\n lineDash: IStrokeStyle['lineDash'];\n lineDashOffset: IStrokeStyle['lineDashOffset'];\n lineCap: IStrokeStyle['lineCap'];\n lineJoin: IStrokeStyle['lineJoin'];\n lineWidth: IStrokeStyle['lineWidth'];\n fill: IFillStyle['fill'];\n fillOpacity: IFillStyle['fillOpacity'];\n };\n connectedX: number;\n connectedY: number;\n};\n\nexport type IBackgroundConfig = {\n stroke?: string | boolean;\n fill?: string | boolean;\n lineWidth?: number;\n cornerRadius?: number;\n expandX?: number;\n expandY?: number;\n};\n\nexport type IGraphicStyle = IFillStyle &\n IStrokeStyle & {\n opacity: number;\n backgroundMode: number; // 填充模式(与具体图元有关)\n background: string | HTMLImageElement | HTMLCanvasElement | IBackgroundConfig | null; // 背景,可以与fill同时存在\n texture: TextureType | string; // 纹理\n textureColor: string; // 纹理颜色\n textureSize: number; // 纹理大小\n texturePadding: number; // 纹理间隙\n blur: number;\n cursor: Cursor | null; // 鼠标样式\n // HTML的dom或者string\n html: {\n dom: string | HTMLElement; // dom字符串或者dom\n container: string | HTMLElement | null; // id或者dom\n width: number; // 容器的宽度\n height: number; // 容器的高度\n style: string | Record<string, any>; // 容器的样式\n visible?: boolean;\n anchorType?: 'position' | 'boundsLeftTop';\n } | null;\n };\n\nexport type IGraphicAttribute = IGraphicStyle &\n ITransform & {\n /**\n * stroke百分比\n */\n strokeSeg: IStrokeSeg | null;\n // 包围盒的padding\n boundsPadding: number | number[];\n /**\n * 选择模式,精确模式,粗糙模式(包围盒模式),自定义模式\n */\n pickMode: 'accurate' | 'imprecise' | 'custom';\n boundsMode: 'accurate' | 'imprecise';\n customPickShape: () => boolean | null;\n /**\n * 是否支持事件拾取,默认为 true。\n * @default true\n */\n pickable: boolean;\n /**\n * 对于 group 节点,是否支持其子元素的事件拾取,默认为 true。\n * 如果 group `pickable` 关闭,`childrenPickable` 开启,那么 group 的子节点仍参与事件拾取\n * @default true\n */\n childrenPickable: boolean;\n /**\n * 元素是否可见。\n * @default true\n */\n visible: boolean;\n zIndex: number;\n layout: any;\n /**\n * 是否在3d中控制方向\n * false: 不控制方向\n * true: 始终控制方向朝摄像机\n */\n keepDirIn3d?: boolean;\n shadowRootIdx: number;\n };\n\nexport interface IGraphicJson<T extends Partial<IGraphicAttribute> = Partial<IGraphicAttribute>> {\n attribute: Partial<T>;\n _uid: number;\n type: string;\n name: string;\n children: IGraphicJson<T>[];\n}\n\n/** the context of setAttribute */\nexport type ISetAttributeContext = {\n /** type of setAttribute */\n type?: number;\n animationState?: {\n step?: IStep;\n isFirstFrameOfStep?: boolean;\n /** ratio of animation */\n ratio?: number;\n /** is animation end? */\n end?: boolean;\n };\n};\n\nexport type IGraphicAnimateParams = {\n id?: number | string;\n onStart?: () => void;\n onFrame?: (step: IStep, ratio: number) => void;\n onEnd?: () => void;\n onRemove?: () => void;\n interpolate?: (key: string, ratio: number, from: any, to: any, nextAttributes: any) => boolean;\n};\n\nexport interface IGraphic<T extends Partial<IGraphicAttribute> = Partial<IGraphicAttribute>>\n extends INode,\n IAnimateTarget {\n type?: GraphicType;\n numberType?: number;\n stage?: IStage;\n layer?: ILayer;\n shadowRoot?: IShadowRoot;\n glyphHost?: IGraphic<IGlyphGraphicAttribute>;\n backgroundImg?: boolean;\n\n bindDom?: Map<string | HTMLElement, { container: HTMLElement | string; dom: HTMLElement; wrapGroup: HTMLDivElement }>;\n\n valid: boolean;\n parent: IGroup | null;\n isContainer?: boolean;\n // 是否是3d模式(是否应用3d视角)\n in3dMode?: boolean;\n\n // 上次更新的stamp\n stamp?: number;\n animationBackUps?: {\n from: Record<string, any>;\n to: Record<string, any>;\n };\n\n attribute: Partial<T>;\n\n /** 用于实现morph动画场景,转换成bezier曲线渲染 */\n pathProxy?: ICustomPath2D | ((attrs: T) => ICustomPath2D);\n incremental?: number;\n incrementalAt?: number;\n\n /** 记录state对应的图形属性 */\n states?: Record<string, Partial<T>>;\n normalAttrs?: Partial<T>;\n stateProxy?: (stateName: string, targetStates?: string[]) => Partial<T>;\n findFace?: () => IFace3d;\n toggleState: (stateName: string, hasAnimation?: boolean) => void;\n removeState: (stateName: string, hasAnimation?: boolean) => void;\n clearStates: (hasAnimation?: boolean) => void;\n useStates: (states: string[], hasAnimation?: boolean) => void;\n addState: (stateName: string, keepCurrentStates?: boolean, hasAnimation?: boolean) => void;\n hasState: (stateName?: string) => boolean;\n getState: (stateName: string) => Partial<T>;\n onBeforeAttributeUpdate?: (\n val: any,\n attributes: Partial<T>,\n key: null | string | string[],\n context?: ISetAttributeContext\n ) => T | undefined;\n applyStateAttrs: (attrs: Partial<T>, stateNames: string[], hasAnimation?: boolean, isClear?: boolean) => void;\n updateNormalAttrs: (stateAttrs: Partial<T>) => void;\n\n // get\n readonly AABBBounds: IAABBBounds; // 用于获取当前节点的AABB包围盒\n readonly OBBBounds: IOBBBounds; // 获取OBB包围盒,旋转防重叠需要用\n readonly globalAABBBounds: IAABBBounds; // 全局AABB包围盒\n readonly transMatrix: IMatrix; // 变换矩阵,动态计算\n readonly globalTransMatrix: IMatrix; // 变换矩阵,动态计算\n\n getOffsetXY: (attr?: ITransform) => IPoint;\n\n // function\n containsPoint: (x: number, y: number, mode?: IContainPointMode) => boolean;\n\n setMode: (mode: '3d' | '2d') => void;\n isValid: () => boolean;\n\n // TODO: transform API\n // 基于当前transform的变换,普通用户尽量别用,拿捏不住的~\n translate: (x: number, y: number) => this;\n translateTo: (x: number, y: number) => this;\n scale: (scaleX: number, scaleY: number, scaleCenter?: IPointLike) => this;\n scaleTo: (scaleX: number, scaleY: number) => this;\n rotate: (angle: number, rotateCenter?: IPointLike) => this;\n rotateTo: (angle: number) => this;\n skewTo: (b: number, c: number) => this;\n addUpdateBoundTag: () => void;\n addUpdateShapeAndBoundsTag: () => void;\n addUpdateLayoutTag: () => void;\n\n update: (d?: { bounds: boolean; trans: boolean }) => void;\n\n // animate\n animate: (params?: IGraphicAnimateParams) => IAnimate;\n\n // 语法糖,可有可无,有的为了首屏性能考虑做成get方法,有的由外界直接托管,内部不赋值\n name?: string;\n\n // 供render处理shape缓存tag\n shouldUpdateShape: () => boolean;\n clearUpdateShapeTag: () => void;\n\n // // 供render缓存shape\n // cacheShape?: ICustomPath2D;\n // // 线段使用的path2D\n // cacheLine?: ISegPath2D | ISegPath2D[];\n // // 面积图使用的path2D\n // cacheArea?: IAreaCacheItem | IAreaCacheItem[];\n\n setAttributes: (params: Partial<T>, forceUpdateTag?: boolean, context?: ISetAttributeContext) => void;\n\n initAttributes: (params: Partial<T>) => void;\n\n setAttribute: (key: string, value: any, forceUpdateTag?: boolean, context?: ISetAttributeContext) => void;\n\n setStage: (stage?: IStage, layer?: ILayer) => void;\n onSetStage: (cb: (g: IGraphic, stage: IStage) => void) => void;\n\n shouldUpdateAABBBounds: () => boolean;\n shouldSelfChangeUpdateAABBBounds: () => boolean;\n shouldUpdateGlobalMatrix: () => boolean;\n\n addUpdatePositionTag: () => void;\n addUpdateGlobalPositionTag: () => void;\n\n attachShadow: () => IShadowRoot;\n detachShadow: () => void;\n\n toJson: () => IGraphicJson;\n\n /** 创建pathProxy */\n createPathProxy: (path?: string) => void;\n /** 将图形转换成CustomPath2D */\n toCustomPath?: () => ICustomPath2D;\n\n resources?: Map<\n string | HTMLImageElement | HTMLCanvasElement | IBackgroundConfig,\n { state: 'init' | 'loading' | 'success' | 'fail'; data?: HTMLImageElement | HTMLCanvasElement }\n >;\n imageLoadSuccess: (url: string, data: HTMLImageElement) => void;\n imageLoadFail: (url: string) => void;\n\n clone: () => IGraphic;\n stopAnimates: (stopChildren?: boolean) => void;\n getNoWorkAnimateAttr: () => Record<string, number>;\n}\n\nexport interface IRoot extends IGraphic {\n pick: (x: number, y: number) => IGraphic;\n}\n\n/**\n * 动画配置\n */\nexport type IAnimateConfig = {\n duration?: number;\n easing?: EasingType;\n};\n\nexport type GraphicReleaseStatus = 'released' | 'willRelease';\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './global';
|
|
2
|
+
export * from './common';
|
|
3
|
+
export * from './node-tree';
|
|
4
|
+
export * from './graphic';
|
|
5
|
+
export * from './graphic/index';
|
|
6
|
+
export * from './layer';
|
|
7
|
+
export * from './stage';
|
|
8
|
+
export * from './canvas';
|
|
9
|
+
export * from './context';
|
|
10
|
+
export * from './path';
|
|
11
|
+
export * from './color';
|
|
12
|
+
export * from './common';
|
|
13
|
+
export * from './animate';
|
|
14
|
+
export * from './camera';
|
|
15
|
+
export * from './matrix';
|
|
16
|
+
export * from './light';
|
|
17
|
+
export * from './curve';
|
|
18
|
+
export * from './graphic-service';
|
|
19
|
+
export * from './sync-hook';
|
|
20
|
+
export * from './allocator';
|
|
21
|
+
export * from './core';
|
|
22
|
+
export * from './event';
|
|
23
|
+
export * from './loader';
|
|
24
|
+
export * from './contribution';
|
|
25
|
+
export * from './render';
|
|
26
|
+
export * from './plugin';
|
|
27
|
+
export * from './picker';
|
|
28
|
+
export * from './text';
|
|
29
|
+
export * from './window';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export * from "./global";
|
|
2
|
+
|
|
3
|
+
export * from "./common";
|
|
4
|
+
|
|
5
|
+
export * from "./node-tree";
|
|
6
|
+
|
|
7
|
+
export * from "./graphic";
|
|
8
|
+
|
|
9
|
+
export * from "./graphic/index";
|
|
10
|
+
|
|
11
|
+
export * from "./layer";
|
|
12
|
+
|
|
13
|
+
export * from "./stage";
|
|
14
|
+
|
|
15
|
+
export * from "./canvas";
|
|
16
|
+
|
|
17
|
+
export * from "./context";
|
|
18
|
+
|
|
19
|
+
export * from "./path";
|
|
20
|
+
|
|
21
|
+
export * from "./color";
|
|
22
|
+
|
|
23
|
+
export * from "./common";
|
|
24
|
+
|
|
25
|
+
export * from "./animate";
|
|
26
|
+
|
|
27
|
+
export * from "./camera";
|
|
28
|
+
|
|
29
|
+
export * from "./matrix";
|
|
30
|
+
|
|
31
|
+
export * from "./light";
|
|
32
|
+
|
|
33
|
+
export * from "./curve";
|
|
34
|
+
|
|
35
|
+
export * from "./graphic-service";
|
|
36
|
+
|
|
37
|
+
export * from "./sync-hook";
|
|
38
|
+
|
|
39
|
+
export * from "./allocator";
|
|
40
|
+
|
|
41
|
+
export * from "./core";
|
|
42
|
+
|
|
43
|
+
export * from "./event";
|
|
44
|
+
|
|
45
|
+
export * from "./loader";
|
|
46
|
+
|
|
47
|
+
export * from "./contribution";
|
|
48
|
+
|
|
49
|
+
export * from "./render";
|
|
50
|
+
|
|
51
|
+
export * from "./plugin";
|
|
52
|
+
|
|
53
|
+
export * from "./picker";
|
|
54
|
+
|
|
55
|
+
export * from "./text";
|
|
56
|
+
|
|
57
|
+
export * from "./window";
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interface/index.ts"],"names":[],"mappings":"AA+CA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC","file":"index.js","sourcesContent":["// export type MaybePromise<T> = T | PromiseLike<T>;\n\n// // 所有的接口都应当继承这个,避免内存没有释放\n// export interface Disposable {\n// dispose: (params?: any) => void;\n// }\n\n// export { INode } from './node-tree';\n// export { IGraphic, IGraphicAttribute, IFillStyle, IStrokeStyle, IStyle, ITransform } from './graphic';\n// export { IArc, IArcAttribute, IArcGraphicAttribute, IArcCache } from './graphic/arc';\n// export { IArea, IAreaAttribute, IAreaGraphicAttribute, IAreaCacheItem, IAreaSegment } from './graphic/area';\n// export { ICircle, ICircleAttribute, ICircleGraphicAttribute } from './graphic/circle';\n// export { IGroup, IGroupAttribute } from './graphic/group';\n// export { IImage, IImageAttribute, IImageGraphicAttribute, IRepeatType } from './graphic/image';\n// export { ILine, ILineAttribute, ILineGraphicAttribute, ISegment } from './graphic/line';\n// export { IPath, IPathAttribute, IPathGraphicAttribute } from './graphic/path';\n// export { IRect, IRectAttribute, IRectGraphicAttribute } from './graphic/rect';\n// export {\n// IRichText,\n// IRichTextAttribute,\n// RichTextCharacter,\n// RichTextFontStyle,\n// RichTextGlobalAlignType,\n// RichTextGlobalBaselineType,\n// RichTextScript,\n// RichTextTextAlign,\n// RichTextTextDecoration,\n// RichTextVerticalDirection,\n// RichTextWordBreak,\n// IRichTextGraphicAttribute\n// } from './graphic/richText';\n// export { ISymbol, ISymbolAttribute, ISymbolGraphicAttribute, SymbolType } from './graphic/symbol';\n// export { IText, ITextAttribute, ITextGraphicAttribute, ITextCache } from './graphic/text';\n// export { ILayer, ILayerDrawParams } from './layer';\n// export { IStage, IStageParams, IExportType } from './stage';\n\n// // export * from './graphic';\n// export { ICanvas, ICanvasLike } from './canvas';\n// export { IContext2d, IContextLike, ICommonStyleParams, IStrokeStyleParams, ITextStyleParams } from './context';\n\n// export { IPath2D, ICustomPath2D, CommandType, ICurvePath, ICurve } from './path';\n\n// export { IColor, IColorStop, IConicalGradient, ILinearGradient, IRadialGradient } from './color';\n\n// export { ICurveType } from './common';\n// // export { IAreaCacheItem } from './graphic';\n\nexport * from './global';\nexport * from './common';\nexport * from './node-tree';\nexport * from './graphic';\nexport * from './graphic/index';\nexport * from './layer';\nexport * from './stage';\nexport * from './canvas';\nexport * from './context';\nexport * from './path';\nexport * from './color';\nexport * from './common';\nexport * from './animate';\nexport * from './camera';\nexport * from './matrix';\nexport * from './light';\nexport * from './curve';\nexport * from './graphic-service';\nexport * from './sync-hook';\nexport * from './allocator';\nexport * from './core';\nexport * from './event';\nexport * from './loader';\nexport * from './contribution';\nexport * from './render';\nexport * from './plugin';\nexport * from './picker';\nexport * from './text';\nexport * from './window';\n"]}
|