@visactor/vrender 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/cjs/animate/custom-animate.js +1 -2
  2. package/cjs/animate/timeline.js +2 -1
  3. package/cjs/color-string/colorName.js +1 -1
  4. package/cjs/color-string/index.js +1 -1
  5. package/cjs/color-string/interpolate.js +1 -1
  6. package/cjs/common/morphing-utils.js +1 -2
  7. package/cjs/common/polygon.js +1 -0
  8. package/cjs/core/application.js +1 -1
  9. package/cjs/core/camera.js +1 -1
  10. package/cjs/core/core-modules.js +1 -1
  11. package/cjs/event/event-target.js +1 -2
  12. package/cjs/event/type.js +2 -1
  13. package/cjs/graphic/arc.js +1 -1
  14. package/cjs/graphic/arc3d.js +1 -1
  15. package/cjs/graphic/area.js +1 -1
  16. package/cjs/graphic/bounds.js +1 -1
  17. package/cjs/graphic/circle.js +1 -1
  18. package/cjs/graphic/config.js +1 -1
  19. package/cjs/index.js +1 -1
  20. package/cjs/index.js.map +1 -1
  21. package/cjs/render/contributions/render/contributions/rect-contribution-render.js +2 -2
  22. package/cjs/render/contributions/render/contributions/rect-contribution-render.js.map +1 -1
  23. package/dist/vrender.js.js +1 -1
  24. package/dist/vrender.js.min.js +1 -1
  25. package/es/animate/custom-animate.js +1 -2
  26. package/es/animate/timeline.js +2 -1
  27. package/es/color-string/colorName.js +1 -1
  28. package/es/color-string/index.js +1 -1
  29. package/es/color-string/interpolate.js +1 -1
  30. package/es/common/morphing-utils.js +1 -2
  31. package/es/common/polygon.js +2 -1
  32. package/es/core/application.js +1 -1
  33. package/es/core/camera.js +1 -1
  34. package/es/core/core-modules.js +1 -1
  35. package/es/event/event-target.js +1 -2
  36. package/es/event/type.js +2 -1
  37. package/es/graphic/arc.js +1 -1
  38. package/es/graphic/arc3d.js +1 -1
  39. package/es/graphic/area.js +1 -1
  40. package/es/graphic/bounds.js +1 -1
  41. package/es/graphic/circle.js +1 -1
  42. package/es/graphic/config.js +1 -1
  43. package/es/index.js +1 -1
  44. package/es/index.js.map +1 -1
  45. package/es/render/contributions/render/contributions/rect-contribution-render.js +2 -2
  46. package/es/render/contributions/render/contributions/rect-contribution-render.js.map +1 -1
  47. package/es/tsconfig.tsbuildinfo +1 -1
  48. package/package.json +3 -3
  49. package/cjs/allocator/constants.d.ts +0 -11
  50. package/cjs/allocator/constants.js +0 -12
  51. package/cjs/allocator/constants.js.map +0 -1
  52. package/cjs/allocator/index.d.ts +0 -3
  53. package/cjs/allocator/index.js +0 -21
  54. package/cjs/allocator/index.js.map +0 -1
  55. package/cjs/canvas/constants.d.ts +0 -2
  56. package/cjs/canvas/constants.js +0 -7
  57. package/cjs/canvas/constants.js.map +0 -1
  58. package/cjs/canvas/creator.d.ts +0 -3
  59. package/cjs/canvas/creator.js +0 -18
  60. package/cjs/canvas/creator.js.map +0 -1
  61. package/cjs/common/interface.d.ts +0 -1
  62. package/cjs/common/interface.js +0 -1
  63. package/cjs/common/interface.js.map +0 -1
  64. package/cjs/container.d.ts +0 -2
  65. package/cjs/container.js +0 -9
  66. package/cjs/container.js.map +0 -1
  67. package/cjs/core/constants.d.ts +0 -7
  68. package/cjs/core/constants.js +0 -25
  69. package/cjs/core/constants.js.map +0 -1
  70. package/cjs/core/contributions/constants.d.ts +0 -1
  71. package/cjs/core/contributions/constants.js +0 -6
  72. package/cjs/core/contributions/constants.js.map +0 -1
  73. package/cjs/graphic/constant.d.ts +0 -17
  74. package/cjs/graphic/constant.js +0 -22
  75. package/cjs/graphic/constant.js.map +0 -1
  76. package/cjs/graphic/graphic-service/index.d.ts +0 -1
  77. package/cjs/graphic/graphic-service/index.js +0 -21
  78. package/cjs/graphic/graphic-service/index.js.map +0 -1
  79. package/cjs/interface/graphic-creator.d.ts +0 -39
  80. package/cjs/interface/graphic-creator.js +0 -6
  81. package/cjs/interface/graphic-creator.js.map +0 -1
  82. package/es/allocator/constants.d.ts +0 -11
  83. package/es/allocator/constants.js +0 -22
  84. package/es/allocator/constants.js.map +0 -1
  85. package/es/allocator/index.d.ts +0 -3
  86. package/es/allocator/index.js +0 -5
  87. package/es/allocator/index.js.map +0 -1
  88. package/es/canvas/constants.d.ts +0 -2
  89. package/es/canvas/constants.js +0 -4
  90. package/es/canvas/constants.js.map +0 -1
  91. package/es/canvas/creator.d.ts +0 -3
  92. package/es/canvas/creator.js +0 -14
  93. package/es/canvas/creator.js.map +0 -1
  94. package/es/common/interface.d.ts +0 -1
  95. package/es/common/interface.js +0 -1
  96. package/es/common/interface.js.map +0 -1
  97. package/es/container.d.ts +0 -2
  98. package/es/container.js +0 -3
  99. package/es/container.js.map +0 -1
  100. package/es/core/constants.d.ts +0 -7
  101. package/es/core/constants.js +0 -14
  102. package/es/core/constants.js.map +0 -1
  103. package/es/core/contributions/constants.d.ts +0 -1
  104. package/es/core/contributions/constants.js +0 -2
  105. package/es/core/contributions/constants.js.map +0 -1
  106. package/es/graphic/constant.d.ts +0 -17
  107. package/es/graphic/constant.js +0 -38
  108. package/es/graphic/constant.js.map +0 -1
  109. package/es/graphic/graphic-service/index.d.ts +0 -1
  110. package/es/graphic/graphic-service/index.js +0 -2
  111. package/es/graphic/graphic-service/index.js.map +0 -1
  112. package/es/interface/graphic-creator.d.ts +0 -39
  113. package/es/interface/graphic-creator.js +0 -2
  114. package/es/interface/graphic-creator.js.map +0 -1
@@ -1,39 +0,0 @@
1
- import { IGraphic } from './graphic';
2
- import { IArc, IArcGraphicAttribute } from './graphic/arc';
3
- import { IArc3d, IArc3dGraphicAttribute } from './graphic/arc3d';
4
- import { IArea, IAreaGraphicAttribute } from './graphic/area';
5
- import { ICircle, ICircleGraphicAttribute } from './graphic/circle';
6
- import { IGlyph, IGlyphGraphicAttribute } from './graphic/glyph';
7
- import { IGroup, IGroupGraphicAttribute } from './graphic/group';
8
- import { IImage, IImageGraphicAttribute } from './graphic/image';
9
- import { ILine, ILineGraphicAttribute } from './graphic/line';
10
- import { IPath, IPathGraphicAttribute } from './graphic/path';
11
- import { IPolygon, IPolygonGraphicAttribute } from './graphic/polygon';
12
- import { IPyramid3d, IPyramid3dGraphicAttribute } from './graphic/pyramid3d';
13
- import { IRect, IRectGraphicAttribute } from './graphic/rect';
14
- import { IRect3d, IRect3dGraphicAttribute } from './graphic/rect3d';
15
- import { IRichText, IRichTextGraphicAttribute } from './graphic/richText';
16
- import { IShadowRoot } from './graphic/shadow-root';
17
- import { ISymbol, ISymbolGraphicAttribute } from './graphic/symbol';
18
- import { IText, ITextGraphicAttribute, IWrapTextGraphicAttribute } from './graphic/text';
19
- export interface IGraphicCreator {
20
- arc: (attributes: IArcGraphicAttribute) => IArc;
21
- area: (attributes: IAreaGraphicAttribute) => IArea;
22
- circle: (attributes: ICircleGraphicAttribute) => ICircle;
23
- group: (attributes: IGroupGraphicAttribute) => IGroup;
24
- image: (attributes: IImageGraphicAttribute) => IImage;
25
- line: (attributes: ILineGraphicAttribute) => ILine;
26
- path: (attributes: IPathGraphicAttribute) => IPath;
27
- rect: (attributes: IRectGraphicAttribute) => IRect;
28
- rect3d: (attributes: IRect3dGraphicAttribute) => IRect3d;
29
- symbol: (attributes: ISymbolGraphicAttribute) => ISymbol;
30
- text: (attributes: ITextGraphicAttribute) => IText;
31
- richtext: (attributes: IRichTextGraphicAttribute) => IRichText;
32
- polygon: (attributes: IPolygonGraphicAttribute) => IPolygon;
33
- shadowRoot: (graphic?: IGraphic) => IShadowRoot;
34
- wrapText: (attributes: IWrapTextGraphicAttribute) => IText;
35
- glyph: (attributes: IGlyphGraphicAttribute) => IGlyph;
36
- arc3d: (attributes: IArc3dGraphicAttribute) => IArc3d;
37
- pyramid3d: (attributes: IPyramid3dGraphicAttribute) => IPyramid3d;
38
- }
39
- export declare const GraphicCreator: unique symbol;
@@ -1,2 +0,0 @@
1
- export const GraphicCreator = Symbol.for("GraphicCreator");
2
- //# sourceMappingURL=graphic-creator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/interface/graphic-creator.ts"],"names":[],"mappings":"AAwCA,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC","file":"graphic-creator.js","sourcesContent":["import { IGraphic } from './graphic';\nimport { IArc, IArcGraphicAttribute } from './graphic/arc';\nimport { IArc3d, IArc3dGraphicAttribute } from './graphic/arc3d';\nimport { IArea, IAreaGraphicAttribute } from './graphic/area';\nimport { ICircle, ICircleGraphicAttribute } from './graphic/circle';\nimport { IGlyph, IGlyphGraphicAttribute } from './graphic/glyph';\nimport { IGroup, IGroupGraphicAttribute } from './graphic/group';\nimport { IImage, IImageGraphicAttribute } from './graphic/image';\nimport { ILine, ILineGraphicAttribute } from './graphic/line';\nimport { IPath, IPathGraphicAttribute } from './graphic/path';\nimport { IPolygon, IPolygonGraphicAttribute } from './graphic/polygon';\nimport { IPyramid3d, IPyramid3dGraphicAttribute } from './graphic/pyramid3d';\nimport { IRect, IRectGraphicAttribute } from './graphic/rect';\nimport { IRect3d, IRect3dGraphicAttribute } from './graphic/rect3d';\nimport { IRichText, IRichTextGraphicAttribute } from './graphic/richText';\nimport { IShadowRoot } from './graphic/shadow-root';\nimport { ISymbol, ISymbolGraphicAttribute } from './graphic/symbol';\nimport { IText, ITextGraphicAttribute, IWrapTextGraphicAttribute } from './graphic/text';\n\nexport interface 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 glyph: (attributes: IGlyphGraphicAttribute) => IGlyph;\n arc3d: (attributes: IArc3dGraphicAttribute) => IArc3d;\n pyramid3d: (attributes: IPyramid3dGraphicAttribute) => IPyramid3d;\n}\n\nexport const GraphicCreator = Symbol.for('GraphicCreator');\n"]}