graphdb-workbench 2.7.2 → 2.7.3-RC1

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 (411) hide show
  1. package/dist/{10.1aa770d7f1e7124afe38.bundle.js → 10.e099f7fb97bbc2db4c45.bundle.js} +1 -1
  2. package/dist/{101.37e41d12f25ce7c3b6fc.bundle.js → 100.a7c19fae5a8cbda20b25.bundle.js} +1 -1
  3. package/dist/{102.6f9cbff52ee6b40bd8ed.bundle.js → 101.3ada6b5a04e4ef57722a.bundle.js} +1 -1
  4. package/dist/102.1a0240ec65b7827b165e.bundle.js +1 -0
  5. package/dist/{104.60b9a1f31027d37caf14.bundle.js → 103.b1c32225b9ece4a53caf.bundle.js} +1 -1
  6. package/dist/{105.8ec8714c5344f807f679.bundle.js → 104.0aa23866934e732b43fb.bundle.js} +1 -1
  7. package/dist/{106.f34d41aa335a1a1c4d38.bundle.js → 105.cbbec6b78af5cb07852c.bundle.js} +1 -1
  8. package/dist/{107.7002925ebe3a8f9dc69a.bundle.js → 106.341cf62ce889712b2d85.bundle.js} +1 -1
  9. package/dist/{108.27bef479890bf24da4e2.bundle.js → 107.aedf10dde9b07831accb.bundle.js} +1 -1
  10. package/dist/{109.7befd38d683a7d38c650.bundle.js → 108.9efa558f8ecfbea3e825.bundle.js} +1 -1
  11. package/dist/{110.d6dd4580333cc5874d3c.bundle.js → 109.ce6a4ff7b3485c959146.bundle.js} +1 -1
  12. package/dist/{11.5ac6f570d5d9addd9325.bundle.js → 11.383d753c4b510ee977ff.bundle.js} +1 -1
  13. package/dist/{111.7822b8d4ffbfe8ec478c.bundle.js → 110.a53b8d7c7bcae019633e.bundle.js} +1 -1
  14. package/dist/{112.9a2f16b0bb3599c14751.bundle.js → 111.a6a8ed7fa0e88e3b02ad.bundle.js} +1 -1
  15. package/dist/{113.27b113aa87f5120f3214.bundle.js → 112.a50187c7c155bc63666b.bundle.js} +1 -1
  16. package/dist/{114.6a65bbedc013e1309ded.bundle.js → 113.c58fac0d131015bd1977.bundle.js} +1 -1
  17. package/dist/{115.b8d4948e91bc87af25f6.bundle.js → 114.ed6ccefb5672f2c22759.bundle.js} +1 -1
  18. package/dist/{116.4bdd621e8f4121c1fb9b.bundle.js → 115.d4c967c14eee9dc32366.bundle.js} +1 -1
  19. package/dist/{117.d3d85fee4a3d81b18e15.bundle.js → 116.8ecec5f32418d208fc6a.bundle.js} +1 -1
  20. package/dist/{118.35617d9571fdd1e04280.bundle.js → 117.da95b63f1fd21743a255.bundle.js} +1 -1
  21. package/dist/{119.25046aae4f906a3b9457.bundle.js → 118.b8a09b0e93407839c90b.bundle.js} +1 -1
  22. package/dist/{120.f8d9da3ff5443d64b7c9.bundle.js → 119.b4231535aed3c8d4c45a.bundle.js} +1 -1
  23. package/dist/{12.578e8ea044e8b40a94ee.bundle.js → 12.29858d4249b1dcb9afa8.bundle.js} +1 -1
  24. package/dist/{121.af7399fc572a60de3061.bundle.js → 120.a8126c4f338d7c86e47e.bundle.js} +1 -1
  25. package/dist/{122.59b4ea10d7a9b22fc9db.bundle.js → 121.71dfd143f92944037469.bundle.js} +1 -1
  26. package/dist/{123.5587ea39af3023b5bb34.bundle.js → 122.9be3da7023b103801a26.bundle.js} +1 -1
  27. package/dist/{124.12578c32900e1dd77742.bundle.js → 123.8a85052c1b6beb0466be.bundle.js} +1 -1
  28. package/dist/{125.14767fcefae0676044e6.bundle.js → 124.b06274da4e068e36b7b7.bundle.js} +1 -1
  29. package/dist/{126.0e93fab2297ba7757766.bundle.js → 125.9725c0ccecbbaca411eb.bundle.js} +1 -1
  30. package/dist/{127.7151226dc5c7143c6a7d.bundle.js → 126.0519656523e92b7c2e06.bundle.js} +1 -1
  31. package/dist/{128.cf87f851d1ba35fe7100.bundle.js → 127.03d546f58c7194f4c270.bundle.js} +1 -1
  32. package/dist/{129.d71a9882363b278a7918.bundle.js → 128.a01b8403a8740da8342d.bundle.js} +1 -1
  33. package/dist/{130.234b58f1812b976eebe0.bundle.js → 129.b0c41b31dae7b4455c19.bundle.js} +1 -1
  34. package/dist/{13.5c9ab846d6b784ce3825.bundle.js → 13.f3dd6f228d7176959515.bundle.js} +1 -1
  35. package/dist/{131.3c2f24f2e6abff9140c5.bundle.js → 130.5e94d21a0f44d1a194f0.bundle.js} +1 -1
  36. package/dist/{132.99311ccc8a21d3448cc2.bundle.js → 131.c10bd0390f10cfb0965d.bundle.js} +1 -1
  37. package/dist/{133.c42e903423b4dff7fd3c.bundle.js → 132.4aae04376827575bc22d.bundle.js} +1 -1
  38. package/dist/{134.cb7f54514484f90eb02f.bundle.js → 133.b2f222d0d4c72baafa9d.bundle.js} +1 -1
  39. package/dist/{135.bd00a551693084ff39e6.bundle.js → 134.cd0fceef672f896e2ffc.bundle.js} +1 -1
  40. package/dist/{136.b053fc49873b7ca8438a.bundle.js → 135.3908f795e7367fb31633.bundle.js} +1 -1
  41. package/dist/{137.bcc736c3b60fde444204.bundle.js → 136.1a7341294ebda1ad54d0.bundle.js} +1 -1
  42. package/dist/{138.4b51b9fdc0a16e6051a5.bundle.js → 137.b4466cb20bec5cc3b639.bundle.js} +1 -1
  43. package/dist/{139.24c33f149a0bf46e5d55.bundle.js → 138.56cdf4f02cc1ac2e5833.bundle.js} +1 -1
  44. package/dist/{140.a13e04b4090a07f4e59b.bundle.js → 139.ef8df087cc6f9f3d2579.bundle.js} +1 -1
  45. package/dist/{14.14fc4d8859366e46cf8e.bundle.js → 14.219b562ad2c5a28865e0.bundle.js} +1 -1
  46. package/dist/{141.6bf44fe90aca025f268f.bundle.js → 140.6a5125aed0571c6440e5.bundle.js} +1 -1
  47. package/dist/{142.afa43cdf98db52b553cc.bundle.js → 141.ae75738d6e213a9ff762.bundle.js} +1 -1
  48. package/dist/{143.5f179c457fc4e9102dac.bundle.js → 142.746d059fe5bcebca0456.bundle.js} +1 -1
  49. package/dist/{144.bed1362e8e1bf28f2474.bundle.js → 143.a3c2abfa905f1b2dfad8.bundle.js} +1 -1
  50. package/dist/{145.ead9efabb724dfeb0e19.bundle.js → 144.e41c29b4818c2ca3fb7e.bundle.js} +1 -1
  51. package/dist/{146.5c85b4c6e5b066c1b871.bundle.js → 145.3fbc97341b7fcad9c04d.bundle.js} +1 -1
  52. package/dist/{147.c172219a8a4bd0f6c056.bundle.js → 146.3f6f41448bd7e4364896.bundle.js} +1 -1
  53. package/dist/147.65c79c407dceae4da65f.bundle.js +1 -0
  54. package/dist/{149.6ca53f69236ab27aa67e.bundle.js → 148.97f633a4bea89d75cfab.bundle.js} +1 -1
  55. package/dist/{150.8172cd2b4dddb58bf148.bundle.js → 149.adc4322435c6a795c765.bundle.js} +1 -1
  56. package/dist/{151.209c122817bdae72ca11.bundle.js → 150.7fed3d06f4ba61e91304.bundle.js} +1 -1
  57. package/dist/{152.ee6121b3ed275c8e2e96.bundle.js → 151.b9fef74d5877b8cd2f13.bundle.js} +1 -1
  58. package/dist/{153.01af8362898ed0ff4f07.bundle.js → 152.2b525d2ab1e1a9ae4f50.bundle.js} +1 -1
  59. package/dist/{154.1a185f1296920a9bf4f8.bundle.js → 153.70cd6fde6f3fdf304ef5.bundle.js} +1 -1
  60. package/dist/{155.9b4a15ea77ec62764a32.bundle.js → 154.d18c523290ba184e8ad0.bundle.js} +1 -1
  61. package/dist/{156.cbdb3e315d0152425838.bundle.js → 155.9f02253eaeb65e009814.bundle.js} +1 -1
  62. package/dist/{157.90de0b1ea209ff696c9e.bundle.js → 156.db66ecd3813c2939de33.bundle.js} +1 -1
  63. package/dist/{158.2f8002340e867ac58b91.bundle.js → 157.6c501e5173d3d67cf84b.bundle.js} +1 -1
  64. package/dist/{159.6736108c1fa2b4eafd4f.bundle.js → 158.727797fb45c70e4f36f7.bundle.js} +1 -1
  65. package/dist/{160.d46763b6750067017f78.bundle.js → 159.c94abc4d8eb8c5b4b885.bundle.js} +1 -1
  66. package/dist/{161.39f87c352f42106bacaf.bundle.js → 160.162fbe684b3fc6fda8cd.bundle.js} +1 -1
  67. package/dist/{162.faf20ecd7edbfeb433f7.bundle.js → 161.67a74475450db8c62b88.bundle.js} +1 -1
  68. package/dist/{163.a2dadd41b54ec7cf64c3.bundle.js → 162.c33e7eb0f83493d631f4.bundle.js} +1 -1
  69. package/dist/{164.d4542931bcfc40f30b0b.bundle.js → 163.357295dc28dd1109c330.bundle.js} +1 -1
  70. package/dist/{165.78f7fab494d1436d90e0.bundle.js → 164.d62c15d2072b8d7aaa8b.bundle.js} +1 -1
  71. package/dist/{166.486fb397b80473b0d11e.bundle.js → 165.f4b60d3691a7cfafc972.bundle.js} +1 -1
  72. package/dist/{167.efcd257081f26115b782.bundle.js → 166.2744f5b5b2df65113a66.bundle.js} +1 -1
  73. package/dist/{168.a15a524f8b75e42a4b00.bundle.js → 167.4b2512bd28872a379d6c.bundle.js} +1 -1
  74. package/dist/{169.b948971765f11f54b0d5.bundle.js → 168.02d3654ee5fdf3223c9f.bundle.js} +1 -1
  75. package/dist/{170.10f0db38ff475fa7e988.bundle.js → 169.2cbbe566a2ac703d569b.bundle.js} +1 -1
  76. package/dist/17.903011ce0ef67971cb5a.bundle.js +3 -0
  77. package/dist/{171.81243c7d1f615f7c84be.bundle.js → 170.30a00990930c58b9df3b.bundle.js} +1 -1
  78. package/dist/{172.19467709a3cfb3940ba5.bundle.js → 171.e6e9370ecfa253a6fec6.bundle.js} +1 -1
  79. package/dist/{173.c5229151bdf08623a7de.bundle.js → 172.4a86989b42701a358ad9.bundle.js} +1 -1
  80. package/dist/{174.a2c9a9b979d7c7793177.bundle.js → 173.878a35d4d444d91b6039.bundle.js} +1 -1
  81. package/dist/{175.2f2a140f48766e99c704.bundle.js → 174.061ab9a90d0ae6fd8645.bundle.js} +1 -1
  82. package/dist/{176.267080123b2d0469175d.bundle.js → 175.a7d14d4055691bb632e1.bundle.js} +1 -1
  83. package/dist/{177.8f5a1a113b1f4f3f348e.bundle.js → 176.0117c9b6b6e7bf4d0db4.bundle.js} +1 -1
  84. package/dist/{178.9cac406665b8550e16b9.bundle.js → 177.8214588a209724da375e.bundle.js} +1 -1
  85. package/dist/178.b71de0f2c5129e112191.bundle.js +1 -0
  86. package/dist/{180.4fa14c1d5036979d5263.bundle.js → 179.5c4d5c6bf3cfbffbef6e.bundle.js} +1 -1
  87. package/dist/{18.a7609828cd2fd3058d18.bundle.js → 18.debb372b628888bb9622.bundle.js} +1 -1
  88. package/dist/{181.1cef448de3c0f1136a20.bundle.js → 180.090677eb2f65897c6c20.bundle.js} +1 -1
  89. package/dist/{182.56348d343ee5cf092e0d.bundle.js → 181.3613a40ea69cb7143c9a.bundle.js} +1 -1
  90. package/dist/{183.9ee4e46cf1e1368e86ed.bundle.js → 182.f136faa36feaacf3dda0.bundle.js} +1 -1
  91. package/dist/{184.41ee6066caff3af33283.bundle.js → 183.6f31d0f25a62c4879bb3.bundle.js} +1 -1
  92. package/dist/{185.6ed725999b50da70e228.bundle.js → 184.439ffd94ca22be743d8f.bundle.js} +1 -1
  93. package/dist/{186.bb3d9af2735c37664e55.bundle.js → 185.08076bd45719585062bb.bundle.js} +1 -1
  94. package/dist/{187.90162eddabd6aff17165.bundle.js → 186.e5a9532fc732beabd499.bundle.js} +1 -1
  95. package/dist/{188.f3e6b7eeb6822cfdc63d.bundle.js → 187.d98bb3b2c205f2206369.bundle.js} +1 -1
  96. package/dist/{189.890ee3dde9a48048c9cc.bundle.js → 188.0583ded5d119b63f901a.bundle.js} +1 -1
  97. package/dist/{190.e981b1883942821aeda7.bundle.js → 189.d094406ca39877782747.bundle.js} +1 -1
  98. package/dist/{19.6789bda5aa81fc5846c0.bundle.js → 19.bbcba308e446241f309a.bundle.js} +1 -1
  99. package/dist/{191.b411571959305e3646e6.bundle.js → 190.fe1738b71bea2bcb8e55.bundle.js} +1 -1
  100. package/dist/{192.25a8b9411da49d711c94.bundle.js → 191.1ad64c7613a9f9369f8b.bundle.js} +1 -1
  101. package/dist/{193.fd8099b7720c4dd43846.bundle.js → 192.01b899883554ea297b3f.bundle.js} +1 -1
  102. package/dist/{194.899581165008ec35c6f2.bundle.js → 193.ba72ec6f042a6e5ed6e4.bundle.js} +1 -1
  103. package/dist/{195.b8c5e9f217902accb057.bundle.js → 194.ee4da665dd9a88b2ed9c.bundle.js} +1 -1
  104. package/dist/{196.7ea52062f0a2531b65b0.bundle.js → 195.204a815ccac786d2bdf2.bundle.js} +1 -1
  105. package/dist/{197.ec9eab135af5dccf29c1.bundle.js → 196.e2421eae50dfba5156e5.bundle.js} +1 -1
  106. package/dist/{198.b3187d611303cfd5f2d8.bundle.js → 197.4458f8def0b178e01fbf.bundle.js} +1 -1
  107. package/dist/198.75a20f2c5a4dfcc2267f.bundle.js +1 -0
  108. package/dist/{200.02004bd0480acf25b3a6.bundle.js → 199.41c1c02951f85a420212.bundle.js} +1 -1
  109. package/dist/{2.f061edb2896b6301bec7.bundle.js → 2.20318b6444a918ee1840.bundle.js} +1 -1
  110. package/dist/{20.4de171699394fd8bdbef.bundle.js → 20.137a3bcd033e9bfae0c3.bundle.js} +1 -1
  111. package/dist/200.9583ccab5e9e2e1bb6ed.bundle.js +1 -0
  112. package/dist/{202.10ce39fbc37365892b07.bundle.js → 201.74e1a42608681ec30d8f.bundle.js} +1 -1
  113. package/dist/{203.057de94e85bb04e21ee1.bundle.js → 202.3c58e0221add7eda2930.bundle.js} +1 -1
  114. package/dist/{204.c9577ddc3e4f2eff1518.bundle.js → 203.61cc829c171e8e7aa147.bundle.js} +1 -1
  115. package/dist/{205.385bff094a30cca9835a.bundle.js → 204.0e4d6861705dca049a9b.bundle.js} +1 -1
  116. package/dist/{206.7ce70e6227ec693d750f.bundle.js → 205.4ec0abda464d6b7a3037.bundle.js} +1 -1
  117. package/dist/{207.508f7ab02aa8a28a2c74.bundle.js → 206.f41525d2395a2e9924f8.bundle.js} +1 -1
  118. package/dist/{208.8d55a668719423f97b1f.bundle.js → 207.c865fe7e00c3378707f8.bundle.js} +1 -1
  119. package/dist/{209.1a590652b60bd1ebd56f.bundle.js → 208.764496be8032fb395fc8.bundle.js} +1 -1
  120. package/dist/{210.852e87d929308f655026.bundle.js → 209.e844172a6740640ff453.bundle.js} +1 -1
  121. package/dist/{21.04a1f4a0bc7a1dd81657.bundle.js → 21.58b0435bdf5577842d82.bundle.js} +1 -1
  122. package/dist/{211.210c65ad98a9f87a8edd.bundle.js → 210.d56ee3e704e8f3548d14.bundle.js} +1 -1
  123. package/dist/{212.ad7c8b87e4c22b15d1a7.bundle.js → 211.53298f2082f1ac779980.bundle.js} +1 -1
  124. package/dist/212.7cce0be2a3f1d2ddb7c8.bundle.js +1 -0
  125. package/dist/213.2b1d9d438dab2661fd05.bundle.js +1 -0
  126. package/dist/{215.0f06504928b6f322bab7.bundle.js → 214.4c0a1804891256835455.bundle.js} +1 -1
  127. package/dist/{216.810bc408538d4895dd7c.bundle.js → 215.6881462a6baa9fe06e42.bundle.js} +1 -1
  128. package/dist/{217.7a480940f353ee16c96b.bundle.js → 216.3d582471e90044064feb.bundle.js} +1 -1
  129. package/dist/{218.2bddc5cb6b0b4a78b9e9.bundle.js → 217.fc227572c262a1d9c227.bundle.js} +1 -1
  130. package/dist/{219.1ba4630d28ea5f7e0413.bundle.js → 218.f390020a36aa8f076996.bundle.js} +1 -1
  131. package/dist/{220.72e8a728288f5e31c517.bundle.js → 219.138152c43aa1922461f7.bundle.js} +1 -1
  132. package/dist/{22.043a7aaf571339cd5488.bundle.js → 22.b790b05ae41992bbbc39.bundle.js} +1 -1
  133. package/dist/220.44162546de18ba6cc9f0.bundle.js +1 -0
  134. package/dist/{222.acc090967bed54a503fe.bundle.js → 221.cf6374bda395430d119f.bundle.js} +1 -1
  135. package/dist/222.26e896b4ba989fe7973f.bundle.js +1 -0
  136. package/dist/{224.809f30bbd6538d4146d4.bundle.js → 223.342098cde78a228dbae2.bundle.js} +1 -1
  137. package/dist/{225.ef9c6c5dd48e5627386e.bundle.js → 224.4aa191a7d1697bfeebe5.bundle.js} +1 -1
  138. package/dist/{226.3f67931e10b3e8e973f7.bundle.js → 225.b06774edc16980ef562e.bundle.js} +1 -1
  139. package/dist/226.376ae813218cfe93c083.bundle.js +1 -0
  140. package/dist/{228.fe0a53662ef4f0ea8021.bundle.js → 227.b73392de37fd73e9fb11.bundle.js} +1 -1
  141. package/dist/{229.90996a69b404a8d7adf2.bundle.js → 228.5d2ae92b1b546532dff4.bundle.js} +1 -1
  142. package/dist/{230.547dca73ab65c62e0b2a.bundle.js → 229.32a5c0f8b3c516678962.bundle.js} +1 -1
  143. package/dist/{23.214659b8307a8b526c4a.bundle.js → 23.0389a34f6d64fb22e8d0.bundle.js} +1 -1
  144. package/dist/{231.4f6e352480b2a62f65cf.bundle.js → 230.0c6f361fec0b5ecfacde.bundle.js} +1 -1
  145. package/dist/{232.371f100d4f9c6b54abdc.bundle.js → 231.2fa3d11d05fa4c25173b.bundle.js} +1 -1
  146. package/dist/{233.3a6c18b567c553c2bfc0.bundle.js → 232.a4dd496dcd4fd34d44ce.bundle.js} +1 -1
  147. package/dist/{234.7fcbaa0c655372e5239f.bundle.js → 233.1c5510169cfb958d4885.bundle.js} +1 -1
  148. package/dist/{235.667e9e865d0c55618529.bundle.js → 234.8f64c9894acacf65a9d0.bundle.js} +1 -1
  149. package/dist/{236.64ad84e5e5cf8420e3d3.bundle.js → 235.3982782030297b6fd4d4.bundle.js} +1 -1
  150. package/dist/{237.5496017c121856c29839.bundle.js → 236.07a64d7b74446e286181.bundle.js} +1 -1
  151. package/dist/{238.b2f62417480358f3aeb8.bundle.js → 237.728c10320a6913ded2c0.bundle.js} +1 -1
  152. package/dist/{239.d127ee50248b2e121d8a.bundle.js → 238.fb8eb814adb9421b09e6.bundle.js} +1 -1
  153. package/dist/{240.c29cfcce94d65a067900.bundle.js → 239.35cb8930292eedca6ff1.bundle.js} +1 -1
  154. package/dist/{24.a4b4d14d58787aae2bb3.bundle.js → 24.94e115d86adcfad080e2.bundle.js} +1 -1
  155. package/dist/{241.7ac34ebc61bc5efa7c63.bundle.js → 240.ad83a6e9b8bf6141d499.bundle.js} +1 -1
  156. package/dist/{242.37a6d363be1218b79b96.bundle.js → 241.f2c573d452e4f346ad1b.bundle.js} +1 -1
  157. package/dist/{243.b7071f131ee27952ff5e.bundle.js → 242.1d8635befeea4e027651.bundle.js} +1 -1
  158. package/dist/{244.78aeea49a7d2ce079279.bundle.js → 243.4a4833a826d623ed744b.bundle.js} +1 -1
  159. package/dist/{245.0d5944d99695e131eb9e.bundle.js → 244.4e87e112b9a8f175b75d.bundle.js} +1 -1
  160. package/dist/{246.8bec7af8d65ea7e892e4.bundle.js → 245.28c8f1a445101c396877.bundle.js} +1 -1
  161. package/dist/{247.f0de1976dd01f512815c.bundle.js → 246.c5887d67230a294466a4.bundle.js} +1 -1
  162. package/dist/{248.e9f35b7e2bd6a8c93445.bundle.js → 247.26ec449a35a63083d754.bundle.js} +1 -1
  163. package/dist/{249.9421b55b30175fff9055.bundle.js → 248.9118b2a8752f21f387a8.bundle.js} +1 -1
  164. package/dist/{250.85855003c5c3a888f410.bundle.js → 249.763fe3760730a2440463.bundle.js} +1 -1
  165. package/dist/{25.07157a5754026ebfca68.bundle.js → 25.267d0cd02795a5ff775e.bundle.js} +1 -1
  166. package/dist/{251.fc18aaf41dc94a94970e.bundle.js → 250.76d117cb0ccc57e98b83.bundle.js} +1 -1
  167. package/dist/{252.b358dd85b1fdc0c4f527.bundle.js → 251.40b3619cb7b19f22e61c.bundle.js} +1 -1
  168. package/dist/{253.5565201a8a2d5904d59f.bundle.js → 252.7e87664424f0a4b1fa03.bundle.js} +1 -1
  169. package/dist/{254.d420ab9f094a0c4f0812.bundle.js → 253.df58d1d46ad0421a3bc1.bundle.js} +1 -1
  170. package/dist/{255.836e5a69fd34bb5be73c.bundle.js → 254.a2ef57b166f072c8f17e.bundle.js} +1 -1
  171. package/dist/{256.c51cdf38904e54c493f6.bundle.js → 255.39e03cb9a7fdeaf6573e.bundle.js} +1 -1
  172. package/dist/{257.745d505c44cac9ecbdcb.bundle.js → 256.2b406d658ebbd56d1cfd.bundle.js} +1 -1
  173. package/dist/{258.ad1e8bc5426760cd7ff5.bundle.js → 257.17163d3a834e1b265e98.bundle.js} +1 -1
  174. package/dist/{259.1f263b72f0bcc10f3472.bundle.js → 258.4cac2260d9954d8c349c.bundle.js} +1 -1
  175. package/dist/{260.5d8f798ceab03ffd005e.bundle.js → 259.4f23c90e9fdc51bed6e3.bundle.js} +1 -1
  176. package/dist/{26.69b15d62bbc31dda14a9.bundle.js → 26.5d301950a8dfb7167be3.bundle.js} +1 -1
  177. package/dist/{261.cfc91fd6259161171ef8.bundle.js → 260.873c70b09acba67aac72.bundle.js} +1 -1
  178. package/dist/{262.bb79058c715d910286de.bundle.js → 261.5126babceffbba895560.bundle.js} +1 -1
  179. package/dist/{263.2aa1ef932b9751fcfb15.bundle.js → 262.4ed800ac9a0fe21beffc.bundle.js} +1 -1
  180. package/dist/{264.5dbd1c96b788f865e8a3.bundle.js → 263.e2ec042ec48e602b3025.bundle.js} +1 -1
  181. package/dist/{265.91fe4801d0ae3c7c6013.bundle.js → 264.fe1fc95dcb2f350d86e8.bundle.js} +1 -1
  182. package/dist/{266.faf272fe407c865552d5.bundle.js → 265.5775f3b8850ff720a037.bundle.js} +1 -1
  183. package/dist/{267.51d61308ef19d0f31ae3.bundle.js → 266.91ea85209fc1ba79d154.bundle.js} +1 -1
  184. package/dist/{268.d4496b954a694a12f563.bundle.js → 267.eb44e72c49c4c7f082f0.bundle.js} +1 -1
  185. package/dist/{269.39786de80a65a060ba15.bundle.js → 268.db0c67a5f18954d3e2a0.bundle.js} +1 -1
  186. package/dist/{270.64089e07bc299884bcbc.bundle.js → 269.e222f8f4aa2fbadbee91.bundle.js} +1 -1
  187. package/dist/{27.53acb4e8dbb891f6f608.bundle.js → 27.b5697de5262d6e5c9db1.bundle.js} +1 -1
  188. package/dist/{271.a3c76fa258d0ed1c68de.bundle.js → 270.ec94e6346cd3664d7be8.bundle.js} +1 -1
  189. package/dist/{272.fc74d1eaa74ffe3cbed8.bundle.js → 271.84d43853369306cdd337.bundle.js} +1 -1
  190. package/dist/{273.363c48cd824d9b16511d.bundle.js → 272.7b1851cebbece7a9ddae.bundle.js} +1 -1
  191. package/dist/{274.09dd817db059d1e2027b.bundle.js → 273.aad9680e33e5dfb69af9.bundle.js} +1 -1
  192. package/dist/{275.1d433118168273895d76.bundle.js → 274.6ae6498108850730cffa.bundle.js} +1 -1
  193. package/dist/28.2404c15d2d12b142e727.bundle.js +1 -0
  194. package/dist/{281.2c5c1a5308b7d1b13676.bundle.js → 280.aba8b40627c79e9361e8.bundle.js} +1 -1
  195. package/dist/{282.21b470589ebf50a754ca.bundle.js → 281.00c8c501447ba724fb51.bundle.js} +1 -1
  196. package/dist/{283.961a0723a6dd6d6d20a7.bundle.js → 282.9ecd5967a8713d02b56c.bundle.js} +1 -1
  197. package/dist/{284.3bcff740d5abd555442c.bundle.js → 283.5626c7701b42589613a8.bundle.js} +1 -1
  198. package/dist/{285.d0c6c3b0f4c16444ebfe.bundle.js → 284.4e8589f362c7e494b117.bundle.js} +1 -1
  199. package/dist/{286.7d732e8410d0dd046fb1.bundle.js → 285.540998b336ae342f5d20.bundle.js} +1 -1
  200. package/dist/{287.f8db56b77fbb5c6dd38a.bundle.js → 286.9d56f2c308a0dd61b340.bundle.js} +1 -1
  201. package/dist/{288.8832d23379c6281a398f.bundle.js → 287.8b3df30d8bc0f4fe6a9a.bundle.js} +1 -1
  202. package/dist/{289.c7d6f3a82e31d17e2011.bundle.js → 288.ce922775c4e3d29a5e71.bundle.js} +1 -1
  203. package/dist/{290.67cc2dcf2cef8f4c33c3.bundle.js → 289.12dd37e1d6e5fa39b66a.bundle.js} +1 -1
  204. package/dist/29.15213e151364f5ecfcd5.bundle.js +1 -1
  205. package/dist/{291.038fdef3df3ba7f946c2.bundle.js → 290.d84ceb0b1e2d2ce40630.bundle.js} +1 -1
  206. package/dist/{292.301d98f1f2a43b128b8e.bundle.js → 291.ba9702897c4f7c4c2272.bundle.js} +1 -1
  207. package/dist/{293.4e1ffa1e4b20c2d7af2a.bundle.js → 292.1db277ce801ef0a0d22b.bundle.js} +1 -1
  208. package/dist/{294.696e31444cc6256fe321.bundle.js → 293.01c160069ca01648aeed.bundle.js} +1 -1
  209. package/dist/{295.dca318e4078b71328e54.bundle.js → 294.bb6fb8b2ac1df299d985.bundle.js} +1 -1
  210. package/dist/{296.241452bb8b8fd4eed62a.bundle.js → 295.b4ff8640f26c566d9250.bundle.js} +1 -1
  211. package/dist/{297.238b4a2efa3e2d6d322f.bundle.js → 296.bfdb6d02256ef581957f.bundle.js} +1 -1
  212. package/dist/{298.29db4e667a0e9192e362.bundle.js → 297.412c29f4138a6a3e2fd3.bundle.js} +1 -1
  213. package/dist/298.da4f76a1f15735939bf2.bundle.js +1 -0
  214. package/dist/{300.27089ba45aae8a39db45.bundle.js → 299.cd5d6caf1f2009711509.bundle.js} +1 -1
  215. package/dist/{30.fd0ba22c1f4947d37d89.bundle.js → 30.0828aa8ae1f25833397b.bundle.js} +1 -1
  216. package/dist/300.461e7d6387a731648a65.bundle.js +1 -0
  217. package/dist/301.1122db865f3d078e92ce.bundle.js +1 -0
  218. package/dist/302.fc8487f1385cdc7c0e5e.bundle.js +1 -0
  219. package/dist/{304.0df49527d28d35eb6f06.bundle.js → 303.e98d31034e8f9c38a99f.bundle.js} +1 -1
  220. package/dist/{305.adef0eecfe234f6359af.bundle.js → 304.82483cc47eb51d1308b4.bundle.js} +1 -1
  221. package/dist/{306.ccca6079d073f11ae483.bundle.js → 305.6ce8ef97d6004cefbdec.bundle.js} +1 -1
  222. package/dist/{307.78134fdf4ce7f304d79d.bundle.js → 306.f97e09a9ae3a4df96522.bundle.js} +1 -1
  223. package/dist/{308.2d5e878851fc4567d5ce.bundle.js → 307.b747379e899a8ce7a9e1.bundle.js} +1 -1
  224. package/dist/{309.63676f552ab143b004d3.bundle.js → 308.c2911f41fe86f7b83a86.bundle.js} +1 -1
  225. package/dist/{310.7eff60bf98ff29da94d5.bundle.js → 309.8179060e4355bbb26258.bundle.js} +1 -1
  226. package/dist/{31.4afb7a17e968b99fcc25.bundle.js → 31.dffff0a8aea8dd572339.bundle.js} +1 -1
  227. package/dist/{311.d6f992aaa4599c7f6b42.bundle.js → 310.2f72c1da9e878b8b6df8.bundle.js} +1 -1
  228. package/dist/{312.27caf9d771a4f5d5cdbf.bundle.js → 311.35c32d01a5a346ecbf46.bundle.js} +1 -1
  229. package/dist/{313.77ebadf4913583d2069f.bundle.js → 312.13d8486184db1b26f18d.bundle.js} +1 -1
  230. package/dist/{314.5a8f07eeb97707c9cd2b.bundle.js → 313.69c8343ca528025c1fb2.bundle.js} +1 -1
  231. package/dist/{315.3d0aafcd00e3e9d660e3.bundle.js → 314.06e8c36470ec98c479a8.bundle.js} +1 -1
  232. package/dist/{316.387a38dbdc74b473b37a.bundle.js → 315.c472be5a14f8a8fdb337.bundle.js} +1 -1
  233. package/dist/{317.4b482d92ec2bbd0a8383.bundle.js → 316.ce62691e4041f3b84ac2.bundle.js} +1 -1
  234. package/dist/{318.b03fc767ed888eb5ccbd.bundle.js → 317.c2f0c34b8694f45429a0.bundle.js} +1 -1
  235. package/dist/{319.8139aa7532c46c09869f.bundle.js → 318.7ba4401627a1c86c19fc.bundle.js} +1 -1
  236. package/dist/{320.6ddd2b8b745f5e3b70da.bundle.js → 319.46ba833ee2929e86c799.bundle.js} +1 -1
  237. package/dist/{32.075fe8754ea97e7f7fc3.bundle.js → 32.ffa079f4f8d07ec292b4.bundle.js} +1 -1
  238. package/dist/{321.877a11cd71bbc9a5dbe5.bundle.js → 320.1d50a3082b0d0bea7dc7.bundle.js} +1 -1
  239. package/dist/{322.372c2b047b1ec2f9647d.bundle.js → 321.783ccd95b7b5d1ab25c8.bundle.js} +1 -1
  240. package/dist/{323.b7e2a28dfb5bb7aaf51b.bundle.js → 322.bde4ab11e6ae1dad98f4.bundle.js} +1 -1
  241. package/dist/323.d8a0a8b52cd7beaff241.bundle.js +1 -0
  242. package/dist/{325.3b562f5f4176555acfb8.bundle.js → 324.d2641113f212e3586ee4.bundle.js} +1 -1
  243. package/dist/{326.05d1c554dadf34e04b48.bundle.js → 325.3b855d5c93052c61784a.bundle.js} +1 -1
  244. package/dist/{327.0dd17f14774a689cf0bd.bundle.js → 326.f992a660fe4037cc0ff2.bundle.js} +1 -1
  245. package/dist/{328.13ae52c236489e97275e.bundle.js → 327.da8572b54b2a42d67c42.bundle.js} +1 -1
  246. package/dist/{329.1808839ae9d31a459f7d.bundle.js → 328.ecbb37c307600dc0c328.bundle.js} +1 -1
  247. package/dist/{330.3aaf9ed3666747f7f263.bundle.js → 329.69ff0bbed23dcd3e350f.bundle.js} +1 -1
  248. package/dist/{33.ef6d9b8af90ededb7e35.bundle.js → 33.e2795fad0cf2a9e54f46.bundle.js} +1 -1
  249. package/dist/{331.ea30174370df9cd558e7.bundle.js → 330.a13d2c43abb7b4fb3684.bundle.js} +1 -1
  250. package/dist/331.36a9c00559123a1e0c3e.bundle.js +1 -0
  251. package/dist/{333.97d00b72175a54fb68d3.bundle.js → 332.261736e4aa2441d8b049.bundle.js} +1 -1
  252. package/dist/{334.431ce8a7110d6ae618a3.bundle.js → 333.87a59cfc5903313a6987.bundle.js} +1 -1
  253. package/dist/{335.2e3ee5cb8b39555151a9.bundle.js → 334.50d7b5c15dc7c0502f37.bundle.js} +1 -1
  254. package/dist/{336.e976f5b51fbfea25e124.bundle.js → 335.1ff2d7b9ee8039bcacf2.bundle.js} +1 -1
  255. package/dist/336.541e67005e1f501c3da5.bundle.js +1 -0
  256. package/dist/{338.831b8a324346f1599e2b.bundle.js → 337.2084dfdda4b7662d3250.bundle.js} +1 -1
  257. package/dist/{339.323e045a35d3220fe9f0.bundle.js → 338.46ab4551c7b9a963f0f0.bundle.js} +1 -1
  258. package/dist/{340.935a1c1f9a35a1c129bb.bundle.js → 339.d11f17a5c2360b04bd64.bundle.js} +1 -1
  259. package/dist/{34.4efc8e27610045aedb48.bundle.js → 34.6dd821747f59c612606f.bundle.js} +1 -1
  260. package/dist/{341.109d7474283fe68d444a.bundle.js → 340.db611a6d8d2bfa264892.bundle.js} +1 -1
  261. package/dist/{342.449f34216f5e52c0b080.bundle.js → 341.33f273024d6583523cc5.bundle.js} +1 -1
  262. package/dist/342.ece4bc7705c585817d73.bundle.js +1 -0
  263. package/dist/343.fd62d9ad7972c4887f94.bundle.js +1 -0
  264. package/dist/{345.1a95e7094a69ee0c9613.bundle.js → 344.14a6d701176a3afdd9ff.bundle.js} +1 -1
  265. package/dist/{346.60cf78940db162ca9bc9.bundle.js → 345.c79e00bc6505e380f12e.bundle.js} +1 -1
  266. package/dist/{347.7753176037d17327265e.bundle.js → 346.e8ac753b7ecbd80bb129.bundle.js} +1 -1
  267. package/dist/{348.08c1df47fb00d7777c89.bundle.js → 347.6acd8576097294a80705.bundle.js} +1 -1
  268. package/dist/35.17f5b0ce4f886b77e699.bundle.js +1 -0
  269. package/dist/{36.bc56e91f8a7dc45ea2b8.bundle.js → 36.28a91e7fad638505d5dd.bundle.js} +1 -1
  270. package/dist/{37.5bc958ea98f658c74e6f.bundle.js → 37.794b29664b454e4e0d0a.bundle.js} +1 -1
  271. package/dist/{38.fe5507949994d9c14c96.bundle.js → 38.a0f5f820a7b3e26438b3.bundle.js} +1 -1
  272. package/dist/{39.a2bfad8b4215d48674d6.bundle.js → 39.01a2afff14797c31a219.bundle.js} +1 -1
  273. package/dist/{4.13e9d9d6478d01002907.bundle.js → 4.3f622684b79a9169a060.bundle.js} +1 -1
  274. package/dist/{40.48503b9b69c049bf1b70.bundle.js → 40.e54cef5dfe20934099be.bundle.js} +1 -1
  275. package/dist/{41.fed402c17d066982fb57.bundle.js → 41.44115afa12eb820f4321.bundle.js} +1 -1
  276. package/dist/42.52befbab22e69bb433f4.bundle.js +1 -1
  277. package/dist/{43.61da2053811c0f3ee46b.bundle.js → 43.e35a75762ad81fae9b89.bundle.js} +1 -1
  278. package/dist/{44.c9660924b9c53a3f835f.bundle.js → 44.ccac19b394bb5f7baaf5.bundle.js} +1 -1
  279. package/dist/{45.a478b3b8def2e18361f2.bundle.js → 45.f68c71a802e6e2ae67d0.bundle.js} +1 -1
  280. package/dist/{46.987b895714eacb59cda9.bundle.js → 46.4ecb77a547700ab7d3bf.bundle.js} +1 -1
  281. package/dist/{48.1dbc4f311d388c5e860e.bundle.js → 48.a20d02900e88654abf47.bundle.js} +1 -1
  282. package/dist/{49.2f503ecb8b6c6ef4a783.bundle.js → 49.eb453ba43b937cdb3a22.bundle.js} +1 -1
  283. package/dist/{5.30cc562dd4e36c8fff5f.bundle.js → 5.49b726937f26784c1720.bundle.js} +1 -1
  284. package/dist/{50.77842af2f9c8bb5f870b.bundle.js → 50.29862e9a42be281f4f0d.bundle.js} +1 -1
  285. package/dist/51.c71c201aee60fb11c26f.bundle.js +1 -0
  286. package/dist/{52.4e8a1d6b1fd0fca771bf.bundle.js → 52.50f81d6573e01476022e.bundle.js} +1 -1
  287. package/dist/{53.2c81a8eff9870cc15147.bundle.js → 53.a5f387953520247c26af.bundle.js} +1 -1
  288. package/dist/{54.a0732a95394329590499.bundle.js → 54.525e325c3ff3d66d087e.bundle.js} +1 -1
  289. package/dist/{55.7469e86d5a762a26fa2a.bundle.js → 55.3b4708ee75e525a04c71.bundle.js} +1 -1
  290. package/dist/{56.4b10b9c5ccf4b1303cf2.bundle.js → 56.02ed1a49aa3ae2f02a88.bundle.js} +1 -1
  291. package/dist/{58.a8c536c0056134028712.bundle.js → 58.6e8a7af4f43f8a37d4dc.bundle.js} +1 -1
  292. package/dist/{59.308f6dc1cc293202893e.bundle.js → 59.32bf8ffd839e72461aa8.bundle.js} +1 -1
  293. package/dist/6.cd54d2935e0445fba96c.bundle.js +1 -0
  294. package/dist/{60.93b697b695b2d4db8f94.bundle.js → 60.690d068a783da96089a2.bundle.js} +1 -1
  295. package/dist/{61.fff95e1f2048dae2a2e0.bundle.js → 61.362689e0418f36f4eedc.bundle.js} +1 -1
  296. package/dist/{62.e31d150a37b1a5512859.bundle.js → 62.50a88755bd442d2be1df.bundle.js} +1 -1
  297. package/dist/{63.c6ace2bddfc73e9f19b6.bundle.js → 63.8cb4a543781ab4ef82ff.bundle.js} +1 -1
  298. package/dist/{64.a2480d961d60435044c1.bundle.js → 64.be7f786a6cbeead73945.bundle.js} +1 -1
  299. package/dist/{65.d10dd3cb67f53d99a6ca.bundle.js → 65.5b1086544251475f1067.bundle.js} +1 -1
  300. package/dist/{66.50df6f012d7cc308b9f2.bundle.js → 66.ba7b100be181d08d0383.bundle.js} +1 -1
  301. package/dist/{67.3fda2c5db81d96431b4b.bundle.js → 67.11a918c7048ad704b0f7.bundle.js} +1 -1
  302. package/dist/{68.869c1e7064c11322ef03.bundle.js → 68.a76bcdb03d03cd2cd18f.bundle.js} +1 -1
  303. package/dist/{69.39a8350e9361d0a438f8.bundle.js → 69.ea016284451b0b550bd8.bundle.js} +1 -1
  304. package/dist/{6.fdcbc61573eb92aaeb18.bundle.js → 7.525bce2bad32abcb635b.bundle.js} +1 -1
  305. package/dist/{70.c7cf4ef0824344f073d8.bundle.js → 70.9632bc86f2ee4d44d154.bundle.js} +1 -1
  306. package/dist/{71.971c2ea4f2da7b2aa01d.bundle.js → 71.8e539a6df2bfbd27edf2.bundle.js} +1 -1
  307. package/dist/{72.bd8f94a264a113a4a0f1.bundle.js → 72.791af260184205671ce9.bundle.js} +1 -1
  308. package/dist/{74.d37bdd8d93965209533b.bundle.js → 73.9ea61819525e784311f5.bundle.js} +1 -1
  309. package/dist/{75.5a0f20e2ff76016b90c4.bundle.js → 74.971e0f15e1073ff144bc.bundle.js} +1 -1
  310. package/dist/{76.1da8486d8e34aba63aaa.bundle.js → 75.65f25660e8cb34915063.bundle.js} +1 -1
  311. package/dist/{77.5603a2f42c03e9a60bca.bundle.js → 76.f54bf8f659c6143492c3.bundle.js} +1 -1
  312. package/dist/{78.cb21ce486a2e7103a5d9.bundle.js → 77.4011142f644354b5f384.bundle.js} +1 -1
  313. package/dist/{79.81913abe8d72f0fd2243.bundle.js → 78.7cdd3fd88ccb0ab37d78.bundle.js} +1 -1
  314. package/dist/{80.326e0b168888bbe1157b.bundle.js → 79.ca81fcb2cee68a7c1cc9.bundle.js} +1 -1
  315. package/dist/{7.0d6b451c3b56ee9d14ba.bundle.js → 8.ba4b588eefad1e35adf3.bundle.js} +1 -1
  316. package/dist/{81.8f7d84e5a0aa9eea1aab.bundle.js → 80.da9c515a1283c2ffd537.bundle.js} +1 -1
  317. package/dist/{82.0f6218f01e4e4f955834.bundle.js → 81.105cb719d07d726f60a8.bundle.js} +1 -1
  318. package/dist/{83.17521cbbe57dbdab16b6.bundle.js → 82.27fb6494917cdf16b2f0.bundle.js} +1 -1
  319. package/dist/{84.6f326eb774b0838c8784.bundle.js → 83.7e1281f71bdb6b3fc62f.bundle.js} +1 -1
  320. package/dist/{85.0e228c6e29f15f2b8dbc.bundle.js → 84.82321e9b7c9be6b5bf67.bundle.js} +1 -1
  321. package/dist/{86.b2f0c3fc2ffba505c48b.bundle.js → 85.33efa3d54af52ae92534.bundle.js} +1 -1
  322. package/dist/{87.55d246dbb0a855f3eb14.bundle.js → 86.b0786ef6866c09e5a210.bundle.js} +1 -1
  323. package/dist/{88.7e2a621ad5c10ef09398.bundle.js → 87.669b2ff1361740d06ef6.bundle.js} +1 -1
  324. package/dist/{89.b3cb104714565da76323.bundle.js → 88.5ec49fdc61d08d58f049.bundle.js} +1 -1
  325. package/dist/{90.12322edd4effa5656b59.bundle.js → 89.dd645ae23b0443991444.bundle.js} +1 -1
  326. package/dist/9.1e67795d74fb874a9a1a.bundle.js +1 -0
  327. package/dist/{91.1a262c491ff1bbcf5078.bundle.js → 90.1b21c28757a4dc6d5ef5.bundle.js} +1 -1
  328. package/dist/{92.ed70e3b240a28d971d54.bundle.js → 91.b8ec9ef6982a23442d3e.bundle.js} +1 -1
  329. package/dist/{93.5ac89f8d41a46819e59c.bundle.js → 92.0c19ff7848520f37c589.bundle.js} +1 -1
  330. package/dist/{94.1d8b4e9bd2a96f832dd7.bundle.js → 93.5d075c25d6ea5153bd97.bundle.js} +1 -1
  331. package/dist/{95.afff0a4c33382bd1ed81.bundle.js → 94.37c432be41c67bda04b3.bundle.js} +1 -1
  332. package/dist/{96.a505124be8dac6401c11.bundle.js → 95.3d098dda77bda296ac4e.bundle.js} +1 -1
  333. package/dist/{97.6853aeafb525f21053b5.bundle.js → 96.5cc5f5d68594104e1220.bundle.js} +1 -1
  334. package/dist/{98.a05f20feb5e16050ac66.bundle.js → 97.a09fc9b7cf6de9caab0e.bundle.js} +1 -1
  335. package/dist/{99.27862271b2265d287af4.bundle.js → 98.a0fd93ba5edf42d6ce80.bundle.js} +1 -1
  336. package/dist/99.bde7172fb1a95d14bbf6.bundle.js +1 -0
  337. package/dist/{bundle.5f04ab4edede61219a23.bundle.js → bundle.56d273a8b1c9539195ba.bundle.js} +4 -4
  338. package/dist/i18n/locale-en.json +2 -0
  339. package/dist/i18n/locale-fr.json +3 -1
  340. package/dist/index.html +3 -3
  341. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  342. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  343. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  344. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  345. package/dist/js/angular/import/templates/settingsModal.html +12 -3
  346. package/dist/js/angular/security/templates/user.html +1 -1
  347. package/dist/js/angular/templates/modal/add-location.html +11 -4
  348. package/dist/license-checker.json +2 -2
  349. package/dist/pages/aclmanagement.html +2 -2
  350. package/dist/pages/autocomplete.html +1 -1
  351. package/dist/pages/choose-repository-type.html +1 -1
  352. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  353. package/dist/pages/create-index.html +1 -1
  354. package/dist/pages/dependencies.html +1 -1
  355. package/dist/pages/domainRangeInfo.html +2 -2
  356. package/dist/pages/edit.html +1 -1
  357. package/dist/pages/explore.html +1 -1
  358. package/dist/pages/export.html +1 -1
  359. package/dist/pages/find.html +1 -1
  360. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  361. package/dist/pages/graphs-visualizations.html +7 -7
  362. package/dist/pages/guides.html +1 -1
  363. package/dist/pages/import.html +2 -2
  364. package/dist/pages/jdbc-create.html +1 -1
  365. package/dist/pages/monitor/backup-and-restore.html +1 -1
  366. package/dist/pages/monitor/queries.html +1 -1
  367. package/dist/pages/monitor/resources.html +1 -1
  368. package/dist/pages/namespaces.html +2 -2
  369. package/dist/pages/plugins.html +1 -1
  370. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  371. package/dist/pages/rdfrank.html +2 -2
  372. package/dist/pages/repositories.html +1 -1
  373. package/dist/pages/repository.html +1 -1
  374. package/dist/pages/similarity-indexes.html +1 -1
  375. package/dist/pages/sparql-editor.html +1 -1
  376. package/dist/pages/sparql-template-create.html +1 -1
  377. package/dist/pages/ux-test1.html +2 -2
  378. package/dist/pages/webapi.html +2 -2
  379. package/dist/{polyfills-dom.43664e8ce3b2d7d3959f.bundle.js → polyfills-dom.12081c3bc3c6e8897b98.bundle.js} +1 -1
  380. package/dist/res/swagger5/index.html +12 -12
  381. package/dist/{vendors~polyfills-core-js.18202545fd5e7ab0712d.bundle.js → vendors~polyfills-core-js.939621cc93cbfff45124.bundle.js} +1 -1
  382. package/package.json +1 -1
  383. package/dist/100.791e6c1dd4d34f785fa1.bundle.js +0 -1
  384. package/dist/103.40f2dbdccc572f7875b3.bundle.js +0 -1
  385. package/dist/148.28bebc68de5695208221.bundle.js +0 -1
  386. package/dist/17.4cbad7cd0c476b9a4ec4.bundle.js +0 -3
  387. package/dist/179.64e58d733460f4636d45.bundle.js +0 -1
  388. package/dist/199.776cdb50bdeae7835801.bundle.js +0 -1
  389. package/dist/201.9626945256f81354e642.bundle.js +0 -1
  390. package/dist/213.f2847ddf6a7a83fbcc10.bundle.js +0 -1
  391. package/dist/214.a1fa76d230f52433bb66.bundle.js +0 -1
  392. package/dist/221.fede5a9a0339337860cb.bundle.js +0 -1
  393. package/dist/223.1ce96be3b072429a8c61.bundle.js +0 -1
  394. package/dist/227.72d3fff553f2c1506029.bundle.js +0 -1
  395. package/dist/28.aad16b51f82fef579d6f.bundle.js +0 -1
  396. package/dist/299.d171525eeacb4ec26228.bundle.js +0 -1
  397. package/dist/301.713cc2fd062d43c3924c.bundle.js +0 -1
  398. package/dist/302.cf691f0d425977e8328f.bundle.js +0 -1
  399. package/dist/303.0a23ae41f14d004ed155.bundle.js +0 -1
  400. package/dist/324.bbf14b2fef309ada6ac2.bundle.js +0 -1
  401. package/dist/332.bd5a639fb04d7a2e2157.bundle.js +0 -1
  402. package/dist/337.a0979969efa50dcfeaef.bundle.js +0 -1
  403. package/dist/343.884ced397fe008596b42.bundle.js +0 -1
  404. package/dist/344.da30ac0d8a3f8c47338a.bundle.js +0 -1
  405. package/dist/35.730709a36118182f408e.bundle.js +0 -1
  406. package/dist/51.3f22305963e051eecbe3.bundle.js +0 -1
  407. package/dist/73.d8ce553b26bf8f2daff1.bundle.js +0 -1
  408. package/dist/8.469126564c7b691ccb33.bundle.js +0 -1
  409. package/dist/9.0d37b940f46679eaca4b.bundle.js +0 -1
  410. /package/dist/{main.fa619ec63a04e1a07cd6.bundle.js → main.905e9954d39eac368576.bundle.js} +0 -0
  411. /package/dist/{vendor.2bc8e327262ee85afa52.bundle.js → vendor.a4ea1f419df5d0025d7d.bundle.js} +0 -0
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[6,35,36,45,73,74,143,145,146,151,159,160,162,163,165,250,257,268,270,273],{102:function(t,e,r){"use strict";r.r(e),r.d(e,"FileUtils",(function(){return i}));class i{static convertBytesToMegabytes(t){return Math.floor(t/1048576)}static getFilenameAndExtension(t){const e=t.lastIndexOf(".");return{filename:t.substring(0,e),extension:t.substring(e+1)}}}},124:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return n}));var i=r(67),o=r(99),s=r(76);class n{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:i.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 o.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return s.ImportResourceType.DIRECTORY===this.type}isFile(){return s.ImportResourceType.FILE===this.type||s.ImportResourceType.URL===this.type||s.ImportResourceType.TEXT===this.type}isURL(){return s.ImportResourceType.URL===this.type}isText(){return s.ImportResourceType.TEXT===this.type}}},125:function(t,e,r){"use strict";r.r(e),r.d(e,"SortingType",(function(){return i}));const i={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},189:function(t,e,r){"use strict";r.r(e),r.d(e,"Operation",(function(){return g}));r(7),r(31),r(190),r(191);var i=r(77),o=(r(192),r(193)),s=(r(194),r(195),r(196),r(197)),n=r(72),a=r(102),l=r(198),p=r(199),c=r(0),u=r(200),d=r(125),m=r(67);const f=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),g={IMPORT:"import",BATCH_IMPORT:"batch_import",IMPORT_SNIPPET:"import_snippet",IMPORT_URL:"import_url",UPLOAD:"upload"},h="file",S="text",v="url";f.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(t,e,r,l,u,m,f,h,S,v,I,T,R,y){const b=[];let F=null;let x=void 0;t.files=[],t.fileChecked={},t.activeTabId=y.getActiveTabId(),t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileFormatsExtended=s.FileFormats.getFileFormatsExtended(),t.fileFormatsHuman=s.FileFormats.getFileFormatsHuman()+S.instant("import.gz.zip"),t.textFileFormatsHuman=s.FileFormats.getTextFileFormatsHuman(),t.maxUploadFileSizeMB=0,t.SORTING_TYPES=d.SortingType,t.TAB_IDS=i.TABS,t.toTitleCase=t=>n.toTitleCase(t),t.setSettingsFor=(e,r,i,s,n=(()=>{}))=>{w(e,r).then(r=>{t.settingsFor=e,t.settings=r,""===e||"application/ld+json"===i||"application/x-ld+ndjson"===i||e.endsWith("jsonld")||e.endsWith("zip")||e.endsWith("gz")||"directory"===t.settings.type?t.settings.hasContextLink=!0:t.settings.hasContextLink=!1;const a=_.cloneDeep(t.settings),l={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",windowClass:"import-settings-modal",resolve:{dialogModel:function(){return{operation:s,settings:_.cloneDeep(t.settings),hasParserSettings:t.isLocalLocation,defaultSettings:a,isMultiple:!e,activeTab:t.activeTabId}}},size:"lg"};I.isActive()&&(l.backdrop="static",l.keyboard=!1),u.open(l).result.then(e=>{t.settings=e.settings,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)},e=>{t.settings=e.settings,e.action===o.SettingsModalActions.CANCEL&&(t.currentFiles=[],s===g.UPLOAD&&(t.files=[])),n&&n()})})},t.updateImport=(e,r,i)=>{w(e,r).then(r=>{t.settingsFor=e,t.settings=r,t.importFile(e,i)})},t.importSelected=e=>{const r=new Set([...$(),...U()]),i=Array.from(r),o=()=>{const r=i.shift();r&&w(r).then(i=>{e&&(t.settings=i),t.importFile(r,!0,o)})};o()},t.isLocalLocation=()=>{const t=l.getActiveLocation();return t&&t.local},t.updateList=e=>{t.canWriteActiveRepo()&&t.updateListHttp(e)},t.onRepositoryChange=()=>{t.setRestricted(),t.isRestricted||(t.updateList(!0),E())},t.onImport=e=>{t.setSettingsFor(e.importResource.name,!1,e.importResource.format,g.IMPORT)},t.onStopImport=r=>{const o=r.importResource;(t.activeTabId===i.TABS.USER?R.stopUserDataImport:R.stopServerImport)(l.getActiveRepository(),{name:o.name,type:o.type}).success((function(){t.updateList()})).error((function(t){e.warning(S.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.onRemove=t=>{const e=t.map(t=>t.name);A(e)},t.onReset=t=>{O(t,!1)},t.importAll=(e,r)=>{if(r)t.importSelected(e,r);else{let i="";1===e.length&&(i=e[0].importResource.name),t.setSettingsFor(i,r,void 0,g.BATCH_IMPORT)}},t.onEditResource=e=>{e.importResource.isText()&&t.openTextSnippetDialog(e.importResource)};const E=()=>(x=void 0,t.canWriteActiveRepo()?R.getDefaultSettings(l.getActiveRepository()).success((function(t){return x=t,x})).error((function(t){e.warning(S.instant("import.error.default.settings",{data:getError(t)}))})):Promise.resolve(x)),U=()=>y.getSelectedFilesNames(),$=()=>t.currentFiles.filter(t=>t.name).map(t=>t.name),A=(t=[])=>{const e="<br/>"+t.join("<br/>"),r=Object(c.decodeHTML)(S.instant("import.remove.confirm.msg",{name:e}));T.openConfirmation(S.instant("common.confirm"),r,()=>{O(t,!0)})},w=(e,r)=>r||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?(x?Promise.resolve(angular.copy(x)):E().then(()=>angular.copy(x))).then(t=>t):Promise.resolve(t.savedSettings[e]);t.updateListHttp=r=>{if(!l.getActiveRepository())return Promise.resolve();const o=t.activeTabId===i.TABS.USER?R.getUploadedFiles:R.getServerFiles,s=t.activeTabId;return o(l.getActiveRepository()).success((function(e){s===y.getActiveTabId()&&((i.TABS.SERVER===t.activeTabId||i.TABS.USER===t.activeTabId)&&y.updateResources(Object(p.toImportResource)(e)),0===t.files.length||r?(t.files=e,y.updateFiles(t.files),t.files.forEach((function(e){e.type||(e.type=t.defaultType)}))):t.files.forEach((function(r){const i=_.find(e,_.matches({name:r.name}));r.status&&i&&_.assign(r,i),r.type||(r.type=t.defaultType)})),r&&i.TABS.USER===t.activeTabId&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status})),y.updateFiles(t.files)),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"))})).error((function(t){e.warning(S.instant("import.error.could.not.get.files",{data:getError(t)}))}))};const O=(r,o)=>{if(!r||r.length<1)return;(t.activeTabId===i.TABS.USER?R.resetUserDataStatus:R.resetServerFileStatus)(l.getActiveRepository(),r,o).success((function(){t.updateList(!0)})).error((function(t){e.warning(S.instant("import.error.could.not.clear",{data:getError(t)}))}))},D=()=>{b.forEach(t=>t())},L=e=>{t.activeTabId=e,y.updateResources([]),y.updateShowLoader(!0),t.updateListHttp(!0).finally(()=>y.updateShowLoader(!1))};t.importViewControllerInit=()=>{b.push(t.$on("repositoryIsSet",t.onRepositoryChange)),b.push(t.$on("$destroy",()=>r.cancel(F))),b.push(y.onActiveTabIdUpdated(t=>L(t))),t.$on("$destroy",D),v.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let r=0;r<e.length;r++)t.appData.properties[e[r].key]={source:e[r].source,value:e[r].value};t.maxUploadFileSizeMB=a.FileUtils.convertBytesToMegabytes(t.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(t){const r=getError(t);e.error(r,S.instant("common.error"))})),E(),F=r(()=>{t.updating||t.updateList(!1)},4e3),L(y.getActiveTabId())}}]),f.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(t,e,r,o,s,n,a){t.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType="server",t.tabId="#import-server",t.importSelected=t=>{l(a.getSelectedFilesNames(),t)},t.importFile=function(t){l([t])};const l=function(r,i){t.canWriteActiveRepo()&&n.importServerFiles(s.getActiveRepository(),{importSettings:i?null:t.settings,fileNames:r}).success((function(){t.updateList(),t.fileChecked={}})).error((function(t){e.error(o.instant("import.could.not.send.file",{data:getError(t)}))}))};i.TABS.SERVER===a.getActiveTabId()&&t.importViewControllerInit()}]),f.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(t,e,r,o,s,n,p,c,d,f,I){const T=new u.FilePrefixRegistry,R=[];t.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType=h,t.tabId="#import-user",t.currentFiles=[];let y=!1;t.pastedDataIdx=1,t.fileSelected=function(e,r,i,o,s){const n={files:i,cancel:!1};I.emit("filesForUploadSelected",n,e=>{if(!e.cancel){const e=s||[];b(e);const r=e.map(t=>t.name);let o=i||[];o=o.filter(t=>!r.includes(t.name)),$(o);const n=[],a=[];o.forEach(e=>{t.files.some(t=>t.name===e.name)?n.push(e):a.push(e)}),n.length>0?A(n,a):(t.currentFiles=[...o],y=!0)}})},t.importFile=(r,i,o)=>{const n=t.files.find(t=>t.name===r);n?n.type===S?F(n,i,o):n.type===v?E(n,i,o):U(n,i,o):e.warning(s.instant("import.no.such.file",{name:r}))},t.openTextSnippetDialog=e=>{e&&e.data;o.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then(r=>{e?(e.data===r.text&&e.format===r.format||e.status===m.ImportResourceStatus.NONE||(e.status=m.ImportResourceStatus.NONE,e.message=s.instant("import.text.snippet.not.imported")),e.data=r.text,e.format=r.format,x(e)):(e={type:"text",name:"Text snippet "+l.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},t.files.unshift(e),t.updateImport(e.name,!1,!1)),r.startImport&&t.setSettingsFor(e.name,!1,e.format,g.IMPORT_SNIPPET)})},t.rdfDataFromURL=()=>{o.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:t}).result.then((function(e){const r=_.find(t.files,{type:"url",name:e.url});r?r.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0,!1),e.startImport&&t.setSettingsFor(e.url,!0,e.format,g.IMPORT_URL)}))};const b=t=>{t.length>0&&t.forEach((function(t){e.warning(s.instant("import.large.file",{name:t.name,size:a.FileUtils.convertBytesToMegabytes(t.size)}))}))},F=(r,i,o)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(i?p.importTextSnippet:p.updateTextSnippet)(n.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(s.instant("import.could.not.send.data",{data:getError(t)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(t)})).finally(o||function(){})},x=r=>{t.updating=!0,p.updateTextSnippet(n.getActiveRepository(),r).success((function(t){})).error((function(t){e.error(s.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},E=(r,i,o)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(i?p.importFromUrl:p.updateFromUrl)(n.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(s.instant("import.could.not.send.url",{data:getError(t)}))})).finally(o||function(){})},U=(r,i,o)=>{t.settings.name=r.name;const a=c.createUploadPayload(r,t.settings);(i?c.uploadUserDataFile:c.updateUserDataFile)(n.getActiveRepository(),r,a).then(e=>{t.progressPercentage=null,t.uploadProgressMessage="",t.updateList()},t=>{e.error(s.instant("import.could.not.upload.file",{data:getError(t.data)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(t.data)},e=>{t.progressPercentage=parseInt(100*e.loaded/e.total),t.uploadProgressMessage=s.instant("import.file.upload.progress",{progress:t.progressPercentage})}).finally(o||function(){t.progressPercentage=null,t.uploadProgressMessage=""})},$=t=>{t.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const i=t.indexOf(r);i>-1&&t.splice(i,1),e.error(s.instant("import.could.not.upload",{name:r.name}))}}))},A=(e,r)=>{const i=e.map(t=>t.name).join("<br/>");o.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>i}}).result.then(i=>{if(i.overwrite)t.currentFiles.length?t.currentFiles=[...e,...r]:t.currentFiles.push(...e,...r),y=!0;else{const i=T.prefixDuplicates(e);t.currentFiles=[...t.currentFiles,...i,...r],y=!0}})},w=()=>{Object.keys(t.fileChecked).forEach(e=>{t.fileChecked[e]=!1})};R.push(t.$watchCollection("currentFiles",()=>{if(t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),y&&t.currentFiles.length>0){w(),t.currentFiles.forEach(e=>{t.fileChecked[e.name]=!0});let e="";1===t.currentFiles.length&&(e=t.currentFiles[0].name),t.setSettingsFor(e,!1,void 0,g.UPLOAD,()=>{t.currentFiles.forEach(e=>{t.updateImport(e.name,!1,!1)})})}})),t.$on("$destroy",()=>{R.forEach(t=>t())});i.TABS.USER===f.getActiveTabId()&&(t.importViewControllerInit(),R.push(f.onFilesUpdated(t=>{T.buildPrefixesRegistry(t)})))}])},190:function(t,e){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",i),i.$inject=["$http"];const r="rest/repositories";function i(t){return{getDefaultSettings:function(e){return t.get(`${r}/${e}/import/settings/default`)},getUploadedFiles:function(e){return t.get(`${r}/${e}/import/upload`)},getServerFiles:function(e){return t.get(`${r}/${e}/import/server`)},importServerFiles:function(e,i){return t.post(`${r}/${e}/import/server`,i)},importTextSnippet:function(e,i){return t.post(`${r}/${e}/import/upload/text`,i)},updateTextSnippet:function(e,i){return t.post(`${r}/${e}/import/upload/update/text`,i)},importFromUrl:function(e,i){return t.post(`${r}/${e}/import/upload/url`,i)},updateFromUrl:function(e,i){return t.post(`${r}/${e}/import/upload/update/url`,i)},stopServerImport:function(e,i){return t.delete(`${r}/${e}/import/server`,{params:i})},stopUserDataImport:function(e,i){return t.delete(`${r}/${e}/import/upload`,{params:i})},resetServerFileStatus:function(e,i,o=!0){return t({method:"DELETE",url:`${r}/${e}/import/server/status`,params:{remove:o},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(e,i,o=!0){return t({method:"DELETE",url:`${r}/${e}/import/upload/status`,params:{remove:o},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},191:function(t,e){angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",r),r.$inject=["$http","Upload","$translate"];function r(t,e,r){return{createUploadPayload:function(t,r){let i;i=t.file?{file:t.file,importSettings:e.jsonBlob(r)}:{importSettings:e.jsonBlob(r)};return i},uploadUserDataFile:function(t,r,i){return e.upload({url:`rest/repositories/${t}/import/upload/file`,data:i})},updateUserDataFile:function(t,r,i){return e.upload({url:`rest/repositories/${t}/import/upload/update/file`,data:i})}}}},192:function(t,e,r){"use strict";r.r(e);var i=r(77);function o(t,e,r){let o;t.isHelpVisible=!1,t.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(o.isPristine(t.activeTabId)){let e=r.getResources();t.isHelpVisible=!e||0===e.length}else t.isHelpVisible=o.isHelpVisible(t.activeTabId)};t.openTab=t=>{r.updateActiveTabId(t)},t.toggleHelp=()=>{o.setIsHelpVisible(t.activeTabId,!t.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{t.activeTabId=r,e.hash(t.activeTabId),n()})),a.push(r.onResourcesUpdated(n));t.$on("$destroy",()=>a.forEach(t=>t())),(()=>{o=new s;const r=e.hash()||i.TABS.USER;t.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",o),o.$inject=["$scope","$location","ImportContextService"];class s{constructor(){this._helpVisibility={[i.TABS.USER]:{isHelpVisible:void 0},[i.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(t){return void 0===this._helpVisibility[t].isHelpVisible}setIsHelpVisible(t,e){this._helpVisibility[t].isHelpVisible=e}isHelpVisible(t){return this._helpVisibility[t]&&this._helpVisibility[t].isHelpVisible}}},193:function(t,e,r){"use strict";r.r(e),r.d(e,"SettingsModalActions",(function(){return s}));var i=r(77),o=r(189);angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",n);const s={UPLOAD_ONLY:"upload_only",UPLOAD_AND_IMPORT:"upload_and_import",CANCEL:"cancel",CANCEL_IMPORT:"cancel_import"};function n(t,e,r,n,a,l){t.settings=l.settings,t.hasParserSettings=l.hasParserSettings,t.isMultiple=l.isMultiple,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length),t.showAdvancedSettings=!1,t.activeTab=l.activeTab,t.userTabId=i.TABS.USER,t.isUploadOperation=l.operation===o.Operation.UPLOAD,t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(c(),e.close(p(s.UPLOAD_AND_IMPORT)))},t.cancel=function(){c(),e.dismiss(p(s.CANCEL))},t.onlyUpload=function(){c(),e.dismiss(p(s.UPLOAD_ONLY))},t.cancelImport=function(){c(),e.dismiss(p(s.CANCEL_IMPORT))},t.close=function(){c(),e.dismiss(p(s.CANCEL))},t.reset=function(){t.settings=_.cloneDeep(l.defaultSettings),t.target="data"},t.addReplaceGraph=function(e){let i=!0;"default"!==e&&(i=n.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",i),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):r.warning(a.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,r){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(r))},t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings};const p=function(e){return{settings:t.settings,action:e}},c=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data"}n.$inject=["$scope","$uibModalInstance","toastr","UriUtils","$translate","dialogModel"]},194:function(t,e){function r(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},195:function(t,e){function r(t,e,r,i){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=r,t.importFormat=t.importFormats.find(t=>t.type===i),t.startImport=!0,t.sizeLimit=1e5,t.setFormat=e=>{t.importFormat=e},t.cancel=()=>{e.dismiss()},t.ok=()=>{e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},196:function(t,e,r){"use strict";r.r(e);var i=r(0);function o(t,e,r,o,s){t.message=o.trustAsHtml(Object(i.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s}))),t.cancel=()=>{e.dismiss()},t.keepBoth=()=>{e.close({overwrite:!1})},t.overwrite=()=>{e.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",o),o.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},197:function(t,e,r){"use strict";r.r(e),r.d(e,"FILE_FORMATS",(function(){return i})),r.d(e,"FileFormats",(function(){return o}));const i=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class o{static getGZS(){return i.map(t=>`.${t}.gz`)}static getBasics(){return i.map(t=>"."+t)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(t=>".brf"!==t).join(" ")}}},198:function(t,e,r){"use strict";r.r(e),r.d(e,"DateUtils",(function(){return i}));class i{static formatCurrentDateTime(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")}}},199:function(t,e,r){"use strict";r.r(e),r.d(e,"toImportResource",(function(){return s}));var i=r(124),o=r(17);const s=t=>{const e=Object(o.md5HashGenerator)();return t.map(t=>new i.ImportResource(t,e))}},200:function(t,e,r){"use strict";r.r(e),r.d(e,"FilePrefixRegistry",(function(){return o}));var i=r(102);class o{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(t){t.filter(t=>"file"===t.type).forEach(t=>{const e=i.FileUtils.getFilenameAndExtension(t.name).filename,r=e.lastIndexOf("-");let o=r<0?0:e.substring(r+1),s=e.substring(0,r);if(r<0?(o=0,s=e):(o=e.substring(r+1),s=e.substring(0,r)),o){o=parseInt(o);const t=this.filesPrefixRegistry[s]||0;this.filesPrefixRegistry[s]=t<o?o:t}else this.filesPrefixRegistry[s]=0})}prefixDuplicates(t){return t.map(t=>{const{filename:e,extension:r}=i.FileUtils.getFilenameAndExtension(t.name),o=`${e}-${this.getIndexForFile(e)}.${r}`;return new File([t],o,{type:t.type,lastModified:t.lastModified})})}getIndexForFile(t){let e=this.filesPrefixRegistry[t];return void 0!==e?e++:e=0,this.filesPrefixRegistry[t]=e,e}}},67:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},72:function(t,e,r){"use strict";r.r(e),r.d(e,"removeSpecialChars",(function(){return o})),r.d(e,"toBoolean",(function(){return s})),r.d(e,"toTitleCase",(function(){return n}));var i=r(26);const o=t=>t.replace(/[()']/g,""),s=t=>"string"==typeof t?"true"===t:Boolean(t),n=t=>t?Object(i.upperFirst)(t.toLowerCase()):t},76:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return i}));const i={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},77:function(t,e,r){"use strict";r.r(e),r.d(e,"TABS",(function(){return o}));var i=r(26);const o={USER:"user",SERVER:"server"};function s(t){let e=o.USER,r=void 0,s=[],n=!0,a=[];return{updateActiveTabId:function(r){e=r,t.emit("activeTabIdUpdated",c())},getActiveTabId:c,onActiveTabIdUpdated:function(e){return t.subscribe("activeTabIdUpdated",()=>e(c()))},getFiles:u,addFile:function(e){s.push(e),t.emit("fileAdded",Object(i.cloneDeep)(e))},updateFiles:function(e){s=e,t.emit("filesUpdated",u())},onFilesUpdated:function(e){return t.subscribe("filesUpdated",()=>e(u()))},updateResources:function(e){r=e,t.emit("resourcesUpdated",d())},getResources:d,onResourcesUpdated:function(e){return t.subscribe("resourcesUpdated",()=>e(d()))},updateShowLoader:function(e){n=e,t.emit("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(e){return t.subscribe("showLoaderUpdated",()=>e(p()))},updateSelectedFilesNames:function(e){a=e,t.emit("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(e){return t.subscribe("selectedFilesNamesUpdated",()=>e(p()))}};function l(){return a}function p(){return n}function c(){return e}function u(){return Object(i.cloneDeep)(s)}function d(){return Object(i.cloneDeep)(r)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]},99:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportParsingSettings",(function(){return i}));class i{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}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[60,253],{145:function(e,t,o){"use strict";o.r(t);o(37);var n=o(79),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(h(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const R=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}));const h=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},79:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[60,252],{145:function(e,t,o){"use strict";o.r(t);o(37);var n=o(79),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(h(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const R=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}));const h=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},79:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[61,99],{146:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},252:function(o,e,n){"use strict";n.r(e);n(146);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[61,98],{146:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},252:function(o,e,n){"use strict";n.r(e);n(146);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[62,101],{147:function(t,e){angular.module("graphdb.framework.chatgpt.controllers",["toastr","graphdb.framework.utils.localstorageadapter"]).controller("ChatGptCtrl",o).controller("ChatGptSettingsCtrl",n),o.$inject=["$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter"];function o(t,e,o,n,r,s,i,a,c){function l(){o(()=>{document.getElementById("messages-scrollable").scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},0)}function u(){t.history=[],t.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5};const e=c.get("ttyg"),o=s.getActiveRepository();if(e&&e[o]){const n=e[o];n.history&&(t.history=n.history),t.connectorID=n.connectorID,n.askSettings&&(t.askSettings=n.askSettings)}l()}function g(){const e=c.get("ttyg")||{};e[s.getActiveRepository()]={history:t.history,connectorID:t.connectorID,askSettings:t.askSettings},c.set("ttyg",e)}t.helpTemplateUrl="js/angular/chatgpt/templates/chatInfo.html",t.getIcon=function(t){return"question"===t?"user":"assistant"===t?"data":"help"},t.ask=function(){if(!t.question.trim())return;const o=t.history.filter(t=>!t.error),n={connectorID:t.connectorID,question:t.question,askSettings:t.askSettings,history:o},r={role:"question",content:t.question};e.post("rest/chat/retrieval?repositoryID="+s.getActiveRepository(),n).then(e=>{t.history.pop(),e.data.forEach(e=>t.history.push(e))}).catch(t=>{r.error=!0,i.error(getError(t,0,100))}).finally(()=>{t.loader=!1,l(),g()}),t.history.push(r),t.loader=!0,l(),t.question=""},t.clear=function(){a.openSimpleModal({title:n.instant("common.confirm"),message:n.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){t.history=[],g()}))},t.openSettings=function(){r.open({templateUrl:"js/angular/chatgpt/templates/modal/settings.html",controller:"ChatGptSettingsCtrl",size:"lg",resolve:{data:function(){return{askSettings:t.askSettings,connectorID:t.connectorID}}}}).result.then((function(e){t.connectorID=e.connectorID,t.askSettings=e.askSettings,g()}))},t.$on("repositoryIsSet",(function(){u()})),s.getActiveRepository()&&u()}function n(t,e,o,n){t.dialogTitle=e.instant("ttyg.settings.title"),t.save=function(){if(t.form.$valid){const e={queryTemplate:JSON.parse(t.queryTemplate),groundTruths:t.groundTruths.split("\n"),topK:t.topK,echoVectorQuery:t.echoVectorQuery};o.close({askSettings:e,connectorID:t.connectorID})}},t.cancel=function(){o.dismiss("cancel")},t.connectorID=n.connectorID,t.queryTemplate=JSON.stringify(n.askSettings.queryTemplate,null," "),t.topK=n.askSettings.topK,t.echoVectorQuery=n.askSettings.echoVectorQuery,t.groundTruths=n.askSettings.groundTruths.map(t=>t.trim()).filter(t=>""!==t).join("\n")}n.$inject=["$scope","$translate","$uibModalInstance","data"]},254:function(t,e,o){"use strict";o.r(e);o(147);angular.module("graphdb.framework.chatgpt",["ngRoute","graphdb.framework.chatgpt.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[62,100],{147:function(t,e){angular.module("graphdb.framework.chatgpt.controllers",["toastr","graphdb.framework.utils.localstorageadapter"]).controller("ChatGptCtrl",o).controller("ChatGptSettingsCtrl",n),o.$inject=["$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter"];function o(t,e,o,n,r,s,i,a,c){function l(){o(()=>{document.getElementById("messages-scrollable").scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},0)}function u(){t.history=[],t.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5};const e=c.get("ttyg"),o=s.getActiveRepository();if(e&&e[o]){const n=e[o];n.history&&(t.history=n.history),t.connectorID=n.connectorID,n.askSettings&&(t.askSettings=n.askSettings)}l()}function g(){const e=c.get("ttyg")||{};e[s.getActiveRepository()]={history:t.history,connectorID:t.connectorID,askSettings:t.askSettings},c.set("ttyg",e)}t.helpTemplateUrl="js/angular/chatgpt/templates/chatInfo.html",t.getIcon=function(t){return"question"===t?"user":"assistant"===t?"data":"help"},t.ask=function(){if(!t.question.trim())return;const o=t.history.filter(t=>!t.error),n={connectorID:t.connectorID,question:t.question,askSettings:t.askSettings,history:o},r={role:"question",content:t.question};e.post("rest/chat/retrieval?repositoryID="+s.getActiveRepository(),n).then(e=>{t.history.pop(),e.data.forEach(e=>t.history.push(e))}).catch(t=>{r.error=!0,i.error(getError(t,0,100))}).finally(()=>{t.loader=!1,l(),g()}),t.history.push(r),t.loader=!0,l(),t.question=""},t.clear=function(){a.openSimpleModal({title:n.instant("common.confirm"),message:n.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){t.history=[],g()}))},t.openSettings=function(){r.open({templateUrl:"js/angular/chatgpt/templates/modal/settings.html",controller:"ChatGptSettingsCtrl",size:"lg",resolve:{data:function(){return{askSettings:t.askSettings,connectorID:t.connectorID}}}}).result.then((function(e){t.connectorID=e.connectorID,t.askSettings=e.askSettings,g()}))},t.$on("repositoryIsSet",(function(){u()})),s.getActiveRepository()&&u()}function n(t,e,o,n){t.dialogTitle=e.instant("ttyg.settings.title"),t.save=function(){if(t.form.$valid){const e={queryTemplate:JSON.parse(t.queryTemplate),groundTruths:t.groundTruths.split("\n"),topK:t.topK,echoVectorQuery:t.echoVectorQuery};o.close({askSettings:e,connectorID:t.connectorID})}},t.cancel=function(){o.dismiss("cancel")},t.connectorID=n.connectorID,t.queryTemplate=JSON.stringify(n.askSettings.queryTemplate,null," "),t.topK=n.askSettings.topK,t.echoVectorQuery=n.askSettings.echoVectorQuery,t.groundTruths=n.askSettings.groundTruths.map(t=>t.trim()).filter(t=>""!==t).join("\n")}n.$inject=["$scope","$translate","$uibModalInstance","data"]},254:function(t,e,o){"use strict";o.r(e);o(147);angular.module("graphdb.framework.chatgpt",["ngRoute","graphdb.framework.chatgpt.controllers"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[63,109],{154:function(t,o,e){"use strict";e.r(o);e(80);function n(t,o,e,n,r){let a,s;t.nodes=[],t.clusterNodes=[],t.locations=[],t.deleteLocation=(o,n)=>{o.preventDefault(),o.stopPropagation(),e.deleteLocation(n).then(()=>t.locations=t.locations.filter(t=>t.endpoint!==n.endpoint))},t.addNodeToList=o=>{o.rpcAddress&&(t.nodes.push(o),t.locations=t.locations.filter(t=>t.endpoint!==o.endpoint))},t.removeNodeFromList=(o,e)=>{t.nodes.splice(o,1),t.locations.push(e)},t.addLocation=()=>{r.addLocation().then(o=>{o&&t.locations.push(o)})},t.ok=()=>{o.close(t.nodes)},t.cancel=()=>{o.dismiss("cancel")};a=_.cloneDeep(e.clusterModel),t.clusterNodes=a.nodes.map(t=>({rpcAddress:t.address,endpoint:t.endpoint})),s=t.clusterNodes.map(t=>t.endpoint),t.locations=a.locations.filter(t=>!s.includes(t.endpoint)),t.locations.forEach(t=>t.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},80:function(t,o,e){"use strict";e.r(o);e(35);function n(t,o,e,n,r){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return o.error(e,r.instant("common.error")),!1}).then(t=>!!t&&a()).then(o=>{if(!1!==o)return e=o.find(o=>o.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);o.error(e,r.instant("common.error"))})).then(t=>{if(t)return function(t){const o=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(o=>(t.rpcAddress=o.data,t.isAvailable=!0,t)).catch(o=>{t.isAvailable=!1,t.error=getError(o.data,o.status)}));return Promise.allSettled(o).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[63,108],{154:function(t,o,e){"use strict";e.r(o);e(80);function n(t,o,e,n,r){let a,s;t.nodes=[],t.clusterNodes=[],t.locations=[],t.deleteLocation=(o,n)=>{o.preventDefault(),o.stopPropagation(),e.deleteLocation(n).then(()=>t.locations=t.locations.filter(t=>t.endpoint!==n.endpoint))},t.addNodeToList=o=>{o.rpcAddress&&(t.nodes.push(o),t.locations=t.locations.filter(t=>t.endpoint!==o.endpoint))},t.removeNodeFromList=(o,e)=>{t.nodes.splice(o,1),t.locations.push(e)},t.addLocation=()=>{r.addLocation().then(o=>{o&&t.locations.push(o)})},t.ok=()=>{o.close(t.nodes)},t.cancel=()=>{o.dismiss("cancel")};a=_.cloneDeep(e.clusterModel),t.clusterNodes=a.nodes.map(t=>({rpcAddress:t.address,endpoint:t.endpoint})),s=t.clusterNodes.map(t=>t.endpoint),t.locations=a.locations.filter(t=>!s.includes(t.endpoint)),t.locations.forEach(t=>t.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},80:function(t,o,e){"use strict";e.r(o);e(35);function n(t,o,e,n,r){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return o.error(e,r.instant("common.error")),!1}).then(t=>!!t&&a()).then(o=>{if(!1!==o)return e=o.find(o=>o.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);o.error(e,r.instant("common.error"))})).then(t=>{if(t)return function(t){const o=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(o=>(t.rpcAddress=o.data,t.isAvailable=!0,t)).catch(o=>{t.isAvailable=!1,t.error=getError(o.data,o.status)}));return Promise.allSettled(o).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[64,246],{150:function(e,t,o){"use strict";o.r(t);o(70);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,c,i,l,u){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=c.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=c.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),c.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){d(e.data,e.status)})).finally(()=>{e.setLoader(!1),u.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{l.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const d=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},70:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(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 o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},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([[64,245],{150:function(e,t,o){"use strict";o.r(t);o(70);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,c,i,l,u){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=c.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=c.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),c.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){d(e.data,e.status)})).finally(()=>{e.setLoader(!1),u.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{l.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const d=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},70:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(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 o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},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([[65,246],{151:function(e,t,r){"use strict";r.r(t);r(70);function n(e,t,r,n,s,o,a){e.pageTitle=o.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,o.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{s.success(o.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{r.cancel(e.loaderTimeout),t?e.loaderTimeout=r(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():s.warning(o.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,r)=>{delete e.preconditionErrors,s.error(o.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===r||"string"==typeof t?e.errors.push(t):412===r?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===r&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},70:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(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 r=$.param({force:t});return e.delete("rest/cluster/config?"+r)},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([[65,245],{151:function(e,t,r){"use strict";r.r(t);r(70);function n(e,t,r,n,s,o,a){e.pageTitle=o.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,o.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{s.success(o.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{r.cancel(e.loaderTimeout),t?e.loaderTimeout=r(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():s.warning(o.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,r)=>{delete e.preconditionErrors,s.error(o.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===r||"string"==typeof t?e.errors.push(t):412===r?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===r&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},70:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(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 r=$.param({force:t});return e.delete("rest/cluster/config?"+r)},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([[66,106],{159:function(e,t,n){"use strict";n.r(t);var r=n(81);function l(e,t,n,l,i){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{i.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(r.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(r.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",l),l.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},81:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return r})),n.d(t,"DELETE_CLUSTER",(function(){return l})),n.d(t,"CLICK_IN_VIEW",(function(){return i})),n.d(t,"NODE_SELECTED",(function(){return u})),n.d(t,"CREATE_CLUSTER",(function(){return o})),n.d(t,"MODEL_UPDATED",(function(){return a}));const r="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",a="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[66,105],{159:function(e,t,n){"use strict";n.r(t);var r=n(81);function l(e,t,n,l,i){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{i.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(r.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(r.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",l),l.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},81:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return r})),n.d(t,"DELETE_CLUSTER",(function(){return l})),n.d(t,"CLICK_IN_VIEW",(function(){return i})),n.d(t,"NODE_SELECTED",(function(){return u})),n.d(t,"CREATE_CLUSTER",(function(){return o})),n.d(t,"MODEL_UPDATED",(function(){return a}));const r="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",a="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[67,106],{156:function(e,t,n){"use strict";n.r(t);n(10),n(157);var o=n(86),r=n(26),s=n(81);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},81:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[67,105],{156:function(e,t,n){"use strict";n.r(t);n(10),n(157);var o=n(86),r=n(26),s=n(81);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},81:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[68,156,157],{75:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return r})),n.d(e,"RecoveryState",(function(){return o})),n.d(e,"LinkState",(function(){return a}));const r={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},o={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},a={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},86:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return N})),n.d(e,"createClusterZone",(function(){return S})),n.d(e,"setCreateClusterZone",(function(){return f})),n.d(e,"updateClusterZoneLabels",(function(){return h})),n.d(e,"moveElement",(function(){return O})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return A})),n.d(e,"updateLinks",(function(){return R})),n.d(e,"ARROW_CONFIG",(function(){return C})),n.d(e,"addArrowHead",(function(){return m})),n.d(e,"setArrowLink",(function(){return v})),n.d(e,"setLinkColor",(function(){return T})),n.d(e,"setLinkStyle",(function(){return L})),n.d(e,"positionNodesOnClusterZone",(function(){return x})),n.d(e,"createHexagon",(function(){return w})),n.d(e,"removeEventListeners",(function(){return b}));var r=n(75),o=n(26);const a="var(--primary-color)",s="var(--secondary-color)",i="var(--gray-color)",c={[r.LinkState.IN_SYNC]:s,[r.LinkState.SYNCING]:s,[r.LinkState.OUT_OF_SYNC]:i,[r.LinkState.RECEIVING_SNAPSHOT]:s},d={[r.LinkState.IN_SYNC]:"none",[r.LinkState.SYNCING]:"10 10",[r.LinkState.OUT_OF_SYNC]:"10 10",[r.LinkState.RECEIVING_SNAPSHOT]:"10 10"},u="FONT_AWESOME",l="ICOMOON";function N(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function S(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function f(t,e,n,r=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",r),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),r&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",a).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function h(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function O(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function E(t,e,n){const r=t.enter().append("g").attr("id","node-group").classed("legend",n),o=r.merge(t).attr("id","node-group").classed("legend",n);return w(r,e),t.exit().remove(),r.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(r,e),o}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(o.isEmpty)(n.recoveryStatus)?function(t){const e=y[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return _[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===l).classed("fa-d3",e.font===u).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===r.NodeState.LEADER).classed("follower",t=>t.nodeState===r.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===r.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==r.NodeState.LEADER&&t.nodeState!==r.NodeState.FOLLOWER&&t.nodeState!==r.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(o.isEmpty)(t.recoveryStatus))return 0;const r=g(I(t));return e=r.height,n=r.width,n})).attr("height",(function(t){return Object(o.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(o.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return I(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(o.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=I(t),r=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,a=r?n:t.recoveryStatus.message,s=g(n),i=g(t.recoveryStatus.message);e.on(".tooltip",null),r&&function(t,e,n,r,o){t.on("mouseover.tooltip",()=>{t.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${r}</div>`)})}(e,t.recoveryStatus.message,s,a,i),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${a}</div>`)}))}(t)}(t)}const _={[r.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:u},[r.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:l}},y={[r.NodeState.CANDIDATE]:{icon:"",font:l},[r.NodeState.NO_CONNECTION]:{icon:"",font:l},[r.NodeState.OUT_OF_SYNC]:{icon:"",font:l},[r.NodeState.READ_ONLY]:{icon:"",font:l},[r.NodeState.RESTRICTED]:{icon:"",font:l}};function I(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),r=n.height,o=n.width;return document.body.removeChild(e),{height:r,width:o}}function A(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function R(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",T).style("stroke-dasharray",L).style("marker-mid",t=>v(t,C.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),r=e.find(e=>e.address===t.target),o=r.x-n.x,a=r.y-n.y,s=Math.sqrt(o*o+a*a),i=o/s,c=a/s,d=n.x+55*i,u=n.y+55*c,l=r.x-55*i,N=r.y-55*c;return"M"+d+","+u+"L"+(d+l)/2+","+(u+N)/2+"L"+l+","+N}(t,e))}const C={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function m(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function v(t,e){if(t.status===r.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function T(t){return c[t.status]||"none"}function L(t){return d[t.status]||"none"}function x(t,e,n,r){t.attr("transform",(o,a)=>{const s=2*Math.PI*a/t.size(),i=e+Math.cos(s)*r,c=n+Math.sin(s)*r;return o.x=i,o.y=c,`translate(${i}, ${c})`})}function w(t,e){const n=Math.sqrt(3)/2,r=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([r]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function b(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[68,155,156],{74:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return r})),n.d(e,"RecoveryState",(function(){return o})),n.d(e,"LinkState",(function(){return a}));const r={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},o={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},a={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},86:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return N})),n.d(e,"createClusterZone",(function(){return S})),n.d(e,"setCreateClusterZone",(function(){return f})),n.d(e,"updateClusterZoneLabels",(function(){return h})),n.d(e,"moveElement",(function(){return O})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return A})),n.d(e,"updateLinks",(function(){return R})),n.d(e,"ARROW_CONFIG",(function(){return C})),n.d(e,"addArrowHead",(function(){return m})),n.d(e,"setArrowLink",(function(){return v})),n.d(e,"setLinkColor",(function(){return T})),n.d(e,"setLinkStyle",(function(){return L})),n.d(e,"positionNodesOnClusterZone",(function(){return x})),n.d(e,"createHexagon",(function(){return w})),n.d(e,"removeEventListeners",(function(){return b}));var r=n(74),o=n(26);const a="var(--primary-color)",s="var(--secondary-color)",i="var(--gray-color)",c={[r.LinkState.IN_SYNC]:s,[r.LinkState.SYNCING]:s,[r.LinkState.OUT_OF_SYNC]:i,[r.LinkState.RECEIVING_SNAPSHOT]:s},d={[r.LinkState.IN_SYNC]:"none",[r.LinkState.SYNCING]:"10 10",[r.LinkState.OUT_OF_SYNC]:"10 10",[r.LinkState.RECEIVING_SNAPSHOT]:"10 10"},u="FONT_AWESOME",l="ICOMOON";function N(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function S(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function f(t,e,n,r=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",r),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),r&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",a).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function h(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function O(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function E(t,e,n){const r=t.enter().append("g").attr("id","node-group").classed("legend",n),o=r.merge(t).attr("id","node-group").classed("legend",n);return w(r,e),t.exit().remove(),r.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(r,e),o}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(o.isEmpty)(n.recoveryStatus)?function(t){const e=y[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return _[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===l).classed("fa-d3",e.font===u).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===r.NodeState.LEADER).classed("follower",t=>t.nodeState===r.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===r.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==r.NodeState.LEADER&&t.nodeState!==r.NodeState.FOLLOWER&&t.nodeState!==r.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(o.isEmpty)(t.recoveryStatus))return 0;const r=g(I(t));return e=r.height,n=r.width,n})).attr("height",(function(t){return Object(o.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(o.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return I(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(o.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=I(t),r=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,a=r?n:t.recoveryStatus.message,s=g(n),i=g(t.recoveryStatus.message);e.on(".tooltip",null),r&&function(t,e,n,r,o){t.on("mouseover.tooltip",()=>{t.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${r}</div>`)})}(e,t.recoveryStatus.message,s,a,i),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${a}</div>`)}))}(t)}(t)}const _={[r.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:u},[r.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:l}},y={[r.NodeState.CANDIDATE]:{icon:"",font:l},[r.NodeState.NO_CONNECTION]:{icon:"",font:l},[r.NodeState.OUT_OF_SYNC]:{icon:"",font:l},[r.NodeState.READ_ONLY]:{icon:"",font:l},[r.NodeState.RESTRICTED]:{icon:"",font:l}};function I(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),r=n.height,o=n.width;return document.body.removeChild(e),{height:r,width:o}}function A(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function R(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",T).style("stroke-dasharray",L).style("marker-mid",t=>v(t,C.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),r=e.find(e=>e.address===t.target),o=r.x-n.x,a=r.y-n.y,s=Math.sqrt(o*o+a*a),i=o/s,c=a/s,d=n.x+55*i,u=n.y+55*c,l=r.x-55*i,N=r.y-55*c;return"M"+d+","+u+"L"+(d+l)/2+","+(u+N)/2+"L"+l+","+N}(t,e))}const C={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function m(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function v(t,e){if(t.status===r.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function T(t){return c[t.status]||"none"}function L(t){return d[t.status]||"none"}function x(t,e,n,r){t.attr("transform",(o,a)=>{const s=2*Math.PI*a/t.size(),i=e+Math.cos(s)*r,c=n+Math.sin(s)*r;return o.x=i,o.y=c,`translate(${i}, ${c})`})}function w(t,e){const n=Math.sqrt(3)/2,r=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([r]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function b(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[69,112],{260:function(e,t,o){"use strict";o.r(t);o(7),o(27),o(240),o(82),o(28),o(463);angular.module("graphdb.framework.impex.export",["ui.bootstrap","toastr","ngRoute","ngCookies","graphdb.framework.impex.export.controllers","graphdb.framework.core.directives.paginations","graphdb.framework.core.services.repositories","graphdb.framework.core.directives"]).config(["$uibTooltipProvider",function(e){e.setTriggers({showExportDDTooltip:"showExportDDTooltip"})}])},82:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,o){return{link:function(e,a){const r=()=>{const t=o('<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);a.html(t)};r();const i=t.$on("$translateChangeSuccess",r);e.$on("$destroy",i)}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[69,111],{260:function(e,t,o){"use strict";o.r(t);o(7),o(27),o(241),o(82),o(28),o(463);angular.module("graphdb.framework.impex.export",["ui.bootstrap","toastr","ngRoute","ngCookies","graphdb.framework.impex.export.controllers","graphdb.framework.core.directives.paginations","graphdb.framework.core.services.repositories","graphdb.framework.core.directives"]).config(["$uibTooltipProvider",function(e){e.setTriggers({showExportDDTooltip:"showExportDDTooltip"})}])},82:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,o){return{link:function(e,a){const r=()=>{const t=o('<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);a.html(t)};r();const i=t.$on("$translateChangeSuccess",r);e.$on("$destroy",i)}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[6,52,68,154,156,157],{108:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},157:function(t,e,n){"use strict";n.r(e);var s=n(158),a=n(86),r=n(75);function o(t,e,n,o){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-legend.html",scope:{},link:N=>{N.hideLegend=!0;const i=[];let c,E,_;N.toggleLegend=()=>{N.hideLegend=!N.hideLegend,c.classed("hidden-legend",N.hideLegend)};const l=()=>{const t=e.getClusterViewD3Container();u(t),A(),T(c),d(),S(),O(),L()},T=t=>{C(t,"cluster_management.cluster_graphical_view.legend_title_node_state");const e=t.selectAll(".node-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendNodes()),n=a.createNodes(e,s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH,!0);a.updateNodes(n);n.attr("transform",(function(t,e){return O(),`translate(${s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT}, ${E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP})`})).append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH).attr("y",3).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.customText)}))},d=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_sync_status");const t=c.selectAll(".sync-statuses-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getSyncStatuses()).enter().append("g").attr("class","sync-statuses-group"),e=new Map;t.append("text").classed("sync-status",!0).attr("class",t=>t.classes).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT-10).attr("y",(function(t,n){const a=n*(20+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP;return e.set(n,a),a})).text((function(t){return t.icon}));const n=(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE-s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE)/2;t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.labelKey)})).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).attr("y",(function(t,s){return e.get(s)-n})).classed("links-statuses",!0)},S=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_link_states");const t=c.selectAll(".link-states-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendLinks()).enter().append("g").attr("class","link-state"),e=new Map;t.append("path").classed("link",!0).attr("stroke-dasharray",a.setLinkStyle).attr("stroke",a.setLinkColor).attr("d",(t,n)=>{const a=n*(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP,o=_/2;let N;if(e.set(n,a),t.status===r.LinkState.RECEIVING_SNAPSHOT){const t=o/2;N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},L${t},${a},L${o},${a}`}else N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},${o},${a}`;return N}).style("marker-mid",t=>a.setArrowLink(t,a.ARROW_CONFIG.SMALL)),t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.linkTypeKey)})).attr("x",_/2+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT).attr("y",(function(t,n){return e.get(n)+4})).classed("links-statuses",!0)},u=t=>{c=t.append("g").classed("hidden-legend",N.hideLegend).classed("cluster-legend-group",!0)},A=()=>{c.append("rect").attr("class","legend-background").attr("fill","#EEEEEE")},O=()=>{c.call(t=>{E=t.node().getBBox().height}),_=I(c)+30},L=()=>{const t=I(c);c.select(".legend-background").attr("height",E+3*s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_TOP).attr("width",t+s.CLUSTER_MANAGEMENT_CONSTANTS.BACKGROUND_PADDING).attr("rx","6")},I=t=>{let e=0;return t.selectAll(":not(.legend-background)").each((function(){const t=this.getBBox();e=Math.max(e,t.width)})),e},C=(t,e)=>t.append("text").attr("class","legend-title").attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_SIZE).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_WEIGHT).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_COLOR).text((function(){return f(this,e)})).attr("y",()=>(O(),E+s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_PADDING_TOP)),f=(e,s)=>(i.push(t.$on("$translateChangeSuccess",()=>{d3.select(e).text(n.instant(s)),L()})),n.instant(s)),h=()=>{N.hideLegend=!0,c.classed("hidden-legend",N.hideLegend)};o.on("keydown",t=>{"Escape"===t.key&&h()}),i.push(e.onClusterViewD3ContainerUpdated(l)),N.$on("$destroy",()=>{o.off("keydown",h),i.forEach(t=>t())}),l()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-legend",[]).directive("clusterLegend",o),o.$inject=["$rootScope","ClusterViewContextService","$translate","$document"]},158:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(108),a=n(75);const r={getLegendNodes:function(){const t=[];return t.push({nodeState:s.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:s.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:s.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",icon:""}],getLegendLinks:function(){const t=[];return t.push({status:a.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:a.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:a.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.push({status:a.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),t.forEach((t,e)=>t.id=e),t},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},75:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s})),n.d(e,"RecoveryState",(function(){return a})),n.d(e,"LinkState",(function(){return r}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},a={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},86:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return l})),n.d(e,"createClusterZone",(function(){return T})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return S})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return A})),n.d(e,"updateNodes",(function(){return O})),n.d(e,"createLinks",(function(){return h})),n.d(e,"updateLinks",(function(){return G})),n.d(e,"ARROW_CONFIG",(function(){return y})),n.d(e,"addArrowHead",(function(){return g})),n.d(e,"setArrowLink",(function(){return p})),n.d(e,"setLinkColor",(function(){return M})),n.d(e,"setLinkStyle",(function(){return D})),n.d(e,"positionNodesOnClusterZone",(function(){return R})),n.d(e,"createHexagon",(function(){return m})),n.d(e,"removeEventListeners",(function(){return v}));var s=n(75),a=n(26);const r="var(--primary-color)",o="var(--secondary-color)",N="var(--gray-color)",i={[s.LinkState.IN_SYNC]:o,[s.LinkState.SYNCING]:o,[s.LinkState.OUT_OF_SYNC]:N,[s.LinkState.RECEIVING_SNAPSHOT]:o},c={[s.LinkState.IN_SYNC]:"none",[s.LinkState.SYNCING]:"10 10",[s.LinkState.OUT_OF_SYNC]:"10 10",[s.LinkState.RECEIVING_SNAPSHOT]:"10 10"},E="FONT_AWESOME",_="ICOMOON";function l(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function T(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function d(t,e,n,s=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",s),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),s&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function S(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function A(t,e,n){const s=t.enter().append("g").attr("id","node-group").classed("legend",n),a=s.merge(t).attr("id","node-group").classed("legend",n);return m(s,e),t.exit().remove(),s.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(s,e),a}function O(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(a.isEmpty)(n.recoveryStatus)?function(t){const e=I[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return L[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===_).classed("fa-d3",e.font===E).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===s.NodeState.LEADER).classed("follower",t=>t.nodeState===s.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===s.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==s.NodeState.LEADER&&t.nodeState!==s.NodeState.FOLLOWER&&t.nodeState!==s.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(a.isEmpty)(t.recoveryStatus))return 0;const s=f(C(t));return e=s.height,n=s.width,n})).attr("height",(function(t){return Object(a.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(a.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return C(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(a.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=C(t),s=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,r=s?n:t.recoveryStatus.message,o=f(n),N=f(t.recoveryStatus.message);e.on(".tooltip",null),s&&function(t,e,n,s,a){t.on("mouseover.tooltip",()=>{t.attr("width",a.width).attr("height",a.height).attr("x",-a.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${s}</div>`)})}(e,t.recoveryStatus.message,o,r,N),e.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const L={[s.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:E},[s.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:_}},I={[s.NodeState.CANDIDATE]:{icon:"",font:_},[s.NodeState.NO_CONNECTION]:{icon:"",font:_},[s.NodeState.OUT_OF_SYNC]:{icon:"",font:_},[s.NodeState.READ_ONLY]:{icon:"",font:_},[s.NodeState.RESTRICTED]:{icon:"",font:_}};function C(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function f(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),s=n.height,a=n.width;return document.body.removeChild(e),{height:s,width:a}}function h(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function G(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",M).style("stroke-dasharray",D).style("marker-mid",t=>p(t,y.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),s=e.find(e=>e.address===t.target),a=s.x-n.x,r=s.y-n.y,o=Math.sqrt(a*a+r*r),N=a/o,i=r/o,c=n.x+55*N,E=n.y+55*i,_=s.x-55*N,l=s.y-55*i;return"M"+c+","+E+"L"+(c+_)/2+","+(E+l)/2+"L"+_+","+l}(t,e))}const y={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function g(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function p(t,e){if(t.status===s.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function M(t){return i[t.status]||"none"}function D(t){return c[t.status]||"none"}function R(t,e,n,s){t.attr("transform",(a,r)=>{const o=2*Math.PI*r/t.size(),N=e+Math.cos(o)*s,i=n+Math.sin(o)*s;return a.x=N,a.y=i,`translate(${N}, ${i})`})}function m(t,e){const n=Math.sqrt(3)/2,s=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([s]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function v(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[7,52,68,153,155,156],{108:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},157:function(t,e,n){"use strict";n.r(e);var s=n(158),a=n(86),r=n(74);function o(t,e,n,o){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-legend.html",scope:{},link:N=>{N.hideLegend=!0;const i=[];let c,E,_;N.toggleLegend=()=>{N.hideLegend=!N.hideLegend,c.classed("hidden-legend",N.hideLegend)};const l=()=>{const t=e.getClusterViewD3Container();u(t),A(),T(c),d(),S(),O(),L()},T=t=>{C(t,"cluster_management.cluster_graphical_view.legend_title_node_state");const e=t.selectAll(".node-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendNodes()),n=a.createNodes(e,s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH,!0);a.updateNodes(n);n.attr("transform",(function(t,e){return O(),`translate(${s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT}, ${E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP})`})).append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH).attr("y",3).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.customText)}))},d=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_sync_status");const t=c.selectAll(".sync-statuses-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getSyncStatuses()).enter().append("g").attr("class","sync-statuses-group"),e=new Map;t.append("text").classed("sync-status",!0).attr("class",t=>t.classes).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT-10).attr("y",(function(t,n){const a=n*(20+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP;return e.set(n,a),a})).text((function(t){return t.icon}));const n=(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE-s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE)/2;t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.labelKey)})).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).attr("y",(function(t,s){return e.get(s)-n})).classed("links-statuses",!0)},S=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_link_states");const t=c.selectAll(".link-states-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendLinks()).enter().append("g").attr("class","link-state"),e=new Map;t.append("path").classed("link",!0).attr("stroke-dasharray",a.setLinkStyle).attr("stroke",a.setLinkColor).attr("d",(t,n)=>{const a=n*(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP,o=_/2;let N;if(e.set(n,a),t.status===r.LinkState.RECEIVING_SNAPSHOT){const t=o/2;N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},L${t},${a},L${o},${a}`}else N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},${o},${a}`;return N}).style("marker-mid",t=>a.setArrowLink(t,a.ARROW_CONFIG.SMALL)),t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.linkTypeKey)})).attr("x",_/2+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT).attr("y",(function(t,n){return e.get(n)+4})).classed("links-statuses",!0)},u=t=>{c=t.append("g").classed("hidden-legend",N.hideLegend).classed("cluster-legend-group",!0)},A=()=>{c.append("rect").attr("class","legend-background").attr("fill","#EEEEEE")},O=()=>{c.call(t=>{E=t.node().getBBox().height}),_=I(c)+30},L=()=>{const t=I(c);c.select(".legend-background").attr("height",E+3*s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_TOP).attr("width",t+s.CLUSTER_MANAGEMENT_CONSTANTS.BACKGROUND_PADDING).attr("rx","6")},I=t=>{let e=0;return t.selectAll(":not(.legend-background)").each((function(){const t=this.getBBox();e=Math.max(e,t.width)})),e},C=(t,e)=>t.append("text").attr("class","legend-title").attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_SIZE).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_WEIGHT).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_COLOR).text((function(){return f(this,e)})).attr("y",()=>(O(),E+s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_PADDING_TOP)),f=(e,s)=>(i.push(t.$on("$translateChangeSuccess",()=>{d3.select(e).text(n.instant(s)),L()})),n.instant(s)),h=()=>{N.hideLegend=!0,c.classed("hidden-legend",N.hideLegend)};o.on("keydown",t=>{"Escape"===t.key&&h()}),i.push(e.onClusterViewD3ContainerUpdated(l)),N.$on("$destroy",()=>{o.off("keydown",h),i.forEach(t=>t())}),l()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-legend",[]).directive("clusterLegend",o),o.$inject=["$rootScope","ClusterViewContextService","$translate","$document"]},158:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(108),a=n(74);const r={getLegendNodes:function(){const t=[];return t.push({nodeState:s.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:s.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:s.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",icon:""}],getLegendLinks:function(){const t=[];return t.push({status:a.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:a.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:a.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.push({status:a.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),t.forEach((t,e)=>t.id=e),t},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},74:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s})),n.d(e,"RecoveryState",(function(){return a})),n.d(e,"LinkState",(function(){return r}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},a={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},86:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return l})),n.d(e,"createClusterZone",(function(){return T})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return S})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return A})),n.d(e,"updateNodes",(function(){return O})),n.d(e,"createLinks",(function(){return h})),n.d(e,"updateLinks",(function(){return G})),n.d(e,"ARROW_CONFIG",(function(){return y})),n.d(e,"addArrowHead",(function(){return g})),n.d(e,"setArrowLink",(function(){return p})),n.d(e,"setLinkColor",(function(){return M})),n.d(e,"setLinkStyle",(function(){return D})),n.d(e,"positionNodesOnClusterZone",(function(){return R})),n.d(e,"createHexagon",(function(){return m})),n.d(e,"removeEventListeners",(function(){return v}));var s=n(74),a=n(26);const r="var(--primary-color)",o="var(--secondary-color)",N="var(--gray-color)",i={[s.LinkState.IN_SYNC]:o,[s.LinkState.SYNCING]:o,[s.LinkState.OUT_OF_SYNC]:N,[s.LinkState.RECEIVING_SNAPSHOT]:o},c={[s.LinkState.IN_SYNC]:"none",[s.LinkState.SYNCING]:"10 10",[s.LinkState.OUT_OF_SYNC]:"10 10",[s.LinkState.RECEIVING_SNAPSHOT]:"10 10"},E="FONT_AWESOME",_="ICOMOON";function l(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function T(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function d(t,e,n,s=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",s),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),s&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function S(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function A(t,e,n){const s=t.enter().append("g").attr("id","node-group").classed("legend",n),a=s.merge(t).attr("id","node-group").classed("legend",n);return m(s,e),t.exit().remove(),s.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(s,e),a}function O(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(a.isEmpty)(n.recoveryStatus)?function(t){const e=I[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return L[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===_).classed("fa-d3",e.font===E).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===s.NodeState.LEADER).classed("follower",t=>t.nodeState===s.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===s.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==s.NodeState.LEADER&&t.nodeState!==s.NodeState.FOLLOWER&&t.nodeState!==s.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(a.isEmpty)(t.recoveryStatus))return 0;const s=f(C(t));return e=s.height,n=s.width,n})).attr("height",(function(t){return Object(a.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(a.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return C(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(a.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=C(t),s=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,r=s?n:t.recoveryStatus.message,o=f(n),N=f(t.recoveryStatus.message);e.on(".tooltip",null),s&&function(t,e,n,s,a){t.on("mouseover.tooltip",()=>{t.attr("width",a.width).attr("height",a.height).attr("x",-a.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${s}</div>`)})}(e,t.recoveryStatus.message,o,r,N),e.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const L={[s.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:E},[s.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:_}},I={[s.NodeState.CANDIDATE]:{icon:"",font:_},[s.NodeState.NO_CONNECTION]:{icon:"",font:_},[s.NodeState.OUT_OF_SYNC]:{icon:"",font:_},[s.NodeState.READ_ONLY]:{icon:"",font:_},[s.NodeState.RESTRICTED]:{icon:"",font:_}};function C(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function f(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),s=n.height,a=n.width;return document.body.removeChild(e),{height:s,width:a}}function h(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function G(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",M).style("stroke-dasharray",D).style("marker-mid",t=>p(t,y.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),s=e.find(e=>e.address===t.target),a=s.x-n.x,r=s.y-n.y,o=Math.sqrt(a*a+r*r),N=a/o,i=r/o,c=n.x+55*N,E=n.y+55*i,_=s.x-55*N,l=s.y-55*i;return"M"+c+","+E+"L"+(c+_)/2+","+(E+l)/2+"L"+_+","+l}(t,e))}const y={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function g(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function p(t,e){if(t.status===s.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function M(t){return i[t.status]||"none"}function D(t){return c[t.status]||"none"}function R(t,e,n,s){t.attr("transform",(a,r)=>{const o=2*Math.PI*r/t.size(),N=e+Math.cos(o)*s,i=n+Math.sin(o)*s;return a.x=N,a.y=i,`translate(${N}, ${i})`})}function m(t,e){const n=Math.sqrt(3)/2,s=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([s]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function v(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[70,112],{188:function(e,i,a){"use strict";a.r(i);a(38),a(82);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},82:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<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);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[70,111],{188:function(e,i,a){"use strict";a.r(i);a(38),a(82);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},82:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<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);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[71,224],{166:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(96);const i="yagui__"+n.VIEW_SPARQL_EDITOR,s="completed",r="rejected",o=function(){const t=()=>({val:{active:null,tabs:[],tabConfig:{}}}),e=(t,e,a=null)=>{t.val.migration={date:(new Date).toISOString(),status:e,error:a}},a=(t,e)=>{t.val.tabs.push(e)},n=(t,e)=>{t.val.tabConfig[e.id]=e},o=t=>{let e=localStorage.getItem(t);if(e)return e=JSON.parse(e),e},l=t=>{t.val.tabs=t.val.tabs.filter(t=>!t.startsWith("_"))},g=t=>{for(const e in t.val.tabConfig)e.startsWith("_")&&delete t.val.tabConfig[e]},c=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},u=(t,e)=>`${e} ${t}`,d=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const t=o(i);let e=!1;return t&&(e=t.val.migration&&(t.val.migration.status===s||t.val.migration.status===r)),!(!localStorage.getItem("ls.tabs-state")||e)},revertMigration:()=>{const t=o(i);l(t),g(t),c(i,t)},migrateYasguiPersistence:r=>{let l=o("ls.tabs-state");l=Object.freeze(l);let g=o(i);g||(g=t()),l.map(t=>({id:t.id,name:t.name,yasqe:{value:t.query,sameAs:t.sameAs,infer:t.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((t,e)=>{t.id="_"+d(),t.name=t.name||u(e,r),a(g,t.id),n(g,t)}),g.val.active=g.val.tabs[0],e(g,s),c(i,g)},rejectMigration:()=>{const t=o(i);e(t,r),c(i,t)}}}()},96:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[71,223],{166:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(96);const i="yagui__"+n.VIEW_SPARQL_EDITOR,s="completed",r="rejected",o=function(){const t=()=>({val:{active:null,tabs:[],tabConfig:{}}}),e=(t,e,a=null)=>{t.val.migration={date:(new Date).toISOString(),status:e,error:a}},a=(t,e)=>{t.val.tabs.push(e)},n=(t,e)=>{t.val.tabConfig[e.id]=e},o=t=>{let e=localStorage.getItem(t);if(e)return e=JSON.parse(e),e},l=t=>{t.val.tabs=t.val.tabs.filter(t=>!t.startsWith("_"))},g=t=>{for(const e in t.val.tabConfig)e.startsWith("_")&&delete t.val.tabConfig[e]},c=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},u=(t,e)=>`${e} ${t}`,d=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const t=o(i);let e=!1;return t&&(e=t.val.migration&&(t.val.migration.status===s||t.val.migration.status===r)),!(!localStorage.getItem("ls.tabs-state")||e)},revertMigration:()=>{const t=o(i);l(t),g(t),c(i,t)},migrateYasguiPersistence:r=>{let l=o("ls.tabs-state");l=Object.freeze(l);let g=o(i);g||(g=t()),l.map(t=>({id:t.id,name:t.name,yasqe:{value:t.query,sameAs:t.sameAs,infer:t.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((t,e)=>{t.id="_"+d(),t.name=t.name||u(e,r),a(g,t.id),n(g,t)}),g.val.active=g.val.tabs[0],e(g,s),c(i,g)},rejectMigration:()=>{const t=o(i);e(t,r),c(i,t)}}}()},96:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[72,247],{123:function(n,e,t){"use strict";t.r(e);t(34),t(89);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,p,f,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);f.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]}})),p.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return 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;f.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);f.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 p(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=_.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 f(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",p).controller("CreateConnectorCtrl",f).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"],p.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],f.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},89: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([[72,246],{123:function(n,e,t){"use strict";t.r(e);t(34),t(89);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,p,f,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);f.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]}})),p.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return 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;f.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);f.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 p(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=_.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 f(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",p).controller("CreateConnectorCtrl",f).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"],p.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],f.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},89: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([[74,152],{191:function(e,i,t){"use strict";t.r(i);var s=t(74);function n(e,i,t){let n;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const r=()=>{if(n.isPristine(e.activeTabId)){let i=t.getResources();e.isHelpVisible=!i||0===i.length}else e.isHelpVisible=n.isHelpVisible(e.activeTabId)};e.openTab=e=>{t.updateActiveTabId(e)},e.toggleHelp=()=>{n.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),r()};const l=[];l.push(t.onActiveTabIdUpdated(t=>{e.activeTabId=t,i.hash(e.activeTabId),r()})),l.push(t.onResourcesUpdated(r));e.$on("$destroy",()=>l.forEach(e=>e())),(()=>{n=new o;const t=i.hash()||s.TABS.USER;e.openTab(t),r()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",n),n.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[s.TABS.USER]:{isHelpVisible:void 0},[s.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,i){this._helpVisibility[e].isHelpVisible=i}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},74:function(e,i,t){"use strict";t.r(i),t.d(i,"TABS",(function(){return n}));var s=t(26);const n={USER:"user",SERVER:"server"};function o(e){let i=n.USER,t=void 0,o=[],r=!0,l=[];return{updateActiveTabId:function(t){i=t,e.emit("activeTabIdUpdated",d())},getActiveTabId:d,onActiveTabIdUpdated:function(i){return e.subscribe("activeTabIdUpdated",()=>i(d()))},getFiles:p,addFile:function(i){o.push(i),e.emit("fileAdded",Object(s.cloneDeep)(i))},updateFiles:function(i){o=i,e.emit("filesUpdated",p())},onFilesUpdated:function(i){return e.subscribe("filesUpdated",()=>i(p()))},updateResources:function(i){t=i,e.emit("resourcesUpdated",u())},getResources:u,onResourcesUpdated:function(i){return e.subscribe("resourcesUpdated",()=>i(u()))},updateShowLoader:function(i){r=i,e.emit("showLoaderUpdated",a())},getShowLoader:a,onShowLoaderUpdated:function(i){return e.subscribe("showLoaderUpdated",()=>i(a()))},updateSelectedFilesNames:function(i){l=i,e.emit("selectedFilesNamesUpdated",c())},getSelectedFilesNames:c,onSelectedFilesNamesUpdated:function(i){return e.subscribe("selectedFilesNamesUpdated",()=>i(a()))}};function c(){return l}function a(){return r}function d(){return i}function p(){return Object(s.cloneDeep)(o)}function u(){return Object(s.cloneDeep)(t)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",o),o.$inject=["EventEmitterService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[73,151],{192:function(e,i,t){"use strict";t.r(i);var s=t(77);function n(e,i,t){let n;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const r=()=>{if(n.isPristine(e.activeTabId)){let i=t.getResources();e.isHelpVisible=!i||0===i.length}else e.isHelpVisible=n.isHelpVisible(e.activeTabId)};e.openTab=e=>{t.updateActiveTabId(e)},e.toggleHelp=()=>{n.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),r()};const l=[];l.push(t.onActiveTabIdUpdated(t=>{e.activeTabId=t,i.hash(e.activeTabId),r()})),l.push(t.onResourcesUpdated(r));e.$on("$destroy",()=>l.forEach(e=>e())),(()=>{n=new o;const t=i.hash()||s.TABS.USER;e.openTab(t),r()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",n),n.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[s.TABS.USER]:{isHelpVisible:void 0},[s.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,i){this._helpVisibility[e].isHelpVisible=i}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"TABS",(function(){return n}));var s=t(26);const n={USER:"user",SERVER:"server"};function o(e){let i=n.USER,t=void 0,o=[],r=!0,l=[];return{updateActiveTabId:function(t){i=t,e.emit("activeTabIdUpdated",d())},getActiveTabId:d,onActiveTabIdUpdated:function(i){return e.subscribe("activeTabIdUpdated",()=>i(d()))},getFiles:p,addFile:function(i){o.push(i),e.emit("fileAdded",Object(s.cloneDeep)(i))},updateFiles:function(i){o=i,e.emit("filesUpdated",p())},onFilesUpdated:function(i){return e.subscribe("filesUpdated",()=>i(p()))},updateResources:function(i){t=i,e.emit("resourcesUpdated",u())},getResources:u,onResourcesUpdated:function(i){return e.subscribe("resourcesUpdated",()=>i(u()))},updateShowLoader:function(i){r=i,e.emit("showLoaderUpdated",a())},getShowLoader:a,onShowLoaderUpdated:function(i){return e.subscribe("showLoaderUpdated",()=>i(a()))},updateSelectedFilesNames:function(i){l=i,e.emit("selectedFilesNamesUpdated",c())},getSelectedFilesNames:c,onSelectedFilesNamesUpdated:function(i){return e.subscribe("selectedFilesNamesUpdated",()=>i(a()))}};function c(){return l}function a(){return r}function d(){return i}function p(){return Object(s.cloneDeep)(o)}function u(){return Object(s.cloneDeep)(t)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",o),o.$inject=["EventEmitterService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[75,271],{102:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},199:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(102);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[74,270],{102:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},200:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(102);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[76,159],{76:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},90:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(76);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[75,158],{75:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},90:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(75);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[77,163],{103:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var i=s(67),r=s(26);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(r.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(r.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===i.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}}},67:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[76,162],{103:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var i=s(67),r=s(26);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(r.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(r.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===i.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}}},67:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);