@antv/g6 5.0.0-beta.34 → 5.0.0-beta.35

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 (352) hide show
  1. package/dist/g6.min.js +2 -2
  2. package/dist/lib/animations/types.d.ts +3 -4
  3. package/dist/lib/behaviors/base-behavior.d.ts +2 -1
  4. package/dist/lib/behaviors/brush-select.d.ts +31 -13
  5. package/dist/lib/behaviors/click-element.d.ts +28 -5
  6. package/dist/lib/behaviors/collapse-expand.d.ts +2 -0
  7. package/dist/lib/behaviors/drag-canvas.d.ts +7 -0
  8. package/dist/lib/behaviors/drag-element.d.ts +2 -2
  9. package/dist/lib/behaviors/index.d.ts +2 -0
  10. package/dist/lib/behaviors/lasso-select.d.ts +2 -1
  11. package/dist/lib/behaviors/scroll-canvas.d.ts +64 -0
  12. package/dist/lib/behaviors/types.d.ts +2 -1
  13. package/dist/lib/behaviors/zoom-canvas.d.ts +1 -1
  14. package/dist/lib/constants/events/graph.d.ts +5 -1
  15. package/dist/lib/elements/combos/base-combo.d.ts +1 -1
  16. package/dist/lib/elements/edges/base-edge.d.ts +0 -5
  17. package/dist/lib/elements/nodes/base-node.d.ts +1 -7
  18. package/dist/lib/elements/shapes/badge.d.ts +1 -1
  19. package/dist/lib/{plugins/hull/shape.d.ts → elements/shapes/contour.d.ts} +17 -17
  20. package/dist/lib/elements/shapes/index.d.ts +2 -0
  21. package/dist/lib/exports.d.ts +12 -20
  22. package/dist/lib/plugins/bubble-sets.d.ts +45 -0
  23. package/dist/lib/plugins/camera-setting.d.ts +4 -2
  24. package/dist/lib/plugins/contextmenu.d.ts +1 -0
  25. package/dist/lib/plugins/grid-line.d.ts +51 -8
  26. package/dist/lib/plugins/hull/index.d.ts +43 -11
  27. package/dist/lib/plugins/index.d.ts +4 -0
  28. package/dist/lib/plugins/timebar.d.ts +225 -0
  29. package/dist/lib/plugins/tooltip.d.ts +2 -2
  30. package/dist/lib/registry/index.d.ts +1 -1
  31. package/dist/lib/runtime/data.d.ts +9 -3
  32. package/dist/lib/runtime/element.d.ts +3 -7
  33. package/dist/lib/runtime/graph.d.ts +530 -42
  34. package/dist/lib/runtime/types.d.ts +3 -3
  35. package/dist/lib/runtime/viewport.d.ts +2 -2
  36. package/dist/lib/spec/canvas.d.ts +6 -2
  37. package/{lib/spec/spec.d.ts → dist/lib/spec/graph.d.ts} +12 -4
  38. package/dist/lib/spec/index.d.ts +1 -1
  39. package/dist/lib/spec/theme.d.ts +1 -4
  40. package/dist/lib/spec/viewport.d.ts +1 -1
  41. package/dist/lib/themes/types.d.ts +0 -1
  42. package/dist/lib/transforms/process-parallel-edges.d.ts +1 -1
  43. package/dist/lib/types/data.d.ts +2 -2
  44. package/dist/lib/types/viewport.d.ts +4 -4
  45. package/dist/lib/utils/animation.d.ts +5 -5
  46. package/dist/lib/utils/data.d.ts +2 -2
  47. package/dist/lib/utils/element.d.ts +1 -1
  48. package/dist/lib/utils/event/events.d.ts +1 -1
  49. package/dist/lib/utils/event/index.d.ts +1 -1
  50. package/dist/lib/utils/palette.d.ts +1 -1
  51. package/dist/lib/utils/relation.d.ts +2 -2
  52. package/dist/lib/utils/visibility.d.ts +1 -1
  53. package/esm/animations/types.d.ts +3 -4
  54. package/esm/behaviors/base-behavior.d.ts +2 -1
  55. package/esm/behaviors/brush-select.d.ts +31 -13
  56. package/esm/behaviors/brush-select.js +7 -2
  57. package/esm/behaviors/brush-select.js.map +1 -1
  58. package/esm/behaviors/click-element.d.ts +28 -5
  59. package/esm/behaviors/click-element.js +11 -0
  60. package/esm/behaviors/click-element.js.map +1 -1
  61. package/esm/behaviors/collapse-expand.d.ts +2 -0
  62. package/esm/behaviors/collapse-expand.js +2 -2
  63. package/esm/behaviors/collapse-expand.js.map +1 -1
  64. package/esm/behaviors/drag-canvas.d.ts +7 -0
  65. package/esm/behaviors/drag-canvas.js.map +1 -1
  66. package/esm/behaviors/drag-element.d.ts +2 -2
  67. package/esm/behaviors/index.d.ts +2 -0
  68. package/esm/behaviors/index.js +1 -0
  69. package/esm/behaviors/index.js.map +1 -1
  70. package/esm/behaviors/lasso-select.d.ts +2 -1
  71. package/esm/behaviors/lasso-select.js +1 -1
  72. package/esm/behaviors/lasso-select.js.map +1 -1
  73. package/esm/behaviors/scroll-canvas.d.ts +64 -0
  74. package/esm/behaviors/scroll-canvas.js +80 -0
  75. package/esm/behaviors/scroll-canvas.js.map +1 -0
  76. package/esm/behaviors/types.d.ts +2 -1
  77. package/esm/behaviors/zoom-canvas.d.ts +1 -1
  78. package/esm/constants/events/graph.d.ts +5 -1
  79. package/esm/constants/events/graph.js +4 -0
  80. package/esm/constants/events/graph.js.map +1 -1
  81. package/esm/elements/combos/base-combo.d.ts +1 -1
  82. package/esm/elements/edges/base-edge.d.ts +0 -5
  83. package/esm/elements/edges/base-edge.js +1 -2
  84. package/esm/elements/edges/base-edge.js.map +1 -1
  85. package/esm/elements/nodes/base-node.d.ts +1 -7
  86. package/esm/elements/nodes/base-node.js +2 -2
  87. package/esm/elements/nodes/base-node.js.map +1 -1
  88. package/esm/elements/shapes/badge.d.ts +1 -1
  89. package/{lib/plugins/hull/shape.d.ts → esm/elements/shapes/contour.d.ts} +17 -17
  90. package/esm/{plugins/hull/shape.js → elements/shapes/contour.js} +12 -11
  91. package/esm/elements/shapes/contour.js.map +1 -0
  92. package/esm/elements/shapes/index.d.ts +2 -0
  93. package/esm/elements/shapes/index.js +1 -0
  94. package/esm/elements/shapes/index.js.map +1 -1
  95. package/esm/exports.d.ts +12 -20
  96. package/esm/exports.js +6 -17
  97. package/esm/exports.js.map +1 -1
  98. package/esm/plugins/bubble-sets.d.ts +45 -0
  99. package/esm/plugins/bubble-sets.js +212 -0
  100. package/esm/plugins/bubble-sets.js.map +1 -0
  101. package/esm/plugins/camera-setting.d.ts +4 -2
  102. package/esm/plugins/camera-setting.js.map +1 -1
  103. package/esm/plugins/contextmenu.d.ts +1 -0
  104. package/esm/plugins/contextmenu.js +1 -0
  105. package/esm/plugins/contextmenu.js.map +1 -1
  106. package/esm/plugins/grid-line.d.ts +51 -8
  107. package/esm/plugins/grid-line.js.map +1 -1
  108. package/esm/plugins/history/utils.js +6 -2
  109. package/esm/plugins/history/utils.js.map +1 -1
  110. package/esm/plugins/hull/index.d.ts +43 -11
  111. package/esm/plugins/hull/index.js +46 -16
  112. package/esm/plugins/hull/index.js.map +1 -1
  113. package/esm/plugins/index.d.ts +4 -0
  114. package/esm/plugins/index.js +2 -0
  115. package/esm/plugins/index.js.map +1 -1
  116. package/esm/plugins/legend.js +2 -1
  117. package/esm/plugins/legend.js.map +1 -1
  118. package/esm/plugins/timebar.d.ts +225 -0
  119. package/esm/plugins/timebar.js +253 -0
  120. package/esm/plugins/timebar.js.map +1 -0
  121. package/esm/plugins/tooltip.d.ts +2 -2
  122. package/esm/registry/build-in.js +10 -7
  123. package/esm/registry/build-in.js.map +1 -1
  124. package/esm/registry/index.d.ts +1 -1
  125. package/esm/registry/index.js +1 -1
  126. package/esm/runtime/canvas.js +2 -2
  127. package/esm/runtime/canvas.js.map +1 -1
  128. package/esm/runtime/data.d.ts +9 -3
  129. package/esm/runtime/data.js +20 -3
  130. package/esm/runtime/data.js.map +1 -1
  131. package/esm/runtime/element.d.ts +3 -7
  132. package/esm/runtime/element.js +6 -4
  133. package/esm/runtime/element.js.map +1 -1
  134. package/esm/runtime/graph.d.ts +530 -42
  135. package/esm/runtime/graph.js +409 -33
  136. package/esm/runtime/graph.js.map +1 -1
  137. package/esm/runtime/types.d.ts +3 -3
  138. package/esm/runtime/viewport.d.ts +2 -2
  139. package/esm/runtime/viewport.js +2 -2
  140. package/esm/spec/canvas.d.ts +6 -2
  141. package/{dist/lib/spec/spec.d.ts → esm/spec/graph.d.ts} +12 -4
  142. package/esm/spec/graph.js +2 -0
  143. package/esm/spec/graph.js.map +1 -0
  144. package/esm/spec/index.d.ts +1 -1
  145. package/esm/spec/theme.d.ts +1 -4
  146. package/esm/spec/viewport.d.ts +1 -1
  147. package/esm/themes/base.js +9 -9
  148. package/esm/themes/base.js.map +1 -1
  149. package/esm/themes/types.d.ts +0 -1
  150. package/esm/transforms/process-parallel-edges.d.ts +1 -1
  151. package/esm/types/data.d.ts +2 -2
  152. package/esm/types/viewport.d.ts +4 -4
  153. package/esm/utils/animation.d.ts +5 -5
  154. package/esm/utils/animation.js +2 -2
  155. package/esm/utils/animation.js.map +1 -1
  156. package/esm/utils/change.js +8 -1
  157. package/esm/utils/change.js.map +1 -1
  158. package/esm/utils/data.d.ts +2 -2
  159. package/esm/utils/data.js +2 -2
  160. package/esm/utils/element.d.ts +1 -1
  161. package/esm/utils/element.js +2 -2
  162. package/esm/utils/event/events.d.ts +1 -1
  163. package/esm/utils/event/events.js.map +1 -1
  164. package/esm/utils/event/index.d.ts +1 -1
  165. package/esm/utils/event/index.js +1 -1
  166. package/esm/utils/palette.d.ts +1 -1
  167. package/esm/utils/palette.js +1 -1
  168. package/esm/utils/relation.d.ts +2 -2
  169. package/esm/utils/relation.js +2 -2
  170. package/esm/utils/visibility.d.ts +1 -1
  171. package/esm/utils/visibility.js +1 -1
  172. package/lib/animations/types.d.ts +3 -4
  173. package/lib/behaviors/base-behavior.d.ts +2 -1
  174. package/lib/behaviors/brush-select.d.ts +31 -13
  175. package/lib/behaviors/brush-select.js +7 -2
  176. package/lib/behaviors/brush-select.js.map +1 -1
  177. package/lib/behaviors/click-element.d.ts +28 -5
  178. package/lib/behaviors/click-element.js +11 -0
  179. package/lib/behaviors/click-element.js.map +1 -1
  180. package/lib/behaviors/collapse-expand.d.ts +2 -0
  181. package/lib/behaviors/collapse-expand.js +2 -2
  182. package/lib/behaviors/collapse-expand.js.map +1 -1
  183. package/lib/behaviors/drag-canvas.d.ts +7 -0
  184. package/lib/behaviors/drag-canvas.js.map +1 -1
  185. package/lib/behaviors/drag-element.d.ts +2 -2
  186. package/lib/behaviors/index.d.ts +2 -0
  187. package/lib/behaviors/index.js +3 -1
  188. package/lib/behaviors/index.js.map +1 -1
  189. package/lib/behaviors/lasso-select.d.ts +2 -1
  190. package/lib/behaviors/lasso-select.js +1 -1
  191. package/lib/behaviors/lasso-select.js.map +1 -1
  192. package/lib/behaviors/scroll-canvas.d.ts +64 -0
  193. package/lib/behaviors/scroll-canvas.js +84 -0
  194. package/lib/behaviors/scroll-canvas.js.map +1 -0
  195. package/lib/behaviors/types.d.ts +2 -1
  196. package/lib/behaviors/zoom-canvas.d.ts +1 -1
  197. package/lib/constants/events/graph.d.ts +5 -1
  198. package/lib/constants/events/graph.js +4 -0
  199. package/lib/constants/events/graph.js.map +1 -1
  200. package/lib/elements/combos/base-combo.d.ts +1 -1
  201. package/lib/elements/edges/base-edge.d.ts +0 -5
  202. package/lib/elements/edges/base-edge.js +1 -2
  203. package/lib/elements/edges/base-edge.js.map +1 -1
  204. package/lib/elements/nodes/base-node.d.ts +1 -7
  205. package/lib/elements/nodes/base-node.js +2 -2
  206. package/lib/elements/nodes/base-node.js.map +1 -1
  207. package/lib/elements/shapes/badge.d.ts +1 -1
  208. package/{esm/plugins/hull/shape.d.ts → lib/elements/shapes/contour.d.ts} +17 -17
  209. package/lib/{plugins/hull/shape.js → elements/shapes/contour.js} +15 -14
  210. package/lib/elements/shapes/contour.js.map +1 -0
  211. package/lib/elements/shapes/index.d.ts +2 -0
  212. package/lib/elements/shapes/index.js +3 -1
  213. package/lib/elements/shapes/index.js.map +1 -1
  214. package/lib/exports.d.ts +12 -20
  215. package/lib/exports.js +46 -17
  216. package/lib/exports.js.map +1 -1
  217. package/lib/plugins/bubble-sets.d.ts +45 -0
  218. package/lib/plugins/bubble-sets.js +216 -0
  219. package/lib/plugins/bubble-sets.js.map +1 -0
  220. package/lib/plugins/camera-setting.d.ts +4 -2
  221. package/lib/plugins/camera-setting.js.map +1 -1
  222. package/lib/plugins/contextmenu.d.ts +1 -0
  223. package/lib/plugins/contextmenu.js +1 -0
  224. package/lib/plugins/contextmenu.js.map +1 -1
  225. package/lib/plugins/grid-line.d.ts +51 -8
  226. package/lib/plugins/grid-line.js.map +1 -1
  227. package/lib/plugins/history/utils.js +6 -2
  228. package/lib/plugins/history/utils.js.map +1 -1
  229. package/lib/plugins/hull/index.d.ts +43 -11
  230. package/lib/plugins/hull/index.js +46 -16
  231. package/lib/plugins/hull/index.js.map +1 -1
  232. package/lib/plugins/index.d.ts +4 -0
  233. package/lib/plugins/index.js +5 -1
  234. package/lib/plugins/index.js.map +1 -1
  235. package/lib/plugins/legend.js +2 -1
  236. package/lib/plugins/legend.js.map +1 -1
  237. package/lib/plugins/timebar.d.ts +225 -0
  238. package/lib/plugins/timebar.js +257 -0
  239. package/lib/plugins/timebar.js.map +1 -0
  240. package/lib/plugins/tooltip.d.ts +2 -2
  241. package/lib/registry/build-in.js +8 -5
  242. package/lib/registry/build-in.js.map +1 -1
  243. package/lib/registry/index.d.ts +1 -1
  244. package/lib/registry/index.js +1 -1
  245. package/lib/runtime/canvas.js +2 -2
  246. package/lib/runtime/canvas.js.map +1 -1
  247. package/lib/runtime/data.d.ts +9 -3
  248. package/lib/runtime/data.js +20 -3
  249. package/lib/runtime/data.js.map +1 -1
  250. package/lib/runtime/element.d.ts +3 -7
  251. package/lib/runtime/element.js +6 -4
  252. package/lib/runtime/element.js.map +1 -1
  253. package/lib/runtime/graph.d.ts +530 -42
  254. package/lib/runtime/graph.js +409 -33
  255. package/lib/runtime/graph.js.map +1 -1
  256. package/lib/runtime/types.d.ts +3 -3
  257. package/lib/runtime/viewport.d.ts +2 -2
  258. package/lib/runtime/viewport.js +2 -2
  259. package/lib/spec/canvas.d.ts +6 -2
  260. package/{esm/spec/spec.d.ts → lib/spec/graph.d.ts} +12 -4
  261. package/lib/spec/{spec.js → graph.js} +1 -1
  262. package/lib/spec/graph.js.map +1 -0
  263. package/lib/spec/index.d.ts +1 -1
  264. package/lib/spec/theme.d.ts +1 -4
  265. package/lib/spec/viewport.d.ts +1 -1
  266. package/lib/themes/base.js +9 -9
  267. package/lib/themes/base.js.map +1 -1
  268. package/lib/themes/types.d.ts +0 -1
  269. package/lib/transforms/process-parallel-edges.d.ts +1 -1
  270. package/lib/types/data.d.ts +2 -2
  271. package/lib/types/viewport.d.ts +4 -4
  272. package/lib/utils/animation.d.ts +5 -5
  273. package/lib/utils/animation.js +2 -2
  274. package/lib/utils/animation.js.map +1 -1
  275. package/lib/utils/change.js +8 -1
  276. package/lib/utils/change.js.map +1 -1
  277. package/lib/utils/data.d.ts +2 -2
  278. package/lib/utils/data.js +2 -2
  279. package/lib/utils/element.d.ts +1 -1
  280. package/lib/utils/element.js +2 -2
  281. package/lib/utils/event/events.d.ts +1 -1
  282. package/lib/utils/event/events.js.map +1 -1
  283. package/lib/utils/event/index.d.ts +1 -1
  284. package/lib/utils/event/index.js +1 -1
  285. package/lib/utils/palette.d.ts +1 -1
  286. package/lib/utils/palette.js +1 -1
  287. package/lib/utils/relation.d.ts +2 -2
  288. package/lib/utils/relation.js +2 -2
  289. package/lib/utils/visibility.d.ts +1 -1
  290. package/lib/utils/visibility.js +1 -1
  291. package/package.json +2 -1
  292. package/src/animations/types.ts +3 -4
  293. package/src/behaviors/base-behavior.ts +1 -1
  294. package/src/behaviors/brush-select.ts +33 -14
  295. package/src/behaviors/click-element.ts +28 -5
  296. package/src/behaviors/collapse-expand.ts +4 -2
  297. package/src/behaviors/drag-canvas.ts +7 -0
  298. package/src/behaviors/drag-element.ts +2 -2
  299. package/src/behaviors/index.ts +2 -0
  300. package/src/behaviors/lasso-select.ts +2 -2
  301. package/src/behaviors/scroll-canvas.ts +143 -0
  302. package/src/behaviors/types.ts +2 -1
  303. package/src/behaviors/zoom-canvas.ts +1 -1
  304. package/src/constants/events/graph.ts +4 -0
  305. package/src/elements/combos/base-combo.ts +1 -1
  306. package/src/elements/edges/base-edge.ts +1 -7
  307. package/src/elements/nodes/base-node.ts +3 -12
  308. package/src/{plugins/hull/shape.ts → elements/shapes/contour.ts} +27 -34
  309. package/src/elements/shapes/index.ts +2 -0
  310. package/src/exports.ts +104 -24
  311. package/src/plugins/bubble-sets.ts +268 -0
  312. package/src/plugins/camera-setting.ts +4 -2
  313. package/src/plugins/contextmenu.ts +1 -0
  314. package/src/plugins/grid-line.ts +51 -8
  315. package/src/plugins/history/utils.ts +6 -2
  316. package/src/plugins/hull/index.ts +57 -20
  317. package/src/plugins/index.ts +4 -0
  318. package/src/plugins/legend.ts +3 -1
  319. package/src/plugins/timebar.ts +450 -0
  320. package/src/plugins/tooltip.ts +2 -2
  321. package/src/registry/build-in.ts +21 -6
  322. package/src/registry/index.ts +1 -1
  323. package/src/runtime/canvas.ts +2 -2
  324. package/src/runtime/data.ts +21 -3
  325. package/src/runtime/element.ts +5 -4
  326. package/src/runtime/graph.ts +543 -48
  327. package/src/runtime/types.ts +3 -3
  328. package/src/runtime/viewport.ts +2 -2
  329. package/src/spec/canvas.ts +6 -2
  330. package/src/spec/{spec.ts → graph.ts} +12 -4
  331. package/src/spec/index.ts +1 -1
  332. package/src/spec/theme.ts +1 -5
  333. package/src/spec/viewport.ts +1 -1
  334. package/src/themes/base.ts +9 -9
  335. package/src/themes/types.ts +0 -2
  336. package/src/transforms/process-parallel-edges.ts +1 -1
  337. package/src/types/data.ts +2 -2
  338. package/src/types/viewport.ts +4 -4
  339. package/src/utils/animation.ts +4 -4
  340. package/src/utils/change.ts +6 -1
  341. package/src/utils/data.ts +2 -2
  342. package/src/utils/element.ts +2 -2
  343. package/src/utils/event/events.ts +3 -1
  344. package/src/utils/event/index.ts +1 -1
  345. package/src/utils/palette.ts +1 -1
  346. package/src/utils/relation.ts +2 -2
  347. package/src/utils/visibility.ts +1 -1
  348. package/esm/plugins/hull/shape.js.map +0 -1
  349. package/esm/spec/spec.js +0 -2
  350. package/esm/spec/spec.js.map +0 -1
  351. package/lib/plugins/hull/shape.js.map +0 -1
  352. package/lib/spec/spec.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { G6Spec } from '../spec';
1
+ import type { GraphOptions } from '../spec';
2
2
  import type { BatchController } from './batch';
3
3
  import type { BehaviorController } from './behavior';
4
4
  import type { Canvas } from './canvas';
@@ -28,7 +28,7 @@ export interface RuntimeContext {
28
28
  *
29
29
  * <en/> G6 options
30
30
  */
31
- options: G6Spec;
31
+ options: GraphOptions;
32
32
  /**
33
33
  * <zh/> 数据模型
34
34
  *
@@ -45,7 +45,7 @@ export interface RuntimeContext {
45
45
  * <zh/> 元素控制器
46
46
  *
47
47
  * <en/> Element controller
48
- * @description
48
+ * @remarks
49
49
  * <zh/> 仅在绘制开始后才可用
50
50
  *
51
51
  * <en/> Only available after drawing starts
@@ -56,7 +56,7 @@ export class ViewportController {
56
56
  *
57
57
  * <en/> Get the center coordinates of the canvas
58
58
  * @returns - <zh/> 画布中心坐标 | <en/> Center coordinates of the canvas
59
- * @description
59
+ * @remarks
60
60
  * <zh/> 基于画布的宽高计算中心坐标,不受视口变换影响
61
61
  *
62
62
  * <en/> Calculate the center coordinates based on the width and height of the canvas, not affected by the viewport transformation
@@ -72,7 +72,7 @@ export class ViewportController {
72
72
  *
73
73
  * <en/> Current viewport center coordinates
74
74
  * @returns - <zh/> 视口中心坐标 | <en/> Viewport center coordinates
75
- * @description
75
+ * @remarks
76
76
  * <zh/> 以画布原点为原点,受到视口变换影响
77
77
  *
78
78
  * <en/> With the origin of the canvas as the origin, affected by the viewport transformation
@@ -1,6 +1,5 @@
1
1
  import type { CanvasConfig, IRenderer } from '@antv/g';
2
2
  import type { Canvas } from '../runtime/canvas';
3
- import type { CanvasLayer } from '../types/canvas';
4
3
 
5
4
  /**
6
5
  * <zh/> 画布配置项
@@ -9,6 +8,11 @@ import type { CanvasLayer } from '../types/canvas';
9
8
  * @public
10
9
  */
11
10
  export interface CanvasOptions extends Pick<CanvasConfig, 'devicePixelRatio'> {
11
+ /**
12
+ * <zh/> 画布容器
13
+ *
14
+ * <en/> canvas container
15
+ */
12
16
  container?: string | HTMLElement | Canvas;
13
17
  /**
14
18
  * <zh/> 画布宽度
@@ -27,7 +31,7 @@ export interface CanvasOptions extends Pick<CanvasConfig, 'devicePixelRatio'> {
27
31
  *
28
32
  * <en/> get renderer
29
33
  */
30
- renderer?: (layer: CanvasLayer) => IRenderer;
34
+ renderer?: (layer: 'background' | 'main' | 'label' | 'transient') => IRenderer;
31
35
  /**
32
36
  * <zh/> 是否自动调整画布大小
33
37
  *
@@ -12,17 +12,25 @@ import type { TransformOptions } from './transform';
12
12
  import type { ViewportOptions } from './viewport';
13
13
 
14
14
  /**
15
- * <zh/> Spec 定义
15
+ * <zh/> Graph 配置项
16
16
  *
17
- * <en/> Specification definition
17
+ * <en/> Graph options
18
+ * @remarks
19
+ * <zh/> Graph 的初始化通过 `new` 进行实例化,实例化时需要传入需要的参数。目前所支持的参数如下:
20
+ *
21
+ * <en/> The initialization of Graph is instantiated through `new`, and the required parameters need to be passed in when instantiated.
22
+ *
23
+ * ```
24
+ * new G6.Graph(options: GraphOptions) => Graph
25
+ * ```
18
26
  */
19
27
 
20
- export interface G6Spec extends CanvasOptions, ViewportOptions {
28
+ export interface GraphOptions extends CanvasOptions, ViewportOptions {
21
29
  /**
22
30
  * <zh/> 启用关闭、全局动画
23
31
  *
24
32
  * <en/> Enable or disable global animation
25
- * @description
33
+ * @remarks
26
34
  * <zh/> 为动画配置项时,会启用动画,并将该动画配置作为全局动画的基础配置
27
35
  *
28
36
  * <en/> When it is an animation configuration item, the animation will be enabled, and the animation configuration will be used as the basic configuration of the global animation
package/src/spec/index.ts CHANGED
@@ -4,9 +4,9 @@ export type { ComboData, EdgeData, GraphData, NodeData } from './data';
4
4
  export type { ComboOptions } from './element/combo';
5
5
  export type { EdgeOptions } from './element/edge';
6
6
  export type { NodeOptions } from './element/node';
7
+ export type { GraphOptions } from './graph';
7
8
  export type { LayoutOptions } from './layout';
8
9
  export type { PluginOptions } from './plugin';
9
- export type { G6Spec } from './spec';
10
10
  export type { ThemeOptions } from './theme';
11
11
  export type { TransformOptions } from './transform';
12
12
  export type { ViewportOptions } from './viewport';
package/src/spec/theme.ts CHANGED
@@ -1,11 +1,7 @@
1
- import type { BuiltInTheme } from '../themes/types';
2
-
3
1
  /**
4
2
  * <zh/> 主题配置项
5
3
  *
6
4
  * <en/> Theme Options
7
5
  * @public
8
6
  */
9
- export type ThemeOptions = BuiltInTheme | CustomTheme;
10
-
11
- type CustomTheme = string;
7
+ export type ThemeOptions = 'light' | 'dark' | string;
@@ -30,7 +30,7 @@ export interface ViewportOptions {
30
30
  * <zh/> 画布内边距
31
31
  *
32
32
  * <en/> canvas padding
33
- * @description
33
+ * @remarks
34
34
  * <zh/> 通常在自适应时,会根据内边距进行适配
35
35
  *
36
36
  * <en/> Usually, it will be adapted according to the padding when auto-fitting
@@ -78,7 +78,7 @@ export function create(tokens: ThemeTokens): Theme {
78
78
  badgeFontSize: 8,
79
79
  badgePadding: [1, 4],
80
80
  badgePalette: nodeBadgePalette,
81
- color: nodeColor,
81
+ fill: nodeColor,
82
82
  halo: false,
83
83
  haloLineWidth: 12,
84
84
  haloStrokeOpacity: 0.25,
@@ -127,7 +127,7 @@ export function create(tokens: ThemeTokens): Theme {
127
127
  opacity: 0.25,
128
128
  },
129
129
  disabled: {
130
- color: nodeColorDisabled,
130
+ fill: nodeColorDisabled,
131
131
  labelOpacity: 0.25,
132
132
  donutOpacity: 0.25,
133
133
  },
@@ -136,13 +136,12 @@ export function create(tokens: ThemeTokens): Theme {
136
136
  enter: 'fade',
137
137
  exit: 'fade',
138
138
  visibility: 'fade',
139
- update: [{ fields: ['x', 'y', 'color', 'stroke'] }],
139
+ update: [{ fields: ['x', 'y', 'fill', 'stroke'] }],
140
140
  },
141
141
  },
142
142
  edge: {
143
143
  palette: edgePaletteOptions,
144
144
  style: {
145
- color: edgeColor,
146
145
  halo: false,
147
146
  haloLineWidth: 12,
148
147
  haloStrokeOpacity: 0.25,
@@ -160,6 +159,7 @@ export function create(tokens: ThemeTokens): Theme {
160
159
  labelTextBaseline: 'middle',
161
160
  lineWidth: 1,
162
161
  opacity: 1,
162
+ stroke: edgeColor,
163
163
  },
164
164
  state: {
165
165
  selected: {
@@ -180,7 +180,7 @@ export function create(tokens: ThemeTokens): Theme {
180
180
  opacity: 0.25,
181
181
  },
182
182
  disabled: {
183
- color: edgeColorDisabled,
183
+ stroke: edgeColorDisabled,
184
184
  labelOpacity: 0.25,
185
185
  },
186
186
  },
@@ -188,7 +188,7 @@ export function create(tokens: ThemeTokens): Theme {
188
188
  enter: 'fade',
189
189
  exit: 'fade',
190
190
  visibility: 'fade',
191
- update: [{ fields: ['color'] }, { fields: ['path'], shape: 'key' }],
191
+ update: [{ fields: ['path', 'stroke'], shape: 'key' }],
192
192
  },
193
193
  },
194
194
  combo: {
@@ -196,7 +196,7 @@ export function create(tokens: ThemeTokens): Theme {
196
196
  collapsedMaskFill: comboColor,
197
197
  collapsedMaskFontSize: 12,
198
198
  collapsedSize: 32,
199
- color: comboColor,
199
+ fill: comboColor,
200
200
  halo: false,
201
201
  haloLineWidth: 12,
202
202
  haloStroke: comboStroke,
@@ -235,7 +235,7 @@ export function create(tokens: ThemeTokens): Theme {
235
235
  opacity: 0.65,
236
236
  },
237
237
  disabled: {
238
- color: comboColorDisabled,
238
+ fill: comboColorDisabled,
239
239
  labelOpacity: 0.25,
240
240
  opacity: 0.25,
241
241
  stroke: comboStrokeDisabled,
@@ -247,7 +247,7 @@ export function create(tokens: ThemeTokens): Theme {
247
247
  visibility: 'fade',
248
248
  expand: 'combo-collapse-expand',
249
249
  collapse: 'combo-collapse-expand',
250
- update: [{ fields: ['x', 'y'] }, { fields: ['size', 'color', 'stroke'], shape: 'key' }],
250
+ update: [{ fields: ['x', 'y'] }, { fields: ['size', 'fill', 'stroke'], shape: 'key' }],
251
251
  },
252
252
  },
253
253
  };
@@ -2,8 +2,6 @@ import type { StaticComboOptions } from '../spec/element/combo';
2
2
  import type { StaticEdgeOptions } from '../spec/element/edge';
3
3
  import type { StaticNodeOptions } from '../spec/element/node';
4
4
 
5
- export type BuiltInTheme = 'light' | 'dark';
6
-
7
5
  export type Theme = {
8
6
  node?: StaticNodeOptions;
9
7
  edge?: StaticEdgeOptions;
@@ -27,7 +27,7 @@ export interface ProcessParallelEdgesOptions extends BaseTransformOptions {
27
27
  * <zh/> 处理模式,默认为捆绑
28
28
  *
29
29
  * <en/> Processing mode, default is bundle
30
- * @description
30
+ * @remarks
31
31
  * <zh/>
32
32
  * - merge: 将平行边合并为一条边,适用于不需要区分平行边的情况
33
33
  * - bundle: 每条边都会与其他所有平行边捆绑在一起,并通过改变曲率与其他边分开。如果一组平行边的数量是奇数,那么中心的边将被绘制为直线,其他的边将被绘制为曲线
package/src/types/data.ts CHANGED
@@ -17,7 +17,7 @@ export type ElementData = NodeData[] | EdgeData[] | ComboData[];
17
17
  * <zh/> 节点、边更新可选数据
18
18
  *
19
19
  * <en/> Node, edge update optional data
20
- * @description
20
+ * @remarks
21
21
  * <zh/> 必须包含 id 字段,其他字段可选
22
22
  *
23
23
  * <en/> Must contain the id field, other fields are optional
@@ -28,7 +28,7 @@ export type PartialNodeLikeData<T extends NodeLikeData> = Partial<T> & Pick<T, '
28
28
  * <zh/> 边更新可选数据
29
29
  *
30
30
  * <en/> Edge update optional data
31
- * @description
31
+ * @remarks
32
32
  * <zh/> 包含两种情况:
33
33
  * 1. 必须包含 source、target 字段,其他字段可选
34
34
  * 2. 必须包含 id 字段,其他字段可选
@@ -7,15 +7,15 @@ export type ViewportAnimationEffectTiming =
7
7
  duration?: number;
8
8
  };
9
9
 
10
- export type TransformOptions = {
10
+ export interface TransformOptions {
11
11
  mode: ViewportChangeMode;
12
12
  origin?: Point;
13
13
  translate?: Point;
14
14
  rotate?: number;
15
15
  scale?: number;
16
- };
16
+ }
17
17
 
18
- export type FitViewOptions = {
18
+ export interface FitViewOptions {
19
19
  /**
20
20
  * <zh/> 在以下情况下进行适配
21
21
  * - 'overflow' 仅当图内容超出视口时进行适配
@@ -38,6 +38,6 @@ export type FitViewOptions = {
38
38
  * - 'both' Adapt to the x and y directions
39
39
  */
40
40
  direction?: 'x' | 'y' | 'both';
41
- };
41
+ }
42
42
 
43
43
  type ViewportChangeMode = 'relative' | 'absolute';
@@ -1,7 +1,7 @@
1
1
  import type { DisplayObject, IAnimation } from '@antv/g';
2
2
  import { isEqual, isNil, isObject } from '@antv/util';
3
3
  import { DEFAULT_ANIMATION_OPTIONS } from '../constants';
4
- import type { G6Spec } from '../spec';
4
+ import type { GraphOptions } from '../spec';
5
5
  import type { AnimatableTask, Keyframe } from '../types';
6
6
  import { isNode } from './element';
7
7
  import { getDescendantShapes } from './shape';
@@ -101,7 +101,7 @@ export function preprocessKeyframes(keyframes: Keyframe[]): Keyframe[] {
101
101
  * @param keyframes - <zh/> 动画关键帧 | <en/> keyframes of the animation
102
102
  * @param options - <zh/> 动画配置项 | <en/> animation options
103
103
  * @returns <zh/> 动画对象 | <en/> animation object
104
- * @description
104
+ * @remarks
105
105
  * <zh/> 在设置 enableCSSParsing 为 false 后,复合图形无法继承父属性,因此对于一些需要继承父属性的动画,需要对所有子图形执行相同的动画
106
106
  *
107
107
  * <en/> After setting enableCSSParsing to false, the compound shape cannot inherit the parent attribute, so for some animations that need to inherit the parent attribute, the same animation needs to be performed on all child shapes
@@ -142,7 +142,7 @@ export function executeAnimation<T extends DisplayObject>(
142
142
  * <en/> Get default value of attribute
143
143
  * @param name - <zh/> 属性名 | <en/> Attribute name
144
144
  * @returns <zh/> 属性默认值 | <en/> Attribute default value
145
- * @description
145
+ * @remarks
146
146
  * <zh/> 执行动画过程中,一些属性没有显式指定属性值,但实际上在 G 中存在属性值,因此通过该方法获取其实际默认值
147
147
  *
148
148
  * <en/> During the animation, some attributes do not explicitly specify the attribute value, but in fact there is an attribute value in G, so use this method to get the actual default value
@@ -229,7 +229,7 @@ export function executeAnimatableTasks(tasks: AnimatableTask[], callbacks: Callb
229
229
  * @returns <zh/> 动画配置 | <en/> animation configuration
230
230
  */
231
231
  export function getAnimation(
232
- options: G6Spec,
232
+ options: GraphOptions,
233
233
  localAnimation: boolean | EffectTiming | undefined,
234
234
  ): false | EffectTiming {
235
235
  const { animation } = options;
@@ -34,13 +34,18 @@ export function reduceDataChanges(changes: DataChange[]): DataChange[] {
34
34
  else if (results.Updated.has(id)) {
35
35
  const { original } = results.Updated.get(id)!;
36
36
  results.Updated.set(id, { type, value, original } as DataUpdated);
37
+ } else if (results.Removed.has(id)) {
38
+ // 如果存在 Removed,不做任何操作
39
+ // If there is a Removed operation, do nothing
37
40
  } else results.Updated.set(id, change);
38
41
  } else if (type === 'NodeRemoved' || type === 'EdgeRemoved' || type === 'ComboRemoved') {
39
42
  // 如果存在 Added 或者 Updated 的操作,删除 Removed 操作
40
43
  // If there is an Added or Updated operation, delete the Removed operation
41
- if (results.Added.has(id) || results.Updated.has(id)) {
44
+ if (results.Added.has(id)) {
42
45
  results.Added.delete(id);
46
+ } else if (results.Updated.has(id)) {
43
47
  results.Updated.delete(id);
48
+ results.Removed.set(id, change);
44
49
  } else {
45
50
  results.Removed.set(id, change);
46
51
  }
package/src/utils/data.ts CHANGED
@@ -8,7 +8,7 @@ import type { ComboData, EdgeData, GraphData, NodeData } from '../spec';
8
8
  * @param original - <zh/> 原始数据 | <en/> original data
9
9
  * @param modified - <zh/> 待合并的数据 | <en/> data to be merged
10
10
  * @returns <zh/> 合并后的数据 | <en/> merged data
11
- * @description
11
+ * @remarks
12
12
  * <zh/> 只会合并第一层的数据,data、style 下的二级数据会被覆盖
13
13
  *
14
14
  * <en/> Only the first level of data will be merged, the second level of data under data and style will be overwritten
@@ -39,7 +39,7 @@ export function mergeElementsData<T extends NodeData | EdgeData | ComboData>(ori
39
39
  * <en/> Clone clement data
40
40
  * @param data - <zh/> 待克隆的数据 | <en/> data to be cloned
41
41
  * @returns <zh/> 克隆后的数据 | <en/> cloned data
42
- * @description
42
+ * @remarks
43
43
  * <zh/> 只会克隆到第二层(data、style)
44
44
  *
45
45
  * <en/> Only clone to the second level (data, style)
@@ -168,7 +168,7 @@ export function findPorts(
168
168
  * <zh/> 查找节点上的最有可能连接的连接桩
169
169
  *
170
170
  * <en/> Find the most likely connected port on the node
171
- * @description
171
+ * @remarks
172
172
  * 1. If `portKey` is specified, return the port.
173
173
  * 2. If `portKey` is not specified, return the port closest to the opposite connection points.
174
174
  * 3. If the node has no ports, return undefined.
@@ -195,7 +195,7 @@ export function findPort(node: Node, oppositeNode: Node, portKey?: string, oppos
195
195
  * <zh/> 寻找节点上所有可能的连接点
196
196
  *
197
197
  * <en/> Find all possible connection points on the node
198
- * @description
198
+ * @remarks
199
199
  * 1. If `portKey` is specified, return the position of the port.
200
200
  * 2. If `portKey` is not specified, return positions of all ports.
201
201
  * 3. If the node has no ports, return the center of the node.
@@ -26,7 +26,9 @@ export class GraphLifeCycleEvent extends BaseEvent implements IGraphLifeCycleEve
26
26
  | GraphEvent.BEFORE_SIZE_CHANGE
27
27
  | GraphEvent.AFTER_SIZE_CHANGE
28
28
  | GraphEvent.BATCH_START
29
- | GraphEvent.BATCH_END,
29
+ | GraphEvent.BATCH_END
30
+ | GraphEvent.BEFORE_DESTROY
31
+ | GraphEvent.AFTER_DESTROY,
30
32
  public data?: any,
31
33
  ) {
32
34
  super(type);
@@ -24,7 +24,7 @@ export function emit(emitter: EventEmitter, event: BaseEvent) {
24
24
  * <en/> Get the event target element
25
25
  * @param shape - <zh/> 事件图形 | <en/> event shape
26
26
  * @returns <zh/> 目标元素 | <en/> target element
27
- * @description
27
+ * @remarks
28
28
  * <zh/> 事件响应大多数情况会命中元素的内部图形,通过该方法可以获取到其所属元素
29
29
  *
30
30
  * <en/> Most of the event responses will hit the internal graphics of the element, and this method can be used to get the element to which it belongs
@@ -43,7 +43,7 @@ export function parsePalette(palette?: PaletteOptions): STDPaletteOptions | unde
43
43
  * @param data - <zh/> 元素数据 | <en/> Element data
44
44
  * @param palette - <zh/> 色板配置 | <en/> PaletteOptions options
45
45
  * @returns <zh/> 元素颜色 | <en/> Element color
46
- * @description
46
+ * @remarks
47
47
  * <zh/> 返回值结果是一个以元素 id 为 key,颜色值为 value 的对象
48
48
  *
49
49
  * <en/> The return value is an object with element id as key and color value as value
@@ -7,7 +7,7 @@ import { bfs } from './traverse';
7
7
  * <zh/> 获取指定元素在 n 度关系内的所有元素的 ID
8
8
  *
9
9
  * <en/> Get the IDs of all elements within an n-degree relationship from the specified element
10
- * @description
10
+ * @remarks
11
11
  * <zh/> 对于节点,0 度关系是节点本身,1 度关系包括节点的直接相邻节点和边,以此类推。
12
12
  * 对于边,0 度关系是边本身,1 度关系包括边本身及其两个端点,以此类推。
13
13
  *
@@ -37,7 +37,7 @@ export function getElementNthDegreeIds(graph: Graph, elementType: ElementType, e
37
37
  * <zh/> 获取指定节点在 n 度关系内的所有元素的 ID
38
38
  *
39
39
  * <en/> Get all elements IDs within n-degree relationship of the specified node
40
- * @description
40
+ * @remarks
41
41
  * <zh/> 节点的 0 度关系是节点本身,1 度关系是节点的直接相邻节点和边,以此类推
42
42
  *
43
43
  * <en/> 0-degree relationship of a node is the node itself; 1-degree relationship is the node's neighboring nodes and related edges, etc
@@ -10,7 +10,7 @@ const PropertyKey = 'visibility';
10
10
  * <en/> Set the visibility of the shape instance
11
11
  * @param shape - <zh/> 图形实例 | <en/> shape instance
12
12
  * @param visibility - <zh/> 可见性 | <en/> visibility
13
- * @description
13
+ * @remarks
14
14
  * <zh/> 在设置 enableCSSParsing 为 false 的情况下,复合图形无法继承父属性,因此需要对所有子图形应用相同的可见性
15
15
  *
16
16
  * <en/> After setting enableCSSParsing to false, the compound shape cannot inherit the parent attribute, so the same visibility needs to be applied to all child shapes
@@ -1 +0,0 @@
1
- {"version":3,"file":"shape.js","sourceRoot":"src/","sources":["plugins/hull/shape.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAyCzD,MAAM,OAAO,IAAK,SAAQ,SAAyB;IACjD,MAAM,CAAC,iBAAiB,GAA4B;QAClD,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,QAAQ;QACxB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;KAChB,CAAC;IAEF,YAAY,OAAoB;QAC9B,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,iBAAiB,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;IACjE,CAAC;IAES,aAAa,CAAC,UAAgC;QACtD,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QACxF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,UAAU,EAAE,GAAG,aAAa,CAErG,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,CAAC;QAE7C,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;QACtC,MAAM,aAAa,GAAG,OAAO,EAAE,eAAe,EAAE,CAAC;QAEjD,OAAO,MAAM,CAAC,MAAM,CAClB,8BAA8B,CAC5B,aAAa,EACb,SAAS,EACT,OAAO,EACP,OAAO,EACP,WAAW,EACX,UAAU,CAAC,IAAI,EACf,UAAU,CACX,EACD,EAAE,aAAa,EAAE,qBAAqB,CAAC,aAAa,EAAE,QAAQ,CAAC,EAAE,EACjE,UAAU,CACX,CAAC;IACJ,CAAC;IAES,eAAe,CAAC,UAAgC;QACxD,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC;IAEM,MAAM,CAAC,UAAgC,EAAE,SAAgB;QAC9D,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC,CAAC;QAC1E,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC,CAAC;IACzE,CAAC"}
package/esm/spec/spec.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spec.js","sourceRoot":"src/","sources":["spec/spec.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"shape.js","sourceRoot":"src/","sources":["plugins/hull/shape.ts"],"names":[],"mappings":";;;AACA,+BAA+B;AAC/B,qCAAqC;AAErC,kDAAyD;AAEzD,iDAAqE;AACrE,+CAAmD;AACnD,2CAAyD;AAyCzD,MAAa,IAAK,SAAQ,kBAAyB;IACjD,MAAM,CAAC,iBAAiB,GAA4B;QAClD,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,QAAQ;QACxB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;KAChB,CAAC;IAEF,YAAY,OAAoB;QAC9B,KAAK,CAAC,IAAA,cAAO,EAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,iBAAiB,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;IACjE,CAAC;IAES,aAAa,CAAC,UAAgC;QACtD,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QACxF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,UAAU,EAAE,GAAG,IAAA,sBAAa,EAErG,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,CAAC;QAE7C,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;QACtC,MAAM,aAAa,GAAG,OAAO,EAAE,eAAe,EAAE,CAAC;QAEjD,OAAO,MAAM,CAAC,MAAM,CAClB,IAAA,wCAA8B,EAC5B,aAAa,EACb,SAAS,EACT,OAAO,EACP,OAAO,EACP,WAAW,EACX,UAAU,CAAC,IAAI,EACf,UAAU,CACX,EACD,EAAE,aAAa,EAAE,IAAA,4BAAqB,EAAC,aAAa,EAAE,QAAQ,CAAC,EAAE,EACjE,UAAU,CACX,CAAC;IACJ,CAAC;IAES,eAAe,CAAC,UAAgC;QACxD,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC;IAEM,MAAM,CAAC,UAAgC,EAAE,SAAgB;QAC9D,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,QAAI,EAAE,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC,CAAC;QAC1E,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,cAAK,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC,CAAC;IACzE,CAAC;;AA7CH,oBA8CC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"spec.js","sourceRoot":"src/","sources":["spec/spec.ts"],"names":[],"mappings":""}