dcim-topology2d 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (512) hide show
  1. package/activity-diagram/index.d.ts +5 -0
  2. package/activity-diagram/index.js +6 -0
  3. package/activity-diagram/index.js.map +1 -0
  4. package/activity-diagram/src/final/final.d.ts +2 -0
  5. package/activity-diagram/src/final/final.js +10 -0
  6. package/activity-diagram/src/final/final.js.map +1 -0
  7. package/activity-diagram/src/final/final.rect.d.ts +3 -0
  8. package/activity-diagram/src/final/final.rect.js +11 -0
  9. package/activity-diagram/src/final/final.rect.js.map +1 -0
  10. package/activity-diagram/src/final/index.d.ts +2 -0
  11. package/activity-diagram/src/final/index.js +3 -0
  12. package/activity-diagram/src/final/index.js.map +1 -0
  13. package/activity-diagram/src/fork/fork.anchor.d.ts +3 -0
  14. package/activity-diagram/src/fork/fork.anchor.js +28 -0
  15. package/activity-diagram/src/fork/fork.anchor.js.map +1 -0
  16. package/activity-diagram/src/fork/fork.d.ts +2 -0
  17. package/activity-diagram/src/fork/fork.js +25 -0
  18. package/activity-diagram/src/fork/fork.js.map +1 -0
  19. package/activity-diagram/src/fork/fork.rect.d.ts +3 -0
  20. package/activity-diagram/src/fork/fork.rect.js +9 -0
  21. package/activity-diagram/src/fork/fork.rect.js.map +1 -0
  22. package/activity-diagram/src/fork/index.d.ts +3 -0
  23. package/activity-diagram/src/fork/index.js +4 -0
  24. package/activity-diagram/src/fork/index.js.map +1 -0
  25. package/activity-diagram/src/register.d.ts +1 -0
  26. package/activity-diagram/src/register.js +13 -0
  27. package/activity-diagram/src/register.js.map +1 -0
  28. package/activity-diagram/src/swimlaneH/index.d.ts +2 -0
  29. package/activity-diagram/src/swimlaneH/index.js +3 -0
  30. package/activity-diagram/src/swimlaneH/index.js.map +1 -0
  31. package/activity-diagram/src/swimlaneH/swimlaneH.d.ts +2 -0
  32. package/activity-diagram/src/swimlaneH/swimlaneH.js +27 -0
  33. package/activity-diagram/src/swimlaneH/swimlaneH.js.map +1 -0
  34. package/activity-diagram/src/swimlaneH/swimlaneH.rect.d.ts +3 -0
  35. package/activity-diagram/src/swimlaneH/swimlaneH.rect.js +9 -0
  36. package/activity-diagram/src/swimlaneH/swimlaneH.rect.js.map +1 -0
  37. package/activity-diagram/src/swimlaneV/index.d.ts +2 -0
  38. package/activity-diagram/src/swimlaneV/index.js +3 -0
  39. package/activity-diagram/src/swimlaneV/index.js.map +1 -0
  40. package/activity-diagram/src/swimlaneV/swimlaneV.d.ts +2 -0
  41. package/activity-diagram/src/swimlaneV/swimlaneV.js +27 -0
  42. package/activity-diagram/src/swimlaneV/swimlaneV.js.map +1 -0
  43. package/activity-diagram/src/swimlaneV/swimlaneV.rect.d.ts +3 -0
  44. package/activity-diagram/src/swimlaneV/swimlaneV.rect.js +9 -0
  45. package/activity-diagram/src/swimlaneV/swimlaneV.rect.js.map +1 -0
  46. package/chart-diagram/index.d.ts +3 -0
  47. package/chart-diagram/index.js +4 -0
  48. package/chart-diagram/index.js.map +1 -0
  49. package/chart-diagram/src/echarts/echarts.min.js +22 -0
  50. package/chart-diagram/src/echarts/index.d.ts +4 -0
  51. package/chart-diagram/src/echarts/index.js +104 -0
  52. package/chart-diagram/src/echarts/index.js.map +1 -0
  53. package/chart-diagram/src/register.d.ts +1 -0
  54. package/chart-diagram/src/register.js +12 -0
  55. package/chart-diagram/src/register.js.map +1 -0
  56. package/class-diagram/index.d.ts +2 -0
  57. package/class-diagram/index.js +3 -0
  58. package/class-diagram/index.js.map +1 -0
  59. package/class-diagram/src/class/class.d.ts +3 -0
  60. package/class-diagram/src/class/class.js +56 -0
  61. package/class-diagram/src/class/class.js.map +1 -0
  62. package/class-diagram/src/class/class.rect.d.ts +5 -0
  63. package/class-diagram/src/class/class.rect.js +16 -0
  64. package/class-diagram/src/class/class.rect.js.map +1 -0
  65. package/class-diagram/src/class/index.d.ts +2 -0
  66. package/class-diagram/src/class/index.js +3 -0
  67. package/class-diagram/src/class/index.js.map +1 -0
  68. package/class-diagram/src/register.d.ts +1 -0
  69. package/class-diagram/src/register.js +7 -0
  70. package/class-diagram/src/register.js.map +1 -0
  71. package/core/index.d.ts +8 -0
  72. package/core/index.js +26 -0
  73. package/core/index.js.map +1 -0
  74. package/core/src/activeLayer.d.ts +55 -0
  75. package/core/src/activeLayer.js +679 -0
  76. package/core/src/activeLayer.js.map +1 -0
  77. package/core/src/animateLayer.d.ts +23 -0
  78. package/core/src/animateLayer.js +227 -0
  79. package/core/src/animateLayer.js.map +1 -0
  80. package/core/src/calling.d.ts +37 -0
  81. package/core/src/calling.js +253 -0
  82. package/core/src/canvas.d.ts +19 -0
  83. package/core/src/canvas.js +81 -0
  84. package/core/src/canvas.js.map +1 -0
  85. package/core/src/common.d.ts +102 -0
  86. package/core/src/common.js +1254 -0
  87. package/core/src/core.d.ts +104 -0
  88. package/core/src/core.js +2281 -0
  89. package/core/src/core.js.map +1 -0
  90. package/core/src/divLayer.d.ts +61 -0
  91. package/core/src/divLayer.js +485 -0
  92. package/core/src/divLayer.js.map +1 -0
  93. package/core/src/healps/changeData.d.ts +8 -0
  94. package/core/src/healps/changeData.js +205 -0
  95. package/core/src/healps/index.d.ts +1 -0
  96. package/core/src/healps/index.js +1 -0
  97. package/core/src/hoverLayer.d.ts +32 -0
  98. package/core/src/hoverLayer.js +199 -0
  99. package/core/src/hoverLayer.js.map +1 -0
  100. package/core/src/layer.d.ts +5 -0
  101. package/core/src/layer.js +11 -0
  102. package/core/src/layer.js.map +1 -0
  103. package/core/src/middles/arrows/circle.d.ts +3 -0
  104. package/core/src/middles/arrows/circle.js +20 -0
  105. package/core/src/middles/arrows/circle.js.map +1 -0
  106. package/core/src/middles/arrows/diamond.d.ts +3 -0
  107. package/core/src/middles/arrows/diamond.js +28 -0
  108. package/core/src/middles/arrows/diamond.js.map +1 -0
  109. package/core/src/middles/arrows/line.d.ts +4 -0
  110. package/core/src/middles/arrows/line.js +42 -0
  111. package/core/src/middles/arrows/line.js.map +1 -0
  112. package/core/src/middles/arrows/triangle.d.ts +3 -0
  113. package/core/src/middles/arrows/triangle.js +25 -0
  114. package/core/src/middles/arrows/triangle.js.map +1 -0
  115. package/core/src/middles/default.anchor.d.ts +2 -0
  116. package/core/src/middles/default.anchor.js +9 -0
  117. package/core/src/middles/default.anchor.js.map +1 -0
  118. package/core/src/middles/default.d.ts +12 -0
  119. package/core/src/middles/default.js +257 -0
  120. package/core/src/middles/default.js.map +1 -0
  121. package/core/src/middles/default.rect.d.ts +3 -0
  122. package/core/src/middles/default.rect.js +19 -0
  123. package/core/src/middles/default.rect.js.map +1 -0
  124. package/core/src/middles/index.d.ts +3 -0
  125. package/core/src/middles/index.js +4 -0
  126. package/core/src/middles/index.js.map +1 -0
  127. package/core/src/middles/lines/curve.d.ts +10 -0
  128. package/core/src/middles/lines/curve.js +127 -0
  129. package/core/src/middles/lines/curve.js.map +1 -0
  130. package/core/src/middles/lines/line.d.ts +4 -0
  131. package/core/src/middles/lines/line.js +11 -0
  132. package/core/src/middles/lines/line.js.map +1 -0
  133. package/core/src/middles/lines/mind.d.ts +6 -0
  134. package/core/src/middles/lines/mind.js +90 -0
  135. package/core/src/middles/lines/mind.js.map +1 -0
  136. package/core/src/middles/lines/polyline.d.ts +7 -0
  137. package/core/src/middles/lines/polyline.js +309 -0
  138. package/core/src/middles/lines/polyline.js.map +1 -0
  139. package/core/src/middles/nodes/arbitrarygraph.anchor.d.ts +2 -0
  140. package/core/src/middles/nodes/arbitrarygraph.anchor.js +18 -0
  141. package/core/src/middles/nodes/arbitrarygraph.d.ts +2 -0
  142. package/core/src/middles/nodes/arbitrarygraph.js +17 -0
  143. package/core/src/middles/nodes/arrow.anchor.d.ts +2 -0
  144. package/core/src/middles/nodes/arrow.anchor.js +7 -0
  145. package/core/src/middles/nodes/arrow.anchor.js.map +1 -0
  146. package/core/src/middles/nodes/arrow.d.ts +4 -0
  147. package/core/src/middles/nodes/arrow.js +44 -0
  148. package/core/src/middles/nodes/arrow.js.map +1 -0
  149. package/core/src/middles/nodes/arrow.rect.d.ts +7 -0
  150. package/core/src/middles/nodes/arrow.rect.js +23 -0
  151. package/core/src/middles/nodes/arrow.rect.js.map +1 -0
  152. package/core/src/middles/nodes/circle.anchor.d.ts +2 -0
  153. package/core/src/middles/nodes/circle.anchor.js +18 -0
  154. package/core/src/middles/nodes/circle.anchor.js.map +1 -0
  155. package/core/src/middles/nodes/circle.d.ts +2 -0
  156. package/core/src/middles/nodes/circle.js +7 -0
  157. package/core/src/middles/nodes/circle.js.map +1 -0
  158. package/core/src/middles/nodes/circle.rect.d.ts +3 -0
  159. package/core/src/middles/nodes/circle.rect.js +27 -0
  160. package/core/src/middles/nodes/circle.rect.js.map +1 -0
  161. package/core/src/middles/nodes/cloud.anchor.d.ts +2 -0
  162. package/core/src/middles/nodes/cloud.anchor.js +9 -0
  163. package/core/src/middles/nodes/cloud.anchor.js.map +1 -0
  164. package/core/src/middles/nodes/cloud.d.ts +2 -0
  165. package/core/src/middles/nodes/cloud.js +11 -0
  166. package/core/src/middles/nodes/cloud.js.map +1 -0
  167. package/core/src/middles/nodes/cloud.rect.d.ts +3 -0
  168. package/core/src/middles/nodes/cloud.rect.js +9 -0
  169. package/core/src/middles/nodes/cloud.rect.js.map +1 -0
  170. package/core/src/middles/nodes/cube.anchor.d.ts +2 -0
  171. package/core/src/middles/nodes/cube.anchor.js +10 -0
  172. package/core/src/middles/nodes/cube.anchor.js.map +1 -0
  173. package/core/src/middles/nodes/cube.d.ts +2 -0
  174. package/core/src/middles/nodes/cube.js +5 -0
  175. package/core/src/middles/nodes/cube.js.map +1 -0
  176. package/core/src/middles/nodes/cube.model.d.ts +14 -0
  177. package/core/src/middles/nodes/cube.model.js +64 -0
  178. package/core/src/middles/nodes/cube.model.js.map +1 -0
  179. package/core/src/middles/nodes/cube.rect.d.ts +3 -0
  180. package/core/src/middles/nodes/cube.rect.js +11 -0
  181. package/core/src/middles/nodes/cube.rect.js.map +1 -0
  182. package/core/src/middles/nodes/diamond.d.ts +2 -0
  183. package/core/src/middles/nodes/diamond.js +11 -0
  184. package/core/src/middles/nodes/diamond.js.map +1 -0
  185. package/core/src/middles/nodes/diamond.rect.d.ts +3 -0
  186. package/core/src/middles/nodes/diamond.rect.js +27 -0
  187. package/core/src/middles/nodes/diamond.rect.js.map +1 -0
  188. package/core/src/middles/nodes/file.d.ts +2 -0
  189. package/core/src/middles/nodes/file.js +16 -0
  190. package/core/src/middles/nodes/file.js.map +1 -0
  191. package/core/src/middles/nodes/formtable.d.ts +2 -0
  192. package/core/src/middles/nodes/formtable.js +100 -0
  193. package/core/src/middles/nodes/hexagon.anchor.d.ts +2 -0
  194. package/core/src/middles/nodes/hexagon.anchor.js +21 -0
  195. package/core/src/middles/nodes/hexagon.anchor.js.map +1 -0
  196. package/core/src/middles/nodes/hexagon.d.ts +2 -0
  197. package/core/src/middles/nodes/hexagon.js +14 -0
  198. package/core/src/middles/nodes/hexagon.js.map +1 -0
  199. package/core/src/middles/nodes/hexagon.rect.d.ts +3 -0
  200. package/core/src/middles/nodes/hexagon.rect.js +14 -0
  201. package/core/src/middles/nodes/hexagon.rect.js.map +1 -0
  202. package/core/src/middles/nodes/image.anchor.d.ts +2 -0
  203. package/core/src/middles/nodes/image.anchor.js +12 -0
  204. package/core/src/middles/nodes/image.anchor.js.map +1 -0
  205. package/core/src/middles/nodes/image.rect.d.ts +3 -0
  206. package/core/src/middles/nodes/image.rect.js +65 -0
  207. package/core/src/middles/nodes/image.rect.js.map +1 -0
  208. package/core/src/middles/nodes/line.anchor.d.ts +2 -0
  209. package/core/src/middles/nodes/line.anchor.js +13 -0
  210. package/core/src/middles/nodes/line.anchor.js.map +1 -0
  211. package/core/src/middles/nodes/line.d.ts +2 -0
  212. package/core/src/middles/nodes/line.js +9 -0
  213. package/core/src/middles/nodes/line.js.map +1 -0
  214. package/core/src/middles/nodes/line.rect.d.ts +3 -0
  215. package/core/src/middles/nodes/line.rect.js +9 -0
  216. package/core/src/middles/nodes/line.rect.js.map +1 -0
  217. package/core/src/middles/nodes/message.anchor.d.ts +2 -0
  218. package/core/src/middles/nodes/message.anchor.js +9 -0
  219. package/core/src/middles/nodes/message.anchor.js.map +1 -0
  220. package/core/src/middles/nodes/message.d.ts +2 -0
  221. package/core/src/middles/nodes/message.js +14 -0
  222. package/core/src/middles/nodes/message.js.map +1 -0
  223. package/core/src/middles/nodes/message.rect.d.ts +3 -0
  224. package/core/src/middles/nodes/message.rect.js +10 -0
  225. package/core/src/middles/nodes/message.rect.js.map +1 -0
  226. package/core/src/middles/nodes/pentagon.anchor.d.ts +2 -0
  227. package/core/src/middles/nodes/pentagon.anchor.js +10 -0
  228. package/core/src/middles/nodes/pentagon.anchor.js.map +1 -0
  229. package/core/src/middles/nodes/pentagon.d.ts +2 -0
  230. package/core/src/middles/nodes/pentagon.js +12 -0
  231. package/core/src/middles/nodes/pentagon.js.map +1 -0
  232. package/core/src/middles/nodes/pentagon.rect.d.ts +3 -0
  233. package/core/src/middles/nodes/pentagon.rect.js +23 -0
  234. package/core/src/middles/nodes/pentagon.rect.js.map +1 -0
  235. package/core/src/middles/nodes/pentagram.anchor.d.ts +2 -0
  236. package/core/src/middles/nodes/pentagram.anchor.js +10 -0
  237. package/core/src/middles/nodes/pentagram.anchor.js.map +1 -0
  238. package/core/src/middles/nodes/pentagram.d.ts +2 -0
  239. package/core/src/middles/nodes/pentagram.js +11 -0
  240. package/core/src/middles/nodes/pentagram.js.map +1 -0
  241. package/core/src/middles/nodes/pentagram.rect.d.ts +3 -0
  242. package/core/src/middles/nodes/pentagram.rect.js +11 -0
  243. package/core/src/middles/nodes/pentagram.rect.js.map +1 -0
  244. package/core/src/middles/nodes/people.d.ts +2 -0
  245. package/core/src/middles/nodes/people.js +17 -0
  246. package/core/src/middles/nodes/people.js.map +1 -0
  247. package/core/src/middles/nodes/people.rect.d.ts +3 -0
  248. package/core/src/middles/nodes/people.rect.js +9 -0
  249. package/core/src/middles/nodes/people.rect.js.map +1 -0
  250. package/core/src/middles/nodes/rectangle.d.ts +2 -0
  251. package/core/src/middles/nodes/rectangle.js +25 -0
  252. package/core/src/middles/nodes/rectangle.js.map +1 -0
  253. package/core/src/middles/nodes/rectangle.rect.d.ts +3 -0
  254. package/core/src/middles/nodes/rectangle.rect.js +11 -0
  255. package/core/src/middles/nodes/rectangle.rect.js.map +1 -0
  256. package/core/src/middles/nodes/tablePagination.d.ts +2 -0
  257. package/core/src/middles/nodes/tablePagination.js +106 -0
  258. package/core/src/middles/nodes/text.d.ts +8 -0
  259. package/core/src/middles/nodes/text.js +295 -0
  260. package/core/src/middles/nodes/text.js.map +1 -0
  261. package/core/src/middles/nodes/triangle.anchor.d.ts +2 -0
  262. package/core/src/middles/nodes/triangle.anchor.js +9 -0
  263. package/core/src/middles/nodes/triangle.anchor.js.map +1 -0
  264. package/core/src/middles/nodes/triangle.d.ts +2 -0
  265. package/core/src/middles/nodes/triangle.js +10 -0
  266. package/core/src/middles/nodes/triangle.js.map +1 -0
  267. package/core/src/middles/nodes/triangle.rect.d.ts +3 -0
  268. package/core/src/middles/nodes/triangle.rect.js +23 -0
  269. package/core/src/middles/nodes/triangle.rect.js.map +1 -0
  270. package/core/src/models/data.d.ts +26 -0
  271. package/core/src/models/data.js +77 -0
  272. package/core/src/models/data.js.map +1 -0
  273. package/core/src/models/direction.d.ts +7 -0
  274. package/core/src/models/direction.js +9 -0
  275. package/core/src/models/direction.js.map +1 -0
  276. package/core/src/models/event.d.ts +13 -0
  277. package/core/src/models/event.js +16 -0
  278. package/core/src/models/event.js.map +1 -0
  279. package/core/src/models/index.d.ts +9 -0
  280. package/core/src/models/index.js +10 -0
  281. package/core/src/models/index.js.map +1 -0
  282. package/core/src/models/line.d.ts +53 -0
  283. package/core/src/models/line.js +442 -0
  284. package/core/src/models/line.js.map +1 -0
  285. package/core/src/models/node.d.ts +95 -0
  286. package/core/src/models/node.js +944 -0
  287. package/core/src/models/node.js.map +1 -0
  288. package/core/src/models/pen.d.ts +122 -0
  289. package/core/src/models/pen.js +362 -0
  290. package/core/src/models/pen.js.map +1 -0
  291. package/core/src/models/point.d.ts +25 -0
  292. package/core/src/models/point.js +59 -0
  293. package/core/src/models/point.js.map +1 -0
  294. package/core/src/models/rect.d.ts +22 -0
  295. package/core/src/models/rect.js +93 -0
  296. package/core/src/models/rect.js.map +1 -0
  297. package/core/src/models/status.d.ts +10 -0
  298. package/core/src/models/status.js +13 -0
  299. package/core/src/models/status.js.map +1 -0
  300. package/core/src/mqtt.d.ts +14 -0
  301. package/core/src/mqtt.js +82 -0
  302. package/core/src/mqtt.js.map +1 -0
  303. package/core/src/mqtt.min.d.ts +2 -0
  304. package/core/src/mqtt.min.js +2447 -0
  305. package/core/src/mqtt.min.js.map +1 -0
  306. package/core/src/offscreen.d.ts +16 -0
  307. package/core/src/offscreen.js +70 -0
  308. package/core/src/offscreen.js.map +1 -0
  309. package/core/src/options.d.ts +66 -0
  310. package/core/src/options.js +42 -0
  311. package/core/src/options.js.map +1 -0
  312. package/core/src/poll.js +39 -0
  313. package/core/src/preview.d.ts +29 -0
  314. package/core/src/preview.js +247 -0
  315. package/core/src/renderLayer.d.ts +36 -0
  316. package/core/src/renderLayer.js +187 -0
  317. package/core/src/renderLayer.js.map +1 -0
  318. package/core/src/socket.d.ts +10 -0
  319. package/core/src/socket.js +51 -0
  320. package/core/src/socket.js.map +1 -0
  321. package/core/src/utils/browser.d.ts +1 -0
  322. package/core/src/utils/browser.js +4 -0
  323. package/core/src/utils/browser.js.map +1 -0
  324. package/core/src/utils/canvas.d.ts +13 -0
  325. package/core/src/utils/canvas.js +84 -0
  326. package/core/src/utils/canvas.js.map +1 -0
  327. package/core/src/utils/construction.d.ts +41 -0
  328. package/core/src/utils/construction.js +36 -0
  329. package/core/src/utils/conversion.d.ts +0 -0
  330. package/core/src/utils/conversion.js +0 -0
  331. package/core/src/utils/dom.d.ts +8 -0
  332. package/core/src/utils/dom.js +67 -0
  333. package/core/src/utils/dom.js.map +1 -0
  334. package/core/src/utils/index.d.ts +9 -0
  335. package/core/src/utils/index.js +10 -0
  336. package/core/src/utils/index.js.map +1 -0
  337. package/core/src/utils/math.d.ts +3 -0
  338. package/core/src/utils/math.js +118 -0
  339. package/core/src/utils/math.js.map +1 -0
  340. package/core/src/utils/onmousevent.d.ts +5 -0
  341. package/core/src/utils/onmousevent.js +57 -0
  342. package/core/src/utils/padding.d.ts +7 -0
  343. package/core/src/utils/padding.js +47 -0
  344. package/core/src/utils/padding.js.map +1 -0
  345. package/core/src/utils/rect.d.ts +7 -0
  346. package/core/src/utils/rect.js +72 -0
  347. package/core/src/utils/rect.js.map +1 -0
  348. package/core/src/utils/uuid.d.ts +4 -0
  349. package/core/src/utils/uuid.js +13 -0
  350. package/core/src/utils/uuid.js.map +1 -0
  351. package/flow-diagram/index.d.ts +12 -0
  352. package/flow-diagram/index.js +13 -0
  353. package/flow-diagram/index.js.map +1 -0
  354. package/flow-diagram/src/comment/comment.anchor.d.ts +2 -0
  355. package/flow-diagram/src/comment/comment.anchor.js +5 -0
  356. package/flow-diagram/src/comment/comment.anchor.js.map +1 -0
  357. package/flow-diagram/src/comment/comment.d.ts +2 -0
  358. package/flow-diagram/src/comment/comment.js +10 -0
  359. package/flow-diagram/src/comment/comment.js.map +1 -0
  360. package/flow-diagram/src/comment/index.d.ts +2 -0
  361. package/flow-diagram/src/comment/index.js +3 -0
  362. package/flow-diagram/src/comment/index.js.map +1 -0
  363. package/flow-diagram/src/data/data.anchor.d.ts +2 -0
  364. package/flow-diagram/src/data/data.anchor.js +8 -0
  365. package/flow-diagram/src/data/data.anchor.js.map +1 -0
  366. package/flow-diagram/src/data/data.d.ts +2 -0
  367. package/flow-diagram/src/data/data.js +12 -0
  368. package/flow-diagram/src/data/data.js.map +1 -0
  369. package/flow-diagram/src/data/data.rect.d.ts +3 -0
  370. package/flow-diagram/src/data/data.rect.js +9 -0
  371. package/flow-diagram/src/data/data.rect.js.map +1 -0
  372. package/flow-diagram/src/data/index.d.ts +3 -0
  373. package/flow-diagram/src/data/index.js +4 -0
  374. package/flow-diagram/src/data/index.js.map +1 -0
  375. package/flow-diagram/src/db/db.d.ts +2 -0
  376. package/flow-diagram/src/db/db.js +14 -0
  377. package/flow-diagram/src/db/db.js.map +1 -0
  378. package/flow-diagram/src/db/db.rect.d.ts +4 -0
  379. package/flow-diagram/src/db/db.rect.js +9 -0
  380. package/flow-diagram/src/db/db.rect.js.map +1 -0
  381. package/flow-diagram/src/db/index.d.ts +2 -0
  382. package/flow-diagram/src/db/index.js +3 -0
  383. package/flow-diagram/src/db/index.js.map +1 -0
  384. package/flow-diagram/src/display/display.anchor.d.ts +2 -0
  385. package/flow-diagram/src/display/display.anchor.js +8 -0
  386. package/flow-diagram/src/display/display.anchor.js.map +1 -0
  387. package/flow-diagram/src/display/display.d.ts +2 -0
  388. package/flow-diagram/src/display/display.js +13 -0
  389. package/flow-diagram/src/display/display.js.map +1 -0
  390. package/flow-diagram/src/display/display.rect.d.ts +3 -0
  391. package/flow-diagram/src/display/display.rect.js +9 -0
  392. package/flow-diagram/src/display/display.rect.js.map +1 -0
  393. package/flow-diagram/src/display/index.d.ts +3 -0
  394. package/flow-diagram/src/display/index.js +4 -0
  395. package/flow-diagram/src/display/index.js.map +1 -0
  396. package/flow-diagram/src/document/document.anchor.d.ts +2 -0
  397. package/flow-diagram/src/document/document.anchor.js +8 -0
  398. package/flow-diagram/src/document/document.anchor.js.map +1 -0
  399. package/flow-diagram/src/document/document.d.ts +2 -0
  400. package/flow-diagram/src/document/document.js +15 -0
  401. package/flow-diagram/src/document/document.js.map +1 -0
  402. package/flow-diagram/src/document/document.rect.d.ts +3 -0
  403. package/flow-diagram/src/document/document.rect.js +9 -0
  404. package/flow-diagram/src/document/document.rect.js.map +1 -0
  405. package/flow-diagram/src/document/index.d.ts +3 -0
  406. package/flow-diagram/src/document/index.js +4 -0
  407. package/flow-diagram/src/document/index.js.map +1 -0
  408. package/flow-diagram/src/externStorage/externStorage.anchor.d.ts +2 -0
  409. package/flow-diagram/src/externStorage/externStorage.anchor.js +8 -0
  410. package/flow-diagram/src/externStorage/externStorage.anchor.js.map +1 -0
  411. package/flow-diagram/src/externStorage/externStorage.d.ts +2 -0
  412. package/flow-diagram/src/externStorage/externStorage.js +12 -0
  413. package/flow-diagram/src/externStorage/externStorage.js.map +1 -0
  414. package/flow-diagram/src/externStorage/externStorage.rect.d.ts +3 -0
  415. package/flow-diagram/src/externStorage/externStorage.rect.js +9 -0
  416. package/flow-diagram/src/externStorage/externStorage.rect.js.map +1 -0
  417. package/flow-diagram/src/externStorage/index.d.ts +3 -0
  418. package/flow-diagram/src/externStorage/index.js +4 -0
  419. package/flow-diagram/src/externStorage/index.js.map +1 -0
  420. package/flow-diagram/src/internalStorage/index.d.ts +2 -0
  421. package/flow-diagram/src/internalStorage/index.js +3 -0
  422. package/flow-diagram/src/internalStorage/index.js.map +1 -0
  423. package/flow-diagram/src/internalStorage/internalStorage.d.ts +2 -0
  424. package/flow-diagram/src/internalStorage/internalStorage.js +16 -0
  425. package/flow-diagram/src/internalStorage/internalStorage.js.map +1 -0
  426. package/flow-diagram/src/internalStorage/internalStorage.rect.d.ts +3 -0
  427. package/flow-diagram/src/internalStorage/internalStorage.rect.js +10 -0
  428. package/flow-diagram/src/internalStorage/internalStorage.rect.js.map +1 -0
  429. package/flow-diagram/src/manually/index.d.ts +3 -0
  430. package/flow-diagram/src/manually/index.js +4 -0
  431. package/flow-diagram/src/manually/index.js.map +1 -0
  432. package/flow-diagram/src/manually/manually.anchor.d.ts +2 -0
  433. package/flow-diagram/src/manually/manually.anchor.js +8 -0
  434. package/flow-diagram/src/manually/manually.anchor.js.map +1 -0
  435. package/flow-diagram/src/manually/manually.d.ts +2 -0
  436. package/flow-diagram/src/manually/manually.js +12 -0
  437. package/flow-diagram/src/manually/manually.js.map +1 -0
  438. package/flow-diagram/src/manually/manually.rect.d.ts +3 -0
  439. package/flow-diagram/src/manually/manually.rect.js +9 -0
  440. package/flow-diagram/src/manually/manually.rect.js.map +1 -0
  441. package/flow-diagram/src/parallel/index.d.ts +2 -0
  442. package/flow-diagram/src/parallel/index.js +3 -0
  443. package/flow-diagram/src/parallel/index.js.map +1 -0
  444. package/flow-diagram/src/parallel/parallel.anchor.d.ts +2 -0
  445. package/flow-diagram/src/parallel/parallel.anchor.js +6 -0
  446. package/flow-diagram/src/parallel/parallel.anchor.js.map +1 -0
  447. package/flow-diagram/src/parallel/parallel.d.ts +2 -0
  448. package/flow-diagram/src/parallel/parallel.js +9 -0
  449. package/flow-diagram/src/parallel/parallel.js.map +1 -0
  450. package/flow-diagram/src/queue/index.d.ts +2 -0
  451. package/flow-diagram/src/queue/index.js +3 -0
  452. package/flow-diagram/src/queue/index.js.map +1 -0
  453. package/flow-diagram/src/queue/queue.d.ts +2 -0
  454. package/flow-diagram/src/queue/queue.js +9 -0
  455. package/flow-diagram/src/queue/queue.js.map +1 -0
  456. package/flow-diagram/src/queue/queue.rect.d.ts +3 -0
  457. package/flow-diagram/src/queue/queue.rect.js +11 -0
  458. package/flow-diagram/src/queue/queue.rect.js.map +1 -0
  459. package/flow-diagram/src/register.d.ts +1 -0
  460. package/flow-diagram/src/register.js +26 -0
  461. package/flow-diagram/src/register.js.map +1 -0
  462. package/flow-diagram/src/subprocess/index.d.ts +2 -0
  463. package/flow-diagram/src/subprocess/index.js +3 -0
  464. package/flow-diagram/src/subprocess/index.js.map +1 -0
  465. package/flow-diagram/src/subprocess/subprocess.d.ts +2 -0
  466. package/flow-diagram/src/subprocess/subprocess.js +16 -0
  467. package/flow-diagram/src/subprocess/subprocess.js.map +1 -0
  468. package/flow-diagram/src/subprocess/subprocess.rect.d.ts +3 -0
  469. package/flow-diagram/src/subprocess/subprocess.rect.js +9 -0
  470. package/flow-diagram/src/subprocess/subprocess.rect.js.map +1 -0
  471. package/layout/index.d.ts +2 -0
  472. package/layout/index.js +3 -0
  473. package/layout/index.js.map +1 -0
  474. package/layout/src/align.d.ts +3 -0
  475. package/layout/src/align.js +67 -0
  476. package/layout/src/align.js.map +1 -0
  477. package/layout/src/layout.d.ts +9 -0
  478. package/layout/src/layout.js +50 -0
  479. package/layout/src/layout.js.map +1 -0
  480. package/myShape-diagram/myShape.js +196 -0
  481. package/myShape-diagram/myShape.ts +1 -0
  482. package/package.json +15 -0
  483. package/sequence-diagram/index.d.ts +3 -0
  484. package/sequence-diagram/index.js +4 -0
  485. package/sequence-diagram/index.js.map +1 -0
  486. package/sequence-diagram/src/focus/focus.anchor.d.ts +2 -0
  487. package/sequence-diagram/src/focus/focus.anchor.js +15 -0
  488. package/sequence-diagram/src/focus/focus.anchor.js.map +1 -0
  489. package/sequence-diagram/src/focus/focus.d.ts +2 -0
  490. package/sequence-diagram/src/focus/focus.js +13 -0
  491. package/sequence-diagram/src/focus/focus.js.map +1 -0
  492. package/sequence-diagram/src/focus/focus.rect.d.ts +3 -0
  493. package/sequence-diagram/src/focus/focus.rect.js +9 -0
  494. package/sequence-diagram/src/focus/focus.rect.js.map +1 -0
  495. package/sequence-diagram/src/focus/index.d.ts +3 -0
  496. package/sequence-diagram/src/focus/index.js +4 -0
  497. package/sequence-diagram/src/focus/index.js.map +1 -0
  498. package/sequence-diagram/src/lifeline/index.d.ts +3 -0
  499. package/sequence-diagram/src/lifeline/index.js +4 -0
  500. package/sequence-diagram/src/lifeline/index.js.map +1 -0
  501. package/sequence-diagram/src/lifeline/lifeline.anchor.d.ts +2 -0
  502. package/sequence-diagram/src/lifeline/lifeline.anchor.js +9 -0
  503. package/sequence-diagram/src/lifeline/lifeline.anchor.js.map +1 -0
  504. package/sequence-diagram/src/lifeline/lifeline.d.ts +2 -0
  505. package/sequence-diagram/src/lifeline/lifeline.js +35 -0
  506. package/sequence-diagram/src/lifeline/lifeline.js.map +1 -0
  507. package/sequence-diagram/src/lifeline/lifeline.rect.d.ts +3 -0
  508. package/sequence-diagram/src/lifeline/lifeline.rect.js +9 -0
  509. package/sequence-diagram/src/lifeline/lifeline.rect.js.map +1 -0
  510. package/sequence-diagram/src/register.d.ts +1 -0
  511. package/sequence-diagram/src/register.js +8 -0
  512. package/sequence-diagram/src/register.js.map +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;YACjB,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,KAAmB,UAAa,EAAb,KAAA,IAAI,CAAC,QAAQ,EAAb,cAAa,EAAb,IAAa,EAAE;gBAA7B,IAAM,IAAI,SAAA;gBACb,IAAI,IAAI,YAAY,IAAI,EAAE;oBACxB,IAAI,CAAC,QAAQ,EAAE,CAAC;iBACjB;aACF;SACF;IACH,CAAC;IAED,oBAAK,GAAL;QACE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,KAAmB,UAAa,EAAb,KAAA,IAAI,CAAC,QAAQ,EAAb,cAAa,EAAb,IAAa,EAAE;gBAA7B,IAAM,IAAI,SAAA;gBACb,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;aACnB;SACF;IACH,CAAC;IAED,oBAAK,GAAL;QACE,IAAM,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC,CAAC,gBAAgB,EAAE,CAAC;QACrB,OAAO,CAAC,CAAC;IACX,CAAC;IACH,WAAC;AAAD,CAAC,AA/3BD,CAA0B,GAAG,GA+3B5B"}
@@ -0,0 +1,122 @@
1
+ import { Point } from './point';
2
+ import { Rect } from './rect';
3
+ import { EventType, EventAction } from './event';
4
+ import { Lock } from './status';
5
+ export declare enum PenType {
6
+ Node = 0,
7
+ Line = 1
8
+ }
9
+ export declare abstract class Pen {
10
+ TID: string;
11
+ id: string;
12
+ type: PenType;
13
+ name: string;
14
+ tags: string[];
15
+ rect: Rect;
16
+ lineWidth: number;
17
+ rotate: number;
18
+ offsetRotate: number;
19
+ globalAlpha: number;
20
+ dash: number;
21
+ lineDash: number[];
22
+ lineDashOffset: number;
23
+ strokeStyle: string;
24
+ fillStyle: string;
25
+ lineCap: string;
26
+ font: {
27
+ color: string;
28
+ fontFamily: string;
29
+ fontSize: number;
30
+ lineHeight: number;
31
+ fontStyle: string;
32
+ fontWeight: string;
33
+ textAlign: string;
34
+ textBaseline: string;
35
+ background: string;
36
+ };
37
+ text: string;
38
+ textMaxLine: number;
39
+ textRect: Rect;
40
+ fullTextRect: Rect;
41
+ textOffsetX: number;
42
+ textOffsetY: number;
43
+ shadowColor: string;
44
+ shadowBlur: number;
45
+ shadowOffsetX: number;
46
+ shadowOffsetY: number;
47
+ animateFn: string | Function;
48
+ animateType: string;
49
+ animateStart: number;
50
+ animateCycle: number;
51
+ animateCycleIndex: number;
52
+ nextAnimate: string;
53
+ animatePlay: boolean;
54
+ locked: Lock;
55
+ stand: boolean;
56
+ hideInput: boolean;
57
+ hideRotateCP: boolean;
58
+ hideSizeCP: boolean;
59
+ hideAnchor: boolean;
60
+ markdown: string;
61
+ tipId: string;
62
+ title: string;
63
+ floorImageIndex: boolean;
64
+ events: {
65
+ type: EventType;
66
+ action: EventAction;
67
+ value: string;
68
+ params: string;
69
+ name?: string;
70
+ }[];
71
+ private eventFns;
72
+ parentId: string;
73
+ rectInParent: {
74
+ x: number | string;
75
+ y: number | string;
76
+ width: number | string;
77
+ height: number | string;
78
+ marginTop?: number | string;
79
+ marginRight?: number | string;
80
+ marginBottom?: number | string;
81
+ marginLeft?: number | string;
82
+ rotate: number;
83
+ rect?: Rect;
84
+ };
85
+ paddingTopNum: number;
86
+ paddingBottomNum: number;
87
+ paddingLeftNum: number;
88
+ paddingRightNum: number;
89
+ visible: boolean;
90
+ data: any;
91
+ value: number;
92
+ constructor(json?: any);
93
+ render(ctx: CanvasRenderingContext2D): void;
94
+ hit(point: Point, padding?: number): boolean;
95
+ click(): void;
96
+ dblclick(): void;
97
+ doSocketMqtt(item: {
98
+ type: EventType;
99
+ action: EventAction;
100
+ value: string;
101
+ params: string;
102
+ name?: string;
103
+ }, msg: any, client: any): void;
104
+ show(): this;
105
+ hide(): this;
106
+ isVisible(): boolean;
107
+ getTID(): string;
108
+ setTID(id: any): this;
109
+ private link;
110
+ private doAnimate;
111
+ private doFn;
112
+ private doWindowFn;
113
+ protected generateStoreKey(key: any): string;
114
+ abstract getTextRect(): Rect;
115
+ abstract calcRectInParent(parent: Pen): void;
116
+ abstract calcRectByParent(parent: Pen): void;
117
+ abstract draw(ctx: CanvasRenderingContext2D): void;
118
+ abstract animate(now: number): void;
119
+ abstract translate(x: number, y: number): void;
120
+ abstract scale(scale: number, center?: Point): void;
121
+ abstract clone(): Pen;
122
+ }
@@ -0,0 +1,362 @@
1
+ import { Store } from 'le5le-store';
2
+ import { s8 } from '../utils/uuid';
3
+ import { Rect } from './rect';
4
+ import { pointInRect } from '../utils/canvas';
5
+ import { EventType, EventAction } from './event';
6
+ import { setConfItemNode } from '../healps/changeData';
7
+ export var PenType;
8
+ (function (PenType) {
9
+ PenType[PenType["Node"] = 0] = "Node";
10
+ PenType[PenType["Line"] = 1] = "Line";
11
+ })(PenType || (PenType = {}));
12
+ var Pen = /** @class */ (function () {
13
+ function Pen(json) {
14
+ this.type = PenType.Node;
15
+ this.rect = new Rect(0, 0, 0, 0);
16
+ this.lineWidth = 1;
17
+ this.rotate = 0;
18
+ this.offsetRotate = 0;
19
+ this.globalAlpha = 1;
20
+ this.dash = 0;
21
+ this.strokeStyle = '';
22
+ this.fillStyle = '';
23
+ this.defaultFillStyle = '';
24
+ this.defaultFontColor = '#fff';
25
+ this.defaultStrokeStyle = '';
26
+ this.font = {
27
+ color: '',
28
+ fontFamily: '"Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial',
29
+ fontSize: 12,
30
+ lineHeight: 1.5,
31
+ fontStyle: 'normal',
32
+ fontWeight: 'normal',
33
+ textAlign: 'center',
34
+ textBaseline: 'middle',
35
+ background: '',
36
+ thFont: {
37
+ color: '#fff',
38
+ fontSize: 14,
39
+ fontFamily: '"Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial',
40
+ fontStyle: 'normal',
41
+ fontWeight: 'normal',
42
+ textAlign: 'center',
43
+ textBaseline: 'middle',
44
+ }
45
+ };
46
+ this.animateCycleIndex = 0;
47
+ this.events = [];
48
+ this.eventFns = ['link', 'doAnimate', 'doFn', 'doWindowFn'];
49
+ this.floorImageIndex = false;
50
+ if (json) {
51
+ this.id = json.id || s8();
52
+ this.name = json.name || '';
53
+ this.subName = json.subName || '';
54
+ this.value = json.value;
55
+ this.fanCount = json.fanCount;
56
+ this.fanSpeed = json.fanSpeed;
57
+ this.fanRevolve = json.fanRevolve;
58
+ this.fanValType = json.fanValType;
59
+ this.fanMinVal = json.fanMinVal;
60
+ this.fanMaxVal = json.fanMaxVal;
61
+ this.fanNorVal = json.fanNorVal;
62
+ this.tags = Object.assign([], json.tags);
63
+ //console.log('json.rect========', json.rect)
64
+ if (json.rect) {
65
+ this.rect = new Rect(json.rect.x, json.rect.y, json.rect.width, json.rect.height);
66
+ }
67
+ this.dash = json.dash || 0;
68
+ this.floorImageIndex = json.floorImageIndex || false;
69
+ this.lineDash = json.lineDash;
70
+ this.lineDashOffset = json.lineDashOffset || 0;
71
+ if (json.lineWidth || json.lineWidth === 0) {
72
+ this.lineWidth = json.lineWidth;
73
+ }
74
+ this.strokeStyle = json.strokeStyle || '';
75
+ this.fillStyle = json.fillStyle || '';
76
+ this.defaultFillStyle = json.defaultFillStyle || '';
77
+ this.defaultFontColor = json.defaultFontColor || '#fff';
78
+ this.defaultStrokeStyle = json.defaultStrokeStyle || '';
79
+ this.lineCap = json.lineCap;
80
+ this.globalAlpha = (json.globalAlpha || json.globalAlpha === 0) ? json.globalAlpha : 1
81
+ this.rotate = json.rotate || 0;
82
+ this.offsetRotate = json.offsetRotate || 0;
83
+ if (json.font) {
84
+ Object.assign(this.font, json.font);
85
+ }
86
+ this.text = json.text;
87
+ if (json.textMaxLine) {
88
+ this.textMaxLine = +json.textMaxLine || 0;
89
+ }
90
+ this.textOffsetX = json.textOffsetX || 0;
91
+ this.textOffsetY = json.textOffsetY || 0;
92
+ this.shadowColor = json.shadowColor;
93
+ this.shadowBlur = json.shadowBlur;
94
+ this.shadowOffsetX = json.shadowOffsetX;
95
+ this.shadowOffsetY = json.shadowOffsetY;
96
+ this.animateType = json.animateType;
97
+ this.animateCycle = json.animateCycle;
98
+ this.nextAnimate = json.nextAnimate;
99
+ this.animatePlay = json.animatePlay;
100
+ this.locked = json.locked;
101
+ this.stand = json.stand;
102
+ this.hideInput = json.hideInput;
103
+ this.hideRotateCP = json.hideRotateCP;
104
+ this.hideSizeCP = json.hideSizeCP;
105
+ this.hideAnchor = json.hideAnchor;
106
+ this.events = json.events || [];
107
+ this.markdown = json.markdown;
108
+ this.tipId = json.tipId;
109
+ this.title = json.title;
110
+ this.visible = json.visible !== false;
111
+ if (json.rectInParent) {
112
+ this.rectInParent = json.rectInParent;
113
+ }
114
+ if (this.events) {
115
+ this.events = JSON.parse(JSON.stringify(this.events));
116
+ }
117
+ if (typeof json.data === 'object') {
118
+ this.data = JSON.parse(JSON.stringify(json.data));
119
+ }
120
+ else {
121
+ this.data = json.data || '';
122
+ }
123
+ }
124
+ else {
125
+ this.id = s8();
126
+ this.textOffsetX = 0;
127
+ this.textOffsetY = 0;
128
+ }
129
+ }
130
+ Pen.prototype.render = function (ctx) {
131
+ if (!this.visible && !window.location.pathname.includes('workspace')){
132
+ return;
133
+ }
134
+ if (this.from && !this.to) {
135
+ return;
136
+ }
137
+ ctx.save();
138
+ // for canvas2svg
139
+ if (ctx.setAttrs) {
140
+ ctx.setAttrs(this);
141
+ }
142
+ if (this.rotate || this.offsetRotate) {
143
+ ctx.translate(this.rect.center.x, this.rect.center.y);
144
+ ctx.rotate(((this.rotate + this.offsetRotate) * Math.PI) / 180);
145
+ ctx.translate(-this.rect.center.x, -this.rect.center.y);
146
+ }
147
+ if (this.lineWidth > 1) {
148
+ ctx.lineWidth = this.lineWidth;
149
+ }
150
+ ctx.strokeStyle = this.dash === 4 ? 'transparent' : this.strokeStyle || '#222';
151
+ this.fillStyle && (ctx.fillStyle = this.fillStyle);
152
+ if (this.lineCap) {
153
+ ctx.lineCap = this.lineCap;
154
+ }
155
+ else if (this.type === PenType.Line) {
156
+ ctx.lineCap = 'round';
157
+ }
158
+ if (this.globalAlpha < 1) {
159
+ ctx.globalAlpha = this.globalAlpha;
160
+ }
161
+ if (this.lineDash) {
162
+ ctx.setLineDash(this.lineDash);
163
+ }
164
+ else {
165
+ switch (this.dash) {
166
+ case 1:
167
+ ctx.setLineDash([5, 5]);
168
+ break;
169
+ case 2:
170
+ ctx.setLineDash([10, 10]);
171
+ break;
172
+ case 3:
173
+ ctx.setLineDash([10, 10, 2, 10]);
174
+ break;
175
+ }
176
+ }
177
+ if (this.lineDashOffset) {
178
+ ctx.lineDashOffset = this.lineDashOffset;
179
+ }
180
+ if (this.shadowColor) {
181
+ ctx.shadowColor = this.shadowColor;
182
+ ctx.shadowOffsetX = this.shadowOffsetX;
183
+ ctx.shadowOffsetY = this.shadowOffsetY;
184
+ ctx.shadowBlur = this.shadowBlur;
185
+ }
186
+ this.draw(ctx);
187
+ ctx.restore();
188
+ if (this.children) {
189
+ for (var _i = 0, _a = this.children; _i < _a.length; _i++) {
190
+ var item = _a[_i];
191
+ item.render(ctx);
192
+ }
193
+ }
194
+ };
195
+ Pen.prototype.hit = function (point, padding) {
196
+ if (padding === void 0) { padding = 0; }
197
+ if (this.rotate % 360 === 0) {
198
+ return this.rect.hit(point, padding);
199
+ }
200
+ var pts = this.rect.toPoints();
201
+ for (var _i = 0, pts_1 = pts; _i < pts_1.length; _i++) {
202
+ var pt = pts_1[_i];
203
+ pt.rotate(this.rotate, this.rect.center);
204
+ }
205
+ return pointInRect(point, pts);
206
+ };
207
+ Pen.prototype.click = function () {
208
+ if (!this.events) {
209
+ return;
210
+ }
211
+ for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
212
+ var item = _a[_i];
213
+ if (item.type !== EventType.Click ) {
214
+ continue;
215
+ }
216
+ // 画布页面,单击跳转链接事件屏蔽
217
+ if(item.action === EventAction.Link && window.location.pathname.includes('workspace')){
218
+ continue
219
+ }
220
+ if(item.action === EventAction.Link){
221
+ this[this.eventFns[item.action]](item.value, item.dcimMenuForType);
222
+ }else{
223
+ this[this.eventFns[item.action]] && this[this.eventFns[item.action]](item.value, item.params);
224
+ }
225
+ if(item.action === 7){
226
+ Store.set(this.generateStoreKey('LT:hidePen'), item.value);
227
+ }
228
+ }
229
+ };
230
+ Pen.prototype.dblclick = function () {
231
+ if (!this.events) {
232
+ return;
233
+ }
234
+ for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
235
+ var item = _a[_i];
236
+ if (item.type !== EventType.DblClick) {
237
+ continue;
238
+ }
239
+ this[this.eventFns[item.action]] && this[this.eventFns[item.action]](item.value, item.params);
240
+ }
241
+ };
242
+ Pen.prototype.doSocketMqtt = function (item, msg, client) {
243
+ if (item.action < EventAction.Function) {
244
+ this[this.eventFns[item.action]](msg.value || msg || item.value, msg.params || item.params, client);
245
+ }
246
+ else if (item.action < EventAction.SetProps) {
247
+ if (item.action === EventAction.Function && item.value) return this[this.eventFns[item.action]](item.value, msg || item.params, client);
248
+ let jsonNode = msg;
249
+ if (typeof msg === 'string') {
250
+ try {
251
+ jsonNode = JSON.parse(msg);
252
+ }catch (error) { }
253
+ }
254
+ console.log('doSocketMqtt-------------', jsonNode)
255
+ Store.set('mqtt:responseData', jsonNode)
256
+ //const { areaData, assetData, data } = jsonNode
257
+ if (!this.data && this.data.length <= 0 && typeof this.data !== 'object') return
258
+ // const subscribeObj = {
259
+ // areaData, assetData, data,
260
+ // asset: ''
261
+ // }
262
+ jsonNode.asset = ''
263
+ Object.assign(this, setConfItemNode(this, jsonNode))
264
+ }
265
+ else if (item.action === EventAction.SetProps) {
266
+ var props = [];
267
+ var data = msg;
268
+ if (typeof msg === 'string') {
269
+ try {
270
+ data = JSON.parse(msg);
271
+ }
272
+ catch (error) { }
273
+ }
274
+ if (Array.isArray(data)) {
275
+ props = data;
276
+ }
277
+ for (var _i = 0, props_1 = props; _i < props_1.length; _i++) {
278
+ var prop = props_1[_i];
279
+ if (prop.key) {
280
+ if (typeof prop.value === 'object') {
281
+ this[prop.key] = Object.assign(this[prop.key], prop.value);
282
+ }
283
+ else {
284
+ this[prop.key] = prop.value;
285
+ }
286
+ }
287
+ }
288
+ Store.set(this.generateStoreKey('LT:render'), true);
289
+ }
290
+ };
291
+ Pen.prototype.show = function () {
292
+ this.visible = true;
293
+ return this;
294
+ };
295
+ Pen.prototype.hide = function () {
296
+ this.visible = false;
297
+ return this;
298
+ };
299
+ Pen.prototype.isVisible = function () {
300
+ return this.visible;
301
+ };
302
+ Pen.prototype.getTID = function () {
303
+ return this.TID;
304
+ };
305
+ Pen.prototype.setTID = function (id) {
306
+ this.TID = id;
307
+ return this;
308
+ };
309
+ Pen.prototype.link = function (url, params) {
310
+ // window.open(url, params === undefined ? '_blank' : params);
311
+ var port = window.location.port;
312
+ var href = window.location.href;
313
+ if(!url.includes("http") && port.includes("3000") && url.includes("id")){
314
+ url= '/workspace?id=' + url.split('id=')[1]
315
+ // console.log('url:3000===',url)
316
+ }else if(!url.includes("http://") && href.includes("topologyDetail")){
317
+ switch (params) {
318
+ case '1': // 返回上一页
319
+ let str = href.replace(/\/topologyDetail/g, "")
320
+ url = str.includes('viewType') ? str : str.split('&id')[0]
321
+ break;
322
+ case '2': // 查看报警处置
323
+ break;
324
+ case '3': // 查看报警档案
325
+ url = url + '&assetId=' + href.split('&assetId=')[1]
326
+ break;
327
+ default:
328
+ break;
329
+ }
330
+ // console.log('url:params===',params)
331
+ // console.log('url:topologyDetail===',url)
332
+ //params = undefined
333
+ }
334
+ //window.open(url, '_self');
335
+ };
336
+ Pen.prototype.doAnimate = function (tag, params) {
337
+ this.animateStart = Date.now();
338
+ Store.set(this.generateStoreKey('LT:AnimatePlay'), {
339
+ tag: tag,
340
+ pen: this
341
+ });
342
+ };
343
+ Pen.prototype.doFn = function (fn, params, client) {
344
+ var func;
345
+ if (client) {
346
+ func = new Function('pen', 'params', 'client', fn);
347
+ }
348
+ else {
349
+ func = new Function('pen', 'params', fn);
350
+ }
351
+ func(this, params, client);
352
+ };
353
+ Pen.prototype.doWindowFn = function (fn, params, client) {
354
+ window[fn](this, params, client);
355
+ };
356
+ Pen.prototype.generateStoreKey = function (key) {
357
+ return this.TID + "-" + key;
358
+ };
359
+ return Pen;
360
+ }());
361
+ export { Pen };
362
+ //# sourceMappingURL=pen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pen.js","sourceRoot":"","sources":["../../../../packages/core/src/models/pen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAIjD,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,qCAAI,CAAA;IACJ,qCAAI,CAAA;AACN,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AAED;IA8FE,aAAY,IAAU;QA3FtB,SAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QAGpB,SAAI,GAAS,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QAClC,cAAS,GAAG,CAAC,CAAC;QACd,WAAM,GAAG,CAAC,CAAC;QACX,iBAAY,GAAG,CAAC,CAAC;QACjB,gBAAW,GAAG,CAAC,CAAC;QAEhB,SAAI,GAAG,CAAC,CAAC;QAGT,gBAAW,GAAG,EAAE,CAAC;QACjB,cAAS,GAAG,EAAE,CAAC;QAEf,SAAI,GAAG;YACL,KAAK,EAAE,EAAE;YACT,UAAU,EAAE,2EAA2E;YACvF,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,GAAG;YACf,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,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AAI,GAAZ,UAAa,EAAU,EAAE,MAAc,EAAE,MAAY;QACnD,IAAI,IAAc,CAAC;QACnB,IAAI,MAAM,EAAE;YACV,IAAI,GAAG,IAAI,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;SACpD;aAAM;YACL,IAAI,GAAG,IAAI,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;SAC1C;QACD,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,CAAC;IAEO,wBAAU,GAAlB,UAAmB,EAAU,EAAE,MAAc,EAAE,MAAY;QACxD,MAAc,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,CAAC;IAES,8BAAgB,GAA1B,UAA2B,GAAG;QAC5B,OAAU,IAAI,CAAC,GAAG,SAAI,GAAK,CAAC;IAC9B,CAAC;IAUH,UAAC;AAAD,CAAC,AAvXD,IAuXC"}
@@ -0,0 +1,25 @@
1
+ import { Direction } from './direction';
2
+ import { AnchorMode } from './status';
3
+ export declare class Point {
4
+ x: number;
5
+ y: number;
6
+ id: number | string;
7
+ direction: Direction;
8
+ radius: number;
9
+ strokeStyle: string;
10
+ fillStyle: string;
11
+ anchorIndex: number;
12
+ hidden: boolean;
13
+ mode: AnchorMode;
14
+ data: any;
15
+ constructor(x: number, y: number, direction?: Direction, anchorIndex?: number, id?: number | string, hidden?: boolean);
16
+ floor(): void;
17
+ round(): void;
18
+ clone(): Point;
19
+ hit(pt: Point, radius?: number): boolean;
20
+ rotate(angle: number, center: {
21
+ x: number;
22
+ y: number;
23
+ }): Point;
24
+ isSameAs(pt: Point): boolean;
25
+ }
@@ -0,0 +1,59 @@
1
+ var Point = /** @class */ (function () {
2
+ function Point(x, y, direction, anchorIndex, id, hidden) {
3
+ this.x = x;
4
+ this.y = y;
5
+ this.direction = direction;
6
+ this.anchorIndex = anchorIndex;
7
+ this.id = id;
8
+ this.hidden = hidden;
9
+ }
10
+ Point.prototype.floor = function () {
11
+ this.x |= 0;
12
+ this.y |= 0;
13
+ };
14
+ Point.prototype.round = function () {
15
+ this.x = Math.round(this.x);
16
+ this.y = Math.round(this.y);
17
+ };
18
+ Point.prototype.clone = function () {
19
+ var pt = new Point(this.x, this.y, this.direction, this.anchorIndex, this.id, this.hidden);
20
+ if (this.data) {
21
+ pt.data = this.data;
22
+ }
23
+ if (this.mode) {
24
+ pt.mode = this.mode;
25
+ }
26
+ return pt;
27
+ };
28
+ Point.prototype.hit = function (pt, radius) {
29
+ if (radius === void 0) { radius = 5; }
30
+ return (pt.x > this.x - radius &&
31
+ pt.x < this.x + radius &&
32
+ pt.y > this.y - radius &&
33
+ pt.y < this.y + radius);
34
+ };
35
+ Point.prototype.rotate = function (angle, center) {
36
+ if (!angle || angle === 360) {
37
+ return this;
38
+ }
39
+ angle *= Math.PI / 180;
40
+ var x = (this.x - center.x) * Math.cos(angle) -
41
+ (this.y - center.y) * Math.sin(angle) +
42
+ center.x;
43
+ var y = (this.x - center.x) * Math.sin(angle) +
44
+ (this.y - center.y) * Math.cos(angle) +
45
+ center.y;
46
+ this.x = x;
47
+ this.y = y;
48
+ return this;
49
+ };
50
+ Point.prototype.isSameAs = function (pt) {
51
+ return (this.anchorIndex === pt.anchorIndex &&
52
+ this.direction === pt.direction &&
53
+ this.id === pt.id);
54
+ };
55
+ return Point;
56
+ }());
57
+ export { Point };
58
+ process.browser && (window.topologyPoint = Point);
59
+ //# sourceMappingURL=point.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"point.js","sourceRoot":"","sources":["../../../../packages/core/src/models/point.ts"],"names":[],"mappings":"AAGA;IAaE,eACS,CAAS,EACT,CAAS,EAChB,SAAqB,EACrB,WAAoB,EACpB,EAAoB,EACpB,MAAgB;QALT,MAAC,GAAD,CAAC,CAAQ;QACT,MAAC,GAAD,CAAC,CAAQ;QAMhB,IAAI,CAAC,SAA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