graphdb-workbench 2.8.0-TR2 → 2.8.0-TR4

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 (470) hide show
  1. package/dist/{0.c57f2f68d367a4c218fc.bundle.js → 0.b771c387eb20bde9a6ea.bundle.js} +3 -3
  2. package/dist/{1.a0b75d45735a22f37ddc.bundle.js → 1.1a45680f3bec35238550.bundle.js} +1 -1
  3. package/dist/10.bd27851334b1c8d91900.bundle.js +1 -0
  4. package/dist/{100.2d727ff763d70314a344.bundle.js → 100.7f26323156afd3feba54.bundle.js} +1 -1
  5. package/dist/{101.033154cfbe16d0474fc2.bundle.js → 101.17b056cee15358cbc0a7.bundle.js} +1 -1
  6. package/dist/{102.23581665e40a3c38bdc4.bundle.js → 102.8a0ce8ba413e7ea86257.bundle.js} +1 -1
  7. package/dist/{103.bec4bbe3c8edafaf0938.bundle.js → 103.6ae9591418ef71bbb36d.bundle.js} +1 -1
  8. package/dist/{104.4f6d66b077a66f66b880.bundle.js → 104.dc01d9de825caa974509.bundle.js} +1 -1
  9. package/dist/{105.2d79cd219effe43091f8.bundle.js → 105.c7c1ae143ee3a8dd99f2.bundle.js} +1 -1
  10. package/dist/{106.69ce103db4da1e272b72.bundle.js → 106.ea5c53069820d041c2cf.bundle.js} +1 -1
  11. package/dist/{107.b3378ee27a543e47234c.bundle.js → 107.9c76b13718754b7183b5.bundle.js} +1 -1
  12. package/dist/{108.c9936ab2e1547962c2bc.bundle.js → 108.fdebacb3ded74d19301d.bundle.js} +1 -1
  13. package/dist/{109.3af142a701cf0ce3ac3e.bundle.js → 109.9a8dd93a3ea7e7110f5f.bundle.js} +1 -1
  14. package/dist/{10.898fa2a36737f95067a6.bundle.js → 11.df90fccb3ff14cb166d8.bundle.js} +11 -11
  15. package/dist/{110.30cfa414191b314a261b.bundle.js → 110.88abaf0bf128a31fe04f.bundle.js} +1 -1
  16. package/dist/{111.4cf8ef55422eab73d874.bundle.js → 111.e8a5b4b837c49f1c50e9.bundle.js} +1 -1
  17. package/dist/{112.401fb8c98ab73e208730.bundle.js → 112.6c477f41f1ebb640b827.bundle.js} +1 -1
  18. package/dist/113.6e2337d9644091e29855.bundle.js +1 -0
  19. package/dist/{114.c577fe3214041daecdf5.bundle.js → 114.bf357cd566fb0d7f6ff0.bundle.js} +1 -1
  20. package/dist/{117.c4a9a26113e943e9e762.bundle.js → 117.713664012b6dfd281e0d.bundle.js} +1 -1
  21. package/dist/{118.fd44c264becff4a1797c.bundle.js → 118.1342e18ec64449b19f6a.bundle.js} +1 -1
  22. package/dist/{119.e46cd3518e0dbf3169bb.bundle.js → 119.cad78d6d421057850b36.bundle.js} +1 -1
  23. package/dist/{11.e430b38a9a250b880d28.bundle.js → 12.1c8de7c348eb25c8164b.bundle.js} +1 -1
  24. package/dist/{120.8e52ba856d40cd8864d9.bundle.js → 120.1ea37f7c308bcd1d3e3d.bundle.js} +1 -1
  25. package/dist/{121.a9992f7ff46cf77b304c.bundle.js → 121.d8cd4bdf5336330ad171.bundle.js} +1 -1
  26. package/dist/{122.1c9c84436c94b46fe056.bundle.js → 122.10dfb4139bd5b1fc0994.bundle.js} +1 -1
  27. package/dist/{123.83252c0af670f08d60cd.bundle.js → 123.4076684ffef33bbf0d4b.bundle.js} +1 -1
  28. package/dist/{124.cf9703439aa0c9313b50.bundle.js → 124.1d2113ee6e00c6a13c91.bundle.js} +1 -1
  29. package/dist/{125.400f68c00301d92445d4.bundle.js → 125.88574f352ebbc5799e78.bundle.js} +1 -1
  30. package/dist/{126.8c636a630d2d121743c5.bundle.js → 126.2b01a012a14a746753a6.bundle.js} +1 -1
  31. package/dist/{127.332e86694914476a6176.bundle.js → 127.099000071b2c1e40bd35.bundle.js} +1 -1
  32. package/dist/128.4fea7408f39af1661363.bundle.js +1 -0
  33. package/dist/{129.047b0311e394c752a6a9.bundle.js → 129.4bfaa1c1d7e341a1ed06.bundle.js} +1 -1
  34. package/dist/{12.afb551efb4792fb9eb1d.bundle.js → 13.59de37f004085772ef6c.bundle.js} +1 -1
  35. package/dist/{131.ef612c8696bb612a9331.bundle.js → 131.d620cb87c7bce0386b4f.bundle.js} +1 -1
  36. package/dist/{133.a9589d4a3884fface583.bundle.js → 132.c5faf2429dd401f2ef0a.bundle.js} +1 -1
  37. package/dist/{134.191e4cec3a9f7d292909.bundle.js → 133.678a2ade8fb91b5497d7.bundle.js} +1 -1
  38. package/dist/{135.91959568020b889bb345.bundle.js → 134.b1cefe8fe02520d788c2.bundle.js} +1 -1
  39. package/dist/{136.22b5615ae37d7e80a08f.bundle.js → 135.219d64990a02f7c93c9c.bundle.js} +1 -1
  40. package/dist/{137.9827883dd192444a74fb.bundle.js → 136.40b90ddc2d688af4c33f.bundle.js} +1 -1
  41. package/dist/{138.96826465cc9a16b82556.bundle.js → 137.379a388eba6b32d996ee.bundle.js} +1 -1
  42. package/dist/{139.2cb69ff75bf32a7bcb56.bundle.js → 138.aa7a34b1e2fec5ea652d.bundle.js} +1 -1
  43. package/dist/{140.fa447907c59d17ea6889.bundle.js → 139.cc7ae06c97f6b630db4a.bundle.js} +1 -1
  44. package/dist/14.14d3683da668325381d3.bundle.js +2 -0
  45. package/dist/{141.0817f727da63a4010f1c.bundle.js → 140.09159c313ee474b77d9d.bundle.js} +1 -1
  46. package/dist/{142.ee1fa4586e90d701b89d.bundle.js → 141.12a35752b5cebfafb18a.bundle.js} +1 -1
  47. package/dist/{143.03a96c94ac2f1e76af74.bundle.js → 142.cb26db2d36bcddb783d7.bundle.js} +1 -1
  48. package/dist/{144.acc869ff4afdfbc7b569.bundle.js → 143.ccd119624a493bb1cb42.bundle.js} +1 -1
  49. package/dist/{145.9d4717d4ce872f9d7115.bundle.js → 144.274b18f4ce93e3fc5fd0.bundle.js} +1 -1
  50. package/dist/{146.115618c61ec69e872444.bundle.js → 145.ef704ce34d4873d7571e.bundle.js} +1 -1
  51. package/dist/{147.e16c4c0feef631a4326f.bundle.js → 146.06ec94074395141ca9ea.bundle.js} +1 -1
  52. package/dist/{148.0eb58cc95c0ecbcf17b1.bundle.js → 147.b96cf3fdb22423f27fb6.bundle.js} +1 -1
  53. package/dist/{149.9789710206b4d96b57c9.bundle.js → 148.a2f96bd51dc88c690e46.bundle.js} +1 -1
  54. package/dist/{150.35e41f0d3f0126bb0e22.bundle.js → 149.23ba51de78896cd3bd25.bundle.js} +1 -1
  55. package/dist/{14.86cc7f1cd846ca4c89f0.bundle.js → 15.0b152cd39a88fc6856bc.bundle.js} +1 -1
  56. package/dist/{151.ccd788d21a4b850b4498.bundle.js → 150.2a6eeac996eb6221b925.bundle.js} +1 -1
  57. package/dist/{152.347075daa3636c189b5a.bundle.js → 151.dac623f30a505b8f48f9.bundle.js} +1 -1
  58. package/dist/{153.7e378999ca9460fdeb20.bundle.js → 152.0ff58e14a1559a4c5f5f.bundle.js} +1 -1
  59. package/dist/{154.ae457607bebe60643d4f.bundle.js → 153.ecf1c83a52cfffa6c26f.bundle.js} +1 -1
  60. package/dist/{155.5e1d88e98437e5f4bf53.bundle.js → 154.b0701c5daa0497e176e7.bundle.js} +1 -1
  61. package/dist/{156.a317651a9d328a0b9255.bundle.js → 155.f27f0a946702a5076313.bundle.js} +1 -1
  62. package/dist/{157.74c735071d16b0c93df1.bundle.js → 156.fba8b767ced422f459a2.bundle.js} +1 -1
  63. package/dist/{158.65f735aa3d785816234f.bundle.js → 157.a0f3360e0b6082486c12.bundle.js} +1 -1
  64. package/dist/{159.0d1b5f2a73b45b4ca07e.bundle.js → 158.029fb4e807d37a3e5329.bundle.js} +1 -1
  65. package/dist/{160.1be8e3ed4f049bd912c6.bundle.js → 159.0b667773afee1890caa5.bundle.js} +1 -1
  66. package/dist/{15.926edf6efc64325909c5.bundle.js → 16.d382f943f0121874fd1e.bundle.js} +1 -1
  67. package/dist/{161.a6b6c6e1a56257d6835a.bundle.js → 160.2aa35b2e5d2a0c988459.bundle.js} +1 -1
  68. package/dist/{162.c175bd3e48b719d9c894.bundle.js → 161.869e0c7ce82f35dbb91c.bundle.js} +1 -1
  69. package/dist/{163.e191b04c452053f521aa.bundle.js → 162.693032a729e709d1deac.bundle.js} +1 -1
  70. package/dist/{164.9044e5dec55b3f5a6cda.bundle.js → 163.932e1cbe6c7ca46b2cc4.bundle.js} +1 -1
  71. package/dist/{165.43dabca3ac2700b7a4c0.bundle.js → 164.c1e08572ede9625177a0.bundle.js} +1 -1
  72. package/dist/{166.8bd61601bf2aeb3077c0.bundle.js → 165.11214d1c15cd00f920b4.bundle.js} +1 -1
  73. package/dist/{167.13e35aa71b5812c20d29.bundle.js → 166.b5f3f6286f197b5d7dfc.bundle.js} +1 -1
  74. package/dist/{168.7fe1f6eb6698093fa80c.bundle.js → 167.d4b7fc5fa09527e47466.bundle.js} +1 -1
  75. package/dist/{169.14f519fa81a573d8542a.bundle.js → 168.f04bc0534788c07907c6.bundle.js} +1 -1
  76. package/dist/{170.dc1c139ea471ee4b75fd.bundle.js → 169.322c21e85b3a434daad6.bundle.js} +1 -1
  77. package/dist/{16.8bc6a8a10c03ec785174.bundle.js → 17.c3a499e5391e06c764e8.bundle.js} +1 -1
  78. package/dist/{171.47f9f78df56ca774432e.bundle.js → 170.f28ed2ea2bd3d484a998.bundle.js} +1 -1
  79. package/dist/{172.ad983564793860cbc3e3.bundle.js → 171.e825625eee38003a9c09.bundle.js} +1 -1
  80. package/dist/{173.ff64a189cbdbbe1dd96d.bundle.js → 172.4048014207111dd465a8.bundle.js} +1 -1
  81. package/dist/{174.6ad666a27da6ab0b77ac.bundle.js → 173.7c1c7d7e43a83800bcc5.bundle.js} +1 -1
  82. package/dist/{175.0914e983d8d96502e204.bundle.js → 174.6cd463bcab68410bad02.bundle.js} +1 -1
  83. package/dist/{176.962b33b52428b36072bd.bundle.js → 175.372886e33b57422185a4.bundle.js} +1 -1
  84. package/dist/{177.469270bdac920bff879c.bundle.js → 176.7e0c9b5eb6fd1dbb9359.bundle.js} +1 -1
  85. package/dist/{178.b4a67f2d275aa4e7c7e6.bundle.js → 177.7a137d51259ef61ce5e5.bundle.js} +1 -1
  86. package/dist/{179.90b68b334b6faf134682.bundle.js → 178.11f2eb8a371403f292b3.bundle.js} +1 -1
  87. package/dist/{180.63229bd4c96385b5e328.bundle.js → 179.5b90d2e399a2fdac1c25.bundle.js} +1 -1
  88. package/dist/{17.0add578b712aeaedb5a0.bundle.js → 18.9d2448dd2d3ec3631580.bundle.js} +1 -1
  89. package/dist/{181.2055f375b339e25cd8ce.bundle.js → 180.c448596c4e028ad5bdf3.bundle.js} +1 -1
  90. package/dist/{182.5ad9217095176d8833ee.bundle.js → 181.30a474897d97b2d02822.bundle.js} +1 -1
  91. package/dist/{183.16dc05d0e4276155a8bb.bundle.js → 182.dc7920a78d0d736d4f4e.bundle.js} +1 -1
  92. package/dist/{184.6ca8a534a2bd9c8e1181.bundle.js → 183.19aabd1e5e39cc8e83dc.bundle.js} +1 -1
  93. package/dist/{185.12a376642e6930274397.bundle.js → 184.540e1daa09ad0bf278c3.bundle.js} +1 -1
  94. package/dist/{186.0969b66c3a149529f828.bundle.js → 185.16b5a5bd58ff9bedcc7a.bundle.js} +1 -1
  95. package/dist/{187.34becb6d27cbfd4b074d.bundle.js → 186.f9689bf33815bda7ac3c.bundle.js} +1 -1
  96. package/dist/{188.0dd8a7f601f6d2ebc6a7.bundle.js → 187.9e42da5cdc1bf9ebb96e.bundle.js} +1 -1
  97. package/dist/{189.7b0a1c093716b939fd52.bundle.js → 188.b80e869e07dca3da01a7.bundle.js} +1 -1
  98. package/dist/{190.ea276a38d182b5f1ee5d.bundle.js → 189.cb382ef7332d62a304c2.bundle.js} +1 -1
  99. package/dist/{18.9b6042eb938bed7eb676.bundle.js → 19.70b96c19d7848640dbb9.bundle.js} +1 -1
  100. package/dist/{191.bd22587f391925a001a4.bundle.js → 190.2c27b901c1e33c268e1b.bundle.js} +1 -1
  101. package/dist/{192.d804999372c58f33681a.bundle.js → 191.36cb3368edee2fd7fabd.bundle.js} +1 -1
  102. package/dist/{193.43049c97c19dbd1c41f0.bundle.js → 192.f345d24a0bf15aeb0b62.bundle.js} +1 -1
  103. package/dist/{194.d7958e6927a6b08b0328.bundle.js → 193.35391d9216d14ac0bf3e.bundle.js} +1 -1
  104. package/dist/{195.c3e3cc656951aa456f64.bundle.js → 194.62ccc8391956bbf0d069.bundle.js} +1 -1
  105. package/dist/{196.fbea7e355a6df1f8aee0.bundle.js → 195.8652779019d20199ee0e.bundle.js} +1 -1
  106. package/dist/{197.9750357510c52edc3a12.bundle.js → 196.c22cb6fdb66bea1455c4.bundle.js} +1 -1
  107. package/dist/{198.d25dbf25a09e68bed5a8.bundle.js → 197.5abc2b7e62e56bf86060.bundle.js} +1 -1
  108. package/dist/{199.727623492df97b809e5f.bundle.js → 198.d9bbf27bcb13c5dd78d1.bundle.js} +1 -1
  109. package/dist/199.51811bb9e2e77cf4d2ea.bundle.js +1 -0
  110. package/dist/2.9770846cbe686a33e4f8.bundle.js +2 -0
  111. package/dist/{19.f1b9c74ef0c256da2eca.bundle.js → 20.6f75ff85c57c42f30433.bundle.js} +2 -2
  112. package/dist/{201.462d8ff94af160e4e59a.bundle.js → 200.e6d409c5925a76e58e72.bundle.js} +1 -1
  113. package/dist/{202.d24f184ca1d6c5ffa2e5.bundle.js → 201.9d82b44c237290e04aea.bundle.js} +1 -1
  114. package/dist/{203.16c8fa81cbed63945f95.bundle.js → 202.3dfb4af2249898ed3fc9.bundle.js} +1 -1
  115. package/dist/{204.a0112c3e522d5805c8aa.bundle.js → 203.2da0c27b1d0ab513e4e7.bundle.js} +1 -1
  116. package/dist/{205.d7c86c03230059559e3b.bundle.js → 204.9b4c2de63ab9028d7d97.bundle.js} +1 -1
  117. package/dist/{206.eb4b6574ecf62dd4ec2c.bundle.js → 205.c58772214c94ed3afea3.bundle.js} +1 -1
  118. package/dist/{207.af83fd1ffcdc9a322f6c.bundle.js → 206.e7c97cc504ac442c75bc.bundle.js} +1 -1
  119. package/dist/{208.6669833033e12d867018.bundle.js → 207.00de0a8515de06ef0fb7.bundle.js} +1 -1
  120. package/dist/{209.c92981001b844f410bfa.bundle.js → 208.a72a2586de056c048102.bundle.js} +1 -1
  121. package/dist/{210.e699f4cd7167f90ecc5c.bundle.js → 209.9dea550a4bf6f086cad1.bundle.js} +1 -1
  122. package/dist/{20.4c4d231852e056d4c705.bundle.js → 21.39dffe7ceff8f6658a56.bundle.js} +2 -2
  123. package/dist/{211.cb1c1240f7cd19ed77b3.bundle.js → 210.050643db12705405adcc.bundle.js} +1 -1
  124. package/dist/{212.7b202219bd0640d3507e.bundle.js → 211.9d7c7e9982c0561da76f.bundle.js} +1 -1
  125. package/dist/{213.9cbbf239525e01e98b16.bundle.js → 212.5a2ba04f1d462a112657.bundle.js} +1 -1
  126. package/dist/{214.ee6729fffbd79f1304e3.bundle.js → 213.db0539f7cf1f77976f20.bundle.js} +1 -1
  127. package/dist/{215.30a15a3516992764cfc8.bundle.js → 214.f674735412e7fdfd871f.bundle.js} +1 -1
  128. package/dist/{216.c95a7c28927c92f3b5c4.bundle.js → 215.e780ea6c4aadb41aef3c.bundle.js} +1 -1
  129. package/dist/{217.6cc9c2234df3d452bbab.bundle.js → 216.734785a55884f809069a.bundle.js} +1 -1
  130. package/dist/{218.c9161fe2977a98ac4691.bundle.js → 217.a0bfba5b23d72aad2861.bundle.js} +1 -1
  131. package/dist/{219.3ffd3b41407c3e174fe6.bundle.js → 218.d1c1a80db4bfb412c6c7.bundle.js} +1 -1
  132. package/dist/219.695162958f2fd3fd1cdd.bundle.js +1 -0
  133. package/dist/22.3c4fa5af09169a47d8a2.bundle.js +1 -0
  134. package/dist/{221.ad9187e7128163257e6e.bundle.js → 220.d00c6328f9fe29da03d5.bundle.js} +1 -1
  135. package/dist/221.72958b03d597ceecfe50.bundle.js +1 -0
  136. package/dist/{223.b7e2302ce49d6efe51f1.bundle.js → 222.b064e1013cc5c12917cc.bundle.js} +1 -1
  137. package/dist/{224.bbb1ab875351949e8262.bundle.js → 223.d3032b152d950ff8967b.bundle.js} +1 -1
  138. package/dist/{225.8a652415e4cd7b115ea1.bundle.js → 224.c28b4c3d0b2d55b6f023.bundle.js} +1 -1
  139. package/dist/{226.458321d164f5f42bba06.bundle.js → 225.8bf0aec084863fc95414.bundle.js} +1 -1
  140. package/dist/{227.978bb5223109ac854464.bundle.js → 226.9de98c97cf870a77efbf.bundle.js} +1 -1
  141. package/dist/{228.68ba7dd55d304641ff68.bundle.js → 227.a7ae559b03897d292b39.bundle.js} +1 -1
  142. package/dist/{229.cc86db36d4eed5ffc13d.bundle.js → 228.f8555ecfdf9f553c7845.bundle.js} +1 -1
  143. package/dist/{230.28deb650d81d3ce40fdc.bundle.js → 229.a2d575f36de5f1763342.bundle.js} +1 -1
  144. package/dist/23.9d9bea64ee0f22ec8159.bundle.js +2 -0
  145. package/dist/{231.1bd697a441224f2fccfe.bundle.js → 230.4d5c3a00d39fbdd6d152.bundle.js} +1 -1
  146. package/dist/{232.9da2520175cf682c5ba9.bundle.js → 231.434597b10f9e7fb259df.bundle.js} +1 -1
  147. package/dist/232.8815712672db26258aa6.bundle.js +1 -0
  148. package/dist/233.f3bb4e8d76549cfabee1.bundle.js +1 -0
  149. package/dist/{235.43d04e575269c106efe9.bundle.js → 234.863ddddb8449ed7c0ee1.bundle.js} +1 -1
  150. package/dist/{236.7198f0e3c4e0aba1b711.bundle.js → 235.956f01dae59a47f998b5.bundle.js} +1 -1
  151. package/dist/{237.8182429a519c72f50b3e.bundle.js → 236.36baaaeee73e76c481c7.bundle.js} +1 -1
  152. package/dist/{238.e7da1693dc6480734527.bundle.js → 237.5bce30c4e82980e9754f.bundle.js} +1 -1
  153. package/dist/{239.5a0e3e9d302c61c9dd2a.bundle.js → 238.331be8ca0bb118630e24.bundle.js} +1 -1
  154. package/dist/{240.0b1616112ed290e78ab7.bundle.js → 239.db5085cb5625931497c1.bundle.js} +1 -1
  155. package/dist/{23.65519943d430769ff624.bundle.js → 24.d59101c362ac2970a6b9.bundle.js} +1 -1
  156. package/dist/240.fecfcc8370363c1b7687.bundle.js +1 -0
  157. package/dist/{242.4b96aef3e71a70c1c5dc.bundle.js → 241.5f31e65b530c9c673af3.bundle.js} +1 -1
  158. package/dist/242.1e45789ff34bf3d1d6ec.bundle.js +1 -0
  159. package/dist/{244.38f4a20f1b3a17482909.bundle.js → 243.39f5289044a150487acb.bundle.js} +1 -1
  160. package/dist/{245.f7d3853ef4b296d49ac2.bundle.js → 244.3e3b0217ad8558015878.bundle.js} +1 -1
  161. package/dist/{246.69bb254202ff33946ba4.bundle.js → 245.12f6b1e768771000f1f3.bundle.js} +1 -1
  162. package/dist/246.f10a2aae2e116152dc7c.bundle.js +1 -0
  163. package/dist/247.be423d9800ef044d2a33.bundle.js +1 -0
  164. package/dist/{249.708995171b1ef0a960f8.bundle.js → 248.6fb8d92b19677312ec2f.bundle.js} +1 -1
  165. package/dist/{250.1e06d075be2d6fab28da.bundle.js → 249.361380fd0c4d2710e06b.bundle.js} +1 -1
  166. package/dist/{24.ce44938fc8e7e0dd20a8.bundle.js → 25.199fc623310cefd2f4ad.bundle.js} +1 -1
  167. package/dist/{251.bf23de4a477a3d6ff964.bundle.js → 250.9cc0025717bda9ff85ac.bundle.js} +1 -1
  168. package/dist/{252.dbcb6f45c195255004e5.bundle.js → 251.7bd7c734de38e195da15.bundle.js} +1 -1
  169. package/dist/{253.be100e16651d601f687f.bundle.js → 252.8afa7a1e2a6e4c5a926d.bundle.js} +1 -1
  170. package/dist/{254.fb1530fc3e147cacad71.bundle.js → 253.b9409aa29124da201410.bundle.js} +1 -1
  171. package/dist/{255.30a3e052d8e9e7982063.bundle.js → 254.42a241c6856d1a55afa8.bundle.js} +1 -1
  172. package/dist/{256.91ebaee133283c39881d.bundle.js → 255.a0c66c6f832d20e3397e.bundle.js} +1 -1
  173. package/dist/{257.3e570aa4e758fac2b2f0.bundle.js → 256.a8fd6ef683a6fb3742db.bundle.js} +1 -1
  174. package/dist/{258.39e96f0c5de71c54e796.bundle.js → 257.44e7db279a0efb0018ff.bundle.js} +1 -1
  175. package/dist/{259.f5b9d6459c55aff64dcd.bundle.js → 258.d79f5ef6319cb30b0118.bundle.js} +1 -1
  176. package/dist/{260.593a7610b3df4ae713c9.bundle.js → 259.8a37906084ccf1911e30.bundle.js} +1 -1
  177. package/dist/{25.dc83aef89e5a2d728c9a.bundle.js → 26.ddaf300ca3cebd842a06.bundle.js} +1 -1
  178. package/dist/{261.48c648ab8355d092fe8f.bundle.js → 260.75e33fe1306bc28415b9.bundle.js} +1 -1
  179. package/dist/{262.65c73cb5d0fbefe0baf4.bundle.js → 261.87ee58d6687591dbc53d.bundle.js} +1 -1
  180. package/dist/{263.74a323fb27a3b00879e9.bundle.js → 262.53c026834f1a7c31cff4.bundle.js} +1 -1
  181. package/dist/{264.f6d6d64d76e3dfe04fa1.bundle.js → 263.ac0888e10472290fd5cd.bundle.js} +1 -1
  182. package/dist/{265.2ea8090292a86db73bed.bundle.js → 264.4206d53ab8da96bc5375.bundle.js} +1 -1
  183. package/dist/{266.9465da3286b0b5e059b2.bundle.js → 265.ca35e25f40cc557e9326.bundle.js} +1 -1
  184. package/dist/{267.c0c12cb49bc1e89c7b94.bundle.js → 266.549fcc29307b61d6b427.bundle.js} +1 -1
  185. package/dist/{268.b56d0649d9e78844c830.bundle.js → 267.e5b8430e17b550a89458.bundle.js} +1 -1
  186. package/dist/{269.a00401c177fd14ae0c1f.bundle.js → 268.f9bbc4810ebb192a1432.bundle.js} +1 -1
  187. package/dist/{270.785670697c0455ac4b52.bundle.js → 269.f8aba27c315f1a1b4484.bundle.js} +1 -1
  188. package/dist/{26.810adeabe76dd0774dcd.bundle.js → 27.b6ec15df0eb1e0c65f9b.bundle.js} +1 -1
  189. package/dist/{271.8581a9231b36d0f97e00.bundle.js → 270.f4c88d06faa70fe73cd9.bundle.js} +1 -1
  190. package/dist/{272.9241175b9f6526de0f2a.bundle.js → 271.398aaa6c01600df61c6b.bundle.js} +1 -1
  191. package/dist/{273.395881adba4e9ec1c60f.bundle.js → 272.414a02980b8cb5dc2380.bundle.js} +1 -1
  192. package/dist/{274.660cbfc53dfbe8e406af.bundle.js → 273.13cc72edc9ab16311f3a.bundle.js} +1 -1
  193. package/dist/{275.dcef80da1502f7da8c09.bundle.js → 274.5683e1f4c2c1f6902888.bundle.js} +1 -1
  194. package/dist/{276.48625189c1286a05fd4c.bundle.js → 275.fff6b0befb4b17f37eda.bundle.js} +1 -1
  195. package/dist/{277.9c19fa229933c6222b17.bundle.js → 276.99cdf1dff924b1f9c64c.bundle.js} +1 -1
  196. package/dist/{278.384136e3d0926f51464c.bundle.js → 277.f02152d211fea267e0ed.bundle.js} +1 -1
  197. package/dist/{279.6745fa845fbfa74e75bb.bundle.js → 278.22ea31506084cf22b1d2.bundle.js} +1 -1
  198. package/dist/{280.443811921e18f3043058.bundle.js → 279.a84df2f197ed43f54e65.bundle.js} +1 -1
  199. package/dist/{27.b41b821eff22e1910c8e.bundle.js → 28.af295559f3ec77d40839.bundle.js} +1 -1
  200. package/dist/{281.d28c664e6a570fc84f12.bundle.js → 280.f1354e40d7a16b412e88.bundle.js} +1 -1
  201. package/dist/{282.bb843b144879c7953fae.bundle.js → 281.5683a8f152dcc8f75e4d.bundle.js} +1 -1
  202. package/dist/{283.e118d0da0229e1ff6279.bundle.js → 282.4aae3dba3b35ea673c13.bundle.js} +1 -1
  203. package/dist/{284.b354586b137e9d897700.bundle.js → 283.ce463e4cfa59e37d607b.bundle.js} +1 -1
  204. package/dist/284.1ce80efe24b24204cb01.bundle.js +1 -0
  205. package/dist/{286.da86b665251df217c00a.bundle.js → 285.a1fd5a729eebc9586f96.bundle.js} +1 -1
  206. package/dist/{287.e06fcbe992886459fc4a.bundle.js → 286.b4d04aefb9c8758eb72c.bundle.js} +1 -1
  207. package/dist/{288.7b8342ef2f06c297efa8.bundle.js → 287.869b9eda721edd0d7042.bundle.js} +1 -1
  208. package/dist/{289.58a7e6ee8c3e123dc429.bundle.js → 288.c079bcb1e2518d4b2813.bundle.js} +1 -1
  209. package/dist/{290.146ba3fdfbe710791cba.bundle.js → 289.71c26b5ffaa393ece793.bundle.js} +1 -1
  210. package/dist/{28.2a5850ca91ebaccf5ed6.bundle.js → 29.dea0307e0502c61e2610.bundle.js} +1 -1
  211. package/dist/290.83a1baddc302c385a207.bundle.js +1 -0
  212. package/dist/{292.3ccfe3e09f4f60976994.bundle.js → 291.e69fc89f2f1c20f53684.bundle.js} +1 -1
  213. package/dist/{293.24d7d7b5ee0dc6abf357.bundle.js → 292.c20bfd9c5c2dc21cbfe5.bundle.js} +1 -1
  214. package/dist/293.90f1abeb090649362253.bundle.js +1 -0
  215. package/dist/{295.d73226da95f8b1c5729c.bundle.js → 294.2d7d4a8da28fc02d3ba0.bundle.js} +1 -1
  216. package/dist/{296.547cf6617c31df5cc90e.bundle.js → 295.0c580d314b031753d9b5.bundle.js} +1 -1
  217. package/dist/{297.667086f08d35fbf48395.bundle.js → 296.214f47f8d04f8172325a.bundle.js} +1 -1
  218. package/dist/{298.dba77c4207a920d56f6b.bundle.js → 297.150d2e735d97469bc97a.bundle.js} +1 -1
  219. package/dist/{299.2e9e96c44921369b1b19.bundle.js → 298.e0fe45df8f4d8971c381.bundle.js} +1 -1
  220. package/dist/{300.e1c2fa76ba52143d0321.bundle.js → 299.3499097fbb66b52fc421.bundle.js} +1 -1
  221. package/dist/{3.6333d6a0418e5320bf56.bundle.js → 3.bf5407fd4f31a2fb73fb.bundle.js} +1 -1
  222. package/dist/{29.9f64f22c46c7b02a0ec8.bundle.js → 30.83358047fbcc339d474f.bundle.js} +1 -1
  223. package/dist/{301.95db4a50bfc24f68ac2e.bundle.js → 300.39de47db08587229ef0e.bundle.js} +1 -1
  224. package/dist/{302.b20c8d1e643b2fdc4564.bundle.js → 301.1343a9b079798562aa6a.bundle.js} +1 -1
  225. package/dist/{303.c822e7199ecac39adcfb.bundle.js → 302.750cbc741f3c77e99e81.bundle.js} +1 -1
  226. package/dist/{304.28ee878b3769022514fe.bundle.js → 303.e44f63ffeda3cbf7ae16.bundle.js} +1 -1
  227. package/dist/{305.2eeb37b548e027712722.bundle.js → 304.2d3ac502aa624081b1e5.bundle.js} +1 -1
  228. package/dist/{30.75b398d38eabe765da4e.bundle.js → 31.44a332e103ab9b33000d.bundle.js} +1 -1
  229. package/dist/{311.2b9993e11f4cef6911a5.bundle.js → 310.82c1148db42192c0090c.bundle.js} +1 -1
  230. package/dist/{312.a511ecbbbcfe8341e517.bundle.js → 311.9874544df1bbafd10692.bundle.js} +1 -1
  231. package/dist/{313.ecb3eb64bb8dc315e292.bundle.js → 312.e1b40283b695dcb101b0.bundle.js} +1 -1
  232. package/dist/{314.a4ad30cde3d6dff34628.bundle.js → 313.d9cca6e410a0f1a448bb.bundle.js} +1 -1
  233. package/dist/{315.1f1cf5c188d94b8d4e14.bundle.js → 314.f597d0c2a2be830776de.bundle.js} +1 -1
  234. package/dist/{316.2f4496d2edbc7fc747b7.bundle.js → 315.58bc5637ceb47626bde3.bundle.js} +1 -1
  235. package/dist/{317.209dc16df0afb578e39e.bundle.js → 316.4f9a18e26bbe0f0adbe6.bundle.js} +1 -1
  236. package/dist/{318.e6ddb4a1c9843e7771f1.bundle.js → 317.979f24ed265641b8ddc1.bundle.js} +1 -1
  237. package/dist/{319.a27170539b52cb9dab92.bundle.js → 318.f5c05dd1599c529762e4.bundle.js} +1 -1
  238. package/dist/{320.dfb7824d64eb50a53144.bundle.js → 319.cccd7fb2eaa18f65e716.bundle.js} +1 -1
  239. package/dist/{31.6e0bf46006dfb4b7338c.bundle.js → 32.be13f368fa0460e227a7.bundle.js} +1 -1
  240. package/dist/{321.a0c97ce6d54400967ab1.bundle.js → 320.0d9f2f2aeda450f2f0a7.bundle.js} +1 -1
  241. package/dist/{322.25cddf396e5160617a9a.bundle.js → 321.2f817913ca2f9cd27812.bundle.js} +1 -1
  242. package/dist/{323.5484fbc2febd83f8d00e.bundle.js → 322.ad2b9395bfbc385119fe.bundle.js} +1 -1
  243. package/dist/{324.521f021f636c10821162.bundle.js → 323.7b979063981cd58478be.bundle.js} +1 -1
  244. package/dist/{325.08b69bd9b1a34cc35d67.bundle.js → 324.37c3249317427c3878c6.bundle.js} +1 -1
  245. package/dist/{326.8a369e8cb3db85e5fd21.bundle.js → 325.993f7143c5d5592ab355.bundle.js} +1 -1
  246. package/dist/{327.9a1305561b9ee871f677.bundle.js → 326.e5ce686fb321b3922da0.bundle.js} +1 -1
  247. package/dist/{328.0e4ebf7e474a23cf0aa8.bundle.js → 327.40d5727ccb824f68ecd1.bundle.js} +1 -1
  248. package/dist/{329.95f8d46ef472c45724ef.bundle.js → 328.c8475579baf28af54890.bundle.js} +1 -1
  249. package/dist/{330.b557e07136977ad81a04.bundle.js → 329.29a283ec1f3ceb4adb26.bundle.js} +1 -1
  250. package/dist/{32.60795cfcb9c447399fc2.bundle.js → 33.34c20158a0c7476d953f.bundle.js} +1 -1
  251. package/dist/{331.70b775db910815aec7d5.bundle.js → 330.4e27caee2a547aeaf45b.bundle.js} +1 -1
  252. package/dist/{332.6174c9a0244faea483d8.bundle.js → 331.8e2eed9790d553e91940.bundle.js} +1 -1
  253. package/dist/{333.c46d92559385a3ec4ea7.bundle.js → 332.6b6043fc84aa75c59a29.bundle.js} +1 -1
  254. package/dist/{334.54392f7f0e16887b2f41.bundle.js → 333.1629c955f4780836ba1e.bundle.js} +1 -1
  255. package/dist/{335.bdec765f2598123058be.bundle.js → 334.820bf9aa8aca42035920.bundle.js} +1 -1
  256. package/dist/{336.4af91442c99d4ec1a557.bundle.js → 335.441f2c1b005bf4da9da9.bundle.js} +1 -1
  257. package/dist/{337.9b0aefa9e9997e8bb366.bundle.js → 336.2e620911b9848d22d0bc.bundle.js} +1 -1
  258. package/dist/{338.6ea16c3d7f81ea4d3d58.bundle.js → 337.dd96b11f66d00f3c11d8.bundle.js} +1 -1
  259. package/dist/{339.9059878c18fa2c749de8.bundle.js → 338.31ccf952930ab1a64141.bundle.js} +1 -1
  260. package/dist/{340.13712037d8e707ae11ef.bundle.js → 339.8e581416b7b86cfd8829.bundle.js} +1 -1
  261. package/dist/{33.d19f2c40b3b42b314591.bundle.js → 34.cec479590af17a5f1b17.bundle.js} +1 -1
  262. package/dist/{341.50bccf91ec47cd6b9470.bundle.js → 340.2a9bbb58af2ebd5eaad8.bundle.js} +1 -1
  263. package/dist/{342.84abf16d1ae0f3fa58e3.bundle.js → 341.2e30539f06783590237c.bundle.js} +1 -1
  264. package/dist/{343.8f3430d930b608c20751.bundle.js → 342.881d5df270fb6891b5aa.bundle.js} +1 -1
  265. package/dist/{344.9387f3ddd773381699bb.bundle.js → 343.a197d3c62465378339aa.bundle.js} +1 -1
  266. package/dist/{345.129967192316e48437d4.bundle.js → 344.03eeb3da1ab8be45223d.bundle.js} +1 -1
  267. package/dist/{346.26d147e0f77ff069acbd.bundle.js → 345.5f48e10965bfdaca076a.bundle.js} +1 -1
  268. package/dist/{347.3ee25a23ffcb21051539.bundle.js → 346.222128167abd9e37a506.bundle.js} +1 -1
  269. package/dist/{348.32f9dbf6dd88ef9ef2fa.bundle.js → 347.a43c655bcfb27aebf21f.bundle.js} +1 -1
  270. package/dist/{349.6b417c71a22af055359f.bundle.js → 348.fc0a1d8a9f0c832aa8ab.bundle.js} +1 -1
  271. package/dist/{350.0cb56b29da5fdb977c3d.bundle.js → 349.6fffb3cae65ee940693a.bundle.js} +1 -1
  272. package/dist/{34.cd22a42400934b4cdf87.bundle.js → 35.2d8679e695ed60ffd6cb.bundle.js} +1 -1
  273. package/dist/{351.45e2fa352cb26a0826c4.bundle.js → 350.46496fb9ac596d87a6dd.bundle.js} +1 -1
  274. package/dist/{352.b8833055f446b4432a51.bundle.js → 351.c0d2293d07f7b3fe2e1e.bundle.js} +1 -1
  275. package/dist/{353.35379a499cac3a62bc55.bundle.js → 352.ce177c6de5a67a54fa09.bundle.js} +1 -1
  276. package/dist/{354.0481230d0681abc066ea.bundle.js → 353.062e7407b1897bf7cc94.bundle.js} +1 -1
  277. package/dist/{355.c1251d26aa986c6b579d.bundle.js → 354.f93c5a2afd738d69c647.bundle.js} +1 -1
  278. package/dist/{356.03c285ab5bdf2bd3e12d.bundle.js → 355.1f8e35f904433628b5f6.bundle.js} +1 -1
  279. package/dist/{357.8685dd981d95da81248a.bundle.js → 356.ec6765fff7de228d9851.bundle.js} +1 -1
  280. package/dist/{358.86b09694d2d0700f75ed.bundle.js → 357.080f7f0713070c48821d.bundle.js} +1 -1
  281. package/dist/{359.fac3bcab66e2baa83202.bundle.js → 358.0f1231c8453e8a211b66.bundle.js} +1 -1
  282. package/dist/{360.f21e8815aea4c61d4de1.bundle.js → 359.5e4939ee985e5ee4aa08.bundle.js} +1 -1
  283. package/dist/{35.cfb69109b2c7ebc2d1ef.bundle.js → 36.e08e03897ba4766efbb2.bundle.js} +1 -1
  284. package/dist/{361.48dd1b79917eaa9b7e6a.bundle.js → 360.c02645ba0f7ccc709bd3.bundle.js} +1 -1
  285. package/dist/{362.23ea58a6d71ace84a1a6.bundle.js → 361.7d22ee4c5cc1f0f62847.bundle.js} +1 -1
  286. package/dist/{363.d035bde2a6e524abebbb.bundle.js → 362.1bacdbc961d8d9340b05.bundle.js} +1 -1
  287. package/dist/{364.ca825d61b795d834659a.bundle.js → 363.d56197d81f8b906de505.bundle.js} +1 -1
  288. package/dist/{365.d6f8aadf1c0a634b8461.bundle.js → 364.f7d8a7e79c6918701b69.bundle.js} +1 -1
  289. package/dist/{366.86e8279bfe0cf51b6511.bundle.js → 365.e75d8e89ce4fbe893c53.bundle.js} +1 -1
  290. package/dist/{367.044c0183e4b99a0b6345.bundle.js → 366.4a672b01bd6827f8fb5b.bundle.js} +1 -1
  291. package/dist/{368.9f4b02a874a9456d77ed.bundle.js → 367.c7afbfe177106f5da484.bundle.js} +1 -1
  292. package/dist/{369.ab4263bb42d3f317264b.bundle.js → 368.c422af78aedc9c0aa9fb.bundle.js} +1 -1
  293. package/dist/{370.74ea79a0e3815a78e966.bundle.js → 369.36c2e57f36dbbdb0244d.bundle.js} +1 -1
  294. package/dist/{36.a7b1ed685913595d40e9.bundle.js → 37.cfe4a522de85d5c655e4.bundle.js} +1 -1
  295. package/dist/{371.ae1a62cc1a69115e3f8f.bundle.js → 370.323b8d44f600bf312ca8.bundle.js} +1 -1
  296. package/dist/{372.5e3859739cd36c6ffd8a.bundle.js → 371.4ac7a2c3459079f9fb6a.bundle.js} +1 -1
  297. package/dist/{373.6e2258b5ab6ced0f532d.bundle.js → 372.8c2b50c5a331ae2b9c70.bundle.js} +1 -1
  298. package/dist/373.9ed7674129588e479e21.bundle.js +1 -0
  299. package/dist/{375.fd66d9e99c21bb8621a7.bundle.js → 374.b8ba6d28714210a3468b.bundle.js} +1 -1
  300. package/dist/{376.5e3632f2491cea9e0c8f.bundle.js → 375.3273381131fe2a8a2d6a.bundle.js} +1 -1
  301. package/dist/{377.ef5f3c3684072649f0d0.bundle.js → 376.4abc77ce350e98e61006.bundle.js} +1 -1
  302. package/dist/377.ae7fb3655af86acf9cd8.bundle.js +1 -0
  303. package/dist/{379.6703214bd0a62d6bba1b.bundle.js → 378.13c8331f50dd6a1792d7.bundle.js} +1 -1
  304. package/dist/{380.a1095e01a9df1355fd0a.bundle.js → 379.cee485c49fe7cbbf1b00.bundle.js} +1 -1
  305. package/dist/{37.7a0d6e8f543f2ab93d6d.bundle.js → 38.5454bca277ba64dc0b9c.bundle.js} +1 -1
  306. package/dist/380.19a7d7b2178f303269b4.bundle.js +1 -0
  307. package/dist/381.342f1effca225442db3a.bundle.js +1 -0
  308. package/dist/382.df1f73b97648ec3852ed.bundle.js +1 -0
  309. package/dist/{384.4e40e9fcefcecfc9ed70.bundle.js → 383.233b1f1c05d6a41ca667.bundle.js} +1 -1
  310. package/dist/{385.6ed894fe60872f194c7a.bundle.js → 384.8974dcb54aa79ecfa41d.bundle.js} +1 -1
  311. package/dist/{386.f6e72f5f0006f45ca17a.bundle.js → 385.991354ffdbbbef4b03cd.bundle.js} +1 -1
  312. package/dist/{387.07a6d582350bf2ffff56.bundle.js → 386.fb346c88e1a04097ea31.bundle.js} +1 -1
  313. package/dist/{38.f53ead5a867b583684cc.bundle.js → 39.6f313b421b3223b413e9.bundle.js} +1 -1
  314. package/dist/4.3aa2978368a7d1c55d97.bundle.js +1 -0
  315. package/dist/{39.b424e4c3cad0e7af5ac6.bundle.js → 40.8d1fe07eea5143d01072.bundle.js} +1 -1
  316. package/dist/{40.6479ea8c327190f89451.bundle.js → 41.6d31d16cd2e148da0781.bundle.js} +1 -1
  317. package/dist/{42.c8adf98ad0104887b4ec.bundle.js → 42.48329e6d142b4e520134.bundle.js} +1 -1
  318. package/dist/{43.f49aac05f6879c3dac89.bundle.js → 43.5bbca603ca6ec5a5068e.bundle.js} +1 -1
  319. package/dist/{44.4322dcdd5bf0de55e04e.bundle.js → 44.00252a53efa0a86deb44.bundle.js} +2 -2
  320. package/dist/45.d5bab5f557f0839e6056.bundle.js +1 -0
  321. package/dist/{47.0d580dbe9ed87bce496c.bundle.js → 46.a801a28fe2168e6c723c.bundle.js} +1 -1
  322. package/dist/{48.fb09364abedeac430971.bundle.js → 47.059fd9cc3b179ebed65d.bundle.js} +1 -1
  323. package/dist/{49.d23a9330be7f04d859de.bundle.js → 48.54707551ab8a11198afc.bundle.js} +1 -1
  324. package/dist/{50.ec14ac614772913e0be0.bundle.js → 49.1d0155d2196c26d66a02.bundle.js} +1 -1
  325. package/dist/{5.d34980533e122f4791f4.bundle.js → 5.ebb8b6aea672c64029b1.bundle.js} +1 -1
  326. package/dist/{51.8689b92a13bd2b2a3074.bundle.js → 50.c4d3b40295500a0c33ad.bundle.js} +1 -1
  327. package/dist/{52.a38b6e76a6402b2e5b78.bundle.js → 51.8fa369af0c8b5e11d04c.bundle.js} +1 -1
  328. package/dist/{53.3d653040b7defd01415f.bundle.js → 52.29052e36a74030d9e41a.bundle.js} +1 -1
  329. package/dist/{54.9b232eafefbda85cc4bd.bundle.js → 53.a61647e9e6eac009a7ae.bundle.js} +1 -1
  330. package/dist/{55.8ada9bc7e9011b6e7c21.bundle.js → 54.1a6e4ada1e69a58b2b52.bundle.js} +1 -1
  331. package/dist/{56.302766c61395b663e4c3.bundle.js → 55.2807daccad98b7aa15f2.bundle.js} +2 -2
  332. package/dist/{57.0d4caf8a82a7ff1f1dca.bundle.js → 56.7452b2314534830e98ad.bundle.js} +1 -1
  333. package/dist/{58.c4cb8de207c705cee7a1.bundle.js → 57.a23e424da1d5d3b5ae86.bundle.js} +1 -1
  334. package/dist/58.463fc66ca234d1129da3.bundle.js +1 -0
  335. package/dist/{59.821da70e952924981e80.bundle.js → 59.351c47755bb06aaa8331.bundle.js} +1 -1
  336. package/dist/6.2cf11b39c0980889d446.bundle.js +1 -0
  337. package/dist/{60.8deab4881eaf63bcd6a4.bundle.js → 60.3df0dcd9af2fa4c7ce34.bundle.js} +1 -1
  338. package/dist/{61.7736faf8cd8733139f11.bundle.js → 61.e8a681d3549fc169ec69.bundle.js} +1 -1
  339. package/dist/{62.518759d544e052fd9256.bundle.js → 62.b927e1ec0b1ff61e718b.bundle.js} +1 -1
  340. package/dist/{63.31bff84c37ea1de0acef.bundle.js → 63.fdf8c8063ae9069e4f52.bundle.js} +1 -1
  341. package/dist/{64.3bac8674c52226912630.bundle.js → 64.79f5587fd87a655b6f69.bundle.js} +1 -1
  342. package/dist/{65.a36fbde317ab57cce415.bundle.js → 65.1fe55cdf3db59639e085.bundle.js} +1 -1
  343. package/dist/{66.8f8126d5175f62c3face.bundle.js → 66.56fb556d0519aa95d8f4.bundle.js} +1 -1
  344. package/dist/{67.2f9547fd1b14efa12158.bundle.js → 67.e6fb2cb180cf6dbadef7.bundle.js} +1 -1
  345. package/dist/{68.55c008fb3a0efa470906.bundle.js → 68.e7d9be16a37b8887a931.bundle.js} +1 -1
  346. package/dist/{69.44cd46e87a6df00420b5.bundle.js → 69.107d812cd5ebbf60fc94.bundle.js} +1 -1
  347. package/dist/{6.c639b6efdd4f0ac3d584.bundle.js → 7.a93531535990ecc25f07.bundle.js} +1 -1
  348. package/dist/70.05fb2a311f0b1542c9e3.bundle.js +1 -0
  349. package/dist/{71.c8ee9a76c64455ab9c8f.bundle.js → 71.1d860f6f8ae3d0192c80.bundle.js} +1 -1
  350. package/dist/{72.b97671744c9618e13a10.bundle.js → 72.a4d0ad3506f133140cec.bundle.js} +1 -1
  351. package/dist/{73.96f11c5b82fd5a7fd278.bundle.js → 73.403c9b3c8405eae5d293.bundle.js} +1 -1
  352. package/dist/{74.e9db7f3271c826c88a78.bundle.js → 74.246979b1c0e7a79cbb85.bundle.js} +1 -1
  353. package/dist/{75.c25619a16d098a2721be.bundle.js → 75.dc785f04f93ebfbe0f30.bundle.js} +1 -1
  354. package/dist/{76.14ae4b937c879f457b25.bundle.js → 76.8a8f93d40dcf4291240b.bundle.js} +1 -1
  355. package/dist/{77.463f82a88b3c6e954c01.bundle.js → 77.9cb29b89a66fd100e00b.bundle.js} +1 -1
  356. package/dist/{78.1fa69d08bd50f06f636a.bundle.js → 78.783bd0d21bd685c73354.bundle.js} +1 -1
  357. package/dist/{79.d5735446205c02c627cb.bundle.js → 79.dbd2c812fd44a8c1ea2e.bundle.js} +1 -1
  358. package/dist/8.7f0f98ff96fac525fd5a.bundle.js +1 -0
  359. package/dist/{80.9c57ff6117953efd9e90.bundle.js → 80.0dce75d76715811e2a2d.bundle.js} +1 -1
  360. package/dist/81.f11e24e42a58eddb7cbc.bundle.js +1 -0
  361. package/dist/82.2388472786ba09a073ac.bundle.js +1 -0
  362. package/dist/{83.f9c096421bb5c0b29ba9.bundle.js → 83.8225300dc7f6501d3272.bundle.js} +1 -1
  363. package/dist/{84.514756b3a32bb6873cc1.bundle.js → 84.61195a0da3027c477514.bundle.js} +1 -1
  364. package/dist/{85.70d008d869c71199d1e9.bundle.js → 85.d4f4cc98d3ff4c390902.bundle.js} +1 -1
  365. package/dist/{86.08b4429bf0ec0b5dcde0.bundle.js → 86.a2249c525b967ba8b763.bundle.js} +1 -1
  366. package/dist/{87.1b3837e239bd74b553ee.bundle.js → 87.5aec7ee5fcb238104d38.bundle.js} +1 -1
  367. package/dist/{88.49ed0628c81926c98925.bundle.js → 88.55adafc6fc56ada49607.bundle.js} +1 -1
  368. package/dist/{89.6355fb17f7c9088bd61d.bundle.js → 89.b6489d83523f9191b801.bundle.js} +1 -1
  369. package/dist/{8.b2bab85e9d32868938e8.bundle.js → 9.385a4c21f00bcb09a7bc.bundle.js} +1 -1
  370. package/dist/{90.c0be68f3cc4c02f18818.bundle.js → 90.10abbbaca2bb8d1a79fe.bundle.js} +1 -1
  371. package/dist/{91.8a23e41280e7b69dba09.bundle.js → 91.1df650208fadeee9f58b.bundle.js} +1 -1
  372. package/dist/{92.6c45ec02f991fb9e0343.bundle.js → 92.06409c8e211adeee4d3e.bundle.js} +1 -1
  373. package/dist/{93.d7428790221f27764822.bundle.js → 93.b392be47708365adb665.bundle.js} +1 -1
  374. package/dist/{94.f353e48cd582c9a3eeea.bundle.js → 94.78366351a9e8b6118152.bundle.js} +1 -1
  375. package/dist/{95.2b1230102fa575c74b94.bundle.js → 95.d4c56863599ed79076dd.bundle.js} +1 -1
  376. package/dist/96.63d23375f0483dd84c16.bundle.js +1 -0
  377. package/dist/{97.bac15331c44cf11b7d7c.bundle.js → 97.e18facc2d4c43d1ce376.bundle.js} +1 -1
  378. package/dist/98.8db4998c638e9a3d3566.bundle.js +1 -0
  379. package/dist/{99.e7ceaa6c9c8bd7672878.bundle.js → 99.5a00b0fcadc5efe1407e.bundle.js} +1 -1
  380. package/dist/{bundle.3cbc347e3527f274db18.bundle.js → bundle.202db8517acfc0d257cd.bundle.js} +13 -13
  381. package/dist/i18n/locale-en.json +10 -2
  382. package/dist/i18n/locale-fr.json +10 -2
  383. package/dist/index.html +4 -4
  384. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  385. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  386. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  387. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  388. package/dist/js/angular/security/templates/user.html +1 -1
  389. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  390. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  391. package/dist/js/angular/ttyg/templates/chat-list.html +2 -2
  392. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  393. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +4 -4
  394. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  395. package/dist/js/angular/ttyg/templates/ttyg.html +2 -2
  396. package/dist/license-checker-static.json +7 -0
  397. package/dist/license-checker.json +2 -2
  398. package/dist/{main.3c684afa9035e26698d0.bundle.js → main.269962097c8301c719bd.bundle.js} +1 -1
  399. package/dist/pages/aclmanagement.html +2 -2
  400. package/dist/pages/autocomplete.html +1 -1
  401. package/dist/pages/choose-repository-type.html +1 -1
  402. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  403. package/dist/pages/create-index.html +1 -1
  404. package/dist/pages/dependencies.html +1 -1
  405. package/dist/pages/domainRangeInfo.html +2 -2
  406. package/dist/pages/edit.html +3 -3
  407. package/dist/pages/explore.html +1 -1
  408. package/dist/pages/export.html +1 -1
  409. package/dist/pages/find.html +1 -1
  410. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  411. package/dist/pages/graphs-visualizations.html +7 -7
  412. package/dist/pages/guides.html +1 -1
  413. package/dist/pages/import.html +2 -2
  414. package/dist/pages/jdbc-create.html +1 -1
  415. package/dist/pages/monitor/backup-and-restore.html +1 -1
  416. package/dist/pages/monitor/queries.html +1 -1
  417. package/dist/pages/monitor/resources.html +1 -1
  418. package/dist/pages/namespaces.html +2 -2
  419. package/dist/pages/plugins.html +1 -1
  420. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  421. package/dist/pages/rdfrank.html +2 -2
  422. package/dist/pages/repositories.html +1 -1
  423. package/dist/pages/repository.html +1 -1
  424. package/dist/pages/similarity-indexes.html +1 -1
  425. package/dist/pages/sparql-editor.html +1 -1
  426. package/dist/pages/sparql-template-create.html +1 -1
  427. package/dist/pages/ux-test1.html +2 -2
  428. package/dist/pages/webapi.html +2 -2
  429. package/dist/{polyfills-dom.2e911e88416db513165d.bundle.js → polyfills-dom.05a7770bb435a0b38fc6.bundle.js} +1 -1
  430. package/dist/res/swagger5/index.html +12 -12
  431. package/dist/vendor.0dbd09f6d69e78b19728.css +25 -0
  432. package/dist/{vendor.c8de9e8334756c4117a7.bundle.js → vendor.70a25ea39bd7c73a002b.bundle.js} +4 -4
  433. package/dist/{vendors~polyfills-core-js.b457b41cf3ac34b0e840.bundle.js → vendors~polyfills-core-js.82092a0fe7a70177b16e.bundle.js} +1 -1
  434. package/package.json +2 -1
  435. package/dist/113.6d341bb94caa74a19866.bundle.js +0 -1
  436. package/dist/128.f414d604bcd013bf911d.bundle.js +0 -1
  437. package/dist/13.dd3daf303c726658ee20.bundle.js +0 -2
  438. package/dist/132.944ecc91b5233d778847.bundle.js +0 -1
  439. package/dist/2.5ecba6f91ee9aba0f72b.bundle.js +0 -2
  440. package/dist/200.92f1a086ea5aef9edf3b.bundle.js +0 -1
  441. package/dist/21.54344d162b6a34c9b801.bundle.js +0 -1
  442. package/dist/22.d0b623eb0f96c9aa6b24.bundle.js +0 -2
  443. package/dist/220.021899f905b9ad3d6a2f.bundle.js +0 -1
  444. package/dist/222.180b7745dd350d7e0e40.bundle.js +0 -1
  445. package/dist/233.d221cf4fc26c61fad24c.bundle.js +0 -1
  446. package/dist/234.f32797efb10ecea1afc8.bundle.js +0 -1
  447. package/dist/241.0d40fca2dbe1e4286b0a.bundle.js +0 -1
  448. package/dist/243.d4b2847d8cb1af74a2ac.bundle.js +0 -1
  449. package/dist/247.5b2fe2937e878cd03e99.bundle.js +0 -1
  450. package/dist/248.1c51c8776dafd2938c2f.bundle.js +0 -1
  451. package/dist/285.eb0437c8ef1eb29f15a2.bundle.js +0 -1
  452. package/dist/291.453ba8701e97d5e0e9f2.bundle.js +0 -1
  453. package/dist/294.2cce50bef12473652329.bundle.js +0 -1
  454. package/dist/374.9e21d915726536564967.bundle.js +0 -1
  455. package/dist/378.3bd7c408c54fcd423c10.bundle.js +0 -1
  456. package/dist/381.104beacb095b894100a3.bundle.js +0 -1
  457. package/dist/382.78ab349878afa6f19d97.bundle.js +0 -1
  458. package/dist/383.fd4a62cce2cb093fdb90.bundle.js +0 -1
  459. package/dist/4.a6011f0d50143709767a.bundle.js +0 -1
  460. package/dist/41.4d964baeed672c11337a.bundle.js +0 -1
  461. package/dist/45.c7588a46eb35e1030511.bundle.js +0 -1
  462. package/dist/46.a61ad257a02ee69f07de.bundle.js +0 -1
  463. package/dist/7.83006fb76d213f065ce3.bundle.js +0 -1
  464. package/dist/70.70bb2af41d1cec8e2fa0.bundle.js +0 -1
  465. package/dist/81.6abcbb0a4f0c5371da19.bundle.js +0 -1
  466. package/dist/82.3a7ddfc6c1efaf493f3f.bundle.js +0 -1
  467. package/dist/9.c92dd64e96b478a92d2e.bundle.js +0 -1
  468. package/dist/96.701d4c87469fd1ae6073.bundle.js +0 -1
  469. package/dist/98.9ce0dc28adca0979eac7.bundle.js +0 -1
  470. package/dist/vendor.c3e18291118da6a85719.css +0 -20
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[47,131,251,252],{251:function(e,a,n){"use strict";n.r(a);n(7),n(33),n(32),n(38);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},252:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},338:function(e,a,n){"use strict";n.r(a);n(7),n(31),n(32),n(251),n(252),n(93),n(598);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])},93:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,a,n){return{link:function(e,s){const t=()=>{const a=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);s.html(a)};t();const c=a.$on("$translateChangeSuccess",t);e.$on("$destroy",c)}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[46,131,250,251],{250:function(e,a,n){"use strict";n.r(a);n(7),n(33),n(32),n(38);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},251:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},337:function(e,a,n){"use strict";n.r(a);n(7),n(31),n(32),n(250),n(251),n(92),n(597);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])},92:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,a,n){return{link:function(e,s){const t=()=>{const a=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);s.html(a)};t();const c=a.$on("$translateChangeSuccess",t);e.$on("$destroy",c)}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[48,87,139,269],{147:function(n,e,t){"use strict";t.r(e);t(38),t(82);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 c(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 a(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const c=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]=_.cloneDeep(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?c[o[n].__name]=r(c[o[n].__name],$translate):"JsonString"===o[n].__type&&(c[o[n].__name]=angular.fromJson(c[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}(c);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+a(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(c,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,f,p,d,g){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:a(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 c=y(e.value,r.name,!1);p.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(g.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){c.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:g.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 d.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),f.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 c(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:a(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),g.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=_.cloneDeep(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:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),c=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+a(u)+s+'> prefix:repairConnector ""\n}');var s,u;p.addStatements(t.getActiveRepository(),o({update:c})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(g.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 c=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 c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:e.name}),g.instant("externalsync.extra.message.warning"));const a=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);p.addStatements(t.getActiveRepository(),o({update:a})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(g.instant("externalsync.delete.force.success.msg",{name:e.name})),c&&l.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(g.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 f(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=_.cloneDeep(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 p(n,e,t,o,r,c,a,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:c})),n.values=a.values,n.options=s,n.name=a.name,a.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=_.cloneDeep(n.values)}function d(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 c(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",f).controller("CreateConnectorCtrl",p).controller("CreateProgressCtrl",d).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"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],p.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},197:function(n,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},294:function(n,e,t){"use strict";t.r(e);t(7),t(31),t(37),t(147),t(197);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(n){return angular.isUndefined(n)?n:n.replace(/ies$/,"y").replace(/s$/,"")}}))},82: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"}})}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[47,87,138,268],{145:function(n,e,t){"use strict";t.r(e);t(38),t(82);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 c(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 a(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const c=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]=_.cloneDeep(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?c[o[n].__name]=r(c[o[n].__name],$translate):"JsonString"===o[n].__type&&(c[o[n].__name]=angular.fromJson(c[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}(c);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+a(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(c,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,f,p,d,g){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:a(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 c=y(e.value,r.name,!1);p.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(g.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){c.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:g.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 d.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),f.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 c(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:a(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),g.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=_.cloneDeep(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:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),c=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+a(u)+s+'> prefix:repairConnector ""\n}');var s,u;p.addStatements(t.getActiveRepository(),o({update:c})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(g.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 c=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 c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:e.name}),g.instant("externalsync.extra.message.warning"));const a=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);p.addStatements(t.getActiveRepository(),o({update:a})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(g.instant("externalsync.delete.force.success.msg",{name:e.name})),c&&l.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(g.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 f(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=_.cloneDeep(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 p(n,e,t,o,r,c,a,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:c})),n.values=a.values,n.options=s,n.name=a.name,a.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=_.cloneDeep(n.values)}function d(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 c(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",f).controller("CreateConnectorCtrl",p).controller("CreateProgressCtrl",d).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"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],p.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},196:function(n,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},293:function(n,e,t){"use strict";t.r(e);t(7),t(31),t(37),t(145),t(196);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(n){return angular.isUndefined(n)?n:n.replace(/ies$/,"y").replace(/s$/,"")}}))},82: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"}})}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[49,272],{118:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},211:function(e,t,n){"use strict";n.r(t);var r=n(502);n(118);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},491:function(e,t,n){var r,a;r=[n(499)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(499)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},502:function(e,t,n){"use strict";n(491);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[48,271],{118:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},210:function(e,t,n){"use strict";n.r(t);var r=n(501);n(118);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},490:function(e,t,n){var r,a;r=[n(498)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(498)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},501:function(e,t,n){"use strict";n(490);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[50],{208:function(t,e,r){"use strict";r.r(e);var n=r(502),a=r(501);r(11);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.8.0-TR2");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},491:function(t,e,r){var n,a;n=[r(499)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(499)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},501:function(t,e,r){"use strict";r(491);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},502:function(t,e,r){"use strict";r(491);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[49],{207:function(t,e,r){"use strict";r.r(e);var n=r(501),a=r(500);r(11);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.8.0-TR4");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},490:function(t,e,r){var n,a;n=[r(498)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(498)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},500:function(t,e,r){"use strict";r(490);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},501:function(t,e,r){"use strict";r(490);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[5,71,102,103,104,105,106,107,108,109,110,264,268],{121:function(e,t,a){"use strict";a.r(t),a.d(t,"HeapMemoryChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.hasSelectedSeries()?s.formatBytesValue(e,this.dataHolder,this.selectedSeries):s.formatBytesValue(e,this.dataHolder)},min:0},tooltip:{valueFormatter:e=>s.formatBytesValue(e,null,this.selectedSeries)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.memory.committed"),t.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(e,t,a){const[r,s]=e,o=this.parseData(a);this.latestData={committed:o.committed,used:o.used,max:o.max},r.data.push({value:[t,o.committed]}),s.data.push({value:[t,o.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const e=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(e)}}parseData(e){return e.heapMemoryUsage}updateRange(e,t,a){super.updateRange(e,t,a)}}},165:function(e,t,a){"use strict";a.r(t);a(7),a(32),a(34),a(81);var r=a(232),s=a(121),o=a(233),i=a(234),n=a(235),l=a(236),c=a(237),u=a(238),h=a(239),d=a(240);angular.module("graphdb.framework.jmx.resources.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","graphdb.framework.rest.cluster.service"]).controller("ResourcesCtrl",["$scope","$timeout","MonitoringRestService","$translate","$repositories","$q","ClusterRestService","$filter",function(e,t,a,m,p,f,S,g){e.AVAILABLE_TABS=Object.freeze({RESOURCE_MONITOR:"resource",PERFORMANCE_MONITOR:"performance",CLUSTER_HEALTH:"cluster"});const y=window.location.hash.slice(1),v=Object.keys(e.AVAILABLE_TABS).find(t=>e.AVAILABLE_TABS[t]===y);e.activeTab=e.AVAILABLE_TABS[v]||e.AVAILABLE_TABS.RESOURCE_MONITOR,e.resourceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{cpuLoad:new i.CpuLoadChart(m),fileDescriptors:new r.FileDescriptorsChart(m,g),heapMemory:new s.HeapMemoryChart(m),offHeapMemory:new o.NonHeapMemoryChart(m),diskStorage:new n.DiskStorageChart(m)}},e.performanceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{connectionsChart:new u.ConnectionsChart(m),epoolChart:new d.EpoolChart(m),queriesChart:new l.QueriesChart(m)}},e.structuresMonitorData={error:{hasError:!1,message:"",retries:0},charts:{globalCacheChart:new c.GlobalCacheChart(m,g)}},e.clusterHealthData={error:{hasError:!1,message:"",retries:0},charts:{clusterHealthChart:new h.ClusterHealthChart(m)}},e.hasCluster=!1;e.loader=!0,e.switchTab=t=>{e.activeTab=t,window.location.hash=t},e.getActiveRepository=function(){return p.getActiveRepository()};const D=function(e){return a.monitorQueryTransactionStatistics(e).then((function(e){return e.data}))},b=function(e){return a.monitorQuery(e).then((function(e){return e.data}))},C=function(){return a.monitorCluster()},w=e=>{if(e.chartsHolder.error.hasError){if(3===e.chartsHolder.error.retries)return e.poll&&t.cancel(e.poll),Promise.resolve();e.chartsHolder.error.retries++}return e.fetchFn().then((function(t){x(t,e)})).then(()=>{O(e)}).catch(t=>{A(e,t)}).finally(()=>{e.poll&&t.cancel(e.poll),e.poll=t(()=>w(e),2e3)})},x=(e,t,a)=>{const r=e.data;r&&H(r,t,a)},H=(e,t,a)=>{const r=new Date;a?a(r,e):Object.values(t.chartsHolder.charts).forEach(t=>{t.addData(r,e)})},A=(e,t)=>{e.chartsHolder.error.hasError=!!t,e.chartsHolder.error.hasError&&(e.chartsHolder.error.message=getError(t))},O=e=>{e.chartsHolder.error.hasError=!1,e.chartsHolder.error.message=""};e.monitors=[],e.monitors.push({chartsHolder:e.resourceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){return a.monitorResources()},poll:null}),e.monitors.push({chartsHolder:e.structuresMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?a.monitorStructures(t):Promise.resolve({})},poll:null}),e.monitors.push({chartsHolder:e.performanceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?f.all([D(t),b(t)]).then(e=>{const[t,a]=e;return{data:{performanceData:t,activeQueryData:a}}}):Promise.resolve({})},poll:null}),S.getNodeStatus().then(()=>{e.hasCluster=!0;const t={chartsHolder:e.clusterHealthData,fetchFn:C,poll:null};e.monitors.push(t),w(t)}).catch(()=>{e.hasCluster=!1});let R=null;f.all(e.monitors.map(e=>w(e))).finally(()=>{e.loader&&(R&&t.cancel(R),R=t((function(){e.loader=!1}),500))}),e.$on("$destroy",(function(){R&&t.cancel(R);for(const a of e.monitors)a.poll&&t.cancel(a.poll)}))}])},232:function(e,t,a){"use strict";a.r(t),a.d(t,"FileDescriptorsChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},min:0},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(e,t,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&e[0].data.push({value:[t,a.openFileDescriptors]})}configureSubtitle(){let e;e=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(e)}updateRange(e){super.updateRange(e,2)}}},233:function(e,t,a){"use strict";a.r(t),a.d(t,"NonHeapMemoryChart",(function(){return s}));var r=a(121);class s extends r.HeapMemoryChart{constructor(e){super(e,!1,!1)}parseData(e){return e.nonHeapMemoryUsage}}},234:function(e,t,a){"use strict";a.r(t),a.d(t,"CpuLoadChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>e+"%"},min:0,max:function(e){return Math.round(e.max>50?100:2*e.max)}},tooltip:{valueFormatter:function(e){return e+"%"}}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(e,t,a){e[0].data.push({value:[t,this.formatValue(a.cpuLoad)]})}formatValue(e){return+parseFloat(e).toFixed(4)}updateRange(e){}}},235:function(e,t,a){"use strict";a.r(t),a.d(t,"DiskStorageChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!0,!0)}chartSetup(e){const t={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(e){return(100*e).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(e){return(100*e).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(e,t)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(e,t){return{name:this.translateService.instant(e),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:t,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:e}){return(100*e).toFixed(2)+"%"}},emphasis:{itemStyle:{color:t,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.storage.used"),t.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(e,t,a,r){const s=a.storageMemory,[o,i]=e;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const n=s.dataDirUsed+s.dataDirFree,l=s.workDirUsed+s.workDirFree,c=s.logsDirUsed+s.logsDirFree,u=s.dataDirUsed/n,h=s.workDirUsed/l,d=s.logsDirUsed/c,m=s.dataDirFree/n,p=s.workDirFree/l,f=s.logsDirFree/c;o.data.push(d,h,u),i.data.push(f,p,m)}configureSubtitle(){const e=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(e)}}},236:function(e,t,a){"use strict";a.r(t),a.d(t,"QueriesChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(e,t,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},e[0].data.push({value:[t,r.length]}),this.configureSubtitle()}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const e=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(e)}}},237:function(e,t,a){"use strict";a.r(t),a.d(t,"GlobalCacheChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},minInterval:1},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resources.global_cache.hits"),t.name=this.translateService.instant("resources.global_cache.miss")}addNewData(e,t,a){const[r,s]=e;r.data.push({value:[t,a.cacheHit]}),s.data.push({value:[t,a.cacheMiss]})}}},238:function(e,t,a){"use strict";a.r(t),a.d(t,"ConnectionsChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.connections.active"),t.name=this.translateService.instant("resource.connections.open")}addNewData(e,t,a){const[r,s]=e,{activeTransactions:o,openConnections:i}=a.performanceData;r.data.push({value:[t,o]}),s.data.push({value:[t,i]})}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},239:function(e,t,a){"use strict";a.r(t),a.d(t,"ClusterHealthChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!0,!1),this.nodesCount=0}createDataHolder(){const[e,t,a,r]=s.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:r,data:[]}]}addNewData(e,t,a){const r=a.nodesStats;this.nodesCount=r.nodesInCluster;const[s,o,i,n]=e;this.latestData={nodesInSync:r.nodesInCluster,nodesOutOfSync:r.nodesOutOfSync,nodesDisconnected:r.nodesDisconnected,nodesSyncing:r.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},s.data.push({value:[t,r.nodesInSync]}),i.data.push({value:[t,r.nodesOutOfSync]}),n.data.push({value:[t,r.nodesDisconnected]}),o.data.push({value:[t,r.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[e,t,a,r]=this.dataHolder;e.name=this.translateService.instant("resources.cluster_health.in_sync"),t.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),r.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(e,t){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const e=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(e)}}},240:function(e,t,a){"use strict";a.r(t),a.d(t,"EpoolChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.epool.reads"),t.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(e,t,a,r){const s=a.performanceData,[o,i]=e;let n=0,l=0;const c=s.entityPool.epoolReads,u=s.entityPool.epoolWrites;r||(n=c-this.lastestData.reads,l=u-this.lastestData.writes),this.lastestData={reads:c,writes:u},o.data.push({value:[t,n]}),i.data.push({value:[t,l]})}updateRange(e){e.forEach((e,t)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis[t].max=a,this.chartOptions.yAxis[t].minInterval=s})}}},69:function(e,t,a){"use strict";a.r(t),a.d(t,"ChartData",(function(){return s}));var r=a(492);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}constructor(e,t,a,r){this.filter=r,this.disableRangeUpdate=t,this.disableOldDataRemoval=a,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(e){this.refreshHandlers.push(e)}unregisterRefreshHandler(e){const t=this.refreshHandlers.indexOf(e);t>-1&&this.refreshHandlers.splice(t,1)}initialChartSetup(e=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),e&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(e=!1){e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(e=>e(this.chartOptions))}setSubTitle(e,t=0){this.chartOptions.title.show=!0;let a="";e.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const o=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==o&&(a+=`{b|${o}}`),s+1<e.length&&(a+=t>0&&(s+1)%t==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(e){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(e,t){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,e,t,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(e=>!0===e)}removeOldData(e,t){this.disableOldDataRemoval||e[0].data.length>t&&e.forEach(e=>e.data.shift())}addNewData(e,t,a,r){}setSelectedSeries(e){this.selectedSeries=e}updateRange(e,t){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(e,t,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(e){return r.b.format(e.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(e,t){const a=e.filter(e=>!t||angular.isUndefined(t[e.name])||!0===t[e.name]).map(e=>s.getMaxValueForDataSeries(e));return Math.max(1,...a)}static getMaxValueForDataSeries(e){return Math.max(...e.data.map(e=>e.value[1]))}static calculateMaxChartValueAndDivisions(e,t,a){let r;r=Array.isArray(e)?s.getMaxValueFromDataHolder(e,a):s.getMaxValueForDataSeries(e);const o=Math.ceil(r*(t||s.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(e,t,a){const[r,o]=s.calculateMaxChartValueAndDivisions(e,t,a);return[r,o]}static formatBytesValue(e,t,a){let r=e;t&&(r=s.getMaxValueFromDataHolder(t,a));const o=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(e)/Math.pow(1024,o)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o]}`}formatNumber(e){if(!angular.isUndefined(e)&&this.filter)return this.filter("currency")(e,"",0)}}},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",a),a.$inject=["$http"];function a(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const a=$.param({force:t});return e.delete("rest/cluster/config?"+a)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[5,71,102,103,104,105,106,107,108,109,110,263,267],{121:function(e,t,a){"use strict";a.r(t),a.d(t,"HeapMemoryChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.hasSelectedSeries()?s.formatBytesValue(e,this.dataHolder,this.selectedSeries):s.formatBytesValue(e,this.dataHolder)},min:0},tooltip:{valueFormatter:e=>s.formatBytesValue(e,null,this.selectedSeries)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.memory.committed"),t.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(e,t,a){const[r,s]=e,o=this.parseData(a);this.latestData={committed:o.committed,used:o.used,max:o.max},r.data.push({value:[t,o.committed]}),s.data.push({value:[t,o.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const e=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(e)}}parseData(e){return e.heapMemoryUsage}updateRange(e,t,a){super.updateRange(e,t,a)}}},162:function(e,t,a){"use strict";a.r(t);a(7),a(32),a(34),a(81);var r=a(231),s=a(121),o=a(232),i=a(233),n=a(234),l=a(235),c=a(236),u=a(237),h=a(238),d=a(239);angular.module("graphdb.framework.jmx.resources.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","graphdb.framework.rest.cluster.service"]).controller("ResourcesCtrl",["$scope","$timeout","MonitoringRestService","$translate","$repositories","$q","ClusterRestService","$filter",function(e,t,a,m,p,f,S,g){e.AVAILABLE_TABS=Object.freeze({RESOURCE_MONITOR:"resource",PERFORMANCE_MONITOR:"performance",CLUSTER_HEALTH:"cluster"});const y=window.location.hash.slice(1),v=Object.keys(e.AVAILABLE_TABS).find(t=>e.AVAILABLE_TABS[t]===y);e.activeTab=e.AVAILABLE_TABS[v]||e.AVAILABLE_TABS.RESOURCE_MONITOR,e.resourceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{cpuLoad:new i.CpuLoadChart(m),fileDescriptors:new r.FileDescriptorsChart(m,g),heapMemory:new s.HeapMemoryChart(m),offHeapMemory:new o.NonHeapMemoryChart(m),diskStorage:new n.DiskStorageChart(m)}},e.performanceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{connectionsChart:new u.ConnectionsChart(m),epoolChart:new d.EpoolChart(m),queriesChart:new l.QueriesChart(m)}},e.structuresMonitorData={error:{hasError:!1,message:"",retries:0},charts:{globalCacheChart:new c.GlobalCacheChart(m,g)}},e.clusterHealthData={error:{hasError:!1,message:"",retries:0},charts:{clusterHealthChart:new h.ClusterHealthChart(m)}},e.hasCluster=!1;e.loader=!0,e.switchTab=t=>{e.activeTab=t,window.location.hash=t},e.getActiveRepository=function(){return p.getActiveRepository()};const D=function(e){return a.monitorQueryTransactionStatistics(e).then((function(e){return e.data}))},b=function(e){return a.monitorQuery(e).then((function(e){return e.data}))},C=function(){return a.monitorCluster()},w=e=>{if(e.chartsHolder.error.hasError){if(3===e.chartsHolder.error.retries)return e.poll&&t.cancel(e.poll),Promise.resolve();e.chartsHolder.error.retries++}return e.fetchFn().then((function(t){x(t,e)})).then(()=>{O(e)}).catch(t=>{A(e,t)}).finally(()=>{e.poll&&t.cancel(e.poll),e.poll=t(()=>w(e),2e3)})},x=(e,t,a)=>{const r=e.data;r&&H(r,t,a)},H=(e,t,a)=>{const r=new Date;a?a(r,e):Object.values(t.chartsHolder.charts).forEach(t=>{t.addData(r,e)})},A=(e,t)=>{e.chartsHolder.error.hasError=!!t,e.chartsHolder.error.hasError&&(e.chartsHolder.error.message=getError(t))},O=e=>{e.chartsHolder.error.hasError=!1,e.chartsHolder.error.message=""};e.monitors=[],e.monitors.push({chartsHolder:e.resourceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){return a.monitorResources()},poll:null}),e.monitors.push({chartsHolder:e.structuresMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?a.monitorStructures(t):Promise.resolve({})},poll:null}),e.monitors.push({chartsHolder:e.performanceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?f.all([D(t),b(t)]).then(e=>{const[t,a]=e;return{data:{performanceData:t,activeQueryData:a}}}):Promise.resolve({})},poll:null}),S.getNodeStatus().then(()=>{e.hasCluster=!0;const t={chartsHolder:e.clusterHealthData,fetchFn:C,poll:null};e.monitors.push(t),w(t)}).catch(()=>{e.hasCluster=!1});let R=null;f.all(e.monitors.map(e=>w(e))).finally(()=>{e.loader&&(R&&t.cancel(R),R=t((function(){e.loader=!1}),500))}),e.$on("$destroy",(function(){R&&t.cancel(R);for(const a of e.monitors)a.poll&&t.cancel(a.poll)}))}])},231:function(e,t,a){"use strict";a.r(t),a.d(t,"FileDescriptorsChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},min:0},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(e,t,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&e[0].data.push({value:[t,a.openFileDescriptors]})}configureSubtitle(){let e;e=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(e)}updateRange(e){super.updateRange(e,2)}}},232:function(e,t,a){"use strict";a.r(t),a.d(t,"NonHeapMemoryChart",(function(){return s}));var r=a(121);class s extends r.HeapMemoryChart{constructor(e){super(e,!1,!1)}parseData(e){return e.nonHeapMemoryUsage}}},233:function(e,t,a){"use strict";a.r(t),a.d(t,"CpuLoadChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>e+"%"},min:0,max:function(e){return Math.round(e.max>50?100:2*e.max)}},tooltip:{valueFormatter:function(e){return e+"%"}}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(e,t,a){e[0].data.push({value:[t,this.formatValue(a.cpuLoad)]})}formatValue(e){return+parseFloat(e).toFixed(4)}updateRange(e){}}},234:function(e,t,a){"use strict";a.r(t),a.d(t,"DiskStorageChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!0,!0)}chartSetup(e){const t={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(e){return(100*e).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(e){return(100*e).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(e,t)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(e,t){return{name:this.translateService.instant(e),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:t,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:e}){return(100*e).toFixed(2)+"%"}},emphasis:{itemStyle:{color:t,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.storage.used"),t.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(e,t,a,r){const s=a.storageMemory,[o,i]=e;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const n=s.dataDirUsed+s.dataDirFree,l=s.workDirUsed+s.workDirFree,c=s.logsDirUsed+s.logsDirFree,u=s.dataDirUsed/n,h=s.workDirUsed/l,d=s.logsDirUsed/c,m=s.dataDirFree/n,p=s.workDirFree/l,f=s.logsDirFree/c;o.data.push(d,h,u),i.data.push(f,p,m)}configureSubtitle(){const e=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(e)}}},235:function(e,t,a){"use strict";a.r(t),a.d(t,"QueriesChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(e,t,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},e[0].data.push({value:[t,r.length]}),this.configureSubtitle()}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const e=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(e)}}},236:function(e,t,a){"use strict";a.r(t),a.d(t,"GlobalCacheChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},minInterval:1},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resources.global_cache.hits"),t.name=this.translateService.instant("resources.global_cache.miss")}addNewData(e,t,a){const[r,s]=e;r.data.push({value:[t,a.cacheHit]}),s.data.push({value:[t,a.cacheMiss]})}}},237:function(e,t,a){"use strict";a.r(t),a.d(t,"ConnectionsChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.connections.active"),t.name=this.translateService.instant("resource.connections.open")}addNewData(e,t,a){const[r,s]=e,{activeTransactions:o,openConnections:i}=a.performanceData;r.data.push({value:[t,o]}),s.data.push({value:[t,i]})}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},238:function(e,t,a){"use strict";a.r(t),a.d(t,"ClusterHealthChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!0,!1),this.nodesCount=0}createDataHolder(){const[e,t,a,r]=s.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:r,data:[]}]}addNewData(e,t,a){const r=a.nodesStats;this.nodesCount=r.nodesInCluster;const[s,o,i,n]=e;this.latestData={nodesInSync:r.nodesInCluster,nodesOutOfSync:r.nodesOutOfSync,nodesDisconnected:r.nodesDisconnected,nodesSyncing:r.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},s.data.push({value:[t,r.nodesInSync]}),i.data.push({value:[t,r.nodesOutOfSync]}),n.data.push({value:[t,r.nodesDisconnected]}),o.data.push({value:[t,r.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[e,t,a,r]=this.dataHolder;e.name=this.translateService.instant("resources.cluster_health.in_sync"),t.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),r.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(e,t){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const e=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(e)}}},239:function(e,t,a){"use strict";a.r(t),a.d(t,"EpoolChart",(function(){return s}));var r=a(69);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.epool.reads"),t.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(e,t,a,r){const s=a.performanceData,[o,i]=e;let n=0,l=0;const c=s.entityPool.epoolReads,u=s.entityPool.epoolWrites;r||(n=c-this.lastestData.reads,l=u-this.lastestData.writes),this.lastestData={reads:c,writes:u},o.data.push({value:[t,n]}),i.data.push({value:[t,l]})}updateRange(e){e.forEach((e,t)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis[t].max=a,this.chartOptions.yAxis[t].minInterval=s})}}},69:function(e,t,a){"use strict";a.r(t),a.d(t,"ChartData",(function(){return s}));var r=a(491);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}constructor(e,t,a,r){this.filter=r,this.disableRangeUpdate=t,this.disableOldDataRemoval=a,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(e){this.refreshHandlers.push(e)}unregisterRefreshHandler(e){const t=this.refreshHandlers.indexOf(e);t>-1&&this.refreshHandlers.splice(t,1)}initialChartSetup(e=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),e&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(e=!1){e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(e=>e(this.chartOptions))}setSubTitle(e,t=0){this.chartOptions.title.show=!0;let a="";e.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const o=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==o&&(a+=`{b|${o}}`),s+1<e.length&&(a+=t>0&&(s+1)%t==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(e){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(e,t){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,e,t,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(e=>!0===e)}removeOldData(e,t){this.disableOldDataRemoval||e[0].data.length>t&&e.forEach(e=>e.data.shift())}addNewData(e,t,a,r){}setSelectedSeries(e){this.selectedSeries=e}updateRange(e,t){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(e,t,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(e){return r.b.format(e.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(e,t){const a=e.filter(e=>!t||angular.isUndefined(t[e.name])||!0===t[e.name]).map(e=>s.getMaxValueForDataSeries(e));return Math.max(1,...a)}static getMaxValueForDataSeries(e){return Math.max(...e.data.map(e=>e.value[1]))}static calculateMaxChartValueAndDivisions(e,t,a){let r;r=Array.isArray(e)?s.getMaxValueFromDataHolder(e,a):s.getMaxValueForDataSeries(e);const o=Math.ceil(r*(t||s.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(e,t,a){const[r,o]=s.calculateMaxChartValueAndDivisions(e,t,a);return[r,o]}static formatBytesValue(e,t,a){let r=e;t&&(r=s.getMaxValueFromDataHolder(t,a));const o=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(e)/Math.pow(1024,o)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o]}`}formatNumber(e){if(!angular.isUndefined(e)&&this.filter)return this.filter("currency")(e,"",0)}}},81:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",a),a.$inject=["$http"];function a(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const a=$.param({force:t});return e.delete("rest/cluster/config?"+a)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[51,165,184,303],{150:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},229:function(e,o,r){"use strict";r.r(o);r(150);var t=r(71),s=r(83);function a(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:o=>{o.ImportResourceStatus=t.ImportResourceStatus,o.toTitleCase=e=>s.toTitleCase(e),o.showMessage=o=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return o?o.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",a),a.$inject=["$uibModal"]},71:function(e,o,r){"use strict";r.r(o),r.d(o,"ImportResourceStatus",(function(){return t}));const t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},83:function(e,o,r){"use strict";r.r(o),r.d(o,"removeSpecialChars",(function(){return s})),r.d(o,"toBoolean",(function(){return a})),r.d(o,"toTitleCase",(function(){return i}));var t=r(30);const s=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(t.upperFirst)(e.toLowerCase()):e}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[50,164,183,302],{148:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},228:function(e,o,r){"use strict";r.r(o);r(148);var t=r(71),s=r(83);function a(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:o=>{o.ImportResourceStatus=t.ImportResourceStatus,o.toTitleCase=e=>s.toTitleCase(e),o.showMessage=o=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return o?o.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",a),a.$inject=["$uibModal"]},71:function(e,o,r){"use strict";r.r(o),r.d(o,"ImportResourceStatus",(function(){return t}));const t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},83:function(e,o,r){"use strict";r.r(o),r.d(o,"removeSpecialChars",(function(){return s})),r.d(o,"toBoolean",(function(){return a})),r.d(o,"toTitleCase",(function(){return i}));var t=r(30);const s=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(t.upperFirst)(e.toLowerCase()):e}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[52,92,184,185],{120:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(71),i=s(30);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},231:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(87),i=s(120),o=s(71);const c=30,n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-file");const a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-upload"),a.set(r.ImportResourceType.URL,"icon-link"),a.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new i.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let o;o=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,o);if(t.isFile()){const e=new i.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?a.get(e.importResource.type):n.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.UPLOADED&&e.status!==o.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},71:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},87:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[51,92,183,184],{120:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(71),i=s(30);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},230:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(87),i=s(120),o=s(71);const c=30,n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-file");const a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-upload"),a.set(r.ImportResourceType.URL,"icon-link"),a.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new i.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let o;o=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,o);if(t.isFile()){const e=new i.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?a.get(e.importResource.type):n.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.UPLOADED&&e.status!==o.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},71:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},87:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[53,182,184,185],{114:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportParsingSettings",(function(){return r}));class r{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},148:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResource",(function(){return a}));var r=s(71),i=s(114),o=s(87);class a{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:r.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},71:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},87:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[52,181,183,184],{114:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportParsingSettings",(function(){return r}));class r{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},146:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResource",(function(){return a}));var r=s(71),i=s(114),o=s(87);class a{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:r.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},71:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},87:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[54,67,235,236],{73:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},74:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},78:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(73),a=s(74);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},84:function(t,i,s){"use strict";s.r(i),s.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var e=s(78);const a=t=>t.map(t=>{const i=new e.SimilarityIndex;return i.type=t.type,i.stopList=t.stopList,i.status=t.status,i.selectQuery=t.selectQuery,i.searchQuery=t.searchQuery,i.sameAs=t.sameAs,i.options=t.options,i.name=t.name,i.infer=t.infer,i.analyzer=t.analyzer,i.analogicalQuery=t.analogicalQuery,i})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[53,67,234,235],{73:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},74:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},78:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(73),a=s(74);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},84:function(t,i,s){"use strict";s.r(i),s.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var e=s(78);const a=t=>t.map(t=>{const i=new e.SimilarityIndex;return i.type=t.type,i.stopList=t.stopList,i.status=t.status,i.selectQuery=t.selectQuery,i.searchQuery=t.searchQuery,i.sameAs=t.sameAs,i.options=t.options,i.name=t.name,i.infer=t.infer,i.analyzer=t.analyzer,i.analogicalQuery=t.analogicalQuery,i})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[55,97,249,295],{265:function(e,t,s){"use strict";s.r(t);var a=s(75),n=s(72),i=s(79);function c(e,t,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(c,o,r)=>{c.chat=void 0,c.selectedAgent=void 0,c.chatItem=void 0,c.ask=()=>{c.chatItem.chatId?_(c.chatItem):E()},c.regenerateQuestion=e=>{const t=h();t.setQuestionMessage(e.getQuestionMessage()),_(t)},c.copyAnswerToClipboard=e=>{s.emit(a.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD,e)};const E=()=>{s.emit(a.TTYGEventName.CREATE_CHAT,c.chatItem)},_=e=>{s.emit(a.TTYGEventName.ASK_QUESTION,e)},h=()=>{const e=new i.ChatItemModel;return e.question=new n.ChatMessageModel({role:n.CHAT_MESSAGE_ROLE.USER}),c.chat&&(e.chatId=c.chat.id),c.selectedAgent&&(e.agentId=c.selectedAgent.id),e},d=[];d.push(c.$watchCollection("chat.chatHistory.items",()=>{const e=o.find(".chat-details")[0];e.scrollTop=e.scrollHeight})),d.push(s.onSelectedChatUpdated(e=>{c.chat=e,c.chatItem=h()})),d.push(s.onSelectedAgentChanged(e=>{c.selectedAgent=e,c.selectedAgent&&(c.chatItem.agentId=c.selectedAgent.id)})),d.push(s.subscribe(a.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL,()=>{e.success(t.instant("ttyg.chat_panel.messages.answer_copy_successful"))})),d.push(s.subscribe(a.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_FAILURE,()=>{e.success(t.instant("ttyg.chat_panel.messages.answer_copy_failed"))})),c.$on("$destroy",()=>{d.forEach(e=>e())}),c.chatItem=h()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",[]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},72:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return a})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class a{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},75:function(e,t,s){"use strict";s.r(t),s.d(t,"TTYGEventName",(function(){return i}));var a=s(30);function n(e){let t=void 0,s=void 0,n=void 0,c=void 0;const o=()=>Object(a.cloneDeep)(t),r=()=>Object(a.cloneDeep)(s),E=()=>Object(a.cloneDeep)(n),_=()=>Object(a.cloneDeep)(c),h=(t,s)=>{e.emitSync(t,Object(a.cloneDeep)(s))},d=(t,s)=>e.subscribeSync(t,e=>s(e));return{emit:h,subscribe:d,getChats:r,updateChats:e=>{s=Object(a.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,r())},onChatsListChanged:e=>(s&&angular.isFunction(e)&&e(r()),d(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:E,selectChat:e=>{n&&n.id===e||(n=Object(a.cloneDeep)(e),h(i.SELECT_CHAT,E()))},onSelectedChatChanged:e=>(n&&angular.isFunction(e)&&e(E()),d(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{n&&n.id!==e.id||(n=Object(a.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,E()))},onSelectedChatUpdated:e=>(n&&angular.isFunction(e)&&e(E()),d(i.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{t=Object(a.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(o()),d(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,selectAgent:e=>{c=Object(a.cloneDeep)(e),h(i.AGENT_SELECTED,_())},getSelectedAgent:_,onSelectedAgentChanged:e=>(c&&angular.isFunction(e)&&e(_()),d(i.AGENT_SELECTED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",n),n.$inject=["EventEmitterService"];const i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",LOAD_CHAT:"loadChat",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",COPY_ANSWER_TO_CLIPBOARD:"copyAnswerToClipboard",COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL:"copyAnswerToClipboardSuccess",COPY_ANSWER_TO_CLIPBOARD_FAILURE:"copyAnswerToClipboardFailure"}},79:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatItemModel",(function(){return n})),s.d(t,"ChatItemsListModel",(function(){return i}));var a=s(72);class n{constructor(e,t,s,a){this._chatId=e,this._agentId=t,this._question=s,this._answer=a}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get agentId(){return this._agentId}set agentId(e){this._agentId=e}get question(){return this._question}set question(e){this._question=e}get answer(){return this._answer}set answer(e){this._answer=e}setQuestionMessage(e){this._question||(this._question=new a.ChatMessageModel({role:a.CHAT_MESSAGE_ROLE.USER})),this._question.message=e}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class i{constructor(e=[]){this._items=e}isEmpty(){return 0===this._items.length}appendItem(e){this._items.push(e)}get items(){return this._items}set items(e){this._items=e||[]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[54,97,248,294],{264:function(e,t,s){"use strict";s.r(t);var a=s(75),n=s(72),i=s(79);function c(e,t,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:(c,o,r)=>{c.chat=void 0,c.selectedAgent=void 0,c.chatItem=void 0,c.ask=()=>{c.chatItem.chatId?_(c.chatItem):E()},c.regenerateQuestion=e=>{const t=h();t.setQuestionMessage(e.getQuestionMessage()),_(t)},c.copyAnswerToClipboard=e=>{s.emit(a.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD,e)};const E=()=>{s.emit(a.TTYGEventName.CREATE_CHAT,c.chatItem)},_=e=>{s.emit(a.TTYGEventName.ASK_QUESTION,e)},h=()=>{const e=new i.ChatItemModel;return e.question=new n.ChatMessageModel({role:n.CHAT_MESSAGE_ROLE.USER}),c.chat&&(e.chatId=c.chat.id),c.selectedAgent&&(e.agentId=c.selectedAgent.id),e},d=[];d.push(c.$watchCollection("chat.chatHistory.items",()=>{const e=o.find(".chat-details")[0];e.scrollTop=e.scrollHeight})),d.push(s.onSelectedChatUpdated(e=>{c.chat=e,c.chatItem=h()})),d.push(s.onSelectedAgentChanged(e=>{c.selectedAgent=e,c.selectedAgent&&(c.chatItem.agentId=c.selectedAgent.id)})),d.push(s.subscribe(a.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL,()=>{e.success(t.instant("ttyg.chat_panel.messages.answer_copy_successful"))})),d.push(s.subscribe(a.TTYGEventName.COPY_ANSWER_TO_CLIPBOARD_FAILURE,()=>{e.success(t.instant("ttyg.chat_panel.messages.answer_copy_failed"))})),c.$on("$destroy",()=>{d.forEach(e=>e())}),c.chatItem=h()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",[]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService"]},72:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return a})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class a{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},75:function(e,t,s){"use strict";s.r(t),s.d(t,"TTYGEventName",(function(){return i}));var a=s(30);function n(e){let t=void 0,s=void 0,n=void 0,c=void 0;const o=()=>Object(a.cloneDeep)(t),r=()=>Object(a.cloneDeep)(s),E=()=>Object(a.cloneDeep)(n),_=()=>Object(a.cloneDeep)(c),h=(t,s)=>{e.emitSync(t,Object(a.cloneDeep)(s))},d=(t,s)=>e.subscribeSync(t,e=>s(e));return{emit:h,subscribe:d,getChats:r,updateChats:e=>{s=Object(a.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,r())},onChatsListChanged:e=>(s&&angular.isFunction(e)&&e(r()),d(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:E,selectChat:e=>{n&&n.id===e||(n=Object(a.cloneDeep)(e),h(i.SELECT_CHAT,E()))},onSelectedChatChanged:e=>(n&&angular.isFunction(e)&&e(E()),d(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{n&&n.id!==e.id||(n=Object(a.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,E()))},onSelectedChatUpdated:e=>(n&&angular.isFunction(e)&&e(E()),d(i.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{t=Object(a.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(o()),d(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,selectAgent:e=>{c=Object(a.cloneDeep)(e),h(i.AGENT_SELECTED,_())},getSelectedAgent:_,onSelectedAgentChanged:e=>(c&&angular.isFunction(e)&&e(_()),d(i.AGENT_SELECTED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",n),n.$inject=["EventEmitterService"];const i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",LOAD_CHAT:"loadChat",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",COPY_ANSWER_TO_CLIPBOARD:"copyAnswerToClipboard",COPY_ANSWER_TO_CLIPBOARD_SUCCESSFUL:"copyAnswerToClipboardSuccess",COPY_ANSWER_TO_CLIPBOARD_FAILURE:"copyAnswerToClipboardFailure"}},79:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatItemModel",(function(){return n})),s.d(t,"ChatItemsListModel",(function(){return i}));var a=s(72);class n{constructor(e,t,s,a){this._chatId=e,this._agentId=t,this._question=s,this._answer=a}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get agentId(){return this._agentId}set agentId(e){this._agentId=e}get question(){return this._question}set question(e){this._question=e}get answer(){return this._answer}set answer(e){this._answer=e}setQuestionMessage(e){this._question||(this._question=new a.ChatMessageModel({role:a.CHAT_MESSAGE_ROLE.USER})),this._question.message=e}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class i{constructor(e=[]){this._items=e}isEmpty(){return 0===this._items.length}appendItem(e){this._items.push(e)}get items(){return this._items}set items(e){this._items=e||[]}}}}]);