@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.
Files changed (2140) hide show
  1. package/README.md +9 -0
  2. package/cjs/allocator/allocator-modules.d.ts +1 -0
  3. package/cjs/allocator/allocator-modules.js +1 -0
  4. package/cjs/allocator/allocator-modules.js.map +1 -0
  5. package/cjs/allocator/canvas-allocate.d.ts +14 -0
  6. package/cjs/allocator/canvas-allocate.js +46 -0
  7. package/cjs/allocator/canvas-allocate.js.map +1 -0
  8. package/cjs/allocator/constants.d.ts +9 -0
  9. package/cjs/allocator/constants.js +11 -0
  10. package/cjs/allocator/constants.js.map +1 -0
  11. package/cjs/allocator/graphic-allocate.d.ts +1 -0
  12. package/cjs/allocator/graphic-allocate.js +1 -0
  13. package/cjs/allocator/graphic-allocate.js.map +1 -0
  14. package/cjs/allocator/matrix-allocate.d.ts +25 -0
  15. package/cjs/allocator/matrix-allocate.js +77 -0
  16. package/cjs/allocator/matrix-allocate.js.map +1 -0
  17. package/cjs/allocator/point-allocate.d.ts +1 -0
  18. package/cjs/allocator/point-allocate.js +1 -0
  19. package/cjs/allocator/point-allocate.js.map +1 -0
  20. package/cjs/animate/Ticker/default-ticker.d.ts +87 -0
  21. package/cjs/animate/Ticker/default-ticker.js +244 -0
  22. package/cjs/animate/Ticker/default-ticker.js.map +1 -0
  23. package/cjs/animate/Ticker/index.d.ts +1 -0
  24. package/cjs/animate/Ticker/index.js +21 -0
  25. package/cjs/animate/Ticker/index.js.map +1 -0
  26. package/cjs/animate/animate.d.ts +146 -0
  27. package/cjs/animate/animate.js +395 -0
  28. package/cjs/animate/animate.js.map +1 -0
  29. package/cjs/animate/config.d.ts +3 -0
  30. package/cjs/animate/config.js +13 -0
  31. package/cjs/animate/config.js.map +1 -0
  32. package/cjs/animate/custom-animate.d.ts +229 -0
  33. package/cjs/animate/custom-animate.js +643 -0
  34. package/cjs/animate/custom-animate.js.map +1 -0
  35. package/cjs/animate/default-ticker.d.ts +2 -0
  36. package/cjs/animate/default-ticker.js +13 -0
  37. package/cjs/animate/default-ticker.js.map +1 -0
  38. package/cjs/animate/easing.d.ts +45 -0
  39. package/cjs/animate/easing.js +118 -0
  40. package/cjs/animate/easing.js.map +1 -0
  41. package/cjs/animate/index.d.ts +6 -0
  42. package/cjs/animate/index.js +23 -0
  43. package/cjs/animate/index.js.map +1 -0
  44. package/cjs/animate/morphing.d.ts +52 -0
  45. package/cjs/animate/morphing.js +289 -0
  46. package/cjs/animate/morphing.js.map +1 -0
  47. package/cjs/animate/timeline.d.ts +17 -0
  48. package/cjs/animate/timeline.js +46 -0
  49. package/cjs/animate/timeline.js.map +1 -0
  50. package/cjs/application.d.ts +11 -0
  51. package/cjs/application.js +9 -0
  52. package/cjs/application.js.map +1 -0
  53. package/cjs/canvas/conical-gradient.d.ts +12 -0
  54. package/cjs/canvas/conical-gradient.js +124 -0
  55. package/cjs/canvas/conical-gradient.js.map +1 -0
  56. package/cjs/canvas/constants.d.ts +2 -0
  57. package/cjs/canvas/constants.js +7 -0
  58. package/cjs/canvas/constants.js.map +1 -0
  59. package/cjs/canvas/contributions/base-canvas.d.ts +52 -0
  60. package/cjs/canvas/contributions/base-canvas.js +107 -0
  61. package/cjs/canvas/contributions/base-canvas.js.map +1 -0
  62. package/cjs/canvas/empty-context.d.ts +97 -0
  63. package/cjs/canvas/empty-context.js +209 -0
  64. package/cjs/canvas/empty-context.js.map +1 -0
  65. package/cjs/canvas/index.d.ts +4 -0
  66. package/cjs/canvas/index.js +22 -0
  67. package/cjs/canvas/index.js.map +1 -0
  68. package/cjs/canvas/util.d.ts +24 -0
  69. package/cjs/canvas/util.js +399 -0
  70. package/cjs/canvas/util.js.map +1 -0
  71. package/cjs/color-string/colorName.d.ts +2 -0
  72. package/cjs/color-string/colorName.js +13 -0
  73. package/cjs/color-string/colorName.js.map +1 -0
  74. package/cjs/color-string/index.d.ts +3 -0
  75. package/cjs/color-string/index.js +22 -0
  76. package/cjs/color-string/index.js.map +1 -0
  77. package/cjs/color-string/interpolate.d.ts +7 -0
  78. package/cjs/color-string/interpolate.js +103 -0
  79. package/cjs/color-string/interpolate.js.map +1 -0
  80. package/cjs/color-string/store.d.ts +11 -0
  81. package/cjs/color-string/store.js +54 -0
  82. package/cjs/color-string/store.js.map +1 -0
  83. package/cjs/common/Reflect-metadata.d.ts +2 -0
  84. package/cjs/common/Reflect-metadata.js +392 -0
  85. package/cjs/common/Reflect-metadata.js.map +1 -0
  86. package/cjs/common/bezier-utils.d.ts +5 -0
  87. package/cjs/common/bezier-utils.js +35 -0
  88. package/cjs/common/bezier-utils.js.map +1 -0
  89. package/cjs/common/bounds-context.d.ts +18 -0
  90. package/cjs/common/bounds-context.js +59 -0
  91. package/cjs/common/bounds-context.js.map +1 -0
  92. package/cjs/common/canvas-utils.d.ts +8 -0
  93. package/cjs/common/canvas-utils.js +73 -0
  94. package/cjs/common/canvas-utils.js.map +1 -0
  95. package/cjs/common/contribution-provider.d.ts +4 -0
  96. package/cjs/common/contribution-provider.js +27 -0
  97. package/cjs/common/contribution-provider.js.map +1 -0
  98. package/cjs/common/custom-path2d.d.ts +47 -0
  99. package/cjs/common/custom-path2d.js +333 -0
  100. package/cjs/common/custom-path2d.js.map +1 -0
  101. package/cjs/common/enums.d.ts +70 -0
  102. package/cjs/common/enums.js +49 -0
  103. package/cjs/common/enums.js.map +1 -0
  104. package/cjs/common/generator.d.ts +4 -0
  105. package/cjs/common/generator.js +14 -0
  106. package/cjs/common/generator.js.map +1 -0
  107. package/cjs/common/inversify-lite/annotation/decorator_utils.d.ts +16 -0
  108. package/cjs/common/inversify-lite/annotation/decorator_utils.js +97 -0
  109. package/cjs/common/inversify-lite/annotation/decorator_utils.js.map +1 -0
  110. package/cjs/common/inversify-lite/annotation/inject.d.ts +2 -0
  111. package/cjs/common/inversify-lite/annotation/inject.js +36 -0
  112. package/cjs/common/inversify-lite/annotation/inject.js.map +1 -0
  113. package/cjs/common/inversify-lite/annotation/inject_base.d.ts +3 -0
  114. package/cjs/common/inversify-lite/annotation/inject_base.js +20 -0
  115. package/cjs/common/inversify-lite/annotation/inject_base.js.map +1 -0
  116. package/cjs/common/inversify-lite/annotation/injectable.d.ts +2 -0
  117. package/cjs/common/inversify-lite/annotation/injectable.js +48 -0
  118. package/cjs/common/inversify-lite/annotation/injectable.js.map +1 -0
  119. package/cjs/common/inversify-lite/annotation/lazy_service_identifier.d.ts +7 -0
  120. package/cjs/common/inversify-lite/annotation/lazy_service_identifier.js +17 -0
  121. package/cjs/common/inversify-lite/annotation/lazy_service_identifier.js.map +1 -0
  122. package/cjs/common/inversify-lite/annotation/multi_inject.d.ts +2 -0
  123. package/cjs/common/inversify-lite/annotation/multi_inject.js +36 -0
  124. package/cjs/common/inversify-lite/annotation/multi_inject.js.map +1 -0
  125. package/cjs/common/inversify-lite/annotation/named.d.ts +2 -0
  126. package/cjs/common/inversify-lite/annotation/named.js +39 -0
  127. package/cjs/common/inversify-lite/annotation/named.js.map +1 -0
  128. package/cjs/common/inversify-lite/annotation/post_construct.d.ts +4 -0
  129. package/cjs/common/inversify-lite/annotation/post_construct.js +36 -0
  130. package/cjs/common/inversify-lite/annotation/post_construct.js.map +1 -0
  131. package/cjs/common/inversify-lite/annotation/property_event_decorator.d.ts +4 -0
  132. package/cjs/common/inversify-lite/annotation/property_event_decorator.js +24 -0
  133. package/cjs/common/inversify-lite/annotation/property_event_decorator.js.map +1 -0
  134. package/cjs/common/inversify-lite/bindings/binding.d.ts +20 -0
  135. package/cjs/common/inversify-lite/bindings/binding.js +27 -0
  136. package/cjs/common/inversify-lite/bindings/binding.js.map +1 -0
  137. package/cjs/common/inversify-lite/bindings/binding_count.d.ts +5 -0
  138. package/cjs/common/inversify-lite/bindings/binding_count.js +10 -0
  139. package/cjs/common/inversify-lite/bindings/binding_count.js.map +1 -0
  140. package/cjs/common/inversify-lite/constants/error_msgs.d.ts +32 -0
  141. package/cjs/common/inversify-lite/constants/error_msgs.js +50 -0
  142. package/cjs/common/inversify-lite/constants/error_msgs.js.map +1 -0
  143. package/cjs/common/inversify-lite/constants/literal_types.d.ts +5 -0
  144. package/cjs/common/inversify-lite/constants/literal_types.js +35 -0
  145. package/cjs/common/inversify-lite/constants/literal_types.js.map +1 -0
  146. package/cjs/common/inversify-lite/constants/metadata_keys.d.ts +13 -0
  147. package/cjs/common/inversify-lite/constants/metadata_keys.js +16 -0
  148. package/cjs/common/inversify-lite/constants/metadata_keys.js.map +1 -0
  149. package/cjs/common/inversify-lite/container/container.d.ts +46 -0
  150. package/cjs/common/inversify-lite/container/container.js +292 -0
  151. package/cjs/common/inversify-lite/container/container.js.map +1 -0
  152. package/cjs/common/inversify-lite/container/container_module.d.ts +11 -0
  153. package/cjs/common/inversify-lite/container/container_module.js +24 -0
  154. package/cjs/common/inversify-lite/container/container_module.js.map +1 -0
  155. package/cjs/common/inversify-lite/container/lookup.d.ts +16 -0
  156. package/cjs/common/inversify-lite/container/lookup.js +97 -0
  157. package/cjs/common/inversify-lite/container/lookup.js.map +1 -0
  158. package/cjs/common/inversify-lite/index.d.ts +8 -0
  159. package/cjs/common/inversify-lite/index.js +84 -0
  160. package/cjs/common/inversify-lite/index.js.map +1 -0
  161. package/cjs/common/inversify-lite/interfaces/interfaces.d.ts +239 -0
  162. package/cjs/common/inversify-lite/interfaces/interfaces.js +6 -0
  163. package/cjs/common/inversify-lite/interfaces/interfaces.js.map +1 -0
  164. package/cjs/common/inversify-lite/planning/context.d.ts +11 -0
  165. package/cjs/common/inversify-lite/planning/context.js +22 -0
  166. package/cjs/common/inversify-lite/planning/context.js.map +1 -0
  167. package/cjs/common/inversify-lite/planning/metadata.d.ts +8 -0
  168. package/cjs/common/inversify-lite/planning/metadata.js +44 -0
  169. package/cjs/common/inversify-lite/planning/metadata.js.map +1 -0
  170. package/cjs/common/inversify-lite/planning/metadata_reader.d.ts +6 -0
  171. package/cjs/common/inversify-lite/planning/metadata_reader.js +51 -0
  172. package/cjs/common/inversify-lite/planning/metadata_reader.js.map +1 -0
  173. package/cjs/common/inversify-lite/planning/plan.d.ts +7 -0
  174. package/cjs/common/inversify-lite/planning/plan.js +14 -0
  175. package/cjs/common/inversify-lite/planning/plan.js.map +1 -0
  176. package/cjs/common/inversify-lite/planning/planner.d.ts +5 -0
  177. package/cjs/common/inversify-lite/planning/planner.js +132 -0
  178. package/cjs/common/inversify-lite/planning/planner.js.map +1 -0
  179. package/cjs/common/inversify-lite/planning/queryable_string.d.ts +11 -0
  180. package/cjs/common/inversify-lite/planning/queryable_string.js +33 -0
  181. package/cjs/common/inversify-lite/planning/queryable_string.js.map +1 -0
  182. package/cjs/common/inversify-lite/planning/reflection_utils.d.ts +5 -0
  183. package/cjs/common/inversify-lite/planning/reflection_utils.js +129 -0
  184. package/cjs/common/inversify-lite/planning/reflection_utils.js.map +1 -0
  185. package/cjs/common/inversify-lite/planning/request.d.ts +14 -0
  186. package/cjs/common/inversify-lite/planning/request.js +22 -0
  187. package/cjs/common/inversify-lite/planning/request.js.map +1 -0
  188. package/cjs/common/inversify-lite/planning/target.d.ts +23 -0
  189. package/cjs/common/inversify-lite/planning/target.js +81 -0
  190. package/cjs/common/inversify-lite/planning/target.js.map +1 -0
  191. package/cjs/common/inversify-lite/resolution/instantiation.d.ts +3 -0
  192. package/cjs/common/inversify-lite/resolution/instantiation.js +143 -0
  193. package/cjs/common/inversify-lite/resolution/instantiation.js.map +1 -0
  194. package/cjs/common/inversify-lite/resolution/resolver.d.ts +3 -0
  195. package/cjs/common/inversify-lite/resolution/resolver.js +74 -0
  196. package/cjs/common/inversify-lite/resolution/resolver.js.map +1 -0
  197. package/cjs/common/inversify-lite/scope/scope.d.ts +3 -0
  198. package/cjs/common/inversify-lite/scope/scope.js +56 -0
  199. package/cjs/common/inversify-lite/scope/scope.js.map +1 -0
  200. package/cjs/common/inversify-lite/syntax/binding_in_syntax.d.ts +9 -0
  201. package/cjs/common/inversify-lite/syntax/binding_in_syntax.js +25 -0
  202. package/cjs/common/inversify-lite/syntax/binding_in_syntax.js.map +1 -0
  203. package/cjs/common/inversify-lite/syntax/binding_in_when_on_syntax.d.ts +12 -0
  204. package/cjs/common/inversify-lite/syntax/binding_in_when_on_syntax.js +29 -0
  205. package/cjs/common/inversify-lite/syntax/binding_in_when_on_syntax.js.map +1 -0
  206. package/cjs/common/inversify-lite/syntax/binding_on_syntax.d.ts +6 -0
  207. package/cjs/common/inversify-lite/syntax/binding_on_syntax.js +14 -0
  208. package/cjs/common/inversify-lite/syntax/binding_on_syntax.js.map +1 -0
  209. package/cjs/common/inversify-lite/syntax/binding_to_syntax.d.ts +18 -0
  210. package/cjs/common/inversify-lite/syntax/binding_to_syntax.js +88 -0
  211. package/cjs/common/inversify-lite/syntax/binding_to_syntax.js.map +1 -0
  212. package/cjs/common/inversify-lite/syntax/binding_when_on_syntax.d.ts +8 -0
  213. package/cjs/common/inversify-lite/syntax/binding_when_on_syntax.js +19 -0
  214. package/cjs/common/inversify-lite/syntax/binding_when_on_syntax.js.map +1 -0
  215. package/cjs/common/inversify-lite/syntax/binding_when_syntax.d.ts +7 -0
  216. package/cjs/common/inversify-lite/syntax/binding_when_syntax.js +20 -0
  217. package/cjs/common/inversify-lite/syntax/binding_when_syntax.js.map +1 -0
  218. package/cjs/common/inversify-lite/syntax/constraint_helpers.d.ts +3 -0
  219. package/cjs/common/inversify-lite/syntax/constraint_helpers.js +38 -0
  220. package/cjs/common/inversify-lite/syntax/constraint_helpers.js.map +1 -0
  221. package/cjs/common/inversify-lite/utils/async.d.ts +3 -0
  222. package/cjs/common/inversify-lite/utils/async.js +15 -0
  223. package/cjs/common/inversify-lite/utils/async.js.map +1 -0
  224. package/cjs/common/inversify-lite/utils/binding_utils.d.ts +4 -0
  225. package/cjs/common/inversify-lite/utils/binding_utils.js +94 -0
  226. package/cjs/common/inversify-lite/utils/binding_utils.js.map +1 -0
  227. package/cjs/common/inversify-lite/utils/clonable.d.ts +3 -0
  228. package/cjs/common/inversify-lite/utils/clonable.js +10 -0
  229. package/cjs/common/inversify-lite/utils/clonable.js.map +1 -0
  230. package/cjs/common/inversify-lite/utils/exceptions.d.ts +2 -0
  231. package/cjs/common/inversify-lite/utils/exceptions.js +43 -0
  232. package/cjs/common/inversify-lite/utils/exceptions.js.map +1 -0
  233. package/cjs/common/inversify-lite/utils/factory_type.d.ts +5 -0
  234. package/cjs/common/inversify-lite/utils/factory_type.js +11 -0
  235. package/cjs/common/inversify-lite/utils/factory_type.js.map +1 -0
  236. package/cjs/common/inversify-lite/utils/id.d.ts +2 -0
  237. package/cjs/common/inversify-lite/utils/id.js +14 -0
  238. package/cjs/common/inversify-lite/utils/id.js.map +1 -0
  239. package/cjs/common/inversify-lite/utils/js.d.ts +1 -0
  240. package/cjs/common/inversify-lite/utils/js.js +14 -0
  241. package/cjs/common/inversify-lite/utils/js.js.map +1 -0
  242. package/cjs/common/inversify-lite/utils/serialization.d.ts +10 -0
  243. package/cjs/common/inversify-lite/utils/serialization.js +99 -0
  244. package/cjs/common/inversify-lite/utils/serialization.js.map +1 -0
  245. package/cjs/common/matrix.d.ts +5 -0
  246. package/cjs/common/matrix.js +54 -0
  247. package/cjs/common/matrix.js.map +1 -0
  248. package/cjs/common/morphing-utils.d.ts +17 -0
  249. package/cjs/common/morphing-utils.js +295 -0
  250. package/cjs/common/morphing-utils.js.map +1 -0
  251. package/cjs/common/path-svg.d.ts +12 -0
  252. package/cjs/common/path-svg.js +64 -0
  253. package/cjs/common/path-svg.js.map +1 -0
  254. package/cjs/common/polygon.d.ts +4 -0
  255. package/cjs/common/polygon.js +46 -0
  256. package/cjs/common/polygon.js.map +1 -0
  257. package/cjs/common/render-area.d.ts +11 -0
  258. package/cjs/common/render-area.js +136 -0
  259. package/cjs/common/render-area.js.map +1 -0
  260. package/cjs/common/render-command-list.d.ts +2 -0
  261. package/cjs/common/render-command-list.js +17 -0
  262. package/cjs/common/render-command-list.js.map +1 -0
  263. package/cjs/common/render-curve.d.ts +18 -0
  264. package/cjs/common/render-curve.js +123 -0
  265. package/cjs/common/render-curve.js.map +1 -0
  266. package/cjs/common/seg-context.d.ts +36 -0
  267. package/cjs/common/seg-context.js +98 -0
  268. package/cjs/common/seg-context.js.map +1 -0
  269. package/cjs/common/segment/basis.d.ts +28 -0
  270. package/cjs/common/segment/basis.js +69 -0
  271. package/cjs/common/segment/basis.js.map +1 -0
  272. package/cjs/common/segment/common.d.ts +3 -0
  273. package/cjs/common/segment/common.js +12 -0
  274. package/cjs/common/segment/common.js.map +1 -0
  275. package/cjs/common/segment/curve/arc.d.ts +14 -0
  276. package/cjs/common/segment/curve/arc.js +29 -0
  277. package/cjs/common/segment/curve/arc.js.map +1 -0
  278. package/cjs/common/segment/curve/base.d.ts +13 -0
  279. package/cjs/common/segment/curve/base.js +15 -0
  280. package/cjs/common/segment/curve/base.js.map +1 -0
  281. package/cjs/common/segment/curve/cubic-bezier.d.ts +19 -0
  282. package/cjs/common/segment/curve/cubic-bezier.js +42 -0
  283. package/cjs/common/segment/curve/cubic-bezier.js.map +1 -0
  284. package/cjs/common/segment/curve/curve-context.d.ts +19 -0
  285. package/cjs/common/segment/curve/curve-context.js +48 -0
  286. package/cjs/common/segment/curve/curve-context.js.map +1 -0
  287. package/cjs/common/segment/curve/ellipse.d.ts +18 -0
  288. package/cjs/common/segment/curve/ellipse.js +30 -0
  289. package/cjs/common/segment/curve/ellipse.js.map +1 -0
  290. package/cjs/common/segment/curve/line.d.ts +18 -0
  291. package/cjs/common/segment/curve/line.js +41 -0
  292. package/cjs/common/segment/curve/line.js.map +1 -0
  293. package/cjs/common/segment/curve/move.d.ts +13 -0
  294. package/cjs/common/segment/curve/move.js +28 -0
  295. package/cjs/common/segment/curve/move.js.map +1 -0
  296. package/cjs/common/segment/curve/path.d.ts +11 -0
  297. package/cjs/common/segment/curve/path.js +31 -0
  298. package/cjs/common/segment/curve/path.js.map +1 -0
  299. package/cjs/common/segment/curve/quadratic-bezier.d.ts +16 -0
  300. package/cjs/common/segment/curve/quadratic-bezier.js +29 -0
  301. package/cjs/common/segment/curve/quadratic-bezier.js.map +1 -0
  302. package/cjs/common/segment/index.d.ts +11 -0
  303. package/cjs/common/segment/index.js +57 -0
  304. package/cjs/common/segment/index.js.map +1 -0
  305. package/cjs/common/segment/linear-closed.d.ts +24 -0
  306. package/cjs/common/segment/linear-closed.js +60 -0
  307. package/cjs/common/segment/linear-closed.js.map +1 -0
  308. package/cjs/common/segment/linear.d.ts +24 -0
  309. package/cjs/common/segment/linear.js +59 -0
  310. package/cjs/common/segment/linear.js.map +1 -0
  311. package/cjs/common/segment/monotone.d.ts +36 -0
  312. package/cjs/common/segment/monotone.js +129 -0
  313. package/cjs/common/segment/monotone.js.map +1 -0
  314. package/cjs/common/segment/step.d.ts +26 -0
  315. package/cjs/common/segment/step.js +65 -0
  316. package/cjs/common/segment/step.js.map +1 -0
  317. package/cjs/common/shape/arc.d.ts +5 -0
  318. package/cjs/common/shape/arc.js +50 -0
  319. package/cjs/common/shape/arc.js.map +1 -0
  320. package/cjs/common/shape/rect.d.ts +2 -0
  321. package/cjs/common/shape/rect.js +54 -0
  322. package/cjs/common/shape/rect.js.map +1 -0
  323. package/cjs/common/sort.d.ts +4 -0
  324. package/cjs/common/sort.js +101 -0
  325. package/cjs/common/sort.js.map +1 -0
  326. package/cjs/common/split-path.d.ts +44 -0
  327. package/cjs/common/split-path.js +272 -0
  328. package/cjs/common/split-path.js.map +1 -0
  329. package/cjs/common/store.d.ts +2 -0
  330. package/cjs/common/store.js +1 -0
  331. package/cjs/common/store.js.map +1 -0
  332. package/cjs/common/text.d.ts +6 -0
  333. package/cjs/common/text.js +27 -0
  334. package/cjs/common/text.js.map +1 -0
  335. package/cjs/common/utils.d.ts +40 -0
  336. package/cjs/common/utils.js +154 -0
  337. package/cjs/common/utils.js.map +1 -0
  338. package/cjs/common/xml/OrderedObjParser.d.ts +19 -0
  339. package/cjs/common/xml/OrderedObjParser.js +130 -0
  340. package/cjs/common/xml/OrderedObjParser.js.map +1 -0
  341. package/cjs/common/xml/index.d.ts +1 -0
  342. package/cjs/common/xml/index.js +21 -0
  343. package/cjs/common/xml/index.js.map +1 -0
  344. package/cjs/common/xml/node2json.d.ts +1 -0
  345. package/cjs/common/xml/node2json.js +47 -0
  346. package/cjs/common/xml/node2json.js.map +1 -0
  347. package/cjs/common/xml/parser.d.ts +10 -0
  348. package/cjs/common/xml/parser.js +33 -0
  349. package/cjs/common/xml/parser.js.map +1 -0
  350. package/cjs/common/xml/type.d.ts +1 -0
  351. package/cjs/common/xml/type.js +6 -0
  352. package/cjs/common/xml/type.js.map +1 -0
  353. package/cjs/common/xml/utils.d.ts +1 -0
  354. package/cjs/common/xml/utils.js +23 -0
  355. package/cjs/common/xml/utils.js.map +1 -0
  356. package/cjs/constants.d.ts +2 -0
  357. package/cjs/constants.js +7 -0
  358. package/cjs/constants.js.map +1 -0
  359. package/cjs/container.d.ts +2 -0
  360. package/cjs/container.js +10 -0
  361. package/cjs/container.js.map +1 -0
  362. package/cjs/core/application.d.ts +1 -0
  363. package/cjs/core/application.js +6 -0
  364. package/cjs/core/application.js.map +1 -0
  365. package/cjs/core/camera.d.ts +19 -0
  366. package/cjs/core/camera.js +68 -0
  367. package/cjs/core/camera.js.map +1 -0
  368. package/cjs/core/constants.d.ts +3 -0
  369. package/cjs/core/constants.js +8 -0
  370. package/cjs/core/constants.js.map +1 -0
  371. package/cjs/core/contributions/env/base-contribution.d.ts +58 -0
  372. package/cjs/core/contributions/env/base-contribution.js +84 -0
  373. package/cjs/core/contributions/env/base-contribution.js.map +1 -0
  374. package/cjs/core/contributions/env/modules.d.ts +3 -0
  375. package/cjs/core/contributions/env/modules.js +12 -0
  376. package/cjs/core/contributions/env/modules.js.map +1 -0
  377. package/cjs/core/contributions/index.d.ts +4 -0
  378. package/cjs/core/contributions/index.js +31 -0
  379. package/cjs/core/contributions/index.js.map +1 -0
  380. package/cjs/core/contributions/layerHandler/canvas2d-contribution.d.ts +22 -0
  381. package/cjs/core/contributions/layerHandler/canvas2d-contribution.js +93 -0
  382. package/cjs/core/contributions/layerHandler/canvas2d-contribution.js.map +1 -0
  383. package/cjs/core/contributions/layerHandler/modules.d.ts +3 -0
  384. package/cjs/core/contributions/layerHandler/modules.js +13 -0
  385. package/cjs/core/contributions/layerHandler/modules.js.map +1 -0
  386. package/cjs/core/contributions/layerHandler/offscreen2d-contribution.d.ts +20 -0
  387. package/cjs/core/contributions/layerHandler/offscreen2d-contribution.js +78 -0
  388. package/cjs/core/contributions/layerHandler/offscreen2d-contribution.js.map +1 -0
  389. package/cjs/core/contributions/modules.d.ts +2 -0
  390. package/cjs/core/contributions/modules.js +20 -0
  391. package/cjs/core/contributions/modules.js.map +1 -0
  392. package/cjs/core/contributions/textMeasure/AtextMeasure.d.ts +52 -0
  393. package/cjs/core/contributions/textMeasure/AtextMeasure.js +183 -0
  394. package/cjs/core/contributions/textMeasure/AtextMeasure.js.map +1 -0
  395. package/cjs/core/contributions/textMeasure/layout.d.ts +13 -0
  396. package/cjs/core/contributions/textMeasure/layout.js +91 -0
  397. package/cjs/core/contributions/textMeasure/layout.js.map +1 -0
  398. package/cjs/core/contributions/textMeasure/modules.d.ts +3 -0
  399. package/cjs/core/contributions/textMeasure/modules.js +14 -0
  400. package/cjs/core/contributions/textMeasure/modules.js.map +1 -0
  401. package/cjs/core/contributions/textMeasure/textMeasure-contribution.d.ts +4 -0
  402. package/cjs/core/contributions/textMeasure/textMeasure-contribution.js +21 -0
  403. package/cjs/core/contributions/textMeasure/textMeasure-contribution.js.map +1 -0
  404. package/cjs/core/contributions/window/base-contribution.d.ts +49 -0
  405. package/cjs/core/contributions/window/base-contribution.js +44 -0
  406. package/cjs/core/contributions/window/base-contribution.js.map +1 -0
  407. package/cjs/core/core-modules.d.ts +3 -0
  408. package/cjs/core/core-modules.js +16 -0
  409. package/cjs/core/core-modules.js.map +1 -0
  410. package/cjs/core/global-module.d.ts +1 -0
  411. package/cjs/core/global-module.js +1 -0
  412. package/cjs/core/global-module.js.map +1 -0
  413. package/cjs/core/global.d.ts +70 -0
  414. package/cjs/core/global.js +161 -0
  415. package/cjs/core/global.js.map +1 -0
  416. package/cjs/core/graphic-utils.d.ts +40 -0
  417. package/cjs/core/graphic-utils.js +139 -0
  418. package/cjs/core/graphic-utils.js.map +1 -0
  419. package/cjs/core/index.d.ts +9 -0
  420. package/cjs/core/index.js +25 -0
  421. package/cjs/core/index.js.map +1 -0
  422. package/cjs/core/layer-service.d.ts +16 -0
  423. package/cjs/core/layer-service.js +58 -0
  424. package/cjs/core/layer-service.js.map +1 -0
  425. package/cjs/core/layer.d.ts +55 -0
  426. package/cjs/core/layer.js +132 -0
  427. package/cjs/core/layer.js.map +1 -0
  428. package/cjs/core/light.d.ts +11 -0
  429. package/cjs/core/light.js +26 -0
  430. package/cjs/core/light.js.map +1 -0
  431. package/cjs/core/stage.d.ts +148 -0
  432. package/cjs/core/stage.js +435 -0
  433. package/cjs/core/stage.js.map +1 -0
  434. package/cjs/core/window.d.ts +54 -0
  435. package/cjs/core/window.js +126 -0
  436. package/cjs/core/window.js.map +1 -0
  437. package/cjs/create.d.ts +3 -0
  438. package/cjs/create.js +14 -0
  439. package/cjs/create.js.map +1 -0
  440. package/cjs/event/constant.d.ts +1 -0
  441. package/cjs/event/constant.js +6 -0
  442. package/cjs/event/constant.js.map +1 -0
  443. package/cjs/event/event-manager.d.ts +60 -0
  444. package/cjs/event/event-manager.js +277 -0
  445. package/cjs/event/event-manager.js.map +1 -0
  446. package/cjs/event/event-system.d.ts +38 -0
  447. package/cjs/event/event-system.js +201 -0
  448. package/cjs/event/event-system.js.map +1 -0
  449. package/cjs/event/event-target.d.ts +3 -0
  450. package/cjs/event/event-target.js +22 -0
  451. package/cjs/event/event-target.js.map +1 -0
  452. package/cjs/event/federated-event/base-event.d.ts +53 -0
  453. package/cjs/event/federated-event/base-event.js +69 -0
  454. package/cjs/event/federated-event/base-event.js.map +1 -0
  455. package/cjs/event/federated-event/custom-event.d.ts +4 -0
  456. package/cjs/event/federated-event/custom-event.js +16 -0
  457. package/cjs/event/federated-event/custom-event.js.map +1 -0
  458. package/cjs/event/federated-event/index.d.ts +5 -0
  459. package/cjs/event/federated-event/index.js +23 -0
  460. package/cjs/event/federated-event/index.js.map +1 -0
  461. package/cjs/event/federated-event/mouse-event.d.ts +29 -0
  462. package/cjs/event/federated-event/mouse-event.js +53 -0
  463. package/cjs/event/federated-event/mouse-event.js.map +1 -0
  464. package/cjs/event/federated-event/pointer-event.d.ts +18 -0
  465. package/cjs/event/federated-event/pointer-event.js +32 -0
  466. package/cjs/event/federated-event/pointer-event.js.map +1 -0
  467. package/cjs/event/federated-event/wheel-event.d.ts +14 -0
  468. package/cjs/event/federated-event/wheel-event.js +27 -0
  469. package/cjs/event/federated-event/wheel-event.js.map +1 -0
  470. package/cjs/event/index.d.ts +7 -0
  471. package/cjs/event/index.js +24 -0
  472. package/cjs/event/index.js.map +1 -0
  473. package/cjs/event/util.d.ts +1 -0
  474. package/cjs/event/util.js +6 -0
  475. package/cjs/event/util.js.map +1 -0
  476. package/cjs/export.d.ts +1 -0
  477. package/cjs/export.js +1 -0
  478. package/cjs/export.js.map +1 -0
  479. package/cjs/graphic/arc.d.ts +69 -0
  480. package/cjs/graphic/arc.js +134 -0
  481. package/cjs/graphic/arc.js.map +1 -0
  482. package/cjs/graphic/arc3d.d.ts +40 -0
  483. package/cjs/graphic/arc3d.js +30 -0
  484. package/cjs/graphic/arc3d.js.map +1 -0
  485. package/cjs/graphic/area.d.ts +51 -0
  486. package/cjs/graphic/area.js +78 -0
  487. package/cjs/graphic/area.js.map +1 -0
  488. package/cjs/graphic/bounds.d.ts +6 -0
  489. package/cjs/graphic/bounds.js +24 -0
  490. package/cjs/graphic/bounds.js.map +1 -0
  491. package/cjs/graphic/builtin-symbol/arrow.d.ts +11 -0
  492. package/cjs/graphic/builtin-symbol/arrow.js +33 -0
  493. package/cjs/graphic/builtin-symbol/arrow.js.map +1 -0
  494. package/cjs/graphic/builtin-symbol/arrow2-down.d.ts +11 -0
  495. package/cjs/graphic/builtin-symbol/arrow2-down.js +30 -0
  496. package/cjs/graphic/builtin-symbol/arrow2-down.js.map +1 -0
  497. package/cjs/graphic/builtin-symbol/arrow2-left.d.ts +11 -0
  498. package/cjs/graphic/builtin-symbol/arrow2-left.js +30 -0
  499. package/cjs/graphic/builtin-symbol/arrow2-left.js.map +1 -0
  500. package/cjs/graphic/builtin-symbol/arrow2-right.d.ts +11 -0
  501. package/cjs/graphic/builtin-symbol/arrow2-right.js +30 -0
  502. package/cjs/graphic/builtin-symbol/arrow2-right.js.map +1 -0
  503. package/cjs/graphic/builtin-symbol/arrow2-up.d.ts +11 -0
  504. package/cjs/graphic/builtin-symbol/arrow2-up.js +30 -0
  505. package/cjs/graphic/builtin-symbol/arrow2-up.js.map +1 -0
  506. package/cjs/graphic/builtin-symbol/base.d.ts +4 -0
  507. package/cjs/graphic/builtin-symbol/base.js +20 -0
  508. package/cjs/graphic/builtin-symbol/base.js.map +1 -0
  509. package/cjs/graphic/builtin-symbol/circle.d.ts +12 -0
  510. package/cjs/graphic/builtin-symbol/circle.js +33 -0
  511. package/cjs/graphic/builtin-symbol/circle.js.map +1 -0
  512. package/cjs/graphic/builtin-symbol/close.d.ts +12 -0
  513. package/cjs/graphic/builtin-symbol/close.js +33 -0
  514. package/cjs/graphic/builtin-symbol/close.js.map +1 -0
  515. package/cjs/graphic/builtin-symbol/cross.d.ts +12 -0
  516. package/cjs/graphic/builtin-symbol/cross.js +42 -0
  517. package/cjs/graphic/builtin-symbol/cross.js.map +1 -0
  518. package/cjs/graphic/builtin-symbol/diamond.d.ts +12 -0
  519. package/cjs/graphic/builtin-symbol/diamond.js +32 -0
  520. package/cjs/graphic/builtin-symbol/diamond.js.map +1 -0
  521. package/cjs/graphic/builtin-symbol/index.d.ts +4 -0
  522. package/cjs/graphic/builtin-symbol/index.js +32 -0
  523. package/cjs/graphic/builtin-symbol/index.js.map +1 -0
  524. package/cjs/graphic/builtin-symbol/line-h.d.ts +12 -0
  525. package/cjs/graphic/builtin-symbol/line-h.js +32 -0
  526. package/cjs/graphic/builtin-symbol/line-h.js.map +1 -0
  527. package/cjs/graphic/builtin-symbol/line-v.d.ts +12 -0
  528. package/cjs/graphic/builtin-symbol/line-v.js +32 -0
  529. package/cjs/graphic/builtin-symbol/line-v.js.map +1 -0
  530. package/cjs/graphic/builtin-symbol/rect.d.ts +11 -0
  531. package/cjs/graphic/builtin-symbol/rect.js +28 -0
  532. package/cjs/graphic/builtin-symbol/rect.js.map +1 -0
  533. package/cjs/graphic/builtin-symbol/square.d.ts +11 -0
  534. package/cjs/graphic/builtin-symbol/square.js +29 -0
  535. package/cjs/graphic/builtin-symbol/square.js.map +1 -0
  536. package/cjs/graphic/builtin-symbol/star.d.ts +11 -0
  537. package/cjs/graphic/builtin-symbol/star.js +34 -0
  538. package/cjs/graphic/builtin-symbol/star.js.map +1 -0
  539. package/cjs/graphic/builtin-symbol/stroke.d.ts +11 -0
  540. package/cjs/graphic/builtin-symbol/stroke.js +28 -0
  541. package/cjs/graphic/builtin-symbol/stroke.js.map +1 -0
  542. package/cjs/graphic/builtin-symbol/thin-triangle.d.ts +11 -0
  543. package/cjs/graphic/builtin-symbol/thin-triangle.js +31 -0
  544. package/cjs/graphic/builtin-symbol/thin-triangle.js.map +1 -0
  545. package/cjs/graphic/builtin-symbol/triangle-down.d.ts +12 -0
  546. package/cjs/graphic/builtin-symbol/triangle-down.js +34 -0
  547. package/cjs/graphic/builtin-symbol/triangle-down.js.map +1 -0
  548. package/cjs/graphic/builtin-symbol/triangle-left.d.ts +12 -0
  549. package/cjs/graphic/builtin-symbol/triangle-left.js +34 -0
  550. package/cjs/graphic/builtin-symbol/triangle-left.js.map +1 -0
  551. package/cjs/graphic/builtin-symbol/triangle-right.d.ts +12 -0
  552. package/cjs/graphic/builtin-symbol/triangle-right.js +34 -0
  553. package/cjs/graphic/builtin-symbol/triangle-right.js.map +1 -0
  554. package/cjs/graphic/builtin-symbol/triangle-up.d.ts +12 -0
  555. package/cjs/graphic/builtin-symbol/triangle-up.js +34 -0
  556. package/cjs/graphic/builtin-symbol/triangle-up.js.map +1 -0
  557. package/cjs/graphic/builtin-symbol/triangle.d.ts +8 -0
  558. package/cjs/graphic/builtin-symbol/triangle.js +18 -0
  559. package/cjs/graphic/builtin-symbol/triangle.js.map +1 -0
  560. package/cjs/graphic/builtin-symbol/utils.d.ts +19 -0
  561. package/cjs/graphic/builtin-symbol/utils.js +42 -0
  562. package/cjs/graphic/builtin-symbol/utils.js.map +1 -0
  563. package/cjs/graphic/builtin-symbol/wedge.d.ts +11 -0
  564. package/cjs/graphic/builtin-symbol/wedge.js +30 -0
  565. package/cjs/graphic/builtin-symbol/wedge.js.map +1 -0
  566. package/cjs/graphic/builtin-symbol/wye.d.ts +11 -0
  567. package/cjs/graphic/builtin-symbol/wye.js +35 -0
  568. package/cjs/graphic/builtin-symbol/wye.js.map +1 -0
  569. package/cjs/graphic/circle.d.ts +47 -0
  570. package/cjs/graphic/circle.js +57 -0
  571. package/cjs/graphic/circle.js.map +1 -0
  572. package/cjs/graphic/config.d.ts +26 -0
  573. package/cjs/graphic/config.js +229 -0
  574. package/cjs/graphic/config.js.map +1 -0
  575. package/cjs/graphic/constants.d.ts +40 -0
  576. package/cjs/graphic/constants.js +39 -0
  577. package/cjs/graphic/constants.js.map +1 -0
  578. package/cjs/graphic/glyph.d.ts +69 -0
  579. package/cjs/graphic/glyph.js +123 -0
  580. package/cjs/graphic/glyph.js.map +1 -0
  581. package/cjs/graphic/graphic-creator.d.ts +36 -0
  582. package/cjs/graphic/graphic-creator.js +104 -0
  583. package/cjs/graphic/graphic-creator.js.map +1 -0
  584. package/cjs/graphic/graphic-service/arc-contribution.d.ts +5 -0
  585. package/cjs/graphic/graphic-service/arc-contribution.js +21 -0
  586. package/cjs/graphic/graphic-service/arc-contribution.js.map +1 -0
  587. package/cjs/graphic/graphic-service/area-contribution.d.ts +1 -0
  588. package/cjs/graphic/graphic-service/area-contribution.js +6 -0
  589. package/cjs/graphic/graphic-service/area-contribution.js.map +1 -0
  590. package/cjs/graphic/graphic-service/circle-contribution.d.ts +5 -0
  591. package/cjs/graphic/graphic-service/circle-contribution.js +21 -0
  592. package/cjs/graphic/graphic-service/circle-contribution.js.map +1 -0
  593. package/cjs/graphic/graphic-service/common-contribution.d.ts +5 -0
  594. package/cjs/graphic/graphic-service/common-contribution.js +28 -0
  595. package/cjs/graphic/graphic-service/common-contribution.js.map +1 -0
  596. package/cjs/graphic/graphic-service/default-theme.d.ts +1 -0
  597. package/cjs/graphic/graphic-service/default-theme.js +3 -0
  598. package/cjs/graphic/graphic-service/default-theme.js.map +1 -0
  599. package/cjs/graphic/graphic-service/graphic-module.d.ts +3 -0
  600. package/cjs/graphic/graphic-service/graphic-module.js +28 -0
  601. package/cjs/graphic/graphic-service/graphic-module.js.map +1 -0
  602. package/cjs/graphic/graphic-service/graphic-service.d.ts +78 -0
  603. package/cjs/graphic/graphic-service/graphic-service.js +526 -0
  604. package/cjs/graphic/graphic-service/graphic-service.js.map +1 -0
  605. package/cjs/graphic/graphic-service/path-contribution.d.ts +5 -0
  606. package/cjs/graphic/graphic-service/path-contribution.js +21 -0
  607. package/cjs/graphic/graphic-service/path-contribution.js.map +1 -0
  608. package/cjs/graphic/graphic-service/rect-contribution.d.ts +5 -0
  609. package/cjs/graphic/graphic-service/rect-contribution.js +21 -0
  610. package/cjs/graphic/graphic-service/rect-contribution.js.map +1 -0
  611. package/cjs/graphic/graphic-service/symbol-contribution.d.ts +7 -0
  612. package/cjs/graphic/graphic-service/symbol-contribution.js +30 -0
  613. package/cjs/graphic/graphic-service/symbol-contribution.js.map +1 -0
  614. package/cjs/graphic/graphic.d.ts +175 -0
  615. package/cjs/graphic/graphic.js +625 -0
  616. package/cjs/graphic/graphic.js.map +1 -0
  617. package/cjs/graphic/group.d.ts +79 -0
  618. package/cjs/graphic/group.js +177 -0
  619. package/cjs/graphic/group.js.map +1 -0
  620. package/cjs/graphic/image.d.ts +60 -0
  621. package/cjs/graphic/image.js +92 -0
  622. package/cjs/graphic/image.js.map +1 -0
  623. package/cjs/graphic/index.d.ts +28 -0
  624. package/cjs/graphic/index.js +34 -0
  625. package/cjs/graphic/index.js.map +1 -0
  626. package/cjs/graphic/line.d.ts +50 -0
  627. package/cjs/graphic/line.js +70 -0
  628. package/cjs/graphic/line.js.map +1 -0
  629. package/cjs/graphic/node-tree.d.ts +77 -0
  630. package/cjs/graphic/node-tree.js +359 -0
  631. package/cjs/graphic/node-tree.js.map +1 -0
  632. package/cjs/graphic/path.d.ts +53 -0
  633. package/cjs/graphic/path.js +71 -0
  634. package/cjs/graphic/path.js.map +1 -0
  635. package/cjs/graphic/polygon.d.ts +49 -0
  636. package/cjs/graphic/polygon.js +59 -0
  637. package/cjs/graphic/polygon.js.map +1 -0
  638. package/cjs/graphic/pyramid3d.d.ts +42 -0
  639. package/cjs/graphic/pyramid3d.js +92 -0
  640. package/cjs/graphic/pyramid3d.js.map +1 -0
  641. package/cjs/graphic/rect.d.ts +47 -0
  642. package/cjs/graphic/rect.js +54 -0
  643. package/cjs/graphic/rect.js.map +1 -0
  644. package/cjs/graphic/rect3d.d.ts +38 -0
  645. package/cjs/graphic/rect3d.js +51 -0
  646. package/cjs/graphic/rect3d.js.map +1 -0
  647. package/cjs/graphic/richtext/frame.d.ts +43 -0
  648. package/cjs/graphic/richtext/frame.js +150 -0
  649. package/cjs/graphic/richtext/frame.js.map +1 -0
  650. package/cjs/graphic/richtext/icon.d.ts +24 -0
  651. package/cjs/graphic/richtext/icon.js +43 -0
  652. package/cjs/graphic/richtext/icon.js.map +1 -0
  653. package/cjs/graphic/richtext/line.d.ts +27 -0
  654. package/cjs/graphic/richtext/line.js +105 -0
  655. package/cjs/graphic/richtext/line.js.map +1 -0
  656. package/cjs/graphic/richtext/paragraph.d.ts +28 -0
  657. package/cjs/graphic/richtext/paragraph.js +83 -0
  658. package/cjs/graphic/richtext/paragraph.js.map +1 -0
  659. package/cjs/graphic/richtext/utils.d.ts +42 -0
  660. package/cjs/graphic/richtext/utils.js +188 -0
  661. package/cjs/graphic/richtext/utils.js.map +1 -0
  662. package/cjs/graphic/richtext/wrapper.d.ts +25 -0
  663. package/cjs/graphic/richtext/wrapper.js +57 -0
  664. package/cjs/graphic/richtext/wrapper.js.map +1 -0
  665. package/cjs/graphic/richtext.d.ts +78 -0
  666. package/cjs/graphic/richtext.js +184 -0
  667. package/cjs/graphic/richtext.js.map +1 -0
  668. package/cjs/graphic/shadow-root.d.ts +13 -0
  669. package/cjs/graphic/shadow-root.js +44 -0
  670. package/cjs/graphic/shadow-root.js.map +1 -0
  671. package/cjs/graphic/symbol.d.ts +53 -0
  672. package/cjs/graphic/symbol.js +93 -0
  673. package/cjs/graphic/symbol.js.map +1 -0
  674. package/cjs/graphic/text.d.ts +65 -0
  675. package/cjs/graphic/text.js +240 -0
  676. package/cjs/graphic/text.js.map +1 -0
  677. package/cjs/graphic/theme.d.ts +20 -0
  678. package/cjs/graphic/theme.js +132 -0
  679. package/cjs/graphic/theme.js.map +1 -0
  680. package/cjs/graphic/tools.d.ts +15 -0
  681. package/cjs/graphic/tools.js +165 -0
  682. package/cjs/graphic/tools.js.map +1 -0
  683. package/cjs/graphic/wrap-text.d.ts +10 -0
  684. package/cjs/graphic/wrap-text.js +111 -0
  685. package/cjs/graphic/wrap-text.js.map +1 -0
  686. package/cjs/index.d.ts +46 -0
  687. package/cjs/index.js +56 -0
  688. package/cjs/index.js.map +1 -0
  689. package/cjs/interface/allocator.d.ts +27 -0
  690. package/cjs/interface/allocator.js +6 -0
  691. package/cjs/interface/allocator.js.map +1 -0
  692. package/cjs/interface/animate.d.ts +191 -0
  693. package/cjs/interface/animate.js +6 -0
  694. package/cjs/interface/animate.js.map +1 -0
  695. package/cjs/interface/camera.d.ts +24 -0
  696. package/cjs/interface/camera.js +6 -0
  697. package/cjs/interface/camera.js.map +1 -0
  698. package/cjs/interface/canvas.d.ts +61 -0
  699. package/cjs/interface/canvas.js +6 -0
  700. package/cjs/interface/canvas.js.map +1 -0
  701. package/cjs/interface/color.d.ts +37 -0
  702. package/cjs/interface/color.js +6 -0
  703. package/cjs/interface/color.js.map +1 -0
  704. package/cjs/interface/common.d.ts +27 -0
  705. package/cjs/interface/common.js +6 -0
  706. package/cjs/interface/common.js.map +1 -0
  707. package/cjs/interface/context.d.ts +196 -0
  708. package/cjs/interface/context.js +6 -0
  709. package/cjs/interface/context.js.map +1 -0
  710. package/cjs/interface/contribution.d.ts +86 -0
  711. package/cjs/interface/contribution.js +6 -0
  712. package/cjs/interface/contribution.js.map +1 -0
  713. package/cjs/interface/core.d.ts +36 -0
  714. package/cjs/interface/core.js +6 -0
  715. package/cjs/interface/core.js.map +1 -0
  716. package/cjs/interface/creator.d.ts +4 -0
  717. package/cjs/interface/creator.js +6 -0
  718. package/cjs/interface/creator.js.map +1 -0
  719. package/cjs/interface/curve.d.ts +42 -0
  720. package/cjs/interface/curve.js +6 -0
  721. package/cjs/interface/curve.js.map +1 -0
  722. package/cjs/interface/event.d.ts +193 -0
  723. package/cjs/interface/event.js +6 -0
  724. package/cjs/interface/event.js.map +1 -0
  725. package/cjs/interface/global.d.ts +153 -0
  726. package/cjs/interface/global.js +6 -0
  727. package/cjs/interface/global.js.map +1 -0
  728. package/cjs/interface/graphic/arc.d.ts +37 -0
  729. package/cjs/interface/graphic/arc.js +6 -0
  730. package/cjs/interface/graphic/arc.js.map +1 -0
  731. package/cjs/interface/graphic/arc3d.d.ts +22 -0
  732. package/cjs/interface/graphic/arc3d.js +6 -0
  733. package/cjs/interface/graphic/arc3d.js.map +1 -0
  734. package/cjs/interface/graphic/area.d.ts +24 -0
  735. package/cjs/interface/graphic/area.js +6 -0
  736. package/cjs/interface/graphic/area.js.map +1 -0
  737. package/cjs/interface/graphic/bounds.d.ts +37 -0
  738. package/cjs/interface/graphic/bounds.js +10 -0
  739. package/cjs/interface/graphic/bounds.js.map +1 -0
  740. package/cjs/interface/graphic/circle.d.ts +8 -0
  741. package/cjs/interface/graphic/circle.js +6 -0
  742. package/cjs/interface/graphic/circle.js.map +1 -0
  743. package/cjs/interface/graphic/creator.d.ts +32 -0
  744. package/cjs/interface/graphic/creator.js +6 -0
  745. package/cjs/interface/graphic/creator.js.map +1 -0
  746. package/cjs/interface/graphic/dynamic-path.d.ts +1 -0
  747. package/cjs/interface/graphic/dynamic-path.js +3 -0
  748. package/cjs/interface/graphic/dynamic-path.js.map +1 -0
  749. package/cjs/interface/graphic/ellipse.d.ts +8 -0
  750. package/cjs/interface/graphic/ellipse.js +6 -0
  751. package/cjs/interface/graphic/ellipse.js.map +1 -0
  752. package/cjs/interface/graphic/face3d.d.ts +11 -0
  753. package/cjs/interface/graphic/face3d.js +6 -0
  754. package/cjs/interface/graphic/face3d.js.map +1 -0
  755. package/cjs/interface/graphic/glyph.d.ts +24 -0
  756. package/cjs/interface/graphic/glyph.js +6 -0
  757. package/cjs/interface/graphic/glyph.js.map +1 -0
  758. package/cjs/interface/graphic/group.d.ts +30 -0
  759. package/cjs/interface/graphic/group.js +6 -0
  760. package/cjs/interface/graphic/group.js.map +1 -0
  761. package/cjs/interface/graphic/image.d.ts +15 -0
  762. package/cjs/interface/graphic/image.js +6 -0
  763. package/cjs/interface/graphic/image.js.map +1 -0
  764. package/cjs/interface/graphic/index.d.ts +26 -0
  765. package/cjs/interface/graphic/index.js +33 -0
  766. package/cjs/interface/graphic/index.js.map +1 -0
  767. package/cjs/interface/graphic/isogon.d.ts +7 -0
  768. package/cjs/interface/graphic/isogon.js +6 -0
  769. package/cjs/interface/graphic/isogon.js.map +1 -0
  770. package/cjs/interface/graphic/line.d.ts +23 -0
  771. package/cjs/interface/graphic/line.js +6 -0
  772. package/cjs/interface/graphic/line.js.map +1 -0
  773. package/cjs/interface/graphic/path.d.ts +14 -0
  774. package/cjs/interface/graphic/path.js +6 -0
  775. package/cjs/interface/graphic/path.js.map +1 -0
  776. package/cjs/interface/graphic/polygon.d.ts +9 -0
  777. package/cjs/interface/graphic/polygon.js +6 -0
  778. package/cjs/interface/graphic/polygon.js.map +1 -0
  779. package/cjs/interface/graphic/polyline.d.ts +3 -0
  780. package/cjs/interface/graphic/polyline.js +6 -0
  781. package/cjs/interface/graphic/polyline.js.map +1 -0
  782. package/cjs/interface/graphic/pyramid3d.d.ts +7 -0
  783. package/cjs/interface/graphic/pyramid3d.js +6 -0
  784. package/cjs/interface/graphic/pyramid3d.js.map +1 -0
  785. package/cjs/interface/graphic/rect.d.ts +11 -0
  786. package/cjs/interface/graphic/rect.js +6 -0
  787. package/cjs/interface/graphic/rect.js.map +1 -0
  788. package/cjs/interface/graphic/rect3d.d.ts +10 -0
  789. package/cjs/interface/graphic/rect3d.js +6 -0
  790. package/cjs/interface/graphic/rect3d.js.map +1 -0
  791. package/cjs/interface/graphic/richText.d.ts +181 -0
  792. package/cjs/interface/graphic/richText.js +6 -0
  793. package/cjs/interface/graphic/richText.js.map +1 -0
  794. package/cjs/interface/graphic/shadow-root.d.ts +5 -0
  795. package/cjs/interface/graphic/shadow-root.js +6 -0
  796. package/cjs/interface/graphic/shadow-root.js.map +1 -0
  797. package/cjs/interface/graphic/svg.d.ts +7 -0
  798. package/cjs/interface/graphic/svg.js +6 -0
  799. package/cjs/interface/graphic/svg.js.map +1 -0
  800. package/cjs/interface/graphic/symbol.d.ts +22 -0
  801. package/cjs/interface/graphic/symbol.js +6 -0
  802. package/cjs/interface/graphic/symbol.js.map +1 -0
  803. package/cjs/interface/graphic/text.d.ts +73 -0
  804. package/cjs/interface/graphic/text.js +6 -0
  805. package/cjs/interface/graphic/text.js.map +1 -0
  806. package/cjs/interface/graphic/theme.d.ts +56 -0
  807. package/cjs/interface/graphic/theme.js +6 -0
  808. package/cjs/interface/graphic/theme.js.map +1 -0
  809. package/cjs/interface/graphic/util.d.ts +15 -0
  810. package/cjs/interface/graphic/util.js +6 -0
  811. package/cjs/interface/graphic/util.js.map +1 -0
  812. package/cjs/interface/graphic-service.d.ts +78 -0
  813. package/cjs/interface/graphic-service.js +6 -0
  814. package/cjs/interface/graphic-service.js.map +1 -0
  815. package/cjs/interface/graphic-utils.d.ts +1 -0
  816. package/cjs/interface/graphic-utils.js +3 -0
  817. package/cjs/interface/graphic-utils.js.map +1 -0
  818. package/cjs/interface/graphic.d.ts +253 -0
  819. package/cjs/interface/graphic.js +6 -0
  820. package/cjs/interface/graphic.js.map +1 -0
  821. package/cjs/interface/index.d.ts +29 -0
  822. package/cjs/interface/index.js +35 -0
  823. package/cjs/interface/index.js.map +1 -0
  824. package/cjs/interface/layer.d.ts +99 -0
  825. package/cjs/interface/layer.js +6 -0
  826. package/cjs/interface/layer.js.map +1 -0
  827. package/cjs/interface/light.d.ts +6 -0
  828. package/cjs/interface/light.js +6 -0
  829. package/cjs/interface/light.js.map +1 -0
  830. package/cjs/interface/loader.d.ts +17 -0
  831. package/cjs/interface/loader.js +6 -0
  832. package/cjs/interface/loader.js.map +1 -0
  833. package/cjs/interface/matrix.d.ts +21 -0
  834. package/cjs/interface/matrix.js +6 -0
  835. package/cjs/interface/matrix.js.map +1 -0
  836. package/cjs/interface/node-tree.d.ts +43 -0
  837. package/cjs/interface/node-tree.js +6 -0
  838. package/cjs/interface/node-tree.js.map +1 -0
  839. package/cjs/interface/path.d.ts +100 -0
  840. package/cjs/interface/path.js +6 -0
  841. package/cjs/interface/path.js.map +1 -0
  842. package/cjs/interface/picker.d.ts +56 -0
  843. package/cjs/interface/picker.js +6 -0
  844. package/cjs/interface/picker.js.map +1 -0
  845. package/cjs/interface/plugin.d.ts +17 -0
  846. package/cjs/interface/plugin.js +6 -0
  847. package/cjs/interface/plugin.js.map +1 -0
  848. package/cjs/interface/render.d.ts +90 -0
  849. package/cjs/interface/render.js +6 -0
  850. package/cjs/interface/render.js.map +1 -0
  851. package/cjs/interface/stage.d.ts +146 -0
  852. package/cjs/interface/stage.js +6 -0
  853. package/cjs/interface/stage.js.map +1 -0
  854. package/cjs/interface/sync-hook.d.ts +26 -0
  855. package/cjs/interface/sync-hook.js +6 -0
  856. package/cjs/interface/sync-hook.js.map +1 -0
  857. package/cjs/interface/text.d.ts +49 -0
  858. package/cjs/interface/text.js +6 -0
  859. package/cjs/interface/text.js.map +1 -0
  860. package/cjs/interface/theme-service.d.ts +1 -0
  861. package/cjs/interface/theme-service.js +3 -0
  862. package/cjs/interface/theme-service.js.map +1 -0
  863. package/cjs/interface/util.d.ts +1 -0
  864. package/cjs/interface/util.js +3 -0
  865. package/cjs/interface/util.js.map +1 -0
  866. package/cjs/interface/window.d.ts +84 -0
  867. package/cjs/interface/window.js +6 -0
  868. package/cjs/interface/window.js.map +1 -0
  869. package/cjs/modules.d.ts +8 -0
  870. package/cjs/modules.js +24 -0
  871. package/cjs/modules.js.map +1 -0
  872. package/cjs/picker/constants.d.ts +4 -0
  873. package/cjs/picker/constants.js +8 -0
  874. package/cjs/picker/constants.js.map +1 -0
  875. package/cjs/picker/global-picker-service.d.ts +13 -0
  876. package/cjs/picker/global-picker-service.js +77 -0
  877. package/cjs/picker/global-picker-service.js.map +1 -0
  878. package/cjs/picker/index.d.ts +4 -0
  879. package/cjs/picker/index.js +22 -0
  880. package/cjs/picker/index.js.map +1 -0
  881. package/cjs/picker/pick-interceptor.d.ts +22 -0
  882. package/cjs/picker/pick-interceptor.js +107 -0
  883. package/cjs/picker/pick-interceptor.js.map +1 -0
  884. package/cjs/picker/pick-modules.d.ts +3 -0
  885. package/cjs/picker/pick-modules.js +18 -0
  886. package/cjs/picker/pick-modules.js.map +1 -0
  887. package/cjs/picker/picker-service.d.ts +18 -0
  888. package/cjs/picker/picker-service.js +120 -0
  889. package/cjs/picker/picker-service.js.map +1 -0
  890. package/cjs/plugins/builtin-plugin/3dview-transform-plugin.d.ts +17 -0
  891. package/cjs/plugins/builtin-plugin/3dview-transform-plugin.js +44 -0
  892. package/cjs/plugins/builtin-plugin/3dview-transform-plugin.js.map +1 -0
  893. package/cjs/plugins/builtin-plugin/auto-render-plugin.d.ts +10 -0
  894. package/cjs/plugins/builtin-plugin/auto-render-plugin.js +28 -0
  895. package/cjs/plugins/builtin-plugin/auto-render-plugin.js.map +1 -0
  896. package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.d.ts +10 -0
  897. package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.js +36 -0
  898. package/cjs/plugins/builtin-plugin/dirty-bounds-plugin.js.map +1 -0
  899. package/cjs/plugins/builtin-plugin/flex-layout-plugin.d.ts +36 -0
  900. package/cjs/plugins/builtin-plugin/flex-layout-plugin.js +177 -0
  901. package/cjs/plugins/builtin-plugin/flex-layout-plugin.js.map +1 -0
  902. package/cjs/plugins/builtin-plugin/html-attribute-plugin.d.ts +13 -0
  903. package/cjs/plugins/builtin-plugin/html-attribute-plugin.js +79 -0
  904. package/cjs/plugins/builtin-plugin/html-attribute-plugin.js.map +1 -0
  905. package/cjs/plugins/builtin-plugin/incremental-auto-render-plugin.d.ts +15 -0
  906. package/cjs/plugins/builtin-plugin/incremental-auto-render-plugin.js +58 -0
  907. package/cjs/plugins/builtin-plugin/incremental-auto-render-plugin.js.map +1 -0
  908. package/cjs/plugins/builtin-plugin/poptip-plugin.d.ts +1 -0
  909. package/cjs/plugins/builtin-plugin/poptip-plugin.js +3 -0
  910. package/cjs/plugins/builtin-plugin/poptip-plugin.js.map +1 -0
  911. package/cjs/plugins/constants.d.ts +2 -0
  912. package/cjs/plugins/constants.js +7 -0
  913. package/cjs/plugins/constants.js.map +1 -0
  914. package/cjs/plugins/plugin-modules.d.ts +3 -0
  915. package/cjs/plugins/plugin-modules.js +13 -0
  916. package/cjs/plugins/plugin-modules.js.map +1 -0
  917. package/cjs/plugins/plugin-service.d.ts +15 -0
  918. package/cjs/plugins/plugin-service.js +58 -0
  919. package/cjs/plugins/plugin-service.js.map +1 -0
  920. package/cjs/render/contributions/modules.d.ts +2 -0
  921. package/cjs/render/contributions/modules.js +20 -0
  922. package/cjs/render/contributions/modules.js.map +1 -0
  923. package/cjs/render/contributions/render/arc-render.d.ts +11 -0
  924. package/cjs/render/contributions/render/arc-render.js +142 -0
  925. package/cjs/render/contributions/render/arc-render.js.map +1 -0
  926. package/cjs/render/contributions/render/arc3d-render.d.ts +9 -0
  927. package/cjs/render/contributions/render/arc3d-render.js +105 -0
  928. package/cjs/render/contributions/render/arc3d-render.js.map +1 -0
  929. package/cjs/render/contributions/render/area-render.d.ts +12 -0
  930. package/cjs/render/contributions/render/area-render.js +207 -0
  931. package/cjs/render/contributions/render/area-render.js.map +1 -0
  932. package/cjs/render/contributions/render/base-render.d.ts +28 -0
  933. package/cjs/render/contributions/render/base-render.js +106 -0
  934. package/cjs/render/contributions/render/base-render.js.map +1 -0
  935. package/cjs/render/contributions/render/circle-render.d.ts +10 -0
  936. package/cjs/render/contributions/render/circle-render.js +47 -0
  937. package/cjs/render/contributions/render/circle-render.js.map +1 -0
  938. package/cjs/render/contributions/render/clear-screen.d.ts +1 -0
  939. package/cjs/render/contributions/render/clear-screen.js +3 -0
  940. package/cjs/render/contributions/render/clear-screen.js.map +1 -0
  941. package/cjs/render/contributions/render/contributions/arc-contribution-render.d.ts +15 -0
  942. package/cjs/render/contributions/render/contributions/arc-contribution-render.js +85 -0
  943. package/cjs/render/contributions/render/contributions/arc-contribution-render.js.map +1 -0
  944. package/cjs/render/contributions/render/contributions/area-contribution-render.d.ts +12 -0
  945. package/cjs/render/contributions/render/contributions/area-contribution-render.js +77 -0
  946. package/cjs/render/contributions/render/contributions/area-contribution-render.js.map +1 -0
  947. package/cjs/render/contributions/render/contributions/base-contribution-render.d.ts +37 -0
  948. package/cjs/render/contributions/render/contributions/base-contribution-render.js +180 -0
  949. package/cjs/render/contributions/render/contributions/base-contribution-render.js.map +1 -0
  950. package/cjs/render/contributions/render/contributions/circle-contribution-render.d.ts +15 -0
  951. package/cjs/render/contributions/render/contributions/circle-contribution-render.js +69 -0
  952. package/cjs/render/contributions/render/contributions/circle-contribution-render.js.map +1 -0
  953. package/cjs/render/contributions/render/contributions/constants.d.ts +11 -0
  954. package/cjs/render/contributions/render/contributions/constants.js +12 -0
  955. package/cjs/render/contributions/render/contributions/constants.js.map +1 -0
  956. package/cjs/render/contributions/render/contributions/group-contribution-render.d.ts +7 -0
  957. package/cjs/render/contributions/render/contributions/group-contribution-render.js +35 -0
  958. package/cjs/render/contributions/render/contributions/group-contribution-render.js.map +1 -0
  959. package/cjs/render/contributions/render/contributions/image-contribution-render.d.ts +7 -0
  960. package/cjs/render/contributions/render/contributions/image-contribution-render.js +64 -0
  961. package/cjs/render/contributions/render/contributions/image-contribution-render.js.map +1 -0
  962. package/cjs/render/contributions/render/contributions/index.d.ts +7 -0
  963. package/cjs/render/contributions/render/contributions/index.js +24 -0
  964. package/cjs/render/contributions/render/contributions/index.js.map +1 -0
  965. package/cjs/render/contributions/render/contributions/path-contribution-render.d.ts +9 -0
  966. package/cjs/render/contributions/render/contributions/path-contribution-render.js +32 -0
  967. package/cjs/render/contributions/render/contributions/path-contribution-render.js.map +1 -0
  968. package/cjs/render/contributions/render/contributions/polygon-contribution-render.d.ts +9 -0
  969. package/cjs/render/contributions/render/contributions/polygon-contribution-render.js +32 -0
  970. package/cjs/render/contributions/render/contributions/polygon-contribution-render.js.map +1 -0
  971. package/cjs/render/contributions/render/contributions/rect-contribution-render.d.ts +30 -0
  972. package/cjs/render/contributions/render/contributions/rect-contribution-render.js +110 -0
  973. package/cjs/render/contributions/render/contributions/rect-contribution-render.js.map +1 -0
  974. package/cjs/render/contributions/render/contributions/symbol-contribution-render.d.ts +15 -0
  975. package/cjs/render/contributions/render/contributions/symbol-contribution-render.js +69 -0
  976. package/cjs/render/contributions/render/contributions/symbol-contribution-render.js.map +1 -0
  977. package/cjs/render/contributions/render/contributions/text-contribution-render.d.ts +1 -0
  978. package/cjs/render/contributions/render/contributions/text-contribution-render.js +6 -0
  979. package/cjs/render/contributions/render/contributions/text-contribution-render.js.map +1 -0
  980. package/cjs/render/contributions/render/draw-contribution.d.ts +30 -0
  981. package/cjs/render/contributions/render/draw-contribution.js +177 -0
  982. package/cjs/render/contributions/render/draw-contribution.js.map +1 -0
  983. package/cjs/render/contributions/render/draw-interceptor.d.ts +13 -0
  984. package/cjs/render/contributions/render/draw-interceptor.js +124 -0
  985. package/cjs/render/contributions/render/draw-interceptor.js.map +1 -0
  986. package/cjs/render/contributions/render/glyph-render.d.ts +8 -0
  987. package/cjs/render/contributions/render/glyph-render.js +35 -0
  988. package/cjs/render/contributions/render/glyph-render.js.map +1 -0
  989. package/cjs/render/contributions/render/graphic-render.d.ts +6 -0
  990. package/cjs/render/contributions/render/graphic-render.js +19 -0
  991. package/cjs/render/contributions/render/graphic-render.js.map +1 -0
  992. package/cjs/render/contributions/render/group-render.d.ts +10 -0
  993. package/cjs/render/contributions/render/group-render.js +85 -0
  994. package/cjs/render/contributions/render/group-render.js.map +1 -0
  995. package/cjs/render/contributions/render/image-render.d.ts +10 -0
  996. package/cjs/render/contributions/render/image-render.js +64 -0
  997. package/cjs/render/contributions/render/image-render.js.map +1 -0
  998. package/cjs/render/contributions/render/incremental-area-render.d.ts +8 -0
  999. package/cjs/render/contributions/render/incremental-area-render.js +42 -0
  1000. package/cjs/render/contributions/render/incremental-area-render.js.map +1 -0
  1001. package/cjs/render/contributions/render/incremental-draw-contribution.d.ts +39 -0
  1002. package/cjs/render/contributions/render/incremental-draw-contribution.js +169 -0
  1003. package/cjs/render/contributions/render/incremental-draw-contribution.js.map +1 -0
  1004. package/cjs/render/contributions/render/incremental-line-render.d.ts +8 -0
  1005. package/cjs/render/contributions/render/incremental-line-render.js +44 -0
  1006. package/cjs/render/contributions/render/incremental-line-render.js.map +1 -0
  1007. package/cjs/render/contributions/render/index.d.ts +14 -0
  1008. package/cjs/render/contributions/render/index.js +27 -0
  1009. package/cjs/render/contributions/render/index.js.map +1 -0
  1010. package/cjs/render/contributions/render/line-render.d.ts +10 -0
  1011. package/cjs/render/contributions/render/line-render.js +133 -0
  1012. package/cjs/render/contributions/render/line-render.js.map +1 -0
  1013. package/cjs/render/contributions/render/module.d.ts +3 -0
  1014. package/cjs/render/contributions/render/module.js +109 -0
  1015. package/cjs/render/contributions/render/module.js.map +1 -0
  1016. package/cjs/render/contributions/render/path-render.d.ts +10 -0
  1017. package/cjs/render/contributions/render/path-render.js +51 -0
  1018. package/cjs/render/contributions/render/path-render.js.map +1 -0
  1019. package/cjs/render/contributions/render/polygon-render.d.ts +10 -0
  1020. package/cjs/render/contributions/render/polygon-render.js +49 -0
  1021. package/cjs/render/contributions/render/polygon-render.js.map +1 -0
  1022. package/cjs/render/contributions/render/pyramid3d-render.d.ts +11 -0
  1023. package/cjs/render/contributions/render/pyramid3d-render.js +90 -0
  1024. package/cjs/render/contributions/render/pyramid3d-render.js.map +1 -0
  1025. package/cjs/render/contributions/render/rect-render.d.ts +10 -0
  1026. package/cjs/render/contributions/render/rect-render.js +56 -0
  1027. package/cjs/render/contributions/render/rect-render.js.map +1 -0
  1028. package/cjs/render/contributions/render/rect3d-render.d.ts +11 -0
  1029. package/cjs/render/contributions/render/rect3d-render.js +94 -0
  1030. package/cjs/render/contributions/render/rect3d-render.js.map +1 -0
  1031. package/cjs/render/contributions/render/render-slector.d.ts +4 -0
  1032. package/cjs/render/contributions/render/render-slector.js +23 -0
  1033. package/cjs/render/contributions/render/render-slector.js.map +1 -0
  1034. package/cjs/render/contributions/render/richtext-render.d.ts +9 -0
  1035. package/cjs/render/contributions/render/richtext-render.js +48 -0
  1036. package/cjs/render/contributions/render/richtext-render.js.map +1 -0
  1037. package/cjs/render/contributions/render/symbol-render.d.ts +10 -0
  1038. package/cjs/render/contributions/render/symbol-render.js +61 -0
  1039. package/cjs/render/contributions/render/symbol-render.js.map +1 -0
  1040. package/cjs/render/contributions/render/symbol.d.ts +20 -0
  1041. package/cjs/render/contributions/render/symbol.js +17 -0
  1042. package/cjs/render/contributions/render/symbol.js.map +1 -0
  1043. package/cjs/render/contributions/render/text-render.d.ts +13 -0
  1044. package/cjs/render/contributions/render/text-render.js +163 -0
  1045. package/cjs/render/contributions/render/text-render.js.map +1 -0
  1046. package/cjs/render/contributions/render/utils.d.ts +18 -0
  1047. package/cjs/render/contributions/render/utils.js +151 -0
  1048. package/cjs/render/contributions/render/utils.js.map +1 -0
  1049. package/cjs/render/index.d.ts +3 -0
  1050. package/cjs/render/index.js +22 -0
  1051. package/cjs/render/index.js.map +1 -0
  1052. package/cjs/render/render-modules.d.ts +3 -0
  1053. package/cjs/render/render-modules.js +12 -0
  1054. package/cjs/render/render-modules.js.map +1 -0
  1055. package/cjs/render/render-service.d.ts +19 -0
  1056. package/cjs/render/render-service.js +59 -0
  1057. package/cjs/render/render-service.js.map +1 -0
  1058. package/cjs/resource-loader/loader.d.ts +9 -0
  1059. package/cjs/resource-loader/loader.js +61 -0
  1060. package/cjs/resource-loader/loader.js.map +1 -0
  1061. package/cjs/tapable/Hook.d.ts +12 -0
  1062. package/cjs/tapable/Hook.js +60 -0
  1063. package/cjs/tapable/Hook.js.map +1 -0
  1064. package/cjs/tapable/SyncHook.d.ts +5 -0
  1065. package/cjs/tapable/SyncHook.js +16 -0
  1066. package/cjs/tapable/SyncHook.js.map +1 -0
  1067. package/cjs/tapable/index.d.ts +1 -0
  1068. package/cjs/tapable/index.js +21 -0
  1069. package/cjs/tapable/index.js.map +1 -0
  1070. package/dist/index.js +29005 -0
  1071. package/dist/index.min.js +1 -0
  1072. package/es/allocator/allocator-modules.d.ts +1 -0
  1073. package/es/allocator/allocator-modules.js +1 -0
  1074. package/es/allocator/allocator-modules.js.map +1 -0
  1075. package/es/allocator/canvas-allocate.d.ts +14 -0
  1076. package/es/allocator/canvas-allocate.js +42 -0
  1077. package/es/allocator/canvas-allocate.js.map +1 -0
  1078. package/es/allocator/constants.d.ts +9 -0
  1079. package/es/allocator/constants.js +18 -0
  1080. package/es/allocator/constants.js.map +1 -0
  1081. package/es/allocator/graphic-allocate.d.ts +1 -0
  1082. package/es/allocator/graphic-allocate.js +1 -0
  1083. package/es/allocator/graphic-allocate.js.map +1 -0
  1084. package/es/allocator/matrix-allocate.d.ts +25 -0
  1085. package/es/allocator/matrix-allocate.js +71 -0
  1086. package/es/allocator/matrix-allocate.js.map +1 -0
  1087. package/es/allocator/point-allocate.d.ts +1 -0
  1088. package/es/allocator/point-allocate.js +1 -0
  1089. package/es/allocator/point-allocate.js.map +1 -0
  1090. package/es/animate/Ticker/default-ticker.d.ts +87 -0
  1091. package/es/animate/Ticker/default-ticker.js +230 -0
  1092. package/es/animate/Ticker/default-ticker.js.map +1 -0
  1093. package/es/animate/Ticker/index.d.ts +1 -0
  1094. package/es/animate/Ticker/index.js +2 -0
  1095. package/es/animate/Ticker/index.js.map +1 -0
  1096. package/es/animate/animate.d.ts +146 -0
  1097. package/es/animate/animate.js +389 -0
  1098. package/es/animate/animate.js.map +1 -0
  1099. package/es/animate/config.d.ts +3 -0
  1100. package/es/animate/config.js +10 -0
  1101. package/es/animate/config.js.map +1 -0
  1102. package/es/animate/custom-animate.d.ts +229 -0
  1103. package/es/animate/custom-animate.js +613 -0
  1104. package/es/animate/custom-animate.js.map +1 -0
  1105. package/es/animate/default-ticker.d.ts +2 -0
  1106. package/es/animate/default-ticker.js +11 -0
  1107. package/es/animate/default-ticker.js.map +1 -0
  1108. package/es/animate/easing.d.ts +45 -0
  1109. package/es/animate/easing.js +111 -0
  1110. package/es/animate/easing.js.map +1 -0
  1111. package/es/animate/index.d.ts +6 -0
  1112. package/es/animate/index.js +12 -0
  1113. package/es/animate/index.js.map +1 -0
  1114. package/es/animate/morphing.d.ts +52 -0
  1115. package/es/animate/morphing.js +292 -0
  1116. package/es/animate/morphing.js.map +1 -0
  1117. package/es/animate/timeline.d.ts +17 -0
  1118. package/es/animate/timeline.js +42 -0
  1119. package/es/animate/timeline.js.map +1 -0
  1120. package/es/application.d.ts +11 -0
  1121. package/es/application.js +3 -0
  1122. package/es/application.js.map +1 -0
  1123. package/es/canvas/conical-gradient.d.ts +12 -0
  1124. package/es/canvas/conical-gradient.js +121 -0
  1125. package/es/canvas/conical-gradient.js.map +1 -0
  1126. package/es/canvas/constants.d.ts +2 -0
  1127. package/es/canvas/constants.js +4 -0
  1128. package/es/canvas/constants.js.map +1 -0
  1129. package/es/canvas/contributions/base-canvas.d.ts +52 -0
  1130. package/es/canvas/contributions/base-canvas.js +104 -0
  1131. package/es/canvas/contributions/base-canvas.js.map +1 -0
  1132. package/es/canvas/empty-context.d.ts +97 -0
  1133. package/es/canvas/empty-context.js +216 -0
  1134. package/es/canvas/empty-context.js.map +1 -0
  1135. package/es/canvas/index.d.ts +4 -0
  1136. package/es/canvas/index.js +8 -0
  1137. package/es/canvas/index.js.map +1 -0
  1138. package/es/canvas/util.d.ts +24 -0
  1139. package/es/canvas/util.js +385 -0
  1140. package/es/canvas/util.js.map +1 -0
  1141. package/es/color-string/colorName.d.ts +2 -0
  1142. package/es/color-string/colorName.js +11 -0
  1143. package/es/color-string/colorName.js.map +1 -0
  1144. package/es/color-string/index.d.ts +3 -0
  1145. package/es/color-string/index.js +6 -0
  1146. package/es/color-string/index.js.map +1 -0
  1147. package/es/color-string/interpolate.d.ts +7 -0
  1148. package/es/color-string/interpolate.js +91 -0
  1149. package/es/color-string/interpolate.js.map +1 -0
  1150. package/es/color-string/store.d.ts +11 -0
  1151. package/es/color-string/store.js +50 -0
  1152. package/es/color-string/store.js.map +1 -0
  1153. package/es/common/Reflect-metadata.d.ts +2 -0
  1154. package/es/common/Reflect-metadata.js +388 -0
  1155. package/es/common/Reflect-metadata.js.map +1 -0
  1156. package/es/common/bezier-utils.d.ts +5 -0
  1157. package/es/common/bezier-utils.js +26 -0
  1158. package/es/common/bezier-utils.js.map +1 -0
  1159. package/es/common/bounds-context.d.ts +18 -0
  1160. package/es/common/bounds-context.js +52 -0
  1161. package/es/common/bounds-context.js.map +1 -0
  1162. package/es/common/canvas-utils.d.ts +8 -0
  1163. package/es/common/canvas-utils.js +65 -0
  1164. package/es/common/canvas-utils.js.map +1 -0
  1165. package/es/common/contribution-provider.d.ts +4 -0
  1166. package/es/common/contribution-provider.js +20 -0
  1167. package/es/common/contribution-provider.js.map +1 -0
  1168. package/es/common/custom-path2d.d.ts +47 -0
  1169. package/es/common/custom-path2d.js +338 -0
  1170. package/es/common/custom-path2d.js.map +1 -0
  1171. package/es/common/enums.d.ts +70 -0
  1172. package/es/common/enums.js +73 -0
  1173. package/es/common/enums.js.map +1 -0
  1174. package/es/common/generator.d.ts +4 -0
  1175. package/es/common/generator.js +8 -0
  1176. package/es/common/generator.js.map +1 -0
  1177. package/es/common/inversify-lite/annotation/decorator_utils.d.ts +16 -0
  1178. package/es/common/inversify-lite/annotation/decorator_utils.js +67 -0
  1179. package/es/common/inversify-lite/annotation/decorator_utils.js.map +1 -0
  1180. package/es/common/inversify-lite/annotation/inject.d.ts +2 -0
  1181. package/es/common/inversify-lite/annotation/inject.js +8 -0
  1182. package/es/common/inversify-lite/annotation/inject.js.map +1 -0
  1183. package/es/common/inversify-lite/annotation/inject_base.d.ts +3 -0
  1184. package/es/common/inversify-lite/annotation/inject_base.js +16 -0
  1185. package/es/common/inversify-lite/annotation/inject_base.js.map +1 -0
  1186. package/es/common/inversify-lite/annotation/injectable.d.ts +2 -0
  1187. package/es/common/inversify-lite/annotation/injectable.js +16 -0
  1188. package/es/common/inversify-lite/annotation/injectable.js.map +1 -0
  1189. package/es/common/inversify-lite/annotation/lazy_service_identifier.d.ts +7 -0
  1190. package/es/common/inversify-lite/annotation/lazy_service_identifier.js +9 -0
  1191. package/es/common/inversify-lite/annotation/lazy_service_identifier.js.map +1 -0
  1192. package/es/common/inversify-lite/annotation/multi_inject.d.ts +2 -0
  1193. package/es/common/inversify-lite/annotation/multi_inject.js +8 -0
  1194. package/es/common/inversify-lite/annotation/multi_inject.js.map +1 -0
  1195. package/es/common/inversify-lite/annotation/named.d.ts +2 -0
  1196. package/es/common/inversify-lite/annotation/named.js +12 -0
  1197. package/es/common/inversify-lite/annotation/named.js.map +1 -0
  1198. package/es/common/inversify-lite/annotation/post_construct.d.ts +4 -0
  1199. package/es/common/inversify-lite/annotation/post_construct.js +10 -0
  1200. package/es/common/inversify-lite/annotation/post_construct.js.map +1 -0
  1201. package/es/common/inversify-lite/annotation/property_event_decorator.d.ts +4 -0
  1202. package/es/common/inversify-lite/annotation/property_event_decorator.js +14 -0
  1203. package/es/common/inversify-lite/annotation/property_event_decorator.js.map +1 -0
  1204. package/es/common/inversify-lite/bindings/binding.d.ts +20 -0
  1205. package/es/common/inversify-lite/bindings/binding.js +23 -0
  1206. package/es/common/inversify-lite/bindings/binding.js.map +1 -0
  1207. package/es/common/inversify-lite/bindings/binding_count.d.ts +5 -0
  1208. package/es/common/inversify-lite/bindings/binding_count.js +6 -0
  1209. package/es/common/inversify-lite/bindings/binding_count.js.map +1 -0
  1210. package/es/common/inversify-lite/constants/error_msgs.d.ts +32 -0
  1211. package/es/common/inversify-lite/constants/error_msgs.js +64 -0
  1212. package/es/common/inversify-lite/constants/error_msgs.js.map +1 -0
  1213. package/es/common/inversify-lite/constants/literal_types.d.ts +5 -0
  1214. package/es/common/inversify-lite/constants/literal_types.js +21 -0
  1215. package/es/common/inversify-lite/constants/literal_types.js.map +1 -0
  1216. package/es/common/inversify-lite/constants/metadata_keys.d.ts +13 -0
  1217. package/es/common/inversify-lite/constants/metadata_keys.js +30 -0
  1218. package/es/common/inversify-lite/constants/metadata_keys.js.map +1 -0
  1219. package/es/common/inversify-lite/container/container.d.ts +46 -0
  1220. package/es/common/inversify-lite/container/container.js +281 -0
  1221. package/es/common/inversify-lite/container/container.js.map +1 -0
  1222. package/es/common/inversify-lite/container/container_module.d.ts +11 -0
  1223. package/es/common/inversify-lite/container/container_module.js +14 -0
  1224. package/es/common/inversify-lite/container/container_module.js.map +1 -0
  1225. package/es/common/inversify-lite/container/lookup.d.ts +16 -0
  1226. package/es/common/inversify-lite/container/lookup.js +68 -0
  1227. package/es/common/inversify-lite/container/lookup.js.map +1 -0
  1228. package/es/common/inversify-lite/index.d.ts +8 -0
  1229. package/es/common/inversify-lite/index.js +16 -0
  1230. package/es/common/inversify-lite/index.js.map +1 -0
  1231. package/es/common/inversify-lite/interfaces/interfaces.d.ts +239 -0
  1232. package/es/common/inversify-lite/interfaces/interfaces.js +2 -0
  1233. package/es/common/inversify-lite/interfaces/interfaces.js.map +1 -0
  1234. package/es/common/inversify-lite/planning/context.d.ts +11 -0
  1235. package/es/common/inversify-lite/planning/context.js +16 -0
  1236. package/es/common/inversify-lite/planning/context.js.map +1 -0
  1237. package/es/common/inversify-lite/planning/metadata.d.ts +8 -0
  1238. package/es/common/inversify-lite/planning/metadata.js +13 -0
  1239. package/es/common/inversify-lite/planning/metadata.js.map +1 -0
  1240. package/es/common/inversify-lite/planning/metadata_reader.d.ts +6 -0
  1241. package/es/common/inversify-lite/planning/metadata_reader.js +18 -0
  1242. package/es/common/inversify-lite/planning/metadata_reader.js.map +1 -0
  1243. package/es/common/inversify-lite/planning/plan.d.ts +7 -0
  1244. package/es/common/inversify-lite/planning/plan.js +8 -0
  1245. package/es/common/inversify-lite/planning/plan.js.map +1 -0
  1246. package/es/common/inversify-lite/planning/planner.d.ts +5 -0
  1247. package/es/common/inversify-lite/planning/planner.js +120 -0
  1248. package/es/common/inversify-lite/planning/planner.js.map +1 -0
  1249. package/es/common/inversify-lite/planning/queryable_string.d.ts +11 -0
  1250. package/es/common/inversify-lite/planning/queryable_string.js +27 -0
  1251. package/es/common/inversify-lite/planning/queryable_string.js.map +1 -0
  1252. package/es/common/inversify-lite/planning/reflection_utils.d.ts +5 -0
  1253. package/es/common/inversify-lite/planning/reflection_utils.js +99 -0
  1254. package/es/common/inversify-lite/planning/reflection_utils.js.map +1 -0
  1255. package/es/common/inversify-lite/planning/request.d.ts +14 -0
  1256. package/es/common/inversify-lite/planning/request.js +16 -0
  1257. package/es/common/inversify-lite/planning/request.js.map +1 -0
  1258. package/es/common/inversify-lite/planning/target.d.ts +23 -0
  1259. package/es/common/inversify-lite/planning/target.js +58 -0
  1260. package/es/common/inversify-lite/planning/target.js.map +1 -0
  1261. package/es/common/inversify-lite/resolution/instantiation.d.ts +3 -0
  1262. package/es/common/inversify-lite/resolution/instantiation.js +117 -0
  1263. package/es/common/inversify-lite/resolution/instantiation.js.map +1 -0
  1264. package/es/common/inversify-lite/resolution/resolver.d.ts +3 -0
  1265. package/es/common/inversify-lite/resolution/resolver.js +55 -0
  1266. package/es/common/inversify-lite/resolution/resolver.js.map +1 -0
  1267. package/es/common/inversify-lite/scope/scope.d.ts +3 -0
  1268. package/es/common/inversify-lite/scope/scope.js +50 -0
  1269. package/es/common/inversify-lite/scope/scope.js.map +1 -0
  1270. package/es/common/inversify-lite/syntax/binding_in_syntax.d.ts +9 -0
  1271. package/es/common/inversify-lite/syntax/binding_in_syntax.js +21 -0
  1272. package/es/common/inversify-lite/syntax/binding_in_syntax.js.map +1 -0
  1273. package/es/common/inversify-lite/syntax/binding_in_when_on_syntax.d.ts +12 -0
  1274. package/es/common/inversify-lite/syntax/binding_in_when_on_syntax.js +25 -0
  1275. package/es/common/inversify-lite/syntax/binding_in_when_on_syntax.js.map +1 -0
  1276. package/es/common/inversify-lite/syntax/binding_on_syntax.d.ts +6 -0
  1277. package/es/common/inversify-lite/syntax/binding_on_syntax.js +8 -0
  1278. package/es/common/inversify-lite/syntax/binding_on_syntax.js.map +1 -0
  1279. package/es/common/inversify-lite/syntax/binding_to_syntax.d.ts +18 -0
  1280. package/es/common/inversify-lite/syntax/binding_to_syntax.js +63 -0
  1281. package/es/common/inversify-lite/syntax/binding_to_syntax.js.map +1 -0
  1282. package/es/common/inversify-lite/syntax/binding_when_on_syntax.d.ts +8 -0
  1283. package/es/common/inversify-lite/syntax/binding_when_on_syntax.js +13 -0
  1284. package/es/common/inversify-lite/syntax/binding_when_on_syntax.js.map +1 -0
  1285. package/es/common/inversify-lite/syntax/binding_when_syntax.d.ts +7 -0
  1286. package/es/common/inversify-lite/syntax/binding_when_syntax.js +15 -0
  1287. package/es/common/inversify-lite/syntax/binding_when_syntax.js.map +1 -0
  1288. package/es/common/inversify-lite/syntax/constraint_helpers.d.ts +3 -0
  1289. package/es/common/inversify-lite/syntax/constraint_helpers.js +11 -0
  1290. package/es/common/inversify-lite/syntax/constraint_helpers.js.map +1 -0
  1291. package/es/common/inversify-lite/utils/async.d.ts +3 -0
  1292. package/es/common/inversify-lite/utils/async.js +10 -0
  1293. package/es/common/inversify-lite/utils/async.js.map +1 -0
  1294. package/es/common/inversify-lite/utils/binding_utils.d.ts +4 -0
  1295. package/es/common/inversify-lite/utils/binding_utils.js +65 -0
  1296. package/es/common/inversify-lite/utils/binding_utils.js.map +1 -0
  1297. package/es/common/inversify-lite/utils/clonable.d.ts +3 -0
  1298. package/es/common/inversify-lite/utils/clonable.js +6 -0
  1299. package/es/common/inversify-lite/utils/clonable.js.map +1 -0
  1300. package/es/common/inversify-lite/utils/exceptions.d.ts +2 -0
  1301. package/es/common/inversify-lite/utils/exceptions.js +8 -0
  1302. package/es/common/inversify-lite/utils/exceptions.js.map +1 -0
  1303. package/es/common/inversify-lite/utils/factory_type.d.ts +5 -0
  1304. package/es/common/inversify-lite/utils/factory_type.js +7 -0
  1305. package/es/common/inversify-lite/utils/factory_type.js.map +1 -0
  1306. package/es/common/inversify-lite/utils/id.d.ts +2 -0
  1307. package/es/common/inversify-lite/utils/id.js +8 -0
  1308. package/es/common/inversify-lite/utils/id.js.map +1 -0
  1309. package/es/common/inversify-lite/utils/js.d.ts +1 -0
  1310. package/es/common/inversify-lite/utils/js.js +8 -0
  1311. package/es/common/inversify-lite/utils/js.js.map +1 -0
  1312. package/es/common/inversify-lite/utils/serialization.d.ts +10 -0
  1313. package/es/common/inversify-lite/utils/serialization.js +66 -0
  1314. package/es/common/inversify-lite/utils/serialization.js.map +1 -0
  1315. package/es/common/matrix.d.ts +5 -0
  1316. package/es/common/matrix.js +48 -0
  1317. package/es/common/matrix.js.map +1 -0
  1318. package/es/common/morphing-utils.d.ts +17 -0
  1319. package/es/common/morphing-utils.js +287 -0
  1320. package/es/common/morphing-utils.js.map +1 -0
  1321. package/es/common/path-svg.d.ts +12 -0
  1322. package/es/common/path-svg.js +58 -0
  1323. package/es/common/path-svg.js.map +1 -0
  1324. package/es/common/polygon.d.ts +4 -0
  1325. package/es/common/polygon.js +39 -0
  1326. package/es/common/polygon.js.map +1 -0
  1327. package/es/common/render-area.d.ts +11 -0
  1328. package/es/common/render-area.js +133 -0
  1329. package/es/common/render-area.js.map +1 -0
  1330. package/es/common/render-command-list.d.ts +2 -0
  1331. package/es/common/render-command-list.js +9 -0
  1332. package/es/common/render-command-list.js.map +1 -0
  1333. package/es/common/render-curve.d.ts +18 -0
  1334. package/es/common/render-curve.js +118 -0
  1335. package/es/common/render-curve.js.map +1 -0
  1336. package/es/common/seg-context.d.ts +36 -0
  1337. package/es/common/seg-context.js +94 -0
  1338. package/es/common/seg-context.js.map +1 -0
  1339. package/es/common/segment/basis.d.ts +28 -0
  1340. package/es/common/segment/basis.js +66 -0
  1341. package/es/common/segment/basis.js.map +1 -0
  1342. package/es/common/segment/common.d.ts +3 -0
  1343. package/es/common/segment/common.js +6 -0
  1344. package/es/common/segment/common.js.map +1 -0
  1345. package/es/common/segment/curve/arc.d.ts +14 -0
  1346. package/es/common/segment/curve/arc.js +22 -0
  1347. package/es/common/segment/curve/arc.js.map +1 -0
  1348. package/es/common/segment/curve/base.d.ts +13 -0
  1349. package/es/common/segment/curve/base.js +7 -0
  1350. package/es/common/segment/curve/base.js.map +1 -0
  1351. package/es/common/segment/curve/cubic-bezier.d.ts +19 -0
  1352. package/es/common/segment/curve/cubic-bezier.js +37 -0
  1353. package/es/common/segment/curve/cubic-bezier.js.map +1 -0
  1354. package/es/common/segment/curve/curve-context.d.ts +19 -0
  1355. package/es/common/segment/curve/curve-context.js +44 -0
  1356. package/es/common/segment/curve/curve-context.js.map +1 -0
  1357. package/es/common/segment/curve/ellipse.d.ts +18 -0
  1358. package/es/common/segment/curve/ellipse.js +24 -0
  1359. package/es/common/segment/curve/ellipse.js.map +1 -0
  1360. package/es/common/segment/curve/line.d.ts +18 -0
  1361. package/es/common/segment/curve/line.js +34 -0
  1362. package/es/common/segment/curve/line.js.map +1 -0
  1363. package/es/common/segment/curve/move.d.ts +13 -0
  1364. package/es/common/segment/curve/move.js +22 -0
  1365. package/es/common/segment/curve/move.js.map +1 -0
  1366. package/es/common/segment/curve/path.d.ts +11 -0
  1367. package/es/common/segment/curve/path.js +23 -0
  1368. package/es/common/segment/curve/path.js.map +1 -0
  1369. package/es/common/segment/curve/quadratic-bezier.d.ts +16 -0
  1370. package/es/common/segment/curve/quadratic-bezier.js +23 -0
  1371. package/es/common/segment/curve/quadratic-bezier.js.map +1 -0
  1372. package/es/common/segment/index.d.ts +11 -0
  1373. package/es/common/segment/index.js +51 -0
  1374. package/es/common/segment/index.js.map +1 -0
  1375. package/es/common/segment/linear-closed.d.ts +24 -0
  1376. package/es/common/segment/linear-closed.js +56 -0
  1377. package/es/common/segment/linear-closed.js.map +1 -0
  1378. package/es/common/segment/linear.d.ts +24 -0
  1379. package/es/common/segment/linear.js +56 -0
  1380. package/es/common/segment/linear.js.map +1 -0
  1381. package/es/common/segment/monotone.d.ts +36 -0
  1382. package/es/common/segment/monotone.js +123 -0
  1383. package/es/common/segment/monotone.js.map +1 -0
  1384. package/es/common/segment/step.d.ts +26 -0
  1385. package/es/common/segment/step.js +62 -0
  1386. package/es/common/segment/step.js.map +1 -0
  1387. package/es/common/shape/arc.d.ts +5 -0
  1388. package/es/common/shape/arc.js +40 -0
  1389. package/es/common/shape/arc.js.map +1 -0
  1390. package/es/common/shape/rect.d.ts +2 -0
  1391. package/es/common/shape/rect.js +48 -0
  1392. package/es/common/shape/rect.js.map +1 -0
  1393. package/es/common/sort.d.ts +4 -0
  1394. package/es/common/sort.js +94 -0
  1395. package/es/common/sort.js.map +1 -0
  1396. package/es/common/split-path.d.ts +44 -0
  1397. package/es/common/split-path.js +249 -0
  1398. package/es/common/split-path.js.map +1 -0
  1399. package/es/common/store.d.ts +2 -0
  1400. package/es/common/store.js +1 -0
  1401. package/es/common/store.js.map +1 -0
  1402. package/es/common/text.d.ts +6 -0
  1403. package/es/common/text.js +19 -0
  1404. package/es/common/text.js.map +1 -0
  1405. package/es/common/utils.d.ts +40 -0
  1406. package/es/common/utils.js +143 -0
  1407. package/es/common/utils.js.map +1 -0
  1408. package/es/common/xml/OrderedObjParser.d.ts +19 -0
  1409. package/es/common/xml/OrderedObjParser.js +122 -0
  1410. package/es/common/xml/OrderedObjParser.js.map +1 -0
  1411. package/es/common/xml/index.d.ts +1 -0
  1412. package/es/common/xml/index.js +2 -0
  1413. package/es/common/xml/index.js.map +1 -0
  1414. package/es/common/xml/node2json.d.ts +1 -0
  1415. package/es/common/xml/node2json.js +41 -0
  1416. package/es/common/xml/node2json.js.map +1 -0
  1417. package/es/common/xml/parser.d.ts +10 -0
  1418. package/es/common/xml/parser.js +28 -0
  1419. package/es/common/xml/parser.js.map +1 -0
  1420. package/es/common/xml/type.d.ts +1 -0
  1421. package/es/common/xml/type.js +2 -0
  1422. package/es/common/xml/type.js.map +1 -0
  1423. package/es/common/xml/utils.d.ts +1 -0
  1424. package/es/common/xml/utils.js +15 -0
  1425. package/es/common/xml/utils.js.map +1 -0
  1426. package/es/constants.d.ts +2 -0
  1427. package/es/constants.js +4 -0
  1428. package/es/constants.js.map +1 -0
  1429. package/es/container.d.ts +2 -0
  1430. package/es/container.js +4 -0
  1431. package/es/container.js.map +1 -0
  1432. package/es/core/application.d.ts +1 -0
  1433. package/es/core/application.js +2 -0
  1434. package/es/core/application.js.map +1 -0
  1435. package/es/core/camera.d.ts +19 -0
  1436. package/es/core/camera.js +61 -0
  1437. package/es/core/camera.js.map +1 -0
  1438. package/es/core/constants.d.ts +3 -0
  1439. package/es/core/constants.js +6 -0
  1440. package/es/core/constants.js.map +1 -0
  1441. package/es/core/contributions/env/base-contribution.d.ts +58 -0
  1442. package/es/core/contributions/env/base-contribution.js +81 -0
  1443. package/es/core/contributions/env/base-contribution.js.map +1 -0
  1444. package/es/core/contributions/env/modules.d.ts +3 -0
  1445. package/es/core/contributions/env/modules.js +10 -0
  1446. package/es/core/contributions/env/modules.js.map +1 -0
  1447. package/es/core/contributions/index.d.ts +4 -0
  1448. package/es/core/contributions/index.js +8 -0
  1449. package/es/core/contributions/index.js.map +1 -0
  1450. package/es/core/contributions/layerHandler/canvas2d-contribution.d.ts +22 -0
  1451. package/es/core/contributions/layerHandler/canvas2d-contribution.js +90 -0
  1452. package/es/core/contributions/layerHandler/canvas2d-contribution.js.map +1 -0
  1453. package/es/core/contributions/layerHandler/modules.d.ts +3 -0
  1454. package/es/core/contributions/layerHandler/modules.js +13 -0
  1455. package/es/core/contributions/layerHandler/modules.js.map +1 -0
  1456. package/es/core/contributions/layerHandler/offscreen2d-contribution.d.ts +20 -0
  1457. package/es/core/contributions/layerHandler/offscreen2d-contribution.js +76 -0
  1458. package/es/core/contributions/layerHandler/offscreen2d-contribution.js.map +1 -0
  1459. package/es/core/contributions/modules.d.ts +2 -0
  1460. package/es/core/contributions/modules.js +10 -0
  1461. package/es/core/contributions/modules.js.map +1 -0
  1462. package/es/core/contributions/textMeasure/AtextMeasure.d.ts +52 -0
  1463. package/es/core/contributions/textMeasure/AtextMeasure.js +182 -0
  1464. package/es/core/contributions/textMeasure/AtextMeasure.js.map +1 -0
  1465. package/es/core/contributions/textMeasure/layout.d.ts +13 -0
  1466. package/es/core/contributions/textMeasure/layout.js +83 -0
  1467. package/es/core/contributions/textMeasure/layout.js.map +1 -0
  1468. package/es/core/contributions/textMeasure/modules.d.ts +3 -0
  1469. package/es/core/contributions/textMeasure/modules.js +11 -0
  1470. package/es/core/contributions/textMeasure/modules.js.map +1 -0
  1471. package/es/core/contributions/textMeasure/textMeasure-contribution.d.ts +4 -0
  1472. package/es/core/contributions/textMeasure/textMeasure-contribution.js +18 -0
  1473. package/es/core/contributions/textMeasure/textMeasure-contribution.js.map +1 -0
  1474. package/es/core/contributions/window/base-contribution.d.ts +49 -0
  1475. package/es/core/contributions/window/base-contribution.js +41 -0
  1476. package/es/core/contributions/window/base-contribution.js.map +1 -0
  1477. package/es/core/core-modules.d.ts +3 -0
  1478. package/es/core/core-modules.js +22 -0
  1479. package/es/core/core-modules.js.map +1 -0
  1480. package/es/core/global-module.d.ts +1 -0
  1481. package/es/core/global-module.js +1 -0
  1482. package/es/core/global-module.js.map +1 -0
  1483. package/es/core/global.d.ts +70 -0
  1484. package/es/core/global.js +162 -0
  1485. package/es/core/global.js.map +1 -0
  1486. package/es/core/graphic-utils.d.ts +40 -0
  1487. package/es/core/graphic-utils.js +146 -0
  1488. package/es/core/graphic-utils.js.map +1 -0
  1489. package/es/core/index.d.ts +9 -0
  1490. package/es/core/index.js +18 -0
  1491. package/es/core/index.js.map +1 -0
  1492. package/es/core/layer-service.d.ts +16 -0
  1493. package/es/core/layer-service.js +56 -0
  1494. package/es/core/layer-service.js.map +1 -0
  1495. package/es/core/layer.d.ts +55 -0
  1496. package/es/core/layer.js +129 -0
  1497. package/es/core/layer.js.map +1 -0
  1498. package/es/core/light.d.ts +11 -0
  1499. package/es/core/light.js +20 -0
  1500. package/es/core/light.js.map +1 -0
  1501. package/es/core/stage.d.ts +148 -0
  1502. package/es/core/stage.js +469 -0
  1503. package/es/core/stage.js.map +1 -0
  1504. package/es/core/window.d.ts +54 -0
  1505. package/es/core/window.js +130 -0
  1506. package/es/core/window.js.map +1 -0
  1507. package/es/create.d.ts +3 -0
  1508. package/es/create.js +6 -0
  1509. package/es/create.js.map +1 -0
  1510. package/es/event/constant.d.ts +1 -0
  1511. package/es/event/constant.js +2 -0
  1512. package/es/event/constant.js.map +1 -0
  1513. package/es/event/event-manager.d.ts +60 -0
  1514. package/es/event/event-manager.js +276 -0
  1515. package/es/event/event-manager.js.map +1 -0
  1516. package/es/event/event-system.d.ts +38 -0
  1517. package/es/event/event-system.js +194 -0
  1518. package/es/event/event-system.js.map +1 -0
  1519. package/es/event/event-target.d.ts +3 -0
  1520. package/es/event/event-target.js +16 -0
  1521. package/es/event/event-target.js.map +1 -0
  1522. package/es/event/federated-event/base-event.d.ts +53 -0
  1523. package/es/event/federated-event/base-event.js +61 -0
  1524. package/es/event/federated-event/base-event.js.map +1 -0
  1525. package/es/event/federated-event/custom-event.d.ts +4 -0
  1526. package/es/event/federated-event/custom-event.js +8 -0
  1527. package/es/event/federated-event/custom-event.js.map +1 -0
  1528. package/es/event/federated-event/index.d.ts +5 -0
  1529. package/es/event/federated-event/index.js +10 -0
  1530. package/es/event/federated-event/index.js.map +1 -0
  1531. package/es/event/federated-event/mouse-event.d.ts +29 -0
  1532. package/es/event/federated-event/mouse-event.js +47 -0
  1533. package/es/event/federated-event/mouse-event.js.map +1 -0
  1534. package/es/event/federated-event/pointer-event.d.ts +18 -0
  1535. package/es/event/federated-event/pointer-event.js +24 -0
  1536. package/es/event/federated-event/pointer-event.js.map +1 -0
  1537. package/es/event/federated-event/wheel-event.d.ts +14 -0
  1538. package/es/event/federated-event/wheel-event.js +21 -0
  1539. package/es/event/federated-event/wheel-event.js.map +1 -0
  1540. package/es/event/index.d.ts +7 -0
  1541. package/es/event/index.js +14 -0
  1542. package/es/event/index.js.map +1 -0
  1543. package/es/event/util.d.ts +1 -0
  1544. package/es/event/util.js +2 -0
  1545. package/es/event/util.js.map +1 -0
  1546. package/es/export.d.ts +1 -0
  1547. package/es/export.js +1 -0
  1548. package/es/export.js.map +1 -0
  1549. package/es/graphic/arc.d.ts +69 -0
  1550. package/es/graphic/arc.js +133 -0
  1551. package/es/graphic/arc.js.map +1 -0
  1552. package/es/graphic/arc3d.d.ts +40 -0
  1553. package/es/graphic/arc3d.js +32 -0
  1554. package/es/graphic/arc3d.js.map +1 -0
  1555. package/es/graphic/area.d.ts +51 -0
  1556. package/es/graphic/area.js +82 -0
  1557. package/es/graphic/area.js.map +1 -0
  1558. package/es/graphic/bounds.d.ts +6 -0
  1559. package/es/graphic/bounds.js +16 -0
  1560. package/es/graphic/bounds.js.map +1 -0
  1561. package/es/graphic/builtin-symbol/arrow.d.ts +11 -0
  1562. package/es/graphic/builtin-symbol/arrow.js +28 -0
  1563. package/es/graphic/builtin-symbol/arrow.js.map +1 -0
  1564. package/es/graphic/builtin-symbol/arrow2-down.d.ts +11 -0
  1565. package/es/graphic/builtin-symbol/arrow2-down.js +22 -0
  1566. package/es/graphic/builtin-symbol/arrow2-down.js.map +1 -0
  1567. package/es/graphic/builtin-symbol/arrow2-left.d.ts +11 -0
  1568. package/es/graphic/builtin-symbol/arrow2-left.js +22 -0
  1569. package/es/graphic/builtin-symbol/arrow2-left.js.map +1 -0
  1570. package/es/graphic/builtin-symbol/arrow2-right.d.ts +11 -0
  1571. package/es/graphic/builtin-symbol/arrow2-right.js +22 -0
  1572. package/es/graphic/builtin-symbol/arrow2-right.js.map +1 -0
  1573. package/es/graphic/builtin-symbol/arrow2-up.d.ts +11 -0
  1574. package/es/graphic/builtin-symbol/arrow2-up.js +22 -0
  1575. package/es/graphic/builtin-symbol/arrow2-up.js.map +1 -0
  1576. package/es/graphic/builtin-symbol/base.d.ts +4 -0
  1577. package/es/graphic/builtin-symbol/base.js +12 -0
  1578. package/es/graphic/builtin-symbol/base.js.map +1 -0
  1579. package/es/graphic/builtin-symbol/circle.d.ts +12 -0
  1580. package/es/graphic/builtin-symbol/circle.js +26 -0
  1581. package/es/graphic/builtin-symbol/circle.js.map +1 -0
  1582. package/es/graphic/builtin-symbol/close.d.ts +12 -0
  1583. package/es/graphic/builtin-symbol/close.js +25 -0
  1584. package/es/graphic/builtin-symbol/close.js.map +1 -0
  1585. package/es/graphic/builtin-symbol/cross.d.ts +12 -0
  1586. package/es/graphic/builtin-symbol/cross.js +34 -0
  1587. package/es/graphic/builtin-symbol/cross.js.map +1 -0
  1588. package/es/graphic/builtin-symbol/diamond.d.ts +12 -0
  1589. package/es/graphic/builtin-symbol/diamond.js +24 -0
  1590. package/es/graphic/builtin-symbol/diamond.js.map +1 -0
  1591. package/es/graphic/builtin-symbol/index.d.ts +4 -0
  1592. package/es/graphic/builtin-symbol/index.js +56 -0
  1593. package/es/graphic/builtin-symbol/index.js.map +1 -0
  1594. package/es/graphic/builtin-symbol/line-h.d.ts +12 -0
  1595. package/es/graphic/builtin-symbol/line-h.js +24 -0
  1596. package/es/graphic/builtin-symbol/line-h.js.map +1 -0
  1597. package/es/graphic/builtin-symbol/line-v.d.ts +12 -0
  1598. package/es/graphic/builtin-symbol/line-v.js +24 -0
  1599. package/es/graphic/builtin-symbol/line-v.js.map +1 -0
  1600. package/es/graphic/builtin-symbol/rect.d.ts +11 -0
  1601. package/es/graphic/builtin-symbol/rect.js +22 -0
  1602. package/es/graphic/builtin-symbol/rect.js.map +1 -0
  1603. package/es/graphic/builtin-symbol/square.d.ts +11 -0
  1604. package/es/graphic/builtin-symbol/square.js +21 -0
  1605. package/es/graphic/builtin-symbol/square.js.map +1 -0
  1606. package/es/graphic/builtin-symbol/star.d.ts +11 -0
  1607. package/es/graphic/builtin-symbol/star.js +30 -0
  1608. package/es/graphic/builtin-symbol/star.js.map +1 -0
  1609. package/es/graphic/builtin-symbol/stroke.d.ts +11 -0
  1610. package/es/graphic/builtin-symbol/stroke.js +20 -0
  1611. package/es/graphic/builtin-symbol/stroke.js.map +1 -0
  1612. package/es/graphic/builtin-symbol/thin-triangle.d.ts +11 -0
  1613. package/es/graphic/builtin-symbol/thin-triangle.js +26 -0
  1614. package/es/graphic/builtin-symbol/thin-triangle.js.map +1 -0
  1615. package/es/graphic/builtin-symbol/triangle-down.d.ts +12 -0
  1616. package/es/graphic/builtin-symbol/triangle-down.js +26 -0
  1617. package/es/graphic/builtin-symbol/triangle-down.js.map +1 -0
  1618. package/es/graphic/builtin-symbol/triangle-left.d.ts +12 -0
  1619. package/es/graphic/builtin-symbol/triangle-left.js +26 -0
  1620. package/es/graphic/builtin-symbol/triangle-left.js.map +1 -0
  1621. package/es/graphic/builtin-symbol/triangle-right.d.ts +12 -0
  1622. package/es/graphic/builtin-symbol/triangle-right.js +26 -0
  1623. package/es/graphic/builtin-symbol/triangle-right.js.map +1 -0
  1624. package/es/graphic/builtin-symbol/triangle-up.d.ts +12 -0
  1625. package/es/graphic/builtin-symbol/triangle-up.js +26 -0
  1626. package/es/graphic/builtin-symbol/triangle-up.js.map +1 -0
  1627. package/es/graphic/builtin-symbol/triangle.d.ts +8 -0
  1628. package/es/graphic/builtin-symbol/triangle.js +12 -0
  1629. package/es/graphic/builtin-symbol/triangle.js.map +1 -0
  1630. package/es/graphic/builtin-symbol/utils.d.ts +19 -0
  1631. package/es/graphic/builtin-symbol/utils.js +37 -0
  1632. package/es/graphic/builtin-symbol/utils.js.map +1 -0
  1633. package/es/graphic/builtin-symbol/wedge.d.ts +11 -0
  1634. package/es/graphic/builtin-symbol/wedge.js +22 -0
  1635. package/es/graphic/builtin-symbol/wedge.js.map +1 -0
  1636. package/es/graphic/builtin-symbol/wye.d.ts +11 -0
  1637. package/es/graphic/builtin-symbol/wye.js +30 -0
  1638. package/es/graphic/builtin-symbol/wye.js.map +1 -0
  1639. package/es/graphic/circle.d.ts +47 -0
  1640. package/es/graphic/circle.js +61 -0
  1641. package/es/graphic/circle.js.map +1 -0
  1642. package/es/graphic/config.d.ts +26 -0
  1643. package/es/graphic/config.js +265 -0
  1644. package/es/graphic/config.js.map +1 -0
  1645. package/es/graphic/constants.d.ts +40 -0
  1646. package/es/graphic/constants.js +64 -0
  1647. package/es/graphic/constants.js.map +1 -0
  1648. package/es/graphic/glyph.d.ts +69 -0
  1649. package/es/graphic/glyph.js +122 -0
  1650. package/es/graphic/glyph.js.map +1 -0
  1651. package/es/graphic/graphic-creator.d.ts +36 -0
  1652. package/es/graphic/graphic-creator.js +126 -0
  1653. package/es/graphic/graphic-creator.js.map +1 -0
  1654. package/es/graphic/graphic-service/arc-contribution.d.ts +5 -0
  1655. package/es/graphic/graphic-service/arc-contribution.js +18 -0
  1656. package/es/graphic/graphic-service/arc-contribution.js.map +1 -0
  1657. package/es/graphic/graphic-service/area-contribution.d.ts +1 -0
  1658. package/es/graphic/graphic-service/area-contribution.js +2 -0
  1659. package/es/graphic/graphic-service/area-contribution.js.map +1 -0
  1660. package/es/graphic/graphic-service/circle-contribution.d.ts +5 -0
  1661. package/es/graphic/graphic-service/circle-contribution.js +18 -0
  1662. package/es/graphic/graphic-service/circle-contribution.js.map +1 -0
  1663. package/es/graphic/graphic-service/common-contribution.d.ts +5 -0
  1664. package/es/graphic/graphic-service/common-contribution.js +23 -0
  1665. package/es/graphic/graphic-service/common-contribution.js.map +1 -0
  1666. package/es/graphic/graphic-service/default-theme.d.ts +1 -0
  1667. package/es/graphic/graphic-service/default-theme.js +3 -0
  1668. package/es/graphic/graphic-service/default-theme.js.map +1 -0
  1669. package/es/graphic/graphic-service/graphic-module.d.ts +3 -0
  1670. package/es/graphic/graphic-service/graphic-module.js +34 -0
  1671. package/es/graphic/graphic-service/graphic-module.js.map +1 -0
  1672. package/es/graphic/graphic-service/graphic-service.d.ts +78 -0
  1673. package/es/graphic/graphic-service/graphic-service.js +534 -0
  1674. package/es/graphic/graphic-service/graphic-service.js.map +1 -0
  1675. package/es/graphic/graphic-service/path-contribution.d.ts +5 -0
  1676. package/es/graphic/graphic-service/path-contribution.js +18 -0
  1677. package/es/graphic/graphic-service/path-contribution.js.map +1 -0
  1678. package/es/graphic/graphic-service/rect-contribution.d.ts +5 -0
  1679. package/es/graphic/graphic-service/rect-contribution.js +18 -0
  1680. package/es/graphic/graphic-service/rect-contribution.js.map +1 -0
  1681. package/es/graphic/graphic-service/symbol-contribution.d.ts +7 -0
  1682. package/es/graphic/graphic-service/symbol-contribution.js +29 -0
  1683. package/es/graphic/graphic-service/symbol-contribution.js.map +1 -0
  1684. package/es/graphic/graphic.d.ts +175 -0
  1685. package/es/graphic/graphic.js +639 -0
  1686. package/es/graphic/graphic.js.map +1 -0
  1687. package/es/graphic/group.d.ts +79 -0
  1688. package/es/graphic/group.js +181 -0
  1689. package/es/graphic/group.js.map +1 -0
  1690. package/es/graphic/image.d.ts +60 -0
  1691. package/es/graphic/image.js +95 -0
  1692. package/es/graphic/image.js.map +1 -0
  1693. package/es/graphic/index.d.ts +28 -0
  1694. package/es/graphic/index.js +56 -0
  1695. package/es/graphic/index.js.map +1 -0
  1696. package/es/graphic/line.d.ts +50 -0
  1697. package/es/graphic/line.js +74 -0
  1698. package/es/graphic/line.js.map +1 -0
  1699. package/es/graphic/node-tree.d.ts +77 -0
  1700. package/es/graphic/node-tree.js +351 -0
  1701. package/es/graphic/node-tree.js.map +1 -0
  1702. package/es/graphic/path.d.ts +53 -0
  1703. package/es/graphic/path.js +77 -0
  1704. package/es/graphic/path.js.map +1 -0
  1705. package/es/graphic/polygon.d.ts +49 -0
  1706. package/es/graphic/polygon.js +63 -0
  1707. package/es/graphic/polygon.js.map +1 -0
  1708. package/es/graphic/pyramid3d.d.ts +42 -0
  1709. package/es/graphic/pyramid3d.js +96 -0
  1710. package/es/graphic/pyramid3d.js.map +1 -0
  1711. package/es/graphic/rect.d.ts +47 -0
  1712. package/es/graphic/rect.js +58 -0
  1713. package/es/graphic/rect.js.map +1 -0
  1714. package/es/graphic/rect3d.d.ts +38 -0
  1715. package/es/graphic/rect3d.js +54 -0
  1716. package/es/graphic/rect3d.js.map +1 -0
  1717. package/es/graphic/richtext/frame.d.ts +43 -0
  1718. package/es/graphic/richtext/frame.js +142 -0
  1719. package/es/graphic/richtext/frame.js.map +1 -0
  1720. package/es/graphic/richtext/icon.d.ts +24 -0
  1721. package/es/graphic/richtext/icon.js +41 -0
  1722. package/es/graphic/richtext/icon.js.map +1 -0
  1723. package/es/graphic/richtext/line.d.ts +27 -0
  1724. package/es/graphic/richtext/line.js +95 -0
  1725. package/es/graphic/richtext/line.js.map +1 -0
  1726. package/es/graphic/richtext/paragraph.d.ts +28 -0
  1727. package/es/graphic/richtext/paragraph.js +75 -0
  1728. package/es/graphic/richtext/paragraph.js.map +1 -0
  1729. package/es/graphic/richtext/utils.d.ts +42 -0
  1730. package/es/graphic/richtext/utils.js +178 -0
  1731. package/es/graphic/richtext/utils.js.map +1 -0
  1732. package/es/graphic/richtext/wrapper.d.ts +25 -0
  1733. package/es/graphic/richtext/wrapper.js +48 -0
  1734. package/es/graphic/richtext/wrapper.js.map +1 -0
  1735. package/es/graphic/richtext.d.ts +78 -0
  1736. package/es/graphic/richtext.js +190 -0
  1737. package/es/graphic/richtext.js.map +1 -0
  1738. package/es/graphic/shadow-root.d.ts +13 -0
  1739. package/es/graphic/shadow-root.js +36 -0
  1740. package/es/graphic/shadow-root.js.map +1 -0
  1741. package/es/graphic/symbol.d.ts +53 -0
  1742. package/es/graphic/symbol.js +105 -0
  1743. package/es/graphic/symbol.js.map +1 -0
  1744. package/es/graphic/text.d.ts +65 -0
  1745. package/es/graphic/text.js +247 -0
  1746. package/es/graphic/text.js.map +1 -0
  1747. package/es/graphic/theme.d.ts +20 -0
  1748. package/es/graphic/theme.js +127 -0
  1749. package/es/graphic/theme.js.map +1 -0
  1750. package/es/graphic/tools.d.ts +15 -0
  1751. package/es/graphic/tools.js +162 -0
  1752. package/es/graphic/tools.js.map +1 -0
  1753. package/es/graphic/wrap-text.d.ts +10 -0
  1754. package/es/graphic/wrap-text.js +113 -0
  1755. package/es/graphic/wrap-text.js.map +1 -0
  1756. package/es/index.d.ts +46 -0
  1757. package/es/index.js +92 -0
  1758. package/es/index.js.map +1 -0
  1759. package/es/interface/allocator.d.ts +27 -0
  1760. package/es/interface/allocator.js +2 -0
  1761. package/es/interface/allocator.js.map +1 -0
  1762. package/es/interface/animate.d.ts +191 -0
  1763. package/es/interface/animate.js +2 -0
  1764. package/es/interface/animate.js.map +1 -0
  1765. package/es/interface/camera.d.ts +24 -0
  1766. package/es/interface/camera.js +2 -0
  1767. package/es/interface/camera.js.map +1 -0
  1768. package/es/interface/canvas.d.ts +61 -0
  1769. package/es/interface/canvas.js +2 -0
  1770. package/es/interface/canvas.js.map +1 -0
  1771. package/es/interface/color.d.ts +37 -0
  1772. package/es/interface/color.js +2 -0
  1773. package/es/interface/color.js.map +1 -0
  1774. package/es/interface/common.d.ts +27 -0
  1775. package/es/interface/common.js +2 -0
  1776. package/es/interface/common.js.map +1 -0
  1777. package/es/interface/context.d.ts +196 -0
  1778. package/es/interface/context.js +2 -0
  1779. package/es/interface/context.js.map +1 -0
  1780. package/es/interface/contribution.d.ts +86 -0
  1781. package/es/interface/contribution.js +2 -0
  1782. package/es/interface/contribution.js.map +1 -0
  1783. package/es/interface/core.d.ts +36 -0
  1784. package/es/interface/core.js +2 -0
  1785. package/es/interface/core.js.map +1 -0
  1786. package/es/interface/creator.d.ts +4 -0
  1787. package/es/interface/creator.js +2 -0
  1788. package/es/interface/creator.js.map +1 -0
  1789. package/es/interface/curve.d.ts +42 -0
  1790. package/es/interface/curve.js +2 -0
  1791. package/es/interface/curve.js.map +1 -0
  1792. package/es/interface/event.d.ts +193 -0
  1793. package/es/interface/event.js +2 -0
  1794. package/es/interface/event.js.map +1 -0
  1795. package/es/interface/global.d.ts +153 -0
  1796. package/es/interface/global.js +2 -0
  1797. package/es/interface/global.js.map +1 -0
  1798. package/es/interface/graphic/arc.d.ts +37 -0
  1799. package/es/interface/graphic/arc.js +2 -0
  1800. package/es/interface/graphic/arc.js.map +1 -0
  1801. package/es/interface/graphic/arc3d.d.ts +22 -0
  1802. package/es/interface/graphic/arc3d.js +2 -0
  1803. package/es/interface/graphic/arc3d.js.map +1 -0
  1804. package/es/interface/graphic/area.d.ts +24 -0
  1805. package/es/interface/graphic/area.js +2 -0
  1806. package/es/interface/graphic/area.js.map +1 -0
  1807. package/es/interface/graphic/bounds.d.ts +37 -0
  1808. package/es/interface/graphic/bounds.js +8 -0
  1809. package/es/interface/graphic/bounds.js.map +1 -0
  1810. package/es/interface/graphic/circle.d.ts +8 -0
  1811. package/es/interface/graphic/circle.js +2 -0
  1812. package/es/interface/graphic/circle.js.map +1 -0
  1813. package/es/interface/graphic/creator.d.ts +32 -0
  1814. package/es/interface/graphic/creator.js +2 -0
  1815. package/es/interface/graphic/creator.js.map +1 -0
  1816. package/es/interface/graphic/dynamic-path.d.ts +1 -0
  1817. package/es/interface/graphic/dynamic-path.js +3 -0
  1818. package/es/interface/graphic/dynamic-path.js.map +1 -0
  1819. package/es/interface/graphic/ellipse.d.ts +8 -0
  1820. package/es/interface/graphic/ellipse.js +2 -0
  1821. package/es/interface/graphic/ellipse.js.map +1 -0
  1822. package/es/interface/graphic/face3d.d.ts +11 -0
  1823. package/es/interface/graphic/face3d.js +2 -0
  1824. package/es/interface/graphic/face3d.js.map +1 -0
  1825. package/es/interface/graphic/glyph.d.ts +24 -0
  1826. package/es/interface/graphic/glyph.js +2 -0
  1827. package/es/interface/graphic/glyph.js.map +1 -0
  1828. package/es/interface/graphic/group.d.ts +30 -0
  1829. package/es/interface/graphic/group.js +2 -0
  1830. package/es/interface/graphic/group.js.map +1 -0
  1831. package/es/interface/graphic/image.d.ts +15 -0
  1832. package/es/interface/graphic/image.js +2 -0
  1833. package/es/interface/graphic/image.js.map +1 -0
  1834. package/es/interface/graphic/index.d.ts +26 -0
  1835. package/es/interface/graphic/index.js +52 -0
  1836. package/es/interface/graphic/index.js.map +1 -0
  1837. package/es/interface/graphic/isogon.d.ts +7 -0
  1838. package/es/interface/graphic/isogon.js +2 -0
  1839. package/es/interface/graphic/isogon.js.map +1 -0
  1840. package/es/interface/graphic/line.d.ts +23 -0
  1841. package/es/interface/graphic/line.js +2 -0
  1842. package/es/interface/graphic/line.js.map +1 -0
  1843. package/es/interface/graphic/path.d.ts +14 -0
  1844. package/es/interface/graphic/path.js +2 -0
  1845. package/es/interface/graphic/path.js.map +1 -0
  1846. package/es/interface/graphic/polygon.d.ts +9 -0
  1847. package/es/interface/graphic/polygon.js +2 -0
  1848. package/es/interface/graphic/polygon.js.map +1 -0
  1849. package/es/interface/graphic/polyline.d.ts +3 -0
  1850. package/es/interface/graphic/polyline.js +2 -0
  1851. package/es/interface/graphic/polyline.js.map +1 -0
  1852. package/es/interface/graphic/pyramid3d.d.ts +7 -0
  1853. package/es/interface/graphic/pyramid3d.js +2 -0
  1854. package/es/interface/graphic/pyramid3d.js.map +1 -0
  1855. package/es/interface/graphic/rect.d.ts +11 -0
  1856. package/es/interface/graphic/rect.js +2 -0
  1857. package/es/interface/graphic/rect.js.map +1 -0
  1858. package/es/interface/graphic/rect3d.d.ts +10 -0
  1859. package/es/interface/graphic/rect3d.js +2 -0
  1860. package/es/interface/graphic/rect3d.js.map +1 -0
  1861. package/es/interface/graphic/richText.d.ts +181 -0
  1862. package/es/interface/graphic/richText.js +2 -0
  1863. package/es/interface/graphic/richText.js.map +1 -0
  1864. package/es/interface/graphic/shadow-root.d.ts +5 -0
  1865. package/es/interface/graphic/shadow-root.js +2 -0
  1866. package/es/interface/graphic/shadow-root.js.map +1 -0
  1867. package/es/interface/graphic/svg.d.ts +7 -0
  1868. package/es/interface/graphic/svg.js +2 -0
  1869. package/es/interface/graphic/svg.js.map +1 -0
  1870. package/es/interface/graphic/symbol.d.ts +22 -0
  1871. package/es/interface/graphic/symbol.js +2 -0
  1872. package/es/interface/graphic/symbol.js.map +1 -0
  1873. package/es/interface/graphic/text.d.ts +73 -0
  1874. package/es/interface/graphic/text.js +2 -0
  1875. package/es/interface/graphic/text.js.map +1 -0
  1876. package/es/interface/graphic/theme.d.ts +56 -0
  1877. package/es/interface/graphic/theme.js +2 -0
  1878. package/es/interface/graphic/theme.js.map +1 -0
  1879. package/es/interface/graphic/util.d.ts +15 -0
  1880. package/es/interface/graphic/util.js +2 -0
  1881. package/es/interface/graphic/util.js.map +1 -0
  1882. package/es/interface/graphic-service.d.ts +78 -0
  1883. package/es/interface/graphic-service.js +2 -0
  1884. package/es/interface/graphic-service.js.map +1 -0
  1885. package/es/interface/graphic-utils.d.ts +1 -0
  1886. package/es/interface/graphic-utils.js +3 -0
  1887. package/es/interface/graphic-utils.js.map +1 -0
  1888. package/es/interface/graphic.d.ts +253 -0
  1889. package/es/interface/graphic.js +2 -0
  1890. package/es/interface/graphic.js.map +1 -0
  1891. package/es/interface/index.d.ts +29 -0
  1892. package/es/interface/index.js +58 -0
  1893. package/es/interface/index.js.map +1 -0
  1894. package/es/interface/layer.d.ts +99 -0
  1895. package/es/interface/layer.js +2 -0
  1896. package/es/interface/layer.js.map +1 -0
  1897. package/es/interface/light.d.ts +6 -0
  1898. package/es/interface/light.js +2 -0
  1899. package/es/interface/light.js.map +1 -0
  1900. package/es/interface/loader.d.ts +17 -0
  1901. package/es/interface/loader.js +2 -0
  1902. package/es/interface/loader.js.map +1 -0
  1903. package/es/interface/matrix.d.ts +21 -0
  1904. package/es/interface/matrix.js +2 -0
  1905. package/es/interface/matrix.js.map +1 -0
  1906. package/es/interface/node-tree.d.ts +43 -0
  1907. package/es/interface/node-tree.js +2 -0
  1908. package/es/interface/node-tree.js.map +1 -0
  1909. package/es/interface/path.d.ts +100 -0
  1910. package/es/interface/path.js +2 -0
  1911. package/es/interface/path.js.map +1 -0
  1912. package/es/interface/picker.d.ts +56 -0
  1913. package/es/interface/picker.js +2 -0
  1914. package/es/interface/picker.js.map +1 -0
  1915. package/es/interface/plugin.d.ts +17 -0
  1916. package/es/interface/plugin.js +2 -0
  1917. package/es/interface/plugin.js.map +1 -0
  1918. package/es/interface/render.d.ts +90 -0
  1919. package/es/interface/render.js +2 -0
  1920. package/es/interface/render.js.map +1 -0
  1921. package/es/interface/stage.d.ts +146 -0
  1922. package/es/interface/stage.js +2 -0
  1923. package/es/interface/stage.js.map +1 -0
  1924. package/es/interface/sync-hook.d.ts +26 -0
  1925. package/es/interface/sync-hook.js +2 -0
  1926. package/es/interface/sync-hook.js.map +1 -0
  1927. package/es/interface/text.d.ts +49 -0
  1928. package/es/interface/text.js +2 -0
  1929. package/es/interface/text.js.map +1 -0
  1930. package/es/interface/theme-service.d.ts +1 -0
  1931. package/es/interface/theme-service.js +3 -0
  1932. package/es/interface/theme-service.js.map +1 -0
  1933. package/es/interface/util.d.ts +1 -0
  1934. package/es/interface/util.js +3 -0
  1935. package/es/interface/util.js.map +1 -0
  1936. package/es/interface/window.d.ts +84 -0
  1937. package/es/interface/window.js +2 -0
  1938. package/es/interface/window.js.map +1 -0
  1939. package/es/modules.d.ts +8 -0
  1940. package/es/modules.js +54 -0
  1941. package/es/modules.js.map +1 -0
  1942. package/es/picker/constants.d.ts +4 -0
  1943. package/es/picker/constants.js +8 -0
  1944. package/es/picker/constants.js.map +1 -0
  1945. package/es/picker/global-picker-service.d.ts +13 -0
  1946. package/es/picker/global-picker-service.js +75 -0
  1947. package/es/picker/global-picker-service.js.map +1 -0
  1948. package/es/picker/index.d.ts +4 -0
  1949. package/es/picker/index.js +8 -0
  1950. package/es/picker/index.js.map +1 -0
  1951. package/es/picker/pick-interceptor.d.ts +22 -0
  1952. package/es/picker/pick-interceptor.js +109 -0
  1953. package/es/picker/pick-interceptor.js.map +1 -0
  1954. package/es/picker/pick-modules.d.ts +3 -0
  1955. package/es/picker/pick-modules.js +18 -0
  1956. package/es/picker/pick-modules.js.map +1 -0
  1957. package/es/picker/picker-service.d.ts +18 -0
  1958. package/es/picker/picker-service.js +127 -0
  1959. package/es/picker/picker-service.js.map +1 -0
  1960. package/es/plugins/builtin-plugin/3dview-transform-plugin.d.ts +17 -0
  1961. package/es/plugins/builtin-plugin/3dview-transform-plugin.js +36 -0
  1962. package/es/plugins/builtin-plugin/3dview-transform-plugin.js.map +1 -0
  1963. package/es/plugins/builtin-plugin/auto-render-plugin.d.ts +10 -0
  1964. package/es/plugins/builtin-plugin/auto-render-plugin.js +22 -0
  1965. package/es/plugins/builtin-plugin/auto-render-plugin.js.map +1 -0
  1966. package/es/plugins/builtin-plugin/dirty-bounds-plugin.d.ts +10 -0
  1967. package/es/plugins/builtin-plugin/dirty-bounds-plugin.js +34 -0
  1968. package/es/plugins/builtin-plugin/dirty-bounds-plugin.js.map +1 -0
  1969. package/es/plugins/builtin-plugin/flex-layout-plugin.d.ts +36 -0
  1970. package/es/plugins/builtin-plugin/flex-layout-plugin.js +179 -0
  1971. package/es/plugins/builtin-plugin/flex-layout-plugin.js.map +1 -0
  1972. package/es/plugins/builtin-plugin/html-attribute-plugin.d.ts +13 -0
  1973. package/es/plugins/builtin-plugin/html-attribute-plugin.js +75 -0
  1974. package/es/plugins/builtin-plugin/html-attribute-plugin.js.map +1 -0
  1975. package/es/plugins/builtin-plugin/incremental-auto-render-plugin.d.ts +15 -0
  1976. package/es/plugins/builtin-plugin/incremental-auto-render-plugin.js +52 -0
  1977. package/es/plugins/builtin-plugin/incremental-auto-render-plugin.js.map +1 -0
  1978. package/es/plugins/builtin-plugin/poptip-plugin.d.ts +1 -0
  1979. package/es/plugins/builtin-plugin/poptip-plugin.js +3 -0
  1980. package/es/plugins/builtin-plugin/poptip-plugin.js.map +1 -0
  1981. package/es/plugins/constants.d.ts +2 -0
  1982. package/es/plugins/constants.js +4 -0
  1983. package/es/plugins/constants.js.map +1 -0
  1984. package/es/plugins/plugin-modules.d.ts +3 -0
  1985. package/es/plugins/plugin-modules.js +15 -0
  1986. package/es/plugins/plugin-modules.js.map +1 -0
  1987. package/es/plugins/plugin-service.d.ts +15 -0
  1988. package/es/plugins/plugin-service.js +57 -0
  1989. package/es/plugins/plugin-service.js.map +1 -0
  1990. package/es/render/contributions/modules.d.ts +2 -0
  1991. package/es/render/contributions/modules.js +6 -0
  1992. package/es/render/contributions/modules.js.map +1 -0
  1993. package/es/render/contributions/render/arc-render.d.ts +11 -0
  1994. package/es/render/contributions/render/arc-render.js +139 -0
  1995. package/es/render/contributions/render/arc-render.js.map +1 -0
  1996. package/es/render/contributions/render/arc3d-render.d.ts +9 -0
  1997. package/es/render/contributions/render/arc3d-render.js +102 -0
  1998. package/es/render/contributions/render/arc3d-render.js.map +1 -0
  1999. package/es/render/contributions/render/area-render.d.ts +12 -0
  2000. package/es/render/contributions/render/area-render.js +219 -0
  2001. package/es/render/contributions/render/area-render.js.map +1 -0
  2002. package/es/render/contributions/render/base-render.d.ts +28 -0
  2003. package/es/render/contributions/render/base-render.js +106 -0
  2004. package/es/render/contributions/render/base-render.js.map +1 -0
  2005. package/es/render/contributions/render/circle-render.d.ts +10 -0
  2006. package/es/render/contributions/render/circle-render.js +50 -0
  2007. package/es/render/contributions/render/circle-render.js.map +1 -0
  2008. package/es/render/contributions/render/clear-screen.d.ts +1 -0
  2009. package/es/render/contributions/render/clear-screen.js +3 -0
  2010. package/es/render/contributions/render/clear-screen.js.map +1 -0
  2011. package/es/render/contributions/render/contributions/arc-contribution-render.d.ts +15 -0
  2012. package/es/render/contributions/render/contributions/arc-contribution-render.js +87 -0
  2013. package/es/render/contributions/render/contributions/arc-contribution-render.js.map +1 -0
  2014. package/es/render/contributions/render/contributions/area-contribution-render.d.ts +12 -0
  2015. package/es/render/contributions/render/contributions/area-contribution-render.js +75 -0
  2016. package/es/render/contributions/render/contributions/area-contribution-render.js.map +1 -0
  2017. package/es/render/contributions/render/contributions/base-contribution-render.d.ts +37 -0
  2018. package/es/render/contributions/render/contributions/base-contribution-render.js +185 -0
  2019. package/es/render/contributions/render/contributions/base-contribution-render.js.map +1 -0
  2020. package/es/render/contributions/render/contributions/circle-contribution-render.d.ts +15 -0
  2021. package/es/render/contributions/render/contributions/circle-contribution-render.js +69 -0
  2022. package/es/render/contributions/render/contributions/circle-contribution-render.js.map +1 -0
  2023. package/es/render/contributions/render/contributions/constants.d.ts +11 -0
  2024. package/es/render/contributions/render/contributions/constants.js +22 -0
  2025. package/es/render/contributions/render/contributions/constants.js.map +1 -0
  2026. package/es/render/contributions/render/contributions/group-contribution-render.d.ts +7 -0
  2027. package/es/render/contributions/render/contributions/group-contribution-render.js +34 -0
  2028. package/es/render/contributions/render/contributions/group-contribution-render.js.map +1 -0
  2029. package/es/render/contributions/render/contributions/image-contribution-render.d.ts +7 -0
  2030. package/es/render/contributions/render/contributions/image-contribution-render.js +70 -0
  2031. package/es/render/contributions/render/contributions/image-contribution-render.js.map +1 -0
  2032. package/es/render/contributions/render/contributions/index.d.ts +7 -0
  2033. package/es/render/contributions/render/contributions/index.js +14 -0
  2034. package/es/render/contributions/render/contributions/index.js.map +1 -0
  2035. package/es/render/contributions/render/contributions/path-contribution-render.d.ts +9 -0
  2036. package/es/render/contributions/render/contributions/path-contribution-render.js +32 -0
  2037. package/es/render/contributions/render/contributions/path-contribution-render.js.map +1 -0
  2038. package/es/render/contributions/render/contributions/polygon-contribution-render.d.ts +9 -0
  2039. package/es/render/contributions/render/contributions/polygon-contribution-render.js +32 -0
  2040. package/es/render/contributions/render/contributions/polygon-contribution-render.js.map +1 -0
  2041. package/es/render/contributions/render/contributions/rect-contribution-render.d.ts +30 -0
  2042. package/es/render/contributions/render/contributions/rect-contribution-render.js +112 -0
  2043. package/es/render/contributions/render/contributions/rect-contribution-render.js.map +1 -0
  2044. package/es/render/contributions/render/contributions/symbol-contribution-render.d.ts +15 -0
  2045. package/es/render/contributions/render/contributions/symbol-contribution-render.js +63 -0
  2046. package/es/render/contributions/render/contributions/symbol-contribution-render.js.map +1 -0
  2047. package/es/render/contributions/render/contributions/text-contribution-render.d.ts +1 -0
  2048. package/es/render/contributions/render/contributions/text-contribution-render.js +2 -0
  2049. package/es/render/contributions/render/contributions/text-contribution-render.js.map +1 -0
  2050. package/es/render/contributions/render/draw-contribution.d.ts +30 -0
  2051. package/es/render/contributions/render/draw-contribution.js +189 -0
  2052. package/es/render/contributions/render/draw-contribution.js.map +1 -0
  2053. package/es/render/contributions/render/draw-interceptor.d.ts +13 -0
  2054. package/es/render/contributions/render/draw-interceptor.js +128 -0
  2055. package/es/render/contributions/render/draw-interceptor.js.map +1 -0
  2056. package/es/render/contributions/render/glyph-render.d.ts +8 -0
  2057. package/es/render/contributions/render/glyph-render.js +36 -0
  2058. package/es/render/contributions/render/glyph-render.js.map +1 -0
  2059. package/es/render/contributions/render/graphic-render.d.ts +6 -0
  2060. package/es/render/contributions/render/graphic-render.js +14 -0
  2061. package/es/render/contributions/render/graphic-render.js.map +1 -0
  2062. package/es/render/contributions/render/group-render.d.ts +10 -0
  2063. package/es/render/contributions/render/group-render.js +91 -0
  2064. package/es/render/contributions/render/group-render.js.map +1 -0
  2065. package/es/render/contributions/render/image-render.d.ts +10 -0
  2066. package/es/render/contributions/render/image-render.js +73 -0
  2067. package/es/render/contributions/render/image-render.js.map +1 -0
  2068. package/es/render/contributions/render/incremental-area-render.d.ts +8 -0
  2069. package/es/render/contributions/render/incremental-area-render.js +46 -0
  2070. package/es/render/contributions/render/incremental-area-render.js.map +1 -0
  2071. package/es/render/contributions/render/incremental-draw-contribution.d.ts +39 -0
  2072. package/es/render/contributions/render/incremental-draw-contribution.js +179 -0
  2073. package/es/render/contributions/render/incremental-draw-contribution.js.map +1 -0
  2074. package/es/render/contributions/render/incremental-line-render.d.ts +8 -0
  2075. package/es/render/contributions/render/incremental-line-render.js +47 -0
  2076. package/es/render/contributions/render/incremental-line-render.js.map +1 -0
  2077. package/es/render/contributions/render/index.d.ts +14 -0
  2078. package/es/render/contributions/render/index.js +28 -0
  2079. package/es/render/contributions/render/index.js.map +1 -0
  2080. package/es/render/contributions/render/line-render.d.ts +10 -0
  2081. package/es/render/contributions/render/line-render.js +139 -0
  2082. package/es/render/contributions/render/line-render.js.map +1 -0
  2083. package/es/render/contributions/render/module.d.ts +3 -0
  2084. package/es/render/contributions/render/module.js +147 -0
  2085. package/es/render/contributions/render/module.js.map +1 -0
  2086. package/es/render/contributions/render/path-render.d.ts +10 -0
  2087. package/es/render/contributions/render/path-render.js +56 -0
  2088. package/es/render/contributions/render/path-render.js.map +1 -0
  2089. package/es/render/contributions/render/polygon-render.d.ts +10 -0
  2090. package/es/render/contributions/render/polygon-render.js +54 -0
  2091. package/es/render/contributions/render/polygon-render.js.map +1 -0
  2092. package/es/render/contributions/render/pyramid3d-render.d.ts +11 -0
  2093. package/es/render/contributions/render/pyramid3d-render.js +93 -0
  2094. package/es/render/contributions/render/pyramid3d-render.js.map +1 -0
  2095. package/es/render/contributions/render/rect-render.d.ts +10 -0
  2096. package/es/render/contributions/render/rect-render.js +62 -0
  2097. package/es/render/contributions/render/rect-render.js.map +1 -0
  2098. package/es/render/contributions/render/rect3d-render.d.ts +11 -0
  2099. package/es/render/contributions/render/rect3d-render.js +96 -0
  2100. package/es/render/contributions/render/rect3d-render.js.map +1 -0
  2101. package/es/render/contributions/render/render-slector.d.ts +4 -0
  2102. package/es/render/contributions/render/render-slector.js +18 -0
  2103. package/es/render/contributions/render/render-slector.js.map +1 -0
  2104. package/es/render/contributions/render/richtext-render.d.ts +9 -0
  2105. package/es/render/contributions/render/richtext-render.js +53 -0
  2106. package/es/render/contributions/render/richtext-render.js.map +1 -0
  2107. package/es/render/contributions/render/symbol-render.d.ts +10 -0
  2108. package/es/render/contributions/render/symbol-render.js +64 -0
  2109. package/es/render/contributions/render/symbol-render.js.map +1 -0
  2110. package/es/render/contributions/render/symbol.d.ts +20 -0
  2111. package/es/render/contributions/render/symbol.js +40 -0
  2112. package/es/render/contributions/render/symbol.js.map +1 -0
  2113. package/es/render/contributions/render/text-render.d.ts +13 -0
  2114. package/es/render/contributions/render/text-render.js +170 -0
  2115. package/es/render/contributions/render/text-render.js.map +1 -0
  2116. package/es/render/contributions/render/utils.d.ts +18 -0
  2117. package/es/render/contributions/render/utils.js +116 -0
  2118. package/es/render/contributions/render/utils.js.map +1 -0
  2119. package/es/render/index.d.ts +3 -0
  2120. package/es/render/index.js +6 -0
  2121. package/es/render/index.js.map +1 -0
  2122. package/es/render/render-modules.d.ts +3 -0
  2123. package/es/render/render-modules.js +8 -0
  2124. package/es/render/render-modules.js.map +1 -0
  2125. package/es/render/render-service.d.ts +19 -0
  2126. package/es/render/render-service.js +57 -0
  2127. package/es/render/render-service.js.map +1 -0
  2128. package/es/resource-loader/loader.d.ts +9 -0
  2129. package/es/resource-loader/loader.js +55 -0
  2130. package/es/resource-loader/loader.js.map +1 -0
  2131. package/es/tapable/Hook.d.ts +12 -0
  2132. package/es/tapable/Hook.js +52 -0
  2133. package/es/tapable/Hook.js.map +1 -0
  2134. package/es/tapable/SyncHook.d.ts +5 -0
  2135. package/es/tapable/SyncHook.js +8 -0
  2136. package/es/tapable/SyncHook.js.map +1 -0
  2137. package/es/tapable/index.d.ts +1 -0
  2138. package/es/tapable/index.js +2 -0
  2139. package/es/tapable/index.js.map +1 -0
  2140. package/package.json +74 -0
@@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CAAC,GAAG,IAAI,CAAC;gBAClC,IAAI,MAAM,GAAG,EAAE,CAAC;gBAChB,KAAK,IAAI,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,MAAM,EAAE;oBACjD,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;oBAC1B,IAAI,MAAM,KAAK,CAAC,IAAI,MAAM,KAAK,CAAC,IAAI,MAAM,KAAK,CAAC,EAAE;wBAChD,MAAM,IAAI,GAAG,CAAC;qBACf;oBACD,IAAI,IAAI,GAAG,EAAE,EAAE;wBACb,MAAM,IAAI,GAAG,CAAC;qBACf;oBACD,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;iBAC3C;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC;QACH,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,OAAO,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,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***************************************************************************** */\nlet Reflect;\nexport default (function (Reflect) {\n // Metadata Proposal\n // https://rbuckton.github.io/reflect-metadata/\n (function (factory) {\n const root =\n typeof global === 'object'\n ? global\n : typeof self === 'object'\n ? self\n : typeof this === 'object'\n ? this\n : Function('return this;')();\n let exporter = makeExporter(Reflect);\n if (typeof root.Reflect === 'undefined') {\n root.Reflect = Reflect;\n } else {\n exporter = makeExporter(root.Reflect, exporter);\n }\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 =\n !usePolyfill && typeof Map === 'function' && typeof Map.prototype.entries === 'function'\n ? Map\n : CreateMapPolyfill();\n const _Set =\n !usePolyfill && typeof Set === 'function' && typeof Set.prototype.entries === 'function'\n ? Set\n : CreateSetPolyfill();\n const _WeakMap = !usePolyfill && typeof WeakMap === 'function' ? WeakMap : CreateWeakMapPolyfill();\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 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 // naive Map shim\n function CreateMapPolyfill() {\n const cacheSentinel = {};\n const arraySentinel = [];\n const MapIterator = /** @class */ (function () {\n function MapIterator(keys, values, selector) {\n this._index = 0;\n this._keys = keys;\n this._values = values;\n this._selector = selector;\n }\n MapIterator.prototype['@@iterator'] = function () {\n return this;\n };\n MapIterator.prototype[iteratorSymbol] = function () {\n return this;\n };\n MapIterator.prototype.next = function () {\n const index = this._index;\n if (index >= 0 && index < this._keys.length) {\n const result = this._selector(this._keys[index], this._values[index]);\n if (index + 1 >= this._keys.length) {\n this._index = -1;\n this._keys = arraySentinel;\n this._values = arraySentinel;\n } else {\n this._index++;\n }\n return { value: result, done: false };\n }\n return { value: undefined, done: true };\n };\n MapIterator.prototype.throw = function (error) {\n if (this._index >= 0) {\n this._index = -1;\n this._keys = arraySentinel;\n this._values = arraySentinel;\n }\n throw error;\n };\n MapIterator.prototype.return = function (value) {\n if (this._index >= 0) {\n this._index = -1;\n this._keys = arraySentinel;\n this._values = arraySentinel;\n }\n return { value: value, done: true };\n };\n return MapIterator;\n })();\n return /** @class */ (function () {\n function Map() {\n this._keys = [];\n this._values = [];\n this._cacheKey = cacheSentinel;\n this._cacheIndex = -2;\n }\n Object.defineProperty(Map.prototype, 'size', {\n get: function () {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n Map.prototype.has = function (key) {\n return this._find(key, /*insert*/ false) >= 0;\n };\n Map.prototype.get = function (key) {\n const index = this._find(key, /*insert*/ false);\n return index >= 0 ? this._values[index] : undefined;\n };\n Map.prototype.set = function (key, value) {\n const index = this._find(key, /*insert*/ true);\n this._values[index] = value;\n return this;\n };\n Map.prototype.delete = function (key) {\n const index = this._find(key, /*insert*/ false);\n if (index >= 0) {\n const size = this._keys.length;\n for (let i = index + 1; i < size; i++) {\n this._keys[i - 1] = this._keys[i];\n this._values[i - 1] = this._values[i];\n }\n this._keys.length--;\n this._values.length--;\n if (key === this._cacheKey) {\n this._cacheKey = cacheSentinel;\n this._cacheIndex = -2;\n }\n return true;\n }\n return false;\n };\n Map.prototype.clear = function () {\n this._keys.length = 0;\n this._values.length = 0;\n this._cacheKey = cacheSentinel;\n this._cacheIndex = -2;\n };\n Map.prototype.keys = function () {\n return new MapIterator(this._keys, this._values, getKey);\n };\n Map.prototype.values = function () {\n return new MapIterator(this._keys, this._values, getValue);\n };\n Map.prototype.entries = function () {\n return new MapIterator(this._keys, this._values, getEntry);\n };\n Map.prototype['@@iterator'] = function () {\n return this.entries();\n };\n Map.prototype[iteratorSymbol] = function () {\n return this.entries();\n };\n Map.prototype._find = function (key, insert) {\n if (this._cacheKey !== key) {\n this._cacheIndex = this._keys.indexOf((this._cacheKey = key));\n }\n if (this._cacheIndex < 0 && insert) {\n this._cacheIndex = this._keys.length;\n this._keys.push(key);\n this._values.push(undefined);\n }\n return this._cacheIndex;\n };\n return Map;\n })();\n function getKey(key, _) {\n return key;\n }\n function getValue(_, value) {\n return value;\n }\n function getEntry(key, value) {\n return [key, value];\n }\n }\n // naive Set shim\n function CreateSetPolyfill() {\n return /** @class */ (function () {\n function Set() {\n this._map = new _Map();\n }\n Object.defineProperty(Set.prototype, 'size', {\n get: function () {\n return this._map.size;\n },\n enumerable: true,\n configurable: true\n });\n Set.prototype.has = function (value) {\n return this._map.has(value);\n };\n Set.prototype.add = function (value) {\n return this._map.set(value, value), this;\n };\n Set.prototype.delete = function (value) {\n return this._map.delete(value);\n };\n Set.prototype.clear = function () {\n this._map.clear();\n };\n Set.prototype.keys = function () {\n return this._map.keys();\n };\n Set.prototype.values = function () {\n return this._map.values();\n };\n Set.prototype.entries = function () {\n return this._map.entries();\n };\n Set.prototype['@@iterator'] = function () {\n return this.keys();\n };\n Set.prototype[iteratorSymbol] = function () {\n return this.keys();\n };\n return Set;\n })();\n }\n // naive WeakMap shim\n function CreateWeakMapPolyfill() {\n const UUID_SIZE = 16;\n const keys = HashMap.create();\n const rootKey = CreateUniqueKey();\n return /** @class */ (function () {\n function WeakMap() {\n this._key = CreateUniqueKey();\n }\n WeakMap.prototype.has = function (target) {\n const table = GetOrCreateWeakMapTable(target, /*create*/ false);\n return table !== undefined ? HashMap.has(table, this._key) : false;\n };\n WeakMap.prototype.get = function (target) {\n const table = GetOrCreateWeakMapTable(target, /*create*/ false);\n return table !== undefined ? HashMap.get(table, this._key) : undefined;\n };\n WeakMap.prototype.set = function (target, value) {\n const table = GetOrCreateWeakMapTable(target, /*create*/ true);\n table[this._key] = value;\n return this;\n };\n WeakMap.prototype.delete = function (target) {\n const table = GetOrCreateWeakMapTable(target, /*create*/ false);\n return table !== undefined ? delete table[this._key] : false;\n };\n WeakMap.prototype.clear = function () {\n // NOTE: not a real clear, just makes the previous data unreachable\n this._key = CreateUniqueKey();\n };\n return WeakMap;\n })();\n function CreateUniqueKey() {\n let key;\n do {\n key = '@@WeakMap@@' + CreateUUID();\n } while (HashMap.has(keys, key));\n keys[key] = true;\n return key;\n }\n function GetOrCreateWeakMapTable(target, create) {\n if (!hasOwn.call(target, rootKey)) {\n if (!create) {\n return undefined;\n }\n Object.defineProperty(target, rootKey, { value: HashMap.create() });\n }\n return target[rootKey];\n }\n function FillRandomBytes(buffer, size) {\n for (let i = 0; i < size; ++i) {\n buffer[i] = (Math.random() * 0xff) | 0;\n }\n return buffer;\n }\n function GenRandomBytes(size) {\n if (typeof Uint8Array === 'function') {\n if (typeof crypto !== 'undefined') {\n return crypto.getRandomValues(new Uint8Array(size));\n }\n // @ts-ignore\n // if (typeof msCrypto !== 'undefined') return msCrypto.getRandomValues(new Uint8Array(size));\n return FillRandomBytes(new Uint8Array(size), size);\n }\n return FillRandomBytes(new Array(size), size);\n }\n function CreateUUID() {\n const data = GenRandomBytes(UUID_SIZE);\n // mark as random - RFC 4122 § 4.4\n data[6] = (data[6] & 0x4f) | 0x40;\n data[8] = (data[8] & 0xbf) | 0x80;\n let result = '';\n for (let offset = 0; offset < UUID_SIZE; ++offset) {\n const byte = data[offset];\n if (offset === 4 || offset === 6 || offset === 8) {\n result += '-';\n }\n if (byte < 16) {\n result += '0';\n }\n result += byte.toString(16).toLowerCase();\n }\n return result;\n }\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})(Reflect || (Reflect = {}));\n"]}
@@ -0,0 +1,5 @@
1
+ import type { IPointLike, IPoint } from '@visactor/vutils';
2
+ export declare function snapLength(xArr: number[], yArr: number[]): number;
3
+ export declare function cubicLength(p0: IPointLike, p1: IPointLike, p2: IPointLike, p3: IPointLike, iterationCount: number): number;
4
+ export declare function cubicCalc(p0: number, p1: number, p2: number, p3: number, t: number): number;
5
+ export declare function cubicPointAt(p0: IPointLike, p1: IPointLike, p2: IPointLike, p3: IPointLike, t: number): IPoint;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.cubicPointAt = exports.cubicCalc = exports.cubicLength = exports.snapLength = void 0;
6
+
7
+ const vutils_1 = require("@visactor/vutils");
8
+
9
+ function snapLength(xArr, yArr) {
10
+ let totalLength = 0;
11
+ const count = xArr.length;
12
+ for (let i = 0; i < count; i++) {
13
+ const x = xArr[i], y = yArr[i], nextX = xArr[(i + 1) % count], nextY = yArr[(i + 1) % count];
14
+ totalLength += vutils_1.PointService.distanceNN(x, y, nextX, nextY);
15
+ }
16
+ return totalLength / 2;
17
+ }
18
+
19
+ function cubicLength(p0, p1, p2, p3, iterationCount) {
20
+ return snapLength([ p0.x, p1.x, p2.x, p3.x ], [ p0.y, p1.y, p2.y, p3.y ]);
21
+ }
22
+
23
+ function cubicCalc(p0, p1, p2, p3, t) {
24
+ const one = 1 - t;
25
+ return one * one * one * p0 + 3 * p1 * t * one * one + 3 * p2 * t * t * one + p3 * t * t * t;
26
+ }
27
+
28
+ function cubicPointAt(p0, p1, p2, p3, t) {
29
+ const x = cubicCalc(p0.x, p1.x, p2.x, p3.x, t), y = cubicCalc(p0.y, p1.y, p2.y, p3.y, t);
30
+ return new vutils_1.Point(x, y);
31
+ }
32
+
33
+ exports.snapLength = snapLength, exports.cubicLength = cubicLength, exports.cubicCalc = cubicCalc,
34
+ exports.cubicPointAt = cubicPointAt;
35
+ //# sourceMappingURL=bezier-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/common/bezier-utils.ts"],"names":[],"mappings":";;;AACA,6CAAuD;AACvD,SAAgB,UAAU,CAAC,IAAc,EAAE,IAAc;IACvD,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC;IAC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CAAC,CAAC;AAC/F,CAAC;AAHD,8BAGC;AAaD,SAAgB,YAAY,CAAC,EAAc,EAAE,EAAc,EAAE,EAAc,EAAE,EAAc,EAAE,CAAS;IACpG,MAAM,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/C,MAAM,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/C,OAAO,IAAI,cAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACzB,CAAC;AAJD,oCAIC","file":"bezier-utils.js","sourcesContent":["import type { IPointLike, IPoint } from '@visactor/vutils';\nimport { PointService, Point } from '@visactor/vutils';\nexport function snapLength(xArr: number[], yArr: number[]) {\n let totalLength = 0;\n const count = xArr.length;\n for (let i = 0; i < count; i++) {\n const x = xArr[i];\n const y = yArr[i];\n const nextX = xArr[(i + 1) % count];\n const nextY = yArr[(i + 1) % count];\n totalLength += PointService.distanceNN(x, y, nextX, nextY);\n }\n return totalLength / 2;\n}\n\n/**\n * 计算贝塞尔曲线的长度\n * @param p0 起点\n * @param p1 控制点1\n * @param p2 控制点2\n * @param p3 终点\n * @param iterationCount\n */\nexport function cubicLength(p0: IPointLike, p1: IPointLike, p2: IPointLike, p3: IPointLike, iterationCount: number) {\n return snapLength([p0.x, p1.x, p2.x, p3.x], [p0.y, p1.y, p2.y, p3.y]);\n}\n\nexport function cubicCalc(p0: number, p1: number, p2: number, p3: number, t: number): number {\n const one = 1 - t;\n return one * one * one * p0 + 3 * p1 * t * one * one + 3 * p2 * t * t * one + p3 * t * t * t;\n}\n\n/**\n * 根据t计算三次贝塞尔的点\n * example:\n * x: cubicAt(x1, x2, x3, x4, t),\n * y: cubicAt(y1, y2, y3, y4, t),\n * @param p0 起点坐标\n * @param p1 控制点1\n * @param p2 控制点2\n * @param p3 终点坐标\n * @param t\n */\nexport function cubicPointAt(p0: IPointLike, p1: IPointLike, p2: IPointLike, p3: IPointLike, t: number): IPoint {\n const x = cubicCalc(p0.x, p1.x, p2.x, p3.x, t);\n const y = cubicCalc(p0.y, p1.y, p2.y, p3.y, t);\n return new Point(x, y);\n}\n"]}
@@ -0,0 +1,18 @@
1
+ import type { IBounds } from '@visactor/vutils';
2
+ import type { IPath2D } from '../interface';
3
+ export declare class BoundsContext implements IPath2D {
4
+ bounds: IBounds;
5
+ constructor(bounds: IBounds);
6
+ init(bounds: IBounds): void;
7
+ arc(cx: number, cy: number, r: number, sa: number, ea: number, ccw: boolean): void;
8
+ arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;
9
+ bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;
10
+ closePath(): void;
11
+ ellipse(): void;
12
+ lineTo(x: number, y: number): void;
13
+ moveTo(x: number, y: number): void;
14
+ quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
15
+ rect(x: number, y: number, w: number, h: number): void;
16
+ clear(): void;
17
+ release(...params: any): void;
18
+ }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.BoundsContext = void 0;
6
+
7
+ const vutils_1 = require("@visactor/vutils"), circleThreshold = vutils_1.tau - 1e-8;
8
+
9
+ class BoundsContext {
10
+ constructor(bounds) {
11
+ this.init(bounds);
12
+ }
13
+ init(bounds) {
14
+ this.bounds = bounds;
15
+ }
16
+ arc(cx, cy, r, sa, ea, ccw) {
17
+ if (Math.abs(ea - sa) > circleThreshold) return this.bounds.add(cx - r, cy - r),
18
+ void this.bounds.add(cx + r, cy + r);
19
+ let s, i, x, y, xmin = 1 / 0, xmax = -1 / 0, ymin = 1 / 0, ymax = -1 / 0;
20
+ function update(a) {
21
+ x = r * Math.cos(a), y = r * Math.sin(a), x < xmin && (xmin = x), x > xmax && (xmax = x),
22
+ y < ymin && (ymin = y), y > ymax && (ymax = y);
23
+ }
24
+ if (update(sa), update(ea), ea !== sa) if ((sa %= vutils_1.tau) < 0 && (sa += vutils_1.tau),
25
+ (ea %= vutils_1.tau) < 0 && (ea += vutils_1.tau), ea < sa && (ccw = !ccw, s = sa,
26
+ sa = ea, ea = s), ccw) for (ea -= vutils_1.tau, s = sa - sa % vutils_1.halfPi, i = 0; i < 4 && s > ea; ++i,
27
+ s -= vutils_1.halfPi) update(s); else for (s = sa - sa % vutils_1.halfPi + vutils_1.halfPi,
28
+ i = 0; i < 4 && s < ea; ++i, s += vutils_1.halfPi) update(s);
29
+ this.bounds.add(cx + xmin, cy + ymin), this.bounds.add(cx + xmax, cy + ymax);
30
+ }
31
+ arcTo(x1, y1, x2, y2, radius) {
32
+ throw new Error("不支持arcTo");
33
+ }
34
+ bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) {
35
+ this.bounds.add(cp1x, cp1y), this.bounds.add(cp2x, cp2y), this.bounds.add(x, y);
36
+ }
37
+ closePath() {}
38
+ ellipse() {
39
+ throw new Error("不支持ellipse");
40
+ }
41
+ lineTo(x, y) {
42
+ this.bounds.add(x, y);
43
+ }
44
+ moveTo(x, y) {
45
+ this.bounds.add(x, y);
46
+ }
47
+ quadraticCurveTo(cpx, cpy, x, y) {
48
+ this.bounds.add(cpx, cpy), this.bounds.add(x, y);
49
+ }
50
+ rect(x, y, w, h) {
51
+ this.bounds.add(x, y), this.bounds.add(x + w, y + h);
52
+ }
53
+ clear() {
54
+ this.bounds.clear();
55
+ }
56
+ release(...params) {}
57
+ }
58
+
59
+ exports.BoundsContext = BoundsContext;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/common/bounds-context.ts"],"names":[],"mappings":";;;AACA,6CAA+C;AAG/C,MAAM,eAAe,GAAG,YAAG,GAAG,IAAI,CAAC;AAgCnC,MAA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AAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;IAED,OAAO,CAAC,GAAG,MAAW;QAEpB,OAAO;IACT,CAAC;CACF;AA/HD,sCA+HC","file":"bounds-context.js","sourcesContent":["import type { IBounds } from '@visactor/vutils';\nimport { halfPi, tau } from '@visactor/vutils';\nimport type { IPath2D } from '../interface';\n\nconst circleThreshold = tau - 1e-8;\n\n/**\n * 借鉴 https://github.com/vega/vega/blob/b45cf431cd6c0d0c0e1567f087f9b3b55bc236fa/packages/vega-scenegraph/src/bound/boundContext.js\n * Copyright (c) 2015-2023, University of Washington Interactive Data Lab\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n 3. Neither the name of the copyright holder nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\nexport class BoundsContext implements IPath2D {\n bounds: IBounds;\n constructor(bounds: IBounds) {\n this.init(bounds);\n }\n\n init(bounds: IBounds) {\n this.bounds = bounds;\n }\n\n // @ts-ignore\n arc(cx: number, cy: number, r: number, sa: number, ea: number, ccw: boolean) {\n if (Math.abs(ea - sa) > circleThreshold) {\n this.bounds.add(cx - r, cy - r);\n this.bounds.add(cx + r, cy + r);\n return;\n }\n\n let xmin = Infinity;\n let xmax = -Infinity;\n let ymin = Infinity;\n let ymax = -Infinity;\n let s;\n let i;\n let x;\n let y;\n\n function update(a: number) {\n x = r * Math.cos(a);\n y = r * Math.sin(a);\n if (x < xmin) {\n xmin = x;\n }\n if (x > xmax) {\n xmax = x;\n }\n if (y < ymin) {\n ymin = y;\n }\n if (y > ymax) {\n ymax = y;\n }\n }\n\n // Sample end points and interior points aligned with 90 degrees\n update(sa);\n update(ea);\n\n if (ea !== sa) {\n sa = sa % tau;\n if (sa < 0) {\n sa += tau;\n }\n ea = ea % tau;\n if (ea < 0) {\n ea += tau;\n }\n\n if (ea < sa) {\n ccw = !ccw; // flip direction\n s = sa;\n sa = ea;\n ea = s; // swap end-points\n }\n\n if (ccw) {\n ea -= tau;\n s = sa - (sa % halfPi);\n for (i = 0; i < 4 && s > ea; ++i, s -= halfPi) {\n update(s);\n }\n } else {\n s = sa - (sa % halfPi) + halfPi;\n for (i = 0; i < 4 && s < ea; ++i, s = s + halfPi) {\n update(s);\n }\n }\n }\n\n this.bounds.add(cx + xmin, cy + ymin);\n this.bounds.add(cx + xmax, cy + ymax);\n }\n // @ts-ignore\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void {\n throw new Error('不支持arcTo');\n }\n // @ts-ignore\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void {\n this.bounds.add(cp1x, cp1y);\n this.bounds.add(cp2x, cp2y);\n this.bounds.add(x, y);\n }\n // @ts-ignore\n closePath(): void {\n // do nothing\n }\n // @ts-ignore\n ellipse(): void {\n throw new Error('不支持ellipse');\n }\n // @ts-ignore\n lineTo(x: number, y: number): void {\n this.bounds.add(x, y);\n }\n // @ts-ignore\n moveTo(x: number, y: number): void {\n this.bounds.add(x, y);\n }\n // @ts-ignore\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void {\n this.bounds.add(cpx, cpy);\n this.bounds.add(x, y);\n }\n // @ts-ignore\n rect(x: number, y: number, w: number, h: number): void {\n this.bounds.add(x, y);\n this.bounds.add(x + w, y + h);\n }\n\n clear() {\n this.bounds.clear();\n }\n\n release(...params: any): void {\n // 不需要dispose\n return;\n }\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import type { IColor } from '../interface/color';
2
+ import type { IContext2d, ITransform } from '../interface';
3
+ import type { IBoundsLike } from '@visactor/vutils';
4
+ export declare function getScaledStroke(context: IContext2d, width: number, dpr: number): number;
5
+ export declare function createColor(context: IContext2d, c: string | IColor | Array<string | IColor> | boolean, params: {
6
+ AABBBounds?: IBoundsLike;
7
+ attribute?: Partial<ITransform>;
8
+ }, offsetX: number, offsetY: number): string | CanvasGradient;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.createColor = exports.getScaledStroke = void 0;
6
+
7
+ const vutils_1 = require("@visactor/vutils");
8
+
9
+ function getScaledStroke(context, width, dpr) {
10
+ let strokeWidth = width;
11
+ const {a: a, b: b, c: c, d: d} = context.currentMatrix, scaleX = Math.sign(a) * Math.sqrt(a * a + b * b), scaleY = Math.sign(d) * Math.sqrt(c * c + d * d);
12
+ return scaleX + scaleY === 0 ? 0 : (strokeWidth = strokeWidth / Math.abs(scaleX + scaleY) * 2 * dpr,
13
+ strokeWidth);
14
+ }
15
+
16
+ function createColor(context, c, params, offsetX, offsetY) {
17
+ if (!c || !0 === c) return "black";
18
+ let result, color;
19
+ if ((0, vutils_1.isArray)(c)) for (let i = 0; i < c.length && (color = c[i], !color); i++) ; else color = c;
20
+ return "string" == typeof color ? color : ("linear" === color.gradient ? result = createLinearGradient(context, color, params, offsetX, offsetY) : "conical" === color.gradient ? result = createConicGradient(context, color, params, offsetX, offsetY) : "radial" === color.gradient && (result = createRadialGradient(context, color, params, offsetX, offsetY)),
21
+ result || "orange");
22
+ }
23
+
24
+ function createLinearGradient(context, color, params, offsetX = 0, offsetY = 0) {
25
+ var _a, _b, _c, _d;
26
+ const bounds = params.AABBBounds;
27
+ if (!bounds) return;
28
+ let w = bounds.x2 - bounds.x1, h = bounds.y2 - bounds.y1, x = bounds.x1 - offsetX, y = bounds.y1 - offsetY;
29
+ if (params.attribute) {
30
+ const {scaleX: scaleX = 1, scaleY: scaleY = 1} = params.attribute;
31
+ if (scaleX * scaleY == 0) return;
32
+ w /= scaleX, h /= scaleY, x /= scaleX, y /= scaleY;
33
+ }
34
+ const canvasGradient = context.createLinearGradient(x + (null !== (_a = color.x0) && void 0 !== _a ? _a : 0) * w, y + (null !== (_b = color.y0) && void 0 !== _b ? _b : 0) * h, x + (null !== (_c = color.x1) && void 0 !== _c ? _c : 1) * w, y + (null !== (_d = color.y1) && void 0 !== _d ? _d : 0) * h);
35
+ return color.stops.forEach((stop => {
36
+ canvasGradient.addColorStop(stop.offset, stop.color);
37
+ })), canvasGradient;
38
+ }
39
+
40
+ function createRadialGradient(context, color, params, offsetX = 0, offsetY = 0) {
41
+ var _a, _b, _c, _d, _e, _f;
42
+ const bounds = params.AABBBounds;
43
+ if (!bounds) return;
44
+ let w = bounds.x2 - bounds.x1, h = bounds.y2 - bounds.y1, x = bounds.x1 - offsetX, y = bounds.y1 - offsetY;
45
+ if (params.attribute) {
46
+ const {scaleX: scaleX = 1, scaleY: scaleY = 1} = params.attribute;
47
+ if (scaleX * scaleY == 0) return;
48
+ x /= scaleX, y /= scaleY, w /= scaleX, h /= scaleY;
49
+ }
50
+ const canvasGradient = context.createRadialGradient(x + (null !== (_a = color.x0) && void 0 !== _a ? _a : .5) * w, y + (null !== (_b = color.y0) && void 0 !== _b ? _b : .5) * h, Math.max(w, h) * (null !== (_c = color.r0) && void 0 !== _c ? _c : 0), x + (null !== (_d = color.x1) && void 0 !== _d ? _d : .5) * w, y + (null !== (_e = color.y1) && void 0 !== _e ? _e : .5) * h, Math.max(w, h) * (null !== (_f = color.r1) && void 0 !== _f ? _f : .5));
51
+ return color.stops.forEach((stop => {
52
+ canvasGradient.addColorStop(stop.offset, stop.color);
53
+ })), canvasGradient;
54
+ }
55
+
56
+ function createConicGradient(context, color, params, offsetX = 0, offsetY = 0) {
57
+ var _a, _b;
58
+ const bounds = params.AABBBounds;
59
+ if (!bounds) return;
60
+ let w = bounds.x2 - bounds.x1, h = bounds.y2 - bounds.y1, x = bounds.x1 - offsetX, y = bounds.y1 - offsetY;
61
+ if (params.attribute) {
62
+ const {scaleX: scaleX = 1, scaleY: scaleY = 1} = params.attribute;
63
+ if (scaleX * scaleY == 0) return;
64
+ w /= scaleX, h /= scaleY, x /= scaleX, y /= scaleY;
65
+ }
66
+ const canvasGradient = context.createConicGradient(x + (null !== (_a = color.x) && void 0 !== _a ? _a : 0) * w, y + (null !== (_b = color.y) && void 0 !== _b ? _b : 0) * h, color.startAngle, color.endAngle);
67
+ return color.stops.forEach((stop => {
68
+ canvasGradient.addColorStop(stop.offset, stop.color);
69
+ })), canvasGradient.GetPattern(w + x, h + y, undefined);
70
+ }
71
+
72
+ //# sourceMappingURL=canvas-utils.js.map
73
+ exports.getScaledStroke = getScaledStroke, exports.createColor = createColor;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/common/canvas-utils.ts"],"names":[],"mappings":";;;AAIA,6CAAoD;AAEpD,SAAgB,eAAe,CAAC,OAAmB,EAAE,KAAa,EAAE,GAAW;IAC7E,IA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AAE,GAAG,MAAM,CAAC,EAAE,CAAC;IAC9B,IAAI,CAAC,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC;IAC9B,IAAI,CAAC,GAAG,MAAM,CAAC,EAAE,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,GAAG,MAAM,CAAC,EAAE,GAAG,OAAO,CAAC;IAC5B,IAAI,MAAM,CAAC,SAAS,EAAE;QACpB,MAAM,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC;QACpD,IAAI,MAAM,GAAG,MAAM,KAAK,CAAC,EAAE;YACzB,OAAO;SACR;QACD,CAAC,IAAI,MAAM,CAAC;QACZ,CAAC,IAAI,MAAM,CAAC;QACZ,CAAC,IAAI,MAAM,CAAC;QACZ,CAAC,IAAI,MAAM,CAAC;KACb;IAED,MAAM,cAAc,GAAG,OAAO,CAAC,mBAAmB,CAChD,CAAC,GAAG,CAAC,MAAA,KAAK,CAAC,CAAC,mCAAI,CAAC,CAAC,GAAG,CAAC,EACtB,CAAC,GAAG,CAAC,MAAA,KAAK,CAAC,CAAC,mCAAI,CAAC,CAAC,GAAG,CAAC,EACtB,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,QAAQ,CACf,CAAC;IACF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACzB,cAAc,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,IAAI,UAAU,CAAC;IACf,OAAQ,cAAsB,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;AACtE,CAAC","file":"canvas-utils.js","sourcesContent":["import type { IColor, IConicalGradient, ILinearGradient, IRadialGradient } from '../interface/color';\nimport type { IContext2d, ITransform } from '../interface';\nimport { ICommonStyleParams } from '../interface';\nimport type { IBoundsLike } from '@visactor/vutils';\nimport { IMatrix, isArray } from '@visactor/vutils';\n\nexport function getScaledStroke(context: IContext2d, width: number, dpr: number) {\n let strokeWidth = width;\n const { a, b, c, d } = context.currentMatrix;\n const scaleX = Math.sign(a) * Math.sqrt(a * a + b * b);\n const scaleY = Math.sign(d) * Math.sqrt(c * c + d * d);\n // 如果没有scaleX和scaleY,那么认为什么都不用绘制\n if (scaleX + scaleY === 0) {\n return 0;\n }\n strokeWidth = (strokeWidth / Math.abs(scaleX + scaleY)) * 2 * dpr;\n return strokeWidth;\n}\n\nexport function createColor(\n context: IContext2d,\n c: string | IColor | Array<string | IColor> | boolean,\n params: { AABBBounds?: IBoundsLike; attribute?: Partial<ITransform> },\n offsetX: number,\n offsetY: number\n): string | CanvasGradient {\n if (!c || c === true) {\n return 'black';\n }\n let result: string | CanvasGradient | undefined;\n let color: string | IColor;\n if (isArray(c)) {\n for (let i = 0; i < c.length; i++) {\n color = c[i];\n if (color) {\n break;\n }\n }\n } else {\n color = c;\n }\n if (typeof color === 'string') {\n return color;\n }\n if (color.gradient === 'linear') {\n result = createLinearGradient(context, color, params, offsetX, offsetY);\n } else if (color.gradient === 'conical') {\n result = createConicGradient(context, color, params, offsetX, offsetY);\n } else if (color.gradient === 'radial') {\n result = createRadialGradient(context, color, params, offsetX, offsetY);\n }\n return result || 'orange';\n}\n\nfunction createLinearGradient(\n context: IContext2d,\n color: ILinearGradient,\n params: { AABBBounds?: IBoundsLike; attribute?: Partial<ITransform> },\n offsetX: number = 0,\n offsetY: number = 0\n) {\n const bounds = params.AABBBounds;\n if (!bounds) {\n return;\n }\n let w = bounds.x2 - bounds.x1;\n let h = bounds.y2 - bounds.y1;\n let x = bounds.x1 - offsetX;\n let y = bounds.y1 - offsetY;\n if (params.attribute) {\n const { scaleX = 1, scaleY = 1 } = params.attribute;\n if (scaleX * scaleY === 0) {\n return;\n }\n w /= scaleX;\n h /= scaleY;\n x /= scaleX;\n y /= scaleY;\n }\n\n const canvasGradient = context.createLinearGradient(\n x + (color.x0 ?? 0) * w,\n y + (color.y0 ?? 0) * h,\n x + (color.x1 ?? 1) * w,\n y + (color.y1 ?? 0) * h\n );\n color.stops.forEach(stop => {\n canvasGradient.addColorStop(stop.offset, stop.color);\n });\n return canvasGradient;\n}\n\nfunction createRadialGradient(\n context: IContext2d,\n color: IRadialGradient,\n params: { AABBBounds?: IBoundsLike; attribute?: Partial<ITransform> },\n offsetX: number = 0,\n offsetY: number = 0\n) {\n const bounds = params.AABBBounds;\n if (!bounds) {\n return;\n }\n let w = bounds.x2 - bounds.x1;\n let h = bounds.y2 - bounds.y1;\n let x = bounds.x1 - offsetX;\n let y = bounds.y1 - offsetY;\n if (params.attribute) {\n const { scaleX = 1, scaleY = 1 } = params.attribute;\n if (scaleX * scaleY === 0) {\n return;\n }\n x /= scaleX;\n y /= scaleY;\n w /= scaleX;\n h /= scaleY;\n }\n const canvasGradient = context.createRadialGradient(\n x + (color.x0 ?? 0.5) * w,\n y + (color.y0 ?? 0.5) * h,\n Math.max(w, h) * (color.r0 ?? 0),\n x + (color.x1 ?? 0.5) * w,\n y + (color.y1 ?? 0.5) * h,\n Math.max(w, h) * (color.r1 ?? 0.5)\n );\n color.stops.forEach(stop => {\n canvasGradient.addColorStop(stop.offset, stop.color);\n });\n return canvasGradient;\n}\n\nfunction createConicGradient(\n context: IContext2d,\n color: IConicalGradient,\n params: { AABBBounds?: IBoundsLike; attribute?: Partial<ITransform> },\n offsetX: number = 0,\n offsetY: number = 0\n) {\n const bounds = params.AABBBounds;\n if (!bounds) {\n return;\n }\n let w = bounds.x2 - bounds.x1;\n let h = bounds.y2 - bounds.y1;\n let x = bounds.x1 - offsetX;\n let y = bounds.y1 - offsetY;\n if (params.attribute) {\n const { scaleX = 1, scaleY = 1 } = params.attribute;\n if (scaleX * scaleY === 0) {\n return;\n }\n w /= scaleX;\n h /= scaleY;\n x /= scaleX;\n y /= scaleY;\n }\n\n const canvasGradient = context.createConicGradient(\n x + (color.x ?? 0) * w,\n y + (color.y ?? 0) * h,\n color.startAngle,\n color.endAngle\n );\n color.stops.forEach(stop => {\n canvasGradient.addColorStop(stop.offset, stop.color);\n });\n\n let deltaAngle;\n return (canvasGradient as any).GetPattern(w + x, h + y, deltaAngle);\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import type { interfaces } from '../common/inversify-lite';
2
+ export declare const ContributionProvider: unique symbol;
3
+ export declare function bindContributionProvider(bind: interfaces.Bind, id: any): void;
4
+ export declare function bindContributionProviderNoSingletonScope(bind: interfaces.Bind, id: any): void;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.bindContributionProviderNoSingletonScope = exports.bindContributionProvider = exports.ContributionProvider = void 0,
6
+ exports.ContributionProvider = Symbol("ContributionProvider");
7
+
8
+ class ContributionProviderCache {
9
+ constructor(serviceIdentifier, container) {
10
+ this.serviceIdentifier = serviceIdentifier, this.container = container;
11
+ }
12
+ getContributions() {
13
+ return this.caches || (this.caches = [], this.container && this.container.isBound(this.serviceIdentifier) && this.caches.push(...this.container.getAll(this.serviceIdentifier))),
14
+ this.caches;
15
+ }
16
+ }
17
+
18
+ function bindContributionProvider(bind, id) {
19
+ bind(exports.ContributionProvider).toDynamicValue((({container: container}) => new ContributionProviderCache(id, container))).inSingletonScope().whenTargetNamed(id);
20
+ }
21
+
22
+ function bindContributionProviderNoSingletonScope(bind, id) {
23
+ bind(exports.ContributionProvider).toDynamicValue((({container: container}) => new ContributionProviderCache(id, container))).whenTargetNamed(id);
24
+ }
25
+
26
+ exports.bindContributionProvider = bindContributionProvider, exports.bindContributionProviderNoSingletonScope = bindContributionProviderNoSingletonScope;
27
+ //# sourceMappingURL=contribution-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/common/contribution-provider.ts"],"names":[],"mappings":";;;AAGa,QAAA,oBAAoB,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAEnE,MAAM,yBAAyB;IAK7B,YAAY,iBAAkD,EAAE,SAA+B;QAC7F,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAChB,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;YACjB,IAAI,CAAC,SAAS;gBACZ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC;gBAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;SACtE;QACD,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;CACF;AAED,SAAgB,wBAAwB,CAAC,IAAqB,EAAE,EAAO;IACrE,IAAI,CAAC,4BAAoB,CAAC;SACvB,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,IAAI,yBAAyB,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;SAC/E,gBAAgB,EAAE;SAClB,eAAe,CAAC,EAAE,CAAC,CAAC;AACzB,CAAC;AALD,4DAKC;AAED,SAAgB,wCAAwC,CAAC,IAAqB,EAAE,EAAO;IACrF,IAAI,CAAC,4BAAoB,CAAC;SACvB,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,IAAI,yBAAyB,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;SAC/E,eAAe,CAAC,EAAE,CAAC,CAAC;AACzB,CAAC;AAJD,4FAIC","file":"contribution-provider.js","sourcesContent":["import type { interfaces } from '../common/inversify-lite';\nimport type { IContributionProvider } from '../interface';\n\nexport const ContributionProvider = Symbol('ContributionProvider');\n\nclass ContributionProviderCache<T> implements IContributionProvider<T> {\n protected caches?: T[];\n protected serviceIdentifier: interfaces.ServiceIdentifier<T>;\n protected container: interfaces.Container;\n\n constructor(serviceIdentifier: interfaces.ServiceIdentifier<T>, container: interfaces.Container) {\n this.serviceIdentifier = serviceIdentifier;\n this.container = container;\n }\n\n getContributions(): T[] {\n if (!this.caches) {\n this.caches = [];\n this.container &&\n this.container.isBound(this.serviceIdentifier) &&\n this.caches.push(...this.container.getAll(this.serviceIdentifier));\n }\n return this.caches;\n }\n}\n\nexport function bindContributionProvider(bind: interfaces.Bind, id: any): void {\n bind(ContributionProvider)\n .toDynamicValue(({ container }) => new ContributionProviderCache(id, container))\n .inSingletonScope()\n .whenTargetNamed(id);\n}\n\nexport function bindContributionProviderNoSingletonScope(bind: interfaces.Bind, id: any): void {\n bind(ContributionProvider)\n .toDynamicValue(({ container }) => new ContributionProviderCache(id, container))\n .whenTargetNamed(id);\n}\n"]}
@@ -0,0 +1,47 @@
1
+ import type { CommandStrType, CommandType, ICurve, ICustomPath2D, IDirection, ILine, IPath2D } from '../interface';
2
+ import { CurvePath } from './segment/curve/path';
3
+ import type { IPoint, IPointLike } from '@visactor/vutils';
4
+ export declare class CustomPath2D extends CurvePath implements ICustomPath2D {
5
+ commandList: CommandType[];
6
+ _boundsContext: IPath2D;
7
+ _ctx?: IPath2D;
8
+ direction?: IDirection;
9
+ protected transformCbList?: ((cmd: CommandType, x: number, y: number, sx: number, sy: number) => void)[];
10
+ protected toStringCbList?: ((cmd: CommandType) => string)[];
11
+ constructor(ctx?: IPath2D);
12
+ setCtx(ctx?: IPath2D): void;
13
+ moveTo(x: number, y: number): this;
14
+ lineTo(x: number, y: number): this;
15
+ quadraticCurveTo(aCPx: number, aCPy: number, aX: number, aY: number): this;
16
+ bezierCurveTo(aCP1x: number, aCP1y: number, aCP2x: number, aCP2y: number, aX: number, aY: number): this;
17
+ arcTo(aX1: number, aY1: number, aX2: number, aY2: number, aRadius: number): this;
18
+ ellipse(aX: number, aY: number, xRadius: number, yRadius: number, aRotation: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean): this;
19
+ rect(x: number, y: number, w: number, h: number): this;
20
+ arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): this;
21
+ closePath(): this;
22
+ addCurve(curve: ICurve<IPoint>): void;
23
+ clear(): void;
24
+ toString(): string;
25
+ fromString(str: string, x?: number, y?: number, sX?: number, sY?: number): this;
26
+ fromLine(line: ILine): void;
27
+ fromCustomPath2D(path: ICustomPath2D, x?: number, y?: number, sX?: number, sY?: number): this;
28
+ transform(x: number, y: number, sx: number, sy: number): void;
29
+ protected moveToTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
30
+ protected lineToTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
31
+ protected quadraticCurveToTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
32
+ protected bezierCurveToTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
33
+ arcToTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
34
+ ellipseTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
35
+ rectTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
36
+ arcTransform(cmd: CommandType, x: number, y: number, sx: number, sy: number): void;
37
+ closePathTransform(): void;
38
+ protected _runCommandStrList(commandStrList: CommandStrType[], l?: number, t?: number, sX?: number, sY?: number): void;
39
+ protected _runCommandList(commandList: CommandType[], l?: number, t?: number, sX?: number, sY?: number): void;
40
+ private _updateBounds;
41
+ release(): void;
42
+ getLength(): number;
43
+ getAttrAt(distance: number): {
44
+ pos: IPointLike;
45
+ angle: number;
46
+ };
47
+ }