@visactor/vrender-core 0.17.0-alpha.8 → 0.17.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 (706) hide show
  1. package/cjs/allocator/bounds-allocate.d.ts +13 -0
  2. package/cjs/allocator/bounds-allocate.js +38 -0
  3. package/cjs/allocator/bounds-allocate.js.map +1 -0
  4. package/cjs/allocator/canvas-allocate.d.ts +4 -0
  5. package/cjs/allocator/canvas-allocate.js +19 -6
  6. package/cjs/allocator/canvas-allocate.js.map +1 -1
  7. package/cjs/allocator/graphic-allocate.d.ts +56 -1
  8. package/cjs/allocator/graphic-allocate.js +163 -1
  9. package/cjs/allocator/graphic-allocate.js.map +1 -1
  10. package/cjs/animate/Ticker/default-ticker.js +3 -3
  11. package/cjs/animate/Ticker/default-ticker.js.map +1 -1
  12. package/cjs/animate/animate.js +2 -2
  13. package/cjs/animate/animate.js.map +1 -1
  14. package/cjs/animate/config.js +1 -2
  15. package/cjs/animate/custom-animate.d.ts +14 -3
  16. package/cjs/animate/custom-animate.js +100 -5
  17. package/cjs/animate/custom-animate.js.map +1 -1
  18. package/cjs/animate/default-ticker.js +2 -1
  19. package/cjs/canvas/contributions/base-canvas.js +4 -2
  20. package/cjs/canvas/contributions/base-canvas.js.map +1 -1
  21. package/cjs/common/Reflect-metadata.js +349 -359
  22. package/cjs/common/Reflect-metadata.js.map +1 -1
  23. package/cjs/common/bounds-context.js +2 -1
  24. package/cjs/common/inversify/annotation/inject.d.ts +1 -0
  25. package/cjs/common/inversify/annotation/inject.js +10 -0
  26. package/cjs/common/inversify/annotation/inject.js.map +1 -0
  27. package/cjs/common/inversify/annotation/inject_base.d.ts +14 -0
  28. package/cjs/common/inversify/annotation/inject_base.js +39 -0
  29. package/cjs/common/inversify/annotation/inject_base.js.map +1 -0
  30. package/cjs/common/inversify/annotation/injectable.d.ts +1 -0
  31. package/cjs/common/{inversify-lite/annotation/post_construct.js → inversify/annotation/injectable.js} +15 -5
  32. package/cjs/common/inversify/annotation/injectable.js.map +1 -0
  33. package/cjs/common/inversify/annotation/multi_inject.d.ts +1 -0
  34. package/cjs/common/inversify/annotation/multi_inject.js +10 -0
  35. package/cjs/common/inversify/annotation/multi_inject.js.map +1 -0
  36. package/cjs/common/inversify/annotation/named.d.ts +1 -0
  37. package/cjs/common/inversify/annotation/named.js +14 -0
  38. package/cjs/common/inversify/annotation/named.js.map +1 -0
  39. package/cjs/common/inversify/binding.d.ts +18 -0
  40. package/cjs/common/inversify/binding.js +26 -0
  41. package/cjs/common/inversify/binding.js.map +1 -0
  42. package/cjs/common/inversify/container.d.ts +28 -0
  43. package/cjs/common/inversify/container.js +155 -0
  44. package/cjs/common/inversify/container.js.map +1 -0
  45. package/cjs/common/inversify/cotainer-module.d.ts +6 -0
  46. package/cjs/common/inversify/cotainer-module.js +16 -0
  47. package/cjs/common/inversify/cotainer-module.js.map +1 -0
  48. package/cjs/common/inversify/index.d.ts +7 -0
  49. package/cjs/common/inversify/index.js +75 -0
  50. package/cjs/common/inversify/index.js.map +1 -0
  51. package/cjs/common/inversify/interfaces.d.ts +218 -0
  52. package/cjs/common/inversify/interfaces.js +6 -0
  53. package/cjs/common/inversify/interfaces.js.map +1 -0
  54. package/cjs/common/inversify/literal_types.d.ts +5 -0
  55. package/cjs/common/inversify/literal_types.js +34 -0
  56. package/cjs/common/inversify/literal_types.js.map +1 -0
  57. package/cjs/common/inversify/meta-data.d.ts +6 -0
  58. package/cjs/common/inversify/meta-data.js +19 -0
  59. package/cjs/common/inversify/meta-data.js.map +1 -0
  60. package/cjs/common/inversify/metadata_keys.d.ts +12 -0
  61. package/cjs/common/inversify/metadata_keys.js +15 -0
  62. package/cjs/common/inversify/metadata_keys.js.map +1 -0
  63. package/cjs/common/inversify/metadata_reader.d.ts +6 -0
  64. package/cjs/common/inversify/metadata_reader.js +28 -0
  65. package/cjs/common/inversify/metadata_reader.js.map +1 -0
  66. package/cjs/common/inversify/syntax/binding_in_syntax.d.ts +10 -0
  67. package/cjs/common/inversify/syntax/binding_in_syntax.js +29 -0
  68. package/cjs/common/inversify/syntax/binding_in_syntax.js.map +1 -0
  69. package/cjs/common/inversify/syntax/binding_to_syntax.d.ts +12 -0
  70. package/cjs/common/inversify/syntax/binding_to_syntax.js +40 -0
  71. package/cjs/common/inversify/syntax/binding_to_syntax.js.map +1 -0
  72. package/cjs/common/inversify/syntax/constraint_helpers.d.ts +2 -0
  73. package/cjs/common/inversify/syntax/constraint_helpers.js +20 -0
  74. package/cjs/common/inversify/syntax/constraint_helpers.js.map +1 -0
  75. package/cjs/common/inversify-lite/container/container.js +1 -3
  76. package/cjs/common/inversify-lite/container/container.js.map +1 -1
  77. package/cjs/common/inversify-lite/index.d.ts +1 -8
  78. package/cjs/common/inversify-lite/index.js +1 -64
  79. package/cjs/common/inversify-lite/index.js.map +1 -1
  80. package/cjs/common/inversify-lite/interfaces/interfaces.d.ts +0 -2
  81. package/cjs/common/inversify-lite/interfaces/interfaces.js.map +1 -1
  82. package/cjs/common/inversify-lite/planning/queryable_string.d.ts +0 -2
  83. package/cjs/common/inversify-lite/planning/queryable_string.js +0 -10
  84. package/cjs/common/inversify-lite/planning/queryable_string.js.map +1 -1
  85. package/cjs/common/inversify-lite/resolution/resolver.js.map +1 -1
  86. package/cjs/common/segment/monotone.js +2 -2
  87. package/cjs/common/segment/monotone.js.map +1 -1
  88. package/cjs/common/shape/rect.js +2 -1
  89. package/cjs/common/shape/rect.js.map +1 -1
  90. package/cjs/common/sort.js +1 -2
  91. package/cjs/common/store.js +2 -1
  92. package/cjs/common/utils.d.ts +1 -0
  93. package/cjs/common/utils.js +10 -1
  94. package/cjs/common/utils.js.map +1 -1
  95. package/cjs/common/xml/OrderedObjParser.js +2 -2
  96. package/cjs/common/xml/OrderedObjParser.js.map +1 -1
  97. package/cjs/core/contributions/layerHandler/canvas2d-contribution.d.ts +2 -2
  98. package/cjs/core/contributions/layerHandler/canvas2d-contribution.js +4 -9
  99. package/cjs/core/contributions/layerHandler/canvas2d-contribution.js.map +1 -1
  100. package/cjs/core/contributions/layerHandler/empty-contribution.d.ts +2 -2
  101. package/cjs/core/contributions/layerHandler/empty-contribution.js +4 -9
  102. package/cjs/core/contributions/layerHandler/empty-contribution.js.map +1 -1
  103. package/cjs/core/contributions/layerHandler/offscreen2d-contribution.d.ts +2 -2
  104. package/cjs/core/contributions/layerHandler/offscreen2d-contribution.js +4 -9
  105. package/cjs/core/contributions/layerHandler/offscreen2d-contribution.js.map +1 -1
  106. package/cjs/core/contributions/textMeasure/AtextMeasure.d.ts +14 -2
  107. package/cjs/core/contributions/textMeasure/AtextMeasure.js +99 -13
  108. package/cjs/core/contributions/textMeasure/AtextMeasure.js.map +1 -1
  109. package/cjs/core/contributions/textMeasure/layout.d.ts +2 -2
  110. package/cjs/core/contributions/textMeasure/layout.js +4 -4
  111. package/cjs/core/contributions/textMeasure/layout.js.map +1 -1
  112. package/cjs/core/contributions/textMeasure/modules.js +1 -2
  113. package/cjs/core/contributions/textMeasure/modules.js.map +1 -1
  114. package/cjs/core/core-modules.js +5 -6
  115. package/cjs/core/core-modules.js.map +1 -1
  116. package/cjs/core/global-module.js +2 -0
  117. package/cjs/core/global.d.ts +9 -0
  118. package/cjs/core/global.js +23 -5
  119. package/cjs/core/global.js.map +1 -1
  120. package/cjs/core/graphic-utils.d.ts +7 -4
  121. package/cjs/core/graphic-utils.js +18 -14
  122. package/cjs/core/graphic-utils.js.map +1 -1
  123. package/cjs/core/layer-service.d.ts +5 -2
  124. package/cjs/core/layer-service.js +17 -15
  125. package/cjs/core/layer-service.js.map +1 -1
  126. package/cjs/core/stage.d.ts +8 -4
  127. package/cjs/core/stage.js +42 -27
  128. package/cjs/core/stage.js.map +1 -1
  129. package/cjs/core/window.d.ts +2 -2
  130. package/cjs/core/window.js +7 -12
  131. package/cjs/core/window.js.map +1 -1
  132. package/cjs/env-check.d.ts +3 -0
  133. package/cjs/env-check.js +19 -0
  134. package/cjs/env-check.js.map +1 -0
  135. package/cjs/event/event-manager.d.ts +5 -1
  136. package/cjs/event/event-manager.js +31 -25
  137. package/cjs/event/event-manager.js.map +1 -1
  138. package/cjs/event/event-system.js +12 -11
  139. package/cjs/event/event-system.js.map +1 -1
  140. package/cjs/event/federated-event/base-event.d.ts +5 -6
  141. package/cjs/event/federated-event/base-event.js +15 -5
  142. package/cjs/event/federated-event/base-event.js.map +1 -1
  143. package/cjs/event/federated-event/mouse-event.d.ts +6 -6
  144. package/cjs/event/federated-event/mouse-event.js +17 -3
  145. package/cjs/event/federated-event/mouse-event.js.map +1 -1
  146. package/cjs/graphic/area.js +1 -0
  147. package/cjs/graphic/area.js.map +1 -1
  148. package/cjs/graphic/builtin-symbol/index.d.ts +1 -0
  149. package/cjs/graphic/builtin-symbol/index.js +7 -2
  150. package/cjs/graphic/builtin-symbol/index.js.map +1 -1
  151. package/cjs/graphic/builtin-symbol/rect.d.ts +2 -1
  152. package/cjs/graphic/builtin-symbol/rect.js +11 -6
  153. package/cjs/graphic/builtin-symbol/rect.js.map +1 -1
  154. package/cjs/graphic/config.js +11 -3
  155. package/cjs/graphic/config.js.map +1 -1
  156. package/cjs/graphic/graphic-service/arc-contribution.d.ts +1 -5
  157. package/cjs/graphic/graphic-service/arc-contribution.js +0 -18
  158. package/cjs/graphic/graphic-service/arc-contribution.js.map +1 -1
  159. package/cjs/graphic/graphic-service/area-contribution.d.ts +1 -1
  160. package/cjs/graphic/graphic-service/area-contribution.js +1 -4
  161. package/cjs/graphic/graphic-service/area-contribution.js.map +1 -1
  162. package/cjs/graphic/graphic-service/circle-contribution.d.ts +1 -5
  163. package/cjs/graphic/graphic-service/circle-contribution.js +0 -18
  164. package/cjs/graphic/graphic-service/circle-contribution.js.map +1 -1
  165. package/cjs/graphic/graphic-service/common-contribution.js +2 -11
  166. package/cjs/graphic/graphic-service/common-contribution.js.map +1 -1
  167. package/cjs/graphic/graphic-service/graphic-module.js +2 -17
  168. package/cjs/graphic/graphic-service/graphic-module.js.map +1 -1
  169. package/cjs/graphic/graphic-service/graphic-service.d.ts +5 -9
  170. package/cjs/graphic/graphic-service/graphic-service.js +43 -32
  171. package/cjs/graphic/graphic-service/graphic-service.js.map +1 -1
  172. package/cjs/graphic/graphic-service/path-contribution.d.ts +1 -5
  173. package/cjs/graphic/graphic-service/path-contribution.js +0 -18
  174. package/cjs/graphic/graphic-service/path-contribution.js.map +1 -1
  175. package/cjs/graphic/graphic-service/rect-contribution.d.ts +1 -5
  176. package/cjs/graphic/graphic-service/rect-contribution.js +0 -18
  177. package/cjs/graphic/graphic-service/rect-contribution.js.map +1 -1
  178. package/cjs/graphic/graphic-service/symbol-contribution.d.ts +0 -1
  179. package/cjs/graphic/graphic-service/symbol-contribution.js +4 -13
  180. package/cjs/graphic/graphic-service/symbol-contribution.js.map +1 -1
  181. package/cjs/graphic/graphic.js +9 -7
  182. package/cjs/graphic/graphic.js.map +1 -1
  183. package/cjs/graphic/group.d.ts +1 -0
  184. package/cjs/graphic/group.js +7 -3
  185. package/cjs/graphic/group.js.map +1 -1
  186. package/cjs/graphic/line.js +1 -0
  187. package/cjs/graphic/line.js.map +1 -1
  188. package/cjs/graphic/node-tree.js +1 -1
  189. package/cjs/graphic/node-tree.js.map +1 -1
  190. package/cjs/graphic/rect.d.ts +2 -3
  191. package/cjs/graphic/rect.js +3 -5
  192. package/cjs/graphic/rect.js.map +1 -1
  193. package/cjs/graphic/richtext/line.d.ts +1 -0
  194. package/cjs/graphic/richtext/line.js +6 -3
  195. package/cjs/graphic/richtext/line.js.map +1 -1
  196. package/cjs/graphic/richtext/paragraph.js +12 -11
  197. package/cjs/graphic/richtext/paragraph.js.map +1 -1
  198. package/cjs/graphic/richtext/utils.js +2 -1
  199. package/cjs/graphic/richtext/utils.js.map +1 -1
  200. package/cjs/graphic/richtext.d.ts +3 -3
  201. package/cjs/graphic/richtext.js +12 -3
  202. package/cjs/graphic/richtext.js.map +1 -1
  203. package/cjs/graphic/symbol.js +11 -9
  204. package/cjs/graphic/symbol.js.map +1 -1
  205. package/cjs/graphic/text.d.ts +1 -0
  206. package/cjs/graphic/text.js +97 -11
  207. package/cjs/graphic/text.js.map +1 -1
  208. package/cjs/graphic/theme.d.ts +4 -4
  209. package/cjs/graphic/theme.js +26 -27
  210. package/cjs/graphic/theme.js.map +1 -1
  211. package/cjs/graphic/tools.js +1 -1
  212. package/cjs/graphic/tools.js.map +1 -1
  213. package/cjs/graphic/wrap-text.js +6 -5
  214. package/cjs/graphic/wrap-text.js.map +1 -1
  215. package/cjs/index.d.ts +3 -0
  216. package/cjs/index.js +3 -1
  217. package/cjs/index.js.map +1 -1
  218. package/cjs/interface/allocator.d.ts +1 -0
  219. package/cjs/interface/allocator.js.map +1 -1
  220. package/cjs/interface/event.d.ts +15 -44
  221. package/cjs/interface/event.js.map +1 -1
  222. package/cjs/interface/global.d.ts +1 -0
  223. package/cjs/interface/global.js.map +1 -1
  224. package/cjs/interface/graphic/rect.d.ts +2 -0
  225. package/cjs/interface/graphic/rect.js.map +1 -1
  226. package/cjs/interface/graphic/richText.d.ts +1 -1
  227. package/cjs/interface/graphic/richText.js.map +1 -1
  228. package/cjs/interface/graphic/text.d.ts +5 -1
  229. package/cjs/interface/graphic/text.js.map +1 -1
  230. package/cjs/interface/graphic.d.ts +3 -2
  231. package/cjs/interface/graphic.js.map +1 -1
  232. package/cjs/interface/render.d.ts +2 -2
  233. package/cjs/interface/render.js.map +1 -1
  234. package/cjs/interface/stage.d.ts +8 -1
  235. package/cjs/interface/stage.js.map +1 -1
  236. package/cjs/interface/text.d.ts +2 -2
  237. package/cjs/interface/text.js.map +1 -1
  238. package/cjs/modules.d.ts +1 -2
  239. package/cjs/modules.js +8 -8
  240. package/cjs/modules.js.map +1 -1
  241. package/cjs/picker/global-picker-service.d.ts +2 -2
  242. package/cjs/picker/global-picker-service.js +4 -9
  243. package/cjs/picker/global-picker-service.js.map +1 -1
  244. package/cjs/picker/pick-interceptor.js +2 -1
  245. package/cjs/picker/pick-interceptor.js.map +1 -1
  246. package/cjs/picker/pick-modules.js +2 -4
  247. package/cjs/picker/pick-modules.js.map +1 -1
  248. package/cjs/picker/picker-service.d.ts +2 -2
  249. package/cjs/picker/picker-service.js +11 -7
  250. package/cjs/picker/picker-service.js.map +1 -1
  251. package/cjs/plugins/builtin-plugin/flex-layout-plugin.js +9 -5
  252. package/cjs/plugins/builtin-plugin/flex-layout-plugin.js.map +1 -1
  253. package/cjs/plugins/builtin-plugin/html-attribute-plugin.js +1 -1
  254. package/cjs/plugins/builtin-plugin/html-attribute-plugin.js.map +1 -1
  255. package/cjs/plugins/plugin-modules.js +1 -2
  256. package/cjs/plugins/plugin-modules.js.map +1 -1
  257. package/cjs/render/contributions/render/arc-render.js +2 -1
  258. package/cjs/render/contributions/render/arc-render.js.map +1 -1
  259. package/cjs/render/contributions/render/area-render.d.ts +1 -0
  260. package/cjs/render/contributions/render/area-render.js +44 -6
  261. package/cjs/render/contributions/render/area-render.js.map +1 -1
  262. package/cjs/render/contributions/render/base-render.d.ts +1 -1
  263. package/cjs/render/contributions/render/base-render.js +15 -18
  264. package/cjs/render/contributions/render/base-render.js.map +1 -1
  265. package/cjs/render/contributions/render/circle-render.js +2 -1
  266. package/cjs/render/contributions/render/circle-render.js.map +1 -1
  267. package/cjs/render/contributions/render/contributions/arc-contribution-render.d.ts +3 -7
  268. package/cjs/render/contributions/render/contributions/arc-contribution-render.js +7 -30
  269. package/cjs/render/contributions/render/contributions/arc-contribution-render.js.map +1 -1
  270. package/cjs/render/contributions/render/contributions/area-contribution-render.d.ts +3 -4
  271. package/cjs/render/contributions/render/contributions/area-contribution-render.js +7 -21
  272. package/cjs/render/contributions/render/contributions/area-contribution-render.js.map +1 -1
  273. package/cjs/render/contributions/render/contributions/base-contribution-render.d.ts +4 -0
  274. package/cjs/render/contributions/render/contributions/base-contribution-render.js +24 -15
  275. package/cjs/render/contributions/render/contributions/base-contribution-render.js.map +1 -1
  276. package/cjs/render/contributions/render/contributions/circle-contribution-render.d.ts +3 -7
  277. package/cjs/render/contributions/render/contributions/circle-contribution-render.js +7 -30
  278. package/cjs/render/contributions/render/contributions/circle-contribution-render.js.map +1 -1
  279. package/cjs/render/contributions/render/contributions/constants.d.ts +1 -0
  280. package/cjs/render/contributions/render/contributions/constants.js +2 -2
  281. package/cjs/render/contributions/render/contributions/constants.js.map +1 -1
  282. package/cjs/render/contributions/render/contributions/group-contribution-render.d.ts +1 -0
  283. package/cjs/render/contributions/render/contributions/group-contribution-render.js +8 -14
  284. package/cjs/render/contributions/render/contributions/group-contribution-render.js.map +1 -1
  285. package/cjs/render/contributions/render/contributions/image-contribution-render.d.ts +1 -0
  286. package/cjs/render/contributions/render/contributions/image-contribution-render.js +8 -15
  287. package/cjs/render/contributions/render/contributions/image-contribution-render.js.map +1 -1
  288. package/cjs/render/contributions/render/contributions/path-contribution-render.d.ts +2 -9
  289. package/cjs/render/contributions/render/contributions/path-contribution-render.js +4 -25
  290. package/cjs/render/contributions/render/contributions/path-contribution-render.js.map +1 -1
  291. package/cjs/render/contributions/render/contributions/polygon-contribution-render.d.ts +2 -9
  292. package/cjs/render/contributions/render/contributions/polygon-contribution-render.js +4 -25
  293. package/cjs/render/contributions/render/contributions/polygon-contribution-render.js.map +1 -1
  294. package/cjs/render/contributions/render/contributions/rect-contribution-render.d.ts +5 -7
  295. package/cjs/render/contributions/render/contributions/rect-contribution-render.js +17 -37
  296. package/cjs/render/contributions/render/contributions/rect-contribution-render.js.map +1 -1
  297. package/cjs/render/contributions/render/contributions/symbol-contribution-render.d.ts +3 -7
  298. package/cjs/render/contributions/render/contributions/symbol-contribution-render.js +6 -27
  299. package/cjs/render/contributions/render/contributions/symbol-contribution-render.js.map +1 -1
  300. package/cjs/render/contributions/render/contributions/text-contribution-render.d.ts +8 -1
  301. package/cjs/render/contributions/render/contributions/text-contribution-render.js +25 -1
  302. package/cjs/render/contributions/render/contributions/text-contribution-render.js.map +1 -1
  303. package/cjs/render/contributions/render/draw-contribution.d.ts +7 -6
  304. package/cjs/render/contributions/render/draw-contribution.js +44 -26
  305. package/cjs/render/contributions/render/draw-contribution.js.map +1 -1
  306. package/cjs/render/contributions/render/draw-interceptor.d.ts +9 -1
  307. package/cjs/render/contributions/render/draw-interceptor.js +43 -28
  308. package/cjs/render/contributions/render/draw-interceptor.js.map +1 -1
  309. package/cjs/render/contributions/render/glyph-render.d.ts +1 -2
  310. package/cjs/render/contributions/render/glyph-render.js +13 -8
  311. package/cjs/render/contributions/render/glyph-render.js.map +1 -1
  312. package/cjs/render/contributions/render/group-render.js +3 -2
  313. package/cjs/render/contributions/render/group-render.js.map +1 -1
  314. package/cjs/render/contributions/render/image-render.js +4 -2
  315. package/cjs/render/contributions/render/image-render.js.map +1 -1
  316. package/cjs/render/contributions/render/incremental-draw-contribution.d.ts +2 -6
  317. package/cjs/render/contributions/render/incremental-draw-contribution.js +8 -11
  318. package/cjs/render/contributions/render/incremental-draw-contribution.js.map +1 -1
  319. package/cjs/render/contributions/render/line-render.d.ts +1 -0
  320. package/cjs/render/contributions/render/line-render.js +21 -6
  321. package/cjs/render/contributions/render/line-render.js.map +1 -1
  322. package/cjs/render/contributions/render/module.js +32 -87
  323. package/cjs/render/contributions/render/module.js.map +1 -1
  324. package/cjs/render/contributions/render/path-render.d.ts +2 -1
  325. package/cjs/render/contributions/render/path-render.js +8 -5
  326. package/cjs/render/contributions/render/path-render.js.map +1 -1
  327. package/cjs/render/contributions/render/polygon-render.js +2 -1
  328. package/cjs/render/contributions/render/polygon-render.js.map +1 -1
  329. package/cjs/render/contributions/render/rect-render.d.ts +2 -1
  330. package/cjs/render/contributions/render/rect-render.js +11 -5
  331. package/cjs/render/contributions/render/rect-render.js.map +1 -1
  332. package/cjs/render/contributions/render/render-slector.d.ts +1 -4
  333. package/cjs/render/contributions/render/render-slector.js +0 -20
  334. package/cjs/render/contributions/render/render-slector.js.map +1 -1
  335. package/cjs/render/contributions/render/richtext-render.d.ts +1 -0
  336. package/cjs/render/contributions/render/richtext-render.js +12 -7
  337. package/cjs/render/contributions/render/richtext-render.js.map +1 -1
  338. package/cjs/render/contributions/render/symbol-render.js +22 -5
  339. package/cjs/render/contributions/render/symbol-render.js.map +1 -1
  340. package/cjs/render/contributions/render/text-render.js +13 -10
  341. package/cjs/render/contributions/render/text-render.js.map +1 -1
  342. package/cjs/render/contributions/render/utils.js +2 -2
  343. package/cjs/render/contributions/render/utils.js.map +1 -1
  344. package/cjs/render/render-modules.js +1 -1
  345. package/cjs/render/render-modules.js.map +1 -1
  346. package/cjs/render/render-service.js +1 -1
  347. package/cjs/render/render-service.js.map +1 -1
  348. package/cjs/resource-loader/loader.js +1 -3
  349. package/cjs/resource-loader/loader.js.map +1 -1
  350. package/dist/index.js +6339 -6568
  351. package/dist/index.min.js +1 -1
  352. package/es/allocator/bounds-allocate.d.ts +13 -0
  353. package/es/allocator/bounds-allocate.js +32 -0
  354. package/es/allocator/bounds-allocate.js.map +1 -0
  355. package/es/allocator/canvas-allocate.d.ts +4 -0
  356. package/es/allocator/canvas-allocate.js +19 -6
  357. package/es/allocator/canvas-allocate.js.map +1 -1
  358. package/es/allocator/graphic-allocate.d.ts +56 -1
  359. package/es/allocator/graphic-allocate.js +155 -1
  360. package/es/allocator/graphic-allocate.js.map +1 -1
  361. package/es/animate/Ticker/default-ticker.js +4 -2
  362. package/es/animate/Ticker/default-ticker.js.map +1 -1
  363. package/es/animate/animate.js +3 -3
  364. package/es/animate/animate.js.map +1 -1
  365. package/es/animate/config.js +1 -2
  366. package/es/animate/custom-animate.d.ts +14 -3
  367. package/es/animate/custom-animate.js +103 -5
  368. package/es/animate/custom-animate.js.map +1 -1
  369. package/es/animate/default-ticker.js +2 -1
  370. package/es/canvas/contributions/base-canvas.js +4 -2
  371. package/es/canvas/contributions/base-canvas.js.map +1 -1
  372. package/es/common/Reflect-metadata.js +349 -359
  373. package/es/common/Reflect-metadata.js.map +1 -1
  374. package/es/common/bounds-context.js +2 -1
  375. package/es/common/inversify/annotation/inject.d.ts +1 -0
  376. package/es/common/inversify/annotation/inject.js +6 -0
  377. package/es/common/inversify/annotation/inject.js.map +1 -0
  378. package/es/common/inversify/annotation/inject_base.d.ts +14 -0
  379. package/es/common/inversify/annotation/inject_base.js +29 -0
  380. package/es/common/inversify/annotation/inject_base.js.map +1 -0
  381. package/es/common/inversify/annotation/injectable.d.ts +1 -0
  382. package/es/common/inversify/annotation/injectable.js +10 -0
  383. package/es/common/inversify/annotation/injectable.js.map +1 -0
  384. package/es/common/inversify/annotation/multi_inject.d.ts +1 -0
  385. package/es/common/inversify/annotation/multi_inject.js +6 -0
  386. package/es/common/inversify/annotation/multi_inject.js.map +1 -0
  387. package/es/common/inversify/annotation/named.d.ts +1 -0
  388. package/es/common/inversify/annotation/named.js +10 -0
  389. package/es/common/inversify/annotation/named.js.map +1 -0
  390. package/es/common/inversify/binding.d.ts +18 -0
  391. package/es/common/inversify/binding.js +22 -0
  392. package/es/common/inversify/binding.js.map +1 -0
  393. package/es/common/inversify/container.d.ts +28 -0
  394. package/es/common/inversify/container.js +155 -0
  395. package/es/common/inversify/container.js.map +1 -0
  396. package/es/common/inversify/cotainer-module.d.ts +6 -0
  397. package/es/common/inversify/cotainer-module.js +8 -0
  398. package/es/common/inversify/cotainer-module.js.map +1 -0
  399. package/es/common/inversify/index.d.ts +7 -0
  400. package/es/common/inversify/index.js +14 -0
  401. package/es/common/inversify/index.js.map +1 -0
  402. package/es/common/inversify/interfaces.d.ts +218 -0
  403. package/es/common/inversify/interfaces.js +2 -0
  404. package/es/common/inversify/interfaces.js.map +1 -0
  405. package/es/common/inversify/literal_types.d.ts +5 -0
  406. package/es/common/inversify/literal_types.js +20 -0
  407. package/es/common/inversify/literal_types.js.map +1 -0
  408. package/es/common/inversify/meta-data.d.ts +6 -0
  409. package/es/common/inversify/meta-data.js +11 -0
  410. package/es/common/inversify/meta-data.js.map +1 -0
  411. package/es/common/inversify/metadata_keys.d.ts +12 -0
  412. package/es/common/inversify/metadata_keys.js +28 -0
  413. package/es/common/inversify/metadata_keys.js.map +1 -0
  414. package/es/common/inversify/metadata_reader.d.ts +6 -0
  415. package/es/common/inversify/metadata_reader.js +18 -0
  416. package/es/common/inversify/metadata_reader.js.map +1 -0
  417. package/es/common/inversify/syntax/binding_in_syntax.d.ts +10 -0
  418. package/es/common/inversify/syntax/binding_in_syntax.js +24 -0
  419. package/es/common/inversify/syntax/binding_in_syntax.js.map +1 -0
  420. package/es/common/inversify/syntax/binding_to_syntax.d.ts +12 -0
  421. package/es/common/inversify/syntax/binding_to_syntax.js +36 -0
  422. package/es/common/inversify/syntax/binding_to_syntax.js.map +1 -0
  423. package/es/common/inversify/syntax/constraint_helpers.d.ts +2 -0
  424. package/es/common/inversify/syntax/constraint_helpers.js +18 -0
  425. package/es/common/inversify/syntax/constraint_helpers.js.map +1 -0
  426. package/es/common/inversify-lite/container/container.js +2 -4
  427. package/es/common/inversify-lite/container/container.js.map +1 -1
  428. package/es/common/inversify-lite/index.d.ts +1 -8
  429. package/es/common/inversify-lite/index.js +1 -15
  430. package/es/common/inversify-lite/index.js.map +1 -1
  431. package/es/common/inversify-lite/interfaces/interfaces.d.ts +0 -2
  432. package/es/common/inversify-lite/interfaces/interfaces.js.map +1 -1
  433. package/es/common/inversify-lite/planning/queryable_string.d.ts +0 -2
  434. package/es/common/inversify-lite/planning/queryable_string.js +0 -10
  435. package/es/common/inversify-lite/planning/queryable_string.js.map +1 -1
  436. package/es/common/inversify-lite/resolution/resolver.js.map +1 -1
  437. package/es/common/segment/monotone.js +2 -2
  438. package/es/common/segment/monotone.js.map +1 -1
  439. package/es/common/shape/rect.js +2 -1
  440. package/es/common/shape/rect.js.map +1 -1
  441. package/es/common/sort.js +1 -2
  442. package/es/common/store.js +2 -1
  443. package/es/common/utils.d.ts +1 -0
  444. package/es/common/utils.js +8 -1
  445. package/es/common/utils.js.map +1 -1
  446. package/es/common/xml/OrderedObjParser.js +2 -2
  447. package/es/common/xml/OrderedObjParser.js.map +1 -1
  448. package/es/core/contributions/layerHandler/canvas2d-contribution.d.ts +2 -2
  449. package/es/core/contributions/layerHandler/canvas2d-contribution.js +5 -9
  450. package/es/core/contributions/layerHandler/canvas2d-contribution.js.map +1 -1
  451. package/es/core/contributions/layerHandler/empty-contribution.d.ts +2 -2
  452. package/es/core/contributions/layerHandler/empty-contribution.js +5 -9
  453. package/es/core/contributions/layerHandler/empty-contribution.js.map +1 -1
  454. package/es/core/contributions/layerHandler/offscreen2d-contribution.d.ts +2 -2
  455. package/es/core/contributions/layerHandler/offscreen2d-contribution.js +5 -9
  456. package/es/core/contributions/layerHandler/offscreen2d-contribution.js.map +1 -1
  457. package/es/core/contributions/textMeasure/AtextMeasure.d.ts +14 -2
  458. package/es/core/contributions/textMeasure/AtextMeasure.js +99 -13
  459. package/es/core/contributions/textMeasure/AtextMeasure.js.map +1 -1
  460. package/es/core/contributions/textMeasure/layout.d.ts +2 -2
  461. package/es/core/contributions/textMeasure/layout.js +4 -4
  462. package/es/core/contributions/textMeasure/layout.js.map +1 -1
  463. package/es/core/contributions/textMeasure/modules.js +1 -1
  464. package/es/core/contributions/textMeasure/modules.js.map +1 -1
  465. package/es/core/core-modules.js +4 -6
  466. package/es/core/core-modules.js.map +1 -1
  467. package/es/core/global-module.js +2 -0
  468. package/es/core/global.d.ts +9 -0
  469. package/es/core/global.js +23 -4
  470. package/es/core/global.js.map +1 -1
  471. package/es/core/graphic-utils.d.ts +7 -4
  472. package/es/core/graphic-utils.js +20 -15
  473. package/es/core/graphic-utils.js.map +1 -1
  474. package/es/core/layer-service.d.ts +5 -2
  475. package/es/core/layer-service.js +18 -15
  476. package/es/core/layer-service.js.map +1 -1
  477. package/es/core/stage.d.ts +8 -4
  478. package/es/core/stage.js +47 -30
  479. package/es/core/stage.js.map +1 -1
  480. package/es/core/window.d.ts +2 -2
  481. package/es/core/window.js +8 -12
  482. package/es/core/window.js.map +1 -1
  483. package/es/env-check.d.ts +3 -0
  484. package/es/env-check.js +12 -0
  485. package/es/env-check.js.map +1 -0
  486. package/es/event/event-manager.d.ts +5 -1
  487. package/es/event/event-manager.js +32 -26
  488. package/es/event/event-manager.js.map +1 -1
  489. package/es/event/event-system.js +8 -6
  490. package/es/event/event-system.js.map +1 -1
  491. package/es/event/federated-event/base-event.d.ts +5 -6
  492. package/es/event/federated-event/base-event.js +15 -5
  493. package/es/event/federated-event/base-event.js.map +1 -1
  494. package/es/event/federated-event/mouse-event.d.ts +6 -6
  495. package/es/event/federated-event/mouse-event.js +16 -4
  496. package/es/event/federated-event/mouse-event.js.map +1 -1
  497. package/es/graphic/area.js +1 -0
  498. package/es/graphic/area.js.map +1 -1
  499. package/es/graphic/builtin-symbol/index.d.ts +1 -0
  500. package/es/graphic/builtin-symbol/index.js +7 -0
  501. package/es/graphic/builtin-symbol/index.js.map +1 -1
  502. package/es/graphic/builtin-symbol/rect.d.ts +2 -1
  503. package/es/graphic/builtin-symbol/rect.js +9 -4
  504. package/es/graphic/builtin-symbol/rect.js.map +1 -1
  505. package/es/graphic/config.js +12 -4
  506. package/es/graphic/config.js.map +1 -1
  507. package/es/graphic/graphic-service/arc-contribution.d.ts +1 -5
  508. package/es/graphic/graphic-service/arc-contribution.js +0 -15
  509. package/es/graphic/graphic-service/arc-contribution.js.map +1 -1
  510. package/es/graphic/graphic-service/area-contribution.d.ts +1 -1
  511. package/es/graphic/graphic-service/area-contribution.js +2 -1
  512. package/es/graphic/graphic-service/area-contribution.js.map +1 -1
  513. package/es/graphic/graphic-service/circle-contribution.d.ts +1 -5
  514. package/es/graphic/graphic-service/circle-contribution.js +0 -15
  515. package/es/graphic/graphic-service/circle-contribution.js.map +1 -1
  516. package/es/graphic/graphic-service/common-contribution.js +2 -14
  517. package/es/graphic/graphic-service/common-contribution.js.map +1 -1
  518. package/es/graphic/graphic-service/graphic-module.js +1 -23
  519. package/es/graphic/graphic-service/graphic-module.js.map +1 -1
  520. package/es/graphic/graphic-service/graphic-service.d.ts +5 -9
  521. package/es/graphic/graphic-service/graphic-service.js +44 -34
  522. package/es/graphic/graphic-service/graphic-service.js.map +1 -1
  523. package/es/graphic/graphic-service/path-contribution.d.ts +1 -5
  524. package/es/graphic/graphic-service/path-contribution.js +0 -15
  525. package/es/graphic/graphic-service/path-contribution.js.map +1 -1
  526. package/es/graphic/graphic-service/rect-contribution.d.ts +1 -5
  527. package/es/graphic/graphic-service/rect-contribution.js +0 -15
  528. package/es/graphic/graphic-service/rect-contribution.js.map +1 -1
  529. package/es/graphic/graphic-service/symbol-contribution.d.ts +0 -1
  530. package/es/graphic/graphic-service/symbol-contribution.js +2 -16
  531. package/es/graphic/graphic-service/symbol-contribution.js.map +1 -1
  532. package/es/graphic/graphic.js +8 -6
  533. package/es/graphic/graphic.js.map +1 -1
  534. package/es/graphic/group.d.ts +1 -0
  535. package/es/graphic/group.js +8 -1
  536. package/es/graphic/group.js.map +1 -1
  537. package/es/graphic/line.js +1 -0
  538. package/es/graphic/line.js.map +1 -1
  539. package/es/graphic/node-tree.js +2 -2
  540. package/es/graphic/node-tree.js.map +1 -1
  541. package/es/graphic/rect.d.ts +2 -3
  542. package/es/graphic/rect.js +3 -7
  543. package/es/graphic/rect.js.map +1 -1
  544. package/es/graphic/richtext/line.d.ts +1 -0
  545. package/es/graphic/richtext/line.js +6 -4
  546. package/es/graphic/richtext/line.js.map +1 -1
  547. package/es/graphic/richtext/paragraph.js +5 -2
  548. package/es/graphic/richtext/paragraph.js.map +1 -1
  549. package/es/graphic/richtext/utils.js +2 -1
  550. package/es/graphic/richtext/utils.js.map +1 -1
  551. package/es/graphic/richtext.d.ts +3 -3
  552. package/es/graphic/richtext.js +12 -3
  553. package/es/graphic/richtext.js.map +1 -1
  554. package/es/graphic/symbol.js +11 -10
  555. package/es/graphic/symbol.js.map +1 -1
  556. package/es/graphic/text.d.ts +1 -0
  557. package/es/graphic/text.js +94 -13
  558. package/es/graphic/text.js.map +1 -1
  559. package/es/graphic/theme.d.ts +4 -4
  560. package/es/graphic/theme.js +27 -28
  561. package/es/graphic/theme.js.map +1 -1
  562. package/es/graphic/tools.js +1 -1
  563. package/es/graphic/tools.js.map +1 -1
  564. package/es/graphic/wrap-text.js +6 -4
  565. package/es/graphic/wrap-text.js.map +1 -1
  566. package/es/index.d.ts +3 -0
  567. package/es/index.js +6 -0
  568. package/es/index.js.map +1 -1
  569. package/es/interface/allocator.d.ts +1 -0
  570. package/es/interface/allocator.js.map +1 -1
  571. package/es/interface/event.d.ts +15 -44
  572. package/es/interface/event.js.map +1 -1
  573. package/es/interface/global.d.ts +1 -0
  574. package/es/interface/global.js.map +1 -1
  575. package/es/interface/graphic/rect.d.ts +2 -0
  576. package/es/interface/graphic/rect.js.map +1 -1
  577. package/es/interface/graphic/richText.d.ts +1 -1
  578. package/es/interface/graphic/richText.js.map +1 -1
  579. package/es/interface/graphic/text.d.ts +5 -1
  580. package/es/interface/graphic/text.js.map +1 -1
  581. package/es/interface/graphic.d.ts +3 -2
  582. package/es/interface/graphic.js.map +1 -1
  583. package/es/interface/render.d.ts +2 -2
  584. package/es/interface/render.js.map +1 -1
  585. package/es/interface/stage.d.ts +8 -1
  586. package/es/interface/stage.js.map +1 -1
  587. package/es/interface/text.d.ts +2 -2
  588. package/es/interface/text.js.map +1 -1
  589. package/es/modules.d.ts +1 -2
  590. package/es/modules.js +0 -4
  591. package/es/modules.js.map +1 -1
  592. package/es/picker/global-picker-service.d.ts +2 -2
  593. package/es/picker/global-picker-service.js +5 -9
  594. package/es/picker/global-picker-service.js.map +1 -1
  595. package/es/picker/pick-interceptor.js +2 -1
  596. package/es/picker/pick-interceptor.js.map +1 -1
  597. package/es/picker/pick-modules.js +1 -4
  598. package/es/picker/pick-modules.js.map +1 -1
  599. package/es/picker/picker-service.d.ts +2 -2
  600. package/es/picker/picker-service.js +10 -6
  601. package/es/picker/picker-service.js.map +1 -1
  602. package/es/plugins/builtin-plugin/flex-layout-plugin.js +12 -6
  603. package/es/plugins/builtin-plugin/flex-layout-plugin.js.map +1 -1
  604. package/es/plugins/builtin-plugin/html-attribute-plugin.js +1 -1
  605. package/es/plugins/builtin-plugin/html-attribute-plugin.js.map +1 -1
  606. package/es/plugins/plugin-modules.js +1 -2
  607. package/es/plugins/plugin-modules.js.map +1 -1
  608. package/es/render/contributions/render/arc-render.js +3 -0
  609. package/es/render/contributions/render/arc-render.js.map +1 -1
  610. package/es/render/contributions/render/area-render.d.ts +1 -0
  611. package/es/render/contributions/render/area-render.js +45 -5
  612. package/es/render/contributions/render/area-render.js.map +1 -1
  613. package/es/render/contributions/render/base-render.d.ts +1 -1
  614. package/es/render/contributions/render/base-render.js +15 -22
  615. package/es/render/contributions/render/base-render.js.map +1 -1
  616. package/es/render/contributions/render/circle-render.js +3 -0
  617. package/es/render/contributions/render/circle-render.js.map +1 -1
  618. package/es/render/contributions/render/contributions/arc-contribution-render.d.ts +3 -7
  619. package/es/render/contributions/render/contributions/arc-contribution-render.js +6 -32
  620. package/es/render/contributions/render/contributions/arc-contribution-render.js.map +1 -1
  621. package/es/render/contributions/render/contributions/area-contribution-render.d.ts +3 -4
  622. package/es/render/contributions/render/contributions/area-contribution-render.js +5 -23
  623. package/es/render/contributions/render/contributions/area-contribution-render.js.map +1 -1
  624. package/es/render/contributions/render/contributions/base-contribution-render.d.ts +4 -0
  625. package/es/render/contributions/render/contributions/base-contribution-render.js +21 -16
  626. package/es/render/contributions/render/contributions/base-contribution-render.js.map +1 -1
  627. package/es/render/contributions/render/contributions/circle-contribution-render.d.ts +3 -7
  628. package/es/render/contributions/render/contributions/circle-contribution-render.js +6 -32
  629. package/es/render/contributions/render/contributions/circle-contribution-render.js.map +1 -1
  630. package/es/render/contributions/render/contributions/constants.d.ts +1 -0
  631. package/es/render/contributions/render/contributions/constants.js +2 -0
  632. package/es/render/contributions/render/contributions/constants.js.map +1 -1
  633. package/es/render/contributions/render/contributions/group-contribution-render.d.ts +1 -0
  634. package/es/render/contributions/render/contributions/group-contribution-render.js +5 -15
  635. package/es/render/contributions/render/contributions/group-contribution-render.js.map +1 -1
  636. package/es/render/contributions/render/contributions/image-contribution-render.d.ts +1 -0
  637. package/es/render/contributions/render/contributions/image-contribution-render.js +6 -17
  638. package/es/render/contributions/render/contributions/image-contribution-render.js.map +1 -1
  639. package/es/render/contributions/render/contributions/path-contribution-render.d.ts +2 -9
  640. package/es/render/contributions/render/contributions/path-contribution-render.js +3 -29
  641. package/es/render/contributions/render/contributions/path-contribution-render.js.map +1 -1
  642. package/es/render/contributions/render/contributions/polygon-contribution-render.d.ts +2 -9
  643. package/es/render/contributions/render/contributions/polygon-contribution-render.js +3 -29
  644. package/es/render/contributions/render/contributions/polygon-contribution-render.js.map +1 -1
  645. package/es/render/contributions/render/contributions/rect-contribution-render.d.ts +5 -7
  646. package/es/render/contributions/render/contributions/rect-contribution-render.js +19 -46
  647. package/es/render/contributions/render/contributions/rect-contribution-render.js.map +1 -1
  648. package/es/render/contributions/render/contributions/symbol-contribution-render.d.ts +3 -7
  649. package/es/render/contributions/render/contributions/symbol-contribution-render.js +6 -24
  650. package/es/render/contributions/render/contributions/symbol-contribution-render.js.map +1 -1
  651. package/es/render/contributions/render/contributions/text-contribution-render.d.ts +8 -1
  652. package/es/render/contributions/render/contributions/text-contribution-render.js +24 -1
  653. package/es/render/contributions/render/contributions/text-contribution-render.js.map +1 -1
  654. package/es/render/contributions/render/draw-contribution.d.ts +7 -6
  655. package/es/render/contributions/render/draw-contribution.js +49 -29
  656. package/es/render/contributions/render/draw-contribution.js.map +1 -1
  657. package/es/render/contributions/render/draw-interceptor.d.ts +9 -1
  658. package/es/render/contributions/render/draw-interceptor.js +40 -36
  659. package/es/render/contributions/render/draw-interceptor.js.map +1 -1
  660. package/es/render/contributions/render/glyph-render.d.ts +1 -2
  661. package/es/render/contributions/render/glyph-render.js +12 -9
  662. package/es/render/contributions/render/glyph-render.js.map +1 -1
  663. package/es/render/contributions/render/group-render.js +4 -1
  664. package/es/render/contributions/render/group-render.js.map +1 -1
  665. package/es/render/contributions/render/image-render.js +5 -2
  666. package/es/render/contributions/render/image-render.js.map +1 -1
  667. package/es/render/contributions/render/incremental-draw-contribution.d.ts +2 -6
  668. package/es/render/contributions/render/incremental-draw-contribution.js +5 -11
  669. package/es/render/contributions/render/incremental-draw-contribution.js.map +1 -1
  670. package/es/render/contributions/render/line-render.d.ts +1 -0
  671. package/es/render/contributions/render/line-render.js +21 -6
  672. package/es/render/contributions/render/line-render.js.map +1 -1
  673. package/es/render/contributions/render/module.js +29 -83
  674. package/es/render/contributions/render/module.js.map +1 -1
  675. package/es/render/contributions/render/path-render.d.ts +2 -1
  676. package/es/render/contributions/render/path-render.js +8 -4
  677. package/es/render/contributions/render/path-render.js.map +1 -1
  678. package/es/render/contributions/render/polygon-render.js +3 -0
  679. package/es/render/contributions/render/polygon-render.js.map +1 -1
  680. package/es/render/contributions/render/rect-render.d.ts +2 -1
  681. package/es/render/contributions/render/rect-render.js +11 -3
  682. package/es/render/contributions/render/rect-render.js.map +1 -1
  683. package/es/render/contributions/render/render-slector.d.ts +1 -4
  684. package/es/render/contributions/render/render-slector.js +0 -15
  685. package/es/render/contributions/render/render-slector.js.map +1 -1
  686. package/es/render/contributions/render/richtext-render.d.ts +1 -0
  687. package/es/render/contributions/render/richtext-render.js +12 -6
  688. package/es/render/contributions/render/richtext-render.js.map +1 -1
  689. package/es/render/contributions/render/symbol-render.js +23 -4
  690. package/es/render/contributions/render/symbol-render.js.map +1 -1
  691. package/es/render/contributions/render/text-render.js +16 -10
  692. package/es/render/contributions/render/text-render.js.map +1 -1
  693. package/es/render/contributions/render/utils.js +2 -2
  694. package/es/render/contributions/render/utils.js.map +1 -1
  695. package/es/render/render-modules.js +1 -1
  696. package/es/render/render-modules.js.map +1 -1
  697. package/es/render/render-service.js +1 -1
  698. package/es/render/render-service.js.map +1 -1
  699. package/es/resource-loader/loader.js +1 -3
  700. package/es/resource-loader/loader.js.map +1 -1
  701. package/package.json +6 -4
  702. package/cjs/common/inversify-lite/annotation/post_construct.d.ts +0 -4
  703. package/cjs/common/inversify-lite/annotation/post_construct.js.map +0 -1
  704. package/es/common/inversify-lite/annotation/post_construct.d.ts +0 -4
  705. package/es/common/inversify-lite/annotation/post_construct.js +0 -10
  706. package/es/common/inversify-lite/annotation/post_construct.js.map +0 -1
@@ -1,388 +1,378 @@
1
- let Reflect;
2
-
3
1
  export default (function(Reflect) {
4
- return function(factory) {
5
- const root = "object" == typeof global ? global : "object" == typeof self ? self : "object" == typeof this ? this : Function("return this;")();
6
- let exporter = makeExporter(Reflect);
7
- function makeExporter(target, previous) {
8
- return function(key, value) {
9
- "function" != typeof target[key] && Object.defineProperty(target, key, {
10
- configurable: !0,
11
- writable: !0,
12
- value: value
13
- }), previous && previous(key, value);
14
- };
15
- }
16
- void 0 === root.Reflect ? root.Reflect = Reflect : exporter = makeExporter(root.Reflect, exporter),
17
- function(exporter) {
18
- const hasOwn = Object.prototype.hasOwnProperty, supportsSymbol = "function" == typeof Symbol, toPrimitiveSymbol = supportsSymbol && void 0 !== Symbol.toPrimitive ? Symbol.toPrimitive : "@@toPrimitive", iteratorSymbol = supportsSymbol && void 0 !== Symbol.iterator ? Symbol.iterator : "@@iterator", supportsCreate = "function" == typeof Object.create, supportsProto = {
19
- __proto__: []
20
- } instanceof Array, downLevel = !supportsCreate && !supportsProto, HashMap = {
21
- create: supportsCreate ? function() {
22
- return MakeDictionary(Object.create(null));
23
- } : supportsProto ? function() {
24
- return MakeDictionary({
25
- __proto__: null
26
- });
27
- } : function() {
28
- return MakeDictionary({});
29
- },
30
- has: downLevel ? function(map, key) {
31
- return hasOwn.call(map, key);
32
- } : function(map, key) {
33
- return key in map;
34
- },
35
- get: downLevel ? function(map, key) {
36
- return hasOwn.call(map, key) ? map[key] : void 0;
37
- } : function(map, key) {
38
- return map[key];
39
- }
40
- }, functionPrototype = Object.getPrototypeOf(Function), usePolyfill = "object" == typeof process && process.env && "true" === process.env.REFLECT_METADATA_USE_MAP_POLYFILL, _Map = usePolyfill || "function" != typeof Map || "function" != typeof Map.prototype.entries ? CreateMapPolyfill() : Map, Metadata = (usePolyfill || "function" != typeof Set || "function" != typeof Set.prototype.entries ? CreateSetPolyfill() : Set,
41
- new (usePolyfill || "function" != typeof WeakMap ? CreateWeakMapPolyfill() : WeakMap));
42
- function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
43
- if (!IsObject(target)) throw new TypeError;
44
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
45
- }
46
- function hasMetadata(metadataKey, target, propertyKey) {
47
- if (!IsObject(target)) throw new TypeError;
48
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasMetadata(metadataKey, target, propertyKey);
49
- }
50
- function hasOwnMetadata(metadataKey, target, propertyKey) {
51
- if (!IsObject(target)) throw new TypeError;
52
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
53
- }
54
- function getMetadata(metadataKey, target, propertyKey) {
55
- if (!IsObject(target)) throw new TypeError;
56
- return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryGetMetadata(metadataKey, target, propertyKey);
57
- }
58
- function GetOrCreateMetadataMap(O, P, Create) {
59
- let targetMetadata = Metadata.get(O);
60
- if (IsUndefined(targetMetadata)) {
61
- if (!Create) return;
62
- targetMetadata = new _Map, Metadata.set(O, targetMetadata);
63
- }
64
- let metadataMap = targetMetadata.get(P);
65
- if (IsUndefined(metadataMap)) {
66
- if (!Create) return;
67
- metadataMap = new _Map, targetMetadata.set(P, metadataMap);
68
- }
69
- return metadataMap;
70
- }
71
- function OrdinaryHasMetadata(MetadataKey, O, P) {
72
- if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return !0;
73
- const parent = OrdinaryGetPrototypeOf(O);
74
- return !IsNull(parent) && OrdinaryHasMetadata(MetadataKey, parent, P);
75
- }
76
- function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
77
- const metadataMap = GetOrCreateMetadataMap(O, P, !1);
78
- return !IsUndefined(metadataMap) && ToBoolean(metadataMap.has(MetadataKey));
2
+ var target, previous;
3
+ return function(exporter) {
4
+ const hasOwn = Object.prototype.hasOwnProperty, supportsSymbol = "function" == typeof Symbol, toPrimitiveSymbol = supportsSymbol && void 0 !== Symbol.toPrimitive ? Symbol.toPrimitive : "@@toPrimitive", iteratorSymbol = supportsSymbol && void 0 !== Symbol.iterator ? Symbol.iterator : "@@iterator", supportsCreate = "function" == typeof Object.create, supportsProto = {
5
+ __proto__: []
6
+ } instanceof Array, downLevel = !supportsCreate && !supportsProto, HashMap = {
7
+ create: supportsCreate ? function() {
8
+ return MakeDictionary(Object.create(null));
9
+ } : supportsProto ? function() {
10
+ return MakeDictionary({
11
+ __proto__: null
12
+ });
13
+ } : function() {
14
+ return MakeDictionary({});
15
+ },
16
+ has: downLevel ? function(map, key) {
17
+ return hasOwn.call(map, key);
18
+ } : function(map, key) {
19
+ return key in map;
20
+ },
21
+ get: downLevel ? function(map, key) {
22
+ return hasOwn.call(map, key) ? map[key] : void 0;
23
+ } : function(map, key) {
24
+ return map[key];
79
25
  }
80
- function OrdinaryGetMetadata(MetadataKey, O, P) {
81
- if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
82
- const parent = OrdinaryGetPrototypeOf(O);
83
- return IsNull(parent) ? void 0 : OrdinaryGetMetadata(MetadataKey, parent, P);
84
- }
85
- function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
86
- const metadataMap = GetOrCreateMetadataMap(O, P, !1);
87
- if (!IsUndefined(metadataMap)) return metadataMap.get(MetadataKey);
26
+ }, functionPrototype = Object.getPrototypeOf(Function), usePolyfill = "object" == typeof process && process.env && "true" === process.env.REFLECT_METADATA_USE_MAP_POLYFILL, _Map = usePolyfill || "function" != typeof Map || "function" != typeof Map.prototype.entries ? CreateMapPolyfill() : Map, Metadata = (usePolyfill || "function" != typeof Set || "function" != typeof Set.prototype.entries ? CreateSetPolyfill() : Set,
27
+ new (usePolyfill || "function" != typeof WeakMap ? CreateWeakMapPolyfill() : WeakMap));
28
+ function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
29
+ if (!IsObject(target)) throw new TypeError;
30
+ return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
31
+ }
32
+ function hasMetadata(metadataKey, target, propertyKey) {
33
+ if (!IsObject(target)) throw new TypeError;
34
+ return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasMetadata(metadataKey, target, propertyKey);
35
+ }
36
+ function hasOwnMetadata(metadataKey, target, propertyKey) {
37
+ if (!IsObject(target)) throw new TypeError;
38
+ return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
39
+ }
40
+ function getMetadata(metadataKey, target, propertyKey) {
41
+ if (!IsObject(target)) throw new TypeError;
42
+ return IsUndefined(propertyKey) || (propertyKey = ToPropertyKey(propertyKey)), OrdinaryGetMetadata(metadataKey, target, propertyKey);
43
+ }
44
+ function GetOrCreateMetadataMap(O, P, Create) {
45
+ let targetMetadata = Metadata.get(O);
46
+ if (IsUndefined(targetMetadata)) {
47
+ if (!Create) return;
48
+ targetMetadata = new _Map, Metadata.set(O, targetMetadata);
88
49
  }
89
- function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
90
- GetOrCreateMetadataMap(O, P, !0).set(MetadataKey, MetadataValue);
50
+ let metadataMap = targetMetadata.get(P);
51
+ if (IsUndefined(metadataMap)) {
52
+ if (!Create) return;
53
+ metadataMap = new _Map, targetMetadata.set(P, metadataMap);
91
54
  }
92
- function Type(x) {
93
- if (null === x) return 1;
94
- switch (typeof x) {
95
- case "undefined":
96
- return 0;
55
+ return metadataMap;
56
+ }
57
+ function OrdinaryHasMetadata(MetadataKey, O, P) {
58
+ if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return !0;
59
+ const parent = OrdinaryGetPrototypeOf(O);
60
+ return !IsNull(parent) && OrdinaryHasMetadata(MetadataKey, parent, P);
61
+ }
62
+ function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
63
+ const metadataMap = GetOrCreateMetadataMap(O, P, !1);
64
+ return !IsUndefined(metadataMap) && ToBoolean(metadataMap.has(MetadataKey));
65
+ }
66
+ function OrdinaryGetMetadata(MetadataKey, O, P) {
67
+ if (OrdinaryHasOwnMetadata(MetadataKey, O, P)) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
68
+ const parent = OrdinaryGetPrototypeOf(O);
69
+ return IsNull(parent) ? void 0 : OrdinaryGetMetadata(MetadataKey, parent, P);
70
+ }
71
+ function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
72
+ const metadataMap = GetOrCreateMetadataMap(O, P, !1);
73
+ if (!IsUndefined(metadataMap)) return metadataMap.get(MetadataKey);
74
+ }
75
+ function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
76
+ GetOrCreateMetadataMap(O, P, !0).set(MetadataKey, MetadataValue);
77
+ }
78
+ function Type(x) {
79
+ if (null === x) return 1;
80
+ switch (typeof x) {
81
+ case "undefined":
82
+ return 0;
97
83
 
98
- case "boolean":
99
- return 2;
84
+ case "boolean":
85
+ return 2;
100
86
 
101
- case "string":
102
- return 3;
87
+ case "string":
88
+ return 3;
103
89
 
104
- case "symbol":
105
- return 4;
90
+ case "symbol":
91
+ return 4;
106
92
 
107
- case "number":
108
- return 5;
93
+ case "number":
94
+ return 5;
109
95
 
110
- case "object":
111
- return null === x ? 1 : 6;
96
+ case "object":
97
+ return null === x ? 1 : 6;
112
98
 
113
- default:
114
- return 6;
115
- }
116
- }
117
- function IsUndefined(x) {
118
- return void 0 === x;
99
+ default:
100
+ return 6;
119
101
  }
120
- function IsNull(x) {
121
- return null === x;
122
- }
123
- function IsSymbol(x) {
124
- return "symbol" == typeof x;
102
+ }
103
+ function IsUndefined(x) {
104
+ return void 0 === x;
105
+ }
106
+ function IsNull(x) {
107
+ return null === x;
108
+ }
109
+ function IsSymbol(x) {
110
+ return "symbol" == typeof x;
111
+ }
112
+ function IsObject(x) {
113
+ return "object" == typeof x ? null !== x : "function" == typeof x;
114
+ }
115
+ function ToPrimitive(input, PreferredType) {
116
+ switch (Type(input)) {
117
+ case 0:
118
+ case 1:
119
+ case 2:
120
+ case 3:
121
+ case 4:
122
+ case 5:
123
+ return input;
125
124
  }
126
- function IsObject(x) {
127
- return "object" == typeof x ? null !== x : "function" == typeof x;
125
+ const hint = 3 === PreferredType ? "string" : 5 === PreferredType ? "number" : "default", exoticToPrim = GetMethod(input, toPrimitiveSymbol);
126
+ if (void 0 !== exoticToPrim) {
127
+ const result = exoticToPrim.call(input, hint);
128
+ if (IsObject(result)) throw new TypeError;
129
+ return result;
128
130
  }
129
- function ToPrimitive(input, PreferredType) {
130
- switch (Type(input)) {
131
- case 0:
132
- case 1:
133
- case 2:
134
- case 3:
135
- case 4:
136
- case 5:
137
- return input;
131
+ return OrdinaryToPrimitive(input, "default" === hint ? "number" : hint);
132
+ }
133
+ function OrdinaryToPrimitive(O, hint) {
134
+ if ("string" === hint) {
135
+ const toString_1 = O.toString;
136
+ if (IsCallable(toString_1)) {
137
+ const result = toString_1.call(O);
138
+ if (!IsObject(result)) return result;
138
139
  }
139
- const hint = 3 === PreferredType ? "string" : 5 === PreferredType ? "number" : "default", exoticToPrim = GetMethod(input, toPrimitiveSymbol);
140
- if (void 0 !== exoticToPrim) {
141
- const result = exoticToPrim.call(input, hint);
142
- if (IsObject(result)) throw new TypeError;
143
- return result;
140
+ const valueOf = O.valueOf;
141
+ if (IsCallable(valueOf)) {
142
+ const result = valueOf.call(O);
143
+ if (!IsObject(result)) return result;
144
144
  }
145
- return OrdinaryToPrimitive(input, "default" === hint ? "number" : hint);
146
- }
147
- function OrdinaryToPrimitive(O, hint) {
148
- if ("string" === hint) {
149
- const toString_1 = O.toString;
150
- if (IsCallable(toString_1)) {
151
- const result = toString_1.call(O);
152
- if (!IsObject(result)) return result;
153
- }
154
- const valueOf = O.valueOf;
155
- if (IsCallable(valueOf)) {
156
- const result = valueOf.call(O);
157
- if (!IsObject(result)) return result;
158
- }
159
- } else {
160
- const valueOf = O.valueOf;
161
- if (IsCallable(valueOf)) {
162
- const result = valueOf.call(O);
163
- if (!IsObject(result)) return result;
164
- }
165
- const toString_2 = O.toString;
166
- if (IsCallable(toString_2)) {
167
- const result = toString_2.call(O);
168
- if (!IsObject(result)) return result;
169
- }
145
+ } else {
146
+ const valueOf = O.valueOf;
147
+ if (IsCallable(valueOf)) {
148
+ const result = valueOf.call(O);
149
+ if (!IsObject(result)) return result;
170
150
  }
171
- throw new TypeError;
172
- }
173
- function ToBoolean(argument) {
174
- return !!argument;
175
- }
176
- function ToString(argument) {
177
- return "" + argument;
178
- }
179
- function ToPropertyKey(argument) {
180
- const key = ToPrimitive(argument, 3);
181
- return IsSymbol(key) ? key : ToString(key);
182
- }
183
- function IsCallable(argument) {
184
- return "function" == typeof argument;
185
- }
186
- function GetMethod(V, P) {
187
- const func = V[P];
188
- if (null != func) {
189
- if (!IsCallable(func)) throw new TypeError;
190
- return func;
151
+ const toString_2 = O.toString;
152
+ if (IsCallable(toString_2)) {
153
+ const result = toString_2.call(O);
154
+ if (!IsObject(result)) return result;
191
155
  }
192
156
  }
193
- function OrdinaryGetPrototypeOf(O) {
194
- const proto = Object.getPrototypeOf(O);
195
- if ("function" != typeof O || O === functionPrototype) return proto;
196
- if (proto !== functionPrototype) return proto;
197
- const prototype = O.prototype, prototypeProto = prototype && Object.getPrototypeOf(prototype);
198
- if (null == prototypeProto || prototypeProto === Object.prototype) return proto;
199
- const constructor = prototypeProto.constructor;
200
- return "function" != typeof constructor || constructor === O ? proto : constructor;
157
+ throw new TypeError;
158
+ }
159
+ function ToBoolean(argument) {
160
+ return !!argument;
161
+ }
162
+ function ToString(argument) {
163
+ return "" + argument;
164
+ }
165
+ function ToPropertyKey(argument) {
166
+ const key = ToPrimitive(argument, 3);
167
+ return IsSymbol(key) ? key : ToString(key);
168
+ }
169
+ function IsCallable(argument) {
170
+ return "function" == typeof argument;
171
+ }
172
+ function GetMethod(V, P) {
173
+ const func = V[P];
174
+ if (null != func) {
175
+ if (!IsCallable(func)) throw new TypeError;
176
+ return func;
201
177
  }
202
- function CreateMapPolyfill() {
203
- const cacheSentinel = {}, arraySentinel = [], MapIterator = function() {
204
- function MapIterator(keys, values, selector) {
205
- this._index = 0, this._keys = keys, this._values = values, this._selector = selector;
206
- }
207
- return MapIterator.prototype["@@iterator"] = function() {
208
- return this;
209
- }, MapIterator.prototype[iteratorSymbol] = function() {
210
- return this;
211
- }, MapIterator.prototype.next = function() {
212
- const index = this._index;
213
- if (index >= 0 && index < this._keys.length) {
214
- const result = this._selector(this._keys[index], this._values[index]);
215
- return index + 1 >= this._keys.length ? (this._index = -1, this._keys = arraySentinel,
216
- this._values = arraySentinel) : this._index++, {
217
- value: result,
218
- done: !1
219
- };
220
- }
221
- return {
222
- value: void 0,
223
- done: !0
224
- };
225
- }, MapIterator.prototype.throw = function(error) {
226
- throw this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
227
- error;
228
- }, MapIterator.prototype.return = function(value) {
229
- return this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
230
- {
231
- value: value,
232
- done: !0
178
+ }
179
+ function OrdinaryGetPrototypeOf(O) {
180
+ const proto = Object.getPrototypeOf(O);
181
+ if ("function" != typeof O || O === functionPrototype) return proto;
182
+ if (proto !== functionPrototype) return proto;
183
+ const prototype = O.prototype, prototypeProto = prototype && Object.getPrototypeOf(prototype);
184
+ if (null == prototypeProto || prototypeProto === Object.prototype) return proto;
185
+ const constructor = prototypeProto.constructor;
186
+ return "function" != typeof constructor || constructor === O ? proto : constructor;
187
+ }
188
+ function CreateMapPolyfill() {
189
+ const cacheSentinel = {}, arraySentinel = [], MapIterator = function() {
190
+ function MapIterator(keys, values, selector) {
191
+ this._index = 0, this._keys = keys, this._values = values, this._selector = selector;
192
+ }
193
+ return MapIterator.prototype["@@iterator"] = function() {
194
+ return this;
195
+ }, MapIterator.prototype[iteratorSymbol] = function() {
196
+ return this;
197
+ }, MapIterator.prototype.next = function() {
198
+ const index = this._index;
199
+ if (index >= 0 && index < this._keys.length) {
200
+ const result = this._selector(this._keys[index], this._values[index]);
201
+ return index + 1 >= this._keys.length ? (this._index = -1, this._keys = arraySentinel,
202
+ this._values = arraySentinel) : this._index++, {
203
+ value: result,
204
+ done: !1
233
205
  };
234
- }, MapIterator;
235
- }();
236
- return function() {
237
- function Map() {
238
- this._keys = [], this._values = [], this._cacheKey = cacheSentinel, this._cacheIndex = -2;
239
206
  }
240
- return Object.defineProperty(Map.prototype, "size", {
241
- get: function() {
242
- return this._keys.length;
243
- },
244
- enumerable: !0,
245
- configurable: !0
246
- }), Map.prototype.has = function(key) {
247
- return this._find(key, !1) >= 0;
248
- }, Map.prototype.get = function(key) {
249
- const index = this._find(key, !1);
250
- return index >= 0 ? this._values[index] : void 0;
251
- }, Map.prototype.set = function(key, value) {
252
- const index = this._find(key, !0);
253
- return this._values[index] = value, this;
254
- }, Map.prototype.delete = function(key) {
255
- const index = this._find(key, !1);
256
- if (index >= 0) {
257
- const size = this._keys.length;
258
- for (let i = index + 1; i < size; i++) this._keys[i - 1] = this._keys[i], this._values[i - 1] = this._values[i];
259
- return this._keys.length--, this._values.length--, key === this._cacheKey && (this._cacheKey = cacheSentinel,
260
- this._cacheIndex = -2), !0;
261
- }
262
- return !1;
263
- }, Map.prototype.clear = function() {
264
- this._keys.length = 0, this._values.length = 0, this._cacheKey = cacheSentinel,
265
- this._cacheIndex = -2;
266
- }, Map.prototype.keys = function() {
267
- return new MapIterator(this._keys, this._values, getKey);
268
- }, Map.prototype.values = function() {
269
- return new MapIterator(this._keys, this._values, getValue);
270
- }, Map.prototype.entries = function() {
271
- return new MapIterator(this._keys, this._values, getEntry);
272
- }, Map.prototype["@@iterator"] = function() {
273
- return this.entries();
274
- }, Map.prototype[iteratorSymbol] = function() {
275
- return this.entries();
276
- }, Map.prototype._find = function(key, insert) {
277
- return this._cacheKey !== key && (this._cacheIndex = this._keys.indexOf(this._cacheKey = key)),
278
- this._cacheIndex < 0 && insert && (this._cacheIndex = this._keys.length, this._keys.push(key),
279
- this._values.push(void 0)), this._cacheIndex;
280
- }, Map;
281
- }();
282
- function getKey(key, _) {
283
- return key;
284
- }
285
- function getValue(_, value) {
286
- return value;
287
- }
288
- function getEntry(key, value) {
289
- return [ key, value ];
207
+ return {
208
+ value: void 0,
209
+ done: !0
210
+ };
211
+ }, MapIterator.prototype.throw = function(error) {
212
+ throw this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
213
+ error;
214
+ }, MapIterator.prototype.return = function(value) {
215
+ return this._index >= 0 && (this._index = -1, this._keys = arraySentinel, this._values = arraySentinel),
216
+ {
217
+ value: value,
218
+ done: !0
219
+ };
220
+ }, MapIterator;
221
+ }();
222
+ return function() {
223
+ function Map() {
224
+ this._keys = [], this._values = [], this._cacheKey = cacheSentinel, this._cacheIndex = -2;
290
225
  }
291
- }
292
- function CreateSetPolyfill() {
293
- return function() {
294
- function Set() {
295
- this._map = new _Map;
226
+ return Object.defineProperty(Map.prototype, "size", {
227
+ get: function() {
228
+ return this._keys.length;
229
+ },
230
+ enumerable: !0,
231
+ configurable: !0
232
+ }), Map.prototype.has = function(key) {
233
+ return this._find(key, !1) >= 0;
234
+ }, Map.prototype.get = function(key) {
235
+ const index = this._find(key, !1);
236
+ return index >= 0 ? this._values[index] : void 0;
237
+ }, Map.prototype.set = function(key, value) {
238
+ const index = this._find(key, !0);
239
+ return this._values[index] = value, this;
240
+ }, Map.prototype.delete = function(key) {
241
+ const index = this._find(key, !1);
242
+ if (index >= 0) {
243
+ const size = this._keys.length;
244
+ for (let i = index + 1; i < size; i++) this._keys[i - 1] = this._keys[i], this._values[i - 1] = this._values[i];
245
+ return this._keys.length--, this._values.length--, key === this._cacheKey && (this._cacheKey = cacheSentinel,
246
+ this._cacheIndex = -2), !0;
296
247
  }
297
- return Object.defineProperty(Set.prototype, "size", {
298
- get: function() {
299
- return this._map.size;
300
- },
301
- enumerable: !0,
302
- configurable: !0
303
- }), Set.prototype.has = function(value) {
304
- return this._map.has(value);
305
- }, Set.prototype.add = function(value) {
306
- return this._map.set(value, value), this;
307
- }, Set.prototype.delete = function(value) {
308
- return this._map.delete(value);
309
- }, Set.prototype.clear = function() {
310
- this._map.clear();
311
- }, Set.prototype.keys = function() {
312
- return this._map.keys();
313
- }, Set.prototype.values = function() {
314
- return this._map.values();
315
- }, Set.prototype.entries = function() {
316
- return this._map.entries();
317
- }, Set.prototype["@@iterator"] = function() {
318
- return this.keys();
319
- }, Set.prototype[iteratorSymbol] = function() {
320
- return this.keys();
321
- }, Set;
322
- }();
248
+ return !1;
249
+ }, Map.prototype.clear = function() {
250
+ this._keys.length = 0, this._values.length = 0, this._cacheKey = cacheSentinel,
251
+ this._cacheIndex = -2;
252
+ }, Map.prototype.keys = function() {
253
+ return new MapIterator(this._keys, this._values, getKey);
254
+ }, Map.prototype.values = function() {
255
+ return new MapIterator(this._keys, this._values, getValue);
256
+ }, Map.prototype.entries = function() {
257
+ return new MapIterator(this._keys, this._values, getEntry);
258
+ }, Map.prototype["@@iterator"] = function() {
259
+ return this.entries();
260
+ }, Map.prototype[iteratorSymbol] = function() {
261
+ return this.entries();
262
+ }, Map.prototype._find = function(key, insert) {
263
+ return this._cacheKey !== key && (this._cacheIndex = this._keys.indexOf(this._cacheKey = key)),
264
+ this._cacheIndex < 0 && insert && (this._cacheIndex = this._keys.length, this._keys.push(key),
265
+ this._values.push(void 0)), this._cacheIndex;
266
+ }, Map;
267
+ }();
268
+ function getKey(key, _) {
269
+ return key;
323
270
  }
324
- function CreateWeakMapPolyfill() {
325
- const UUID_SIZE = 16, keys = HashMap.create(), rootKey = CreateUniqueKey();
326
- return function() {
327
- function WeakMap() {
328
- this._key = CreateUniqueKey();
329
- }
330
- return WeakMap.prototype.has = function(target) {
331
- const table = GetOrCreateWeakMapTable(target, !1);
332
- return void 0 !== table && HashMap.has(table, this._key);
333
- }, WeakMap.prototype.get = function(target) {
334
- const table = GetOrCreateWeakMapTable(target, !1);
335
- return void 0 !== table ? HashMap.get(table, this._key) : void 0;
336
- }, WeakMap.prototype.set = function(target, value) {
337
- return GetOrCreateWeakMapTable(target, !0)[this._key] = value, this;
338
- }, WeakMap.prototype.delete = function(target) {
339
- const table = GetOrCreateWeakMapTable(target, !1);
340
- return void 0 !== table && delete table[this._key];
341
- }, WeakMap.prototype.clear = function() {
342
- this._key = CreateUniqueKey();
343
- }, WeakMap;
344
- }();
345
- function CreateUniqueKey() {
346
- let key;
347
- do {
348
- key = "@@WeakMap@@" + CreateUUID();
349
- } while (HashMap.has(keys, key));
350
- return keys[key] = !0, key;
351
- }
352
- function GetOrCreateWeakMapTable(target, create) {
353
- if (!hasOwn.call(target, rootKey)) {
354
- if (!create) return;
355
- Object.defineProperty(target, rootKey, {
356
- value: HashMap.create()
357
- });
358
- }
359
- return target[rootKey];
360
- }
361
- function FillRandomBytes(buffer, size) {
362
- for (let i = 0; i < size; ++i) buffer[i] = 255 * Math.random() | 0;
363
- return buffer;
271
+ function getValue(_, value) {
272
+ return value;
273
+ }
274
+ function getEntry(key, value) {
275
+ return [ key, value ];
276
+ }
277
+ }
278
+ function CreateSetPolyfill() {
279
+ return function() {
280
+ function Set() {
281
+ this._map = new _Map;
364
282
  }
365
- function GenRandomBytes(size) {
366
- return "function" == typeof Uint8Array ? "undefined" != typeof crypto ? crypto.getRandomValues(new Uint8Array(size)) : FillRandomBytes(new Uint8Array(size), size) : FillRandomBytes(new Array(size), size);
283
+ return Object.defineProperty(Set.prototype, "size", {
284
+ get: function() {
285
+ return this._map.size;
286
+ },
287
+ enumerable: !0,
288
+ configurable: !0
289
+ }), Set.prototype.has = function(value) {
290
+ return this._map.has(value);
291
+ }, Set.prototype.add = function(value) {
292
+ return this._map.set(value, value), this;
293
+ }, Set.prototype.delete = function(value) {
294
+ return this._map.delete(value);
295
+ }, Set.prototype.clear = function() {
296
+ this._map.clear();
297
+ }, Set.prototype.keys = function() {
298
+ return this._map.keys();
299
+ }, Set.prototype.values = function() {
300
+ return this._map.values();
301
+ }, Set.prototype.entries = function() {
302
+ return this._map.entries();
303
+ }, Set.prototype["@@iterator"] = function() {
304
+ return this.keys();
305
+ }, Set.prototype[iteratorSymbol] = function() {
306
+ return this.keys();
307
+ }, Set;
308
+ }();
309
+ }
310
+ function CreateWeakMapPolyfill() {
311
+ const UUID_SIZE = 16, keys = HashMap.create(), rootKey = CreateUniqueKey();
312
+ return function() {
313
+ function WeakMap() {
314
+ this._key = CreateUniqueKey();
367
315
  }
368
- function CreateUUID() {
369
- const data = GenRandomBytes(UUID_SIZE);
370
- data[6] = 79 & data[6] | 64, data[8] = 191 & data[8] | 128;
371
- let result = "";
372
- for (let offset = 0; offset < UUID_SIZE; ++offset) {
373
- const byte = data[offset];
374
- 4 !== offset && 6 !== offset && 8 !== offset || (result += "-"), byte < 16 && (result += "0"),
375
- result += byte.toString(16).toLowerCase();
376
- }
377
- return result;
316
+ return WeakMap.prototype.has = function(target) {
317
+ const table = GetOrCreateWeakMapTable(target, !1);
318
+ return void 0 !== table && HashMap.has(table, this._key);
319
+ }, WeakMap.prototype.get = function(target) {
320
+ const table = GetOrCreateWeakMapTable(target, !1);
321
+ return void 0 !== table ? HashMap.get(table, this._key) : void 0;
322
+ }, WeakMap.prototype.set = function(target, value) {
323
+ return GetOrCreateWeakMapTable(target, !0)[this._key] = value, this;
324
+ }, WeakMap.prototype.delete = function(target) {
325
+ const table = GetOrCreateWeakMapTable(target, !1);
326
+ return void 0 !== table && delete table[this._key];
327
+ }, WeakMap.prototype.clear = function() {
328
+ this._key = CreateUniqueKey();
329
+ }, WeakMap;
330
+ }();
331
+ function CreateUniqueKey() {
332
+ let key;
333
+ do {
334
+ key = "@@WeakMap@@" + CreateUUID();
335
+ } while (HashMap.has(keys, key));
336
+ return keys[key] = !0, key;
337
+ }
338
+ function GetOrCreateWeakMapTable(target, create) {
339
+ if (!hasOwn.call(target, rootKey)) {
340
+ if (!create) return;
341
+ Object.defineProperty(target, rootKey, {
342
+ value: HashMap.create()
343
+ });
378
344
  }
345
+ return target[rootKey];
346
+ }
347
+ function FillRandomBytes(buffer, size) {
348
+ for (let i = 0; i < size; ++i) buffer[i] = 255 * Math.random() | 0;
349
+ return buffer;
379
350
  }
380
- function MakeDictionary(obj) {
381
- return obj.__ = void 0, delete obj.__, obj;
351
+ function GenRandomBytes(size) {
352
+ return "function" == typeof Uint8Array ? "undefined" != typeof crypto ? crypto.getRandomValues(new Uint8Array(size)) : FillRandomBytes(new Uint8Array(size), size) : FillRandomBytes(new Array(size), size);
382
353
  }
383
- exporter("defineMetadata", defineMetadata), exporter("hasMetadata", hasMetadata),
384
- exporter("hasOwnMetadata", hasOwnMetadata), exporter("getMetadata", getMetadata);
385
- }(exporter);
386
- }(), Reflect;
387
- }(Reflect || (Reflect = {})));
388
- //# sourceMappingURL=Reflect-metadata.js.map
354
+ function CreateUUID() {
355
+ const data = GenRandomBytes(UUID_SIZE);
356
+ data[6] = 79 & data[6] | 64, data[8] = 191 & data[8] | 128;
357
+ let result = "";
358
+ for (let offset = 0; offset < UUID_SIZE; ++offset) {
359
+ const byte = data[offset];
360
+ 4 !== offset && 6 !== offset && 8 !== offset || (result += "-"), byte < 16 && (result += "0"),
361
+ result += byte.toString(16).toLowerCase();
362
+ }
363
+ return result;
364
+ }
365
+ }
366
+ function MakeDictionary(obj) {
367
+ return obj.__ = void 0, delete obj.__, obj;
368
+ }
369
+ exporter("defineMetadata", defineMetadata), exporter("hasMetadata", hasMetadata),
370
+ exporter("hasOwnMetadata", hasOwnMetadata), exporter("getMetadata", getMetadata);
371
+ }((target = Reflect, function(key, value) {
372
+ "function" != typeof target[key] && Object.defineProperty(target, key, {
373
+ configurable: !0,
374
+ writable: !0,
375
+ value: value
376
+ }), previous && previous(key, value);
377
+ })), Reflect;
378
+ }({}));