graphdb-workbench 2.8.8-TR2 → 2.8.9-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 (229) hide show
  1. package/dist/{10.5ddeb0c3a1fe59eae189.bundle.js → 10.d8d48ce0ca42085e7864.bundle.js} +1 -1
  2. package/dist/100.bf4a4f519b81c43fafc1.bundle.js +1 -0
  3. package/dist/{100.39911dc242bc083427b5.bundle.js → 101.444ee8c4ad450a80c227.bundle.js} +1 -1
  4. package/dist/{101.3c81e5463ac7bd87920b.bundle.js → 102.ec42287cf6022b9eb02f.bundle.js} +1 -1
  5. package/dist/{102.fe653ba57ff2b81cdf07.bundle.js → 103.82c4dfa967a6f2407f11.bundle.js} +1 -1
  6. package/dist/{103.663db6e061c3509a1f78.bundle.js → 104.cb138bb3b878e001e32f.bundle.js} +1 -1
  7. package/dist/{104.5bde157512536df59792.bundle.js → 105.8c2014a729e3e29b78ae.bundle.js} +1 -1
  8. package/dist/{105.af4d75298548559a6b91.bundle.js → 106.4aa823fde540a06e4083.bundle.js} +1 -1
  9. package/dist/{106.1c526cd8378b98858e06.bundle.js → 107.09c059b73119d06600c0.bundle.js} +1 -1
  10. package/dist/{107.4bf934d8a7d093ea4cd6.bundle.js → 108.3c5b6b3268b21218a7a5.bundle.js} +1 -1
  11. package/dist/{108.8ea1a51acbd345907740.bundle.js → 109.57128c0d6212e0a46ad3.bundle.js} +1 -1
  12. package/dist/{109.a71df4aa4e00b47f5616.bundle.js → 110.af42819ef3cf70e39b25.bundle.js} +1 -1
  13. package/dist/{110.94d5a65ffa5d8891406f.bundle.js → 111.f548b124aab10b4b1c9e.bundle.js} +1 -1
  14. package/dist/{111.a8212d3445aa614f99d9.bundle.js → 112.f754348fe5d0086f677e.bundle.js} +1 -1
  15. package/dist/{112.393b01f7630bb30617c9.bundle.js → 113.d7c1a18d18713eece29a.bundle.js} +1 -1
  16. package/dist/{113.cbdf7d68d2471ced1ef4.bundle.js → 114.f719039be05fc7b214c5.bundle.js} +1 -1
  17. package/dist/{114.85465110c4fbd79849c7.bundle.js → 115.8dab67853260483ced85.bundle.js} +1 -1
  18. package/dist/{115.a6c405de2fe018cc6033.bundle.js → 116.ed2bb3fba38737cd21a2.bundle.js} +1 -1
  19. package/dist/{116.227e24944ca1c987460c.bundle.js → 117.8dc1a253f70f4727c027.bundle.js} +1 -1
  20. package/dist/{117.125beedc641ab53f511f.bundle.js → 118.d197d3c97039ee68643d.bundle.js} +1 -1
  21. package/dist/{118.a6e09ae6273a9e7714ff.bundle.js → 119.ee1dd79fb171af44577c.bundle.js} +1 -1
  22. package/dist/{12.8078044ba9dc5aefb919.bundle.js → 12.ed4bc07d06db664a8a2c.bundle.js} +1 -1
  23. package/dist/{119.f672e5bd50a1a9476dcc.bundle.js → 120.e25b821b13d853a321b5.bundle.js} +1 -1
  24. package/dist/{120.8725206e84a9f2b1fc44.bundle.js → 121.45b40da06cc7a71ae79f.bundle.js} +1 -1
  25. package/dist/{121.787215b44b2f8f4d2850.bundle.js → 122.4e50eaaadaf3dd57b2b2.bundle.js} +1 -1
  26. package/dist/{122.39e92001e2f86ed551f4.bundle.js → 123.2cc29edc9b32fcc35a5c.bundle.js} +1 -1
  27. package/dist/{123.30b2e28436b10116e05a.bundle.js → 124.5bf5f52df172c58b05d0.bundle.js} +1 -1
  28. package/dist/{124.ff59b5de798cc188f089.bundle.js → 125.53a564a1540cfbe90d0a.bundle.js} +1 -1
  29. package/dist/{125.04369aedfa25c24c03cf.bundle.js → 126.dc613e6d7c178aa1f71d.bundle.js} +1 -1
  30. package/dist/{126.20cf9bbd99138d8275e9.bundle.js → 127.aef2e7fa7136b5fb20dc.bundle.js} +1 -1
  31. package/dist/{127.fa70afe0caa6a82a487d.bundle.js → 128.c47682ae8c6f4827775e.bundle.js} +1 -1
  32. package/dist/{128.d6242296779b40ceee78.bundle.js → 129.79a97fa0c54c52a26f86.bundle.js} +1 -1
  33. package/dist/{13.e28878c924d54fd6affc.bundle.js → 13.49bf149227b1a2f915a6.bundle.js} +1 -1
  34. package/dist/{136.7045cfc939cc42c457de.bundle.js → 136.3b7b30e23a57edaccaad.bundle.js} +1 -1
  35. package/dist/{140.20b791dd9206aec902c3.bundle.js → 140.0824cff78d35896e19a1.bundle.js} +1 -1
  36. package/dist/{146.725d89d31b4a9b742d3f.bundle.js → 146.a0a2b0a47fa6363c2be0.bundle.js} +1 -1
  37. package/dist/{15.7ee3e6ec073366903f69.bundle.js → 15.2eabfe524e0689eb26e9.bundle.js} +1 -1
  38. package/dist/{16.cfcb97f2798c0f998b6d.bundle.js → 16.0ead6802df331f763762.bundle.js} +1 -1
  39. package/dist/{160.09bb953d13e3d63eed4f.bundle.js → 160.9df03bd5ab91e27a7e3c.bundle.js} +1 -1
  40. package/dist/{17.330b4db61f4286346e1d.bundle.js → 17.bcc91ddb954e2e1ee5a2.bundle.js} +1 -1
  41. package/dist/{18.131accbaf7a1f9d61001.bundle.js → 18.a4b27592c1b39f2b754b.bundle.js} +1 -1
  42. package/dist/186.d2a7c6668b2f2198549a.bundle.js +1 -1
  43. package/dist/{19.417d4a0cb5047abff48e.bundle.js → 19.33b6dc6ba1cea3b94465.bundle.js} +1 -1
  44. package/dist/{192.2d6358f31811ab3464ba.bundle.js → 192.a238bb9bb9a833ef304b.bundle.js} +1 -1
  45. package/dist/{198.f34180ba04b8f2d651ab.bundle.js → 198.568088e342b26f534c8f.bundle.js} +1 -1
  46. package/dist/{2.6684bcc4e367bcb9e628.bundle.js → 2.3837bd63288e2a826720.bundle.js} +1 -1
  47. package/dist/{20.ee5088425c87c66ae8d0.bundle.js → 20.204efddc3b65e3417f98.bundle.js} +1 -1
  48. package/dist/{200.7ff10cae741e1382bcb3.bundle.js → 200.6eee537413665b02c23f.bundle.js} +1 -1
  49. package/dist/{206.750777aab552b2c97c68.bundle.js → 206.7f16c0fcd5d65d82f869.bundle.js} +1 -1
  50. package/dist/{21.7ad047ae5bb8c0a68163.bundle.js → 21.bf90c5dbc6751926b09f.bundle.js} +1 -1
  51. package/dist/{217.76f3e1cda60f9abe1701.bundle.js → 217.57a8407776a632ad45ff.bundle.js} +1 -1
  52. package/dist/{226.a3b6f063cd117f6809e5.bundle.js → 226.914d0a244a06d6eff230.bundle.js} +1 -1
  53. package/dist/{23.56301f1a97cc94310f2d.bundle.js → 23.b57e6b08f36eaa6cfa1c.bundle.js} +1 -1
  54. package/dist/{234.a223a40490dbaf451cd7.bundle.js → 234.d92bb857de797a88568d.bundle.js} +1 -1
  55. package/dist/{235.2d41cfd545adcebf23d1.bundle.js → 235.1182f064fb17ad3f55d1.bundle.js} +1 -1
  56. package/dist/{24.0fee5a7050aa01c43593.bundle.js → 24.77404fb1a29f7448cfa9.bundle.js} +1 -1
  57. package/dist/{25.42411835319827f4bfc1.bundle.js → 25.fd2151cfa79bb46e568e.bundle.js} +1 -1
  58. package/dist/{250.f20ba52ca6ed81d5d179.bundle.js → 250.ad498a8076662df1ed87.bundle.js} +1 -1
  59. package/dist/{26.68da73b9eb0e20ef6a04.bundle.js → 26.b4cf5132c870052d06f3.bundle.js} +1 -1
  60. package/dist/{261.bb146605dd28d704aa16.bundle.js → 261.01d68aa8402ef6ac3a38.bundle.js} +1 -1
  61. package/dist/{266.929c96d6372d56668ae0.bundle.js → 266.6b132ba2f789d8526651.bundle.js} +1 -1
  62. package/dist/{27.9170cfa5bc0b60e51d82.bundle.js → 27.af756f3e9a79334cb6f9.bundle.js} +1 -1
  63. package/dist/{271.f51d241774a8df3f20c7.bundle.js → 271.57cac2aa90c6b4409f51.bundle.js} +1 -1
  64. package/dist/{273.235fcf7e993aace5557d.bundle.js → 273.532af8c0707be80576a4.bundle.js} +1 -1
  65. package/dist/{274.4489e0c0b2b5457a3513.bundle.js → 274.9e29d76ce7a1be779fe2.bundle.js} +1 -1
  66. package/dist/{28.decaa67e47ac79ba59a3.bundle.js → 28.f64cabb9e00e2f08ed6a.bundle.js} +1 -1
  67. package/dist/{288.b263f48bcaa5db590821.bundle.js → 288.942d138e6c489a3ff6df.bundle.js} +1 -1
  68. package/dist/{29.8b089f6adfabb19d8073.bundle.js → 29.073b9b1176718648e438.bundle.js} +1 -1
  69. package/dist/{293.88a6655ca50918b1edc4.bundle.js → 293.35cf89ffdbbcab6c39de.bundle.js} +1 -1
  70. package/dist/{3.31747e6f9dde0db936ea.bundle.js → 3.f26cefadb24ee2836b8a.bundle.js} +1 -1
  71. package/dist/{30.9345c96cc253adab0ae0.bundle.js → 30.3530af7acf6dd4af07b4.bundle.js} +1 -1
  72. package/dist/{302.2a26c6c4f78a037c6d3e.bundle.js → 302.9e008d753a24f66797ac.bundle.js} +1 -1
  73. package/dist/{307.d188e735148ef48fbe80.bundle.js → 307.99dec37cee341acf70d6.bundle.js} +1 -1
  74. package/dist/{31.614dbf7498a1552e355c.bundle.js → 31.19f116ce71f83ce6c3df.bundle.js} +1 -1
  75. package/dist/{319.53ee0f1a2a998747c6bd.bundle.js → 319.6ee5e4d0efbb256ad040.bundle.js} +1 -1
  76. package/dist/{32.a52b26adcd7755172626.bundle.js → 32.3649b0fc7e7136790d43.bundle.js} +1 -1
  77. package/dist/{320.80795d19cc7aa6ccaa28.bundle.js → 320.5cb0f10abd3ca266298e.bundle.js} +1 -1
  78. package/dist/{328.e966458d8c8ceca910de.bundle.js → 328.b769a2c7965fcc07d289.bundle.js} +1 -1
  79. package/dist/{33.db577a77e1237b4997ef.bundle.js → 33.d4864cfbed6bb7c30c95.bundle.js} +1 -1
  80. package/dist/{330.38fcfd70d382ec90607d.bundle.js → 330.f66ff693ab2f86440650.bundle.js} +1 -1
  81. package/dist/{34.12bd97ec9f0f5411ede8.bundle.js → 34.4a17e8b0f3f203963d5e.bundle.js} +1 -1
  82. package/dist/342.cead059cad2a860fb1db.bundle.js +1 -0
  83. package/dist/348.b09b5350639beca8034e.bundle.js +1 -1
  84. package/dist/{35.e22a1a214303b341a46d.bundle.js → 35.2920265e8348ab78e718.bundle.js} +1 -1
  85. package/dist/354.474aa50f195477e48af9.bundle.js +1 -1
  86. package/dist/357.603fceaaeb0992019407.bundle.js +1 -1
  87. package/dist/358.5398b6635b1fc42b581a.bundle.js +1 -1
  88. package/dist/359.a2f8d884c46015ae98ed.bundle.js +1 -1
  89. package/dist/{36.1092cd7bf5d220bb9063.bundle.js → 36.99a2c4a2393ff13ec514.bundle.js} +1 -1
  90. package/dist/360.40b2c9f3610b0f8dea80.bundle.js +1 -1
  91. package/dist/361.91ac80c8c5586b0546a5.bundle.js +1 -1
  92. package/dist/37.d519cb3af9d6205f0015.bundle.js +1 -0
  93. package/dist/{38.fb2659cad2c86b5ec58d.bundle.js → 38.23f902df4ed8fbfc7fcf.bundle.js} +1 -1
  94. package/dist/{39.96fb293a7ae3ef7a5ad9.bundle.js → 39.171886987f5ef7d17208.bundle.js} +1 -1
  95. package/dist/391.45bf699afe7aba531cd9.bundle.js +1 -1
  96. package/dist/{40.159ef797572a6c14eab5.bundle.js → 40.0937e585f9f5a7eaab82.bundle.js} +1 -1
  97. package/dist/403.61a61ce1c12385533859.bundle.js +1 -1
  98. package/dist/404.b53dc0ad0aaedcf3f809.bundle.js +1 -1
  99. package/dist/405.eb8906e00f241da08275.bundle.js +1 -1
  100. package/dist/406.48298a2b9c49b99170f8.bundle.js +1 -1
  101. package/dist/407.56a20539c08f5d616640.bundle.js +1 -1
  102. package/dist/409.72d548b44e2f1c414a24.bundle.js +1 -1
  103. package/dist/{41.8a09e7ba27f7614de053.bundle.js → 41.3b2afebd8ef778234327.bundle.js} +1 -1
  104. package/dist/410.df9406357dc52e98d0c4.bundle.js +1 -1
  105. package/dist/411.3a8907f7c02b1e9581e2.bundle.js +1 -1
  106. package/dist/412.5feece7f4c5164d2eadb.bundle.js +1 -1
  107. package/dist/{42.68cf9fea9586d95c7ef2.bundle.js → 42.51a2b146401e3d3c44fd.bundle.js} +1 -1
  108. package/dist/43.c3b8fc48a5d69126ff55.bundle.js +1 -0
  109. package/dist/{44.582668c8e60673ee9a89.bundle.js → 44.0b6f6369f9c157f2243c.bundle.js} +1 -1
  110. package/dist/46.5baa02d0ce0f4e4bec79.bundle.js +1 -0
  111. package/dist/{47.a0af564fb81592c87a50.bundle.js → 47.c7898dbc38a6a6e9321b.bundle.js} +1 -1
  112. package/dist/{48.067da85ef40da92d258a.bundle.js → 48.4a5b02907ad2d1a2792f.bundle.js} +1 -1
  113. package/dist/{49.ca18c72cba3d68131fdb.bundle.js → 49.143329d875c1714aec89.bundle.js} +1 -1
  114. package/dist/{50.271eee82fbebc9d53f38.bundle.js → 50.385486fe0efbefd5dfa9.bundle.js} +1 -1
  115. package/dist/{51.4ac9662be57037924446.bundle.js → 51.9f3c96f8a93b54423852.bundle.js} +1 -1
  116. package/dist/{52.1470d5ed8b99f64d5ce2.bundle.js → 52.ff20925f8f7656382d7b.bundle.js} +1 -1
  117. package/dist/{53.f13a957ecbd28e1125c7.bundle.js → 53.e286cd8cfb636fcec996.bundle.js} +1 -1
  118. package/dist/{54.c875b7240154b221bebb.bundle.js → 54.326b8c0143c463fc8e2d.bundle.js} +1 -1
  119. package/dist/55.4009a0d60dea722c108d.bundle.js +1 -0
  120. package/dist/{55.49f77e42bc983dcbfacc.bundle.js → 56.a581f6f1ded6a4d3d08b.bundle.js} +1 -1
  121. package/dist/{56.5a4901fea60239d0b3e0.bundle.js → 57.aa39c7d23ece602d952f.bundle.js} +1 -1
  122. package/dist/{57.1bb4040e33a9a35f5b9f.bundle.js → 58.fad69b0e6153a06c83b7.bundle.js} +1 -1
  123. package/dist/{58.394c32af3b117b179610.bundle.js → 59.84e7285984168a313d36.bundle.js} +1 -1
  124. package/dist/{6.f8af74652bcab7953736.bundle.js → 6.73f6adae3ab11729ebf2.bundle.js} +1 -1
  125. package/dist/{59.e50dc5ce41dd02cf3b3d.bundle.js → 60.ad49b739e4b8f2cdbce7.bundle.js} +1 -1
  126. package/dist/{60.95c6753d580f3a716b22.bundle.js → 61.ee14d8cda3708fe9c287.bundle.js} +1 -1
  127. package/dist/{61.f553a4c10a25b9af3cd7.bundle.js → 62.092aacacd064526783c0.bundle.js} +1 -1
  128. package/dist/{62.48b219154c6345908a80.bundle.js → 63.9537a1fd0366d5518114.bundle.js} +1 -1
  129. package/dist/64.1dd28ef2f60fe1ba23a5.bundle.js +1 -0
  130. package/dist/{64.04c60a42b228c234e2ad.bundle.js → 65.4c0218d3ba1faae1f6ad.bundle.js} +1 -1
  131. package/dist/{65.bb26ca0693ef27c414a7.bundle.js → 66.2a2d9bf0e595ca627c78.bundle.js} +1 -1
  132. package/dist/{66.f19c0287fadf05c84858.bundle.js → 67.a4e87ab3032de83a0d71.bundle.js} +1 -1
  133. package/dist/{67.6b37a09a02d11c37bcaa.bundle.js → 68.66efe1b03756e3052e35.bundle.js} +1 -1
  134. package/dist/{68.9ebaf6d51e22177c8ba2.bundle.js → 69.fd10e482a3491294f900.bundle.js} +1 -1
  135. package/dist/{7.e59eae3aa5e9e0ea5a0e.bundle.js → 7.c7a405d7dc99c9ebee48.bundle.js} +1 -1
  136. package/dist/70.38ae428de620fbf7602d.bundle.js +1 -0
  137. package/dist/{69.f3be67c2243892d32055.bundle.js → 71.e18795e8eaed8f747ce5.bundle.js} +1 -1
  138. package/dist/{70.415393ee813d58975172.bundle.js → 72.a53c1a358c3335c3eaa1.bundle.js} +1 -1
  139. package/dist/{71.e89efd706a10aea2074e.bundle.js → 73.d442bfb6f448e72c5bce.bundle.js} +1 -1
  140. package/dist/{72.6f58ccfef39ec2ee9614.bundle.js → 74.05569d4f46a43d6d56e4.bundle.js} +1 -1
  141. package/dist/{73.53bbbd74f7de2913152b.bundle.js → 75.e226c0d22ed7ff1b57ee.bundle.js} +1 -1
  142. package/dist/{74.184ffc6fc6053f5c645d.bundle.js → 76.afa96077de497c981882.bundle.js} +1 -1
  143. package/dist/{75.441343592edbcf27a029.bundle.js → 77.9fa02265d836024fdf79.bundle.js} +1 -1
  144. package/dist/{76.055e216b311e1817484e.bundle.js → 78.9f81b2060ae650976ae7.bundle.js} +1 -1
  145. package/dist/{77.c75c1df7b8e2c4855b17.bundle.js → 79.3fc17aa270c5a6477e9c.bundle.js} +1 -1
  146. package/dist/{8.28f2c0d888f5e99cfbc9.bundle.js → 8.18ec3a5b3f95a7965e71.bundle.js} +1 -1
  147. package/dist/{78.bd5758f93518290f477f.bundle.js → 80.7de02802c242d6cf125c.bundle.js} +1 -1
  148. package/dist/{79.1d57915d970df0a37229.bundle.js → 81.66b9a961188d712b1d48.bundle.js} +1 -1
  149. package/dist/{80.c83c5d743d89a63e7437.bundle.js → 82.8c402a2cedd2441c3f3c.bundle.js} +1 -1
  150. package/dist/{81.d04604229fe4fdd02601.bundle.js → 83.15cd8f06607b23e5e901.bundle.js} +1 -1
  151. package/dist/{82.a8e009ab0c08b859d2ce.bundle.js → 84.825f8eaa43e71f73f25d.bundle.js} +1 -1
  152. package/dist/{83.80c0e99346b0e55b33a5.bundle.js → 85.00ce4d8f4433d87bf54e.bundle.js} +1 -1
  153. package/dist/{84.891be8b57abdab473123.bundle.js → 86.ffeb1acd50a34948e089.bundle.js} +1 -1
  154. package/dist/{86.33c18744f8b1ae858a66.bundle.js → 87.9ac37a1a4a11ef7dfbac.bundle.js} +1 -1
  155. package/dist/{87.a623d6e7d303f6f34851.bundle.js → 88.5b052707f2cd26eb7890.bundle.js} +1 -1
  156. package/dist/{88.11dcfbd80b70ce8140af.bundle.js → 89.76461444a1cb2b2e1114.bundle.js} +1 -1
  157. package/dist/{9.4b42fc29ab253cd7ad0d.bundle.js → 9.d57134d0b4eb2e6f4ee6.bundle.js} +1 -1
  158. package/dist/{89.2c22dfa2ddf7c65e8f07.bundle.js → 90.7934551daab93be805ba.bundle.js} +1 -1
  159. package/dist/{90.d64c9e9798606a8a2488.bundle.js → 91.de9fe730d2b00227b9d4.bundle.js} +1 -1
  160. package/dist/{91.53d392a817902243fd14.bundle.js → 92.f4a3984a912edbb06838.bundle.js} +1 -1
  161. package/dist/{92.4c7f6ae785e5c2726adf.bundle.js → 93.e22a88d63bd4fc5f616c.bundle.js} +1 -1
  162. package/dist/{93.44989fd952e4ee29a14d.bundle.js → 94.f731de3062bce3990e2f.bundle.js} +1 -1
  163. package/dist/{94.8f5fc9e6922907cdf8d0.bundle.js → 95.5fdf43bda2882304ace9.bundle.js} +1 -1
  164. package/dist/{95.7a98715e44233a65f0b6.bundle.js → 96.21c753d787869238e5ed.bundle.js} +1 -1
  165. package/dist/{96.b2a0154600564a0bf2c8.bundle.js → 97.13cd4feb8916c17b8b20.bundle.js} +1 -1
  166. package/dist/{97.19320ba399d9b0bc4a3d.bundle.js → 98.6379c1708e09a721cc36.bundle.js} +1 -1
  167. package/dist/{98.53c28cc4683594868437.bundle.js → 99.bfe2ea3e30bb6b0e9045.bundle.js} +1 -1
  168. package/dist/{bundle.8b5133c2bd45c3446e7b.bundle.js → bundle.f1f997c1b702d546a4e1.bundle.js} +5 -5
  169. package/dist/css/autocomplete.css +5 -0
  170. package/dist/css/rdf-class-hierarchy.css +1 -1
  171. package/dist/index.html +3 -3
  172. package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
  173. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  174. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  175. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  176. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  177. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  178. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  179. package/dist/js/angular/security/templates/user.html +1 -1
  180. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  181. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  182. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  183. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  184. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  185. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  186. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +1 -1
  187. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  188. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  189. package/dist/license-checker.json +2 -2
  190. package/dist/pages/aclmanagement.html +2 -2
  191. package/dist/pages/autocomplete.html +1 -1
  192. package/dist/pages/choose-repository-type.html +1 -1
  193. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  194. package/dist/pages/create-index.html +1 -1
  195. package/dist/pages/dependencies.html +1 -1
  196. package/dist/pages/domainRangeInfo.html +2 -2
  197. package/dist/pages/edit.html +1 -1
  198. package/dist/pages/explore.html +1 -1
  199. package/dist/pages/export.html +1 -1
  200. package/dist/pages/find.html +1 -1
  201. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  202. package/dist/pages/graphs-visualizations.html +7 -7
  203. package/dist/pages/guides.html +1 -1
  204. package/dist/pages/import.html +2 -2
  205. package/dist/pages/jdbc-create.html +1 -1
  206. package/dist/pages/monitor/backup-and-restore.html +1 -1
  207. package/dist/pages/monitor/queries.html +1 -1
  208. package/dist/pages/monitor/resources.html +1 -1
  209. package/dist/pages/namespaces.html +2 -2
  210. package/dist/pages/plugins.html +1 -1
  211. package/dist/pages/rdfClassHierarchyInfo.html +8 -10
  212. package/dist/pages/rdfrank.html +2 -2
  213. package/dist/pages/repositories.html +1 -1
  214. package/dist/pages/repository.html +1 -1
  215. package/dist/pages/similarity-indexes.html +1 -1
  216. package/dist/pages/sparql-editor.html +1 -1
  217. package/dist/pages/sparql-template-create.html +1 -1
  218. package/dist/pages/ux-test1.html +2 -2
  219. package/dist/pages/webapi.html +2 -2
  220. package/dist/res/swagger5/index.html +12 -12
  221. package/package.json +1 -1
  222. package/dist/129.e20705a1f5be2410d666.bundle.js +0 -1
  223. package/dist/342.ca94acdc8de22e22241a.bundle.js +0 -1
  224. package/dist/37.fbd78997b9e6a3530e15.bundle.js +0 -1
  225. package/dist/43.53bafbaf1332f99c7e74.bundle.js +0 -1
  226. package/dist/46.eb3af10b1fccbfa2f5bf.bundle.js +0 -1
  227. package/dist/63.9c60525f7eed7756e83e.bundle.js +0 -1
  228. package/dist/85.945ee0e14f628a4fa4a1.bundle.js +0 -1
  229. package/dist/99.bc85d568135caa51630f.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9,70,93,288,293,330],{114: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/httpConfig",t)},updateClusterConfiguration: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)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")},addCusterTag:function(t){return e.post("rest/cluster/config/tag",t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"rest/cluster/config/tag",data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("rest/cluster/config/secondary-mode")},enableSecondaryMode:function(t){return e.post("rest/cluster/config/secondary-mode",t)}}}},118:function(e,t,o){"use strict";o.r(t),o.d(t,"UrlUtils",(function(){return n}));const r=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,i=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class n{static isValidUrl(e){return r.test(e)||i.test(e)}static doesNotContain(e,t){return!new RegExp(t).test(e)}static doesNotUseProtocol(e,t){return!new RegExp("^("+t.join("|")+")://","i").test(e)}}},134:function(e,t,o){"use strict";o.r(t),o.d(t,"STATIC_RULESETS",(function(){return r})),o.d(t,"REPOSITORY_TYPES",(function(){return i})),o.d(t,"FILENAME_PATTERN",(function(){return n})),o.d(t,"NUMBER_PATTERN",(function(){return a}));const r=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],i={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},n=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},135:function(e,t,o){"use strict";o.r(t);var r=o(118);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,t,o,i){i.$validators.validUrl=function(e,t){if(i.$isEmpty(t))return"false"!==o.allowEmpty;if(!r.UrlUtils.isValidUrl(t))return!1;if(o.exclude&&!r.UrlUtils.doesNotContain(t,o.exclude))return!1;if(o.excludeProtocol){const e=o.excludeProtocol.split(",");if(!r.UrlUtils.doesNotUseProtocol(t,e))return!1}return!0}}}}))},156:function(e,t,o){"use strict";o.r(t),o.d(t,"getFileName",(function(){return a}));var r=o(134),i=o(0),n=(o(212),o(28));o(114);const a=function(e){let t=e.lastIndexOf("/");-1===t&&(t=e.lastIndexOf("\\"));let o=e;return-1!==t&&(o=o.substring(t+1)),o},s=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},l=function(){const e=document.getElementById("shaclOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,t){e.queryTimeout&&(t.isInvalidQueryTimeout=!r.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(t.isInvalidValidationResultsLimitTotal=!r.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),t.isInvalidValidationResultsLimitPerConstraint=!r.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),t.isInvalidQueryLimit=!r.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(t.isInvalidLeftJoinWorkerThreads=!r.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),t.isInvalidBoundJoinBlockSize=!r.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),t.isInvalidJoinWorkerThreads=!r.NUMBER_PATTERN.test(e.joinWorkerThreads.value),t.isInvalidUnionWorkerThreads=!r.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},u=function(e,t){return"isInvalidQueryLimit"===e?t.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?t.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?t.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?t.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?t.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?t.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?t.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?t.instant("invalid.bound.join.block.size"):void 0},d=function(e,t){const o=Object.keys(e),r=Object.values(e);for(let e=0;e<o.length;e++)if(r[e])return u(o[e],t);return""},p=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},f=function(e){return e.getLocations().then(e=>e.filter(e=>e.isGraphDBLocation()&&!e.errorMsg&&!e.degradedReason))};function m(e,t,o,a,s,l,c,u,d,p,f,m,g,y){e.RemoteLocationType=n.RemoteLocationType,e.loader=!0,e.isInCluster=!1,e.locations=[],e.isLocationInactive=function(t){return!t.active||!e.hasActiveLocation()};const v=m.defer();function R(){return s.getLocations(v).then(t=>(e.locations=t,t)).finally(()=>e.loader=!1)}e.getLocalLocation=(t,o)=>e.locations.filter(e=>{let r=!0;return o&&(r=e.locationType===o),r&&e.local===t}),e.hasAnyRemoteLocation=(t,o)=>o.some(o=>e.getLocalLocation(t,o).length>0),e.hasActiveLocation=function(){return s.hasActiveLocation()},e.getActiveLocation=function(){return s.getActiveLocation()},e.getLocationError=function(){return s.getLocationError()},e.getDegradedReason=function(){return s.getDegradedReason()},e.getRepositories=function(){return s.getRepositories()},e.isRepoActive=function(e){return s.isRepoActive(e)},e.deleteLocation=function(t){l.openSimpleModal({title:f.instant("location.confirm.detach"),message:f.instant("location.confirm.detach.warning",{uri:t}),warning:!0}).result.then((function(){e.loader=!0,s.deleteLocation(t).finally(()=>R())}))},e.addLocationHttp=function(t){e.loader=!0,u.addLocation(t).success((function(){s.init()})).error((function(e){const t=getError(e);a.error(t,f.instant("common.error"))})).finally(()=>R())},e.addLocation=()=>{e.openRemoteLocationDialog()},e.editLocation=t=>{void 0===t.locationType&&(t.locationType=n.RemoteLocationType.GRAPH_DB),e.openRemoteLocationDialog(t)},e.openRemoteLocationDialog=t=>{o.open({templateUrl:"js/angular/repositories/templates/manage-remote-location-dialog.template.html",windowClass:"addLocationDialog",controller:"ManageRemoteLocationDialogController",resolve:{data:()=>({remoteLocation:t})}}).result.then(o=>{t?e.editLocationHttp(o):e.addLocationHttp(o)})},e.editLocationHttp=function(t){e.loader=!0,u.editLocation(t).success((function(){s.init()})).error((function(e){const t=getError(e);a.error(t,f.instant("common.error"))})).finally(()=>R())},e.setRepository=function(e){s.setRepository(e)},e.deleteRepository=function(t){l.openSimpleModal({title:f.instant("common.confirm.delete"),message:Object(i.decodeHTML)(f.instant("delete.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,s.deleteRepository(t).finally(()=>{R(),e.loader=!1}),function(e){const t="dependencies-selectedGraph-"+e.id,o="classHierarchy-selectedGraph-"+e.id;angular.forEach(d.keys(),(function(e){(e.startsWith(o)||e.startsWith(t))&&d.remove(e)}))}(t)}))},e.restartRepository=function(t){l.openSimpleModal({title:f.instant("confirm.restart.repo"),message:Object(i.decodeHTML)(f.instant("confirm.restart.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,s.restartRepository(t).finally(()=>R())}))},e.toggleDefaultRepository=function(t){e.getDefaultRepository()===t?s.setDefaultRepository(null):s.setDefaultRepository(t)},e.getDefaultRepository=function(){return s.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let t=`rest/repositories/${e.id}${e.type===r.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const o=c.getAuthToken();return o&&(t=`${t}&authToken=${encodeURIComponent(o)}`),t},e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.fromFile=function(){o.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){s.init()}))},e.openActiveLocationSettings=function(){o.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},R(),y.getNodeStatus().then(()=>{e.isInCluster=!0}).catch(t=>{404===t.status?e.isInCluster=!1:console.error("An unexpected error occurred:",t)});const T=p((function(){g.isActive()&&!t.guidePaused||(s.initQuick(),R())}),5e3);e.$on("$destroy",(function(){p.cancel(T),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return s.getRepositoriesFromLocation(e)}}function g(e,t,o,r,i){e.upload=function(t){t&&t.length&&(e.uploadFile=t[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,o.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,t.close()})).error((function(t){const o=getError(t);r.error(o,i.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){t.dismiss("cancel")}}function y(e,t,o,r,i){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(r),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?t.close(e.newLocation):o.error(i.instant("location.cannot.be.empty.error"))},e.cancel=function(){t.dismiss("cancel")}}function v(e,t,o,r){e.editedLocation=_.cloneDeep(o),e.docBase=p(r),e.ok=function(){t.close(e.editedLocation)},e.cancel=function(){t.dismiss("cancel")}}function R(e,t){e.repositoryTypes=r.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){t.path(`${t.path()}/${e}`)}}function T(e,t,o,i,n,a,u,p,m,g){function y(e){switch(e){case r.REPOSITORY_TYPES.graphdbRepo:t.pageTitle=g.instant("view.create.repo.title",{repoType:"GraphDB"});break;case r.REPOSITORY_TYPES.ontop:t.pageTitle=g.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case r.REPOSITORY_TYPES.fedx:t.pageTitle=g.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var v;t.rulesets=r.STATIC_RULESETS.slice(),t.repositoryTypes=r.REPOSITORY_TYPES,t.params=p,t.repositoryType=p.repositoryType,t.enable=!0,t.loader=!0,t.pageTitle=g.instant("view.create.repo.title"),t.repositoryInfo={id:"",params:{},title:"",type:"",location:""},t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},f(i).then(e=>{t.locations=e}),t.changedLocation=function(){t.$broadcast("changedLocation")},t.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const o=e.data;var r;t.repositoryInfo.params=o.params,t.repositoryInfo.type=o.type,s(t.repositoryInfo.params),(r=t.repositoryInfo.params)&&r.member&&(r.member.value=[]),t.loader=!1,a((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const r=getError(e);o.error(r,g.instant("common.error")),t.loader=!1}))},t.repositoryType&&(function(e){return t.isEnterprise()&&e===r.REPOSITORY_TYPES.graphdbRepo}(v=t.repositoryType)||function(e){return!t.isFreeEdition()&&!t.isEnterprise()&&e===r.REPOSITORY_TYPES.graphdbRepo}(v)||function(e){return t.isFreeEdition()&&e===r.REPOSITORY_TYPES.graphdbRepo}(v)||function(e){return e===r.REPOSITORY_TYPES.ontop}(v)||function(e){return e===r.REPOSITORY_TYPES.fedx}(v))?(t.repositoryInfo.type=t.repositoryType,t.getConfig(t.repositoryType),y(t.repositoryType)):n.path("/repository/create"),t.hasActiveLocation=function(){return i.hasActiveLocation()},t.activeLocation=function(){return i.getActiveLocation()};let R=!1;t.uploadRuleset=function(e){e&&e.length&&(t.uploadFile=e[0],t.uploadFileLoader=!0,u.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:t.uploadFile,location:t.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){R=!1;const o=t.uploadFile.name,r={id:e.fileLocation,name:"Custom: "+o};t.rulesetPie?t.rulesets[0]=r:t.rulesets.unshift(r),t.rulesetPie=e.fileLocation,t.rulesetPieFile=o,t.repositoryInfo.params.ruleset.value=t.rulesetPie}else o.error(e.errorMessage),R=!0,t.uploadFile="";t.uploadFileLoader=!1})).error((function(e){const r=getError(e);o.error(r,g.instant("common.error")),t.uploadFile="",t.uploadFileLoader=!1,R=!0})))},t.noMembersError=function(){o.error(g.instant("fedx.create.repo.no.members.warning"))},t.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete n.$$search.previous,n.path("/")):n.path("/repository")},t.createRepoHttp=function(){t.loader=!0,m.createRepository(t.repositoryInfo).then((function(){return o.success(g.instant("created.repo.success.msg",{repoId:t.repositoryInfo.id})),i.init()})).then(()=>t.goBackToPreviousLocation()).catch((function(e){const t=getError(e.data);o.error(t,g.instant("common.error"))})).finally(()=>{t.loader=!1})},t.createRepo=function(){if(!t.repositoryInfo.id)return void o.error(g.instant("empty.repoid.warning"));t.isInvalidRepoName=!r.FILENAME_PATTERN.test(t.repositoryInfo.id),c(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,g);R?o.error(g.instant("invalid.ruleset.file.error")):t.isInvalidRepoName?o.error(g.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?o.error(e):t.createRepoHttp()},t.rulesetWarning=function(){const e=t.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?g.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?g.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===t.rulesetPie?g.instant("repoTooltips.rulesetWarnings.customRuleset"):""},t.validateNumberInput=function(){c(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return l()},t.autofocusId="autofocus";const T=e.$on("$translateChangeSuccess",()=>{y(t.repositoryType)});t.$on("$destroy",()=>{T()})}function h(e,t,o,r,i,n,a,s){e.dialogTitle=a||n.instant("update.file.content.header"),r&&o.getRepositoryFileContent(r,s).success((function(t){e.fileContent=t})).error((function(e){const t=getError(e);i.error(t,n.instant("common.error"))})),e.ok=function(){t.close({content:e.fileContent,fileLocation:r})},e.cancel=function(){t.dismiss("cancel")}}function L(e,t,o,n,u,p,m,g,y,v){t.rulesets=r.STATIC_RULESETS.slice(),t.repositoryTypes=r.REPOSITORY_TYPES,t.editRepoPage=!0,t.canEditRepoId=!1,t.isRepoInCluster=!0,t.params=o,t.loader=!0,t.repositoryInfo={},t.repositoryInfo.id=t.params.repositoryId,t.repositoryInfo.location=t.params.location,t.repositoryInfo.restartRequested=!1,t.repositoryType="",t.saveRepoId=t.params.repositoryId,t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId}),t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},t.hasActiveLocation=function(){return u.hasActiveLocation()};t.$watch(t.hasActiveLocation,(function(){if(t.hasActiveLocation){let e;f(u).then(e=>(t.locations=e,g.getRepository(t.repositoryInfo))).then(o=>(e=o,v.monitorActiveOperations(t.repositoryInfo.id))).then(e=>{t.isRepoInCluster=e.hasClusterOperation()}).catch(o=>e?Promise.resolve():(t.repositoryInfo=void 0,Promise.reject(o))).then(()=>{(e=>{const o=e.data;if(angular.isDefined(o.params.ruleset)){let e=!1;if(angular.forEach(t.rulesets,(function(t){t.id===o.params.ruleset.value&&(e=!0)})),o.params.ruleset&&!e){const e=a(o.params.ruleset.value);t.rulesets.unshift({id:o.params.ruleset.value,name:"Custom: "+e})}}t.repositoryInfo=o,t.setRepositoryType(o.type),s(t.repositoryInfo.params),t.repositoryInfo.saveId=t.saveRepoId,t.loader=!1})(e)}).catch(e=>{const r=e.data,a=e.status,s=o.repositoryId;let l;l=404===a&&"system"!==s?Object(i.decodeHTML)(y.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(i.decodeHTML)(y.instant("edit.system.repo.warning")):getError(r),n.error(l,y.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){t.loader=!1,p.path("repository")}),1e3):t.loader=!1})}})),t.setRepositoryType=function(e){t.repositoryType=e},t.noMembersError=function(){n.error(y.instant("fedx.create.repo.no.members.warning"))},t.editRepoHttp=function(){t.loader=!0,g.editRepository(t.repositoryInfo.saveId,t.repositoryInfo).success((function(){n.success(y.instant("edit.repo.success.msg",{saveId:t.repositoryInfo.saveId})),u.init().finally(()=>t.goBackToPreviousLocation()),t.repositoryInfo.saveId===t.repositoryInfo.id&&t.repositoryInfo.restartRequested&&u.restartRepository(t.repositoryInfo)})).error((function(e){const o=getError(e);n.error(o,y.instant("common.error")),t.loader=!1}))},t.editRepository=function(){t.isInvalidRepoName=!r.FILENAME_PATTERN.test(t.repositoryInfo.id),c(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,y);let o=Object(i.decodeHTML)(y.instant("edit.repo.save.changes.msg",{repoId:t.repositoryInfo.id}));t.repositoryInfo.saveId!==t.repositoryInfo.id?o+=Object(i.decodeHTML)(y.instant("edit.repo.rename.changes.msg")):t.repositoryInfo.restartRequested?o+=Object(i.decodeHTML)(y.instant("edit.repo.restart.requested.msg")):o+=Object(i.decodeHTML)(y.instant("edit.repo.restart.needed.msg")),t.isInvalidRepoName?n.error(y.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?n.error(e):m.openSimpleModal({title:y.instant("common.confirm.save"),message:o,warning:!0}).result.then((function(){t.editRepoHttp()}))},t.editRepositoryId=function(){if(t.isRepoInCluster)return;let e=Object(i.decodeHTML)(y.instant("edit.repo.id.warning.msg"));t.isEnterprise()&&(e+=Object(i.decodeHTML)(y.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:y.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){t.canEditRepoId=!0}))},t.goBackToPreviousLocation=function(){angular.isDefined(o.previous)?(delete p.$$search.previous,p.path("/")):p.path("/repository")},t.validateNumberInput=function(){c(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return l()};const R=e.$on("$translateChangeSuccess",()=>{t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId})});t.$on("$destroy",()=>{R()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload","graphdb.framework.repositories.controllers.manage-remote-location-dialog","graphdb.framework.rest.cluster.service"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",y).controller("EditLocationCtrl",v).controller("ChooseRepositoryCtrl",R).controller("AddRepositoryCtrl",T).controller("EditRepositoryCtrl",L).controller("EditRepositoryFileCtrl",h).controller("UploadRepositoryConfigCtrl",g),m.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService","ClusterRestService"],g.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],y.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],v.$inject=["$scope","$uibModalInstance","location","productInfo"],R.$inject=["$scope","$location"],T.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],h.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle","location"],L.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},212:function(e,t,o){"use strict";o.r(t);var r=o(28);o(135);function i(e,t,o,i){e.RemoteLocationType=r.RemoteLocationType,e.RemoteLocationAuthType=r.RemoteLocationAuthType,e.isEdit=!!i.remoteLocation,e.remoteLocation=i.remoteLocation?new r.RemoteLocationModel({...i.remoteLocation}):new r.RemoteLocationModel,e.docBase="https://graphdb.ontotext.com/documentation/"+o.productShortVersion,e.ok=()=>{e.remoteLocationForm.$pristine||e.remoteLocationForm.$invalid||t.close(e.remoteLocation)},e.cancel=()=>{t.dismiss("cancel")},e.onLocationTypeChanged=()=>{[r.RemoteLocationType.ONTOPIC,r.RemoteLocationType.SPARQL].includes(e.remoteLocation.locationType)?e.remoteLocation.authType=r.RemoteLocationAuthType.BASIC:e.remoteLocation.authType=r.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",i),i.$inject=["$scope","$uibModalInstance","productInfo","data"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[9,72,94,288,293,330],{103:function(e,t,o){"use strict";o.r(t),o.d(t,"UrlUtils",(function(){return n}));const r=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,i=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class n{static isValidUrl(e){return r.test(e)||i.test(e)}static doesNotContain(e,t){return!new RegExp(t).test(e)}static doesNotUseProtocol(e,t){return!new RegExp("^("+t.join("|")+")://","i").test(e)}}},109:function(e,t,o){"use strict";o.r(t);var r=o(103);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,t,o,i){i.$validators.validUrl=function(e,t){if(i.$isEmpty(t))return"false"!==o.allowEmpty;if(!r.UrlUtils.isValidUrl(t))return!1;if(o.exclude&&!r.UrlUtils.doesNotContain(t,o.exclude))return!1;if(o.excludeProtocol){const e=o.excludeProtocol.split(",");if(!r.UrlUtils.doesNotUseProtocol(t,e))return!1}return!0}}}}))},116: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/httpConfig",t)},updateClusterConfiguration: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)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")},addCusterTag:function(t){return e.post("rest/cluster/config/tag",t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"rest/cluster/config/tag",data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("rest/cluster/config/secondary-mode")},enableSecondaryMode:function(t){return e.post("rest/cluster/config/secondary-mode",t)}}}},135:function(e,t,o){"use strict";o.r(t),o.d(t,"STATIC_RULESETS",(function(){return r})),o.d(t,"REPOSITORY_TYPES",(function(){return i})),o.d(t,"FILENAME_PATTERN",(function(){return n})),o.d(t,"NUMBER_PATTERN",(function(){return a}));const r=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],i={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},n=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},156:function(e,t,o){"use strict";o.r(t),o.d(t,"getFileName",(function(){return a}));var r=o(135),i=o(0),n=(o(212),o(28));o(116);const a=function(e){let t=e.lastIndexOf("/");-1===t&&(t=e.lastIndexOf("\\"));let o=e;return-1!==t&&(o=o.substring(t+1)),o},s=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},l=function(){const e=document.getElementById("shaclOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,t){e.queryTimeout&&(t.isInvalidQueryTimeout=!r.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(t.isInvalidValidationResultsLimitTotal=!r.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),t.isInvalidValidationResultsLimitPerConstraint=!r.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),t.isInvalidQueryLimit=!r.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(t.isInvalidLeftJoinWorkerThreads=!r.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),t.isInvalidBoundJoinBlockSize=!r.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),t.isInvalidJoinWorkerThreads=!r.NUMBER_PATTERN.test(e.joinWorkerThreads.value),t.isInvalidUnionWorkerThreads=!r.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},u=function(e,t){return"isInvalidQueryLimit"===e?t.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?t.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?t.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?t.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?t.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?t.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?t.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?t.instant("invalid.bound.join.block.size"):void 0},d=function(e,t){const o=Object.keys(e),r=Object.values(e);for(let e=0;e<o.length;e++)if(r[e])return u(o[e],t);return""},p=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},f=function(e){return e.getLocations().then(e=>e.filter(e=>e.isGraphDBLocation()&&!e.errorMsg&&!e.degradedReason))};function m(e,t,o,a,s,l,c,u,d,p,f,m,g,y){e.RemoteLocationType=n.RemoteLocationType,e.loader=!0,e.isInCluster=!1,e.locations=[],e.isLocationInactive=function(t){return!t.active||!e.hasActiveLocation()};const v=m.defer();function R(){return s.getLocations(v).then(t=>(e.locations=t,t)).finally(()=>e.loader=!1)}e.getLocalLocation=(t,o)=>e.locations.filter(e=>{let r=!0;return o&&(r=e.locationType===o),r&&e.local===t}),e.hasAnyRemoteLocation=(t,o)=>o.some(o=>e.getLocalLocation(t,o).length>0),e.hasActiveLocation=function(){return s.hasActiveLocation()},e.getActiveLocation=function(){return s.getActiveLocation()},e.getLocationError=function(){return s.getLocationError()},e.getDegradedReason=function(){return s.getDegradedReason()},e.getRepositories=function(){return s.getRepositories()},e.isRepoActive=function(e){return s.isRepoActive(e)},e.deleteLocation=function(t){l.openSimpleModal({title:f.instant("location.confirm.detach"),message:f.instant("location.confirm.detach.warning",{uri:t}),warning:!0}).result.then((function(){e.loader=!0,s.deleteLocation(t).finally(()=>R())}))},e.addLocationHttp=function(t){e.loader=!0,u.addLocation(t).success((function(){s.init()})).error((function(e){const t=getError(e);a.error(t,f.instant("common.error"))})).finally(()=>R())},e.addLocation=()=>{e.openRemoteLocationDialog()},e.editLocation=t=>{void 0===t.locationType&&(t.locationType=n.RemoteLocationType.GRAPH_DB),e.openRemoteLocationDialog(t)},e.openRemoteLocationDialog=t=>{o.open({templateUrl:"js/angular/repositories/templates/manage-remote-location-dialog.template.html",windowClass:"addLocationDialog",controller:"ManageRemoteLocationDialogController",resolve:{data:()=>({remoteLocation:t})}}).result.then(o=>{t?e.editLocationHttp(o):e.addLocationHttp(o)})},e.editLocationHttp=function(t){e.loader=!0,u.editLocation(t).success((function(){s.init()})).error((function(e){const t=getError(e);a.error(t,f.instant("common.error"))})).finally(()=>R())},e.setRepository=function(e){s.setRepository(e)},e.deleteRepository=function(t){l.openSimpleModal({title:f.instant("common.confirm.delete"),message:Object(i.decodeHTML)(f.instant("delete.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,s.deleteRepository(t).finally(()=>{R(),e.loader=!1}),function(e){const t="dependencies-selectedGraph-"+e.id,o="classHierarchy-selectedGraph-"+e.id;angular.forEach(d.keys(),(function(e){(e.startsWith(o)||e.startsWith(t))&&d.remove(e)}))}(t)}))},e.restartRepository=function(t){l.openSimpleModal({title:f.instant("confirm.restart.repo"),message:Object(i.decodeHTML)(f.instant("confirm.restart.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,s.restartRepository(t).finally(()=>R())}))},e.toggleDefaultRepository=function(t){e.getDefaultRepository()===t?s.setDefaultRepository(null):s.setDefaultRepository(t)},e.getDefaultRepository=function(){return s.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let t=`rest/repositories/${e.id}${e.type===r.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const o=c.getAuthToken();return o&&(t=`${t}&authToken=${encodeURIComponent(o)}`),t},e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.fromFile=function(){o.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){s.init()}))},e.openActiveLocationSettings=function(){o.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},R(),y.getNodeStatus().then(()=>{e.isInCluster=!0}).catch(t=>{404===t.status?e.isInCluster=!1:console.error("An unexpected error occurred:",t)});const T=p((function(){g.isActive()&&!t.guidePaused||(s.initQuick(),R())}),5e3);e.$on("$destroy",(function(){p.cancel(T),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return s.getRepositoriesFromLocation(e)}}function g(e,t,o,r,i){e.upload=function(t){t&&t.length&&(e.uploadFile=t[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,o.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,t.close()})).error((function(t){const o=getError(t);r.error(o,i.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){t.dismiss("cancel")}}function y(e,t,o,r,i){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(r),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?t.close(e.newLocation):o.error(i.instant("location.cannot.be.empty.error"))},e.cancel=function(){t.dismiss("cancel")}}function v(e,t,o,r){e.editedLocation=_.cloneDeep(o),e.docBase=p(r),e.ok=function(){t.close(e.editedLocation)},e.cancel=function(){t.dismiss("cancel")}}function R(e,t){e.repositoryTypes=r.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){t.path(`${t.path()}/${e}`)}}function T(e,t,o,i,n,a,u,p,m,g){function y(e){switch(e){case r.REPOSITORY_TYPES.graphdbRepo:t.pageTitle=g.instant("view.create.repo.title",{repoType:"GraphDB"});break;case r.REPOSITORY_TYPES.ontop:t.pageTitle=g.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case r.REPOSITORY_TYPES.fedx:t.pageTitle=g.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var v;t.rulesets=r.STATIC_RULESETS.slice(),t.repositoryTypes=r.REPOSITORY_TYPES,t.params=p,t.repositoryType=p.repositoryType,t.enable=!0,t.loader=!0,t.pageTitle=g.instant("view.create.repo.title"),t.repositoryInfo={id:"",params:{},title:"",type:"",location:""},t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},f(i).then(e=>{t.locations=e}),t.changedLocation=function(){t.$broadcast("changedLocation")},t.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const o=e.data;var r;t.repositoryInfo.params=o.params,t.repositoryInfo.type=o.type,s(t.repositoryInfo.params),(r=t.repositoryInfo.params)&&r.member&&(r.member.value=[]),t.loader=!1,a((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const r=getError(e);o.error(r,g.instant("common.error")),t.loader=!1}))},t.repositoryType&&(function(e){return t.isEnterprise()&&e===r.REPOSITORY_TYPES.graphdbRepo}(v=t.repositoryType)||function(e){return!t.isFreeEdition()&&!t.isEnterprise()&&e===r.REPOSITORY_TYPES.graphdbRepo}(v)||function(e){return t.isFreeEdition()&&e===r.REPOSITORY_TYPES.graphdbRepo}(v)||function(e){return e===r.REPOSITORY_TYPES.ontop}(v)||function(e){return e===r.REPOSITORY_TYPES.fedx}(v))?(t.repositoryInfo.type=t.repositoryType,t.getConfig(t.repositoryType),y(t.repositoryType)):n.path("/repository/create"),t.hasActiveLocation=function(){return i.hasActiveLocation()},t.activeLocation=function(){return i.getActiveLocation()};let R=!1;t.uploadRuleset=function(e){e&&e.length&&(t.uploadFile=e[0],t.uploadFileLoader=!0,u.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:t.uploadFile,location:t.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){R=!1;const o=t.uploadFile.name,r={id:e.fileLocation,name:"Custom: "+o};t.rulesetPie?t.rulesets[0]=r:t.rulesets.unshift(r),t.rulesetPie=e.fileLocation,t.rulesetPieFile=o,t.repositoryInfo.params.ruleset.value=t.rulesetPie}else o.error(e.errorMessage),R=!0,t.uploadFile="";t.uploadFileLoader=!1})).error((function(e){const r=getError(e);o.error(r,g.instant("common.error")),t.uploadFile="",t.uploadFileLoader=!1,R=!0})))},t.noMembersError=function(){o.error(g.instant("fedx.create.repo.no.members.warning"))},t.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete n.$$search.previous,n.path("/")):n.path("/repository")},t.createRepoHttp=function(){t.loader=!0,m.createRepository(t.repositoryInfo).then((function(){return o.success(g.instant("created.repo.success.msg",{repoId:t.repositoryInfo.id})),i.init()})).then(()=>t.goBackToPreviousLocation()).catch((function(e){const t=getError(e.data);o.error(t,g.instant("common.error"))})).finally(()=>{t.loader=!1})},t.createRepo=function(){if(!t.repositoryInfo.id)return void o.error(g.instant("empty.repoid.warning"));t.isInvalidRepoName=!r.FILENAME_PATTERN.test(t.repositoryInfo.id),c(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,g);R?o.error(g.instant("invalid.ruleset.file.error")):t.isInvalidRepoName?o.error(g.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?o.error(e):t.createRepoHttp()},t.rulesetWarning=function(){const e=t.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?g.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?g.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===t.rulesetPie?g.instant("repoTooltips.rulesetWarnings.customRuleset"):""},t.validateNumberInput=function(){c(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return l()},t.autofocusId="autofocus";const T=e.$on("$translateChangeSuccess",()=>{y(t.repositoryType)});t.$on("$destroy",()=>{T()})}function h(e,t,o,r,i,n,a,s){e.dialogTitle=a||n.instant("update.file.content.header"),r&&o.getRepositoryFileContent(r,s).success((function(t){e.fileContent=t})).error((function(e){const t=getError(e);i.error(t,n.instant("common.error"))})),e.ok=function(){t.close({content:e.fileContent,fileLocation:r})},e.cancel=function(){t.dismiss("cancel")}}function L(e,t,o,n,u,p,m,g,y,v){t.rulesets=r.STATIC_RULESETS.slice(),t.repositoryTypes=r.REPOSITORY_TYPES,t.editRepoPage=!0,t.canEditRepoId=!1,t.isRepoInCluster=!0,t.params=o,t.loader=!0,t.repositoryInfo={},t.repositoryInfo.id=t.params.repositoryId,t.repositoryInfo.location=t.params.location,t.repositoryInfo.restartRequested=!1,t.repositoryType="",t.saveRepoId=t.params.repositoryId,t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId}),t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},t.hasActiveLocation=function(){return u.hasActiveLocation()};t.$watch(t.hasActiveLocation,(function(){if(t.hasActiveLocation){let e;f(u).then(e=>(t.locations=e,g.getRepository(t.repositoryInfo))).then(o=>(e=o,v.monitorActiveOperations(t.repositoryInfo.id))).then(e=>{t.isRepoInCluster=e.hasClusterOperation()}).catch(o=>e?Promise.resolve():(t.repositoryInfo=void 0,Promise.reject(o))).then(()=>{(e=>{const o=e.data;if(angular.isDefined(o.params.ruleset)){let e=!1;if(angular.forEach(t.rulesets,(function(t){t.id===o.params.ruleset.value&&(e=!0)})),o.params.ruleset&&!e){const e=a(o.params.ruleset.value);t.rulesets.unshift({id:o.params.ruleset.value,name:"Custom: "+e})}}t.repositoryInfo=o,t.setRepositoryType(o.type),s(t.repositoryInfo.params),t.repositoryInfo.saveId=t.saveRepoId,t.loader=!1})(e)}).catch(e=>{const r=e.data,a=e.status,s=o.repositoryId;let l;l=404===a&&"system"!==s?Object(i.decodeHTML)(y.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(i.decodeHTML)(y.instant("edit.system.repo.warning")):getError(r),n.error(l,y.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){t.loader=!1,p.path("repository")}),1e3):t.loader=!1})}})),t.setRepositoryType=function(e){t.repositoryType=e},t.noMembersError=function(){n.error(y.instant("fedx.create.repo.no.members.warning"))},t.editRepoHttp=function(){t.loader=!0,g.editRepository(t.repositoryInfo.saveId,t.repositoryInfo).success((function(){n.success(y.instant("edit.repo.success.msg",{saveId:t.repositoryInfo.saveId})),u.init().finally(()=>t.goBackToPreviousLocation()),t.repositoryInfo.saveId===t.repositoryInfo.id&&t.repositoryInfo.restartRequested&&u.restartRepository(t.repositoryInfo)})).error((function(e){const o=getError(e);n.error(o,y.instant("common.error")),t.loader=!1}))},t.editRepository=function(){t.isInvalidRepoName=!r.FILENAME_PATTERN.test(t.repositoryInfo.id),c(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,y);let o=Object(i.decodeHTML)(y.instant("edit.repo.save.changes.msg",{repoId:t.repositoryInfo.id}));t.repositoryInfo.saveId!==t.repositoryInfo.id?o+=Object(i.decodeHTML)(y.instant("edit.repo.rename.changes.msg")):t.repositoryInfo.restartRequested?o+=Object(i.decodeHTML)(y.instant("edit.repo.restart.requested.msg")):o+=Object(i.decodeHTML)(y.instant("edit.repo.restart.needed.msg")),t.isInvalidRepoName?n.error(y.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?n.error(e):m.openSimpleModal({title:y.instant("common.confirm.save"),message:o,warning:!0}).result.then((function(){t.editRepoHttp()}))},t.editRepositoryId=function(){if(t.isRepoInCluster)return;let e=Object(i.decodeHTML)(y.instant("edit.repo.id.warning.msg"));t.isEnterprise()&&(e+=Object(i.decodeHTML)(y.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:y.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){t.canEditRepoId=!0}))},t.goBackToPreviousLocation=function(){angular.isDefined(o.previous)?(delete p.$$search.previous,p.path("/")):p.path("/repository")},t.validateNumberInput=function(){c(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return l()};const R=e.$on("$translateChangeSuccess",()=>{t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId})});t.$on("$destroy",()=>{R()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload","graphdb.framework.repositories.controllers.manage-remote-location-dialog","graphdb.framework.rest.cluster.service"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",y).controller("EditLocationCtrl",v).controller("ChooseRepositoryCtrl",R).controller("AddRepositoryCtrl",T).controller("EditRepositoryCtrl",L).controller("EditRepositoryFileCtrl",h).controller("UploadRepositoryConfigCtrl",g),m.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService","ClusterRestService"],g.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],y.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],v.$inject=["$scope","$uibModalInstance","location","productInfo"],R.$inject=["$scope","$location"],T.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],h.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle","location"],L.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},212:function(e,t,o){"use strict";o.r(t);var r=o(28);o(109);function i(e,t,o,i){e.RemoteLocationType=r.RemoteLocationType,e.RemoteLocationAuthType=r.RemoteLocationAuthType,e.isEdit=!!i.remoteLocation,e.remoteLocation=i.remoteLocation?new r.RemoteLocationModel({...i.remoteLocation}):new r.RemoteLocationModel,e.docBase="https://graphdb.ontotext.com/documentation/"+o.productShortVersion,e.ok=()=>{e.remoteLocationForm.$pristine||e.remoteLocationForm.$invalid||t.close(e.remoteLocation)},e.cancel=()=>{t.dismiss("cancel")},e.onLocationTypeChanged=()=>{[r.RemoteLocationType.ONTOPIC,r.RemoteLocationType.SPARQL].includes(e.remoteLocation.locationType)?e.remoteLocation.authType=r.RemoteLocationAuthType.BASIC:e.remoteLocation.authType=r.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",i),i.$inject=["$scope","$uibModalInstance","productInfo","data"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[89,136],{109: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"},224:function(e,t,n){"use strict";n.r(t);n(13),n(225);var o=n(127),r=n(18),s=n(109);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()}}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[90,136],{111: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"},224:function(e,t,n){"use strict";n.r(t);n(13),n(225);var o=n(128),r=n(18),s=n(111);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()}}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[90,192],{108:function(t,e,s){"use strict";s.r(e),s.d(e,"Location",(function(){return i})),s.d(e,"Node",(function(){return n})),s.d(e,"TopologyStatus",(function(){return r})),s.d(e,"Link",(function(){return o})),s.d(e,"ClusterModel",(function(){return a})),s.d(e,"ClusterViewModel",(function(){return d})),s.d(e,"ClusterItemViewModel",(function(){return l})),s.d(e,"ClusterConfiguration",(function(){return u}));class i{constructor(t,e=null,s=null,i=!1,n=!1){this._endpoint=t,this._rpcAddress=e,this._error=s,this._isAvailable=i,this._isLocal=n}get isLocal(){return this._isLocal}get endpoint(){return this._endpoint}get rpcAddress(){return this._rpcAddress}get error(){return this._error}get isAvailable(){return this._isAvailable}set endpoint(t){this._endpoint=t}set rpcAddress(t){this._rpcAddress=t}set error(t){this._error=t}set isAvailable(t){this._isAvailable=t}set isLocal(t){this._isLocal=t}static fromJSON({endpoint:t,rpcAddress:e,error:s=null,isAvailable:n=!1,isLocal:r=!1}){return new i(t,e,s,n,r)}}class n{constructor(t,e,s,i,n,o,a,d,l){this._address=t,this._nodeState=e,this._term=s,this._syncStatus=i,this._lastLogTerm=n,this._lastLogIndex=o,this._endpoint=a,this._recoveryStatus=d,this._topologyStatus=r.fromJSON(l)}get address(){return this._address}get nodeState(){return this._nodeState}get term(){return this._term}get syncStatus(){return this._syncStatus}get lastLogTerm(){return this._lastLogTerm}get lastLogIndex(){return this._lastLogIndex}get endpoint(){return this._endpoint}get recoveryStatus(){return this._recoveryStatus}set address(t){this._address=t}set nodeState(t){this._nodeState=t}set term(t){this._term=t}set syncStatus(t){this._syncStatus=t}set lastLogTerm(t){this._lastLogTerm=t}set lastLogIndex(t){this._lastLogIndex=t}set endpoint(t){this._endpoint=t}set recoveryStatus(t){this._recoveryStatus=t}get topologyStatus(){return this._topologyStatus}set topologyStatus(t){return this._topologyStatus=t}static fromJSON({address:t,nodeState:e,term:s,syncStatus:i,lastLogTerm:r,lastLogIndex:o,endpoint:a,recoveryStatus:d,topologyStatus:l}){return new n(t,e,s,i,r,o,a,d,l)}}class r{constructor(t,e=new Map,s,i){this._state=t,this._primaryTags=e,this._primaryIndex=s,this._primaryLeader=i}get state(){return this._state}get primaryTags(){return this._primaryTags}get primaryIndex(){return this._primaryIndex}get primaryLeader(){return this._primaryLeader}static fromJSON({state:t,primaryTags:e={},primaryIndex:s,primaryLeader:i}){const n=Object.entries(e);return new r(t,n,s,i)}}class o{constructor(t,e,s,i){this._id=t,this._source=e,this._target=s,this._status=i}static fromJSON({id:t,source:e,target:s,status:i}){return new o(t,e,s,i)}}class a{constructor(t,e,s,i){this._locations=t,this._hasCluster=e,this._nodes=s,this._links=i}get locations(){return this._locations}set locations(t){this._locations=t}get hasCluster(){return this._hasCluster}set hasCluster(t){this._hasCluster=t}get nodes(){return this._nodes}set nodes(t){this._nodes=t}get links(){return this._links}set links(t){this._links=t}static fromJSON(t){const e=t.locations.map(i.fromJSON),s=t.nodes.map(n.fromJSON),r=t.links.map(o.fromJSON);return new a(e,t.hasCluster,s,r)}}class d{constructor(t){this._clusterModel=a.fromJSON(t),this._addToCluster=new Map,this._deleteFromCluster=new Map,this._currentNodesCount=0,this._clusterConfiguration=new u,this._localNodeEndpoint=t.locations.find(t=>t.isLocal).endpoint,this.MINIMUM_NODES_REQUIRED=2}getAttached(){const t=this._clusterModel.nodes.concat(Array.from(this._addToCluster.values()));return this._currentNodesCount=t.filter(t=>!this._deleteFromCluster.has(t.endpoint)).length,t}getViewModel(){let t=0;return this.getAttached().map(e=>{const s=new l(e);return this._deleteFromCluster.has(e.endpoint)?s.isDeleted=!0:s.index=t++,this._localNodeEndpoint===e.endpoint&&(s.isLocal=!0),s})}getAvailable(t=!1){const e=this._clusterModel.nodes;return this._clusterModel.locations.filter(s=>{const i=!this.isPresentInList(e,s.endpoint),n=s.isAvailable,r=!this._addToCluster.has(s.endpoint),o=!!t||!this._deleteFromCluster.has(s.endpoint);return i&&n&&o&&r})}getAvailableNodeEndpoints(){return this.getAvailable().map(t=>t.endpoint)}getLocalNode(){return this._clusterModel.locations.find(t=>t.isLocal)}addToCluster(t){const e=t.endpoint;t.endpoint&&this.addToLocations(t),this._deleteFromCluster.has(e)?this._deleteFromCluster.delete(e):this._addToCluster.set(e,t)}addToLocations(t){const e=c.findIndexByEndpoint(this._clusterModel.locations,t.endpoint);-1===e?this._clusterModel.locations.push(t):this._clusterModel.locations.splice(e,1)}deleteFromCluster(t){const e=t.endpoint;this._addToCluster.has(e)?this._addToCluster.delete(e):this._deleteFromCluster.set(e,t)}getDeleteFromCluster(){return Array.from(this._deleteFromCluster.values())}getUpdateActions(){const t=Array.from(this._addToCluster.values()).map(t=>t.endpoint),e={addNodes:t,removeNodes:Array.from(this._deleteFromCluster.values()).map(t=>t.endpoint)},s=this.updateClusterConfiguration(t);return s&&(e.clusterConfiguration=s),e}updateClusterConfiguration(t){return this.hasCluster()?null:(this._clusterConfiguration.nodes=t,this._clusterConfiguration.toJSON())}getClusterConfiguration(){return this._clusterConfiguration}restoreFromDeletion(t){this._deleteFromCluster.delete(t.endpoint)}isChanged(){return this._addToCluster.size>0||this._deleteFromCluster.size>0}isPresentInList(t,e){return c.isPresentInList(t,e)}findByEndpoint(t,e){return c.findByEndpoint(t,e)}findIndexByEndpoint(t,e){return c.findIndexByEndpoint(t,e)}hasValidNodesCount(){return this._currentNodesCount>=this.MINIMUM_NODES_REQUIRED}canDeleteNode(){const t=Math.floor(this._clusterModel.nodes.length/2);return this._deleteFromCluster.size<t}hasCluster(){return this._clusterModel.hasCluster}}class l{constructor(t){this._item=t,this._endpoint=t.endpoint,this._isDeleted=!1,this._index=void 0,this._isLocal=!1}getEndPoint(){return this._item.endpoint}getAddress(){return void 0!==this._item._address?this._item._address:void 0!==this._item.rpcAddress?this._item.rpcAddress:null}isNode(){return void 0!==this._item._address}isLocation(){return void 0===this._item._address}getNodeState(){return this.isNode()?this._item._nodeState:null}getIsAvailable(){return this.isNode()?null:this._item.isAvailable}getTerm(){return this.isNode()?this._item.term:null}getSyncStatus(){return this.isNode()?this._item.syncStatus:null}getIsLocal(){return this.isNode()?null:this._item.isLocal}get item(){return this._item}get endpoint(){return this._endpoint}set endpoint(t){return this._endpoint=t}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get index(){return this._index}set index(t){this._index=t}get isLocal(){return this._isLocal}set isLocal(t){this._isLocal=t}}class u{constructor({electionMinTimeout:t=8e3,electionRangeTimeout:e=6e3,heartbeatInterval:s=2e3,messageSizeKB:i=64,verificationTimeout:n=1500,transactionLogMaximumSizeGB:r=50,batchUpdateInterval:o=5e3,nodes:a=[],secondaryTag:d,primaryNodes:l}={}){this._electionMinTimeout=t,this._electionRangeTimeout=e,this._heartbeatInterval=s,this._messageSizeKB=i,this._verificationTimeout=n,this._transactionLogMaximumSizeGB=r,this._batchUpdateInterval=o,this._nodes=a,this._secondaryTag=d,this._primaryNodes=l}static fromJSON(t){return new u(t)}get electionMinTimeout(){return this._electionMinTimeout}set electionMinTimeout(t){this._electionMinTimeout=t}get electionRangeTimeout(){return this._electionRangeTimeout}set electionRangeTimeout(t){this._electionRangeTimeout=t}get heartbeatInterval(){return this._heartbeatInterval}set heartbeatInterval(t){this._heartbeatInterval=t}get messageSizeKB(){return this._messageSizeKB}set messageSizeKB(t){this._messageSizeKB=t}get verificationTimeout(){return this._verificationTimeout}set verificationTimeout(t){this._verificationTimeout=t}get transactionLogMaximumSizeGB(){return this._transactionLogMaximumSizeGB}set transactionLogMaximumSizeGB(t){this._transactionLogMaximumSizeGB=t}get nodes(){return this._nodes}set nodes(t){this._nodes=t}get batchUpdateInterval(){return this._batchUpdateInterval}set batchUpdateInterval(t){this._batchUpdateInterval=t}get secondaryTag(){return this._secondaryTag}set secondaryTag(t){this._secondaryTag=t}get primaryNodes(){return this._primaryNodes}set primaryNodes(t){this._primaryNodes=t}toJSON(){const t={electionMinTimeout:this._electionMinTimeout,electionRangeTimeout:this._electionRangeTimeout,heartbeatInterval:this._heartbeatInterval,messageSizeKB:this._messageSizeKB,verificationTimeout:this._verificationTimeout,transactionLogMaximumSizeGB:this._transactionLogMaximumSizeGB,batchUpdateInterval:this._batchUpdateInterval,nodes:this._nodes};return void 0!==this._secondaryTag&&(t.secondaryTag=this._secondaryTag),void 0!==this._primaryNodes&&(t.primaryNodes=this._primaryNodes),t}}class c{static isPresentInList(t,e){return t.some(t=>t.endpoint===e)}static findByEndpoint(t,e){return t.find(t=>t.endpoint===e)}static findIndexByEndpoint(t,e){return t.findIndex(t=>t.endpoint===e)}}},228:function(t,e,s){"use strict";s.r(e);var i=s(108);function n(t,e,s,n,r,o,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-nodes-configuration.html",link:s=>{const n=[];s.rowHeights={},s.editedNodeIndex=void 0,s.allSuggestions=[],s.loader=!1,s.errors=[],s.addNewLocation=!1,s.hasCluster=!1,s.addNode=()=>{s.addNewLocation=!0,s.newLocation=new i.Location},s.filterSuggestions=t=>{const e=t.endpoint&&t.endpoint.toLowerCase();e?(s.suggestions=s.allSuggestions.filter(t=>t.toLowerCase().includes(e)),s.showDropdown=!0):(s.suggestions=[],s.showDropdown=!1)},s.selectSuggestion=(t,e)=>{t.endpoint=e,s.suggestions=[],s.showDropdown=!1},s.hideSuggestions=()=>{e(()=>{s.showDropdown=!1},200)},s.saveNode=t=>{const e=o.getAvailable(!0);!function(t,e){e?o.replace(e,t):o.addLocation(t);r()}(o.findByEndpoint(e,t)||new i.Location(t),o.getPendingReplace())},s.deleteNode=(e,s)=>{a.openSimpleModal({title:t.instant("location.confirm.detach"),message:t.instant("location.confirm.detach.warning",{uri:s.endpoint}),warning:!0}).result.then(()=>{o.deleteFromCluster(s.item)})},s.replaceNode=(e,i)=>{a.openSimpleModal({title:t.instant("location.change.confirm"),message:t.instant("location.change.confirm.warning"),warning:!0}).result.then(()=>{o.setPendingReplace(i.item),s.editedNodeIndex=e})},s.isClusterConfigurationValid=()=>{const t=void 0===s.editedNodeIndex,e=!1===s.addNewLocation,i=o.hasValidNodesCount(),n=s.form.$valid;return t&&e&&i&&n},s.setLoader=(t,i)=>{e.cancel(s.loaderTimeout),t?s.loaderTimeout=e(()=>{s.loader=t,s.loaderMessage=i},300):s.loader=!1},s.getAdvancedOptionsClass=()=>{const t=document.getElementById("advancedOptions");if(t){const e=t.getAttribute("aria-expanded");if(e&&"true"===e)return"fa fa-angle-down"}return"fa fa-angle-right"},s.cancel=()=>{s.editedNodeIndex=void 0,s.addNewLocation=!1,o.emitUpdateClusterView()},s.restoreNode=t=>{o.restoreNode(t.item)};const r=()=>{o.setPendingReplace(void 0),s.editedNodeIndex=void 0,s.addNewLocation=!1},d=s.$watchGroup(["editedNodeIndex","addNewLocation","clusterConfiguration.electionMinTimeout","clusterConfiguration.electionRangeTimeout","clusterConfiguration.heartbeatInterval","clusterConfiguration.messageSizeKB","clusterConfiguration.verificationTimeout","clusterConfiguration.transactionLogMaximumSizeGB"],(t,e)=>{const i=s.isClusterConfigurationValid();o.updateClusterValidity(i)});n.push(d),n.push(o.onClusterViewChanged(t=>{s.hasCluster=o.hasCluster(),s.viewModel=o.getViewModel(),s.clusterNodesEndpoints=s.viewModel.map(t=>t.endpoint),s.clusterConfiguration=o.getClusterConfiguration(),s.allSuggestions=o.getAvailableNodeEndpoints(),s.canDeleteNode=o.canDeleteNode()})),s.$on("$destroy",()=>{n.forEach(t=>t())})}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-nodes-configuration",[]).directive("clusterNodesConfiguration",n),n.$inject=["$translate","$timeout","productInfo","toastr","RemoteLocationsService","ClusterContextService","ModalService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[91,192],{110:function(t,e,s){"use strict";s.r(e),s.d(e,"Location",(function(){return i})),s.d(e,"Node",(function(){return n})),s.d(e,"TopologyStatus",(function(){return r})),s.d(e,"Link",(function(){return o})),s.d(e,"ClusterModel",(function(){return a})),s.d(e,"ClusterViewModel",(function(){return d})),s.d(e,"ClusterItemViewModel",(function(){return l})),s.d(e,"ClusterConfiguration",(function(){return u}));class i{constructor(t,e=null,s=null,i=!1,n=!1){this._endpoint=t,this._rpcAddress=e,this._error=s,this._isAvailable=i,this._isLocal=n}get isLocal(){return this._isLocal}get endpoint(){return this._endpoint}get rpcAddress(){return this._rpcAddress}get error(){return this._error}get isAvailable(){return this._isAvailable}set endpoint(t){this._endpoint=t}set rpcAddress(t){this._rpcAddress=t}set error(t){this._error=t}set isAvailable(t){this._isAvailable=t}set isLocal(t){this._isLocal=t}static fromJSON({endpoint:t,rpcAddress:e,error:s=null,isAvailable:n=!1,isLocal:r=!1}){return new i(t,e,s,n,r)}}class n{constructor(t,e,s,i,n,o,a,d,l){this._address=t,this._nodeState=e,this._term=s,this._syncStatus=i,this._lastLogTerm=n,this._lastLogIndex=o,this._endpoint=a,this._recoveryStatus=d,this._topologyStatus=r.fromJSON(l)}get address(){return this._address}get nodeState(){return this._nodeState}get term(){return this._term}get syncStatus(){return this._syncStatus}get lastLogTerm(){return this._lastLogTerm}get lastLogIndex(){return this._lastLogIndex}get endpoint(){return this._endpoint}get recoveryStatus(){return this._recoveryStatus}set address(t){this._address=t}set nodeState(t){this._nodeState=t}set term(t){this._term=t}set syncStatus(t){this._syncStatus=t}set lastLogTerm(t){this._lastLogTerm=t}set lastLogIndex(t){this._lastLogIndex=t}set endpoint(t){this._endpoint=t}set recoveryStatus(t){this._recoveryStatus=t}get topologyStatus(){return this._topologyStatus}set topologyStatus(t){return this._topologyStatus=t}static fromJSON({address:t,nodeState:e,term:s,syncStatus:i,lastLogTerm:r,lastLogIndex:o,endpoint:a,recoveryStatus:d,topologyStatus:l}){return new n(t,e,s,i,r,o,a,d,l)}}class r{constructor(t,e=new Map,s,i){this._state=t,this._primaryTags=e,this._primaryIndex=s,this._primaryLeader=i}get state(){return this._state}get primaryTags(){return this._primaryTags}get primaryIndex(){return this._primaryIndex}get primaryLeader(){return this._primaryLeader}static fromJSON({state:t,primaryTags:e={},primaryIndex:s,primaryLeader:i}){const n=Object.entries(e);return new r(t,n,s,i)}}class o{constructor(t,e,s,i){this._id=t,this._source=e,this._target=s,this._status=i}static fromJSON({id:t,source:e,target:s,status:i}){return new o(t,e,s,i)}}class a{constructor(t,e,s,i){this._locations=t,this._hasCluster=e,this._nodes=s,this._links=i}get locations(){return this._locations}set locations(t){this._locations=t}get hasCluster(){return this._hasCluster}set hasCluster(t){this._hasCluster=t}get nodes(){return this._nodes}set nodes(t){this._nodes=t}get links(){return this._links}set links(t){this._links=t}static fromJSON(t){const e=t.locations.map(i.fromJSON),s=t.nodes.map(n.fromJSON),r=t.links.map(o.fromJSON);return new a(e,t.hasCluster,s,r)}}class d{constructor(t){this._clusterModel=a.fromJSON(t),this._addToCluster=new Map,this._deleteFromCluster=new Map,this._currentNodesCount=0,this._clusterConfiguration=new u,this._localNodeEndpoint=t.locations.find(t=>t.isLocal).endpoint,this.MINIMUM_NODES_REQUIRED=2}getAttached(){const t=this._clusterModel.nodes.concat(Array.from(this._addToCluster.values()));return this._currentNodesCount=t.filter(t=>!this._deleteFromCluster.has(t.endpoint)).length,t}getViewModel(){let t=0;return this.getAttached().map(e=>{const s=new l(e);return this._deleteFromCluster.has(e.endpoint)?s.isDeleted=!0:s.index=t++,this._localNodeEndpoint===e.endpoint&&(s.isLocal=!0),s})}getAvailable(t=!1){const e=this._clusterModel.nodes;return this._clusterModel.locations.filter(s=>{const i=!this.isPresentInList(e,s.endpoint),n=s.isAvailable,r=!this._addToCluster.has(s.endpoint),o=!!t||!this._deleteFromCluster.has(s.endpoint);return i&&n&&o&&r})}getAvailableNodeEndpoints(){return this.getAvailable().map(t=>t.endpoint)}getLocalNode(){return this._clusterModel.locations.find(t=>t.isLocal)}addToCluster(t){const e=t.endpoint;t.endpoint&&this.addToLocations(t),this._deleteFromCluster.has(e)?this._deleteFromCluster.delete(e):this._addToCluster.set(e,t)}addToLocations(t){const e=c.findIndexByEndpoint(this._clusterModel.locations,t.endpoint);-1===e?this._clusterModel.locations.push(t):this._clusterModel.locations.splice(e,1)}deleteFromCluster(t){const e=t.endpoint;this._addToCluster.has(e)?this._addToCluster.delete(e):this._deleteFromCluster.set(e,t)}getDeleteFromCluster(){return Array.from(this._deleteFromCluster.values())}getUpdateActions(){const t=Array.from(this._addToCluster.values()).map(t=>t.endpoint),e={addNodes:t,removeNodes:Array.from(this._deleteFromCluster.values()).map(t=>t.endpoint)},s=this.updateClusterConfiguration(t);return s&&(e.clusterConfiguration=s),e}updateClusterConfiguration(t){return this.hasCluster()?null:(this._clusterConfiguration.nodes=t,this._clusterConfiguration.toJSON())}getClusterConfiguration(){return this._clusterConfiguration}restoreFromDeletion(t){this._deleteFromCluster.delete(t.endpoint)}isChanged(){return this._addToCluster.size>0||this._deleteFromCluster.size>0}isPresentInList(t,e){return c.isPresentInList(t,e)}findByEndpoint(t,e){return c.findByEndpoint(t,e)}findIndexByEndpoint(t,e){return c.findIndexByEndpoint(t,e)}hasValidNodesCount(){return this._currentNodesCount>=this.MINIMUM_NODES_REQUIRED}canDeleteNode(){const t=Math.floor(this._clusterModel.nodes.length/2);return this._deleteFromCluster.size<t}hasCluster(){return this._clusterModel.hasCluster}}class l{constructor(t){this._item=t,this._endpoint=t.endpoint,this._isDeleted=!1,this._index=void 0,this._isLocal=!1}getEndPoint(){return this._item.endpoint}getAddress(){return void 0!==this._item._address?this._item._address:void 0!==this._item.rpcAddress?this._item.rpcAddress:null}isNode(){return void 0!==this._item._address}isLocation(){return void 0===this._item._address}getNodeState(){return this.isNode()?this._item._nodeState:null}getIsAvailable(){return this.isNode()?null:this._item.isAvailable}getTerm(){return this.isNode()?this._item.term:null}getSyncStatus(){return this.isNode()?this._item.syncStatus:null}getIsLocal(){return this.isNode()?null:this._item.isLocal}get item(){return this._item}get endpoint(){return this._endpoint}set endpoint(t){return this._endpoint=t}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get index(){return this._index}set index(t){this._index=t}get isLocal(){return this._isLocal}set isLocal(t){this._isLocal=t}}class u{constructor({electionMinTimeout:t=8e3,electionRangeTimeout:e=6e3,heartbeatInterval:s=2e3,messageSizeKB:i=64,verificationTimeout:n=1500,transactionLogMaximumSizeGB:r=50,batchUpdateInterval:o=5e3,nodes:a=[],secondaryTag:d,primaryNodes:l}={}){this._electionMinTimeout=t,this._electionRangeTimeout=e,this._heartbeatInterval=s,this._messageSizeKB=i,this._verificationTimeout=n,this._transactionLogMaximumSizeGB=r,this._batchUpdateInterval=o,this._nodes=a,this._secondaryTag=d,this._primaryNodes=l}static fromJSON(t){return new u(t)}get electionMinTimeout(){return this._electionMinTimeout}set electionMinTimeout(t){this._electionMinTimeout=t}get electionRangeTimeout(){return this._electionRangeTimeout}set electionRangeTimeout(t){this._electionRangeTimeout=t}get heartbeatInterval(){return this._heartbeatInterval}set heartbeatInterval(t){this._heartbeatInterval=t}get messageSizeKB(){return this._messageSizeKB}set messageSizeKB(t){this._messageSizeKB=t}get verificationTimeout(){return this._verificationTimeout}set verificationTimeout(t){this._verificationTimeout=t}get transactionLogMaximumSizeGB(){return this._transactionLogMaximumSizeGB}set transactionLogMaximumSizeGB(t){this._transactionLogMaximumSizeGB=t}get nodes(){return this._nodes}set nodes(t){this._nodes=t}get batchUpdateInterval(){return this._batchUpdateInterval}set batchUpdateInterval(t){this._batchUpdateInterval=t}get secondaryTag(){return this._secondaryTag}set secondaryTag(t){this._secondaryTag=t}get primaryNodes(){return this._primaryNodes}set primaryNodes(t){this._primaryNodes=t}toJSON(){const t={electionMinTimeout:this._electionMinTimeout,electionRangeTimeout:this._electionRangeTimeout,heartbeatInterval:this._heartbeatInterval,messageSizeKB:this._messageSizeKB,verificationTimeout:this._verificationTimeout,transactionLogMaximumSizeGB:this._transactionLogMaximumSizeGB,batchUpdateInterval:this._batchUpdateInterval,nodes:this._nodes};return void 0!==this._secondaryTag&&(t.secondaryTag=this._secondaryTag),void 0!==this._primaryNodes&&(t.primaryNodes=this._primaryNodes),t}}class c{static isPresentInList(t,e){return t.some(t=>t.endpoint===e)}static findByEndpoint(t,e){return t.find(t=>t.endpoint===e)}static findIndexByEndpoint(t,e){return t.findIndex(t=>t.endpoint===e)}}},228:function(t,e,s){"use strict";s.r(e);var i=s(110);function n(t,e,s,n,r,o,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-nodes-configuration.html",link:s=>{const n=[];s.rowHeights={},s.editedNodeIndex=void 0,s.allSuggestions=[],s.loader=!1,s.errors=[],s.addNewLocation=!1,s.hasCluster=!1,s.addNode=()=>{s.addNewLocation=!0,s.newLocation=new i.Location},s.filterSuggestions=t=>{const e=t.endpoint&&t.endpoint.toLowerCase();e?(s.suggestions=s.allSuggestions.filter(t=>t.toLowerCase().includes(e)),s.showDropdown=!0):(s.suggestions=[],s.showDropdown=!1)},s.selectSuggestion=(t,e)=>{t.endpoint=e,s.suggestions=[],s.showDropdown=!1},s.hideSuggestions=()=>{e(()=>{s.showDropdown=!1},200)},s.saveNode=t=>{const e=o.getAvailable(!0);!function(t,e){e?o.replace(e,t):o.addLocation(t);r()}(o.findByEndpoint(e,t)||new i.Location(t),o.getPendingReplace())},s.deleteNode=(e,s)=>{a.openSimpleModal({title:t.instant("location.confirm.detach"),message:t.instant("location.confirm.detach.warning",{uri:s.endpoint}),warning:!0}).result.then(()=>{o.deleteFromCluster(s.item)})},s.replaceNode=(e,i)=>{a.openSimpleModal({title:t.instant("location.change.confirm"),message:t.instant("location.change.confirm.warning"),warning:!0}).result.then(()=>{o.setPendingReplace(i.item),s.editedNodeIndex=e})},s.isClusterConfigurationValid=()=>{const t=void 0===s.editedNodeIndex,e=!1===s.addNewLocation,i=o.hasValidNodesCount(),n=s.form.$valid;return t&&e&&i&&n},s.setLoader=(t,i)=>{e.cancel(s.loaderTimeout),t?s.loaderTimeout=e(()=>{s.loader=t,s.loaderMessage=i},300):s.loader=!1},s.getAdvancedOptionsClass=()=>{const t=document.getElementById("advancedOptions");if(t){const e=t.getAttribute("aria-expanded");if(e&&"true"===e)return"fa fa-angle-down"}return"fa fa-angle-right"},s.cancel=()=>{s.editedNodeIndex=void 0,s.addNewLocation=!1,o.emitUpdateClusterView()},s.restoreNode=t=>{o.restoreNode(t.item)};const r=()=>{o.setPendingReplace(void 0),s.editedNodeIndex=void 0,s.addNewLocation=!1},d=s.$watchGroup(["editedNodeIndex","addNewLocation","clusterConfiguration.electionMinTimeout","clusterConfiguration.electionRangeTimeout","clusterConfiguration.heartbeatInterval","clusterConfiguration.messageSizeKB","clusterConfiguration.verificationTimeout","clusterConfiguration.transactionLogMaximumSizeGB"],(t,e)=>{const i=s.isClusterConfigurationValid();o.updateClusterValidity(i)});n.push(d),n.push(o.onClusterViewChanged(t=>{s.hasCluster=o.hasCluster(),s.viewModel=o.getViewModel(),s.clusterNodesEndpoints=s.viewModel.map(t=>t.endpoint),s.clusterConfiguration=o.getClusterConfiguration(),s.allSuggestions=o.getAvailableNodeEndpoints(),s.canDeleteNode=o.canDeleteNode()})),s.$on("$destroy",()=>{n.forEach(t=>t())})}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-nodes-configuration",[]).directive("clusterNodesConfiguration",n),n.$inject=["$translate","$timeout","productInfo","toastr","RemoteLocationsService","ClusterContextService","ModalService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[91,195,196],{127: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 O})),n.d(e,"moveElement",(function(){return h})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return R})),n.d(e,"updateLinks",(function(){return g})),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 D})),n.d(e,"removeEventListeners",(function(){return w}));var r=n(98),o=n(18);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 O(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 h(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 D(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=A(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=A(n),i=A(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 A(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 R(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",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 D(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 w(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},98: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})),n.d(e,"TopologyState",(function(){return s}));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"},s={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[92,195,196],{128: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 O})),n.d(e,"moveElement",(function(){return h})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return R})),n.d(e,"updateLinks",(function(){return g})),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 D})),n.d(e,"removeEventListeners",(function(){return w}));var r=n(98),o=n(18);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 O(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 h(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 D(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=A(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=A(n),i=A(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 A(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 R(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",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 D(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 w(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},98: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})),n.d(e,"TopologyState",(function(){return s}));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"},s={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[92,146],{119: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)}}}])},335:function(e,t,o){"use strict";o.r(t);o(9),o(40),o(318),o(119),o(41),o(549);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"})}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[93,146],{120: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)}}}])},335:function(e,t,o){"use strict";o.r(t);o(9),o(40),o(318),o(120),o(41),o(549);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"})}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[93,330],{118:function(t,e,r){"use strict";r.r(e),r.d(e,"UrlUtils",(function(){return o}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,s=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class o{static isValidUrl(t){return i.test(t)||s.test(t)}static doesNotContain(t,e){return!new RegExp(e).test(t)}static doesNotUseProtocol(t,e){return!new RegExp("^("+e.join("|")+")://","i").test(t)}}},135:function(t,e,r){"use strict";r.r(e);var i=r(118);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(t,e,r,s){s.$validators.validUrl=function(t,e){if(s.$isEmpty(e))return"false"!==r.allowEmpty;if(!i.UrlUtils.isValidUrl(e))return!1;if(r.exclude&&!i.UrlUtils.doesNotContain(e,r.exclude))return!1;if(r.excludeProtocol){const t=r.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(e,t))return!1}return!0}}}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[94,330],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"UrlUtils",(function(){return o}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,s=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class o{static isValidUrl(t){return i.test(t)||s.test(t)}static doesNotContain(t,e){return!new RegExp(e).test(t)}static doesNotUseProtocol(t,e){return!new RegExp("^("+e.join("|")+")://","i").test(t)}}},109:function(t,e,r){"use strict";r.r(e);var i=r(103);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(t,e,r,s){s.$validators.validUrl=function(t,e){if(s.$isEmpty(e))return"false"!==r.allowEmpty;if(!i.UrlUtils.isValidUrl(e))return!1;if(r.exclude&&!i.UrlUtils.doesNotContain(e,r.exclude))return!1;if(r.excludeProtocol){const t=r.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(e,t))return!1}return!0}}}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[94,266],{131:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"},238:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(131);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)}}}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[95,266],{132:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"},238:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(132);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)}}}()}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[95,156],{248:function(r,e,n){"use strict";n.r(e);n(9);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},337:function(r,e,n){"use strict";n.r(e);n(9),n(40),n(46),n(208),n(248);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(r){return angular.isUndefined(r)?r:r.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[96,156],{248:function(r,e,n){"use strict";n.r(e);n(9);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},337:function(r,e,n){"use strict";n.r(e);n(9),n(40),n(46),n(208),n(248);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(r){return angular.isUndefined(r)?r:r.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[96,205],{117:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(18),o=n(91);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]},91:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[97,205],{119:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(18),o=n(91);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]},91:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[97,198],{103:function(t,n,e){"use strict";e.r(n),e.d(n,"ConnectorTypesListModel",(function(){return s})),e.d(n,"ConnectorTypeModel",(function(){return o})),e.d(n,"ConnectorListModel",(function(){return r})),e.d(n,"ConnectorModel",(function(){return c})),e.d(n,"ConnectorSettingsModel",(function(){return i}));class s{constructor(t={}){this._connectors=t.connectors||[]}getConnectorByName(t){return this._connectors.find(n=>n.name===t)}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class o{constructor(t){this._name=t.name,this._prefix=t.prefix}get name(){return this._name}set name(t){this._name=t}get prefix(){return this._prefix}set prefix(t){this._prefix=t}}class r{constructor(t=[]){this._connectors=t.connectors}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class c{constructor(t){this._name=t.name,this._settings=new i(t)}get settings(){return this._settings}set settings(t){this._settings=t}get name(){return this._name}set name(t){this._name=t}}class i{constructor(t){this._settings=t.values||{}}get settings(){return this._settings}set settings(t){this._settings=t}}},110:function(t,n,e){"use strict";e.r(n),e.d(n,"connectorTypesListMapper",(function(){return o})),e.d(n,"connectorsMapper",(function(){return r}));var s=e(103);const o=t=>{const n=new s.ConnectorTypesListModel;return t?(n.connectors=Object.keys(t).map(n=>new s.ConnectorTypeModel({name:n,prefix:t[n]})),n):n},r=t=>{const n=new s.ConnectorListModel;return t?(n.connectors=t.map(t=>new s.ConnectorModel(t)),n):n}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[98,198],{104:function(t,n,e){"use strict";e.r(n),e.d(n,"ConnectorTypesListModel",(function(){return s})),e.d(n,"ConnectorTypeModel",(function(){return o})),e.d(n,"ConnectorListModel",(function(){return r})),e.d(n,"ConnectorModel",(function(){return c})),e.d(n,"ConnectorSettingsModel",(function(){return i}));class s{constructor(t={}){this._connectors=t.connectors||[]}getConnectorByName(t){return this._connectors.find(n=>n.name===t)}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class o{constructor(t){this._name=t.name,this._prefix=t.prefix}get name(){return this._name}set name(t){this._name=t}get prefix(){return this._prefix}set prefix(t){this._prefix=t}}class r{constructor(t=[]){this._connectors=t.connectors}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class c{constructor(t){this._name=t.name,this._settings=new i(t)}get settings(){return this._settings}set settings(t){this._settings=t}get name(){return this._name}set name(t){this._name=t}}class i{constructor(t){this._settings=t.values||{}}get settings(){return this._settings}set settings(t){this._settings=t}}},112:function(t,n,e){"use strict";e.r(n),e.d(n,"connectorTypesListMapper",(function(){return o})),e.d(n,"connectorsMapper",(function(){return r}));var s=e(104);const o=t=>{const n=new s.ConnectorTypesListModel;return t?(n.connectors=Object.keys(t).map(n=>new s.ConnectorTypeModel({name:n,prefix:t[n]})),n):n},r=t=>{const n=new s.ConnectorListModel;return t?(n.connectors=t.map(t=>new s.ConnectorModel(t)),n):n}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[98,200],{112: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}}},133: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(112);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([[99,200],{114: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}}},134: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(114);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))}}]);