@visactor/vrender-core 1.1.0-alpha.24 → 1.1.0-alpha.26
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/cjs/common/event-listener-manager.js +1 -2
- package/cjs/common/event-transformer.js +2 -1
- package/cjs/common/performance-raf.js +1 -1
- package/cjs/common/xml/is-xml.d.ts +2 -0
- package/cjs/common/xml/is-xml.js +14 -0
- package/cjs/common/xml/is-xml.js.map +1 -0
- package/cjs/common/xml/parser.d.ts +2 -2
- package/cjs/common/xml/parser.js +14 -11
- package/cjs/common/xml/parser.js.map +1 -1
- package/cjs/container.d.ts +2 -0
- package/cjs/container.js +50 -0
- package/cjs/container.js.map +1 -0
- package/cjs/core/graphic-utils.js +1 -2
- package/cjs/core/layer-service.js +2 -1
- package/cjs/core/stage.d.ts +0 -9
- package/cjs/core/stage.js +11 -29
- package/cjs/core/stage.js.map +1 -1
- package/cjs/entries/miniapp.d.ts +0 -1
- package/cjs/entries/miniapp.js +1 -5
- package/cjs/entries/miniapp.js.map +1 -1
- package/cjs/entries/node.d.ts +0 -1
- package/cjs/entries/node.js +1 -5
- package/cjs/entries/node.js.map +1 -1
- package/cjs/env.d.ts +1 -0
- package/cjs/env.js +25 -0
- package/cjs/env.js.map +1 -0
- package/cjs/event/public-constant.d.ts +7 -0
- package/cjs/event/public-constant.js +100 -0
- package/cjs/event/public-constant.js.map +1 -0
- package/cjs/event/util.d.ts +1 -1
- package/cjs/graphic/base.d.ts +2 -0
- package/cjs/graphic/base.js +15 -0
- package/cjs/graphic/base.js.map +1 -0
- package/cjs/graphic/creator.d.ts +16 -0
- package/cjs/graphic/creator.js +160 -0
- package/cjs/graphic/creator.js.map +1 -0
- package/cjs/graphic/glyph.js +4 -8
- package/cjs/graphic/glyph.js.map +1 -1
- package/cjs/graphic/graphic-service/graphic-service.d.ts +0 -1
- package/cjs/graphic/graphic-service/graphic-service.js +1 -8
- package/cjs/graphic/graphic-service/graphic-service.js.map +1 -1
- package/cjs/graphic/graphic.d.ts +19 -29
- package/cjs/graphic/graphic.js +123 -201
- package/cjs/graphic/graphic.js.map +1 -1
- package/cjs/graphic/group.d.ts +1 -3
- package/cjs/graphic/group.js +22 -28
- package/cjs/graphic/group.js.map +1 -1
- package/cjs/graphic/modules.d.ts +16 -0
- package/cjs/graphic/modules.js +150 -0
- package/cjs/graphic/modules.js.map +1 -0
- package/cjs/graphic/node-tree.d.ts +3 -3
- package/cjs/graphic/node-tree.js +1 -0
- package/cjs/graphic/node-tree.js.map +1 -1
- package/cjs/graphic/state/shared-state-refresh.js +11 -32
- package/cjs/graphic/state/shared-state-refresh.js.map +1 -1
- package/cjs/graphic/state/shared-state-scope.d.ts +2 -5
- package/cjs/graphic/state/shared-state-scope.js +8 -27
- package/cjs/graphic/state/shared-state-scope.js.map +1 -1
- package/cjs/graphic/state/state-definition-compiler.js +4 -5
- package/cjs/graphic/state/state-definition-compiler.js.map +1 -1
- package/cjs/graphic/state/state-definition.d.ts +2 -5
- package/cjs/graphic/state/state-definition.js.map +1 -1
- package/cjs/graphic/state/state-engine.d.ts +0 -5
- package/cjs/graphic/state/state-engine.js +20 -70
- package/cjs/graphic/state/state-engine.js.map +1 -1
- package/cjs/graphic/state/state-transition-orchestrator.d.ts +7 -9
- package/cjs/graphic/state/state-transition-orchestrator.js +10 -13
- package/cjs/graphic/state/state-transition-orchestrator.js.map +1 -1
- package/cjs/graphic/tools.js +3 -3
- package/cjs/graphic/tools.js.map +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/interface/graphic/group.d.ts +0 -2
- package/cjs/interface/graphic/group.js.map +1 -1
- package/cjs/interface/graphic.d.ts +1 -5
- package/cjs/interface/graphic.js.map +1 -1
- package/cjs/interface/index.js.map +1 -1
- package/cjs/interface/node-tree.d.ts +3 -0
- package/cjs/interface/node-tree.js.map +1 -1
- package/cjs/interface/stage.d.ts +0 -7
- package/cjs/interface/stage.js.map +1 -1
- package/cjs/interpolate.d.ts +2 -0
- package/cjs/interpolate.js +34 -0
- package/cjs/interpolate.js.map +1 -0
- package/cjs/modules.js.map +1 -1
- package/cjs/path.d.ts +4 -0
- package/cjs/path.js +33 -0
- package/cjs/path.js.map +1 -0
- package/cjs/plugin/3d.d.ts +3 -0
- package/cjs/plugin/3d.js +33 -0
- package/cjs/plugin/3d.js.map +1 -0
- package/cjs/plugin/attribute.d.ts +2 -0
- package/cjs/plugin/attribute.js +24 -0
- package/cjs/plugin/attribute.js.map +1 -0
- package/cjs/plugin/flex-layout.d.ts +1 -0
- package/cjs/plugin/flex-layout.js +15 -0
- package/cjs/plugin/flex-layout.js.map +1 -0
- package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.js +8 -8
- package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.js.map +1 -1
- package/cjs/plugins/index.d.ts +0 -4
- package/cjs/plugins/index.js +1 -3
- package/cjs/plugins/index.js.map +1 -1
- package/cjs/plugins/plugin-service.d.ts +0 -1
- package/cjs/plugins/plugin-service.js +2 -3
- package/cjs/plugins/plugin-service.js.map +1 -1
- package/cjs/plugins/types.d.ts +1 -8
- package/cjs/plugins/types.js.map +1 -1
- package/cjs/register/graphic.d.ts +19 -0
- package/cjs/register/graphic.js +177 -0
- package/cjs/register/graphic.js.map +1 -0
- package/cjs/registry/contribution-registry.d.ts +0 -1
- package/cjs/registry/contribution-registry.js +0 -3
- package/cjs/registry/contribution-registry.js.map +1 -1
- package/cjs/registry/picker-registry.d.ts +0 -1
- package/cjs/registry/picker-registry.js +0 -3
- package/cjs/registry/picker-registry.js.map +1 -1
- package/cjs/registry/renderer-registry.d.ts +0 -1
- package/cjs/registry/renderer-registry.js +0 -3
- package/cjs/registry/renderer-registry.js.map +1 -1
- package/cjs/registry/types.d.ts +0 -3
- package/cjs/registry/types.js.map +1 -1
- package/cjs/svg.d.ts +1 -0
- package/cjs/svg.js +15 -0
- package/cjs/svg.js.map +1 -0
- package/cjs/text.d.ts +2 -0
- package/cjs/text.js +29 -0
- package/cjs/text.js.map +1 -0
- package/dist/index.es.js +897 -2213
- package/es/common/event-listener-manager.js +1 -2
- package/es/common/event-transformer.js +2 -1
- package/es/common/performance-raf.js +1 -1
- package/es/common/xml/is-xml.d.ts +2 -0
- package/es/common/xml/is-xml.js +8 -0
- package/es/common/xml/is-xml.js.map +1 -0
- package/es/common/xml/parser.d.ts +2 -2
- package/es/common/xml/parser.js +3 -7
- package/es/common/xml/parser.js.map +1 -1
- package/es/container.d.ts +2 -0
- package/es/container.js +2 -0
- package/es/container.js.map +1 -0
- package/es/core/graphic-utils.js +1 -2
- package/es/core/layer-service.js +2 -1
- package/es/core/stage.d.ts +0 -9
- package/es/core/stage.js +9 -30
- package/es/core/stage.js.map +1 -1
- package/es/entries/miniapp.d.ts +0 -1
- package/es/entries/miniapp.js +1 -5
- package/es/entries/miniapp.js.map +1 -1
- package/es/entries/node.d.ts +0 -1
- package/es/entries/node.js +1 -5
- package/es/entries/node.js.map +1 -1
- package/es/env.d.ts +1 -0
- package/es/env.js +2 -0
- package/es/env.js.map +1 -0
- package/es/event/public-constant.d.ts +7 -0
- package/es/event/public-constant.js +12 -0
- package/es/event/public-constant.js.map +1 -0
- package/es/event/util.d.ts +1 -1
- package/es/graphic/base.d.ts +2 -0
- package/es/graphic/base.js +2 -0
- package/es/graphic/base.js.map +1 -0
- package/es/graphic/creator.d.ts +16 -0
- package/es/graphic/creator.js +32 -0
- package/es/graphic/creator.js.map +1 -0
- package/es/graphic/glyph.js +4 -8
- package/es/graphic/glyph.js.map +1 -1
- package/es/graphic/graphic-service/graphic-service.d.ts +0 -1
- package/es/graphic/graphic-service/graphic-service.js +0 -10
- package/es/graphic/graphic-service/graphic-service.js.map +1 -1
- package/es/graphic/graphic.d.ts +19 -29
- package/es/graphic/graphic.js +123 -207
- package/es/graphic/graphic.js.map +1 -1
- package/es/graphic/group.d.ts +1 -3
- package/es/graphic/group.js +22 -28
- package/es/graphic/group.js.map +1 -1
- package/es/graphic/modules.d.ts +16 -0
- package/es/graphic/modules.js +32 -0
- package/es/graphic/modules.js.map +1 -0
- package/es/graphic/node-tree.d.ts +3 -3
- package/es/graphic/node-tree.js +1 -0
- package/es/graphic/node-tree.js.map +1 -1
- package/es/graphic/state/shared-state-refresh.js +8 -28
- package/es/graphic/state/shared-state-refresh.js.map +1 -1
- package/es/graphic/state/shared-state-scope.d.ts +2 -5
- package/es/graphic/state/shared-state-scope.js +7 -28
- package/es/graphic/state/shared-state-scope.js.map +1 -1
- package/es/graphic/state/state-definition-compiler.js +4 -5
- package/es/graphic/state/state-definition-compiler.js.map +1 -1
- package/es/graphic/state/state-definition.d.ts +2 -5
- package/es/graphic/state/state-definition.js.map +1 -1
- package/es/graphic/state/state-engine.d.ts +0 -5
- package/es/graphic/state/state-engine.js +17 -67
- package/es/graphic/state/state-engine.js.map +1 -1
- package/es/graphic/state/state-transition-orchestrator.d.ts +7 -9
- package/es/graphic/state/state-transition-orchestrator.js +10 -13
- package/es/graphic/state/state-transition-orchestrator.js.map +1 -1
- package/es/graphic/tools.js +3 -3
- package/es/graphic/tools.js.map +1 -1
- package/es/index.js.map +1 -1
- package/es/interface/graphic/group.d.ts +0 -2
- package/es/interface/graphic/group.js.map +1 -1
- package/es/interface/graphic.d.ts +1 -5
- package/es/interface/graphic.js.map +1 -1
- package/es/interface/index.js.map +1 -1
- package/es/interface/node-tree.d.ts +3 -0
- package/es/interface/node-tree.js.map +1 -1
- package/es/interface/stage.d.ts +0 -7
- package/es/interface/stage.js.map +1 -1
- package/es/interpolate.d.ts +2 -0
- package/es/interpolate.js +4 -0
- package/es/interpolate.js.map +1 -0
- package/es/modules.js.map +1 -1
- package/es/path.d.ts +4 -0
- package/es/path.js +6 -0
- package/es/path.js.map +1 -0
- package/es/plugin/3d.d.ts +3 -0
- package/es/plugin/3d.js +6 -0
- package/es/plugin/3d.js.map +1 -0
- package/es/plugin/attribute.d.ts +2 -0
- package/es/plugin/attribute.js +4 -0
- package/es/plugin/attribute.js.map +1 -0
- package/es/plugin/flex-layout.d.ts +1 -0
- package/es/plugin/flex-layout.js +2 -0
- package/es/plugin/flex-layout.js.map +1 -0
- package/es/plugins/builtin-plugin/dirty-bounds-plugin.js +8 -8
- package/es/plugins/builtin-plugin/dirty-bounds-plugin.js.map +1 -1
- package/es/plugins/index.d.ts +0 -4
- package/es/plugins/index.js +0 -8
- package/es/plugins/index.js.map +1 -1
- package/es/plugins/plugin-service.d.ts +0 -1
- package/es/plugins/plugin-service.js +2 -3
- package/es/plugins/plugin-service.js.map +1 -1
- package/es/plugins/types.d.ts +1 -8
- package/es/plugins/types.js.map +1 -1
- package/es/register/graphic.d.ts +19 -0
- package/es/register/graphic.js +38 -0
- package/es/register/graphic.js.map +1 -0
- package/es/registry/contribution-registry.d.ts +0 -1
- package/es/registry/contribution-registry.js +0 -3
- package/es/registry/contribution-registry.js.map +1 -1
- package/es/registry/picker-registry.d.ts +0 -1
- package/es/registry/picker-registry.js +0 -3
- package/es/registry/picker-registry.js.map +1 -1
- package/es/registry/renderer-registry.d.ts +0 -1
- package/es/registry/renderer-registry.js +0 -3
- package/es/registry/renderer-registry.js.map +1 -1
- package/es/registry/types.d.ts +0 -3
- package/es/registry/types.js.map +1 -1
- package/es/svg.d.ts +1 -0
- package/es/svg.js +2 -0
- package/es/svg.js.map +1 -0
- package/es/text.d.ts +2 -0
- package/es/text.js +4 -0
- package/es/text.js.map +1 -0
- package/package.json +245 -1
- package/cjs/allocator/constants.d.ts +0 -9
- package/cjs/allocator/constants.js +0 -11
- package/cjs/allocator/constants.js.map +0 -1
- package/cjs/common/Reflect-metadata.d.ts +0 -2
- package/cjs/common/Reflect-metadata.js +0 -182
- package/cjs/common/Reflect-metadata.js.map +0 -1
- package/cjs/common/segment/curve/arc.d.ts +0 -17
- package/cjs/common/segment/curve/arc.js +0 -38
- package/cjs/common/segment/curve/arc.js.map +0 -1
- package/cjs/common/segment/curve/ellipse.d.ts +0 -21
- package/cjs/common/segment/curve/ellipse.js +0 -39
- package/cjs/common/segment/curve/ellipse.js.map +0 -1
- package/cjs/common/segment/curve/move.d.ts +0 -16
- package/cjs/common/segment/curve/move.js +0 -37
- package/cjs/common/segment/curve/move.js.map +0 -1
- package/cjs/common/store.d.ts +0 -2
- package/cjs/common/store.js +0 -2
- package/cjs/common/store.js.map +0 -1
- package/cjs/core/application.d.ts +0 -1
- package/cjs/core/application.js +0 -6
- package/cjs/core/application.js.map +0 -1
- package/cjs/core/global-module.d.ts +0 -1
- package/cjs/core/global-module.js +0 -1
- package/cjs/core/global-module.js.map +0 -1
- package/cjs/export.d.ts +0 -1
- package/cjs/export.js +0 -1
- package/cjs/export.js.map +0 -1
- package/cjs/graphic/state/state-batch-scheduler.d.ts +0 -42
- package/cjs/graphic/state/state-batch-scheduler.js +0 -285
- package/cjs/graphic/state/state-batch-scheduler.js.map +0 -1
- package/cjs/graphic/state/state-model.d.ts +0 -43
- package/cjs/graphic/state/state-model.js +0 -143
- package/cjs/graphic/state/state-model.js.map +0 -1
- package/cjs/graphic/state/state-perf-monitor.d.ts +0 -120
- package/cjs/graphic/state/state-perf-monitor.js +0 -224
- package/cjs/graphic/state/state-perf-monitor.js.map +0 -1
- package/cjs/graphic/state/state-style-resolver.d.ts +0 -13
- package/cjs/graphic/state/state-style-resolver.js +0 -50
- package/cjs/graphic/state/state-style-resolver.js.map +0 -1
- package/cjs/interface/animate.d.ts +0 -1
- package/cjs/interface/animate.js +0 -3
- package/cjs/interface/animate.js.map +0 -1
- package/cjs/interface/creator.d.ts +0 -4
- package/cjs/interface/creator.js +0 -6
- package/cjs/interface/creator.js.map +0 -1
- package/cjs/interface/graphic/dynamic-path.d.ts +0 -1
- package/cjs/interface/graphic/dynamic-path.js +0 -3
- package/cjs/interface/graphic/dynamic-path.js.map +0 -1
- package/cjs/interface/graphic-utils.d.ts +0 -1
- package/cjs/interface/graphic-utils.js +0 -3
- package/cjs/interface/graphic-utils.js.map +0 -1
- package/cjs/interface/theme-service.d.ts +0 -1
- package/cjs/interface/theme-service.js +0 -3
- package/cjs/interface/theme-service.js.map +0 -1
- package/cjs/plugins/base-plugin.d.ts +0 -8
- package/cjs/plugins/base-plugin.js +0 -15
- package/cjs/plugins/base-plugin.js.map +0 -1
- package/cjs/plugins/browser-env-plugin.d.ts +0 -8
- package/cjs/plugins/browser-env-plugin.js +0 -24
- package/cjs/plugins/browser-env-plugin.js.map +0 -1
- package/cjs/plugins/builtin-plugin/poptip-plugin.d.ts +0 -1
- package/cjs/plugins/builtin-plugin/poptip-plugin.js +0 -3
- package/cjs/plugins/builtin-plugin/poptip-plugin.js.map +0 -1
- package/cjs/plugins/picker-plugin.d.ts +0 -7
- package/cjs/plugins/picker-plugin.js +0 -19
- package/cjs/plugins/picker-plugin.js.map +0 -1
- package/cjs/plugins/renderer-plugin.d.ts +0 -7
- package/cjs/plugins/renderer-plugin.js +0 -19
- package/cjs/plugins/renderer-plugin.js.map +0 -1
- package/cjs/render/contributions/render/clear-screen.d.ts +0 -1
- package/cjs/render/contributions/render/clear-screen.js +0 -3
- package/cjs/render/contributions/render/clear-screen.js.map +0 -1
- package/cjs/render/contributions/render/render-slector.d.ts +0 -1
- package/cjs/render/contributions/render/render-slector.js +0 -3
- package/cjs/render/contributions/render/render-slector.js.map +0 -1
- package/es/allocator/constants.d.ts +0 -9
- package/es/allocator/constants.js +0 -18
- package/es/allocator/constants.js.map +0 -1
- package/es/common/Reflect-metadata.d.ts +0 -2
- package/es/common/Reflect-metadata.js +0 -178
- package/es/common/Reflect-metadata.js.map +0 -1
- package/es/common/segment/curve/arc.d.ts +0 -17
- package/es/common/segment/curve/arc.js +0 -31
- package/es/common/segment/curve/arc.js.map +0 -1
- package/es/common/segment/curve/ellipse.d.ts +0 -21
- package/es/common/segment/curve/ellipse.js +0 -33
- package/es/common/segment/curve/ellipse.js.map +0 -1
- package/es/common/segment/curve/move.d.ts +0 -16
- package/es/common/segment/curve/move.js +0 -31
- package/es/common/segment/curve/move.js.map +0 -1
- package/es/common/store.d.ts +0 -2
- package/es/common/store.js +0 -2
- package/es/common/store.js.map +0 -1
- package/es/core/application.d.ts +0 -1
- package/es/core/application.js +0 -2
- package/es/core/application.js.map +0 -1
- package/es/core/global-module.d.ts +0 -1
- package/es/core/global-module.js +0 -1
- package/es/core/global-module.js.map +0 -1
- package/es/export.d.ts +0 -1
- package/es/export.js +0 -1
- package/es/export.js.map +0 -1
- package/es/graphic/state/state-batch-scheduler.d.ts +0 -42
- package/es/graphic/state/state-batch-scheduler.js +0 -278
- package/es/graphic/state/state-batch-scheduler.js.map +0 -1
- package/es/graphic/state/state-model.d.ts +0 -43
- package/es/graphic/state/state-model.js +0 -135
- package/es/graphic/state/state-model.js.map +0 -1
- package/es/graphic/state/state-perf-monitor.d.ts +0 -120
- package/es/graphic/state/state-perf-monitor.js +0 -214
- package/es/graphic/state/state-perf-monitor.js.map +0 -1
- package/es/graphic/state/state-style-resolver.d.ts +0 -13
- package/es/graphic/state/state-style-resolver.js +0 -42
- package/es/graphic/state/state-style-resolver.js.map +0 -1
- package/es/interface/animate.d.ts +0 -1
- package/es/interface/animate.js +0 -3
- package/es/interface/animate.js.map +0 -1
- package/es/interface/creator.d.ts +0 -4
- package/es/interface/creator.js +0 -2
- package/es/interface/creator.js.map +0 -1
- package/es/interface/graphic/dynamic-path.d.ts +0 -1
- package/es/interface/graphic/dynamic-path.js +0 -3
- package/es/interface/graphic/dynamic-path.js.map +0 -1
- package/es/interface/graphic-utils.d.ts +0 -1
- package/es/interface/graphic-utils.js +0 -3
- package/es/interface/graphic-utils.js.map +0 -1
- package/es/interface/theme-service.d.ts +0 -1
- package/es/interface/theme-service.js +0 -3
- package/es/interface/theme-service.js.map +0 -1
- package/es/plugins/base-plugin.d.ts +0 -8
- package/es/plugins/base-plugin.js +0 -7
- package/es/plugins/base-plugin.js.map +0 -1
- package/es/plugins/browser-env-plugin.d.ts +0 -8
- package/es/plugins/browser-env-plugin.js +0 -16
- package/es/plugins/browser-env-plugin.js.map +0 -1
- package/es/plugins/builtin-plugin/poptip-plugin.d.ts +0 -1
- package/es/plugins/builtin-plugin/poptip-plugin.js +0 -3
- package/es/plugins/builtin-plugin/poptip-plugin.js.map +0 -1
- package/es/plugins/picker-plugin.d.ts +0 -7
- package/es/plugins/picker-plugin.js +0 -11
- package/es/plugins/picker-plugin.js.map +0 -1
- package/es/plugins/renderer-plugin.d.ts +0 -7
- package/es/plugins/renderer-plugin.js +0 -11
- package/es/plugins/renderer-plugin.js.map +0 -1
- package/es/render/contributions/render/clear-screen.d.ts +0 -1
- package/es/render/contributions/render/clear-screen.js +0 -3
- package/es/render/contributions/render/clear-screen.js.map +0 -1
- package/es/render/contributions/render/render-slector.d.ts +0 -1
- package/es/render/contributions/render/render-slector.js +0 -3
- package/es/render/contributions/render/render-slector.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/common/Reflect-metadata.ts"],"names":[],"mappings":"AAeA,eAAe,CAAC,UAAU,OAAO;IAG/B,CAAC,UAAU,OAAO;QAChB,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;QACvC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAClB,SAAS,YAAY,CAAC,MAAM,EAAE,QAAQ;YACpC,OAAO,UAAU,GAAG,EAAE,KAAK;gBACzB,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,UAAU,EAAE;oBACrC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;iBAC1F;gBACD,IAAI,QAAQ,EAAE;oBACZ,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;iBACtB;YACH,CAAC,CAAC;QACJ,CAAC;IACH,CAAC,CAAC,CAAC,UAAU,QAAQ;QACnB,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC;QAE/C,MAAM,cAAc,GAAG,OAAO,MA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Ac,CAAC,WAAW,CAAC;YAC/C,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;gBACrC,OAAO,KAAK,CAAC;aACd;YAED,IAAI,WAAW,KAAK,CAAC,EAAE;gBACrB,OAAO,KAAK,CAAC;aACd;YAED,OAAO,WAAW,CAAC;QACrB,CAAC;QAED,SAAS,cAAc,CAAC,GAAG;YACzB,GAAG,CAAC,EAAE,GAAG,SAAS,CAAC;YACnB,OAAO,GAAG,CAAC,EAAE,CAAC;YACd,OAAO,GAAG,CAAC;QACb,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC","file":"Reflect-metadata.js","sourcesContent":["// @ts-nocheck\n/*! *****************************************************************************\nCopyright (C) Microsoft. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\nexport default (function (Reflect) {\n // Metadata Proposal\n // https://rbuckton.github.io/reflect-metadata/\n (function (factory) {\n const exporter = makeExporter(Reflect);\n factory(exporter);\n function makeExporter(target, previous) {\n return function (key, value) {\n if (typeof target[key] !== 'function') {\n Object.defineProperty(target, key, { configurable: true, writable: true, value: value });\n }\n if (previous) {\n previous(key, value);\n }\n };\n }\n })(function (exporter) {\n const hasOwn = Object.prototype.hasOwnProperty;\n // feature test for Symbol support\n const supportsSymbol = typeof Symbol === 'function';\n const toPrimitiveSymbol =\n supportsSymbol && typeof Symbol.toPrimitive !== 'undefined' ? Symbol.toPrimitive : '@@toPrimitive';\n const iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== 'undefined' ? Symbol.iterator : '@@iterator';\n const supportsCreate = typeof Object.create === 'function'; // feature test for Object.create support\n const supportsProto = { __proto__: [] } instanceof Array; // feature test for __proto__ support\n const downLevel = !supportsCreate && !supportsProto;\n const HashMap = {\n // create an object in dictionary mode (a.k.a. \"slow\" mode in v8)\n create: supportsCreate\n ? function () {\n return MakeDictionary(Object.create(null));\n }\n : supportsProto\n ? function () {\n return MakeDictionary({ __proto__: null });\n }\n : function () {\n return MakeDictionary({});\n },\n has: downLevel\n ? function (map, key) {\n return hasOwn.call(map, key);\n }\n : function (map, key) {\n return key in map;\n },\n get: downLevel\n ? function (map, key) {\n return hasOwn.call(map, key) ? map[key] : undefined;\n }\n : function (map, key) {\n return map[key];\n }\n };\n // Load global or shim versions of Map, Set, and WeakMap\n const functionPrototype = Object.getPrototypeOf(Function);\n const usePolyfill =\n typeof process === 'object' && process.env && process.env.REFLECT_METADATA_USE_MAP_POLYFILL === 'true';\n const _Map = Map;\n const _Set = Set;\n const _WeakMap = WeakMap;\n // [[Metadata]] internal slot\n // https://rbuckton.github.io/reflect-metadata/#ordinary-object-internal-methods-and-internal-slots\n const Metadata = new _WeakMap();\n /**\n * Applies a set of decorators to a property of a target object.\n * @param decorators An array of decorators.\n * @param target The target object.\n * @param propertyKey (Optional) The property key to decorate.\n * @param attributes (Optional) The property descriptor for the target key.\n * @remarks Decorators are applied in reverse order.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * Example = Reflect.decorate(decoratorsArray, Example);\n *\n * // property (on constructor)\n * Reflect.decorate(decoratorsArray, Example, \"staticProperty\");\n *\n * // property (on prototype)\n * Reflect.decorate(decoratorsArray, Example.prototype, \"property\");\n *\n * // method (on constructor)\n * Object.defineProperty(Example, \"staticMethod\",\n * Reflect.decorate(decoratorsArray, Example, \"staticMethod\",\n * Object.getOwnPropertyDescriptor(Example, \"staticMethod\")));\n *\n * // method (on prototype)\n * Object.defineProperty(Example.prototype, \"method\",\n * Reflect.decorate(decoratorsArray, Example.prototype, \"method\",\n * Object.getOwnPropertyDescriptor(Example.prototype, \"method\")));\n *\n */\n // function decorate(decorators, target, propertyKey, attributes) {\n // if (!IsUndefined(propertyKey)) {\n // if (!IsArray(decorators)) throw new TypeError();\n // if (!IsObject(target)) throw new TypeError();\n // if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes)) throw new TypeError();\n // if (IsNull(attributes)) attributes = undefined;\n // propertyKey = ToPropertyKey(propertyKey);\n // return DecorateProperty(decorators, target, propertyKey, attributes);\n // } else {\n // if (!IsArray(decorators)) throw new TypeError();\n // if (!IsConstructor(target)) throw new TypeError();\n // return DecorateConstructor(decorators, target);\n // }\n // }\n // exporter('decorate', decorate);\n // 4.1.2 Reflect.metadata(metadataKey, metadataValue)\n // https://rbuckton.github.io/reflect-metadata/#reflect.metadata\n /**\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\n * @param metadataKey The key for the metadata entry.\n * @param metadataValue The value for the metadata entry.\n * @returns A decorator function.\n * @remarks\n * If `metadataKey` is already defined for the target and target key, the\n * metadataValue for that key will be overwritten.\n * @example\n *\n * // constructor\n * @Reflect.metadata(key, value)\n * class Example {\n * }\n *\n * // property (on constructor, TypeScript only)\n * class Example {\n * @Reflect.metadata(key, value)\n * static staticProperty;\n * }\n *\n * // property (on prototype, TypeScript only)\n * class Example {\n * @Reflect.metadata(key, value)\n * property;\n * }\n *\n * // method (on constructor)\n * class Example {\n * @Reflect.metadata(key, value)\n * static staticMethod() { }\n * }\n *\n * // method (on prototype)\n * class Example {\n * @Reflect.metadata(key, value)\n * method() { }\n * }\n *\n */\n // function metadata(metadataKey, metadataValue) {\n // function decorator(target, propertyKey) {\n // if (!IsObject(target)) throw new TypeError();\n // if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey)) throw new TypeError();\n // OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\n // }\n // return decorator;\n // }\n // exporter('metadata', metadata);\n /**\n * Define a unique metadata entry on the target.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param metadataValue A value that contains attached metadata.\n * @param target The target object on which to define metadata.\n * @param propertyKey (Optional) The property key for the target.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * Reflect.defineMetadata(\"custom:annotation\", options, Example);\n *\n * // property (on constructor)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticProperty\");\n *\n * // property (on prototype)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"property\");\n *\n * // method (on constructor)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticMethod\");\n *\n * // method (on prototype)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"method\");\n *\n * // decorator factory as metadata-producing annotation.\n * function MyAnnotation(options): Decorator {\n * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\n * }\n *\n */\n function defineMetadata(metadataKey, metadataValue, target, propertyKey) {\n if (!IsObject(target)) {\n throw new TypeError();\n }\n // if (!IsUndefined(propertyKey)) {\n // propertyKey = ToPropertyKey(propertyKey);\n // }\n return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\n }\n exporter('defineMetadata', defineMetadata);\n /**\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.hasMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function hasMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target)) {\n throw new TypeError();\n }\n if (!IsUndefined(propertyKey)) {\n propertyKey = ToPropertyKey(propertyKey);\n }\n return OrdinaryHasMetadata(metadataKey, target, propertyKey);\n }\n exporter('hasMetadata', hasMetadata);\n /**\n * Gets a value indicating whether the target object has the provided metadata key defined.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function hasOwnMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target)) {\n throw new TypeError();\n }\n if (!IsUndefined(propertyKey)) {\n propertyKey = ToPropertyKey(propertyKey);\n }\n return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);\n }\n exporter('hasOwnMetadata', hasOwnMetadata);\n /**\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function getMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target)) {\n throw new TypeError();\n }\n if (!IsUndefined(propertyKey)) {\n propertyKey = ToPropertyKey(propertyKey);\n }\n return OrdinaryGetMetadata(metadataKey, target, propertyKey);\n }\n exporter('getMetadata', getMetadata);\n /**\n * Gets the metadata value for the provided metadata key on the target object.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n // function getOwnMetadata(metadataKey, target, propertyKey) {\n // if (!IsObject(target)) throw new TypeError();\n // if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);\n // return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);\n // }\n // exporter('getOwnMetadata', getOwnMetadata);\n /**\n * Gets the metadata keys defined on the target object or its prototype chain.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns An array of unique metadata keys.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getMetadataKeys(Example);\n *\n * // property (on constructor)\n * result = Reflect.getMetadataKeys(Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getMetadataKeys(Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getMetadataKeys(Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getMetadataKeys(Example.prototype, \"method\");\n *\n */\n // function getMetadataKeys(target, propertyKey) {\n // if (!IsObject(target)) throw new TypeError();\n // if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);\n // return OrdinaryMetadataKeys(target, propertyKey);\n // }\n // exporter('getMetadataKeys', getMetadataKeys);\n /**\n * Gets the unique metadata keys defined on the target object.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns An array of unique metadata keys.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getOwnMetadataKeys(Example);\n *\n * // property (on constructor)\n * result = Reflect.getOwnMetadataKeys(Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getOwnMetadataKeys(Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"method\");\n *\n */\n // function getOwnMetadataKeys(target, propertyKey) {\n // if (!IsObject(target)) throw new TypeError();\n // if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);\n // return OrdinaryOwnMetadataKeys(target, propertyKey);\n // }\n // exporter('getOwnMetadataKeys', getOwnMetadataKeys);\n /**\n * Deletes the metadata entry from the target object with the provided key.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n // function deleteMetadata(metadataKey, target, propertyKey) {\n // if (!IsObject(target)) throw new TypeError();\n // if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);\n // var metadataMap = GetOrCreateMetadataMap(target, propertyKey, /*Create*/ false);\n // if (IsUndefined(metadataMap)) return false;\n // if (!metadataMap.delete(metadataKey)) return false;\n // if (metadataMap.size > 0) return true;\n // var targetMetadata = Metadata.get(target);\n // targetMetadata.delete(propertyKey);\n // if (targetMetadata.size > 0) return true;\n // Metadata.delete(target);\n // return true;\n // }\n // exporter('deleteMetadata', deleteMetadata);\n // function DecorateConstructor(decorators, target) {\n // for (var i = decorators.length - 1; i >= 0; --i) {\n // var decorator = decorators[i];\n // var decorated = decorator(target);\n // if (!IsUndefined(decorated) && !IsNull(decorated)) {\n // if (!IsConstructor(decorated)) throw new TypeError();\n // target = decorated;\n // }\n // }\n // return target;\n // }\n // function DecorateProperty(decorators, target, propertyKey, descriptor) {\n // for (var i = decorators.length - 1; i >= 0; --i) {\n // var decorator = decorators[i];\n // var decorated = decorator(target, propertyKey, descriptor);\n // if (!IsUndefined(decorated) && !IsNull(decorated)) {\n // if (!IsObject(decorated)) throw new TypeError();\n // descriptor = decorated;\n // }\n // }\n // return descriptor;\n // }\n function GetOrCreateMetadataMap(O, P, Create) {\n // console.count('GetOrCreateMetadataMap');\n let targetMetadata = Metadata.get(O);\n if (IsUndefined(targetMetadata)) {\n if (!Create) {\n return undefined;\n }\n targetMetadata = new _Map();\n Metadata.set(O, targetMetadata);\n }\n let metadataMap = targetMetadata.get(P);\n if (IsUndefined(metadataMap)) {\n if (!Create) {\n return undefined;\n }\n metadataMap = new _Map();\n targetMetadata.set(P, metadataMap);\n }\n return metadataMap;\n }\n // 3.1.1.1 OrdinaryHasMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinaryhasmetadata\n function OrdinaryHasMetadata(MetadataKey, O, P) {\n const hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) {\n return true;\n }\n const parent = OrdinaryGetPrototypeOf(O);\n if (!IsNull(parent)) {\n return OrdinaryHasMetadata(MetadataKey, parent, P);\n }\n return false;\n }\n // 3.1.2.1 OrdinaryHasOwnMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinaryhasownmetadata\n function OrdinaryHasOwnMetadata(MetadataKey, O, P) {\n const metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\n if (IsUndefined(metadataMap)) {\n return false;\n }\n return ToBoolean(metadataMap.has(MetadataKey));\n }\n // 3.1.3.1 OrdinaryGetMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarygetmetadata\n function OrdinaryGetMetadata(MetadataKey, O, P) {\n const hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) {\n return OrdinaryGetOwnMetadata(MetadataKey, O, P);\n }\n const parent = OrdinaryGetPrototypeOf(O);\n if (!IsNull(parent)) {\n return OrdinaryGetMetadata(MetadataKey, parent, P);\n }\n return undefined;\n }\n // 3.1.4.1 OrdinaryGetOwnMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarygetownmetadata\n function OrdinaryGetOwnMetadata(MetadataKey, O, P) {\n const metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\n if (IsUndefined(metadataMap)) {\n return undefined;\n }\n return metadataMap.get(MetadataKey);\n }\n // 3.1.5.1 OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarydefineownmetadata\n function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\n const metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ true);\n metadataMap.set(MetadataKey, MetadataValue);\n }\n // 3.1.6.1 OrdinaryMetadataKeys(O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarymetadatakeys\n // function OrdinaryMetadataKeys(O, P) {\n // var ownKeys = OrdinaryOwnMetadataKeys(O, P);\n // var parent = OrdinaryGetPrototypeOf(O);\n // if (parent === null) return ownKeys;\n // var parentKeys = OrdinaryMetadataKeys(parent, P);\n // if (parentKeys.length <= 0) return ownKeys;\n // if (ownKeys.length <= 0) return parentKeys;\n // var set = new _Set();\n // var keys = [];\n // for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {\n // var key = ownKeys_1[_i];\n // var hasKey = set.has(key);\n // if (!hasKey) {\n // set.add(key);\n // keys.push(key);\n // }\n // }\n // for (var _a = 0, parentKeys_1 = parentKeys; _a < parentKeys_1.length; _a++) {\n // var key = parentKeys_1[_a];\n // var hasKey = set.has(key);\n // if (!hasKey) {\n // set.add(key);\n // keys.push(key);\n // }\n // }\n // return keys;\n // }\n // 3.1.7.1 OrdinaryOwnMetadataKeys(O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinaryownmetadatakeys\n // function OrdinaryOwnMetadataKeys(O, P) {\n // var keys = [];\n // var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\n // if (IsUndefined(metadataMap)) return keys;\n // var keysObj = metadataMap.keys();\n // var iterator = GetIterator(keysObj);\n // var k = 0;\n // while (true) {\n // var next = IteratorStep(iterator);\n // if (!next) {\n // keys.length = k;\n // return keys;\n // }\n // var nextValue = IteratorValue(next);\n // try {\n // keys[k] = nextValue;\n // } catch (e) {\n // try {\n // IteratorClose(iterator);\n // } finally {\n // throw e;\n // }\n // }\n // k++;\n // }\n // }\n // 6 ECMAScript Data Typ0es and Values\n // https://tc39.github.io/ecma262/#sec-ecmascript-data-types-and-values\n function Type(x) {\n if (x === null) {\n return 1 /* Null */;\n }\n switch (typeof x) {\n case 'undefined':\n return 0 /* Undefined */;\n case 'boolean':\n return 2 /* Boolean */;\n case 'string':\n return 3 /* String */;\n case 'symbol':\n return 4 /* Symbol */;\n case 'number':\n return 5 /* Number */;\n case 'object':\n return x === null ? 1 /* Null */ : 6 /* Object */;\n default:\n return 6 /* Object */;\n }\n }\n // 6.1.1 The Undefined Type\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-undefined-type\n function IsUndefined(x) {\n return x === undefined;\n }\n // 6.1.2 The Null Type\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-null-type\n function IsNull(x) {\n return x === null;\n }\n // 6.1.5 The Symbol Type\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-symbol-type\n function IsSymbol(x) {\n return typeof x === 'symbol';\n }\n // 6.1.7 The Object Type\n // https://tc39.github.io/ecma262/#sec-object-type\n function IsObject(x) {\n return typeof x === 'object' ? x !== null : typeof x === 'function';\n }\n // 7.1 Type Conversion\n // https://tc39.github.io/ecma262/#sec-type-conversion\n // 7.1.1 ToPrimitive(input [, PreferredType])\n // https://tc39.github.io/ecma262/#sec-toprimitive\n function ToPrimitive(input, PreferredType) {\n switch (Type(input)) {\n case 0 /* Undefined */:\n return input;\n case 1 /* Null */:\n return input;\n case 2 /* Boolean */:\n return input;\n case 3 /* String */:\n return input;\n case 4 /* Symbol */:\n return input;\n case 5 /* Number */:\n return input;\n }\n const hint =\n PreferredType === 3 /* String */ ? 'string' : PreferredType === 5 /* Number */ ? 'number' : 'default';\n const exoticToPrim = GetMethod(input, toPrimitiveSymbol);\n if (exoticToPrim !== undefined) {\n const result = exoticToPrim.call(input, hint);\n if (IsObject(result)) {\n throw new TypeError();\n }\n return result;\n }\n return OrdinaryToPrimitive(input, hint === 'default' ? 'number' : hint);\n }\n // 7.1.1.1 OrdinaryToPrimitive(O, hint)\n // https://tc39.github.io/ecma262/#sec-ordinarytoprimitive\n function OrdinaryToPrimitive(O, hint) {\n if (hint === 'string') {\n const toString_1 = O.toString;\n if (IsCallable(toString_1)) {\n const result = toString_1.call(O);\n if (!IsObject(result)) {\n return result;\n }\n }\n const valueOf = O.valueOf;\n if (IsCallable(valueOf)) {\n const result = valueOf.call(O);\n if (!IsObject(result)) {\n return result;\n }\n }\n } else {\n const valueOf = O.valueOf;\n if (IsCallable(valueOf)) {\n const result = valueOf.call(O);\n if (!IsObject(result)) {\n return result;\n }\n }\n const toString_2 = O.toString;\n if (IsCallable(toString_2)) {\n const result = toString_2.call(O);\n if (!IsObject(result)) {\n return result;\n }\n }\n }\n throw new TypeError();\n }\n // 7.1.2 ToBoolean(argument)\n // https://tc39.github.io/ecma262/2016/#sec-toboolean\n function ToBoolean(argument) {\n return !!argument;\n }\n // 7.1.12 ToString(argument)\n // https://tc39.github.io/ecma262/#sec-tostring\n function ToString(argument) {\n return '' + argument;\n }\n // 7.1.14 ToPropertyKey(argument)\n // https://tc39.github.io/ecma262/#sec-topropertykey\n function ToPropertyKey(argument) {\n const key = ToPrimitive(argument, 3 /* String */);\n if (IsSymbol(key)) {\n return key;\n }\n return ToString(key);\n }\n // 7.2 Testing and Comparison Operations\n // https://tc39.github.io/ecma262/#sec-testing-and-comparison-operations\n // 7.2.2 IsArray(argument)\n // https://tc39.github.io/ecma262/#sec-isarray\n // function IsArray(argument) {\n // return Array.isArray\n // ? Array.isArray(argument)\n // : argument instanceof Object\n // ? argument instanceof Array\n // : Object.prototype.toString.call(argument) === '[object Array]';\n // }\n // 7.2.3 IsCallable(argument)\n // https://tc39.github.io/ecma262/#sec-iscallable\n function IsCallable(argument) {\n // NOTE: This is an approximation as we cannot check for [[Call]] internal method.\n return typeof argument === 'function';\n }\n // 7.2.4 IsConstructor(argument)\n // https://tc39.github.io/ecma262/#sec-isconstructor\n // function IsConstructor(argument) {\n // // NOTE: This is an approximation as we cannot check for [[Construct]] internal method.\n // return typeof argument === 'function';\n // }\n // 7.2.7 IsPropertyKey(argument)\n // https://tc39.github.io/ecma262/#sec-ispropertykey\n // function IsPropertyKey(argument) {\n // switch (Type(argument)) {\n // case 3 /* String */:\n // return true;\n // case 4 /* Symbol */:\n // return true;\n // default:\n // return false;\n // }\n // }\n // 7.3 Operations on Objects\n // https://tc39.github.io/ecma262/#sec-operations-on-objects\n // 7.3.9 GetMethod(V, P)\n // https://tc39.github.io/ecma262/#sec-getmethod\n function GetMethod(V, P) {\n const func = V[P];\n if (func === undefined || func === null) {\n return undefined;\n }\n if (!IsCallable(func)) {\n throw new TypeError();\n }\n return func;\n }\n // 7.4 Operations on Iterator Objects\n // https://tc39.github.io/ecma262/#sec-operations-on-iterator-objects\n // function GetIterator(obj) {\n // var method = GetMethod(obj, iteratorSymbol);\n // if (!IsCallable(method)) throw new TypeError(); // from Call\n // var iterator = method.call(obj);\n // if (!IsObject(iterator)) throw new TypeError();\n // return iterator;\n // }\n // // 7.4.4 IteratorValue(iterResult)\n // // https://tc39.github.io/ecma262/2016/#sec-iteratorvalue\n // function IteratorValue(iterResult) {\n // return iterResult.value;\n // }\n // // 7.4.5 IteratorStep(iterator)\n // // https://tc39.github.io/ecma262/#sec-iteratorstep\n // function IteratorStep(iterator) {\n // var result = iterator.next();\n // return result.done ? false : result;\n // }\n // // 7.4.6 IteratorClose(iterator, completion)\n // // https://tc39.github.io/ecma262/#sec-iteratorclose\n // function IteratorClose(iterator) {\n // var f = iterator['return'];\n // if (f) f.call(iterator);\n // }\n // 9.1 Ordinary Object Internal Methods and Internal Slots\n // https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots\n // 9.1.1.1 OrdinaryGetPrototypeOf(O)\n // https://tc39.github.io/ecma262/#sec-ordinarygetprototypeof\n function OrdinaryGetPrototypeOf(O) {\n const proto = Object.getPrototypeOf(O);\n if (typeof O !== 'function' || O === functionPrototype) {\n return proto;\n }\n // TypeScript doesn't set __proto__ in ES5, as it's non-standard.\n // Try to determine the superclass constructor. Compatible implementations\n // must either set __proto__ on a subclass constructor to the superclass constructor,\n // or ensure each class has a valid `constructor` property on its prototype that\n // points back to the constructor.\n // If this is not the same as Function.[[Prototype]], then this is definately inherited.\n // This is the case when in ES6 or when using __proto__ in a compatible browser.\n if (proto !== functionPrototype) {\n return proto;\n }\n // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\n const prototype = O.prototype;\n const prototypeProto = prototype && Object.getPrototypeOf(prototype);\n if (prototypeProto == null || prototypeProto === Object.prototype) {\n return proto;\n }\n // If the constructor was not a function, then we cannot determine the heritage.\n const constructor = prototypeProto.constructor;\n if (typeof constructor !== 'function') {\n return proto;\n }\n // If we have some kind of self-reference, then we cannot determine the heritage.\n if (constructor === O) {\n return proto;\n }\n // we have a pretty good guess at the heritage.\n return constructor;\n }\n // uses a heuristic used by v8 and chakra to force an object into dictionary mode.\n function MakeDictionary(obj) {\n obj.__ = undefined;\n delete obj.__;\n return obj;\n }\n });\n\n return Reflect;\n})({});\n"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { IDirection, IArcCurve, IPath2D } from '../../../interface';
|
|
2
|
-
import { Curve } from './base';
|
|
3
|
-
import type { IPoint, IPointLike } from '@visactor/vutils';
|
|
4
|
-
export declare class ArcCurve extends Curve implements IArcCurve {
|
|
5
|
-
type: number;
|
|
6
|
-
readonly p0: IPoint;
|
|
7
|
-
readonly p1: IPoint;
|
|
8
|
-
radius: number;
|
|
9
|
-
constructor(p0: IPoint, p1: IPoint, radius: number);
|
|
10
|
-
getPointAt(t: number): IPointLike;
|
|
11
|
-
protected calcLength(): number;
|
|
12
|
-
protected calcProjLength(direction: IDirection): number;
|
|
13
|
-
getAngleAt(t: number): number;
|
|
14
|
-
draw(path: IPath2D, percent: number): void;
|
|
15
|
-
getYAt(x: number): number;
|
|
16
|
-
includeX(x: number): boolean;
|
|
17
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CurveTypeEnum } from "../../enums";
|
|
2
|
-
|
|
3
|
-
import { Curve } from "./base";
|
|
4
|
-
|
|
5
|
-
export class ArcCurve extends Curve {
|
|
6
|
-
constructor(p0, p1, radius) {
|
|
7
|
-
super(), this.type = CurveTypeEnum.ArcCurve, this.p0 = p0, this.p1 = p1, this.radius = radius;
|
|
8
|
-
}
|
|
9
|
-
getPointAt(t) {
|
|
10
|
-
throw new Error("ArcCurve暂不支持getPointAt");
|
|
11
|
-
}
|
|
12
|
-
calcLength() {
|
|
13
|
-
throw new Error("ArcCurve暂不支持updateLength");
|
|
14
|
-
}
|
|
15
|
-
calcProjLength(direction) {
|
|
16
|
-
throw new Error("QuadraticBezierCurve暂不支持updateLength");
|
|
17
|
-
}
|
|
18
|
-
getAngleAt(t) {
|
|
19
|
-
throw new Error("ArcCurve暂不支持getAngleAt");
|
|
20
|
-
}
|
|
21
|
-
draw(path, percent) {
|
|
22
|
-
throw new Error("暂不支持");
|
|
23
|
-
}
|
|
24
|
-
getYAt(x) {
|
|
25
|
-
throw new Error("ArcCurve暂不支持getYAt");
|
|
26
|
-
}
|
|
27
|
-
includeX(x) {
|
|
28
|
-
throw new Error("ArcCurve暂不支持includeX");
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=arc.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/common/segment/curve/arc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAG/B,MAAM,OAAO,QAAS,SAAQ,KAAK;IAKjC,YAAY,EAAU,EAAE,EAAU,EAAE,MAAc;QAChD,KAAK,EAAE,CAAC;QALV,SAAI,GAAW,aAAa,CAAC,QAAQ,CAAC;QAMpC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACD,UAAU,CAAC,CAAS;QAClB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC5C,CAAC;IACS,UAAU;QAClB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC9C,CAAC;IACS,cAAc,CAAC,SAAqB;QAC5C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IACD,UAAU,CAAC,CAAS;QAClB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,CAAC,IAAa,EAAE,OAAe;QACjC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;IACD,MAAM,CAAC,CAAS;QACd,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACxC,CAAC;IACD,QAAQ,CAAC,CAAS;QAChB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC1C,CAAC;CACF","file":"arc.js","sourcesContent":["import type { IDirection, IArcCurve, IPath2D } from '../../../interface';\nimport { CurveTypeEnum } from '../../enums';\nimport { Curve } from './base';\nimport type { IPoint, IPointLike } from '@visactor/vutils';\n\nexport class ArcCurve extends Curve implements IArcCurve {\n type: number = CurveTypeEnum.ArcCurve;\n declare readonly p0: IPoint;\n declare readonly p1: IPoint;\n declare radius: number;\n constructor(p0: IPoint, p1: IPoint, radius: number) {\n super();\n this.p0 = p0;\n this.p1 = p1;\n this.radius = radius;\n }\n getPointAt(t: number): IPointLike {\n throw new Error('ArcCurve暂不支持getPointAt');\n }\n protected calcLength(): number {\n throw new Error('ArcCurve暂不支持updateLength');\n }\n protected calcProjLength(direction: IDirection): number {\n throw new Error('QuadraticBezierCurve暂不支持updateLength');\n }\n getAngleAt(t: number): number {\n throw new Error('ArcCurve暂不支持getAngleAt');\n }\n\n draw(path: IPath2D, percent: number) {\n throw new Error('暂不支持');\n }\n getYAt(x: number): number {\n throw new Error('ArcCurve暂不支持getYAt');\n }\n includeX(x: number): boolean {\n throw new Error('ArcCurve暂不支持includeX');\n }\n}\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { IPoint, IPointLike } from '@visactor/vutils';
|
|
2
|
-
import type { IEllipseCurve, IDirection, IPath2D } from '../../../interface';
|
|
3
|
-
import { Curve } from './base';
|
|
4
|
-
export declare class EllipseCurve extends Curve implements IEllipseCurve {
|
|
5
|
-
type: number;
|
|
6
|
-
p0: IPoint;
|
|
7
|
-
radiusX: number;
|
|
8
|
-
radiusY: number;
|
|
9
|
-
rotation: number;
|
|
10
|
-
startAngle: number;
|
|
11
|
-
endAngle: number;
|
|
12
|
-
anticlockwise?: boolean;
|
|
13
|
-
constructor(p0: IPoint, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean);
|
|
14
|
-
getPointAt(t: number): IPointLike;
|
|
15
|
-
getAngleAt(t: number): number;
|
|
16
|
-
protected calcLength(): number;
|
|
17
|
-
protected calcProjLength(direction: IDirection): number;
|
|
18
|
-
draw(path: IPath2D, percent: number): void;
|
|
19
|
-
getYAt(x: number): number;
|
|
20
|
-
includeX(x: number): boolean;
|
|
21
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Curve } from "./base";
|
|
2
|
-
|
|
3
|
-
import { CurveTypeEnum } from "../../enums";
|
|
4
|
-
|
|
5
|
-
export class EllipseCurve extends Curve {
|
|
6
|
-
constructor(p0, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise) {
|
|
7
|
-
super(), this.type = CurveTypeEnum.EllipseCurve, this.p0 = p0, this.radiusX = radiusX,
|
|
8
|
-
this.radiusY = radiusY, this.rotation = rotation, this.startAngle = startAngle,
|
|
9
|
-
this.endAngle = endAngle, this.anticlockwise = anticlockwise;
|
|
10
|
-
}
|
|
11
|
-
getPointAt(t) {
|
|
12
|
-
throw new Error("EllipseCurve暂不支持getPointAt");
|
|
13
|
-
}
|
|
14
|
-
getAngleAt(t) {
|
|
15
|
-
throw new Error("ArcCurve暂不支持getAngleAt");
|
|
16
|
-
}
|
|
17
|
-
calcLength() {
|
|
18
|
-
throw new Error("EllipseCurve暂不支持updateLength");
|
|
19
|
-
}
|
|
20
|
-
calcProjLength(direction) {
|
|
21
|
-
throw new Error("QuadraticBezierCurve暂不支持updateLength");
|
|
22
|
-
}
|
|
23
|
-
draw(path, percent) {
|
|
24
|
-
throw new Error("暂不支持");
|
|
25
|
-
}
|
|
26
|
-
getYAt(x) {
|
|
27
|
-
throw new Error("QuadraticBezierCurve暂不支持getYAt");
|
|
28
|
-
}
|
|
29
|
-
includeX(x) {
|
|
30
|
-
throw new Error("QuadraticBezierCurve暂不支持includeX");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=ellipse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/common/segment/curve/ellipse.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,OAAO,YAAa,SAAQ,KAAK;IASrC,YACE,EAAU,EACV,OAAe,EACf,OAAe,EACf,QAAgB,EAChB,UAAkB,EAClB,QAAgB,EAChB,aAAuB;QAEvB,KAAK,EAAE,CAAC;QAjBV,SAAI,GAAW,aAAa,CAAC,YAAY,CAAC;QAkBxC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IACD,UAAU,CAAC,CAAS;QAClB,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAChD,CAAC;IACD,UAAU,CAAC,CAAS;QAClB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC5C,CAAC;IACS,UAAU;QAClB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAClD,CAAC;IACS,cAAc,CAAC,SAAqB;QAC5C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IAED,IAAI,CAAC,IAAa,EAAE,OAAe;QACjC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;IACD,MAAM,CAAC,CAAS;QACd,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IACD,QAAQ,CAAC,CAAS;QAChB,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;CACF","file":"ellipse.js","sourcesContent":["import type { IPoint, IPointLike } from '@visactor/vutils';\nimport type { IEllipseCurve, IDirection, IPath2D } from '../../../interface';\nimport { Curve } from './base';\nimport { CurveTypeEnum } from '../../enums';\n\nexport class EllipseCurve extends Curve implements IEllipseCurve {\n type: number = CurveTypeEnum.EllipseCurve;\n declare p0: IPoint;\n declare radiusX: number;\n declare radiusY: number;\n declare rotation: number;\n declare startAngle: number;\n declare endAngle: number;\n declare anticlockwise?: boolean;\n constructor(\n p0: IPoint,\n radiusX: number,\n radiusY: number,\n rotation: number,\n startAngle: number,\n endAngle: number,\n anticlockwise?: boolean\n ) {\n super();\n this.p0 = p0;\n this.radiusX = radiusX;\n this.radiusY = radiusY;\n this.rotation = rotation;\n this.startAngle = startAngle;\n this.endAngle = endAngle;\n this.anticlockwise = anticlockwise;\n }\n getPointAt(t: number): IPointLike {\n throw new Error('EllipseCurve暂不支持getPointAt');\n }\n getAngleAt(t: number): number {\n throw new Error('ArcCurve暂不支持getAngleAt');\n }\n protected calcLength(): number {\n throw new Error('EllipseCurve暂不支持updateLength');\n }\n protected calcProjLength(direction: IDirection): number {\n throw new Error('QuadraticBezierCurve暂不支持updateLength');\n }\n\n draw(path: IPath2D, percent: number) {\n throw new Error('暂不支持');\n }\n getYAt(x: number): number {\n throw new Error('QuadraticBezierCurve暂不支持getYAt');\n }\n includeX(x: number): boolean {\n throw new Error('QuadraticBezierCurve暂不支持includeX');\n }\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { IPoint, IPointLike } from '@visactor/vutils';
|
|
2
|
-
import type { IMoveCurve, IDirection, IPath2D } from '../../../interface';
|
|
3
|
-
import { Curve } from './base';
|
|
4
|
-
export declare class MoveCurve extends Curve implements IMoveCurve {
|
|
5
|
-
type: number;
|
|
6
|
-
p0: IPoint;
|
|
7
|
-
p1: IPoint;
|
|
8
|
-
constructor(p0: IPoint, p1: IPoint);
|
|
9
|
-
getAngleAt(t: number): number;
|
|
10
|
-
getPointAt(t: number): IPointLike;
|
|
11
|
-
protected calcLength(): number;
|
|
12
|
-
protected calcProjLength(direction: IDirection): number;
|
|
13
|
-
draw(path: IPath2D, x: number, y: number, sx: number, sy: number, percent: number): void;
|
|
14
|
-
includeX(x: number): boolean;
|
|
15
|
-
getYAt(x: number): number;
|
|
16
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Curve } from "./base";
|
|
2
|
-
|
|
3
|
-
import { CurveTypeEnum } from "../../enums";
|
|
4
|
-
|
|
5
|
-
export class MoveCurve extends Curve {
|
|
6
|
-
constructor(p0, p1) {
|
|
7
|
-
super(), this.type = CurveTypeEnum.MoveCurve, this.p0 = p0, this.p1 = p1;
|
|
8
|
-
}
|
|
9
|
-
getAngleAt(t) {
|
|
10
|
-
throw new Error("ArcCurve暂不支持getAngleAt");
|
|
11
|
-
}
|
|
12
|
-
getPointAt(t) {
|
|
13
|
-
throw new Error("MoveCurve暂不支持getPointAt");
|
|
14
|
-
}
|
|
15
|
-
calcLength() {
|
|
16
|
-
throw new Error("MoveCurve暂不支持updateLength");
|
|
17
|
-
}
|
|
18
|
-
calcProjLength(direction) {
|
|
19
|
-
throw new Error("QuadraticBezierCurve暂不支持updateLength");
|
|
20
|
-
}
|
|
21
|
-
draw(path, x, y, sx, sy, percent) {
|
|
22
|
-
path.moveTo(this.p1.x * sx + x, this.p1.y * sy + y);
|
|
23
|
-
}
|
|
24
|
-
includeX(x) {
|
|
25
|
-
return !1;
|
|
26
|
-
}
|
|
27
|
-
getYAt(x) {
|
|
28
|
-
return 1 / 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=move.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/common/segment/curve/move.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,OAAO,SAAU,SAAQ,KAAK;IAIlC,YAAY,EAAU,EAAE,EAAU;QAChC,KAAK,EAAE,CAAC;QAJV,SAAI,GAAW,aAAa,CAAC,SAAS,CAAC;QAKrC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,CAAC;IACD,UAAU,CAAC,CAAS;QAClB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC5C,CAAC;IACD,UAAU,CAAC,CAAS;QAClB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACS,UAAU;QAClB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC/C,CAAC;IACS,cAAc,CAAC,SAAqB;QAC5C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IAED,IAAI,CAAC,IAAa,EAAE,CAAS,EAAE,CAAS,EAAE,EAAU,EAAE,EAAU,EAAE,OAAe;QAC/E,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IACtD,CAAC;IACD,QAAQ,CAAC,CAAS;QAChB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,CAAC,CAAS;QACd,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF","file":"move.js","sourcesContent":["import type { IPoint, IPointLike } from '@visactor/vutils';\nimport type { IMoveCurve, IDirection, IPath2D } from '../../../interface';\nimport { Curve } from './base';\nimport { CurveTypeEnum } from '../../enums';\n\nexport class MoveCurve extends Curve implements IMoveCurve {\n type: number = CurveTypeEnum.MoveCurve;\n declare p0: IPoint;\n declare p1: IPoint;\n constructor(p0: IPoint, p1: IPoint) {\n super();\n this.p0 = p0;\n this.p1 = p1;\n }\n getAngleAt(t: number): number {\n throw new Error('ArcCurve暂不支持getAngleAt');\n }\n getPointAt(t: number): IPointLike {\n throw new Error('MoveCurve暂不支持getPointAt');\n }\n protected calcLength(): number {\n throw new Error('MoveCurve暂不支持updateLength');\n }\n protected calcProjLength(direction: IDirection): number {\n throw new Error('QuadraticBezierCurve暂不支持updateLength');\n }\n\n draw(path: IPath2D, x: number, y: number, sx: number, sy: number, percent: number) {\n path.moveTo(this.p1.x * sx + x, this.p1.y * sy + y);\n }\n includeX(x: number): boolean {\n return false;\n }\n getYAt(x: number): number {\n return Infinity;\n }\n}\n"]}
|
package/es/common/store.d.ts
DELETED
package/es/common/store.js
DELETED
package/es/common/store.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/common/store.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU;CAAG","file":"store.js","sourcesContent":["class StageStore {}\n"]}
|
package/es/core/application.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ApplicationContribution: unique symbol;
|
package/es/core/application.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/application.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,yBAAyB,CAAC,CAAC","file":"application.js","sourcesContent":["export const ApplicationContribution = Symbol('ApplicationContribution');\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/es/core/global-module.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=global-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/global-module.ts"],"names":[],"mappings":"","file":"global-module.js","sourcesContent":["// import type { IGlobal } from '../interface';\n// legacy container bootstrap has been removed in major cleanup.\n// import { DefaultGlobal } from './global';\n// import envModules from './contributions/env/modules';\n// import { Global } from '../constants';\n\n// const globalModule = new ContainerModule((bind, unbind, isBound) => {\n// // global对象,全局单例模式\n// if (!isBound(Global)) {\n// bind(DefaultGlobal).toSelf().inSingletonScope();\n// bind(Global).toService(DefaultGlobal);\n// }\n// });\n\n// container.load(globalModule);\n// container.load(envModules);\n\n// export const global = container.get<IGlobal>(Global);\n\n// export default globalModule;\n"]}
|
package/es/export.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/es/export.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=export.js.map
|
package/es/export.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export.ts"],"names":[],"mappings":"","file":"export.js","sourcesContent":["// // 导出所有扩展需要的模块\n// // graphic\n// export * from './interface/graphic/circle';\n// export * from './interface/graphic/rect';\n// export * from './interface/graphic/arc';\n// export * from './interface/graphic/area';\n// export * from './interface/graphic/image';\n// export * from './interface/graphic/line';\n// export * from './interface/graphic/path';\n// export * from './interface/graphic/symbol';\n// export * from './interface/graphic/text';\n\n// // render-service\n// export * from './render/render-service';\n// export * from './render/contributions/render/graphic-render';\n// export * from './render/contributions/render/circle-render';\n"]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { IGraphic, IGroup, ILayer, IStage } from '../../interface';
|
|
2
|
-
import { type IDeferredStateConfig, type StatePerfMonitor } from './state-perf-monitor';
|
|
3
|
-
type StateBatchJobKind = 'apply_states';
|
|
4
|
-
type StateBatchIntentKey = string;
|
|
5
|
-
export interface IStateBatchJob {
|
|
6
|
-
id: number;
|
|
7
|
-
kind: StateBatchJobKind;
|
|
8
|
-
intentKey: StateBatchIntentKey;
|
|
9
|
-
status: 'pending' | 'running' | 'completed' | 'cancelled';
|
|
10
|
-
targetStates: string[];
|
|
11
|
-
targetStatesKey: string;
|
|
12
|
-
pendingGraphics: Set<IGraphic>;
|
|
13
|
-
orderedGraphics: IGraphic[];
|
|
14
|
-
config: Required<IDeferredStateConfig>;
|
|
15
|
-
contextOwner: IStage | ILayer | IGroup;
|
|
16
|
-
contextOwnerId: number;
|
|
17
|
-
configFingerprint: string;
|
|
18
|
-
createdAt: number;
|
|
19
|
-
processedCount: number;
|
|
20
|
-
}
|
|
21
|
-
export declare class StateBatchScheduler {
|
|
22
|
-
private readonly stage;
|
|
23
|
-
private readonly perfMonitor?;
|
|
24
|
-
readonly jobsByIntentKey: Map<string, IStateBatchJob>;
|
|
25
|
-
readonly pendingIntentByGraphic: Map<IGraphic<Partial<import("../../interface").IGraphicAttribute>>, string>;
|
|
26
|
-
private nextJobId;
|
|
27
|
-
private readonly runningJobs;
|
|
28
|
-
constructor(stage: IStage, perfMonitor?: StatePerfMonitor);
|
|
29
|
-
schedule(graphics: IGraphic[], targetStates: string[]): void;
|
|
30
|
-
release(): void;
|
|
31
|
-
private resolveEligibility;
|
|
32
|
-
private resolveDeferredContext;
|
|
33
|
-
private classifyGraphicTargetStates;
|
|
34
|
-
private enqueueDeferredIntent;
|
|
35
|
-
private removeGraphicFromPending;
|
|
36
|
-
private removeGraphicFromIntentJob;
|
|
37
|
-
private ensureJobRunning;
|
|
38
|
-
private runJob;
|
|
39
|
-
private waitForNextFrame;
|
|
40
|
-
private commitSynchronously;
|
|
41
|
-
}
|
|
42
|
-
export {};
|