graphdb-workbench 2.3.1 → 2.4.0-TR1

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 (402) hide show
  1. package/dist/0.d1e3302d17a463211b18.bundle.js +1 -0
  2. package/dist/{1.35c946a7e97b8cdeffd9.bundle.js → 1.7fc3cf9b65b6271d39e0.bundle.js} +1 -1
  3. package/dist/{6.93d2e365fd3b40fd2c2f.bundle.js → 10.842eacb37db3f72c9134.bundle.js} +1 -1
  4. package/dist/100.6d43f8e06e845ff320d5.bundle.js +1 -0
  5. package/dist/101.4b5770357c138dbfe93a.bundle.js +1 -0
  6. package/dist/102.94ef7b014dfb5e489eb5.bundle.js +1 -0
  7. package/dist/103.6029800695150cfe1b2b.bundle.js +1 -0
  8. package/dist/104.bcfb6ec61e4f7a40435c.bundle.js +1 -0
  9. package/dist/105.f4a588888f0799d554ca.bundle.js +1 -0
  10. package/dist/106.4e6a8f669920010641d6.bundle.js +1 -0
  11. package/dist/107.167e2f4acdddf231a114.bundle.js +1 -0
  12. package/dist/108.868558a54db10a019df3.bundle.js +1 -0
  13. package/dist/109.50406463353ece7df3bc.bundle.js +1 -0
  14. package/dist/11.62e7d4a906108b3affc4.bundle.js +1 -0
  15. package/dist/110.959f1e7693fcd12d320d.bundle.js +1 -0
  16. package/dist/111.ea48a9986931f834ea54.bundle.js +1 -0
  17. package/dist/112.db7c3561de98de6b8d2e.bundle.js +1 -0
  18. package/dist/113.58f7759557ddb6e7a9e9.bundle.js +1 -0
  19. package/dist/114.98a8bcccdd5c67fa1fc6.bundle.js +1 -0
  20. package/dist/115.c69bacebddc62b6ba647.bundle.js +1 -0
  21. package/dist/116.475e34673452b3c404c7.bundle.js +1 -0
  22. package/dist/117.735573dcfa8bdac88188.bundle.js +1 -0
  23. package/dist/118.f0e5036485b114e98af2.bundle.js +1 -0
  24. package/dist/119.88b6cab5ec92ec3d3963.bundle.js +1 -0
  25. package/dist/{11.a44335a5531d4f391163.bundle.js → 12.04b915ab643faba8ad1b.bundle.js} +1 -1
  26. package/dist/120.0802ff427c6114c82599.bundle.js +1 -0
  27. package/dist/121.49f9402b22d8b9b7ef4e.bundle.js +1 -0
  28. package/dist/122.abbb98da5811c9cc9ebc.bundle.js +1 -0
  29. package/dist/123.b8ad548d2bf071d496ac.bundle.js +1 -0
  30. package/dist/124.45954981cb5cef533823.bundle.js +1 -0
  31. package/dist/125.ea0f48b86a7a7b6657e0.bundle.js +1 -0
  32. package/dist/126.d10421304cbdf44ed740.bundle.js +1 -0
  33. package/dist/127.331fb354131dd95231b0.bundle.js +1 -0
  34. package/dist/128.dafc591716d04b87312a.bundle.js +1 -0
  35. package/dist/129.b32d77efc2ec3f2c861c.bundle.js +1 -0
  36. package/dist/13.4cb2a5640a2816e2390d.bundle.js +110 -0
  37. package/dist/130.555e2bc8e0d2ae6e1726.bundle.js +1 -0
  38. package/dist/131.98bdc935277237e1b1a1.bundle.js +1 -0
  39. package/dist/132.a23c3db2dc021b71bfdc.bundle.js +1 -0
  40. package/dist/133.d0084de1eb2dbb2d27c2.bundle.js +1 -0
  41. package/dist/134.35d3dcbf5d898882a6d9.bundle.js +1 -0
  42. package/dist/135.2dae8ba9b1721962b28e.bundle.js +1 -0
  43. package/dist/136.2893f6270942f74d9450.bundle.js +1 -0
  44. package/dist/137.7293df024724012804d0.bundle.js +1 -0
  45. package/dist/138.c6136b2ea8d94c1644c7.bundle.js +1 -0
  46. package/dist/139.bce50b43fe9f03624578.bundle.js +1 -0
  47. package/dist/14.8a18d644c3b51ee4d3ff.bundle.js +107 -0
  48. package/dist/140.ee43804541be94f42e63.bundle.js +1 -0
  49. package/dist/141.5e99f26f29c7e4d0979b.bundle.js +1 -0
  50. package/dist/142.e614ba2e3556a8659368.bundle.js +1 -0
  51. package/dist/143.345280839a4c76d313f6.bundle.js +1 -0
  52. package/dist/144.4a61d27da65f78ecbaa1.bundle.js +1 -0
  53. package/dist/145.86c7243cb5c194c4d0e4.bundle.js +1 -0
  54. package/dist/146.debd0e699f58ecc476cf.bundle.js +1 -0
  55. package/dist/147.ad21bc38a8d363b9a085.bundle.js +1 -0
  56. package/dist/148.8d4ead4cf6c5ec25daac.bundle.js +1 -0
  57. package/dist/149.068ef2ea270f2d55c9d8.bundle.js +1 -0
  58. package/dist/15.4cad37224132c963aaa0.bundle.js +107 -0
  59. package/dist/150.f41d6556c995092075b1.bundle.js +1 -0
  60. package/dist/151.d95842f21b6b2450ce1c.bundle.js +1 -0
  61. package/dist/152.052c940402963e89ba28.bundle.js +1 -0
  62. package/dist/153.f9a3db170a7ee083e44d.bundle.js +1 -0
  63. package/dist/154.a2ab0c7f5496997cc3af.bundle.js +1 -0
  64. package/dist/155.ab489692af587d89f006.bundle.js +1 -0
  65. package/dist/156.f4bf134a06b1cd3b994b.bundle.js +1 -0
  66. package/dist/157.9bf87e99429ae973708f.bundle.js +1 -0
  67. package/dist/158.c19f6c6479a9d0a1fbbb.bundle.js +1 -0
  68. package/dist/159.89fa400a843e98a73357.bundle.js +1 -0
  69. package/dist/16.38c50278aaf6ed8118a3.bundle.js +2 -0
  70. package/dist/160.3c3add318515c8e7e69e.bundle.js +1 -0
  71. package/dist/161.522b38b637021f6f7041.bundle.js +1 -0
  72. package/dist/{100.7b7cd84f6e7a5e0c0872.bundle.js → 162.86d6a2935fdabacd5d14.bundle.js} +1 -1
  73. package/dist/{101.1d929325c55f84f51f95.bundle.js → 163.ae83702a240f1ba2ce47.bundle.js} +1 -1
  74. package/dist/{102.e1992c895bdb976ad3b5.bundle.js → 164.0209cadc0cca43cb7ea5.bundle.js} +1 -1
  75. package/dist/165.de842b35d1b99abe896f.bundle.js +1 -0
  76. package/dist/{104.27ef289584fbb32c310c.bundle.js → 166.2bf8690db496f5ddf9f3.bundle.js} +1 -1
  77. package/dist/167.923d0580bd4182755753.bundle.js +1 -0
  78. package/dist/{106.00f83dad7fd5529fc727.bundle.js → 168.8dc72d36d344f718895f.bundle.js} +1 -1
  79. package/dist/{107.d522056e00eb1d7714eb.bundle.js → 169.95494fc179be79bd6f2d.bundle.js} +1 -1
  80. package/dist/{15.f66fb6518770cebf9636.bundle.js → 17.b0d8b8042be3716aae80.bundle.js} +1 -1
  81. package/dist/{108.e57aa12611cf0efe0529.bundle.js → 170.4d411647f7c363914988.bundle.js} +1 -1
  82. package/dist/{110.994e6833c2b7b5bf8b06.bundle.js → 171.362ee2aa81e83adb44cf.bundle.js} +1 -1
  83. package/dist/{111.1aea48938559aa4f85ff.bundle.js → 172.5bdd6cb8f9f56aa9abff.bundle.js} +1 -1
  84. package/dist/{112.15379080dfadcc896315.bundle.js → 173.1414dd60d17a413be76c.bundle.js} +1 -1
  85. package/dist/{113.4814d391842917613475.bundle.js → 174.66f8c926467c02d5af75.bundle.js} +1 -1
  86. package/dist/{114.38373e7f765a6f774a5f.bundle.js → 175.4bfcd71a2c040fef22cd.bundle.js} +1 -1
  87. package/dist/{115.b32c51ed316f8c9b2399.bundle.js → 176.172b12291d6263962e39.bundle.js} +1 -1
  88. package/dist/177.e498bd22fb4985197043.bundle.js +1 -0
  89. package/dist/{117.d6f443a1f7aac0171795.bundle.js → 178.a58f8d4fe6ce8edc9625.bundle.js} +1 -1
  90. package/dist/179.c1970c05fbf82f2c8d61.bundle.js +1 -0
  91. package/dist/{16.e64d8e5588b492446c6b.bundle.js → 18.32c8a960eb9b69e49835.bundle.js} +1 -1
  92. package/dist/180.2a357c7b17c7f54c83fb.bundle.js +1 -0
  93. package/dist/181.4620adbbd309fa2f0257.bundle.js +1 -0
  94. package/dist/{121.c93a4daf2ebaef26e321.bundle.js → 182.4bce4ecc76122944ae15.bundle.js} +1 -1
  95. package/dist/{122.910caa6a9a52168cf5a0.bundle.js → 183.9b13e2ac617781c05cf1.bundle.js} +1 -1
  96. package/dist/{123.54f02cfdc1c752f8154d.bundle.js → 184.f6dcf250cddc377b64f1.bundle.js} +1 -1
  97. package/dist/{124.e7833c37dc4def185074.bundle.js → 185.fa51003344f197456578.bundle.js} +1 -1
  98. package/dist/186.88f6455915a7d577e617.bundle.js +1 -0
  99. package/dist/{126.a72e76a6f1a27cd37e5a.bundle.js → 187.4eac935b81a5babb81a7.bundle.js} +1 -1
  100. package/dist/{128.8492676d2638fa17f416.bundle.js → 188.9a5b426d0e1fc5ead320.bundle.js} +1 -1
  101. package/dist/189.009d9cdd3280a63479a3.bundle.js +1 -0
  102. package/dist/19.f3fa34ed5d973abb485f.bundle.js +3 -0
  103. package/dist/190.688ad82be6d8da235089.bundle.js +1 -0
  104. package/dist/{129.6146ff84590131f3a55e.bundle.js → 191.70d20133bb9f280c7fa1.bundle.js} +1 -1
  105. package/dist/{131.00e6d4ae06befb555cfc.bundle.js → 192.d1a424346cd77bf70fe4.bundle.js} +1 -1
  106. package/dist/{132.49e681d6147484e5bae8.bundle.js → 193.125066869130e50ebb11.bundle.js} +1 -1
  107. package/dist/{133.cf8fdaa6c0def7be2795.bundle.js → 194.1330470def1f9d2ef79d.bundle.js} +1 -1
  108. package/dist/{134.51e49e6ae0721e845cb8.bundle.js → 195.ca3805c2c26c763010a3.bundle.js} +1 -1
  109. package/dist/{135.1cf5c85fb2378272cfac.bundle.js → 196.40228c958dfea67ff251.bundle.js} +1 -1
  110. package/dist/197.7596f2508fe120d3c0b6.bundle.js +1 -0
  111. package/dist/198.b2312082e3f715f5c318.bundle.js +1 -0
  112. package/dist/{136.964db904b4587cc3f0f2.bundle.js → 199.8381513cf20cb47099c5.bundle.js} +1 -1
  113. package/dist/2.935ab3e4ba65b2b4e99b.bundle.js +2 -0
  114. package/dist/20.777ec2d7fc2050daa802.bundle.js +2 -0
  115. package/dist/205.c719899748cee18c694b.bundle.js +1 -0
  116. package/dist/206.47062befe981d103f1e4.bundle.js +1 -0
  117. package/dist/207.3184b759ba0441b36520.bundle.js +1 -0
  118. package/dist/208.c4139dba376b32aa07f3.bundle.js +1 -0
  119. package/dist/{140.e155a6710b9e5ccddb73.bundle.js → 209.bb361f12e3cf5b7afb0e.bundle.js} +1 -1
  120. package/dist/21.3915e7b0a4a9b7687c7c.bundle.js +1 -0
  121. package/dist/{141.0682bf0e20272318d2ef.bundle.js → 210.e1043d9b658cabb82d8b.bundle.js} +1 -1
  122. package/dist/{142.87f971612121afa2bc3d.bundle.js → 211.0a7b9f4395ddedad0ccc.bundle.js} +1 -1
  123. package/dist/{143.de871e8619f29e3c9b37.bundle.js → 212.43fe9703f6c49cc473a6.bundle.js} +1 -1
  124. package/dist/{144.5db249cdfe6d835ab772.bundle.js → 213.df544cb7412983383066.bundle.js} +1 -1
  125. package/dist/{145.a637152fc809104046e1.bundle.js → 214.e65ecf1247b34e925d0d.bundle.js} +1 -1
  126. package/dist/{146.d40092d424880f027d56.bundle.js → 215.10bc5135ece9551f9654.bundle.js} +1 -1
  127. package/dist/216.35c14bb9518293f4bd84.bundle.js +1 -0
  128. package/dist/{148.a847a9ae06a0e5cf2dbd.bundle.js → 217.941a17415352ec5c34f4.bundle.js} +1 -1
  129. package/dist/218.8f0cefe2e2a501135035.bundle.js +1 -0
  130. package/dist/219.95c8e4c1f296e07a281b.bundle.js +1 -0
  131. package/dist/22.cc91a4b36ab8430090fd.bundle.js +1 -0
  132. package/dist/{150.8e0568e15a67a0a784ee.bundle.js → 220.74ad5767d4539e44246c.bundle.js} +1 -1
  133. package/dist/{151.f141f7e62802a9fc9b09.bundle.js → 221.bba5a7cb34a1c373c28e.bundle.js} +1 -1
  134. package/dist/{152.5ced705d8b47d5bb1213.bundle.js → 222.abeaf6cd190b870793c5.bundle.js} +1 -1
  135. package/dist/{153.63ec29a88f3cd5dfcdc6.bundle.js → 223.e00eedf2071b09607cd0.bundle.js} +1 -1
  136. package/dist/{154.e550179b500aa45c3b90.bundle.js → 224.a4e5eb1ab08d334c679b.bundle.js} +1 -1
  137. package/dist/{155.46ec77b333c78419270a.bundle.js → 225.a3f09720911d328c5dae.bundle.js} +1 -1
  138. package/dist/{156.dd3f4483a2136953446a.bundle.js → 226.600a04dc5afeaa361c2d.bundle.js} +1 -1
  139. package/dist/{157.170584cdf6d1dfb92ac9.bundle.js → 227.3d3c07986792b68ce87e.bundle.js} +1 -1
  140. package/dist/{158.f6044c96ade26a4c0403.bundle.js → 228.464422fe24b162eb251f.bundle.js} +1 -1
  141. package/dist/{159.fe33cf1ed1ce105ed587.bundle.js → 229.a248d934cabbfc0abb51.bundle.js} +1 -1
  142. package/dist/23.0850d9ca78623c27e216.bundle.js +1 -0
  143. package/dist/{160.2e4b5925fea9e7bd5070.bundle.js → 230.5d2e97dd0d1069c07ab0.bundle.js} +1 -1
  144. package/dist/{161.bb6754e4a785d391376a.bundle.js → 231.c5de92c6c060ad32e157.bundle.js} +1 -1
  145. package/dist/{162.e5f05b09bc683ade91f2.bundle.js → 232.48cd2c95d9e3ad910e29.bundle.js} +1 -1
  146. package/dist/{163.8bf4bb45efeb303f998c.bundle.js → 233.cead84209800ba4af240.bundle.js} +1 -1
  147. package/dist/{164.efad8f36ff9b50f5dde2.bundle.js → 234.d2c50dd41a38be23caf6.bundle.js} +1 -1
  148. package/dist/{165.09a5e6e3f51465be71bd.bundle.js → 235.7e707d2f48c8b63f7e96.bundle.js} +1 -1
  149. package/dist/{166.0d5ae7641406d6e7529f.bundle.js → 236.e2f9b0126b8043d3609b.bundle.js} +1 -1
  150. package/dist/{167.ad0c06a7bfa23bb388ed.bundle.js → 237.b8522529d2e7d0f4e549.bundle.js} +1 -1
  151. package/dist/{168.2df745d38c41db004f3c.bundle.js → 238.4423a64c8cc0aef91d03.bundle.js} +1 -1
  152. package/dist/{169.5e6ba6349d198dd0d1f8.bundle.js → 239.5af7eacef1357186cd15.bundle.js} +1 -1
  153. package/dist/24.a3b9127cb22f30445baf.bundle.js +1 -0
  154. package/dist/{170.96686a1ff199a4c5a312.bundle.js → 240.1add86500fac29099714.bundle.js} +1 -1
  155. package/dist/{171.86f50ec6dec4b47bb30d.bundle.js → 241.1138f289b4bdcd17df16.bundle.js} +1 -1
  156. package/dist/{172.7869a1148738b79d144e.bundle.js → 242.cdef95d70abcba99c54b.bundle.js} +1 -1
  157. package/dist/{173.9587892f3ea0f72fcd8b.bundle.js → 243.1d2957431a6564f933ed.bundle.js} +1 -1
  158. package/dist/{174.124975f55100cda2adab.bundle.js → 244.0ace9d4346db8cd95d6f.bundle.js} +1 -1
  159. package/dist/{175.dae1de62e8a7e4dc75cf.bundle.js → 245.0c86b499c0c3c26f8f2e.bundle.js} +1 -1
  160. package/dist/246.2ec8d5be819e744ba2da.bundle.js +1 -0
  161. package/dist/{177.00125e8d6a8c6806afa9.bundle.js → 247.88699ab13ff571a67c30.bundle.js} +1 -1
  162. package/dist/{178.cf91ce517fc7dd1870bb.bundle.js → 248.da3936350b9a9e01479e.bundle.js} +1 -1
  163. package/dist/{179.ba1dd1aa2c4d68a63a3b.bundle.js → 249.3b46f6c8ba9bf623526e.bundle.js} +1 -1
  164. package/dist/25.67a2e458b27e25907dfa.bundle.js +1 -0
  165. package/dist/{180.2ff24dcdc809283123f3.bundle.js → 250.1d6f9a00cbefbbdff14e.bundle.js} +1 -1
  166. package/dist/{181.c774c100882c57944845.bundle.js → 251.663a795b11224052580c.bundle.js} +1 -1
  167. package/dist/{182.fdd2f967f63f356b856d.bundle.js → 252.999a39e3a433d7445aa7.bundle.js} +1 -1
  168. package/dist/{183.803408193331683fa4b0.bundle.js → 253.081f9c4b3d60cd65e9aa.bundle.js} +1 -1
  169. package/dist/{184.962fe21c6465aae64304.bundle.js → 254.b89b88bc6d59d7b9833d.bundle.js} +1 -1
  170. package/dist/{185.4dc415bcfd002e16c3c3.bundle.js → 255.36715aca979047e2b8e3.bundle.js} +1 -1
  171. package/dist/{186.e7927d5c165f0756aa34.bundle.js → 256.29017ff0be66d2b4353c.bundle.js} +1 -1
  172. package/dist/257.05a4ef17a0bcd0a1ce7d.bundle.js +1 -0
  173. package/dist/258.b0f9ad9881b8257b886c.bundle.js +1 -0
  174. package/dist/259.bad8b620532f9a7f1a9c.bundle.js +1 -0
  175. package/dist/26.cc94540ae94deb213364.bundle.js +2 -0
  176. package/dist/260.315712ab3d8923b6d599.bundle.js +1 -0
  177. package/dist/27.fb751bfbeb428f9d39ed.bundle.js +1 -0
  178. package/dist/28.774958af1410808c4cb3.bundle.js +1 -0
  179. package/dist/29.bbf777d7b38109895f31.bundle.js +1 -0
  180. package/dist/{3.10956434057c4f020bc0.bundle.js → 3.25914987b0e6f3cf0720.bundle.js} +1 -1
  181. package/dist/30.a54e6b360ce65dda29de.bundle.js +1 -0
  182. package/dist/31.701a4155aa1ea9a59be8.bundle.js +1 -0
  183. package/dist/32.131c4f101568cc584815.bundle.js +1 -0
  184. package/dist/33.1bea0329c6cde88543e0.bundle.js +1 -0
  185. package/dist/34.951711b1f5e1dc617af7.bundle.js +2 -0
  186. package/dist/35.4fc18d3bf2a218743879.bundle.js +1 -0
  187. package/dist/36.de41b6646f93461f9b4a.bundle.js +1 -0
  188. package/dist/37.8782d94f56e28ae5699e.bundle.js +1 -0
  189. package/dist/38.83f8d43eb060da7993d6.bundle.js +1 -0
  190. package/dist/{28.ca97dd7e725fc87cf773.bundle.js → 39.53d26eaac26400920d3b.bundle.js} +1 -1
  191. package/dist/4.3551c57aaa64bff8835e.bundle.js +1 -0
  192. package/dist/{29.b09906e213d58bc57e88.bundle.js → 40.950e50da2f9f3e22f2cd.bundle.js} +2 -2
  193. package/dist/41.5408870c41f4965e3cd9.bundle.js +2 -0
  194. package/dist/42.972431d29ea254ada8e4.bundle.js +1 -0
  195. package/dist/43.4347939a86862cb5771c.bundle.js +1 -0
  196. package/dist/44.77980159bb134592ff0e.bundle.js +1 -0
  197. package/dist/{33.0cc559b0d4091414bb54.bundle.js → 45.85421a39ca69d18b8322.bundle.js} +1 -1
  198. package/dist/46.fa5a6fd62552161d28cc.bundle.js +1 -0
  199. package/dist/47.dcd7b017280fbe1d5e6d.bundle.js +1 -0
  200. package/dist/48.505d1d1d83733fac6e16.bundle.js +1 -0
  201. package/dist/{34.c9f9691c999cf78641af.bundle.js → 49.e0d84929a006679cbc35.bundle.js} +1 -1
  202. package/dist/5.d9d90b157fdaa91b866e.bundle.js +1 -0
  203. package/dist/50.004a4af981a78b651143.bundle.js +1 -0
  204. package/dist/{37.c98ca302abf4ec046ce4.bundle.js → 51.8eb0c748c1018f4fe81a.bundle.js} +1 -1
  205. package/dist/52.e179d2e9fe2170025a23.bundle.js +1 -0
  206. package/dist/53.51715f6920a0d475db78.bundle.js +1 -0
  207. package/dist/54.d8895254c05b0eddb2d7.bundle.js +1 -0
  208. package/dist/{39.b6b83948c01021f7a8d7.bundle.js → 55.7f6e00d292fffb055321.bundle.js} +1 -1
  209. package/dist/56.bbbafb6ad99ab88e3e3c.bundle.js +1 -0
  210. package/dist/57.ea170e0cdbac3399c12f.bundle.js +1 -0
  211. package/dist/58.678fc36a86123cd3c103.bundle.js +1 -0
  212. package/dist/59.b11a99d4d3a0caee0588.bundle.js +1 -0
  213. package/dist/6.5fc1cfc448e8c5a5954d.bundle.js +1 -0
  214. package/dist/60.bbb92b2f9c32c3e76856.bundle.js +1 -0
  215. package/dist/61.a27f7a4ca2f8766b02ae.bundle.js +1 -0
  216. package/dist/62.ae6ec669210e6d33791a.bundle.js +1 -0
  217. package/dist/{45.aa715f690eb4e3468ae4.bundle.js → 63.7e58d3a1de24978af0cf.bundle.js} +1 -1
  218. package/dist/{46.03a18c3b4705657028c7.bundle.js → 64.8c427b147be89e257aaa.bundle.js} +1 -1
  219. package/dist/{47.de8f482d83f6ff53af79.bundle.js → 65.1ebb3c6e7958c191a816.bundle.js} +1 -1
  220. package/dist/{48.5ce4ade52b37df011790.bundle.js → 66.1ca373fee60d10d15da2.bundle.js} +1 -1
  221. package/dist/{49.4eff5013c8b59b697939.bundle.js → 67.6e17872b3095b7cae45b.bundle.js} +1 -1
  222. package/dist/{50.5feea66baa4d9e70396f.bundle.js → 68.f2f5f1cef4c7fe1d8658.bundle.js} +1 -1
  223. package/dist/{51.ba7dda28dd61b62002a8.bundle.js → 69.ac3d0c152151e7bda04c.bundle.js} +1 -1
  224. package/dist/7.7f548e4bf06d93d622a6.bundle.js +107 -0
  225. package/dist/{52.23a7b2805c058430ef8b.bundle.js → 70.d4da1a4298924c7cfde7.bundle.js} +1 -1
  226. package/dist/{53.1b3bb03b758295ea5c0d.bundle.js → 71.a0d3b0575b4550fbd0d5.bundle.js} +1 -1
  227. package/dist/72.45970eca6c53fc2082b1.bundle.js +1 -0
  228. package/dist/73.b86c92e0633514510e30.bundle.js +1 -0
  229. package/dist/74.37cb391e1770be93ae7e.bundle.js +1 -0
  230. package/dist/{58.f7e27a6215d46caeae82.bundle.js → 75.c15d2baeb4e261774e66.bundle.js} +1 -1
  231. package/dist/76.3044e211ffb1a18e6297.bundle.js +1 -0
  232. package/dist/{60.34ee8b33f83a84b91ef2.bundle.js → 77.052cac15a3fb3c268e25.bundle.js} +1 -1
  233. package/dist/78.6adc7e75e4805b7f13f1.bundle.js +1 -0
  234. package/dist/{62.09db021d7b732ef8e3d4.bundle.js → 79.34d36c5e3c0afbed5a4a.bundle.js} +1 -1
  235. package/dist/8.3d41d3dacec531daf943.bundle.js +1 -0
  236. package/dist/80.812f2e5bf5616dfb3b9c.bundle.js +1 -0
  237. package/dist/{64.49fe3ef08234938e3a12.bundle.js → 81.b35534f1c1b823bd1432.bundle.js} +1 -1
  238. package/dist/82.8af1a65c7e9828f2c553.bundle.js +1 -0
  239. package/dist/{65.ce158ae1558fcbbb2b86.bundle.js → 83.71b27bbf6df60c251fc4.bundle.js} +1 -1
  240. package/dist/84.bb6755b86849074cbd6c.bundle.js +1 -0
  241. package/dist/85.1b5c7e351c06699dd48d.bundle.js +1 -0
  242. package/dist/{67.f090cccd81c66d5dcbbf.bundle.js → 86.7f3074846b48f5a77b5f.bundle.js} +1 -1
  243. package/dist/87.cc275c2d267b6541d0a5.bundle.js +1 -0
  244. package/dist/{69.d038f54e7f48b8f8b7e1.bundle.js → 88.34ff1849743b93d123ef.bundle.js} +1 -1
  245. package/dist/89.b582db84d793fdd02b86.bundle.js +1 -0
  246. package/dist/{8.11f9e082f2a92983a84c.bundle.js → 9.89676695017714c22972.bundle.js} +1 -1
  247. package/dist/{71.0ce39af5dfd51c8db5f7.bundle.js → 90.5278b8eefae319ab0118.bundle.js} +1 -1
  248. package/dist/91.03b700d8ce2beb4d1578.bundle.js +1 -0
  249. package/dist/92.2bc139110eff2fec5885.bundle.js +1 -0
  250. package/dist/93.ee47d1d9b8bfd85560a4.bundle.js +1 -0
  251. package/dist/94.afdecae03a366ec0966f.bundle.js +1 -0
  252. package/dist/95.fa9987ac010eb7a2357e.bundle.js +1 -0
  253. package/dist/96.3c84189d70067aca109d.bundle.js +1 -0
  254. package/dist/97.b7d8a4eb70093bc5239d.bundle.js +1 -0
  255. package/dist/{79.3a2de1e65f7006eeec50.bundle.js → 98.ebf44cfe42ec53d47560.bundle.js} +1 -1
  256. package/dist/99.03c7d2f3d0681291c199.bundle.js +1 -0
  257. package/dist/bundle.8c87a0facf889de142ea.bundle.js +92 -0
  258. package/dist/css/bootstrap-graphdb-theme.css +10 -0
  259. package/dist/css/clustermanagement.css +4 -1
  260. package/dist/css/create-similarity-index.css +8 -0
  261. package/dist/css/explore.css +0 -3
  262. package/dist/css/graphs-config.css +10 -5
  263. package/dist/css/lib/ontotext-yasgui-web-component.css +27 -0
  264. package/dist/css/similarity.css +0 -8
  265. package/dist/css/sparql-editor.css +65 -0
  266. package/dist/css/workbench-custom.css +4 -0
  267. package/dist/i18n/locale-en.json +15 -4
  268. package/dist/i18n/locale-fr.json +17 -4
  269. package/dist/index.html +4 -4
  270. package/dist/js/angular/core/directives/queryeditor/templates/query-editor.html +3 -0
  271. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  272. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +17 -0
  273. package/dist/js/angular/core/templates/modal/modal-warning.html +1 -1
  274. package/dist/js/angular/repositories/templates/ontop-repo.html +1 -1
  275. package/dist/js/angular/security/templates/user.html +34 -31
  276. package/dist/license-checker.json +65 -17
  277. package/dist/{main.7b7930d01538072be711.css → main.d52d5b1225b21c782003.css} +1 -1
  278. package/dist/main.f018c6cdfb297e0a71ca.bundle.js +1 -0
  279. package/dist/pages/autocomplete.html +1 -1
  280. package/dist/pages/choose-repository-type.html +1 -1
  281. package/dist/pages/cluster-management/clusterInfo.html +35 -27
  282. package/dist/pages/create-index.html +243 -170
  283. package/dist/pages/dependencies.html +1 -1
  284. package/dist/pages/domainRangeInfo.html +2 -2
  285. package/dist/pages/edit.html +26 -17
  286. package/dist/pages/explore.html +79 -50
  287. package/dist/pages/export.html +1 -1
  288. package/dist/pages/find.html +1 -1
  289. package/dist/pages/graph-config/saveGraphConfig.html +221 -287
  290. package/dist/pages/graphs-visualizations.html +14 -15
  291. package/dist/pages/guides.html +1 -1
  292. package/dist/pages/import.html +1 -1
  293. package/dist/pages/jdbc-create.html +185 -130
  294. package/dist/pages/licenseInfo.html +3 -3
  295. package/dist/pages/monitor/queries.html +1 -1
  296. package/dist/pages/monitor/resources.html +2 -2
  297. package/dist/pages/namespaces.html +2 -2
  298. package/dist/pages/plugins.html +1 -1
  299. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  300. package/dist/pages/rdfrank.html +2 -2
  301. package/dist/pages/registerLicenseInfo.html +5 -5
  302. package/dist/pages/repositories.html +2 -2
  303. package/dist/pages/repository.html +4 -4
  304. package/dist/pages/similarity-indexes.html +68 -100
  305. package/dist/pages/sparql-editor.html +15 -0
  306. package/dist/pages/sparql-template-create.html +66 -48
  307. package/dist/pages/sparql-templates.html +1 -1
  308. package/dist/pages/sparql.html +3 -3
  309. package/dist/pages/webapi.html +2 -2
  310. package/dist/plugins.js +27 -27
  311. package/dist/polyfills-dom.6783c309b046fd357441.bundle.js +19 -0
  312. package/dist/res/swagger/index.html +27 -27
  313. package/dist/{vendor.224241bf9d8f844fca28.bundle.js → vendor.c1c3fe4806eb70c53e4c.bundle.js} +7 -21
  314. package/dist/vendors~polyfills-core-js.903b2eecd22729be8a43.bundle.js +1 -0
  315. package/package.json +3 -1
  316. package/dist/0.521923d7e407be5052c4.bundle.js +0 -81
  317. package/dist/10.1bc1c78168b3104e6097.bundle.js +0 -1
  318. package/dist/103.e319b2c151b78a3dd969.bundle.js +0 -1
  319. package/dist/105.90358c5e94505da5748f.bundle.js +0 -1
  320. package/dist/109.f4bf03775869349a3a2d.bundle.js +0 -1
  321. package/dist/116.bd8aef67218a7c71c3b8.bundle.js +0 -1
  322. package/dist/118.6e44affdc85c61a999e5.bundle.js +0 -1
  323. package/dist/119.7f6eede243c776d2486a.bundle.js +0 -1
  324. package/dist/12.8a89c0b067c479b2567c.bundle.js +0 -29
  325. package/dist/120.a0202e9bede746553eac.bundle.js +0 -1
  326. package/dist/125.a62530239be650aa565a.bundle.js +0 -1
  327. package/dist/127.9ca88cabf77cd3ed9b22.bundle.js +0 -1
  328. package/dist/13.7f36f4577f893976d29b.bundle.js +0 -1
  329. package/dist/130.955a6226ca3d04c9c342.bundle.js +0 -1
  330. package/dist/14.401ef56f1afe96360d8f.bundle.js +0 -1
  331. package/dist/147.c29c7a9dc8663cb94c23.bundle.js +0 -1
  332. package/dist/149.11ad7aae9d483e5b4f3b.bundle.js +0 -1
  333. package/dist/17.814ed6b6b6cefc833cd0.bundle.js +0 -1
  334. package/dist/176.6e6c8c3d3c76563652e5.bundle.js +0 -1
  335. package/dist/18.5206d408e41cfd83382e.bundle.js +0 -2
  336. package/dist/187.f628be7d50677e6c21e8.bundle.js +0 -1
  337. package/dist/188.139b0bf94575d4ec0464.bundle.js +0 -1
  338. package/dist/19.2c55d287dd98a6181e1e.bundle.js +0 -2
  339. package/dist/2.6b20719231ef769ef756.bundle.js +0 -27
  340. package/dist/20.00fa9e43a97025ee239c.bundle.js +0 -3
  341. package/dist/21.0dac10c72b7ec542c507.bundle.js +0 -1
  342. package/dist/22.e24e65e05d48dacc9fa7.bundle.js +0 -1
  343. package/dist/23.367ad732fba61b2ebf79.bundle.js +0 -1
  344. package/dist/24.de41257c2f9fae3aaa47.bundle.js +0 -1
  345. package/dist/25.b8599af57021e284090b.bundle.js +0 -1
  346. package/dist/26.85c75d82f4d85c090319.bundle.js +0 -1
  347. package/dist/27.68af47ffba6c5b4384fd.bundle.js +0 -1
  348. package/dist/30.e2bc9500b57cc773a806.bundle.js +0 -1
  349. package/dist/31.1e46b073b0a2e9340042.bundle.js +0 -1
  350. package/dist/32.cac8d09cf03656431106.bundle.js +0 -1
  351. package/dist/35.978ae512b6b63ece9675.bundle.js +0 -1
  352. package/dist/36.78ee9fb5d587d3382054.bundle.js +0 -1
  353. package/dist/38.846f61bb4f289cb1fde5.bundle.js +0 -1
  354. package/dist/4.9d940cf25f2845ed7ee1.bundle.js +0 -1
  355. package/dist/40.61dbad996b579d048fbb.bundle.js +0 -1
  356. package/dist/41.b29fb4b085f18c915542.bundle.js +0 -1
  357. package/dist/42.0758ca089d0faa2b584d.bundle.js +0 -1
  358. package/dist/43.badb6ee59810875e003f.bundle.js +0 -1
  359. package/dist/44.5024871c5c2a564ac8c8.bundle.js +0 -1
  360. package/dist/5.85f96c781d15fe5e3f63.bundle.js +0 -1
  361. package/dist/54.2c0d605ca6ff30ed65ea.bundle.js +0 -1
  362. package/dist/55.a9040391b2f5ff434d5e.bundle.js +0 -1
  363. package/dist/56.a46c28b445dc25fc0b56.bundle.js +0 -1
  364. package/dist/57.75f02b534736941cb7e3.bundle.js +0 -1
  365. package/dist/59.03b71532977066b025f3.bundle.js +0 -1
  366. package/dist/61.fca3217f3062efab32b4.bundle.js +0 -1
  367. package/dist/63.d645004d8e39adacbc0d.bundle.js +0 -1
  368. package/dist/66.543037d7bd73aa08cb91.bundle.js +0 -1
  369. package/dist/68.c1e915fa243fe050b6be.bundle.js +0 -1
  370. package/dist/7.7fce442d9545c7617920.bundle.js +0 -2
  371. package/dist/70.01f43d5ef3da8b3051f3.bundle.js +0 -1
  372. package/dist/72.9778d0244f73cf66dab0.bundle.js +0 -1
  373. package/dist/73.4c1e5c5ab3176423523e.bundle.js +0 -1
  374. package/dist/74.a2ca8535e0a3a9ebc2c9.bundle.js +0 -1
  375. package/dist/75.3ef5a82713cfbb6a4997.bundle.js +0 -1
  376. package/dist/76.7ccfd1d1a3fb218e0c5b.bundle.js +0 -1
  377. package/dist/77.599abfd8b29cce0372fb.bundle.js +0 -1
  378. package/dist/78.d48207584b32fc3f1a6d.bundle.js +0 -1
  379. package/dist/80.065493abe5c2cddaafe1.bundle.js +0 -1
  380. package/dist/81.8bfb34ac6ac33ac48129.bundle.js +0 -1
  381. package/dist/82.3eda50d68416d6bde659.bundle.js +0 -1
  382. package/dist/83.946b176c2c59809db2af.bundle.js +0 -1
  383. package/dist/84.cf157206ed8f8a4a4dc5.bundle.js +0 -1
  384. package/dist/85.57db59b0f363a1a2e77d.bundle.js +0 -1
  385. package/dist/86.7889949a3dd9c911eeca.bundle.js +0 -1
  386. package/dist/87.cfc988cdda59f8a5cddc.bundle.js +0 -1
  387. package/dist/88.7f47000a9427ac0f8167.bundle.js +0 -1
  388. package/dist/89.346832ac06773bffaff5.bundle.js +0 -1
  389. package/dist/9.c4de9075b7e65e447bd8.bundle.js +0 -1
  390. package/dist/90.c2a3f4e7cd6d52e227d8.bundle.js +0 -1
  391. package/dist/91.100ad457041038ce581d.bundle.js +0 -1
  392. package/dist/92.73a50ee88b602779dbad.bundle.js +0 -1
  393. package/dist/93.282f64bbd45b64216603.bundle.js +0 -1
  394. package/dist/94.285865c04317a0ab6f4b.bundle.js +0 -1
  395. package/dist/95.211481d2cb3b66268d22.bundle.js +0 -1
  396. package/dist/96.e4cf25f5cee283a34a04.bundle.js +0 -1
  397. package/dist/97.bf3a956077455265ec32.bundle.js +0 -1
  398. package/dist/98.65482610a5d5c03bce1f.bundle.js +0 -1
  399. package/dist/99.dc53cf077c07dadd84f4.bundle.js +0 -1
  400. package/dist/bundle.0d5ad692ba3eccb16214.bundle.js +0 -91
  401. package/dist/css/jdbc.css +0 -3
  402. package/dist/main.5022644187abf4bf19e7.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[39,115],{43:function(n,e){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(n){return{getConnectors:function(){return n.get("rest/connectors")},initConnector:function(e){return n.get("rest/connectors/options?prefix="+e)},hasConnector:function(e){return n.get("rest/connectors/existing?prefix="+e)},checkConnector:function(e){return n.post("rest/connectors/check",e,{headers:{"Content-Type":"text/plain"}})}}}},57:function(n,e,t){"use strict";t.r(e);t(16),t(43);function o(n){const e=[];return Object.keys(n).forEach((function(t){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]))})),e.join("&")}function r(n,e){return _.reduce(n,(function(n,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(e.instant("externalsync.empty.value.key.error",{value:t.value}));if(n.hasOwnProperty(t.key))throw new Error(e.instant("externalsync.duplicate.key.error",{key:t.key}));n[t.key]=t.value}return n}),{})}function i(n,e){for(let o=0;o<e.length;o++){const r=e[o];if("StringArray"===r.__type)n[r.__name]||(n[r.__name]=[""]);else if("OptionArray"===r.__type)if(n[r.__name])for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];if("Boolean"===t.__type)for(let e=0;e<n[r.__name].length;e++){const o=n[r.__name][e];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{n[r.__name]=[];const e={};for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];"StringArray"===t.__type?e[t.__name]=[""]:e[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}n[r.__name].push(e)}else"Map"===r.__type?n[r.__name]?n[r.__name]=(t=n[r.__name],_.map(t,(function(n,e){return{key:e,value:n}}))):n[r.__name]=[]:"JsonString"===r.__type?!n[r.__name]||n[r.__name]instanceof String||"string"==typeof n[r.__name]||(n[r.__name]=angular.toJson(n[r.__name],2)):angular.isUndefined(n[r.__name])&&(n[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return n}function a(n,e,t){return n.post("repositories/"+e,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function c(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const a=function n(e,t){const o={};return _.each(t,(function(t){angular.isDefined(e[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(e[t.__name],(function(e){o[t.__name].push(n(e,t.__childOptions))}))):o[t.__name]=angular.copy(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?a[o[n].__name]=r(a[o[n].__name],$translate):"JsonString"===o[n].__type&&(a[o[n].__name]=angular.fromJson(a[o[n].__name]))}catch(e){return i(o[n].__label,e.message),null}!function n(e){Array.isArray(e)&&(e=_.filter(e,(function(n){return null!==n&&(!n.trim||""!==n.trim())})));return Object.keys(e).forEach((function(t){""!==e[t]&&null!=e[t]||!1===e[t]?"object"==typeof e[t]&&(e[t]=n(e[t])):delete e[t]})),e}(a);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+c(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(a,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,p,f,g,d){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?d.instant("externalsync.repairing"):d.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:c(e)+t,name:t,inline:!1,doneCallback:function(){n.beingBuiltConnector.modalInstance.dismiss("cancel")}}),n.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:n}),n.beingBuiltConnector.modalInstance}function C(e,r,i){const a=y(e.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(d.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){a.dismiss("cancel")}))}n.loader=!1,n.controllers=[],n.existing={},n.definitions={},n.getLoaderMessage=function(){const e=(Date.now()-n.loaderStartTime)/1e3,t=n.getHumanReadableSeconds(e);let o="";return o=n.progressMessage?n.progressMessage+"... "+t:d.instant("common.running.operation",{timeHuman:t}),n.extraMessage&&e>10&&(o+="\n"+n.extraMessage),o},n.setLoader=function(e,t,o){e?(n.loader=!0,n.loaderStartTime=Date.now(),n.progressMessage=t,n.extraMessage=o):(n.loader=!1,n.progressMessage="",n.extraMessage="")},n.initConnector=function(e){return g.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,g.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,d.instant("externalsync.fetching.connectors"),d.instant("common.extra.message")),g.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),p.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return a(e,t.getActiveRepository(),n)}(o).then((function(e){const t=function(n){if(n.bindings)for(let e=0;e<n.bindings.length;e++)try{const t=JSON.parse(n.bindings[e].status.value);if("BUILDING"===t.status)return{connector:n.bindings[e].connector.value,status:t}}catch(n){console.error(n)}return{}}(e.data.results);if(t.connector){const e=t.connector.split(/#/);e[0]=e[0].replace(/\/instance$/,"#"),o=e[0],r=e[1],m(),$.extend(n.beingBuiltConnector,{iri:c(o)+r,name:r,inline:!0,doneCallback:function(){n.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){n.setLoader(!1)})):n.setLoader(!1)}))})).catch((function(e){n.setLoader(!1),l.error(getError(e),d.instant("externalsync.could.not.get.connectors.error"))})),n.existing={})},n.getOptions=function(e){return n.definitions[e.key]},n.isEmpty=function(n){return angular.isObject(n)&&0===Object.keys(n).length},n.toPrettyJson=function(n){return angular.toJson(n,2)},n.$watch((function(){return t.getActiveRepository()}),n.getConnectors),n.$watch((function(){return t.getActiveLocation()}),n.getConnectors),n.copyConnector=function(e,t){let o;angular.isUndefined(t)||(o=angular.copy(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.newConnector=function(e,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.repair=function(e,r){u.openSimpleModal({title:d.instant("externalsync.confirm.repair"),message:d.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),a=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+c(u)+s+'> prefix:repairConnector ""\n}');var s,u;f.addStatements(t.getActiveRepository(),o({update:a})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(d.instant("externalsync.repair.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){i.dismiss("cancel")}))}))},n.delete=function(e,i){const a=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return a?d.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,d.instant("externalsync.delete.progress.msg",{name:e.name}),d.instant("externalsync.extra.message.warning"));const c=function(n,e,t){const o=e.substring(0,e.length-1)+"/instance#";return"PREFIX prefix:<"+e+">\nINSERT DATA {\n\t<"+o+n+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(e.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:c})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(d.instant("externalsync.delete.force.success.msg",{name:e.name})),a&&l.warning(d.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(d.instant("externalsync.delete.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){n.setLoader(!1)}))}))},n.viewQuery=function(e,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=n.getOptions(e);return s(t.name,e.value,i(t.values,o),o)}}})}}function u(n,e,t){n.force=!1,n.popoverMsg=t,n.ok=function(){e.close(n.force)},n.cancel=function(){e.dismiss()}}function p(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=angular.copy(n.defaultValues[t][0]);n.values[t].splice(e+1,0,o)},n.addOption=function(n,e){e.splice(n+1,0,"")},n.deleteOption=function(n,e){e.splice(n,1)},n.addMapOption=function(n,e){e.splice(n+1,0,{key:"",value:""})},n.deleteMapOption=function(n,e){e.splice(n,1)},n.ok=function(){if(n.form.$valid){const t=i();t&&e.close({name:n.name,values:n.values,options:n.options,query:t})}},n.viewQuery=function(){const n=i();n&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},n.cancel=function(){e.dismiss("cancel")}}function f(n,e,t,o,r,a,c,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:a})),n.values=c.values,n.options=s,n.name=c.name,c.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=angular.copy(n.values)}function g(n,e,t,o,r){function i(){const i=function(n){const e=n.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+n+"> <"+e+"> ?status",t+="\n}",t}(n.beingBuiltConnector.iri);n.beingBuiltConnector.iri=null,n.progressInterval=e((function(){(function(n){return a(t,o.getActiveRepository(),n)})(i).then((function(t){const o=function(n){if(n.bindings&&n.bindings.length>0)try{return JSON.parse(n.bindings[0].status.value)}catch(n){console.error(n)}return{}}(t.data.results);"BUILDING"===o.status?(n.beingBuiltConnector.status=o,n.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),n.beingBuiltConnector.eta=n.getHumanReadableSeconds(o.etaSeconds),n.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),n.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||n.beingBuiltConnector.waitOnRepairStartOnce||(e.cancel(n.progressInterval),n.beingBuiltConnector.doneCallback&&n.beingBuiltConnector.doneCallback())}))}),1e3),n.$on("$destroy",(function(){e.cancel(n.progressInterval)}))}n.beingBuiltConnector=n.beingBuiltConnector||{},!n.beingBuiltConnector.inline&&n.beingBuiltConnector.iri&&i(),n.$watch("beingBuiltConnector.iri",(function(e){n.beingBuiltConnector.inline&&e&&i()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",l).controller("ExtendNewConnectorCtrl",p).controller("CreateConnectorCtrl",f).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",u).filter("ceil",(function(){return function(n){return Math.ceil(n)}})),l.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","popoverMsg"],p.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],f.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[55,176],{44:function(n,e){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(n){return{getConnectors:function(){return n.get("rest/connectors")},initConnector:function(e){return n.get("rest/connectors/options?prefix="+e)},hasConnector:function(e){return n.get("rest/connectors/existing?prefix="+e)},checkConnector:function(e){return n.post("rest/connectors/check",e,{headers:{"Content-Type":"text/plain"}})}}}},50:function(n,e,t){"use strict";t.r(e);t(14),t(44);function o(n){const e=[];return Object.keys(n).forEach((function(t){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]))})),e.join("&")}function r(n,e){return _.reduce(n,(function(n,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(e.instant("externalsync.empty.value.key.error",{value:t.value}));if(n.hasOwnProperty(t.key))throw new Error(e.instant("externalsync.duplicate.key.error",{key:t.key}));n[t.key]=t.value}return n}),{})}function i(n,e){for(let o=0;o<e.length;o++){const r=e[o];if("StringArray"===r.__type)n[r.__name]||(n[r.__name]=[""]);else if("OptionArray"===r.__type)if(n[r.__name])for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];if("Boolean"===t.__type)for(let e=0;e<n[r.__name].length;e++){const o=n[r.__name][e];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{n[r.__name]=[];const e={};for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];"StringArray"===t.__type?e[t.__name]=[""]:e[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}n[r.__name].push(e)}else"Map"===r.__type?n[r.__name]?n[r.__name]=(t=n[r.__name],_.map(t,(function(n,e){return{key:e,value:n}}))):n[r.__name]=[]:"JsonString"===r.__type?!n[r.__name]||n[r.__name]instanceof String||"string"==typeof n[r.__name]||(n[r.__name]=angular.toJson(n[r.__name],2)):angular.isUndefined(n[r.__name])&&(n[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return n}function a(n,e,t){return n.post("repositories/"+e,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function c(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const a=function n(e,t){const o={};return _.each(t,(function(t){angular.isDefined(e[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(e[t.__name],(function(e){o[t.__name].push(n(e,t.__childOptions))}))):o[t.__name]=angular.copy(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?a[o[n].__name]=r(a[o[n].__name],$translate):"JsonString"===o[n].__type&&(a[o[n].__name]=angular.fromJson(a[o[n].__name]))}catch(e){return i(o[n].__label,e.message),null}!function n(e){Array.isArray(e)&&(e=_.filter(e,(function(n){return null!==n&&(!n.trim||""!==n.trim())})));return Object.keys(e).forEach((function(t){""!==e[t]&&null!=e[t]||!1===e[t]?"object"==typeof e[t]&&(e[t]=n(e[t])):delete e[t]})),e}(a);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+c(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(a,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,p,f,g,d){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?d.instant("externalsync.repairing"):d.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:c(e)+t,name:t,inline:!1,doneCallback:function(){n.beingBuiltConnector.modalInstance.dismiss("cancel")}}),n.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:n}),n.beingBuiltConnector.modalInstance}function C(e,r,i){const a=y(e.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(d.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){a.dismiss("cancel")}))}n.loader=!1,n.controllers=[],n.existing={},n.definitions={},n.getLoaderMessage=function(){const e=(Date.now()-n.loaderStartTime)/1e3,t=n.getHumanReadableSeconds(e);let o="";return o=n.progressMessage?n.progressMessage+"... "+t:d.instant("common.running.operation",{timeHuman:t}),n.extraMessage&&e>10&&(o+="\n"+n.extraMessage),o},n.setLoader=function(e,t,o){e?(n.loader=!0,n.loaderStartTime=Date.now(),n.progressMessage=t,n.extraMessage=o):(n.loader=!1,n.progressMessage="",n.extraMessage="")},n.initConnector=function(e){return g.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,g.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,d.instant("externalsync.fetching.connectors"),d.instant("common.extra.message")),g.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),p.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return a(e,t.getActiveRepository(),n)}(o).then((function(e){const t=function(n){if(n.bindings)for(let e=0;e<n.bindings.length;e++)try{const t=JSON.parse(n.bindings[e].status.value);if("BUILDING"===t.status)return{connector:n.bindings[e].connector.value,status:t}}catch(n){console.error(n)}return{}}(e.data.results);if(t.connector){const e=t.connector.split(/#/);e[0]=e[0].replace(/\/instance$/,"#"),o=e[0],r=e[1],m(),$.extend(n.beingBuiltConnector,{iri:c(o)+r,name:r,inline:!0,doneCallback:function(){n.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){n.setLoader(!1)})):n.setLoader(!1)}))})).catch((function(e){n.setLoader(!1),l.error(getError(e),d.instant("externalsync.could.not.get.connectors.error"))})),n.existing={})},n.getOptions=function(e){return n.definitions[e.key]},n.isEmpty=function(n){return angular.isObject(n)&&0===Object.keys(n).length},n.toPrettyJson=function(n){return angular.toJson(n,2)},n.$watch((function(){return t.getActiveRepository()}),n.getConnectors),n.$watch((function(){return t.getActiveLocation()}),n.getConnectors),n.copyConnector=function(e,t){let o;angular.isUndefined(t)||(o=angular.copy(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.newConnector=function(e,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.repair=function(e,r){u.openSimpleModal({title:d.instant("externalsync.confirm.repair"),message:d.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),a=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+c(u)+s+'> prefix:repairConnector ""\n}');var s,u;f.addStatements(t.getActiveRepository(),o({update:a})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(d.instant("externalsync.repair.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){i.dismiss("cancel")}))}))},n.delete=function(e,i){const a=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return a?d.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,d.instant("externalsync.delete.progress.msg",{name:e.name}),d.instant("externalsync.extra.message.warning"));const c=function(n,e,t){const o=e.substring(0,e.length-1)+"/instance#";return"PREFIX prefix:<"+e+">\nINSERT DATA {\n\t<"+o+n+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(e.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:c})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(d.instant("externalsync.delete.force.success.msg",{name:e.name})),a&&l.warning(d.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(d.instant("externalsync.delete.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){n.setLoader(!1)}))}))},n.viewQuery=function(e,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=n.getOptions(e);return s(t.name,e.value,i(t.values,o),o)}}})}}function u(n,e,t){n.force=!1,n.popoverMsg=t,n.ok=function(){e.close(n.force)},n.cancel=function(){e.dismiss()}}function p(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=angular.copy(n.defaultValues[t][0]);n.values[t].splice(e+1,0,o)},n.addOption=function(n,e){e.splice(n+1,0,"")},n.deleteOption=function(n,e){e.splice(n,1)},n.addMapOption=function(n,e){e.splice(n+1,0,{key:"",value:""})},n.deleteMapOption=function(n,e){e.splice(n,1)},n.ok=function(){if(n.form.$valid){const t=i();t&&e.close({name:n.name,values:n.values,options:n.options,query:t})}},n.viewQuery=function(){const n=i();n&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},n.cancel=function(){e.dismiss("cancel")}}function f(n,e,t,o,r,a,c,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:a})),n.values=c.values,n.options=s,n.name=c.name,c.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=angular.copy(n.values)}function g(n,e,t,o,r){function i(){const i=function(n){const e=n.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+n+"> <"+e+"> ?status",t+="\n}",t}(n.beingBuiltConnector.iri);n.beingBuiltConnector.iri=null,n.progressInterval=e((function(){(function(n){return a(t,o.getActiveRepository(),n)})(i).then((function(t){const o=function(n){if(n.bindings&&n.bindings.length>0)try{return JSON.parse(n.bindings[0].status.value)}catch(n){console.error(n)}return{}}(t.data.results);"BUILDING"===o.status?(n.beingBuiltConnector.status=o,n.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),n.beingBuiltConnector.eta=n.getHumanReadableSeconds(o.etaSeconds),n.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),n.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||n.beingBuiltConnector.waitOnRepairStartOnce||(e.cancel(n.progressInterval),n.beingBuiltConnector.doneCallback&&n.beingBuiltConnector.doneCallback())}))}),1e3),n.$on("$destroy",(function(){e.cancel(n.progressInterval)}))}n.beingBuiltConnector=n.beingBuiltConnector||{},!n.beingBuiltConnector.inline&&n.beingBuiltConnector.iri&&i(),n.$watch("beingBuiltConnector.iri",(function(e){n.beingBuiltConnector.inline&&e&&i()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",l).controller("ExtendNewConnectorCtrl",p).controller("CreateConnectorCtrl",f).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",u).filter("ceil",(function(){return function(n){return Math.ceil(n)}})),l.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","popoverMsg"],p.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],f.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[56,114],{146:function(e,r,t){"use strict";t.r(r);t(4),t(15);const i=angular.module("graphdb.framework.impex.import.directives",["graphdb.framework.utils.uriutils"]);i.directive("validateUri",["UriUtils",function(e){return{restrict:"A",require:"ngModel",link:function(r,t,i,a){a.$parsers.unshift((function(t){let i=!0;return"named"===r.target&&(i=e.isValidIri(t)),a.$setValidity("validateUri",i),t}))}}}]),i.directive("filesTable",(function(){return{restrict:"A",templateUrl:"js/angular/import/templates/filesTable.html"}})),i.directive("filesOntoLoader",(function(){return{link:function(e,r,t){e.$watch("file.status",(function(){"IMPORTING"!==e.file.status&&"UPLOADING"!==e.file.status||!$(r).has("object").length>0&&$(r).append('<object width="'+t.size+'" height="'+t.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.4.0-TR1">{{\'common.loading\' | translate}}</object>')}))}}}))},196:function(e,r,t){"use strict";t.r(r);t(4),t(11),t(166),t(146),t(10),t(37),t(38);angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.directives","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives"])}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[57,118],{57:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},86:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(57);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[58,123],{110:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(83);class s{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(r){return r===t.JdbcDriverType.GENERIC}static isSnowflakeDriver(r){return r===t.JdbcDriverType.SNOWFLAKE}}},83:function(r,e,i){"use strict";i.r(e),i.d(e,"JdbcDriverType",(function(){return t}));const t={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[59,154],{115:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(84);class c{constructor(){this.type=t.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return t.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return t.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return t.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return t.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return t.SimilaritySearchType.isSearchDocumentType(this.type)}}},84:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearchType",(function(){return t}));const t={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>t.SEARCH_TERM===e,isSearchAnalogicalType:e=>t.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>t.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>t.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>t.SEARCH_DOCUMENT===e}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[6,31,38,48,140,141,149,150,151,152,155,196],{100:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},101:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(58);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})},151:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},152:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(58),n=t(100),s=t(43);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},153:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},168:function(e,i,t){"use strict";t.r(i);t(45),t(5),t(17);var r=t(101),n=t(42),s=t(43),a=t(46),y=t(153),l=t(100),o=t(49),d=t(151),u=t(56),c=t(152);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=l.SimilarityQueryType,e.SimilarityIndexType=o.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,M=void 0,C=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=l.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[o.SimilarityIndexType.PREDICATION]:e.samples=w[o.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.isDataQueryTypeSelected()?(i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.changeRenderMode(s.RenderingMode.YASQE)):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(k).then(z).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(k).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),i.query()})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===C,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===C,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===C,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery(),i.setQuery(e.similarityIndexInfo.getQuery()),e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>e.hasSelectQueryError()||e.hasSearchQueryError()||e.hasAnalogicalQueryError(),e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;l.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):l.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):l.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],l.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,l.SimilarityQueryType.ANALOGICAL)),w)if(o.SimilarityIndexType.PREDICATION===t){const e=w[o.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,l.SimilarityQueryType.DATA)}else{const e=w[o.SimilarityIndexType.TEXT].literals;i.setQuery(e,l.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?l.SimilarityQueryType.SEARCH:l.SimilarityQueryType.DATA);const n=p.search().options;t.options=n||(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,l.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,l.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,l.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B(),componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,pageSize:100,prefixes:M,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"/repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=o.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?o.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},k=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),z=e=>m.getIndexes().then(i=>(i.data.forEach(i=>{if(i.name===e.getName())return e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exist."))}),e)),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),C=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],M=r,Y().then(i=>{e.similarityIndexInfo=i;let t=l.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=l.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se()})}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},43:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},45:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},46:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},49:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},51:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},58:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(49),n=t(51);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[60,159],{52:function(e,a,n){"use strict";n.r(a),n.d(a,"TabQueryModel",(function(){return r}));class r{constructor(e="",a="",n="",r=!0){this.queryName=e,this.query=a,this.owner=n,this.isPublic=r}}},64:function(e,a,n){"use strict";n.r(a),n.d(a,"buildQueryModel",(function(){return t})),n.d(a,"savedQueriesResponseMapper",(function(){return u})),n.d(a,"savedQueryResponseMapper",(function(){return d})),n.d(a,"queryPayloadFromEvent",(function(){return o}));var r=n(52);const t=(e,a,n,t)=>new r.TabQueryModel(a,e,n,t),u=e=>e&&e.data?e.data.map?e.data.map(e=>t(e.body,e.name,e.owner,e.shared)):[t(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],d=e=>{const a=u(e);return a.length?a[0]:null},o=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[61,165],{156:function(n,e,i){"use strict";i.r(e);i(21);function t(n,e,i,t,r,o,s,l){let u;const a=function(){n.clear(),r.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()&&c()};n.clear=function(){n.searchPluginsTerm="",n.plugins=[],n.displayedPlugins=[]};const c=function(){g(),u=e((function(){g()}),5e3)},g=function(){s.getPlugins(n.getActiveRepository()).success((function(e){n.plugins=n.buildPluginsArray(e.results.bindings)})).error((function(n){i.error(getError(n))})).finally((function(){n.filterResults(),n.setLoader(!1)}))};n.buildPluginsArray=function(n){return n.map(n=>({name:n.s.value,enabled:"true"===n.o.value})).filter((function(n){return"plugincontrol"!==n.name&&"literals-index"!==n.name})).sort((function(n,e){const i=n.name.toLowerCase(),t=e.name.toLowerCase();return i<t?-1:i>t?1:0}))},n.filterResults=function(){const e=n.plugins.filter(e=>-1!==e.name.indexOf(n.searchPluginsTerm));f(e)&&n.updateDisplayedPlugins(e)};const f=function(e){if(!n.displayedPlugins||n.displayedPlugins.length!==e.length)return!0;for(const i in e)if(!n.displayedPlugins.find(n=>angular.equals(n,e[i])))return!0;return!1};function d(){u&&e.cancel(u)}n.updateDisplayedPlugins=function(e){n.displayedPlugins=e,setTimeout((function(){n.applyRowStyles()}),0)},n.setLoader=function(e,i){o.cancel(n.loaderTimeout),e?n.loaderTimeout=o((function(){n.loader=e,n.loaderMessage=i}),300):n.loader=!1},n.$on("repositoryIsSet",(function(){d(),a()})),n.$on("$destroy",(function(){d(),$(window).off("resize.plugin")})),$(window).on("resize.plugin",(function(){n.applyRowStyles()})),n.applyRowStyles=function(){const e=$("#wb-plugins-pluginInPlugins").width(),i=$("tr").width(),t=Math.floor(e/i);$(".wb-plugins-row").toArray().forEach((e,i)=>{n.isGreyBackground(t,i)?$(e).addClass("grey-row"):$(e).removeClass("grey-row")})},n.isGreyBackground=function(n,e){const i=(Math.floor(e/n)+1)%2!=1,t=e%2!=0;if(n%2!=0){if(i&&!t||!i&&!t)return!0;if(i&&t||!i&&t)return!1}else{if(i&&!t||!i&&t)return!1;if(i&&t||!i&&!t)return!0}},n.togglePlugin=function(e,t){const r=n.getActiveRepository(),o=t?l.instant("deactivating.plugin",{pluginName:e}):l.instant("activating.plugin",{pluginName:e});n.setLoader(!0,o),s.togglePlugin(r,t,e).error((function(n){i.error(getError(n))})).finally((function(){g(),n.setLoader(!1)}))},n.getLoaderMessage=function(){return n.loaderMessage||l.instant("common.loading")},n.onSearchTermChanged=function(){n.filterResults()},a()}angular.module("graphdb.framework.plugins.controllers",["graphdb.framework.rest.plugins.service"]).controller("PluginsCtrl",t),t.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$timeout","PluginsRestService","$translate"]},209:function(n,e,i){"use strict";i.r(e);i(156);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[62,167],{157:function(e,t,o){"use strict";o.r(t);o(4),o(13);const n=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);n.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate",function(e,t,o,n,r,i,s,u,a){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;const c=document.createElement("a");e.parseNode=function(e){if(null==e)return null;let t="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){c.href=e;let o=c.hostname;(function(e){const t=e.split(".");for(let e=0,o=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?o++:o=0,4===o)return!0;return!1})(c.hostname)||(o=c.hostname.split(".")[0]),t=o+":"+c.port}const o=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[o[2],t,o[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!r.getActiveRepository()||(e.getQueriesRunning=!0,u.monitorQuery(r.getActiveRepository()).success((function(t){const o=t;e.noQueries=0===o.length,e.queries={};for(let t=0;t<o.length;t++)o[t].parsedNode=e.parseNode(o[t].node),e.queries[o[t].trackId]=o[t];e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(t){e.error=getError(t),e.loader=!1,e.getQueriesRunning=!1})))};const l=n((function(){r.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){n.cancel(l)})),e.deleteQueryHttp=function(t){e.loader=!0,u.deleteQuery(t,r.getActiveRepository()).success((function(){o.success(a.instant("abort.request.sent.msg")),e.loader=!1})).error((function(t){const n=getError(t);o.error(n,a.instant("common.error")),e.loader=!1}))},e.abortQuery=function(t){s.openSimpleModal({title:a.instant("confirm.abort"),message:a.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.downloadQuery=function(e){const t="query_"+e+".rq";let o="/rest/monitor/repository/"+r.getActiveRepository()+"/query/download?query="+encodeURIComponent(e)+"&filename="+encodeURIComponent(t);i.isAuthenticated()&&(o=o+"&authToken="+encodeURIComponent(i.getAuthToken())),window.open(o,"_blank")},e.toggleQueryExpanded=function(t){e.expanded[t]=!e.expanded[t]}}]),n.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")}}])},211:function(e,t,o){"use strict";o.r(t);o(4),o(11),o(157);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[45,112],{39:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,e,a,s){this.filter=s,this.initialChartSetup(t,e,a)}initialChartSetup(t,e,a,s=!0){this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),s&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((e,a)=>{t[a].originalKey?t[a].originalKey=e.key:t[a].key=e.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const e=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const e=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==e?`<span class="data-value">${e}</span>`:"")});this.chartOptions.title.html=e.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,e){this.disableOldDataRemoval||t[0].values.length>e&&t.forEach(t=>t.values.shift())}addNewData(t,e,a,s){}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e);this.chartOptions.chart.yDomain=[0,a]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:s.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>s.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,e){let a;a=Array.isArray(t)?s.getMaxValueFromDataHolder(t):s.getMaxValueForDataSeries(t);const r=Math.round(a*(e||s.DEFAULT_MULTIPLIER))||1;return[r,Math.ceil(r/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e){const[a,r]=s.calculateMaxChartValueAndDivisions(t,e);return d3.range(0,a+1,r)}static formatBytesValue(t,e){let a=t;e&&(a=Math.max(...e.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const s=Math.floor(Math.log(a)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,s)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][s]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},54:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(39);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}chartSetup(t){const e={type:"stackedAreaChart",interpolate:"step-after",stacked:!0,yAxis:{showMaxMin:!1,tickFormat:function(t){return t},tickValues:()=>d3.range(0,this.nodesCount+1,1)}};Object.assign(t.chart,e)}getTitle(){return this.translateService.instant("resources.cluster_health.label")}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{key:this.translateService.instant("resources.cluster_health.in_sync"),color:t,values:[]},{key:this.translateService.instant("resources.cluster_health.syncing"),color:a,values:[]},{key:this.translateService.instant("resources.cluster_health.out_sync"),color:e,values:[]},{key:this.translateService.instant("resources.cluster_health.disconnected"),color:s,values:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;r.values.push([e,s.nodesInSync]),n.values.push([e,s.nodesOutOfSync]),l.values.push([e,s.nodesDisconnected]),i.values.push([e,s.nodesSyncing]);const o=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:a.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:a.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:a.failedTransactionsCount}];this.setSubTitle(o)}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[63,173],{41:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,e,a,s){this.filter=s,this.initialChartSetup(t,e,a)}initialChartSetup(t,e,a,s=!0){this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),s&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((e,a)=>{t[a].originalKey?t[a].originalKey=e.key:t[a].key=e.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const e=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const e=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==e?`<span class="data-value">${e}</span>`:"")});this.chartOptions.title.html=e.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,e){this.disableOldDataRemoval||t[0].values.length>e&&t.forEach(t=>t.values.shift())}addNewData(t,e,a,s){}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e);this.chartOptions.chart.yDomain=[0,a]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:s.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>s.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,e){let a;a=Array.isArray(t)?s.getMaxValueFromDataHolder(t):s.getMaxValueForDataSeries(t);const r=Math.round(a*(e||s.DEFAULT_MULTIPLIER))||1;return[r,Math.ceil(r/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e){const[a,r]=s.calculateMaxChartValueAndDivisions(t,e);return d3.range(0,a+1,r)}static formatBytesValue(t,e){let a=t;e&&(a=Math.max(...e.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const s=Math.floor(Math.log(a)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,s)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][s]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},81:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(41);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}chartSetup(t){const e={type:"stackedAreaChart",interpolate:"step-after",stacked:!0,yAxis:{showMaxMin:!1,tickFormat:function(t){return t},tickValues:()=>d3.range(0,this.nodesCount+1,1)}};Object.assign(t.chart,e)}getTitle(){return this.translateService.instant("resources.cluster_health.label")}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{key:this.translateService.instant("resources.cluster_health.in_sync"),color:t,values:[]},{key:this.translateService.instant("resources.cluster_health.syncing"),color:a,values:[]},{key:this.translateService.instant("resources.cluster_health.out_sync"),color:e,values:[]},{key:this.translateService.instant("resources.cluster_health.disconnected"),color:s,values:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;r.values.push([e,s.nodesInSync]),n.values.push([e,s.nodesOutOfSync]),l.values.push([e,s.nodesDisconnected]),i.values.push([e,s.nodesSyncing]);const o=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:a.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:a.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:a.failedTransactionsCount}];this.setSubTitle(o)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[46,112],{39:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},53:function(t,a,e){"use strict";e.r(a),e.d(a,"ConnectionsChart",(function(){return i}));var r=e(39);class i extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){t.chart.yAxis.tickValues=()=>i.getIntegerRangeForValues(this.dataHolder)}createDataHolder(){return[{key:this.translateService.instant("resource.connections.active"),values:[]},{key:this.translateService.instant("resource.connections.open"),values:[]}]}addNewData(t,a,e){const r=e.performanceData;t[0].values.push([a,r.activeTransactions]),t[1].values.push([a,r.openConnections])}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[64,173],{41:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},80:function(t,a,e){"use strict";e.r(a),e.d(a,"ConnectionsChart",(function(){return i}));var r=e(41);class i extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){t.chart.yAxis.tickValues=()=>i.getIntegerRangeForValues(this.dataHolder)}createDataHolder(){return[{key:this.translateService.instant("resource.connections.active"),values:[]},{key:this.translateService.instant("resource.connections.open"),values:[]}]}addNewData(t,a,e){const r=e.performanceData;t[0].values.push([a,r.activeTransactions]),t[1].values.push([a,r.openConnections])}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[47,112],{39:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return i}));class i{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,i){this.filter=i,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,i=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),i&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,i){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=i.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:i.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>i.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?i.getMaxValueFromDataHolder(t):i.getMaxValueForDataSeries(t);const r=Math.round(e*(a||i.DEFAULT_MULTIPLIER))||1;return[r,Math.ceil(r/i.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,r]=i.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,r)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const i=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},55:function(t,a,e){"use strict";e.r(a),e.d(a,"EpoolChart",(function(){return r}));var i=e(39);class r extends i.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const a={type:"multiChart",yAxis1:{showMaxMin:!1,axisLabel:this.translateService.instant("resource.epool.reads"),axisLabelDistance:-10,rotateYLabel:!0,tickFormat:function(t){return t},tickValues:()=>r.getIntegerRangeForValues(this.dataHolder[0])},yAxis2:{showMaxMin:!1,axisLabel:this.translateService.instant("resource.epool.writes"),axisLabelDistance:-10,rotateYLabel:!0,tickFormat:function(t){return t},tickValues:()=>r.getIntegerRangeForValues(this.dataHolder[1])},y1Domain:[0,1],y2Domain:[0,1]};Object.assign(t.chart,a)}getTitle(){return this.translateService.instant("resource.epool.label")}createDataHolder(){return[{key:this.translateService.instant("resource.epool.reads"),type:"line",yAxis:1,values:[]},{key:this.translateService.instant("resource.epool.writes"),type:"line",yAxis:2,values:[]}]}addNewData(t,a,e,i){const r=e.performanceData,[s,n]=t;let l=0,o=0;const h=r.entityPool.epoolReads,u=r.entityPool.epoolWrites;if(!i){l=h-s.values[s.values.length-1][2],o=u-n.values[s.values.length-1][2]}s.values.push([a,l,h]),n.values.push([a,o,u])}updateRange(t){this.chartOptions.chart.yDomain1=this.getAxisDomain(t[0]),this.chartOptions.chart.yDomain2=this.getAxisDomain(t[1])}getAxisDomain(t){const[a]=r.calculateMaxChartValueAndDivisions(t);return[0,a]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[65,173],{41:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return i}));class i{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,i){this.filter=i,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,i=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),i&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,i){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=i.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:i.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>i.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?i.getMaxValueFromDataHolder(t):i.getMaxValueForDataSeries(t);const r=Math.round(e*(a||i.DEFAULT_MULTIPLIER))||1;return[r,Math.ceil(r/i.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,r]=i.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,r)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const i=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},82:function(t,a,e){"use strict";e.r(a),e.d(a,"EpoolChart",(function(){return r}));var i=e(41);class r extends i.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const a={type:"multiChart",yAxis1:{showMaxMin:!1,axisLabel:this.translateService.instant("resource.epool.reads"),axisLabelDistance:-10,rotateYLabel:!0,tickFormat:function(t){return t},tickValues:()=>r.getIntegerRangeForValues(this.dataHolder[0])},yAxis2:{showMaxMin:!1,axisLabel:this.translateService.instant("resource.epool.writes"),axisLabelDistance:-10,rotateYLabel:!0,tickFormat:function(t){return t},tickValues:()=>r.getIntegerRangeForValues(this.dataHolder[1])},y1Domain:[0,1],y2Domain:[0,1]};Object.assign(t.chart,a)}getTitle(){return this.translateService.instant("resource.epool.label")}createDataHolder(){return[{key:this.translateService.instant("resource.epool.reads"),type:"line",yAxis:1,values:[]},{key:this.translateService.instant("resource.epool.writes"),type:"line",yAxis:2,values:[]}]}addNewData(t,a,e,i){const r=e.performanceData,[s,n]=t;let l=0,o=0;const h=r.entityPool.epoolReads,u=r.entityPool.epoolWrites;if(!i){l=h-s.values[s.values.length-1][2],o=u-n.values[s.values.length-1][2]}s.values.push([a,l,h]),n.values.push([a,o,u])}updateRange(t){this.chartOptions.chart.yDomain1=this.getAxisDomain(t[0]),this.chartOptions.chart.yDomain2=this.getAxisDomain(t[1])}getAxisDomain(t){const[a]=r.calculateMaxChartValueAndDivisions(t);return[0,a]}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[48,112],{39:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},51:function(t,a,e){"use strict";e.r(a),e.d(a,"QueriesChart",(function(){return i}));var r=e(39);class i extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){t.chart.yAxis.tickValues=()=>i.getIntegerRangeForValues(this.dataHolder)}createDataHolder(){return[{key:this.translateService.instant("resource.queries.running"),values:[]}]}addNewData(t,a,e){const{activeQueryData:r,performanceData:i}=e;t[0].values.push([a,r.length]);const s=i.queries.slow,n=i.queries.suboptimal,l=[{label:this.translateService.instant("resource.queries.slow"),value:s},{label:this.translateService.instant("resource.queries.suboptimal"),value:n}];this.setSubTitle(l)}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[66,173],{41:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},78:function(t,a,e){"use strict";e.r(a),e.d(a,"QueriesChart",(function(){return i}));var r=e(41);class i extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){t.chart.yAxis.tickValues=()=>i.getIntegerRangeForValues(this.dataHolder)}createDataHolder(){return[{key:this.translateService.instant("resource.queries.running"),values:[]}]}addNewData(t,a,e){const{activeQueryData:r,performanceData:i}=e;t[0].values.push([a,r.length]);const s=i.queries.slow,n=i.queries.suboptimal,l=[{label:this.translateService.instant("resource.queries.slow"),value:s},{label:this.translateService.instant("resource.queries.suboptimal"),value:n}];this.setSubTitle(l)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[49,112],{39:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},49:function(t,a,e){"use strict";e.r(a),e.d(a,"CpuLoadChart",(function(){return i}));var r=e(39);class i extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){t.chart.yAxis.tickFormat=function(t){return t+"%"}}createDataHolder(){return[{key:this.translateService.instant("resource.system.cpu_load.label"),values:[]}]}addNewData(t,a,e){t[0].values.push([a,this.formatValue(e.cpuLoad)])}formatValue(t){return parseFloat(t).toFixed(4)}updateRange(t){const a=Math.max(...t[0].values.flatMap(t=>t[1])),e=a>50?100:2*a;this.chartOptions.chart.yDomain=[0,e]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[67,173],{41:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},76:function(t,a,e){"use strict";e.r(a),e.d(a,"CpuLoadChart",(function(){return i}));var r=e(41);class i extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){t.chart.yAxis.tickFormat=function(t){return t+"%"}}createDataHolder(){return[{key:this.translateService.instant("resource.system.cpu_load.label"),values:[]}]}addNewData(t,a,e){t[0].values.push([a,this.formatValue(e.cpuLoad)])}formatValue(t){return parseFloat(t).toFixed(4)}updateRange(t){const a=Math.max(...t[0].values.flatMap(t=>t[1])),e=a>50?100:2*a;this.chartOptions.chart.yDomain=[0,e]}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[50,112],{39:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,e,a,r){this.filter=r,this.initialChartSetup(t,e,a)}initialChartSetup(t,e,a,r=!0){this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((e,a)=>{t[a].originalKey?t[a].originalKey=e.key:t[a].key=e.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const e=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const e=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==e?`<span class="data-value">${e}</span>`:"")});this.chartOptions.title.html=e.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,e){this.disableOldDataRemoval||t[0].values.length>e&&t.forEach(t=>t.values.shift())}addNewData(t,e,a,r){}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=r.calculateMaxChartValueAndDivisions(t,e);this.chartOptions.chart.yDomain=[0,a]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,e){let a;a=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const s=Math.round(a*(e||r.DEFAULT_MULTIPLIER))||1;return[s,Math.ceil(s/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e){const[a,s]=r.calculateMaxChartValueAndDivisions(t,e);return d3.range(0,a+1,s)}static formatBytesValue(t,e){let a=t;e&&(a=Math.max(...e.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(a)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},50:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(39);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){Object.assign(t.chart,{type:"multiBarHorizontalChart",height:250,stacked:!0,showControls:!1,xAxis:{showMaxMin:!1,tickFormat:function(t){return t}},yAxis:{showMaxMin:!1,tickFormat:function(t){return(100*t).toFixed(2)+"%"}},yDomain:[0,1]})}translateLabels(t){if(!t)return;super.translateLabels(t);const[e,a]=t;e.values.length&&a.values.length&&(e.values[0][0]=this.translateService.instant("resource.storage.data"),e.values[1][0]=this.translateService.instant("resource.storage.work"),e.values[2][0]=this.translateService.instant("resource.storage.logs"),a.values[0][0]=this.translateService.instant("resource.storage.data"),a.values[1][0]=this.translateService.instant("resource.storage.work"),a.values[2][0]=this.translateService.instant("resource.storage.logs"))}createDataHolder(){return[{key:this.translateService.instant("resource.storage.used"),color:this.chartOptions.chart.color[1],values:[]},{key:this.translateService.instant("resource.storage.free"),color:this.chartOptions.chart.color[0],values:[]}]}addNewData(t,e,a,r){const i=a.storageMemory,[n,o]=t;r&&(n.values.push([this.translateService.instant("resource.storage.data"),0]),n.values.push([this.translateService.instant("resource.storage.work"),0]),n.values.push([this.translateService.instant("resource.storage.logs"),0]),o.values.push([this.translateService.instant("resource.storage.data"),1]),o.values.push([this.translateService.instant("resource.storage.work"),1]),o.values.push([this.translateService.instant("resource.storage.logs"),1]));const l=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(i.dataDirUsed),s.formatBytesValue(i.dataDirFree)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(i.workDirUsed),s.formatBytesValue(i.workDirFree)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(i.logsDirUsed),s.formatBytesValue(i.logsDirFree)]}];this.setSubTitle(l);const u=i.dataDirUsed+i.dataDirFree,h=i.workDirUsed+i.workDirFree,c=i.logsDirUsed+i.logsDirFree;n.values[0][1]=i.dataDirUsed/u,n.values[1][1]=i.workDirUsed/h,n.values[2][1]=i.logsDirUsed/c,o.values[0][1]=i.dataDirFree/u,o.values[1][1]=i.workDirFree/h,o.values[2][1]=i.logsDirFree/c}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[68,173],{41:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,e,a,r){this.filter=r,this.initialChartSetup(t,e,a)}initialChartSetup(t,e,a,r=!0){this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((e,a)=>{t[a].originalKey?t[a].originalKey=e.key:t[a].key=e.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const e=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const e=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==e?`<span class="data-value">${e}</span>`:"")});this.chartOptions.title.html=e.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,e){this.disableOldDataRemoval||t[0].values.length>e&&t.forEach(t=>t.values.shift())}addNewData(t,e,a,r){}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=r.calculateMaxChartValueAndDivisions(t,e);this.chartOptions.chart.yDomain=[0,a]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,e){let a;a=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const s=Math.round(a*(e||r.DEFAULT_MULTIPLIER))||1;return[s,Math.ceil(s/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e){const[a,s]=r.calculateMaxChartValueAndDivisions(t,e);return d3.range(0,a+1,s)}static formatBytesValue(t,e){let a=t;e&&(a=Math.max(...e.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(a)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},77:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(41);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){Object.assign(t.chart,{type:"multiBarHorizontalChart",height:250,stacked:!0,showControls:!1,xAxis:{showMaxMin:!1,tickFormat:function(t){return t}},yAxis:{showMaxMin:!1,tickFormat:function(t){return(100*t).toFixed(2)+"%"}},yDomain:[0,1]})}translateLabels(t){if(!t)return;super.translateLabels(t);const[e,a]=t;e.values.length&&a.values.length&&(e.values[0][0]=this.translateService.instant("resource.storage.data"),e.values[1][0]=this.translateService.instant("resource.storage.work"),e.values[2][0]=this.translateService.instant("resource.storage.logs"),a.values[0][0]=this.translateService.instant("resource.storage.data"),a.values[1][0]=this.translateService.instant("resource.storage.work"),a.values[2][0]=this.translateService.instant("resource.storage.logs"))}createDataHolder(){return[{key:this.translateService.instant("resource.storage.used"),color:this.chartOptions.chart.color[1],values:[]},{key:this.translateService.instant("resource.storage.free"),color:this.chartOptions.chart.color[0],values:[]}]}addNewData(t,e,a,r){const i=a.storageMemory,[n,o]=t;r&&(n.values.push([this.translateService.instant("resource.storage.data"),0]),n.values.push([this.translateService.instant("resource.storage.work"),0]),n.values.push([this.translateService.instant("resource.storage.logs"),0]),o.values.push([this.translateService.instant("resource.storage.data"),1]),o.values.push([this.translateService.instant("resource.storage.work"),1]),o.values.push([this.translateService.instant("resource.storage.logs"),1]));const l=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(i.dataDirUsed),s.formatBytesValue(i.dataDirFree)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(i.workDirUsed),s.formatBytesValue(i.workDirFree)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(i.logsDirUsed),s.formatBytesValue(i.logsDirFree)]}];this.setSubTitle(l);const u=i.dataDirUsed+i.dataDirFree,h=i.workDirUsed+i.workDirFree,c=i.logsDirUsed+i.logsDirFree;n.values[0][1]=i.dataDirUsed/u,n.values[1][1]=i.workDirUsed/h,n.values[2][1]=i.logsDirUsed/c,o.values[0][1]=i.dataDirFree/u,o.values[1][1]=i.workDirFree/h,o.values[2][1]=i.logsDirFree/c}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[51,112],{39:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},47:function(t,a,e){"use strict";e.r(a),e.d(a,"FileDescriptorsChart",(function(){return i}));var r=e(39);class i extends r.ChartData{constructor(t,a){super(t,!1,!1,a)}chartSetup(t){t.chart.yAxis.tickFormat=t=>this.formatNumber(t),t.chart.color=[t.chart.color[1]]}createDataHolder(){return[{key:this.translateService.instant("resource.system.file_descriptors.open"),area:"true",values:[]}]}addNewData(t,a,e){if(!e.openFileDescriptors){const t=[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}];return void this.setSubTitle(t)}t[0].values.push([a,e.openFileDescriptors]);const r=[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(e.maxFileDescriptors)}];this.setSubTitle(r)}updateRange(t){super.updateRange(t,2)}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[69,173],{41:function(t,a,e){"use strict";e.r(a),e.d(a,"ChartData",(function(){return r}));class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return["#003663","#E84E0F","#02A99A","#999999"]}constructor(t,a,e,r){this.filter=r,this.initialChartSetup(t,a,e)}initialChartSetup(t,a,e,r=!0){this.disableRangeUpdate=a,this.disableOldDataRemoval=e,this.translateService=t,this.range=150,this.chartOptions=this.getDefaultChartOptions(t),this.chartSetup(this.chartOptions),r&&(this.dataHolder=this.createDataHolder(),this.firstLoad=!0)}refresh(){this.initialChartSetup(this.translateService,this.disableRangeUpdate,this.disableOldDataRemoval,!1),this.translateLabels(this.dataHolder),this.updateRange(this.dataHolder)}translateLabels(t){this.createDataHolder().forEach((a,e)=>{t[e].originalKey?t[e].originalKey=a.key:t[e].key=a.key})}setSubTitle(t){this.chartOptions.title.enable=!0;const a=t.map(t=>{if(Array.isArray(t.value)&&!t.value.length)return;const a=Array.isArray(t.value)?t.value.join("/"):t.value;return t.label+(void 0!==a?`<span class="data-value">${a}</span>`:"")});this.chartOptions.title.html=a.map(t=>`<span class="info-element">${t}</span>`)}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,a){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,a,this.isFirstLoad()),this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1)}removeOldData(t,a){this.disableOldDataRemoval||t[0].values.length>a&&t.forEach(t=>t.values.shift())}addNewData(t,a,e,r){}updateRange(t,a){if(this.disableRangeUpdate)return;const[e]=r.calculateMaxChartValueAndDivisions(t,a);this.chartOptions.chart.yDomain=[0,e]}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(t){return{chart:{interpolate:"monotone",type:"lineChart",height:500,margin:{left:80,right:80},x:function(t){return t[0]},y:function(t){return t[1]},clipEdge:!0,noData:t.instant("resource.no_data"),showControls:!1,duration:0,rightAlignYAxis:!1,useInteractiveGuideline:!0,xAxis:{showMaxMin:!1,tickFormat:function(t){return d3.time.format("%X")(new Date(t))}},yAxis:{showMaxMin:!1,tickFormat:function(t){return t}},legend:{maxKeyLength:100},color:r.COLORS},title:{enable:!0,className:"chart-additional-info",html:" "}}}static getMaxValueFromDataHolder(t){return Math.max(...t.filter(t=>!t.disabled).flatMap(t=>r.getMaxValueForDataSeries(t)))}static getMaxValueForDataSeries(t){return Math.max(...t.values.map(t=>t[1]))}static calculateMaxChartValueAndDivisions(t,a){let e;e=Array.isArray(t)?r.getMaxValueFromDataHolder(t):r.getMaxValueForDataSeries(t);const i=Math.round(e*(a||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,a){const[e,i]=r.calculateMaxChartValueAndDivisions(t,a);return d3.range(0,e+1,i)}static formatBytesValue(t,a){let e=t;a&&(e=Math.max(...a.filter(t=>!t.disabled).flatMap(t=>t.values).flatMap(t=>t[1])));const r=Math.floor(Math.log(e)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,r)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}formatNumber(t){if(t&&this.filter)return this.filter("currency")(t,"",0)}}},74:function(t,a,e){"use strict";e.r(a),e.d(a,"FileDescriptorsChart",(function(){return i}));var r=e(41);class i extends r.ChartData{constructor(t,a){super(t,!1,!1,a)}chartSetup(t){t.chart.yAxis.tickFormat=t=>this.formatNumber(t),t.chart.color=[t.chart.color[1]]}createDataHolder(){return[{key:this.translateService.instant("resource.system.file_descriptors.open"),area:"true",values:[]}]}addNewData(t,a,e){if(!e.openFileDescriptors){const t=[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}];return void this.setSubTitle(t)}t[0].values.push([a,e.openFileDescriptors]);const r=[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(e.maxFileDescriptors)}];this.setSubTitle(r)}updateRange(t){super.updateRange(t,2)}}}}]);