graphdb-workbench 2.7.4 → 2.8.0-TR2

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 (539) hide show
  1. package/dist/{0.7740a14c971ea1d2eba0.bundle.js → 0.c57f2f68d367a4c218fc.bundle.js} +3 -3
  2. package/dist/{1.9a8a5a340e17c11643b6.bundle.js → 1.a0b75d45735a22f37ddc.bundle.js} +1 -1
  3. package/dist/{8.32be4128f570c447549e.bundle.js → 10.898fa2a36737f95067a6.bundle.js} +11 -11
  4. package/dist/100.2d727ff763d70314a344.bundle.js +1 -0
  5. package/dist/101.033154cfbe16d0474fc2.bundle.js +1 -0
  6. package/dist/102.23581665e40a3c38bdc4.bundle.js +1 -0
  7. package/dist/103.bec4bbe3c8edafaf0938.bundle.js +1 -0
  8. package/dist/104.4f6d66b077a66f66b880.bundle.js +1 -0
  9. package/dist/105.2d79cd219effe43091f8.bundle.js +1 -0
  10. package/dist/106.69ce103db4da1e272b72.bundle.js +1 -0
  11. package/dist/107.b3378ee27a543e47234c.bundle.js +1 -0
  12. package/dist/108.c9936ab2e1547962c2bc.bundle.js +1 -0
  13. package/dist/{86.4693b1e6a0732bdd10ab.bundle.js → 109.3af142a701cf0ce3ac3e.bundle.js} +1 -1
  14. package/dist/11.e430b38a9a250b880d28.bundle.js +1 -0
  15. package/dist/110.30cfa414191b314a261b.bundle.js +1 -0
  16. package/dist/111.4cf8ef55422eab73d874.bundle.js +1 -0
  17. package/dist/112.401fb8c98ab73e208730.bundle.js +1 -0
  18. package/dist/113.6d341bb94caa74a19866.bundle.js +1 -0
  19. package/dist/114.c577fe3214041daecdf5.bundle.js +1 -0
  20. package/dist/115.65816bf004a5688da482.bundle.js +1 -0
  21. package/dist/116.966292071b4061aa61d3.bundle.js +1 -0
  22. package/dist/117.c4a9a26113e943e9e762.bundle.js +1 -0
  23. package/dist/118.fd44c264becff4a1797c.bundle.js +1 -0
  24. package/dist/119.e46cd3518e0dbf3169bb.bundle.js +1 -0
  25. package/dist/12.afb551efb4792fb9eb1d.bundle.js +1 -0
  26. package/dist/{100.468b84c65c7b8c06657d.bundle.js → 120.8e52ba856d40cd8864d9.bundle.js} +1 -1
  27. package/dist/{103.1cf434c1865ad9ca7f7e.bundle.js → 121.a9992f7ff46cf77b304c.bundle.js} +1 -1
  28. package/dist/{104.c90b212514e1bb149d36.bundle.js → 122.1c9c84436c94b46fe056.bundle.js} +1 -1
  29. package/dist/{105.9ddd0bff6272f563749a.bundle.js → 123.83252c0af670f08d60cd.bundle.js} +1 -1
  30. package/dist/{106.7dcd770aee236e1e4b9e.bundle.js → 124.cf9703439aa0c9313b50.bundle.js} +1 -1
  31. package/dist/{107.9501561f24a33fd8ac99.bundle.js → 125.400f68c00301d92445d4.bundle.js} +1 -1
  32. package/dist/{108.4c18340aa198d13ff031.bundle.js → 126.8c636a630d2d121743c5.bundle.js} +1 -1
  33. package/dist/{109.c5a77ee8cc5ca77d1a24.bundle.js → 127.332e86694914476a6176.bundle.js} +1 -1
  34. package/dist/128.f414d604bcd013bf911d.bundle.js +1 -0
  35. package/dist/{111.c69116afc8952402b94b.bundle.js → 129.047b0311e394c752a6a9.bundle.js} +1 -1
  36. package/dist/13.dd3daf303c726658ee20.bundle.js +2 -0
  37. package/dist/130.e0e72d4ecf9667ad5882.bundle.js +1 -0
  38. package/dist/{112.7836140f8c321eb4cc92.bundle.js → 131.ef612c8696bb612a9331.bundle.js} +1 -1
  39. package/dist/132.944ecc91b5233d778847.bundle.js +1 -0
  40. package/dist/{113.23ff31977d4a2f51e366.bundle.js → 133.a9589d4a3884fface583.bundle.js} +1 -1
  41. package/dist/{114.11d025f071059a96e016.bundle.js → 134.191e4cec3a9f7d292909.bundle.js} +1 -1
  42. package/dist/{115.271c8849214e9cb68b82.bundle.js → 135.91959568020b889bb345.bundle.js} +1 -1
  43. package/dist/{116.44bbe19c8267478cfe47.bundle.js → 136.22b5615ae37d7e80a08f.bundle.js} +1 -1
  44. package/dist/{117.dc5863c0ad28647bd5ff.bundle.js → 137.9827883dd192444a74fb.bundle.js} +1 -1
  45. package/dist/{118.90d7cffadf0edb7dab22.bundle.js → 138.96826465cc9a16b82556.bundle.js} +1 -1
  46. package/dist/{119.49fbd4f9fa7814dcf524.bundle.js → 139.2cb69ff75bf32a7bcb56.bundle.js} +1 -1
  47. package/dist/{12.d77cbf85a04c13416797.bundle.js → 14.86cc7f1cd846ca4c89f0.bundle.js} +1 -1
  48. package/dist/{120.3d0da2f33c1998e15059.bundle.js → 140.fa447907c59d17ea6889.bundle.js} +1 -1
  49. package/dist/{121.5cfe2a629531fff5f8bb.bundle.js → 141.0817f727da63a4010f1c.bundle.js} +1 -1
  50. package/dist/{122.cfc9eb38b4d4206d3b0f.bundle.js → 142.ee1fa4586e90d701b89d.bundle.js} +1 -1
  51. package/dist/143.03a96c94ac2f1e76af74.bundle.js +1 -0
  52. package/dist/{124.ac495e52eeb93db1c258.bundle.js → 144.acc869ff4afdfbc7b569.bundle.js} +1 -1
  53. package/dist/{125.39798647d6fc59af6daa.bundle.js → 145.9d4717d4ce872f9d7115.bundle.js} +1 -1
  54. package/dist/{126.4c0939dcafeb3e016c9a.bundle.js → 146.115618c61ec69e872444.bundle.js} +1 -1
  55. package/dist/{127.cc107d2f31dab809d124.bundle.js → 147.e16c4c0feef631a4326f.bundle.js} +1 -1
  56. package/dist/{128.31535237e77713023ab3.bundle.js → 148.0eb58cc95c0ecbcf17b1.bundle.js} +1 -1
  57. package/dist/{129.14133cf026c08e488e9e.bundle.js → 149.9789710206b4d96b57c9.bundle.js} +1 -1
  58. package/dist/{13.9d8d961a482d42349b33.bundle.js → 15.926edf6efc64325909c5.bundle.js} +1 -1
  59. package/dist/{130.83ca4bfc89844018c61f.bundle.js → 150.35e41f0d3f0126bb0e22.bundle.js} +1 -1
  60. package/dist/{131.f6aec556f49c78da8665.bundle.js → 151.ccd788d21a4b850b4498.bundle.js} +1 -1
  61. package/dist/{132.bda2e1408a049ad349b2.bundle.js → 152.347075daa3636c189b5a.bundle.js} +1 -1
  62. package/dist/{133.f9aae73e47de861bb86e.bundle.js → 153.7e378999ca9460fdeb20.bundle.js} +1 -1
  63. package/dist/{134.a5c33a40d2b84ab5b624.bundle.js → 154.ae457607bebe60643d4f.bundle.js} +1 -1
  64. package/dist/{135.e3e8ff0d0cce2e980f9b.bundle.js → 155.5e1d88e98437e5f4bf53.bundle.js} +1 -1
  65. package/dist/{136.49d2a1a7cfb9325f793a.bundle.js → 156.a317651a9d328a0b9255.bundle.js} +1 -1
  66. package/dist/{137.c66ea292a9fd631984e5.bundle.js → 157.74c735071d16b0c93df1.bundle.js} +1 -1
  67. package/dist/{138.cb759fc495f9ce8e21ce.bundle.js → 158.65f735aa3d785816234f.bundle.js} +1 -1
  68. package/dist/{139.7537655f500bab3e9c21.bundle.js → 159.0d1b5f2a73b45b4ca07e.bundle.js} +1 -1
  69. package/dist/16.8bc6a8a10c03ec785174.bundle.js +1 -0
  70. package/dist/{140.74aba9df15b050c129d9.bundle.js → 160.1be8e3ed4f049bd912c6.bundle.js} +1 -1
  71. package/dist/{141.60071851020a1bc11595.bundle.js → 161.a6b6c6e1a56257d6835a.bundle.js} +1 -1
  72. package/dist/{142.8906dd00536438b339df.bundle.js → 162.c175bd3e48b719d9c894.bundle.js} +1 -1
  73. package/dist/{143.b1a2222304f8efe71776.bundle.js → 163.e191b04c452053f521aa.bundle.js} +1 -1
  74. package/dist/{144.f82ff50a8d2c08295627.bundle.js → 164.9044e5dec55b3f5a6cda.bundle.js} +1 -1
  75. package/dist/{145.0f1b69f230a46b4de5f6.bundle.js → 165.43dabca3ac2700b7a4c0.bundle.js} +1 -1
  76. package/dist/{146.9b3518b9d896bf47382d.bundle.js → 166.8bd61601bf2aeb3077c0.bundle.js} +1 -1
  77. package/dist/{147.e311377785362269579e.bundle.js → 167.13e35aa71b5812c20d29.bundle.js} +1 -1
  78. package/dist/168.7fe1f6eb6698093fa80c.bundle.js +1 -0
  79. package/dist/{149.8a2de058d7b72f417791.bundle.js → 169.14f519fa81a573d8542a.bundle.js} +1 -1
  80. package/dist/17.0add578b712aeaedb5a0.bundle.js +1 -0
  81. package/dist/{150.b9d376ab86b1f17e4f78.bundle.js → 170.dc1c139ea471ee4b75fd.bundle.js} +1 -1
  82. package/dist/{151.ebeb15de6f8b7ab9ea57.bundle.js → 171.47f9f78df56ca774432e.bundle.js} +1 -1
  83. package/dist/{152.ed9387e19d9cc69953db.bundle.js → 172.ad983564793860cbc3e3.bundle.js} +1 -1
  84. package/dist/{153.8d702923e48b57442b55.bundle.js → 173.ff64a189cbdbbe1dd96d.bundle.js} +1 -1
  85. package/dist/{154.a008e16c56c63f25799f.bundle.js → 174.6ad666a27da6ab0b77ac.bundle.js} +1 -1
  86. package/dist/{155.49c4d893ed30c28e6302.bundle.js → 175.0914e983d8d96502e204.bundle.js} +1 -1
  87. package/dist/{156.9b98cd7f44f0ed2dd7cb.bundle.js → 176.962b33b52428b36072bd.bundle.js} +1 -1
  88. package/dist/{157.800a7154e719650d7925.bundle.js → 177.469270bdac920bff879c.bundle.js} +1 -1
  89. package/dist/178.b4a67f2d275aa4e7c7e6.bundle.js +1 -0
  90. package/dist/179.90b68b334b6faf134682.bundle.js +1 -0
  91. package/dist/{16.bdd4a67077a1dfa0aefc.bundle.js → 18.9b6042eb938bed7eb676.bundle.js} +1 -1
  92. package/dist/{158.5cb23287d8549b4c51ba.bundle.js → 180.63229bd4c96385b5e328.bundle.js} +1 -1
  93. package/dist/{159.f87835a57d2af1de4121.bundle.js → 181.2055f375b339e25cd8ce.bundle.js} +1 -1
  94. package/dist/{160.033025b2f36a7ef831d4.bundle.js → 182.5ad9217095176d8833ee.bundle.js} +1 -1
  95. package/dist/{161.476f62c4922a9d145220.bundle.js → 183.16dc05d0e4276155a8bb.bundle.js} +1 -1
  96. package/dist/{162.12011000dea3e7ebd49a.bundle.js → 184.6ca8a534a2bd9c8e1181.bundle.js} +1 -1
  97. package/dist/{163.b275d2dc30b13e3ccc59.bundle.js → 185.12a376642e6930274397.bundle.js} +1 -1
  98. package/dist/{164.9d468fabae7dd09d9f97.bundle.js → 186.0969b66c3a149529f828.bundle.js} +1 -1
  99. package/dist/{165.e2ecb64983939a96f129.bundle.js → 187.34becb6d27cbfd4b074d.bundle.js} +1 -1
  100. package/dist/{166.65286425804ad7dfe2e9.bundle.js → 188.0dd8a7f601f6d2ebc6a7.bundle.js} +1 -1
  101. package/dist/{167.c6c6cc46fcc2b8583175.bundle.js → 189.7b0a1c093716b939fd52.bundle.js} +1 -1
  102. package/dist/19.f1b9c74ef0c256da2eca.bundle.js +3 -0
  103. package/dist/{168.315ff506ef157f2dd68d.bundle.js → 190.ea276a38d182b5f1ee5d.bundle.js} +1 -1
  104. package/dist/{169.a8137f6bfee189645694.bundle.js → 191.bd22587f391925a001a4.bundle.js} +1 -1
  105. package/dist/{170.0eb13b2a619662203972.bundle.js → 192.d804999372c58f33681a.bundle.js} +1 -1
  106. package/dist/{171.689e5189a68b5d712f1d.bundle.js → 193.43049c97c19dbd1c41f0.bundle.js} +1 -1
  107. package/dist/{172.24bac3c88732b6bc72f9.bundle.js → 194.d7958e6927a6b08b0328.bundle.js} +1 -1
  108. package/dist/{173.c0b3e63eb4c2b828a1b6.bundle.js → 195.c3e3cc656951aa456f64.bundle.js} +1 -1
  109. package/dist/{174.d8e0820fa9a854ca9bcd.bundle.js → 196.fbea7e355a6df1f8aee0.bundle.js} +1 -1
  110. package/dist/{175.1b8efcb27b17dd75d62f.bundle.js → 197.9750357510c52edc3a12.bundle.js} +1 -1
  111. package/dist/{176.a782be4f5035dbcf47f3.bundle.js → 198.d25dbf25a09e68bed5a8.bundle.js} +1 -1
  112. package/dist/{177.4f0582fedc8fda87babb.bundle.js → 199.727623492df97b809e5f.bundle.js} +1 -1
  113. package/dist/2.5ecba6f91ee9aba0f72b.bundle.js +2 -0
  114. package/dist/20.4c4d231852e056d4c705.bundle.js +3 -0
  115. package/dist/200.92f1a086ea5aef9edf3b.bundle.js +1 -0
  116. package/dist/{179.fe1f4ff6cae23c056538.bundle.js → 201.462d8ff94af160e4e59a.bundle.js} +1 -1
  117. package/dist/{180.1182b4fec70a9597c7ec.bundle.js → 202.d24f184ca1d6c5ffa2e5.bundle.js} +1 -1
  118. package/dist/{181.badd2e06a003c34308fd.bundle.js → 203.16c8fa81cbed63945f95.bundle.js} +1 -1
  119. package/dist/{182.107bd28df28bef4c2909.bundle.js → 204.a0112c3e522d5805c8aa.bundle.js} +1 -1
  120. package/dist/205.d7c86c03230059559e3b.bundle.js +1 -0
  121. package/dist/{184.67a82fc3d401ed71e42d.bundle.js → 206.eb4b6574ecf62dd4ec2c.bundle.js} +1 -1
  122. package/dist/{185.66708cd7a879a4eae697.bundle.js → 207.af83fd1ffcdc9a322f6c.bundle.js} +1 -1
  123. package/dist/{186.108c237753ea448dc4d3.bundle.js → 208.6669833033e12d867018.bundle.js} +1 -1
  124. package/dist/{187.7f30c4e08e34208a39e0.bundle.js → 209.c92981001b844f410bfa.bundle.js} +1 -1
  125. package/dist/21.54344d162b6a34c9b801.bundle.js +1 -0
  126. package/dist/{188.532c781e1ef597c73e67.bundle.js → 210.e699f4cd7167f90ecc5c.bundle.js} +1 -1
  127. package/dist/{189.05e267b32af8242bbb08.bundle.js → 211.cb1c1240f7cd19ed77b3.bundle.js} +1 -1
  128. package/dist/{190.1d35ed6c3463117d673a.bundle.js → 212.7b202219bd0640d3507e.bundle.js} +1 -1
  129. package/dist/213.9cbbf239525e01e98b16.bundle.js +1 -0
  130. package/dist/214.ee6729fffbd79f1304e3.bundle.js +1 -0
  131. package/dist/{193.a1bdfd421997c6409184.bundle.js → 215.30a15a3516992764cfc8.bundle.js} +1 -1
  132. package/dist/{194.11dce90246b57ec587b7.bundle.js → 216.c95a7c28927c92f3b5c4.bundle.js} +1 -1
  133. package/dist/{195.bf6f340f6c26325f8a68.bundle.js → 217.6cc9c2234df3d452bbab.bundle.js} +1 -1
  134. package/dist/{196.49c3671b0ba069dc7ef1.bundle.js → 218.c9161fe2977a98ac4691.bundle.js} +1 -1
  135. package/dist/{197.d90b1f3a6fa0fa5c8e71.bundle.js → 219.3ffd3b41407c3e174fe6.bundle.js} +1 -1
  136. package/dist/22.d0b623eb0f96c9aa6b24.bundle.js +2 -0
  137. package/dist/220.021899f905b9ad3d6a2f.bundle.js +1 -0
  138. package/dist/{199.91ebfd371cf7bf6f5c4f.bundle.js → 221.ad9187e7128163257e6e.bundle.js} +1 -1
  139. package/dist/222.180b7745dd350d7e0e40.bundle.js +1 -0
  140. package/dist/{201.6b142495658006864d07.bundle.js → 223.b7e2302ce49d6efe51f1.bundle.js} +1 -1
  141. package/dist/{202.8edcdbed3861f93e2b9c.bundle.js → 224.bbb1ab875351949e8262.bundle.js} +1 -1
  142. package/dist/{203.3e57e9c58ea07a5c557b.bundle.js → 225.8a652415e4cd7b115ea1.bundle.js} +1 -1
  143. package/dist/{204.54e15792c8c1c60b49d6.bundle.js → 226.458321d164f5f42bba06.bundle.js} +1 -1
  144. package/dist/{205.a9ec4a6ed99007eade40.bundle.js → 227.978bb5223109ac854464.bundle.js} +1 -1
  145. package/dist/{206.b8ea895d33805498670e.bundle.js → 228.68ba7dd55d304641ff68.bundle.js} +1 -1
  146. package/dist/{208.e24574635d546598ed63.bundle.js → 229.cc86db36d4eed5ffc13d.bundle.js} +1 -1
  147. package/dist/23.65519943d430769ff624.bundle.js +1 -0
  148. package/dist/230.28deb650d81d3ce40fdc.bundle.js +1 -0
  149. package/dist/{210.0e1ac9a13cec02b2e00f.bundle.js → 231.1bd697a441224f2fccfe.bundle.js} +1 -1
  150. package/dist/{211.c66166dfc9bef130f11a.bundle.js → 232.9da2520175cf682c5ba9.bundle.js} +1 -1
  151. package/dist/233.d221cf4fc26c61fad24c.bundle.js +1 -0
  152. package/dist/234.f32797efb10ecea1afc8.bundle.js +1 -0
  153. package/dist/{214.f8a7783d8a401220f40b.bundle.js → 235.43d04e575269c106efe9.bundle.js} +1 -1
  154. package/dist/{215.4c7d4e26060bc4fa665e.bundle.js → 236.7198f0e3c4e0aba1b711.bundle.js} +1 -1
  155. package/dist/{216.d4576c9401e162281c05.bundle.js → 237.8182429a519c72f50b3e.bundle.js} +1 -1
  156. package/dist/{217.6153ee468e30b8b3f4f6.bundle.js → 238.e7da1693dc6480734527.bundle.js} +1 -1
  157. package/dist/{218.f4c5214b9f608a2835d8.bundle.js → 239.5a0e3e9d302c61c9dd2a.bundle.js} +1 -1
  158. package/dist/24.ce44938fc8e7e0dd20a8.bundle.js +1 -0
  159. package/dist/{219.42d2968dff17a1cb197e.bundle.js → 240.0b1616112ed290e78ab7.bundle.js} +1 -1
  160. package/dist/241.0d40fca2dbe1e4286b0a.bundle.js +1 -0
  161. package/dist/{221.8a9bb83e2ca80c71aa0f.bundle.js → 242.4b96aef3e71a70c1c5dc.bundle.js} +1 -1
  162. package/dist/243.d4b2847d8cb1af74a2ac.bundle.js +1 -0
  163. package/dist/244.38f4a20f1b3a17482909.bundle.js +1 -0
  164. package/dist/{224.30c6fb78c4913479a4fb.bundle.js → 245.f7d3853ef4b296d49ac2.bundle.js} +1 -1
  165. package/dist/246.69bb254202ff33946ba4.bundle.js +1 -0
  166. package/dist/247.5b2fe2937e878cd03e99.bundle.js +1 -0
  167. package/dist/248.1c51c8776dafd2938c2f.bundle.js +1 -0
  168. package/dist/249.708995171b1ef0a960f8.bundle.js +1 -0
  169. package/dist/{22.ca2ee125533414af6b44.bundle.js → 25.dc83aef89e5a2d728c9a.bundle.js} +1 -1
  170. package/dist/{227.987d372a187ed7979252.bundle.js → 250.1e06d075be2d6fab28da.bundle.js} +1 -1
  171. package/dist/{228.d4601448c9799d1c6538.bundle.js → 251.bf23de4a477a3d6ff964.bundle.js} +1 -1
  172. package/dist/{229.61c97977e7032772ecb4.bundle.js → 252.dbcb6f45c195255004e5.bundle.js} +1 -1
  173. package/dist/{230.cb819039e67a93a34541.bundle.js → 253.be100e16651d601f687f.bundle.js} +1 -1
  174. package/dist/{231.f60b94ce332af52008aa.bundle.js → 254.fb1530fc3e147cacad71.bundle.js} +1 -1
  175. package/dist/{232.1d6fb6e62d8fc62ea10a.bundle.js → 255.30a3e052d8e9e7982063.bundle.js} +1 -1
  176. package/dist/{233.dbe5dc7cf2503ca5c591.bundle.js → 256.91ebaee133283c39881d.bundle.js} +1 -1
  177. package/dist/{234.50f38ed9c15d7485e98e.bundle.js → 257.3e570aa4e758fac2b2f0.bundle.js} +1 -1
  178. package/dist/{235.36eea53474e198ed9f8e.bundle.js → 258.39e96f0c5de71c54e796.bundle.js} +1 -1
  179. package/dist/{236.d0119bc798c924cfae70.bundle.js → 259.f5b9d6459c55aff64dcd.bundle.js} +1 -1
  180. package/dist/26.810adeabe76dd0774dcd.bundle.js +1 -0
  181. package/dist/{237.d115baad2682f050b642.bundle.js → 260.593a7610b3df4ae713c9.bundle.js} +1 -1
  182. package/dist/{238.98486ccd2b7ee258fcc4.bundle.js → 261.48c648ab8355d092fe8f.bundle.js} +1 -1
  183. package/dist/{239.8c68b3f9d15a13a5da0b.bundle.js → 262.65c73cb5d0fbefe0baf4.bundle.js} +1 -1
  184. package/dist/263.74a323fb27a3b00879e9.bundle.js +1 -0
  185. package/dist/{241.a90f93cdf6b718f8ccf9.bundle.js → 264.f6d6d64d76e3dfe04fa1.bundle.js} +1 -1
  186. package/dist/{242.3a73c867bf57d3fbb810.bundle.js → 265.2ea8090292a86db73bed.bundle.js} +1 -1
  187. package/dist/{243.1973d7431d7a17936443.bundle.js → 266.9465da3286b0b5e059b2.bundle.js} +1 -1
  188. package/dist/{244.8444f98a8ec24b7c37e2.bundle.js → 267.c0c12cb49bc1e89c7b94.bundle.js} +1 -1
  189. package/dist/{245.9636cf7f6606068cb3a6.bundle.js → 268.b56d0649d9e78844c830.bundle.js} +1 -1
  190. package/dist/{246.9f9f0bf8d23dc6f1662c.bundle.js → 269.a00401c177fd14ae0c1f.bundle.js} +1 -1
  191. package/dist/{24.79bd905f69d00f38ce5a.bundle.js → 27.b41b821eff22e1910c8e.bundle.js} +1 -1
  192. package/dist/{247.4955851755c875c53533.bundle.js → 270.785670697c0455ac4b52.bundle.js} +1 -1
  193. package/dist/{248.ada296e9a8a5456816fa.bundle.js → 271.8581a9231b36d0f97e00.bundle.js} +1 -1
  194. package/dist/{249.92cb46db35d013e374e4.bundle.js → 272.9241175b9f6526de0f2a.bundle.js} +1 -1
  195. package/dist/{250.551ab6039ac308b37046.bundle.js → 273.395881adba4e9ec1c60f.bundle.js} +1 -1
  196. package/dist/{251.c50beffac4a15fcd6cc4.bundle.js → 274.660cbfc53dfbe8e406af.bundle.js} +1 -1
  197. package/dist/{252.9c49ec3e8e6216666f72.bundle.js → 275.dcef80da1502f7da8c09.bundle.js} +1 -1
  198. package/dist/{253.cacce88991f3565ccbc5.bundle.js → 276.48625189c1286a05fd4c.bundle.js} +1 -1
  199. package/dist/{254.6f2f418d35f273d36d46.bundle.js → 277.9c19fa229933c6222b17.bundle.js} +1 -1
  200. package/dist/278.384136e3d0926f51464c.bundle.js +1 -0
  201. package/dist/{256.5299aff146bff9106694.bundle.js → 279.6745fa845fbfa74e75bb.bundle.js} +1 -1
  202. package/dist/28.2a5850ca91ebaccf5ed6.bundle.js +1 -0
  203. package/dist/{257.edeb2160403986002b6a.bundle.js → 280.443811921e18f3043058.bundle.js} +1 -1
  204. package/dist/{258.5e948ed7fb4ad5b044b9.bundle.js → 281.d28c664e6a570fc84f12.bundle.js} +1 -1
  205. package/dist/{259.ee3a351a443f650ce82e.bundle.js → 282.bb843b144879c7953fae.bundle.js} +1 -1
  206. package/dist/{260.0ef916c69b120f308964.bundle.js → 283.e118d0da0229e1ff6279.bundle.js} +1 -1
  207. package/dist/{261.225137d2ad99664d6161.bundle.js → 284.b354586b137e9d897700.bundle.js} +1 -1
  208. package/dist/285.eb0437c8ef1eb29f15a2.bundle.js +1 -0
  209. package/dist/{263.ca7df4aba7e4f945ad36.bundle.js → 286.da86b665251df217c00a.bundle.js} +1 -1
  210. package/dist/{264.a03e17d70d78681e1891.bundle.js → 287.e06fcbe992886459fc4a.bundle.js} +1 -1
  211. package/dist/{265.74666bb6329431145ee6.bundle.js → 288.7b8342ef2f06c297efa8.bundle.js} +1 -1
  212. package/dist/{266.c313c81618050f779d0a.bundle.js → 289.58a7e6ee8c3e123dc429.bundle.js} +1 -1
  213. package/dist/{25.600e8bbf7fc20af9e673.bundle.js → 29.9f64f22c46c7b02a0ec8.bundle.js} +1 -1
  214. package/dist/{267.1615e2999c584ba47a3f.bundle.js → 290.146ba3fdfbe710791cba.bundle.js} +1 -1
  215. package/dist/291.453ba8701e97d5e0e9f2.bundle.js +1 -0
  216. package/dist/292.3ccfe3e09f4f60976994.bundle.js +1 -0
  217. package/dist/293.24d7d7b5ee0dc6abf357.bundle.js +1 -0
  218. package/dist/294.2cce50bef12473652329.bundle.js +1 -0
  219. package/dist/295.d73226da95f8b1c5729c.bundle.js +1 -0
  220. package/dist/296.547cf6617c31df5cc90e.bundle.js +1 -0
  221. package/dist/{268.4537af5084595364571e.bundle.js → 297.667086f08d35fbf48395.bundle.js} +1 -1
  222. package/dist/298.dba77c4207a920d56f6b.bundle.js +1 -0
  223. package/dist/{270.1d56637b5e881e9d574c.bundle.js → 299.2e9e96c44921369b1b19.bundle.js} +1 -1
  224. package/dist/{3.1fa42f37ad5bd0e5ccfa.bundle.js → 3.6333d6a0418e5320bf56.bundle.js} +1 -1
  225. package/dist/{26.a46725dccee91696a0ba.bundle.js → 30.75b398d38eabe765da4e.bundle.js} +1 -1
  226. package/dist/{271.db31c78b09a0419559e1.bundle.js → 300.e1c2fa76ba52143d0321.bundle.js} +1 -1
  227. package/dist/{272.7046c61a75b544baf99b.bundle.js → 301.95db4a50bfc24f68ac2e.bundle.js} +1 -1
  228. package/dist/302.b20c8d1e643b2fdc4564.bundle.js +1 -0
  229. package/dist/{274.12bae4619afa0b2e4562.bundle.js → 303.c822e7199ecac39adcfb.bundle.js} +1 -1
  230. package/dist/304.28ee878b3769022514fe.bundle.js +1 -0
  231. package/dist/{275.b813e0c8f34990596f78.bundle.js → 305.2eeb37b548e027712722.bundle.js} +1 -1
  232. package/dist/31.6e0bf46006dfb4b7338c.bundle.js +1 -0
  233. package/dist/{281.4fe27fcd007ff2ead4db.bundle.js → 311.2b9993e11f4cef6911a5.bundle.js} +1 -1
  234. package/dist/{282.e5f5ef3b1fb929634ba9.bundle.js → 312.a511ecbbbcfe8341e517.bundle.js} +1 -1
  235. package/dist/{283.1704806f1c3bda8bb708.bundle.js → 313.ecb3eb64bb8dc315e292.bundle.js} +1 -1
  236. package/dist/{284.fd607e6497c2eb2331cd.bundle.js → 314.a4ad30cde3d6dff34628.bundle.js} +1 -1
  237. package/dist/{285.818720039f4ecc77b3e7.bundle.js → 315.1f1cf5c188d94b8d4e14.bundle.js} +1 -1
  238. package/dist/{286.fd8efdecce8cbe19c230.bundle.js → 316.2f4496d2edbc7fc747b7.bundle.js} +1 -1
  239. package/dist/{290.abc3688c658e9720c2b9.bundle.js → 317.209dc16df0afb578e39e.bundle.js} +1 -1
  240. package/dist/{291.2f19d0eb3d7fb55c9ac4.bundle.js → 318.e6ddb4a1c9843e7771f1.bundle.js} +1 -1
  241. package/dist/{292.9a208c01122fe17410b9.bundle.js → 319.a27170539b52cb9dab92.bundle.js} +1 -1
  242. package/dist/32.60795cfcb9c447399fc2.bundle.js +1 -0
  243. package/dist/{293.360da392346e3f8076ff.bundle.js → 320.dfb7824d64eb50a53144.bundle.js} +1 -1
  244. package/dist/{294.1e0134fafd669378ec10.bundle.js → 321.a0c97ce6d54400967ab1.bundle.js} +1 -1
  245. package/dist/{295.9b2955a638a6336dc6e5.bundle.js → 322.25cddf396e5160617a9a.bundle.js} +1 -1
  246. package/dist/{296.c688f2b1a4361ca938df.bundle.js → 323.5484fbc2febd83f8d00e.bundle.js} +1 -1
  247. package/dist/{297.10723db0cfa2ca3d7e9d.bundle.js → 324.521f021f636c10821162.bundle.js} +1 -1
  248. package/dist/{298.2df50a85d79650a27a56.bundle.js → 325.08b69bd9b1a34cc35d67.bundle.js} +1 -1
  249. package/dist/326.8a369e8cb3db85e5fd21.bundle.js +1 -0
  250. package/dist/327.9a1305561b9ee871f677.bundle.js +1 -0
  251. package/dist/{300.0cfb3d0b14a74af64e82.bundle.js → 328.0e4ebf7e474a23cf0aa8.bundle.js} +1 -1
  252. package/dist/329.95f8d46ef472c45724ef.bundle.js +1 -0
  253. package/dist/33.d19f2c40b3b42b314591.bundle.js +1 -0
  254. package/dist/330.b557e07136977ad81a04.bundle.js +1 -0
  255. package/dist/331.70b775db910815aec7d5.bundle.js +1 -0
  256. package/dist/{304.3d83f1dfe533dec88e6c.bundle.js → 332.6174c9a0244faea483d8.bundle.js} +1 -1
  257. package/dist/{305.14891e5939f97cb751ca.bundle.js → 333.c46d92559385a3ec4ea7.bundle.js} +1 -1
  258. package/dist/{306.20f724177de07f5c890d.bundle.js → 334.54392f7f0e16887b2f41.bundle.js} +1 -1
  259. package/dist/{307.46fbff297c0287265fd9.bundle.js → 335.bdec765f2598123058be.bundle.js} +1 -1
  260. package/dist/{308.88f7a0db8be6837e00fa.bundle.js → 336.4af91442c99d4ec1a557.bundle.js} +1 -1
  261. package/dist/{309.7b83f6b5a705afff9eab.bundle.js → 337.9b0aefa9e9997e8bb366.bundle.js} +1 -1
  262. package/dist/{310.dca6c1bfeb9264e0ab4f.bundle.js → 338.6ea16c3d7f81ea4d3d58.bundle.js} +1 -1
  263. package/dist/{311.56cb5e0f1b1dc8b3725e.bundle.js → 339.9059878c18fa2c749de8.bundle.js} +1 -1
  264. package/dist/34.cd22a42400934b4cdf87.bundle.js +1 -0
  265. package/dist/{312.3b54b95368a118302e20.bundle.js → 340.13712037d8e707ae11ef.bundle.js} +1 -1
  266. package/dist/{313.1ce22bfc57424ad1d2fb.bundle.js → 341.50bccf91ec47cd6b9470.bundle.js} +1 -1
  267. package/dist/{314.926516bd7e90c67373a3.bundle.js → 342.84abf16d1ae0f3fa58e3.bundle.js} +1 -1
  268. package/dist/{315.92036aca75b6a9dad60a.bundle.js → 343.8f3430d930b608c20751.bundle.js} +1 -1
  269. package/dist/{316.765d133afe5fb97fdd40.bundle.js → 344.9387f3ddd773381699bb.bundle.js} +1 -1
  270. package/dist/{317.c744f8f1f21fdafc0b78.bundle.js → 345.129967192316e48437d4.bundle.js} +1 -1
  271. package/dist/{318.390af989d3ef5f42577d.bundle.js → 346.26d147e0f77ff069acbd.bundle.js} +1 -1
  272. package/dist/{319.a625c9ecab007095f599.bundle.js → 347.3ee25a23ffcb21051539.bundle.js} +1 -1
  273. package/dist/{320.3889f0a6f5aff873ab7c.bundle.js → 348.32f9dbf6dd88ef9ef2fa.bundle.js} +1 -1
  274. package/dist/{321.e0e2ccb2b30c9a5484a6.bundle.js → 349.6b417c71a22af055359f.bundle.js} +1 -1
  275. package/dist/{31.fb4f5161b4a6772d5070.bundle.js → 35.cfb69109b2c7ebc2d1ef.bundle.js} +1 -1
  276. package/dist/{322.1fe729e77c7a2a33fdcc.bundle.js → 350.0cb56b29da5fdb977c3d.bundle.js} +1 -1
  277. package/dist/{323.bcf838c211c993cb08a7.bundle.js → 351.45e2fa352cb26a0826c4.bundle.js} +1 -1
  278. package/dist/{324.dc37822abaa94de31d80.bundle.js → 352.b8833055f446b4432a51.bundle.js} +1 -1
  279. package/dist/{325.8d68453857cbd562cd09.bundle.js → 353.35379a499cac3a62bc55.bundle.js} +1 -1
  280. package/dist/{326.923de7c364b841c430ee.bundle.js → 354.0481230d0681abc066ea.bundle.js} +1 -1
  281. package/dist/{327.31295ecc092f78340f0b.bundle.js → 355.c1251d26aa986c6b579d.bundle.js} +1 -1
  282. package/dist/{328.80c4d1297a758ae32c30.bundle.js → 356.03c285ab5bdf2bd3e12d.bundle.js} +1 -1
  283. package/dist/357.8685dd981d95da81248a.bundle.js +1 -0
  284. package/dist/{329.90bdbda895cddb141603.bundle.js → 358.86b09694d2d0700f75ed.bundle.js} +1 -1
  285. package/dist/{330.7b52a9acca29f3b211f5.bundle.js → 359.fac3bcab66e2baa83202.bundle.js} +1 -1
  286. package/dist/{32.d8891b8f8b38d373d766.bundle.js → 36.a7b1ed685913595d40e9.bundle.js} +1 -1
  287. package/dist/{331.9f8f417788cceb622475.bundle.js → 360.f21e8815aea4c61d4de1.bundle.js} +1 -1
  288. package/dist/361.48dd1b79917eaa9b7e6a.bundle.js +1 -0
  289. package/dist/{333.e85fbde479e1736f7367.bundle.js → 362.23ea58a6d71ace84a1a6.bundle.js} +1 -1
  290. package/dist/{334.59a725f3379fb526e9ad.bundle.js → 363.d035bde2a6e524abebbb.bundle.js} +1 -1
  291. package/dist/{335.de41e90d68f183fbd569.bundle.js → 364.ca825d61b795d834659a.bundle.js} +1 -1
  292. package/dist/{336.890188e781f2276309c9.bundle.js → 365.d6f8aadf1c0a634b8461.bundle.js} +1 -1
  293. package/dist/{337.8fb07ae44f3b18843fd9.bundle.js → 366.86e8279bfe0cf51b6511.bundle.js} +1 -1
  294. package/dist/{338.4a5b533a9fb5a3448eb8.bundle.js → 367.044c0183e4b99a0b6345.bundle.js} +1 -1
  295. package/dist/{339.b966848214f586787e34.bundle.js → 368.9f4b02a874a9456d77ed.bundle.js} +1 -1
  296. package/dist/{340.043aff0dbbc4295504c2.bundle.js → 369.ab4263bb42d3f317264b.bundle.js} +1 -1
  297. package/dist/{33.2f0f674804db0b6e1285.bundle.js → 37.7a0d6e8f543f2ab93d6d.bundle.js} +1 -1
  298. package/dist/{341.e3398d4ba3bdd8411fd6.bundle.js → 370.74ea79a0e3815a78e966.bundle.js} +1 -1
  299. package/dist/{342.100cf6659f33171fe28a.bundle.js → 371.ae1a62cc1a69115e3f8f.bundle.js} +1 -1
  300. package/dist/372.5e3859739cd36c6ffd8a.bundle.js +1 -0
  301. package/dist/373.6e2258b5ab6ced0f532d.bundle.js +1 -0
  302. package/dist/374.9e21d915726536564967.bundle.js +1 -0
  303. package/dist/375.fd66d9e99c21bb8621a7.bundle.js +1 -0
  304. package/dist/{287.aa9e8e2b092c60c7669c.bundle.js → 376.5e3632f2491cea9e0c8f.bundle.js} +1 -1
  305. package/dist/{288.f627ffd85def2677d419.bundle.js → 377.ef5f3c3684072649f0d0.bundle.js} +1 -1
  306. package/dist/378.3bd7c408c54fcd423c10.bundle.js +1 -0
  307. package/dist/{289.ac33b97442c69a26dbc3.bundle.js → 379.6703214bd0a62d6bba1b.bundle.js} +1 -1
  308. package/dist/38.f53ead5a867b583684cc.bundle.js +1 -0
  309. package/dist/380.a1095e01a9df1355fd0a.bundle.js +1 -0
  310. package/dist/381.104beacb095b894100a3.bundle.js +1 -0
  311. package/dist/382.78ab349878afa6f19d97.bundle.js +1 -0
  312. package/dist/383.fd4a62cce2cb093fdb90.bundle.js +1 -0
  313. package/dist/{345.617ee68d74a419aa638d.bundle.js → 384.4e40e9fcefcecfc9ed70.bundle.js} +1 -1
  314. package/dist/{346.33b06b8194844c6ac70c.bundle.js → 385.6ed894fe60872f194c7a.bundle.js} +1 -1
  315. package/dist/{347.c22b11b9399a806611f7.bundle.js → 386.f6e72f5f0006f45ca17a.bundle.js} +1 -1
  316. package/dist/{348.b1f95e9668604c9f1537.bundle.js → 387.07a6d582350bf2ffff56.bundle.js} +1 -1
  317. package/dist/39.b424e4c3cad0e7af5ac6.bundle.js +1 -0
  318. package/dist/4.a6011f0d50143709767a.bundle.js +1 -0
  319. package/dist/{35.822c7f9fb748934a4408.bundle.js → 40.6479ea8c327190f89451.bundle.js} +1 -1
  320. package/dist/41.4d964baeed672c11337a.bundle.js +1 -0
  321. package/dist/{36.fd1ab27926210be8ab74.bundle.js → 42.c8adf98ad0104887b4ec.bundle.js} +1 -1
  322. package/dist/43.f49aac05f6879c3dac89.bundle.js +1 -0
  323. package/dist/{37.a13e60850a9a07c446dc.bundle.js → 44.4322dcdd5bf0de55e04e.bundle.js} +2 -2
  324. package/dist/45.c7588a46eb35e1030511.bundle.js +1 -0
  325. package/dist/46.a61ad257a02ee69f07de.bundle.js +1 -0
  326. package/dist/{39.a871b7027a2a298b4299.bundle.js → 47.0d580dbe9ed87bce496c.bundle.js} +1 -1
  327. package/dist/{40.2209efb6cf9a445aaf72.bundle.js → 48.fb09364abedeac430971.bundle.js} +1 -1
  328. package/dist/{41.2c9a2d3442452650eb05.bundle.js → 49.d23a9330be7f04d859de.bundle.js} +1 -1
  329. package/dist/5.d34980533e122f4791f4.bundle.js +1 -0
  330. package/dist/50.ec14ac614772913e0be0.bundle.js +1 -0
  331. package/dist/{43.f3516933e9fc7c240588.bundle.js → 51.8689b92a13bd2b2a3074.bundle.js} +1 -1
  332. package/dist/{44.ae510f5df386fbbebef2.bundle.js → 52.a38b6e76a6402b2e5b78.bundle.js} +1 -1
  333. package/dist/{45.d91d7edbc37142f4f78e.bundle.js → 53.3d653040b7defd01415f.bundle.js} +1 -1
  334. package/dist/54.9b232eafefbda85cc4bd.bundle.js +1 -0
  335. package/dist/55.8ada9bc7e9011b6e7c21.bundle.js +1 -0
  336. package/dist/{47.73df3897064e52f7e349.bundle.js → 56.302766c61395b663e4c3.bundle.js} +2 -2
  337. package/dist/{48.3c991adc332749c3acdd.bundle.js → 57.0d4caf8a82a7ff1f1dca.bundle.js} +1 -1
  338. package/dist/{49.8889b00d2203095c3a93.bundle.js → 58.c4cb8de207c705cee7a1.bundle.js} +1 -1
  339. package/dist/{50.367ae07d769401becd85.bundle.js → 59.821da70e952924981e80.bundle.js} +1 -1
  340. package/dist/6.c639b6efdd4f0ac3d584.bundle.js +1 -0
  341. package/dist/60.8deab4881eaf63bcd6a4.bundle.js +1 -0
  342. package/dist/61.7736faf8cd8733139f11.bundle.js +1 -0
  343. package/dist/{52.d0576a9b8e77887a0256.bundle.js → 62.518759d544e052fd9256.bundle.js} +1 -1
  344. package/dist/{53.755b81d1c2a1a4996ead.bundle.js → 63.31bff84c37ea1de0acef.bundle.js} +1 -1
  345. package/dist/64.3bac8674c52226912630.bundle.js +1 -0
  346. package/dist/65.a36fbde317ab57cce415.bundle.js +1 -0
  347. package/dist/66.8f8126d5175f62c3face.bundle.js +1 -0
  348. package/dist/{56.c7c46100fbdfa25645de.bundle.js → 67.2f9547fd1b14efa12158.bundle.js} +1 -1
  349. package/dist/68.55c008fb3a0efa470906.bundle.js +1 -0
  350. package/dist/69.44cd46e87a6df00420b5.bundle.js +1 -0
  351. package/dist/7.83006fb76d213f065ce3.bundle.js +1 -0
  352. package/dist/70.70bb2af41d1cec8e2fa0.bundle.js +1 -0
  353. package/dist/71.c8ee9a76c64455ab9c8f.bundle.js +1 -0
  354. package/dist/{58.69b21edd46a707e2b7a4.bundle.js → 72.b97671744c9618e13a10.bundle.js} +1 -1
  355. package/dist/73.96f11c5b82fd5a7fd278.bundle.js +1 -0
  356. package/dist/74.e9db7f3271c826c88a78.bundle.js +1 -0
  357. package/dist/{61.98a3ef4ed5c339daddb8.bundle.js → 75.c25619a16d098a2721be.bundle.js} +1 -1
  358. package/dist/76.14ae4b937c879f457b25.bundle.js +1 -0
  359. package/dist/{64.6a6aa6434a66542efffa.bundle.js → 77.463f82a88b3c6e954c01.bundle.js} +1 -1
  360. package/dist/{65.6941c78bf1dc89a30b9f.bundle.js → 78.1fa69d08bd50f06f636a.bundle.js} +1 -1
  361. package/dist/{66.b0e1523c5ffaef2e7332.bundle.js → 79.d5735446205c02c627cb.bundle.js} +1 -1
  362. package/dist/{6.6cb08e9e9ad072cbfc81.bundle.js → 8.b2bab85e9d32868938e8.bundle.js} +1 -1
  363. package/dist/{67.2e0c784b7da674617bbb.bundle.js → 80.9c57ff6117953efd9e90.bundle.js} +1 -1
  364. package/dist/81.6abcbb0a4f0c5371da19.bundle.js +1 -0
  365. package/dist/82.3a7ddfc6c1efaf493f3f.bundle.js +1 -0
  366. package/dist/{70.829438eff9c2658951c2.bundle.js → 83.f9c096421bb5c0b29ba9.bundle.js} +1 -1
  367. package/dist/{71.e62a381e89828b1c6313.bundle.js → 84.514756b3a32bb6873cc1.bundle.js} +1 -1
  368. package/dist/85.70d008d869c71199d1e9.bundle.js +1 -0
  369. package/dist/86.08b4429bf0ec0b5dcde0.bundle.js +1 -0
  370. package/dist/{73.9db238b1b899b65fd024.bundle.js → 87.1b3837e239bd74b553ee.bundle.js} +1 -1
  371. package/dist/{74.79caa682c1fb91f0cba7.bundle.js → 88.49ed0628c81926c98925.bundle.js} +1 -1
  372. package/dist/{75.198f1c728a9dc99932dc.bundle.js → 89.6355fb17f7c9088bd61d.bundle.js} +1 -1
  373. package/dist/9.c92dd64e96b478a92d2e.bundle.js +1 -0
  374. package/dist/90.c0be68f3cc4c02f18818.bundle.js +1 -0
  375. package/dist/91.8a23e41280e7b69dba09.bundle.js +1 -0
  376. package/dist/{77.e510a937a762eecefd8e.bundle.js → 92.6c45ec02f991fb9e0343.bundle.js} +1 -1
  377. package/dist/{78.6f4f90c087c54d245a1f.bundle.js → 93.d7428790221f27764822.bundle.js} +1 -1
  378. package/dist/{79.f3efb595666ebe8f0914.bundle.js → 94.f353e48cd582c9a3eeea.bundle.js} +1 -1
  379. package/dist/95.2b1230102fa575c74b94.bundle.js +1 -0
  380. package/dist/96.701d4c87469fd1ae6073.bundle.js +1 -0
  381. package/dist/97.bac15331c44cf11b7d7c.bundle.js +1 -0
  382. package/dist/98.9ce0dc28adca0979eac7.bundle.js +1 -0
  383. package/dist/{81.c8d004888156470c3aad.bundle.js → 99.e7ceaa6c9c8bd7672878.bundle.js} +1 -1
  384. package/dist/{bundle.b2cc5d5363ad5d9e12ec.bundle.js → bundle.3cbc347e3527f274db18.bundle.js} +16 -16
  385. package/dist/css/dependencies.css +5 -4
  386. package/dist/css/import.css +4 -0
  387. package/dist/css/repositories.css +1 -1
  388. package/dist/css/ttyg/agent-list.css +101 -0
  389. package/dist/css/ttyg/agent-select-menu.css +42 -0
  390. package/dist/css/ttyg/agent-settings-modal.css +71 -0
  391. package/dist/css/ttyg/chat-list.css +76 -0
  392. package/dist/css/ttyg/chat-panel.css +86 -0
  393. package/dist/css/ttyg/no-agents-view.css +19 -0
  394. package/dist/css/ttyg/ttyg.css +133 -0
  395. package/dist/i18n/locale-en.json +280 -21
  396. package/dist/i18n/locale-fr.json +277 -21
  397. package/dist/index.html +3 -3
  398. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  399. package/dist/js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html +14 -0
  400. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  401. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  402. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  403. package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +112 -0
  404. package/dist/js/angular/security/templates/user.html +1 -1
  405. package/dist/js/angular/ttyg/templates/agent-list.html +72 -0
  406. package/dist/js/angular/ttyg/templates/agent-select-menu.html +34 -0
  407. package/dist/js/angular/ttyg/templates/chat-list.html +47 -0
  408. package/dist/js/angular/ttyg/templates/chat-panel.html +48 -0
  409. package/dist/js/angular/{chatgpt/templates/chat.html → ttyg/templates/chat1.html} +1 -1
  410. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +335 -0
  411. package/dist/js/angular/ttyg/templates/no-agents-view.html +15 -0
  412. package/dist/js/angular/ttyg/templates/ttyg.html +144 -0
  413. package/dist/license-checker.json +25 -2
  414. package/dist/{main.d87062391e6bd2af135a.bundle.js → main.3c684afa9035e26698d0.bundle.js} +1 -1
  415. package/dist/pages/aclmanagement.html +2 -2
  416. package/dist/pages/autocomplete.html +1 -1
  417. package/dist/pages/choose-repository-type.html +1 -1
  418. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  419. package/dist/pages/create-index.html +1 -1
  420. package/dist/pages/dependencies.html +9 -5
  421. package/dist/pages/domainRangeInfo.html +2 -2
  422. package/dist/pages/edit.html +1 -1
  423. package/dist/pages/explore.html +1 -1
  424. package/dist/pages/export.html +1 -1
  425. package/dist/pages/find.html +1 -1
  426. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  427. package/dist/pages/graphs-visualizations.html +7 -7
  428. package/dist/pages/guides.html +1 -1
  429. package/dist/pages/import.html +2 -2
  430. package/dist/pages/jdbc-create.html +1 -1
  431. package/dist/pages/monitor/backup-and-restore.html +1 -1
  432. package/dist/pages/monitor/queries.html +1 -1
  433. package/dist/pages/monitor/resources.html +1 -1
  434. package/dist/pages/namespaces.html +2 -2
  435. package/dist/pages/plugins.html +1 -1
  436. package/dist/pages/rdfClassHierarchyInfo.html +9 -8
  437. package/dist/pages/rdfrank.html +2 -2
  438. package/dist/pages/repositories.html +181 -5
  439. package/dist/pages/repository.html +1 -1
  440. package/dist/pages/similarity-indexes.html +1 -1
  441. package/dist/pages/sparql-editor.html +1 -1
  442. package/dist/pages/sparql-template-create.html +1 -1
  443. package/dist/pages/ux-test1.html +2 -2
  444. package/dist/pages/webapi.html +2 -2
  445. package/dist/plugins.js +34 -34
  446. package/dist/{polyfills-dom.ca5eb32124bc19968252.bundle.js → polyfills-dom.2e911e88416db513165d.bundle.js} +1 -1
  447. package/dist/res/swagger5/fonts/custom-icons.woff2 +0 -0
  448. package/dist/res/swagger5/fonts/fa-regular-400.woff2 +0 -0
  449. package/dist/res/swagger5/index.html +12 -12
  450. package/dist/{vendor.d77483a768aebf5b9e51.bundle.js → vendor.c8de9e8334756c4117a7.bundle.js} +4 -4
  451. package/dist/{vendors~polyfills-core-js.3624d97a659a8b5960c6.bundle.js → vendors~polyfills-core-js.b457b41cf3ac34b0e840.bundle.js} +1 -1
  452. package/package.json +2 -1
  453. package/dist/10.cde4715aee111520ab10.bundle.js +0 -1
  454. package/dist/101.67724d1c5eab0229cbe8.bundle.js +0 -1
  455. package/dist/102.73ff72236ce70b195ca5.bundle.js +0 -1
  456. package/dist/11.d6074d5e8b21f93140ef.bundle.js +0 -2
  457. package/dist/110.dd2f5b0811c880673b1c.bundle.js +0 -1
  458. package/dist/123.e47b9543e88b7a66d926.bundle.js +0 -1
  459. package/dist/14.443c28ad7cefb54afbc3.bundle.js +0 -1
  460. package/dist/148.254a642917f6b6c15d61.bundle.js +0 -1
  461. package/dist/15.6cdd681f18f8cccb36e3.bundle.js +0 -1
  462. package/dist/17.0b74a9a8282301a807bb.bundle.js +0 -3
  463. package/dist/178.0957348875d0effa1ef9.bundle.js +0 -1
  464. package/dist/18.5ec8d8bedc5900dd9987.bundle.js +0 -3
  465. package/dist/183.d0783efdda9357f3fecf.bundle.js +0 -1
  466. package/dist/19.8c07889227bc39cae000.bundle.js +0 -2
  467. package/dist/191.4a27829ca9f82917c075.bundle.js +0 -1
  468. package/dist/192.18b48442299e101c94bb.bundle.js +0 -1
  469. package/dist/198.bc0d8a5bcd304f288f29.bundle.js +0 -1
  470. package/dist/2.f1a215f762fbc9060ff8.bundle.js +0 -2
  471. package/dist/20.b7b67f324565878b78fb.bundle.js +0 -1
  472. package/dist/200.d51dae4d7a098dbdf4fe.bundle.js +0 -1
  473. package/dist/207.a7009c479f89c28c2b35.bundle.js +0 -1
  474. package/dist/209.4b9ac5e926fe1fde0941.bundle.js +0 -1
  475. package/dist/21.f3e03a35598e574d1088.bundle.js +0 -1
  476. package/dist/212.578f5adf8b5c02e176a9.bundle.js +0 -1
  477. package/dist/213.bf39c553daaec0e3a17d.bundle.js +0 -1
  478. package/dist/220.b5a3c109cb5ae12138e7.bundle.js +0 -1
  479. package/dist/222.a98f48c0726553a3e27f.bundle.js +0 -1
  480. package/dist/223.172b2476d760a0afb627.bundle.js +0 -1
  481. package/dist/225.e4b402662c5f8ecdd969.bundle.js +0 -1
  482. package/dist/226.d41bd3bd54d68a488d00.bundle.js +0 -1
  483. package/dist/23.352eec217c0d24b98b14.bundle.js +0 -1
  484. package/dist/240.bd7eafce1c66bf1c7882.bundle.js +0 -1
  485. package/dist/255.440b872b6108a6ccdbca.bundle.js +0 -1
  486. package/dist/262.c9a141390f2ea8b03a0f.bundle.js +0 -1
  487. package/dist/269.34add7a24cff1727163f.bundle.js +0 -1
  488. package/dist/27.6f188fed594aabd1b602.bundle.js +0 -1
  489. package/dist/273.d931a545293c81cc8502.bundle.js +0 -1
  490. package/dist/28.c11269f1bfdea632cc8c.bundle.js +0 -1
  491. package/dist/29.9e82fddb3191a1d492ef.bundle.js +0 -1
  492. package/dist/299.6bc38539ac3a1f688515.bundle.js +0 -1
  493. package/dist/30.5e637735aba63bdf1dde.bundle.js +0 -1
  494. package/dist/301.311927a5091e698dcfed.bundle.js +0 -1
  495. package/dist/302.07e63f56f579a56c5ea0.bundle.js +0 -1
  496. package/dist/303.0cc447af82c7337dc639.bundle.js +0 -1
  497. package/dist/332.218235e77c873ac2a107.bundle.js +0 -1
  498. package/dist/34.3664a756f3a6545525cb.bundle.js +0 -1
  499. package/dist/343.36326f594b059044bead.bundle.js +0 -1
  500. package/dist/344.bb213971ae0911fc62a2.bundle.js +0 -1
  501. package/dist/38.f722999a96d03d283e5d.bundle.js +0 -1
  502. package/dist/4.f801e3f2505057b5fe87.bundle.js +0 -1
  503. package/dist/42.c1055d3f77e831a0feee.bundle.js +0 -1
  504. package/dist/46.7ad1a08290f31fd43400.bundle.js +0 -1
  505. package/dist/5.4dc4c9e2cc7f47eebc6d.bundle.js +0 -1
  506. package/dist/51.5f93e26d33e6f8276243.bundle.js +0 -1
  507. package/dist/54.d121d14b8519ccfbcb89.bundle.js +0 -1
  508. package/dist/55.03e7d8a381e4675c44d1.bundle.js +0 -1
  509. package/dist/57.4af71143d20ef8319653.bundle.js +0 -1
  510. package/dist/59.cd0020e8e69a551f3ce7.bundle.js +0 -1
  511. package/dist/60.c1d4a6e7b7db06eb5cf0.bundle.js +0 -1
  512. package/dist/62.d8e356c03ac8411adbc1.bundle.js +0 -1
  513. package/dist/63.8e37fba90bde83bd2f3f.bundle.js +0 -1
  514. package/dist/68.7b133326e3a06d04bde1.bundle.js +0 -1
  515. package/dist/69.efd0918b042b1f398041.bundle.js +0 -1
  516. package/dist/7.ee0f4f4648f8fc3ce108.bundle.js +0 -1
  517. package/dist/72.bc7fc2aaf3a8e8ec1c41.bundle.js +0 -1
  518. package/dist/76.17d0e859ea1d5af3db31.bundle.js +0 -1
  519. package/dist/80.dca09d62e752f0cfc49c.bundle.js +0 -1
  520. package/dist/82.45eb346dc80bc3d07b7b.bundle.js +0 -1
  521. package/dist/83.d34173500de6f79f117d.bundle.js +0 -1
  522. package/dist/84.bd622caf3a67cf0911ac.bundle.js +0 -1
  523. package/dist/85.9cb089f63b89d8e7d4b8.bundle.js +0 -1
  524. package/dist/87.8c703c24e6940c7c322c.bundle.js +0 -1
  525. package/dist/88.d5d55f2a585edc6ca23c.bundle.js +0 -1
  526. package/dist/89.73e31db425e7bdd57694.bundle.js +0 -1
  527. package/dist/9.41a5f9b1f94054ff21b4.bundle.js +0 -1
  528. package/dist/90.677903cb383d54b99bb3.bundle.js +0 -1
  529. package/dist/91.3f0a70d1f461d707733a.bundle.js +0 -1
  530. package/dist/92.dcaf435d98ba85bf41d9.bundle.js +0 -1
  531. package/dist/93.c7ffdd12d101f0759f50.bundle.js +0 -1
  532. package/dist/94.ef149157cec71e8c6727.bundle.js +0 -1
  533. package/dist/95.481f9941f7c5102fd02a.bundle.js +0 -1
  534. package/dist/96.963fb705cf41d4813f5f.bundle.js +0 -1
  535. package/dist/97.885a73aa0360fd138b06.bundle.js +0 -1
  536. package/dist/98.4682c01b8beedb7ee99f.bundle.js +0 -1
  537. package/dist/99.15cb2b4dc8cf54d6c473.bundle.js +0 -1
  538. /package/dist/js/angular/{chatgpt → ttyg}/templates/chatInfo.html +0 -0
  539. /package/dist/js/angular/{chatgpt → ttyg}/templates/modal/settings.html +0 -0
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[117],{168:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{193:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[118],{262:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{293:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[119],{172:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{197:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12,73,157,179,222,246,274],{125:function(e,n,t){"use strict";t.r(n);t(35),t(90);function o(e){const n=[];return Object.keys(e).forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&")}function r(e,n){return _.reduce(e,(function(e,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(n.instant("externalsync.empty.value.key.error",{value:t.value}));if(e.hasOwnProperty(t.key))throw new Error(n.instant("externalsync.duplicate.key.error",{key:t.key}));e[t.key]=t.value}return e}),{})}function a(e,n){for(let o=0;o<n.length;o++){const r=n[o];if("StringArray"===r.__type)e[r.__name]||(e[r.__name]=[""]);else if("OptionArray"===r.__type)if(e[r.__name])for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];if("Boolean"===t.__type)for(let n=0;n<e[r.__name].length;n++){const o=e[r.__name][n];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{e[r.__name]=[];const n={};for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];"StringArray"===t.__type?n[t.__name]=[""]:n[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}e[r.__name].push(n)}else"Map"===r.__type?e[r.__name]?e[r.__name]=(t=e[r.__name],_.map(t,(function(e,n){return{key:n,value:e}}))):e[r.__name]=[]:"JsonString"===r.__type?!e[r.__name]||e[r.__name]instanceof String||"string"==typeof e[r.__name]||(e[r.__name]=angular.toJson(e[r.__name],2)):angular.isUndefined(e[r.__name])&&(e[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return e}function i(e,n,t){return e.post("repositories/"+n,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function s(e){return e.substring(0,e.length-1)+"/instance#"}function c(e,n,t,o,a){const i=function e(n,t){const o={};return _.each(t,(function(t){angular.isDefined(n[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(n[t.__name],(function(n){o[t.__name].push(e(n,t.__childOptions))}))):o[t.__name]=_.cloneDeep(n[t.__name]))})),o}(t,o);for(let e=0;e<o.length;e++)try{"Map"===o[e].__type?i[o[e].__name]=r(i[o[e].__name],$translate):"JsonString"===o[e].__type&&(i[o[e].__name]=angular.fromJson(i[o[e].__name]))}catch(n){return a(o[e].__label,n.message),null}!function e(n){Array.isArray(n)&&(n=_.filter(n,(function(e){return null!==e&&(!e.trim||""!==e.trim())})));return Object.keys(n).forEach((function(t){""!==n[t]&&null!=n[t]||!1===n[t]?"object"==typeof n[t]&&(n[t]=e(n[t])):delete n[t]})),n}(i);let c="";c+="PREFIX :<"+n+">\n";return c+="PREFIX inst:<"+s(n)+">\n",c+="INSERT DATA {\n",c+="\tinst:"+e+" :createConnector '''\n",c+=angular.toJson(i,2),c+="\n''' .\n}\n",c=c.replace(/\\/g,"\\\\\\"),c}function u(e,n,t,r,u,l,d,p,g,f){function m(n){e.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:n?f.instant("externalsync.repairing"):f.instant("externalsync.creating"),waitOnRepairStartOnce:!!n,eta:"-",inline:!1,iri:null}}function y(n,t,o){return m(o),$.extend(e.beingBuiltConnector,{iri:s(n)+t,name:t,inline:!1,doneCallback:function(){e.beingBuiltConnector.modalInstance.dismiss("cancel")}}),e.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:e}),e.beingBuiltConnector.modalInstance}function C(n,r,a){const i=y(n.value,r.name,!1);p.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))})),u.success(f.instant("created.connector",{name:r.name}))}),(function(e){u.error(getError(e)),a()})).finally((function(){i.dismiss("cancel")}))}e.loader=!1,e.controllers=[],e.existing={},e.definitions={},e.getLoaderMessage=function(){const n=(Date.now()-e.loaderStartTime)/1e3,t=e.getHumanReadableSeconds(n);let o="";return o=e.progressMessage?e.progressMessage+"... "+t:f.instant("common.running.operation",{timeHuman:t}),e.extraMessage&&n>10&&(o+="\n"+e.extraMessage),o},e.setLoader=function(n,t,o){n?(e.loader=!0,e.loaderStartTime=Date.now(),e.progressMessage=t,e.extraMessage=o):(e.loader=!1,e.progressMessage="",e.extraMessage="")},e.initConnector=function(n){return g.initConnector(encodeURIComponent(n.value)).then((function(t){return e.definitions[n.key]=t.data,g.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))}))},e.getConnectors=function(){e.isLicenseValid()&&e.canWriteActiveRepo()&&(e.setLoader(!0,f.instant("externalsync.fetching.connectors"),f.instant("common.extra.message")),g.getConnectors().then((function(o){e.connectors=Object.keys(o.data).map((function(e){return{key:e,value:o.data[e]}})),d.all(_.map(e.connectors,(function(n){return e.initConnector(n)}))).finally((function(){m();const o=function(e){const n=_.map(e,(function(e){return"<"+e.value+"connectorStatus>"})).join("|");return n?"SELECT ?connector ?status { ?connector "+n+" ?status }":null}(e.connectors);o?function(e){return i(n,t.getActiveRepository(),e)}(o).then((function(n){const t=function(e){if(e.bindings)for(let n=0;n<e.bindings.length;n++)try{const t=JSON.parse(e.bindings[n].status.value);if("BUILDING"===t.status)return{connector:e.bindings[n].connector.value,status:t}}catch(e){console.error(e)}return{}}(n.data.results);if(t.connector){const n=t.connector.split(/#/);n[0]=n[0].replace(/\/instance$/,"#"),o=n[0],r=n[1],m(),$.extend(e.beingBuiltConnector,{iri:s(o)+r,name:r,inline:!0,doneCallback:function(){e.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){e.setLoader(!1)})):e.setLoader(!1)}))})).catch((function(n){e.setLoader(!1),u.error(getError(n),f.instant("externalsync.could.not.get.connectors.error"))})),e.existing={})},e.getOptions=function(n){return e.definitions[n.key]},e.isEmpty=function(e){return angular.isObject(e)&&0===Object.keys(e).length},e.toPrettyJson=function(e){return angular.toJson(e,2)},e.$watch((function(){return t.getActiveRepository()}),e.getConnectors),e.$watch((function(){return t.getActiveLocation()}),e.getConnectors),e.copyConnector=function(n,t){let o;angular.isUndefined(t)||(o=_.cloneDeep(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return e.getOptions(n)}}}).result.then((function(t){C(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.newConnector=function(n,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return e.getOptions(n)}}}).result.then((function(t){C(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.repair=function(n,r){l.openSimpleModal({title:f.instant("externalsync.confirm.repair"),message:f.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const a=y(r.value,n.name,!0),i=(c=n.name,"PREFIX prefix:<"+(l=r.value)+">\nINSERT DATA {\n\t<"+s(l)+c+'> prefix:repairConnector ""\n}');var c,l;p.addStatements(t.getActiveRepository(),o({update:i})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(r.value)).then((function(n){e.existing[r.key]=n.data}))})),u.success(f.instant("externalsync.repair.success.msg",{name:n.name}))}),(function(e){u.error(getError(e))})).finally((function(){a.dismiss("cancel")}))}))},e.delete=function(n,a){const i=a.key.indexOf("Elastic")>=0||a.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return i?f.instant("delete.connector.conditional",{type:a.key}):""}}}).result.then((function(r){e.setLoader(!0,f.instant("externalsync.delete.progress.msg",{name:n.name}),f.instant("externalsync.extra.message.warning"));const s=function(e,n,t){const o=n.substring(0,n.length-1)+"/instance#";return"PREFIX prefix:<"+n+">\nINSERT DATA {\n\t<"+o+e+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(n.name,a.value,r);p.addStatements(t.getActiveRepository(),o({update:s})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(a.value)).then((function(n){e.existing[a.key]=n.data}))})),r?(u.success(f.instant("externalsync.delete.force.success.msg",{name:n.name})),i&&u.warning(f.instant("externalsync.delete.remote.warning",{key:a.key}))):u.success(f.instant("externalsync.delete.success.msg",{name:n.name}))}),(function(e){u.error(getError(e))})).finally((function(){e.setLoader(!1)}))}))},e.viewQuery=function(n,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=e.getOptions(n);return c(t.name,n.value,a(t.values,o),o)}}})}}function l(e,n,t){e.force=!1,e.popoverMsg=t,e.ok=function(){n.close(e.force)},e.cancel=function(){n.dismiss()}}function d(e,n,t,o,r){function a(){return c(e.name,t.value,e.values,e.options,(function(e,n){r.error(n,e)}))}e.connector=t,e.addField=function(n,t){const o=_.cloneDeep(e.defaultValues[t][0]);e.values[t].splice(n+1,0,o)},e.addOption=function(e,n){n.splice(e+1,0,"")},e.deleteOption=function(e,n){n.splice(e,1)},e.addMapOption=function(e,n){n.splice(e+1,0,{key:"",value:""})},e.deleteMapOption=function(e,n){n.splice(e,1)},e.ok=function(){if(e.form.$valid){const t=a();t&&n.close({name:e.name,values:e.values,options:e.options,query:t})}},e.viewQuery=function(){const e=a();e&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},e.cancel=function(){n.dismiss("cancel")}}function p(e,n,t,o,r,i,s,c){angular.extend(this,n("ExtendNewConnectorCtrl",{$scope:e,$uibModalInstance:o,connector:r,$uibModal:i})),e.values=s.values,e.options=c,e.name=s.name,s.skipConversion||(e.values=a(e.values,e.options)),e.defaultValues=_.cloneDeep(e.values)}function g(e,n,t,o,r){function a(){const a=function(e){const n=e.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+e+"> <"+n+"> ?status",t+="\n}",t}(e.beingBuiltConnector.iri);e.beingBuiltConnector.iri=null,e.progressInterval=n((function(){(function(e){return i(t,o.getActiveRepository(),e)})(a).then((function(t){const o=function(e){if(e.bindings&&e.bindings.length>0)try{return JSON.parse(e.bindings[0].status.value)}catch(e){console.error(e)}return{}}(t.data.results);"BUILDING"===o.status?(e.beingBuiltConnector.status=o,e.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),e.beingBuiltConnector.eta=e.getHumanReadableSeconds(o.etaSeconds),e.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),e.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||e.beingBuiltConnector.waitOnRepairStartOnce||(n.cancel(e.progressInterval),e.beingBuiltConnector.doneCallback&&e.beingBuiltConnector.doneCallback())}))}),1e3),e.$on("$destroy",(function(){n.cancel(e.progressInterval)}))}e.beingBuiltConnector=e.beingBuiltConnector||{},!e.beingBuiltConnector.inline&&e.beingBuiltConnector.iri&&a(),e.$watch("beingBuiltConnector.iri",(function(n){e.beingBuiltConnector.inline&&n&&a()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",u).controller("ExtendNewConnectorCtrl",d).controller("CreateConnectorCtrl",p).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",l).filter("ceil",(function(){return function(e){return Math.ceil(e)}})),u.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],l.$inject=["$scope","$uibModalInstance","popoverMsg"],d.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],p.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]},218:function(e,n,t){"use strict";t.r(n),t.d(n,"ConnectorCommand",(function(){return o}));const o={CREATE:"create",REPAIR:"repair",DROP:"drop"}},219:function(e,n,t){"use strict";t.r(n),t.d(n,"BeforeUpdateQueryResult",(function(){return o})),t.d(n,"BeforeUpdateQueryResultStatus",(function(){return r}));class o{constructor(e,n,t,o){this.status=e,this.mesage=o,this.messageLabelKey=n,this.parameters=t}}const r={ERROR:"error",SUCCESS:"success"}},225:function(e,n,t){"use strict";t.r(n),t.d(n,"CancelAbortingQuery",(function(){return o}));class o extends Error{}},246:function(e,n,t){"use strict";t.r(n);var o=t(111),r=t(94),a=(t(90),t(125),t(14)),i=t(96),s=t(218),c=t(219),u=t(89),l=t(0),d=t(73),p=t(97),g=t(225),f=t(12);t(15);function m(e,n,t,m,y,C,h,_,v,b,S,R,E,w,x,A,$,O){this.repository="";let U=h.getActiveRepository(),k=h.isActiveRepoOntopType();n.yasguiConfig=void 0,n.savedQueryConfig=void 0,n.prefixes={},n.inferUserSetting=!0,n.sameAsUserSetting=!0;const q=new Map;let B=!1;n.updateConfig=e=>{n.yasguiConfig={endpoint:M,componentId:p.VIEW_SPARQL_EDITOR,prefixes:n.prefixes,infer:k||n.inferUserSetting,sameAs:k||n.sameAsUserSetting,yasrToolbarPlugins:[J],beforeUpdateQuery:X(),outputHandlers:new Map([[u.EventDataType.QUERY_EXECUTED,Q],[u.EventDataType.REQUEST_ABORTED,T]]),clearState:void 0!==e&&e}},n.getActiveRepositoryNoError=()=>U;const M=e=>{const n=(e=>{const n=e.getTab();if(n)return n.getYasqe()})(e);if(n)return h.resolveSparqlEndpoint(n.getQueryMode())},Q=e=>{const n=q.get(e.tabId);n&&(n.dismiss(),q.delete(e.tabId))},T=e=>{if(e&&f.QueryMode.UPDATE!==e.queryMode){const n=e.getRepository(),t=e.getQueryTrackAlias();n&&t&&x.deleteQuery(t,n)}},I=e=>{const n=e[r.RouteConstants.savedQueryName],t=e[r.RouteConstants.savedQueryOwner];S.getSavedQuery(n,t).then(e=>{const n=Object(o.savedQueryResponseMapper)(e);L(n).then(j).finally(P)}).catch(e=>{v.error(b.instant("query.editor.missing.saved.query.data.error",{savedQueryName:n,error:getError(e)}))})},D=e=>{const n=e[r.RouteConstants.name],t=e[r.RouteConstants.query],a=e[r.RouteConstants.owner],i=Object(o.buildQueryModel)(t,n,a,!0);L(i).then(j).finally(P)},L=e=>a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(n=>n.openTab(e)).then(e=>a.YasguiComponentDirectiveUtil.highlightTabName(e)),P=()=>{B=!0,m.search({}),m.replace()},j=()=>Object(d.toBoolean)(m.search().execute)?a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(N).then(V):Promise.resolve(),N=e=>e.getQueryMode().then(n=>({yasguiComponent:e,queryMode:n})),V=({yasguiComponent:e,queryMode:n})=>"update"!==n?e.query():new Promise(n=>{const t=b.instant("confirm.execute"),o=Object(l.decodeHTML)(b.instant("query.editor.automatically.execute.update.warning"));w.openConfirmation(t,o,()=>n(e.query()),()=>n())}),J={createElement:e=>{const n=document.createElement("span");n.classList.add("explore-visual-graph-button-name");const t=document.createElement("button");return t.classList.add("explore-visual-graph-button"),t.classList.add("icon-data"),t.onclick=function(){const n={query:e.yasqe.getValue(),sameAs:e.yasqe.getSameAs(),inference:e.yasqe.getInfer()};m.path("graphs-visualizations").search(n)},t.appendChild(n),t},updateElement:(e,n)=>{if(e.classList.add("hidden"),!n.hasResults())return;const t=n.yasqe.getQueryType();i.QueryType.CONSTRUCT!==t&&i.QueryType.DESCRIBE!==t||e.classList.remove("hidden"),e.querySelector(".explore-visual-graph-button-name").innerText=b.instant("query.editor.visual.btn")},getOrder:()=>2},F=(e,n)=>({key:e,value:n}),Y=e=>[F("name",e.data.name)],H=(e,t,o)=>{const r=n.$new(!0);r.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e,eta:"-",inline:!1,iri:t,name:o,doneCallback:function(){a.dismiss("cancel")}},r.getHumanReadableSeconds=n.getHumanReadableSeconds;const a=_.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:r});return a},X=()=>(e,n)=>R.checkConnector(e).then(e=>e.data.command?e.data.hasSupport?s.ConnectorCommand.CREATE===e.data.command?((e,n)=>{const t=H(b.instant("externalsync.creating"),e.data.iri,e.data.name);return q.set(n,t),new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS,"created.connector",Y(e))})(e,n):s.ConnectorCommand.REPAIR===e.data.command?((e,n)=>{const t=H(b.instant("externalsync.repairing"),e.data.iri,e.data.name);return q.set(n,t),new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS,"query.editor.repaired.connector",Y(e))})(e,n):s.ConnectorCommand.DROP===e.data.command?(e=>new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS,"externalsync.delete.success.msg",Y(e)))(e):void 0:(e=>{const n=[F("connectorName",e.data.connectorName),F("pluginName",e.data.pluginName)];return new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.ERROR,"query.editor.inactive.plugin.warning.msg",n)})(e):new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS)).catch(e=>{console.log("Checking connector error: ",e)}),z=e=>{const t=document.querySelectorAll('script[src*="https://www.gstatic.com/"]');if(t.length>0){const e=y.getLanguage();let n="module.js";if("en"!==e&&(n=`module__${e}.js`),!Array.prototype.some.call(t,e=>e.src.includes(n)))return void location.reload()}Promise.all([C.getPrincipal(),h.getPrefixes(U)]).then(([t,o])=>{n.prefixes=o,(e=>{n.inferUserSetting=e.appSettings.DEFAULT_INFERENCE,n.sameAsUserSetting=e.appSettings.DEFAULT_SAMEAS})(t),((e=!1)=>{n.updateConfig(e);const t=m.search();t.hasOwnProperty(r.RouteConstants.savedQueryName)?I(t):t.hasOwnProperty(r.RouteConstants.query)?D(t):E.isActive()&&L()})(e)})},G=[],K=e=>{const n=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");n&&n.abortAllRequests().then(()=>{})};window.addEventListener("beforeunload",K);const W=e=>new Promise((n,t)=>{if(!e||e.queriesCount<1&&e.updatesCount<1)return void n();const o=b.instant("common.confirm"),r=Object(l.decodeHTML)((e=>{let n="view.sparql-editor.leave_page.run_queries.confirmation.";!e||e.queriesCount<1?n+="none_queries_":1===e.queriesCount?n+="one_query_":n+="queries_",e.updatesCount&&0!==e.updatesCount?1===e.updatesCount?n+="one_update":n+="updates":n+="non_updates",n+=".message";const t={queriesCount:e.queriesCount,updatesCount:e.updatesCount};return b.instant(n,t)})(e));w.openSimpleModal({title:o,message:r,warning:!0}).result.then((function(){n()}),(function(){t(new g.CancelAbortingQuery)}))});let Z=void 0;G.push(e.$on("$locationChangeStart",e=>{if(B)return void(B=!1);const n=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");if(!n||Z)return;e.preventDefault();const t=m.path(),o=m.search();n.getOngoingRequestsInfo().then(e=>W(e)).then(()=>n.abortAllRequests()).then(()=>{Z=!0,m.path(t).search(o)}).catch(e=>{if(!(e instanceof g.CancelAbortingQuery))throw e})}));const ee=()=>{$.set(O.SPARQL_LAST_REPO,U)};G.push(n.$on("language-changed",(function(){location.reload()}))),G.push(A.subscribe("before-language-change",(function(e){return new Promise(n=>{w.openSimpleModal({title:b.instant("query.editor.language.change.warning.title"),message:b.instant("query.editor.reload.page.warning"),warning:!0}).result.then((function(){n(e)}),(function(){e.cancel=!0,n(e)}))})}))),G.push(n.$on("$destroy",()=>{ee(),G.forEach(e=>e()),window.removeEventListener("beforeunload",K)})),G.push(n.$watch(n.getActiveRepositoryObject,e=>{e&&(U=h.getActiveRepository(),k=h.isActiveRepoOntopType(e),$.get(O.SPARQL_LAST_REPO)!==U?(z(!0),ee()):z(!1))}))}angular.module("graphdb.framework.sparql-editor.controllers",["ui.bootstrap","graphdb.framework.rest.connectors.service","graphdb.framework.externalsync.controllers","graphdb.framework.utils.event-emitter-service","graphdb.framework.utils.localstorageadapter"]).controller("SparqlEditorCtrl",m),m.$inject=["$rootScope","$scope","$q","$location","$languageService","$jwtAuth","$repositories","$uibModal","toastr","$translate","SparqlRestService","ConnectorsRestService","GuidesService","ModalService","MonitoringRestService","EventEmitterService","LocalStorageAdapter","LSKeys"]},73:function(e,n,t){"use strict";t.r(n),t.d(n,"removeSpecialChars",(function(){return r})),t.d(n,"toBoolean",(function(){return a})),t.d(n,"toTitleCase",(function(){return i}));var o=t(27);const r=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(o.upperFirst)(e.toLowerCase()):e},90:function(e,n){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(e){return{getConnectors:function(){return e.get("rest/connectors")},initConnector:function(n){return e.get("rest/connectors/options?prefix="+n)},hasConnector:function(n){return e.get("rest/connectors/existing?prefix="+n)},checkConnector:function(n){return e.post("rest/connectors/check",n,{headers:{"Content-Type":"text/plain"}})}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14,87,177,201,243,269,303],{147:function(e,n,t){"use strict";t.r(n);t(38),t(82);function o(e){const n=[];return Object.keys(e).forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&")}function r(e,n){return _.reduce(e,(function(e,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(n.instant("externalsync.empty.value.key.error",{value:t.value}));if(e.hasOwnProperty(t.key))throw new Error(n.instant("externalsync.duplicate.key.error",{key:t.key}));e[t.key]=t.value}return e}),{})}function a(e,n){for(let o=0;o<n.length;o++){const r=n[o];if("StringArray"===r.__type)e[r.__name]||(e[r.__name]=[""]);else if("OptionArray"===r.__type)if(e[r.__name])for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];if("Boolean"===t.__type)for(let n=0;n<e[r.__name].length;n++){const o=e[r.__name][n];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{e[r.__name]=[];const n={};for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];"StringArray"===t.__type?n[t.__name]=[""]:n[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}e[r.__name].push(n)}else"Map"===r.__type?e[r.__name]?e[r.__name]=(t=e[r.__name],_.map(t,(function(e,n){return{key:n,value:e}}))):e[r.__name]=[]:"JsonString"===r.__type?!e[r.__name]||e[r.__name]instanceof String||"string"==typeof e[r.__name]||(e[r.__name]=angular.toJson(e[r.__name],2)):angular.isUndefined(e[r.__name])&&(e[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return e}function i(e,n,t){return e.post("repositories/"+n,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function s(e){return e.substring(0,e.length-1)+"/instance#"}function c(e,n,t,o,a){const i=function e(n,t){const o={};return _.each(t,(function(t){angular.isDefined(n[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(n[t.__name],(function(n){o[t.__name].push(e(n,t.__childOptions))}))):o[t.__name]=_.cloneDeep(n[t.__name]))})),o}(t,o);for(let e=0;e<o.length;e++)try{"Map"===o[e].__type?i[o[e].__name]=r(i[o[e].__name],$translate):"JsonString"===o[e].__type&&(i[o[e].__name]=angular.fromJson(i[o[e].__name]))}catch(n){return a(o[e].__label,n.message),null}!function e(n){Array.isArray(n)&&(n=_.filter(n,(function(e){return null!==e&&(!e.trim||""!==e.trim())})));return Object.keys(n).forEach((function(t){""!==n[t]&&null!=n[t]||!1===n[t]?"object"==typeof n[t]&&(n[t]=e(n[t])):delete n[t]})),n}(i);let c="";c+="PREFIX :<"+n+">\n";return c+="PREFIX inst:<"+s(n)+">\n",c+="INSERT DATA {\n",c+="\tinst:"+e+" :createConnector '''\n",c+=angular.toJson(i,2),c+="\n''' .\n}\n",c=c.replace(/\\/g,"\\\\\\"),c}function u(e,n,t,r,u,l,d,p,g,f){function m(n){e.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:n?f.instant("externalsync.repairing"):f.instant("externalsync.creating"),waitOnRepairStartOnce:!!n,eta:"-",inline:!1,iri:null}}function y(n,t,o){return m(o),$.extend(e.beingBuiltConnector,{iri:s(n)+t,name:t,inline:!1,doneCallback:function(){e.beingBuiltConnector.modalInstance.dismiss("cancel")}}),e.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:e}),e.beingBuiltConnector.modalInstance}function C(n,r,a){const i=y(n.value,r.name,!1);p.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))})),u.success(f.instant("created.connector",{name:r.name}))}),(function(e){u.error(getError(e)),a()})).finally((function(){i.dismiss("cancel")}))}e.loader=!1,e.controllers=[],e.existing={},e.definitions={},e.getLoaderMessage=function(){const n=(Date.now()-e.loaderStartTime)/1e3,t=e.getHumanReadableSeconds(n);let o="";return o=e.progressMessage?e.progressMessage+"... "+t:f.instant("common.running.operation",{timeHuman:t}),e.extraMessage&&n>10&&(o+="\n"+e.extraMessage),o},e.setLoader=function(n,t,o){n?(e.loader=!0,e.loaderStartTime=Date.now(),e.progressMessage=t,e.extraMessage=o):(e.loader=!1,e.progressMessage="",e.extraMessage="")},e.initConnector=function(n){return g.initConnector(encodeURIComponent(n.value)).then((function(t){return e.definitions[n.key]=t.data,g.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))}))},e.getConnectors=function(){e.isLicenseValid()&&e.canWriteActiveRepo()&&(e.setLoader(!0,f.instant("externalsync.fetching.connectors"),f.instant("common.extra.message")),g.getConnectors().then((function(o){e.connectors=Object.keys(o.data).map((function(e){return{key:e,value:o.data[e]}})),d.all(_.map(e.connectors,(function(n){return e.initConnector(n)}))).finally((function(){m();const o=function(e){const n=_.map(e,(function(e){return"<"+e.value+"connectorStatus>"})).join("|");return n?"SELECT ?connector ?status { ?connector "+n+" ?status }":null}(e.connectors);o?function(e){return i(n,t.getActiveRepository(),e)}(o).then((function(n){const t=function(e){if(e.bindings)for(let n=0;n<e.bindings.length;n++)try{const t=JSON.parse(e.bindings[n].status.value);if("BUILDING"===t.status)return{connector:e.bindings[n].connector.value,status:t}}catch(e){console.error(e)}return{}}(n.data.results);if(t.connector){const n=t.connector.split(/#/);n[0]=n[0].replace(/\/instance$/,"#"),o=n[0],r=n[1],m(),$.extend(e.beingBuiltConnector,{iri:s(o)+r,name:r,inline:!0,doneCallback:function(){e.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){e.setLoader(!1)})):e.setLoader(!1)}))})).catch((function(n){e.setLoader(!1),u.error(getError(n),f.instant("externalsync.could.not.get.connectors.error"))})),e.existing={})},e.getOptions=function(n){return e.definitions[n.key]},e.isEmpty=function(e){return angular.isObject(e)&&0===Object.keys(e).length},e.toPrettyJson=function(e){return angular.toJson(e,2)},e.$watch((function(){return t.getActiveRepository()}),e.getConnectors),e.$watch((function(){return t.getActiveLocation()}),e.getConnectors),e.copyConnector=function(n,t){let o;angular.isUndefined(t)||(o=_.cloneDeep(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return e.getOptions(n)}}}).result.then((function(t){C(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.newConnector=function(n,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return e.getOptions(n)}}}).result.then((function(t){C(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.repair=function(n,r){l.openSimpleModal({title:f.instant("externalsync.confirm.repair"),message:f.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const a=y(r.value,n.name,!0),i=(c=n.name,"PREFIX prefix:<"+(l=r.value)+">\nINSERT DATA {\n\t<"+s(l)+c+'> prefix:repairConnector ""\n}');var c,l;p.addStatements(t.getActiveRepository(),o({update:i})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(r.value)).then((function(n){e.existing[r.key]=n.data}))})),u.success(f.instant("externalsync.repair.success.msg",{name:n.name}))}),(function(e){u.error(getError(e))})).finally((function(){a.dismiss("cancel")}))}))},e.delete=function(n,a){const i=a.key.indexOf("Elastic")>=0||a.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return i?f.instant("delete.connector.conditional",{type:a.key}):""}}}).result.then((function(r){e.setLoader(!0,f.instant("externalsync.delete.progress.msg",{name:n.name}),f.instant("externalsync.extra.message.warning"));const s=function(e,n,t){const o=n.substring(0,n.length-1)+"/instance#";return"PREFIX prefix:<"+n+">\nINSERT DATA {\n\t<"+o+e+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(n.name,a.value,r);p.addStatements(t.getActiveRepository(),o({update:s})).then((function(){g.getConnectors().then((function(){g.hasConnector(encodeURIComponent(a.value)).then((function(n){e.existing[a.key]=n.data}))})),r?(u.success(f.instant("externalsync.delete.force.success.msg",{name:n.name})),i&&u.warning(f.instant("externalsync.delete.remote.warning",{key:a.key}))):u.success(f.instant("externalsync.delete.success.msg",{name:n.name}))}),(function(e){u.error(getError(e))})).finally((function(){e.setLoader(!1)}))}))},e.viewQuery=function(n,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=e.getOptions(n);return c(t.name,n.value,a(t.values,o),o)}}})}}function l(e,n,t){e.force=!1,e.popoverMsg=t,e.ok=function(){n.close(e.force)},e.cancel=function(){n.dismiss()}}function d(e,n,t,o,r){function a(){return c(e.name,t.value,e.values,e.options,(function(e,n){r.error(n,e)}))}e.connector=t,e.addField=function(n,t){const o=_.cloneDeep(e.defaultValues[t][0]);e.values[t].splice(n+1,0,o)},e.addOption=function(e,n){n.splice(e+1,0,"")},e.deleteOption=function(e,n){n.splice(e,1)},e.addMapOption=function(e,n){n.splice(e+1,0,{key:"",value:""})},e.deleteMapOption=function(e,n){n.splice(e,1)},e.ok=function(){if(e.form.$valid){const t=a();t&&n.close({name:e.name,values:e.values,options:e.options,query:t})}},e.viewQuery=function(){const e=a();e&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},e.cancel=function(){n.dismiss("cancel")}}function p(e,n,t,o,r,i,s,c){angular.extend(this,n("ExtendNewConnectorCtrl",{$scope:e,$uibModalInstance:o,connector:r,$uibModal:i})),e.values=s.values,e.options=c,e.name=s.name,s.skipConversion||(e.values=a(e.values,e.options)),e.defaultValues=_.cloneDeep(e.values)}function g(e,n,t,o,r){function a(){const a=function(e){const n=e.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+e+"> <"+n+"> ?status",t+="\n}",t}(e.beingBuiltConnector.iri);e.beingBuiltConnector.iri=null,e.progressInterval=n((function(){(function(e){return i(t,o.getActiveRepository(),e)})(a).then((function(t){const o=function(e){if(e.bindings&&e.bindings.length>0)try{return JSON.parse(e.bindings[0].status.value)}catch(e){console.error(e)}return{}}(t.data.results);"BUILDING"===o.status?(e.beingBuiltConnector.status=o,e.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),e.beingBuiltConnector.eta=e.getHumanReadableSeconds(o.etaSeconds),e.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),e.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||e.beingBuiltConnector.waitOnRepairStartOnce||(n.cancel(e.progressInterval),e.beingBuiltConnector.doneCallback&&e.beingBuiltConnector.doneCallback())}))}),1e3),e.$on("$destroy",(function(){n.cancel(e.progressInterval)}))}e.beingBuiltConnector=e.beingBuiltConnector||{},!e.beingBuiltConnector.inline&&e.beingBuiltConnector.iri&&a(),e.$watch("beingBuiltConnector.iri",(function(n){e.beingBuiltConnector.inline&&n&&a()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",u).controller("ExtendNewConnectorCtrl",d).controller("CreateConnectorCtrl",p).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",l).filter("ceil",(function(){return function(e){return Math.ceil(e)}})),u.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],l.$inject=["$scope","$uibModalInstance","popoverMsg"],d.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],p.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]},243:function(e,n,t){"use strict";t.r(n),t.d(n,"ConnectorCommand",(function(){return o}));const o={CREATE:"create",REPAIR:"repair",DROP:"drop"}},244:function(e,n,t){"use strict";t.r(n),t.d(n,"BeforeUpdateQueryResult",(function(){return o})),t.d(n,"BeforeUpdateQueryResultStatus",(function(){return r}));class o{constructor(e,n,t,o){this.status=e,this.mesage=o,this.messageLabelKey=n,this.parameters=t}}const r={ERROR:"error",SUCCESS:"success"}},250:function(e,n,t){"use strict";t.r(n),t.d(n,"CancelAbortingQuery",(function(){return o}));class o extends Error{}},279:function(e,n,t){"use strict";t.r(n);var o=t(128),r=t(107),a=(t(82),t(147),t(15)),i=t(109),s=t(243),c=t(244),u=t(102),l=t(0),d=t(83),p=t(110),g=t(250),f=t(13);t(16);function m(e,n,t,m,y,C,h,_,v,b,S,R,E,w,x,A,$,O){this.repository="";let U=h.getActiveRepository(),k=h.isActiveRepoOntopType();n.yasguiConfig=void 0,n.savedQueryConfig=void 0,n.prefixes={},n.inferUserSetting=!0,n.sameAsUserSetting=!0;const q=new Map;let B=!1;n.updateConfig=e=>{n.yasguiConfig={endpoint:M,componentId:p.VIEW_SPARQL_EDITOR,prefixes:n.prefixes,infer:k||n.inferUserSetting,sameAs:k||n.sameAsUserSetting,yasrToolbarPlugins:[J],beforeUpdateQuery:X(),outputHandlers:new Map([[u.EventDataType.QUERY_EXECUTED,Q],[u.EventDataType.REQUEST_ABORTED,T]]),clearState:void 0!==e&&e}},n.getActiveRepositoryNoError=()=>U;const M=e=>{const n=(e=>{const n=e.getTab();if(n)return n.getYasqe()})(e);if(n)return h.resolveSparqlEndpoint(n.getQueryMode())},Q=e=>{const n=q.get(e.tabId);n&&(n.dismiss(),q.delete(e.tabId))},T=e=>{if(e&&f.QueryMode.UPDATE!==e.queryMode){const n=e.getRepository(),t=e.getQueryTrackAlias();n&&t&&x.deleteQuery(t,n)}},I=e=>{const n=e[r.RouteConstants.savedQueryName],t=e[r.RouteConstants.savedQueryOwner];S.getSavedQuery(n,t).then(e=>{const n=Object(o.savedQueryResponseMapper)(e);L(n).then(j).finally(P)}).catch(e=>{v.error(b.instant("query.editor.missing.saved.query.data.error",{savedQueryName:n,error:getError(e)}))})},D=e=>{const n=e[r.RouteConstants.name],t=e[r.RouteConstants.query],a=e[r.RouteConstants.owner],i=Object(o.buildQueryModel)(t,n,a,!0);L(i).then(j).finally(P)},L=e=>a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(n=>n.openTab(e)).then(e=>a.YasguiComponentDirectiveUtil.highlightTabName(e)),P=()=>{B=!0,m.search({}),m.replace()},j=()=>Object(d.toBoolean)(m.search().execute)?a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(N).then(V):Promise.resolve(),N=e=>e.getQueryMode().then(n=>({yasguiComponent:e,queryMode:n})),V=({yasguiComponent:e,queryMode:n})=>"update"!==n?e.query():new Promise(n=>{const t=b.instant("confirm.execute"),o=Object(l.decodeHTML)(b.instant("query.editor.automatically.execute.update.warning"));w.openConfirmation(t,o,()=>n(e.query()),()=>n())}),J={createElement:e=>{const n=document.createElement("span");n.classList.add("explore-visual-graph-button-name");const t=document.createElement("button");return t.classList.add("explore-visual-graph-button"),t.classList.add("icon-data"),t.onclick=function(){const n={query:e.yasqe.getValue(),sameAs:e.yasqe.getSameAs(),inference:e.yasqe.getInfer()};m.path("graphs-visualizations").search(n)},t.appendChild(n),t},updateElement:(e,n)=>{if(e.classList.add("hidden"),!n.hasResults())return;const t=n.yasqe.getQueryType();i.QueryType.CONSTRUCT!==t&&i.QueryType.DESCRIBE!==t||e.classList.remove("hidden"),e.querySelector(".explore-visual-graph-button-name").innerText=b.instant("query.editor.visual.btn")},getOrder:()=>2},F=(e,n)=>({key:e,value:n}),Y=e=>[F("name",e.data.name)],H=(e,t,o)=>{const r=n.$new(!0);r.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e,eta:"-",inline:!1,iri:t,name:o,doneCallback:function(){a.dismiss("cancel")}},r.getHumanReadableSeconds=n.getHumanReadableSeconds;const a=_.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:r});return a},X=()=>(e,n)=>R.checkConnector(e).then(e=>e.data.command?e.data.hasSupport?s.ConnectorCommand.CREATE===e.data.command?((e,n)=>{const t=H(b.instant("externalsync.creating"),e.data.iri,e.data.name);return q.set(n,t),new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS,"created.connector",Y(e))})(e,n):s.ConnectorCommand.REPAIR===e.data.command?((e,n)=>{const t=H(b.instant("externalsync.repairing"),e.data.iri,e.data.name);return q.set(n,t),new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS,"query.editor.repaired.connector",Y(e))})(e,n):s.ConnectorCommand.DROP===e.data.command?(e=>new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS,"externalsync.delete.success.msg",Y(e)))(e):void 0:(e=>{const n=[F("connectorName",e.data.connectorName),F("pluginName",e.data.pluginName)];return new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.ERROR,"query.editor.inactive.plugin.warning.msg",n)})(e):new c.BeforeUpdateQueryResult(c.BeforeUpdateQueryResultStatus.SUCCESS)).catch(e=>{console.log("Checking connector error: ",e)}),z=e=>{const t=document.querySelectorAll('script[src*="https://www.gstatic.com/"]');if(t.length>0){const e=y.getLanguage();let n="module.js";if("en"!==e&&(n=`module__${e}.js`),!Array.prototype.some.call(t,e=>e.src.includes(n)))return void location.reload()}Promise.all([C.getPrincipal(),h.getPrefixes(U)]).then(([t,o])=>{n.prefixes=o,(e=>{n.inferUserSetting=e.appSettings.DEFAULT_INFERENCE,n.sameAsUserSetting=e.appSettings.DEFAULT_SAMEAS})(t),((e=!1)=>{n.updateConfig(e);const t=m.search();t.hasOwnProperty(r.RouteConstants.savedQueryName)?I(t):t.hasOwnProperty(r.RouteConstants.query)?D(t):E.isActive()&&L()})(e)})},G=[],K=e=>{const n=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");n&&n.abortAllRequests().then(()=>{})};window.addEventListener("beforeunload",K);const W=e=>new Promise((n,t)=>{if(!e||e.queriesCount<1&&e.updatesCount<1)return void n();const o=b.instant("common.confirm"),r=Object(l.decodeHTML)((e=>{let n="view.sparql-editor.leave_page.run_queries.confirmation.";!e||e.queriesCount<1?n+="none_queries_":1===e.queriesCount?n+="one_query_":n+="queries_",e.updatesCount&&0!==e.updatesCount?1===e.updatesCount?n+="one_update":n+="updates":n+="non_updates",n+=".message";const t={queriesCount:e.queriesCount,updatesCount:e.updatesCount};return b.instant(n,t)})(e));w.openSimpleModal({title:o,message:r,warning:!0}).result.then((function(){n()}),(function(){t(new g.CancelAbortingQuery)}))});let Z=void 0;G.push(e.$on("$locationChangeStart",e=>{if(B)return void(B=!1);const n=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");if(!n||Z)return;e.preventDefault();const t=m.path(),o=m.search();n.getOngoingRequestsInfo().then(e=>W(e)).then(()=>n.abortAllRequests()).then(()=>{Z=!0,m.path(t).search(o)}).catch(e=>{if(!(e instanceof g.CancelAbortingQuery))throw e})}));const ee=()=>{$.set(O.SPARQL_LAST_REPO,U)};G.push(n.$on("language-changed",(function(){location.reload()}))),G.push(A.subscribe("before-language-change",(function(e){return new Promise(n=>{w.openSimpleModal({title:b.instant("query.editor.language.change.warning.title"),message:b.instant("query.editor.reload.page.warning"),warning:!0}).result.then((function(){n(e)}),(function(){e.cancel=!0,n(e)}))})}))),G.push(n.$on("$destroy",()=>{ee(),G.forEach(e=>e()),window.removeEventListener("beforeunload",K)})),G.push(n.$watch(n.getActiveRepositoryObject,e=>{e&&(U=h.getActiveRepository(),k=h.isActiveRepoOntopType(e),$.get(O.SPARQL_LAST_REPO)!==U?(z(!0),ee()):z(!1))}))}angular.module("graphdb.framework.sparql-editor.controllers",["ui.bootstrap","graphdb.framework.rest.connectors.service","graphdb.framework.externalsync.controllers","graphdb.framework.utils.event-emitter-service","graphdb.framework.utils.localstorageadapter"]).controller("SparqlEditorCtrl",m),m.$inject=["$rootScope","$scope","$q","$location","$languageService","$jwtAuth","$repositories","$uibModal","toastr","$translate","SparqlRestService","ConnectorsRestService","GuidesService","ModalService","MonitoringRestService","EventEmitterService","LocalStorageAdapter","LSKeys"]},82:function(e,n){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(e){return{getConnectors:function(){return e.get("rest/connectors")},initConnector:function(n){return e.get("rest/connectors/options?prefix="+n)},hasConnector:function(n){return e.get("rest/connectors/existing?prefix="+n)},checkConnector:function(n){return e.post("rest/connectors/check",n,{headers:{"Content-Type":"text/plain"}})}}}},83:function(e,n,t){"use strict";t.r(n),t.d(n,"removeSpecialChars",(function(){return r})),t.d(n,"toBoolean",(function(){return a})),t.d(n,"toTitleCase",(function(){return i}));var o=t(30);const r=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(o.upperFirst)(e.toLowerCase()):e}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[120],{264:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{295:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[121],{179:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){return p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(11))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{204:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){return p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[122],{178:function(e,o,t){"use strict";t.r(o);t(10);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[142],{203:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[143],{202:function(e,r,t){"use strict";t.r(r);t(11);function n(e,r,t,n,s,a,o,i,c,l,u,p,d,h,g,f,m){e.classHierarchyData={},e.instancesObj={},e.instancesQueryObj={},e.instancesObj.items=[],e.instancesNotFiltered=[],e.isWarningShowed=!1,e.onopen=e.onclose=()=>angular.noop(),e.currentBrowserLimit=2e3,d.firefox?e.currentBrowserLimit=50:(d.safari||d.msie||d.msedge)&&(e.currentBrowserLimit=400);const C={};let y=0,S=0;r.key="",C.get=function(r,t,n){return c.initLazyList(r,t,n,y,e.instancesObj.items)};let w=allGraphs;const b=function(){if(e.getActiveRepository())return f.resolveGraphs(n.getActiveRepository()).success((function(r){e.graphsInRepo=r.results.bindings.length>1002?r.results.bindings.slice(0,1002):r.results.bindings,R()})).error((function(r){e.repositoryError=getError(r),o.error(getError(r),m.instant("graphexplore.error.getting.graphs"))}))},R=function(){const r=h.get("classHierarchy-selectedGraph-"+n.getActiveRepository());null!==r&&e.graphsInRepo.some(e=>e.contextID.uri===r.contextID.uri)?w=r:h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},v=function(){return e.instancesObj.items.length<1e3?m.instant("graphexplore.search.class.instances"):m.instant("graphexplore.search.first.class.instances")};r.$watch((function(){return r.key}),(function(){y=0,_.each(e.instancesObj.items,(function(e){r.key>e&&y++})),S++})),C.revision=function(){return S},e.adapterContainer={adapter:{remain:!0}};const E=[];E.push(e.$on("goToDomainRangeGraphView",(function(e,r){I(r)}))),E.push(e.$on("classCount",x)),E.push(e.$on("repositoryIsSet",(function(){if(!s.isLicenseValid())return;if(D===n.getActiveRepository())return;D=n.getActiveRepository();if(e.repositoryError=null,!D)return;w=allGraphs,b().then(O)}))),E.push(r.$on("$translateChangeSuccess",()=>{e.instancesSearchPlaceholder=v()}));function x(r,t,n){e.classCountSlider.options&&e.classCountSlider.options.ceil!==t&&(e.classCountSlider={});var s;e.classCountSlider.value||(e.showExternalElements=!0,e.classCountSlider={value:t,options:{floor:1,ceil:t,vertical:!0,showSelectionBar:!0,onChange:function(){u(L,100,!0)}}},null===h.get(g.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE)&&t>e.currentBrowserLimit&&(s=e.currentBrowserLimit,d.chrome?o.warning(m.instant("graphexplore.disabling.animations",{classLimit:s}),m.instant("graphexplore.reducing.visual.effects")):o.warning(m.instant("graphexplore.browser.performance",{browser:d.name,classLimit:s}),m.instant("graphexplore.reducing.visual.effects"))));const a=h.get(g.CLASS_HIERARCHY_SWITCH_PREFIXES);null!=a&&"true"!==a&&(e.showExternalElements=!0),n?e.classCountSlider.value=n:t>=1500&&(e.classCountSlider.value=1500,o.warning(m.instant("graphexplore.class.count.slider",{count:1500}),m.instant("graphexplore.reducing.class.count"))),t>=25&&!window.ActiveXObject&&"ActiveXObject"in window&&!e.isWarningShowed&&(e.classCountSlider.value=25,e.isWarningShowed=!0,o.warning(m.instant("graphexplore.class.count.browser",{count:25}),m.instant("graphexplore.reducing.class.count"))),u((function(){e.$broadcast("reCalcViewDimensions");const r=document.getElementById("rzslider");let t=0;r.addEventListener("wheel",(function(r){r.preventDefault(),r.stopPropagation();const n=(new Date).getTime();if(!(n-t>100))return;t=n;let s=e.classCountSlider.value;const a=e.classCountSlider.options.step||1;r.deltaY<=-1?s+=a:r.deltaY>=1&&(s-=a),s=Math.max(e.classCountSlider.options.floor,Math.min(e.classCountSlider.options.ceil,s)),s!==e.classCountSlider.value&&e.$apply((function(){e.classCountSlider.value=s,u(L,100,!0)}))}))}),200),L()}function L(){e.currentSliderValue=e.classCountSlider.value}function I(e){const r=e.data.fullName,n=e.data.name;i.checkDomainRangeData(r).success((function(e,s){204===s?o.warning(m.instant("graphexplore.no.domain.range",{name:n})):(h.set(g.CLASS_HIERARCHY_LAST_SELECTED_CLASS,t.hash()),t.hash("").path("domain-range-graph").search("uri",r).search("name",n))})).error((function(){o.error(m.instant("graphexplore.error.request.failed",{name:n}))}))}function A(){t.replace().hash("1"),e.instancesObj.items=[],e.showExternalElements=!1,e.showClassInfoPanel=!1,h.clearClassHieararchyState(),e.hidePrefixes="true"===h.get(g.CLASS_HIERARCHY_HIDE_PREFIXES),e.currentSliderValue=void 0,e.classHierarchyData={},r.$broadcast("angucomplete-alt:clearInput")}function H(){e.hasClassHierarchy()&&u((function(){$("#toolbar").removeClass("ng-hide")}),0)}E.push(e.$on("$destroy",()=>{E.forEach(e=>e())})),e.datasource=C,e.goToDomainRangeGraphView=I,e.toggleClassInfoSidePanel=function(){e.showClassInfoPanel=!e.showClassInfoPanel,r.$broadcast("sidePanelClosed")},e.getActiveRepositoryNoError=function(){if(!e.repositoryError)return n.getActiveRepository()},e.isSystemRepository=function(){return n.isSystemRepository()},e.confirmReloadClassHierarchy=function(){p.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.hierarchy"),warning:!0}).result.then((function(){A(),e.loader=!0,e.hierarchyError=!1,i.reloadClassHierarchy(w.contextID.uri).success((function(r){e.loader=!1,e.classHierarchyData=r,H(),x()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))}))}))},e.focusOnRoot=function(){e.$broadcast("rootFocus")},e.copyToClipboard=function(e){p.openCopyToClipboardModal(e)},e.searchedClassCallback=function(e){if(e){const t={name:e.title};r.$broadcast("searchedClass",t)}},e.instancesQueryObj.query="",e.instancesFilterFunc=function(r){return r.resolvedUri.toLowerCase().indexOf(e.instancesQueryObj.query.toLowerCase())>=0},b(),e.$watch("instancesObj.items",(function(){e.instancesObj.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedClass",(function(){e.showClassInfoPanel&&function(r){const t=r.data.fullName;let n=r.data.name;if(n===t){const e=n.lastIndexOf("#");n=n.substring(e+1)}e.encodedUri=encodeURIComponent(t);const s=encodeURIComponent("prefix onto:<http://www.ontotext.com/>\nselect ?s {\n ?s a <"+t+"> .\n}");e.viewInstancesUri="sparql?name="+n+"&infer=true&sameAs=false&query="+s+"&execute=true",i.getRdfsLabelAndComment(t).success((function(r){e.rdfsLabel=r.label,e.rdfsComment=r.comment,e.expanded=!1})).error((function(){o.error("Error getting rdfs:label and rdfs:comment")})),e.instancesQueryObj.query="",e.instancesLoader=!0,i.getClassInstances(t).success((function(r){e.instancesObj.items=[],_.each(r,(function(r,t){const n={};n.type=r.startsWith("<<")&&r.endsWith(">>")?"triple":"uri",n.absUri=encodeURIComponent(r),n.absUriNonEncoded=r,n.resolvedUri=t,e.instancesObj.items.push(n)})),e.instancesLoader=!1,e.instancesSearchPlaceholder=v(),e.instancesNotFiltered=e.instancesObj.items})).error((function(){o.error(m.instant("graphexplore.error.instances.request"))}))}(e.selectedClass)})),$(document).ready((function(){$(".prefix-toggle").click((function(){$(".tooltip").hide()}))}));let D=n.getActiveRepository();function O(){A(),!e.isSystemRepository()&&e.isLicenseValid()&&(e.hierarchyError=!1,e.loader=!0,i.getClassHierarchyData(w.contextID.uri).success((function(r,t){e.showExternalElements=!0,e.loader=!1,e.classHierarchyData=r,207===t&&o.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed")),H()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))})))}e.hasClassHierarchy=function(){return e.classHierarchyData.classCount&&e.getActiveRepositoryNoError()&&!e.isSystemRepository()},e.isLicenseValid=function(){return s.isLicenseValid()},e.chosenGraph=function(e){w=e,O(),h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},e.getSelGraphValue=function(){return w.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelGraphValue()}}angular.module("graphdb.framework.graphexplore.controllers.class",["pageslide-directive","ngAnimate","ui.scroll.jqlite","ui.scroll","angucomplete-alt","rzSlider","toastr","graphdb.framework.utils.localstorageadapter"]).controller("RdfClassHierarchyCtlr",n),n.$inject=["$scope","$rootScope","$location","$repositories","$licenseService","$window","toastr","GraphDataRestService","UiScrollService","RdfsLabelCommentService","$timeout","ModalService","bowser","LocalStorageAdapter","LSKeys","RDF4JRepositoriesRestService","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[124],{187:function(e,t){function r(){return{restrict:"AE",scope:{filterQueryObj:"=",filterFunction:"&",listItemsObj:"=",listItemsNotFiltered:"=",searchPlaceholder:"@"},templateUrl:"js/angular/graphexplore/templates/listItemsSearchFilterTemplate.html",link:function(e){e.filterFunction=e.filterFunction(),e.$watch("filterQueryObj.query",(function(){var t,r,i,l;e.listItemsObj.items=(t=e.filterQueryObj.query,r=e.listItemsObj.items,i=e.listItemsNotFiltered,l=e.filterFunction,t.length>0?_.filter(i,l):r.length!==i.length?i:r)}))}}}angular.module("graphdb.framework.graphexplore.directives.searchfilter",[]).directive("listItemsSearchFilter",r),r.$inject=[]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[144],{212:function(e,t){function r(){return{restrict:"AE",scope:{filterQueryObj:"=",filterFunction:"&",listItemsObj:"=",listItemsNotFiltered:"=",searchPlaceholder:"@"},templateUrl:"js/angular/graphexplore/templates/listItemsSearchFilterTemplate.html",link:function(e){e.filterFunction=e.filterFunction(),e.$watch("filterQueryObj.query",(function(){var t,r,i,l;e.listItemsObj.items=(t=e.filterQueryObj.query,r=e.listItemsObj.items,i=e.listItemsNotFiltered,l=e.filterFunction,t.length>0?_.filter(i,l):r.length!==i.length?i:r)}))}}}angular.module("graphdb.framework.graphexplore.directives.searchfilter",[]).directive("listItemsSearchFilter",r),r.$inject=[]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[125],{185:function(e,n){function t(e){return{restrict:"AE",scope:{rdfsLabel:"=",rdfsComment:"=",expanded:"=",alwaysExpanded:"="},templateUrl:"js/angular/graphexplore/templates/rdfsCommentLabelTemplate.html",link:function(n,t){n.stringLimit=e,n.scrollToTop=function(){t[0].getElementsByClassName("rdfs-comment")[0].scrollTop=0},n.checkCommentLength=function(){return t[0].getElementsByClassName("rdfs-comment-text")[0].innerText.length<e},n.equalHeights=function(){const e=t[0].getElementsByClassName("rdfs-comment-text")[0].innerHeight;e<250&&n.expanded&&(t[0].getElementsByClassName("rdfs-comment")[0].innerHeight=e)},n.toggleFullComment=function(){n.expanded=!n.expanded},n.$watch("expanded || alwaysExpanded",(function(t){n.stringLimit=t?n.rdfsComment.length:e}))}}}angular.module("graphdb.framework.graphexplore.directives.rdfsdetails",[]).directive("rdfsCommentLabel",t).constant("SHORT_COMMENT_LENGTH",100),t.$inject=["SHORT_COMMENT_LENGTH"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{210:function(e,n){function t(e){return{restrict:"AE",scope:{rdfsLabel:"=",rdfsComment:"=",expanded:"=",alwaysExpanded:"="},templateUrl:"js/angular/graphexplore/templates/rdfsCommentLabelTemplate.html",link:function(n,t){n.stringLimit=e,n.scrollToTop=function(){t[0].getElementsByClassName("rdfs-comment")[0].scrollTop=0},n.checkCommentLength=function(){return t[0].getElementsByClassName("rdfs-comment-text")[0].innerText.length<e},n.equalHeights=function(){const e=t[0].getElementsByClassName("rdfs-comment-text")[0].innerHeight;e<250&&n.expanded&&(t[0].getElementsByClassName("rdfs-comment")[0].innerHeight=e)},n.toggleFullComment=function(){n.expanded=!n.expanded},n.$watch("expanded || alwaysExpanded",(function(t){n.stringLimit=t?n.rdfsComment.length:e}))}}}angular.module("graphdb.framework.graphexplore.directives.rdfsdetails",[]).directive("rdfsCommentLabel",t).constant("SHORT_COMMENT_LENGTH",100),t.$inject=["SHORT_COMMENT_LENGTH"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[126],{188:function(e,n){function c(e,n){return{restrict:"AE",scope:{searchData:"=",searchFields:"@",titleField:"@",searchPlaceholder:"@",initialValue:"=",searchedObjCallback:"&"},templateUrl:"js/angular/graphexplore/templates/searchIconInputTemplate.html",link:function(c,s){c.searchedObjCallback=c.searchedObjCallback(),c.performSearchActionOnEnter=function(){e.$broadcast("onEnterKeypressSearchAction")},c.showInput=function(){$("#selectGraphDropdown").hide(),s.find("#search_input #search_input_value")[0].value="",s.find(".search-icon").addClass("animated bounceOut").css("z-index","-1"),s.find("#search_input .angucomplete-holder").css("display","block"),n((function(){s.find("#search_input .angucomplete-holder").css("width","250px").css("left","-215px"),n((function(){s.find(".close-icon").css("display","block").addClass("animated bounceIn").css("z-index","3"),s.find("#search_input #search_input_value").focus()}),200)}),1)},c.hideInput=function(){s.find("#search_input #search_input_value")[0].value="",s.find("#search_input .angucomplete-holder").css("width","0px").css("left","35px"),n((function(){s.find("#search_input .angucomplete-holder").css("display","none"),$("#selectGraphDropdown").show()}),250),s.find(".close-icon").addClass("animated bounceOut").removeClass("bounceOut").css("z-index","-1").css("display","none").click((function(){$(".tooltip").hide()})),n((function(){s.find(".search-icon").css("display","inline-block").removeClass("bounceOut").addClass("bounceIn").css("z-index","3")}),200)}}}}angular.module("graphdb.framework.graphexplore.directives.searchcontrols",[]).directive("searchIconInput",c),c.$inject=["$rootScope","$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{213:function(e,n){function c(e,n){return{restrict:"AE",scope:{searchData:"=",searchFields:"@",titleField:"@",searchPlaceholder:"@",initialValue:"=",searchedObjCallback:"&"},templateUrl:"js/angular/graphexplore/templates/searchIconInputTemplate.html",link:function(c,s){c.searchedObjCallback=c.searchedObjCallback(),c.performSearchActionOnEnter=function(){e.$broadcast("onEnterKeypressSearchAction")},c.showInput=function(){$("#selectGraphDropdown").hide(),s.find("#search_input #search_input_value")[0].value="",s.find(".search-icon").addClass("animated bounceOut").css("z-index","-1"),s.find("#search_input .angucomplete-holder").css("display","block"),n((function(){s.find("#search_input .angucomplete-holder").css("width","250px").css("left","-215px"),n((function(){s.find(".close-icon").css("display","block").addClass("animated bounceIn").css("z-index","3"),s.find("#search_input #search_input_value").focus()}),200)}),1)},c.hideInput=function(){s.find("#search_input #search_input_value")[0].value="",s.find("#search_input .angucomplete-holder").css("width","0px").css("left","35px"),n((function(){s.find("#search_input .angucomplete-holder").css("display","none"),$("#selectGraphDropdown").show()}),250),s.find(".close-icon").addClass("animated bounceOut").removeClass("bounceOut").css("z-index","-1").css("display","none").click((function(){$(".tooltip").hide()})),n((function(){s.find(".search-icon").css("display","inline-block").removeClass("bounceOut").addClass("bounceIn").css("z-index","3")}),200)}}}}angular.module("graphdb.framework.graphexplore.directives.searchcontrols",[]).directive("searchIconInput",c),c.$inject=["$rootScope","$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[127],{184:function(e,r){function o(e,r){return{restrict:"A",scope:{},templateUrl:"js/angular/graphexplore/templates/systemRepoWarningTemplate.html",link:function(o){o.isSystemRepository=function(){return"SYSTEM"===e.getActiveRepository()},o.hasPermission=function(){return r.hasPermission()}}}}angular.module("graphdb.framework.graphexplore.directives.sysrepo",["graphdb.framework.graphexplore.controllers.class"]).directive("systemRepoWarning",o),o.$inject=["$repositories","$rootScope"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{209:function(e,r){function o(e,r){return{restrict:"A",scope:{},templateUrl:"js/angular/graphexplore/templates/systemRepoWarningTemplate.html",link:function(o){o.isSystemRepository=function(){return"SYSTEM"===e.getActiveRepository()},o.hasPermission=function(){return r.hasPermission()}}}}angular.module("graphdb.framework.graphexplore.directives.sysrepo",["graphdb.framework.graphexplore.controllers.class"]).directive("systemRepoWarning",o),o.$inject=["$repositories","$rootScope"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[128],{266:function(e,a){PluginRegistry.add("route",[{url:"/hierarchy",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"hierarchy",controller:"RdfClassHierarchyCtlr",templateUrl:"pages/rdfClassHierarchyInfo.html",title:"view.class.hierarchy.title",reloadOnSearch:!1,helpInfo:"view.class.hierarchy.helpInfo"},{url:"/domain-range-graph",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"domain-range-graph",controller:"DomainRangeGraphCtlr",templateUrl:"pages/domainRangeInfo.html",title:"view.domain.range.graph.title",helpInfo:"view.domain.range.graph.helpInfo"},{url:"/relationships",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"relationships",controller:"DependenciesChordCtrl",templateUrl:"pages/dependencies.html",title:"view.class.relationships.title",helpInfo:"view.class.relationships.helpInfo"},{url:"/graphs-visualizations",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graphs-visualizations",controller:"GraphsVisualizationsCtrl",templateUrl:"pages/graphs-visualizations.html",title:"visual.graph.label",reloadOnSearch:!1,helpInfo:"view.visual.graph.helpInfo"},{url:"/graphs-visualizations/config/save/:configName?",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graph-config",controller:"GraphConfigCtrl",templateUrl:"pages/graph-config/saveGraphConfig.html",title:"view.create.visual.graph.title",helpInfo:"view.create.visual.graph.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Class relationships",labelKey:"menu.class.relationships.label",href:"relationships",order:2,parent:"Explore",guideSelector:"sub-menu-class-relationships"},{label:"Class hierarchy",labelKey:"menu.class.hierarchy.label",href:"hierarchy",order:1,parent:"Explore",guideSelector:"menu-class-hierarchy"},{label:"Visual graph",labelKey:"visual.graph.label",href:"graphs-visualizations",order:5,parent:"Explore",children:[{href:"graphs-visualizations/config/save",children:[]}],guideSelector:"sub-menu-visual-graph"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[148],{297:function(e,a){PluginRegistry.add("route",[{url:"/hierarchy",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"hierarchy",controller:"RdfClassHierarchyCtlr",templateUrl:"pages/rdfClassHierarchyInfo.html",title:"view.class.hierarchy.title",reloadOnSearch:!1,helpInfo:"view.class.hierarchy.helpInfo"},{url:"/domain-range-graph",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"domain-range-graph",controller:"DomainRangeGraphCtlr",templateUrl:"pages/domainRangeInfo.html",title:"view.domain.range.graph.title",helpInfo:"view.domain.range.graph.helpInfo"},{url:"/relationships",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"relationships",controller:"DependenciesChordCtrl",templateUrl:"pages/dependencies.html",title:"view.class.relationships.title",helpInfo:"view.class.relationships.helpInfo"},{url:"/graphs-visualizations",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graphs-visualizations",controller:"GraphsVisualizationsCtrl",templateUrl:"pages/graphs-visualizations.html",title:"visual.graph.label",reloadOnSearch:!1,helpInfo:"view.visual.graph.helpInfo"},{url:"/graphs-visualizations/config/save/:configName?",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graph-config",controller:"GraphConfigCtrl",templateUrl:"pages/graph-config/saveGraphConfig.html",title:"view.create.visual.graph.title",helpInfo:"view.create.visual.graph.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Class relationships",labelKey:"menu.class.relationships.label",href:"relationships",order:2,parent:"Explore",guideSelector:"sub-menu-class-relationships"},{label:"Class hierarchy",labelKey:"menu.class.hierarchy.label",href:"hierarchy",order:1,parent:"Explore",guideSelector:"menu-class-hierarchy"},{label:"Visual graph",labelKey:"visual.graph.label",href:"graphs-visualizations",order:5,parent:"Explore",children:[{href:"graphs-visualizations/config/save",children:[]}],guideSelector:"sub-menu-visual-graph"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[129],{174:function(e,n){angular.module("graphdb.framework.graphexplore.services.rdfsdetails",[]).factory("RdfsLabelCommentService",(function(){return{processAndFilterLabelAndComment:function(e){function n(e){const n={};for(let r in e)if(e.hasOwnProperty(r)){let a=r;r.indexOf(":")>-1&&(a=r,r=r.split(":")[1].toLowerCase()),n[r]=e[a]}return n}const r=e.results.bindings,a=[],t=[];_.each(r,(function(e){let r;angular.isUndefined(e.label)||(r=n(e.label),a.push(r)),angular.isUndefined(e.comment)||(r=n(e.comment),t.push(r))}));const l=function(e){return"en"===e.lang||"de"===e.lang},o=$.grep(a,l)[0],i=$.grep(t,l)[0],s=angular.isUndefined(o)?a.length>0?a[0].value:void 0:o.value,d=angular.isUndefined(i)?t.length>0?t[0].value:void 0:i.value;return{rdfsLabel:s,rdfsComment:d}}}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{199:function(e,n){angular.module("graphdb.framework.graphexplore.services.rdfsdetails",[]).factory("RdfsLabelCommentService",(function(){return{processAndFilterLabelAndComment:function(e){function n(e){const n={};for(let r in e)if(e.hasOwnProperty(r)){let a=r;r.indexOf(":")>-1&&(a=r,r=r.split(":")[1].toLowerCase()),n[r]=e[a]}return n}const r=e.results.bindings,a=[],t=[];_.each(r,(function(e){let r;angular.isUndefined(e.label)||(r=n(e.label),a.push(r)),angular.isUndefined(e.comment)||(r=n(e.comment),t.push(r))}));const l=function(e){return"en"===e.lang||"de"===e.lang},o=$.grep(a,l)[0],i=$.grep(t,l)[0],s=angular.isUndefined(o)?a.length>0?a[0].value:void 0:o.value,d=angular.isUndefined(i)?t.length>0?t[0].value:void 0:i.value;return{rdfsLabel:s,rdfsComment:d}}}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13,145,149],{104:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return i}));var r=s(68),o=s(27);class i{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new i,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(o.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(o.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},128:function(e,t){function s(e,t,s,r,o){e.message=o,e.close=()=>{t.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{r.success(s.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",s),s.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},204:function(e,t,s){"use strict";s.r(t);s(128);var r=s(68),o=s(73);function i(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:t=>{t.ImportResourceStatus=r.ImportResourceStatus,t.toTitleCase=e=>o.toTitleCase(e),t.showMessage=t=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return t?t.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",i),i.$inject=["$uibModal"]},205:function(e,t){function s(e,t){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:s=>{const r=[];s.popoverTemplate="resourceStatusInfoTemplate.html",s.popoverIsOpen=!1,s.context=s.resource.importResource.context,s.replaceGraphs=s.resource.importResource.replaceGraphs,s.baseUrl=decodeURIComponent(s.resource.importResource.baseURI),s.forceSerial=s.resource.importResource.forceSerial,s.importedOn=s.resource.importResource.importedOn,s.parserSettings=s.resource.importResource.parserSettings,s.open=()=>{s.closeAllDialogs(),s.popoverIsOpen=!0},s.closeAllDialogs=()=>{e.$broadcast("closePopovers")},s.close=()=>{s.popoverIsOpen=!1};const o=e=>{"Escape"===e.key&&s.$apply(()=>{s.close()})};r.push(s.$on("closePopovers",s.close)),t.on("keydown",o),s.$on("$destroy",()=>{t.off("keydown",o),r.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",s),s.$inject=["$rootScope","$document"]},206:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(77),o=s(104),i=s(68);const c=30,a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-file");const n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-upload"),n.set(r.ImportResourceType.URL,"icon-link"),n.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new o.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let i;i=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,i);if(t.isFile()){const e=new o.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?n.get(e.importResource.type):a.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==i.ImportResourceStatus.IMPORTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.PENDING&&e.status!==i.ImportResourceStatus.INTERRUPTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.UPLOADED&&e.status!==i.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===i.ImportResourceStatus.IMPORTING||e.status===i.ImportResourceStatus.UPLOADING||e.status===i.ImportResourceStatus.PENDING||e.status===i.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===i.ImportResourceStatus.DONE||e.status===i.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},243:function(e,t,s){"use strict";s.r(t);var r=s(68),o=(s(204),s(205),s(127)),i=s(104),c=s(78),a=s(206),n=s(19);const u={FILE:"FILE",DIRECTORY:"DIRECTORY",ALL:"ALL"},l={ALL:"ALL",NONE:"NONE",IMPORTED:"IMPORTED",NOT_IMPORTED:"NOT_IMPORTED"};function p(e,t){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-tree.html",scope:{columnKeys:"=",showTypeFilter:"=",sortBy:"=",asc:"=",onImport:"&",onImportAll:"&",onReset:"&",onRemove:"&",onStopImport:"&",onEditResource:"&"},link:(s,p,m)=>{s.resources=new i.ImportResourceTreeElement,s.displayResources=[],s.TYPE_FILTER_OPTIONS=u,s.filterByType=u.ALL,s.filterByFileName="",s.STATUS_OPTIONS=l,s.selectedByStatus=void 0,s.areAllDisplayedImportResourcesSelected=!1,s.areAllDisplayedImportResourcesPartialSelected=!1,s.ImportResourceStatus=r.ImportResourceStatus,s.canRemoveResource=angular.isDefined(m.onRemove),s.canResetSelectedResources=!1,s.SORTING_TYPES=o.SortingType,s.sortAsc=!angular.isDefined(m.asc)||s.asc,s.sortedBy=s.sortBy,s.showLoader=t.getShowLoader(),s.hasSelection=!1,s.selectionChanged=e=>{e.setSelection(e.selected),I(),d(),R()},s.selectResourceWithStatus=e=>{s.selectedByStatus=e,s.resources.setSelection(!1),l.ALL===s.selectedByStatus?s.resources.setSelection(!0):l.IMPORTED===s.selectedByStatus?s.resources.selectAllWithStatus([r.ImportResourceStatus.DONE]):l.NOT_IMPORTED===s.selectedByStatus&&s.resources.selectAllWithStatus([r.ImportResourceStatus.IMPORTING,r.ImportResourceStatus.NONE,r.ImportResourceStatus.ERROR,r.ImportResourceStatus.PENDING,r.ImportResourceStatus.INTERRUPTING]),h(),d()},s.filterByTypeChanged=e=>{s.filterByType=e,h()},s.filterByFileNameChanged=e=>{s.filterByFileName=e,D(h,100)},s.onResetStatus=()=>{const e=s.resources.getAllSelected().map(e=>e.path);e.length>0&&s.onReset({resources:e})},s.resetStatus=e=>{s.onReset({resources:[e.path]})},s.onRemoveResources=()=>{const e=s.resources.getAllSelected();e&&e.length>0&&s.onRemove({resources:e})},s.removeResource=e=>{s.onRemove({resources:[e]})},s.importAll=e=>{const t=s.resources.getAllSelectedForImport();t.length>0&&s.onImportAll({selectedResources:t,withoutChangingSettings:e})},s.stopImport=e=>{s.onStopImport({resource:e})},s.sort=e=>{s.sortedBy===e?s.sortAsc=!s.sortAsc:s.sortAsc=!0,s.sortedBy=e,h()},s.editResource=e=>{s.onEditResource({resource:e})};const d=()=>{s.canResetSelectedResources=s.resources.getSelectedImportedResources()},h=()=>{s.resources.getRoot().updateSelectionState(),g(),s.displayResources=s.resources.toList().filter(A).filter(O),R(),I()},R=()=>{const e=s.resources.getAllSelectedFilesNames();s.hasSelection=e.length>0,t.updateSelectedFilesNames(e)},I=()=>{const e=s.displayResources.some(e=>!e.selected),t=s.displayResources.some(e=>e.selected);s.areAllDisplayedImportResourcesSelected=t&&!e,s.areAllDisplayedImportResourcesPartialSelected=t&&e},g=()=>{o.SortingType.NAME===s.sortedBy?s.resources.sort(f(s.sortAsc)):o.SortingType.SIZE===s.sortedBy?s.resources.sort(S(s.sortAsc)):o.SortingType.MODIFIED===s.sortedBy?s.resources.sort(T(s.sortAsc)):o.SortingType.IMPORTED===s.sortedBy?s.resources.sort(E(s.sortAsc)):o.SortingType.CONTEXT===s.sortedBy&&s.resources.sort(y(s.sortAsc))},f=e=>(t,s)=>e?t.importResource.name.localeCompare(s.importResource.name):s.importResource.name.localeCompare(t.importResource.name),S=e=>(t,s)=>{const r=Object(n.convertToBytes)(t.importResource.size),o=Object(n.convertToBytes)(s.importResource.size);return e?r-o:o-r},T=e=>(t,s)=>{const r=t.importResource.modifiedOn||Number.MAX_VALUE,o=s.importResource.modifiedOn||Number.MAX_VALUE;return e?r-o:o-r},E=e=>(t,s)=>{const r=t.importResource.importedOn||Number.MAX_VALUE,o=s.importResource.importedOn||Number.MAX_VALUE;return e?r-o:o-r},y=e=>(t,s)=>e?t.importResource.context.localeCompare(s.importResource.context):s.importResource.context.localeCompare(t.importResource.context),A=e=>u.ALL===s.filterByType||(s.filterByType===u.FILE?e.isFile():s.filterByType===u.DIRECTORY&&e.isDirectory()),O=e=>!s.filterByFileName||(s.filterByType===u.DIRECTORY?e.hasTextInDirectoriesName(s.filterByFileName):s.filterByType===u.FILE?e.hasTextInFilesName(s.filterByFileName):e.hasTextInResourcesName(s.filterByFileName));let N;const D=(t,s)=>{N&&e.cancel(N),N=e(t,s)},C=[];C.push(t.onResourcesUpdated((e=[])=>{const r=c.TABS.USER===t.getActiveTabId();s.resources.isEmpty()?(s.resources=a.ImportResourceTreeService.toImportResourceTree(e,r),r&&(s.sortedBy=o.SortingType.MODIFIED)):a.ImportResourceTreeService.mergeResourceTree(s.resources,e,r),a.ImportResourceTreeService.calculateElementIndent(s.resources),a.ImportResourceTreeService.setupAfterTreeInitProperties(s.resources),h(),d()})),C.push(t.onShowLoaderUpdated(e=>s.showLoader=e)),C.push(t.onActiveTabIdUpdated(()=>s.resources=new i.ImportResourceTreeElement));s.$on("$destroy",()=>{C.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-tree",["graphdb.framework.import.directives.import-resource-message","graphdb.framework.import.directives.import-resource-status-info"]).directive("importResourceTree",p),p.$inject=["$timeout","ImportContextService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15,165,169],{120:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return i}));var r=s(71),o=s(30);class i{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new i,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(o.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(o.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},150:function(e,t){function s(e,t,s,r,o){e.message=o,e.close=()=>{t.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{r.success(s.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",s),s.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},229:function(e,t,s){"use strict";s.r(t);s(150);var r=s(71),o=s(83);function i(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:t=>{t.ImportResourceStatus=r.ImportResourceStatus,t.toTitleCase=e=>o.toTitleCase(e),t.showMessage=t=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return t?t.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",i),i.$inject=["$uibModal"]},230:function(e,t){function s(e,t){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:s=>{const r=[];s.popoverTemplate="resourceStatusInfoTemplate.html",s.popoverIsOpen=!1,s.context=s.resource.importResource.context,s.replaceGraphs=s.resource.importResource.replaceGraphs,s.baseUrl=decodeURIComponent(s.resource.importResource.baseURI),s.forceSerial=s.resource.importResource.forceSerial,s.importedOn=s.resource.importResource.importedOn,s.parserSettings=s.resource.importResource.parserSettings,s.open=()=>{s.closeAllDialogs(),s.popoverIsOpen=!0},s.closeAllDialogs=()=>{e.$broadcast("closePopovers")},s.close=()=>{s.popoverIsOpen=!1};const o=e=>{"Escape"===e.key&&s.$apply(()=>{s.close()})};r.push(s.$on("closePopovers",s.close)),t.on("keydown",o),s.$on("$destroy",()=>{t.off("keydown",o),r.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",s),s.$inject=["$rootScope","$document"]},231:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(87),o=s(120),i=s(71);const c=30,a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-file");const n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-upload"),n.set(r.ImportResourceType.URL,"icon-link"),n.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new o.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let i;i=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,i);if(t.isFile()){const e=new o.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?n.get(e.importResource.type):a.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==i.ImportResourceStatus.IMPORTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.PENDING&&e.status!==i.ImportResourceStatus.INTERRUPTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.UPLOADED&&e.status!==i.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===i.ImportResourceStatus.IMPORTING||e.status===i.ImportResourceStatus.UPLOADING||e.status===i.ImportResourceStatus.PENDING||e.status===i.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===i.ImportResourceStatus.DONE||e.status===i.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},276:function(e,t,s){"use strict";s.r(t);var r=s(71),o=(s(229),s(230),s(149)),i=s(120),c=s(89),a=s(231),n=s(22);const u={FILE:"FILE",DIRECTORY:"DIRECTORY",ALL:"ALL"},l={ALL:"ALL",NONE:"NONE",IMPORTED:"IMPORTED",NOT_IMPORTED:"NOT_IMPORTED"};function p(e,t){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-tree.html",scope:{columnKeys:"=",showTypeFilter:"=",sortBy:"=",asc:"=",onImport:"&",onImportAll:"&",onReset:"&",onRemove:"&",onStopImport:"&",onEditResource:"&"},link:(s,p,m)=>{s.resources=new i.ImportResourceTreeElement,s.displayResources=[],s.TYPE_FILTER_OPTIONS=u,s.filterByType=u.ALL,s.filterByFileName="",s.STATUS_OPTIONS=l,s.selectedByStatus=void 0,s.areAllDisplayedImportResourcesSelected=!1,s.areAllDisplayedImportResourcesPartialSelected=!1,s.ImportResourceStatus=r.ImportResourceStatus,s.canRemoveResource=angular.isDefined(m.onRemove),s.canResetSelectedResources=!1,s.SORTING_TYPES=o.SortingType,s.sortAsc=!angular.isDefined(m.asc)||s.asc,s.sortedBy=s.sortBy,s.showLoader=t.getShowLoader(),s.hasSelection=!1,s.selectionChanged=e=>{e.setSelection(e.selected),I(),d(),R()},s.selectResourceWithStatus=e=>{s.selectedByStatus=e,s.resources.setSelection(!1),l.ALL===s.selectedByStatus?s.resources.setSelection(!0):l.IMPORTED===s.selectedByStatus?s.resources.selectAllWithStatus([r.ImportResourceStatus.DONE]):l.NOT_IMPORTED===s.selectedByStatus&&s.resources.selectAllWithStatus([r.ImportResourceStatus.IMPORTING,r.ImportResourceStatus.NONE,r.ImportResourceStatus.ERROR,r.ImportResourceStatus.PENDING,r.ImportResourceStatus.INTERRUPTING]),h(),d()},s.filterByTypeChanged=e=>{s.filterByType=e,h()},s.filterByFileNameChanged=e=>{s.filterByFileName=e,D(h,100)},s.onResetStatus=()=>{const e=s.resources.getAllSelected().map(e=>e.path);e.length>0&&s.onReset({resources:e})},s.resetStatus=e=>{s.onReset({resources:[e.path]})},s.onRemoveResources=()=>{const e=s.resources.getAllSelected();e&&e.length>0&&s.onRemove({resources:e})},s.removeResource=e=>{s.onRemove({resources:[e]})},s.importAll=e=>{const t=s.resources.getAllSelectedForImport();t.length>0&&s.onImportAll({selectedResources:t,withoutChangingSettings:e})},s.stopImport=e=>{s.onStopImport({resource:e})},s.sort=e=>{s.sortedBy===e?s.sortAsc=!s.sortAsc:s.sortAsc=!0,s.sortedBy=e,h()},s.editResource=e=>{s.onEditResource({resource:e})};const d=()=>{s.canResetSelectedResources=s.resources.getSelectedImportedResources()},h=()=>{s.resources.getRoot().updateSelectionState(),g(),s.displayResources=s.resources.toList().filter(A).filter(O),R(),I()},R=()=>{const e=s.resources.getAllSelectedFilesNames();s.hasSelection=e.length>0,t.updateSelectedFilesNames(e)},I=()=>{const e=s.displayResources.some(e=>!e.selected),t=s.displayResources.some(e=>e.selected);s.areAllDisplayedImportResourcesSelected=t&&!e,s.areAllDisplayedImportResourcesPartialSelected=t&&e},g=()=>{o.SortingType.NAME===s.sortedBy?s.resources.sort(f(s.sortAsc)):o.SortingType.SIZE===s.sortedBy?s.resources.sort(S(s.sortAsc)):o.SortingType.MODIFIED===s.sortedBy?s.resources.sort(T(s.sortAsc)):o.SortingType.IMPORTED===s.sortedBy?s.resources.sort(E(s.sortAsc)):o.SortingType.CONTEXT===s.sortedBy&&s.resources.sort(y(s.sortAsc))},f=e=>(t,s)=>e?t.importResource.name.localeCompare(s.importResource.name):s.importResource.name.localeCompare(t.importResource.name),S=e=>(t,s)=>{const r=Object(n.convertToBytes)(t.importResource.size),o=Object(n.convertToBytes)(s.importResource.size);return e?r-o:o-r},T=e=>(t,s)=>{const r=t.importResource.modifiedOn||Number.MAX_VALUE,o=s.importResource.modifiedOn||Number.MAX_VALUE;return e?r-o:o-r},E=e=>(t,s)=>{const r=t.importResource.importedOn||Number.MAX_VALUE,o=s.importResource.importedOn||Number.MAX_VALUE;return e?r-o:o-r},y=e=>(t,s)=>e?t.importResource.context.localeCompare(s.importResource.context):s.importResource.context.localeCompare(t.importResource.context),A=e=>u.ALL===s.filterByType||(s.filterByType===u.FILE?e.isFile():s.filterByType===u.DIRECTORY&&e.isDirectory()),O=e=>!s.filterByFileName||(s.filterByType===u.DIRECTORY?e.hasTextInDirectoriesName(s.filterByFileName):s.filterByType===u.FILE?e.hasTextInFilesName(s.filterByFileName):e.hasTextInResourcesName(s.filterByFileName));let N;const D=(t,s)=>{N&&e.cancel(N),N=e(t,s)},C=[];C.push(t.onResourcesUpdated((e=[])=>{const r=c.TABS.USER===t.getActiveTabId();s.resources.isEmpty()?(s.resources=a.ImportResourceTreeService.toImportResourceTree(e,r),r&&(s.sortedBy=o.SortingType.MODIFIED)):a.ImportResourceTreeService.mergeResourceTree(s.resources,e,r),a.ImportResourceTreeService.calculateElementIndent(s.resources),a.ImportResourceTreeService.setupAfterTreeInitProperties(s.resources),h(),d()})),C.push(t.onShowLoaderUpdated(e=>s.showLoader=e)),C.push(t.onActiveTabIdUpdated(()=>s.resources=new i.ImportResourceTreeElement));s.$on("$destroy",()=>{C.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-tree",["graphdb.framework.import.directives.import-resource-message","graphdb.framework.import.directives.import-resource-status-info"]).directive("importResourceTree",p),p.$inject=["$timeout","ImportContextService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[130],{173:function(n,i){function r(n){return{initLazyList:function(i,r,e,o,t){return n((function(){const n=i+o-1,c=Math.max(0-o,n),a=Math.min(n+r-1,t.length);c>a?e([]):$.isArray(t)&&e(t.slice(c,a+1))}),100,!0)}}}angular.module("graphdb.framework.graphexplore.services.uiscroll",[]).factory("UiScrollService",r),r.$inject=["$timeout"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[150],{198:function(n,i){function r(n){return{initLazyList:function(i,r,e,o,t){return n((function(){const n=i+o-1,c=Math.max(0-o,n),a=Math.min(n+r-1,t.length);c>a?e([]):$.isArray(t)&&e(t.slice(c,a+1))}),100,!0)}}}angular.module("graphdb.framework.graphexplore.services.uiscroll",[]).factory("UiScrollService",r),r.$inject=["$timeout"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{268:function(e,i){PluginRegistry.add("route",[{url:"/guides",module:"graphdb.framework.guides",path:"guides/app",templateUrl:"pages/guides.html",title:"view.guides.title",controller:"GuidesCtrl",helpInfo:"view.guides.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Guides",labelKey:"menu.guides.label",order:0,parent:"Help",icon:"paste",href:"guides",role:"ROLE_USER",guideSelector:"sub-menu-guide"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[151],{299:function(e,i){PluginRegistry.add("route",[{url:"/guides",module:"graphdb.framework.guides",path:"guides/app",templateUrl:"pages/guides.html",title:"view.guides.title",controller:"GuidesCtrl",helpInfo:"view.guides.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Guides",labelKey:"menu.guides.label",order:0,parent:"Help",icon:"paste",href:"guides",role:"ROLE_USER",guideSelector:"sub-menu-guide"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{269:function(e,t){const n=(e,t)=>(e.$location.path("/hierarchy").search({}),e.GuideUtils.waitFor(t,3).then(()=>(e.GuideUtils.classHierarchyFocus(t),e.GuideUtils.deferredShow(500)())));PluginRegistry.add("guide.step",[{guideBlockName:"class-hierarchy",getSteps:(e,t)=>{const n=t.GuideUtils;e.mainAction="class-hierarchy";const l=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"class-hierarchy",showIntro:!0},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class_hierarchy_intro.content",url:"/hierarchy",elementSelector:"#classChart",placement:"left"},e)}];return e.introExtraContent&&l.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"",extraContent:e.introExtraContent,url:"/hierarchy",elementSelector:"#classChart #main-group",class:"clas-hierarchy-intro-guide-dialog",placement:"left"},e)}),angular.isArray(e.zoomIris)&&e.zoomIris.forEach(t=>{const i=n.getGuideElementSelector("class-"+t.iri);l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class_hierarchy_zoom.content",url:"/hierarchy",placement:"left",elementSelector:i,class:"class-hierarchy-zoom-content-guide-dialog",onNextClick:(e,t)=>{n.classHierarchyZoom(t.elementSelector),e.next()}},e,t)}),t.postExtraContent&&l.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"",extraContent:t.postExtraContent,url:"/hierarchy",placement:"left",beforeShowPromise:n.deferredShow(800),elementSelector:i,class:"class-hierarchy-instances-guide-dialog"},e)})}),l}},{guideBlockName:"class-hierarchy-instances",getSteps:(e,t)=>{const l=t.GuideUtils,i=t.$location,a=t.$route;e.title="guide.step_plugin.class-hierarchy-instances.title";const s=l.getGuideElementSelector("close-info-panel"),c=l.getGuideElementSelector("class-"+e.iri),o=[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances.content",url:"/hierarchy",elementSelector:c,class:"class-hierarchy-instance-guide-dialog",placement:"top",onNextClick:e=>{l.classHierarchyFocus(c),e.next()},initPreviousStep:()=>l.isVisible(s)?Promise.resolve():n({$location:i,$route:a,GuideUtils:l},c)},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-side-panel.content",url:"/hierarchy",elementSelector:".rdf-info-side-panel div",class:"class-hierarchy-side-panel-info-guide-dialog",canBePaused:!1,placement:"left",beforeShowPromise:l.deferredShow(800),onPreviousClick:()=>new Promise((function(e){l.waitFor(s,1).then(()=>$(s).trigger("click")),e()}))},e)}];angular.isArray(e.focusInstances)&&e.focusInstances.forEach(t=>{angular.isObject(t)||(t={instance:t}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-focus.content",url:"/hierarchy",canBePaused:!1,elementSelector:l.getGuideElementSelector("instance-"+t.instance),class:"class-hierarchy-side-bar-instance-info-guide-dialog",focusInstance:t.instance,extraContent:t.message},e)})});const r=l.getGuideElementSelector("instances-count");return e.followCountLink&&(o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-count.content",url:"/hierarchy",canBePaused:!1,elementSelector:r,class:"class-hierarchy-side-panel-instances-count-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")),e.next()}},e)}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-query.content",url:"/sparql",elementSelector:l.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,beforeShowPromise:()=>l.waitFor(l.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,3).then(()=>l.deferredShow(500)()),class:"class-hierarchy-instances-query-guide-dialog",scrollToHandler:l.scrollToTop},e)}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-results.content",extraContent:!1!==e.showExtraCommentSparql?"guide.step_plugin.class-hierarchy-instances-results.extraContent":null,url:"/sparql",placement:"top",elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,class:"class-hierarchy-instances-results-guide-dialog",fileName:e.fileName,scrollToHandler:l.scrollToTop,onNextClick:e=>{window.history.back(),e.next()},initPreviousStep:()=>Promise.resolve()},e)})),o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-side-panel-close.content",url:"/hierarchy",canBePaused:!1,elementSelector:s,class:"class-hierarchy-side-panel-close-guide-dialog",placement:"left",beforeShowPromise:e.followCountLink?l.deferredShow(1500):Promise.resolve(),advanceOn:{selector:s,event:"click"},onNextClick:()=>l.waitFor(s,3).then(()=>$(s).trigger("click")),initPreviousStep:(t,s)=>t.ShepherdService.getCurrentStepId()===s&&e.followCountLink?l.waitFor(r,3).then(()=>($(r).trigger("click"),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,3).then(()=>l.deferredShow(50)()))):n({$location:i,$route:a,GuideUtils:l},c)},e)}),o}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[152],{300:function(e,t){const n=(e,t)=>(e.$location.path("/hierarchy").search({}),e.GuideUtils.waitFor(t,3).then(()=>(e.GuideUtils.classHierarchyFocus(t),e.GuideUtils.deferredShow(500)())));PluginRegistry.add("guide.step",[{guideBlockName:"class-hierarchy",getSteps:(e,t)=>{const n=t.GuideUtils;e.mainAction="class-hierarchy";const l=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"class-hierarchy",showIntro:!0},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class_hierarchy_intro.content",url:"/hierarchy",elementSelector:"#classChart",placement:"left"},e)}];return e.introExtraContent&&l.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"",extraContent:e.introExtraContent,url:"/hierarchy",elementSelector:"#classChart #main-group",class:"clas-hierarchy-intro-guide-dialog",placement:"left"},e)}),angular.isArray(e.zoomIris)&&e.zoomIris.forEach(t=>{const i=n.getGuideElementSelector("class-"+t.iri);l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class_hierarchy_zoom.content",url:"/hierarchy",placement:"left",elementSelector:i,class:"class-hierarchy-zoom-content-guide-dialog",onNextClick:(e,t)=>{n.classHierarchyZoom(t.elementSelector),e.next()}},e,t)}),t.postExtraContent&&l.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"",extraContent:t.postExtraContent,url:"/hierarchy",placement:"left",beforeShowPromise:n.deferredShow(800),elementSelector:i,class:"class-hierarchy-instances-guide-dialog"},e)})}),l}},{guideBlockName:"class-hierarchy-instances",getSteps:(e,t)=>{const l=t.GuideUtils,i=t.$location,a=t.$route;e.title="guide.step_plugin.class-hierarchy-instances.title";const s=l.getGuideElementSelector("close-info-panel"),c=l.getGuideElementSelector("class-"+e.iri),o=[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances.content",url:"/hierarchy",elementSelector:c,class:"class-hierarchy-instance-guide-dialog",placement:"top",onNextClick:e=>{l.classHierarchyFocus(c),e.next()},initPreviousStep:()=>l.isVisible(s)?Promise.resolve():n({$location:i,$route:a,GuideUtils:l},c)},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-side-panel.content",url:"/hierarchy",elementSelector:".rdf-info-side-panel div",class:"class-hierarchy-side-panel-info-guide-dialog",canBePaused:!1,placement:"left",beforeShowPromise:l.deferredShow(800),onPreviousClick:()=>new Promise((function(e){l.waitFor(s,1).then(()=>$(s).trigger("click")),e()}))},e)}];angular.isArray(e.focusInstances)&&e.focusInstances.forEach(t=>{angular.isObject(t)||(t={instance:t}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-focus.content",url:"/hierarchy",canBePaused:!1,elementSelector:l.getGuideElementSelector("instance-"+t.instance),class:"class-hierarchy-side-bar-instance-info-guide-dialog",focusInstance:t.instance,extraContent:t.message},e)})});const r=l.getGuideElementSelector("instances-count");return e.followCountLink&&(o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-count.content",url:"/hierarchy",canBePaused:!1,elementSelector:r,class:"class-hierarchy-side-panel-instances-count-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")),e.next()}},e)}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-query.content",url:"/sparql",elementSelector:l.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,beforeShowPromise:()=>l.waitFor(l.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,3).then(()=>l.deferredShow(500)()),class:"class-hierarchy-instances-query-guide-dialog",scrollToHandler:l.scrollToTop},e)}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-results.content",extraContent:!1!==e.showExtraCommentSparql?"guide.step_plugin.class-hierarchy-instances-results.extraContent":null,url:"/sparql",placement:"top",elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,class:"class-hierarchy-instances-results-guide-dialog",fileName:e.fileName,scrollToHandler:l.scrollToTop,onNextClick:e=>{window.history.back(),e.next()},initPreviousStep:()=>Promise.resolve()},e)})),o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-side-panel-close.content",url:"/hierarchy",canBePaused:!1,elementSelector:s,class:"class-hierarchy-side-panel-close-guide-dialog",placement:"left",beforeShowPromise:e.followCountLink?l.deferredShow(1500):Promise.resolve(),advanceOn:{selector:s,event:"click"},onNextClick:()=>l.waitFor(s,3).then(()=>$(s).trigger("click")),initPreviousStep:(t,s)=>t.ShepherdService.getCurrentStepId()===s&&e.followCountLink?l.waitFor(r,3).then(()=>($(r).trigger("click"),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,3).then(()=>l.deferredShow(50)()))):n({$location:i,$route:a,GuideUtils:l},c)},e)}),o}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{270:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"create-repository",getSteps:(e,t)=>{const o=t.GuideUtils;e.mainAction="create-repository";const r=o.getGuideElementSelector("graphDBRepositoryIdInput"),i=e.repositoryId,n=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"repositories",showIntro:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.create_repository_button.content",class:"create-repository-guide-dialog",url:"/repository",elementSelector:o.getGuideElementSelector("createRepository"),onNextClick:e=>o.clickOnGuideElement("createRepository")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.graph_db_repository.content",class:"create-gdb-repository-guide-dialog",url:"/repository/create",elementSelector:o.getGuideElementSelector("createGraphDBRepository"),onNextClick:o.clickOnGuideElement("createGraphDBRepository")},e)},{guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.repository_id.content",class:"gdb-repository-id-input-guide-dialog",url:"/repository/create/graphdb",elementSelector:r,onNextValidate:()=>Promise.resolve(o.validateTextInput(r,i))},e)}];return e.rulesetName&&n.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.ruleset_dropdown.content",url:"/repository/create/graphdb",class:"gdb-repository-ruleset-select-guide-dialog",elementSelector:o.getGuideElementSelector("graphDBRepositoryRulesetSelect"),show:()=>()=>{o.validateTextInput(r,i)},rulesetName:e.rulesetName},e)}),n.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.save_button.content",url:"/repository/create/graphdb",class:"create-repository-button-guide-dialog",elementSelector:o.getGuideElementSelector("graphDBRepositoryCrateButton"),show:()=>()=>{o.validateTextInput(r,i)},onNextClick:o.clickOnGuideElement("graphDBRepositoryCrateButton")},e)}),n}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[153],{301:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"create-repository",getSteps:(e,t)=>{const o=t.GuideUtils;e.mainAction="create-repository";const r=o.getGuideElementSelector("graphDBRepositoryIdInput"),i=e.repositoryId,n=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"repositories",showIntro:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.create_repository_button.content",class:"create-repository-guide-dialog",url:"/repository",elementSelector:o.getGuideElementSelector("createRepository"),onNextClick:e=>o.clickOnGuideElement("createRepository")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.graph_db_repository.content",class:"create-gdb-repository-guide-dialog",url:"/repository/create",elementSelector:o.getGuideElementSelector("createGraphDBRepository"),onNextClick:o.clickOnGuideElement("createGraphDBRepository")},e)},{guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.repository_id.content",class:"gdb-repository-id-input-guide-dialog",url:"/repository/create/graphdb",elementSelector:r,onNextValidate:()=>Promise.resolve(o.validateTextInput(r,i))},e)}];return e.rulesetName&&n.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.ruleset_dropdown.content",url:"/repository/create/graphdb",class:"gdb-repository-ruleset-select-guide-dialog",elementSelector:o.getGuideElementSelector("graphDBRepositoryRulesetSelect"),show:()=>()=>{o.validateTextInput(r,i)},rulesetName:e.rulesetName},e)}),n.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.save_button.content",url:"/repository/create/graphdb",class:"create-repository-button-guide-dialog",elementSelector:o.getGuideElementSelector("graphDBRepositoryCrateButton"),show:()=>()=>{o.validateTextInput(r,i)},onNextClick:o.clickOnGuideElement("graphDBRepositoryCrateButton")},e)}),n}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{271:function(e,o){PluginRegistry.add("guide.step",[{guideBlockName:"download-guide-resource",getSteps:(e,o)=>({guideBlockName:"info-message",options:angular.extend({},{title:"guide.step_plugin.download-guide-resource.title",content:"guide.step_plugin.download-guide-resource.content",canBePaused:!0,forceReload:!0,resourceUrl:o.GuideUtils.toResourceDownloadUrl(e)},e)})}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[154],{302:function(e,o){PluginRegistry.add("guide.step",[{guideBlockName:"download-guide-resource",getSteps:(e,o)=>({guideBlockName:"info-message",options:angular.extend({},{title:"guide.step_plugin.download-guide-resource.title",content:"guide.step_plugin.download-guide-resource.content",canBePaused:!0,forceReload:!0,resourceUrl:o.GuideUtils.toResourceDownloadUrl(e)},e)})}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{272:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"enable-autocomplete",getSteps:(e,t)=>{const o=t.GuideUtils;e.mainAction="enable-autocomplete";const n=o.getGuideElementSelector("autocompleteCheckbox");return[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"autocomplete",showIntro:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.enable-autocomplete.content",url:"/autocomplete",elementSelector:n,class:"enable-autocomplete-checkbox-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>o.deferredShow(500)(),show:e=>()=>{$(n).on("mouseup.autocompleteCheckboxClick",(function(){o.deferredShow(20)().then(()=>{o.isGuideElementChecked("autocompleteCheckbox"," input")&&e.next()})}))},onNextClick:e=>{o.isGuideElementChecked("autocompleteCheckbox"," input")||$(n).trigger("click"),e.next()},hide:()=>()=>{$(n).off("mouseup.autocompleteCheckboxClick")}},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.enable-autocomplete.status_info.content",url:"/autocomplete",elementSelector:o.getGuideElementSelector("autocompleteStatus"),class:"autocomplete-status-info-guide-dialog",canBePaused:!1},e)}]}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[155],{303:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"enable-autocomplete",getSteps:(e,t)=>{const o=t.GuideUtils;e.mainAction="enable-autocomplete";const n=o.getGuideElementSelector("autocompleteCheckbox");return[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"autocomplete",showIntro:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.enable-autocomplete.content",url:"/autocomplete",elementSelector:n,class:"enable-autocomplete-checkbox-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>o.deferredShow(500)(),show:e=>()=>{$(n).on("mouseup.autocompleteCheckboxClick",(function(){o.deferredShow(20)().then(()=>{o.isGuideElementChecked("autocompleteCheckbox"," input")&&e.next()})}))},onNextClick:e=>{o.isGuideElementChecked("autocompleteCheckbox"," input")||$(n).trigger("click"),e.next()},hide:()=>()=>{$(n).off("mouseup.autocompleteCheckboxClick")}},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.enable-autocomplete.status_info.content",url:"/autocomplete",elementSelector:o.getGuideElementSelector("autocompleteStatus"),class:"autocomplete-status-info-guide-dialog",canBePaused:!1},e)}]}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{273:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"execute-sparql-query",getSteps:(e,t)=>{const r=t.GuideUtils,n=t.YasguiComponentDirectiveUtil,o=t.toastr,u=t.$translate,i=t.$interpolate,s=t.$location;e.mainAction="execute-sparql-query";const l=document.createElement("code"),a=document.createElement("button");a.className="btn btn-sm btn-secondary",a.innerText=u.instant("guide.step_plugin.execute-sparql-query.copy-to-editor.button"),a.setAttribute("ng-click","copyQuery()");const c=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"sparql",showIntro:!0},e)}],p={"-1":'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nselect * where { \n\t?s ?p ?o .\n?o rdf:type ""\n} limit 100 '};let d=!1;return e.queries.forEach((S,y)=>{const g=S.query;p[y]=g,l.innerText=g,e.queryAsHtmlCodeElement='<div class="shepherd-code">'+l.outerHTML+a.outerHTML+"</div>",c.push({guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.query-editor.content",url:"/sparql",elementSelector:r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,class:"yasgui-query-editor-guide-dialog",beforeShowPromise:()=>n.getOntotextYasguiElementAsync("#query-editor").then(()=>r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,3)).then(()=>r.deferredShow(500)()).catch(e=>{throw t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),e}),onNextValidate:()=>n.getOntotextYasguiElementAsync("#query-editor").then(e=>e.getQuery().then(t=>({yasgui:e,queryFromEditor:t}))).then(({yasgui:t,queryFromEditor:n})=>{const s=r.removeWhiteSpaces(n);if(s!==r.removeWhiteSpaces(g)){if("select*where{?s?p?o.}limit100"!==s&&!d)return r.noNextErrorToast(o,u,i,"guide.step_plugin.execute-sparql-query.query-not-same.error",e),!1;t.setQuery(g)}return d=!0,!0}),initPreviousStep:()=>{if(0===y)return n.setQuery("#query-editor","select * where { \n\t?s ?p ?o .\n} limit 100 \n");return"/sparql"!==s.url()&&s.path("/sparql").search({}),r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR).then(()=>n.executeSparqlQuery("#query-editor",g))},scrollToHandler:r.scrollToTop,extraContent:S.queryExtraContent,onScope:e=>{e.copyQuery=()=>n.setQuery("#query-editor",g).then(()=>{})}},e)}),c.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.run-sparql-query.content",url:"/sparql",elementSelector:r.CSS_SELECTORS.SPARQL_RUN_BUTTON_SELECTOR,class:"yasgui-run-button-guide-dialog",onNextClick:e=>n.getOntotextYasguiElementAsync("#query-editor").then(t=>{t.query(),e.next()}),scrollToHandler:r.scrollToTop,canBePaused:!1,initPreviousStep:(e,t)=>{const r=e.ShepherdService.getPreviousStepFromHistory(t);return r.options.initPreviousStep(e,r.options.id).then(()=>e.ShepherdService.getCurrentStepId()===t?Promise.resolve():n.executeSparqlQuery("#query-editor",g))}},e)}),c.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.result-explain.content",url:"/sparql",placement:"top",elementSelector:r.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,class:"yasgui-query-results-guide-dialog",fileName:e.fileName,scrollToHandler:r.scrollToTop,extraContent:S.resultExtraContent,canBePaused:!1,initPreviousStep:(e,t)=>{if("/sparql"!==s.url())return s.path("/sparql").search({}),r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR).then(()=>r.deferredShow(500)()).then(()=>n.executeSparqlQuery("#query-editor",g));const o=e.ShepherdService.getPreviousStepFromHistory(t);return o.options.initPreviousStep(e,o.options.id).then(()=>n.setQuery("#query-editor",g))}},e)})}),c}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{304:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"execute-sparql-query",getSteps:(e,t)=>{const r=t.GuideUtils,n=t.YasguiComponentDirectiveUtil,o=t.toastr,u=t.$translate,i=t.$interpolate,s=t.$location;e.mainAction="execute-sparql-query";const l=document.createElement("code"),a=document.createElement("button");a.className="btn btn-sm btn-secondary",a.innerText=u.instant("guide.step_plugin.execute-sparql-query.copy-to-editor.button"),a.setAttribute("ng-click","copyQuery()");const c=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"sparql",showIntro:!0},e)}],p={"-1":'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nselect * where { \n\t?s ?p ?o .\n?o rdf:type ""\n} limit 100 '};let d=!1;return e.queries.forEach((S,y)=>{const g=S.query;p[y]=g,l.innerText=g,e.queryAsHtmlCodeElement='<div class="shepherd-code">'+l.outerHTML+a.outerHTML+"</div>",c.push({guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.query-editor.content",url:"/sparql",elementSelector:r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,class:"yasgui-query-editor-guide-dialog",beforeShowPromise:()=>n.getOntotextYasguiElementAsync("#query-editor").then(()=>r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,3)).then(()=>r.deferredShow(500)()).catch(e=>{throw t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),e}),onNextValidate:()=>n.getOntotextYasguiElementAsync("#query-editor").then(e=>e.getQuery().then(t=>({yasgui:e,queryFromEditor:t}))).then(({yasgui:t,queryFromEditor:n})=>{const s=r.removeWhiteSpaces(n);if(s!==r.removeWhiteSpaces(g)){if("select*where{?s?p?o.}limit100"!==s&&!d)return r.noNextErrorToast(o,u,i,"guide.step_plugin.execute-sparql-query.query-not-same.error",e),!1;t.setQuery(g)}return d=!0,!0}),initPreviousStep:()=>{if(0===y)return n.setQuery("#query-editor","select * where { \n\t?s ?p ?o .\n} limit 100 \n");return"/sparql"!==s.url()&&s.path("/sparql").search({}),r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR).then(()=>n.executeSparqlQuery("#query-editor",g))},scrollToHandler:r.scrollToTop,extraContent:S.queryExtraContent,onScope:e=>{e.copyQuery=()=>n.setQuery("#query-editor",g).then(()=>{})}},e)}),c.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.run-sparql-query.content",url:"/sparql",elementSelector:r.CSS_SELECTORS.SPARQL_RUN_BUTTON_SELECTOR,class:"yasgui-run-button-guide-dialog",onNextClick:e=>n.getOntotextYasguiElementAsync("#query-editor").then(t=>{t.query(),e.next()}),scrollToHandler:r.scrollToTop,canBePaused:!1,initPreviousStep:(e,t)=>{const r=e.ShepherdService.getPreviousStepFromHistory(t);return r.options.initPreviousStep(e,r.options.id).then(()=>e.ShepherdService.getCurrentStepId()===t?Promise.resolve():n.executeSparqlQuery("#query-editor",g))}},e)}),c.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.result-explain.content",url:"/sparql",placement:"top",elementSelector:r.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,class:"yasgui-query-results-guide-dialog",fileName:e.fileName,scrollToHandler:r.scrollToTop,extraContent:S.resultExtraContent,canBePaused:!1,initPreviousStep:(e,t)=>{if("/sparql"!==s.url())return s.path("/sparql").search({}),r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR).then(()=>r.deferredShow(500)()).then(()=>n.executeSparqlQuery("#query-editor",g));const o=e.ShepherdService.getPreviousStepFromHistory(t);return o.options.initPreviousStep(e,o.options.id).then(()=>n.setQuery("#query-editor",g))}},e)})}),c}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{274:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"import-rdf-file",getSteps:(e,t)=>{const i=t.GuideUtils,o=t.toastr,l=t.$translate,n=t.$interpolate,r=t.EventEmitterService;e.mainAction="import-file";const c=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"import",showIntro:!0},e)}];e.resourcePath&&c.push({guideBlockName:"download-guide-resource",options:angular.extend({},{title:""},e)});const s=i.getGuideElementSelector("import-settings-import-button");let a;return c.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.content",url:"/import",elementSelector:i.getGuideElementSelector("uploadRdfFileButton"),class:"upload-rdf-file-button-guide-dialog",advanceOn:void 0,show:t=>()=>{a=r.subscribe("filesForUploadSelected",o=>{(o.files||[]).some(t=>t.name===e.resourceFile)?i.isVisible(i.getGuideElementSelector("import-file-"+e.resourceFile))?i.getOrWaiteFor(".confirm-duplicate-files-dialog").then(()=>t.next()):i.getOrWaiteFor(s).then(()=>t.next()):o.cancel=!0})},hide:()=>()=>{a&&a()},onNextValidate:()=>Promise.allSettled([i.getOrWaiteFor(".confirm-duplicate-files-dialog"),i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile))]).then(([t,r])=>"rejected"!==t.status||"rejected"!==r.status||(i.noNextErrorToast(o,l,n,"guide.step_plugin.import_rdf_file.file-must-be-uploaded",e),!1)),onNextClick:t=>{i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile)).then(e=>{e.click()}).catch(e=>{console.log(e)}).finally(()=>t.next())}},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.confirm_duplicate_files_dialog.content",elementSelector:i.getElementSelector(".confirm-duplicate-files-dialog .confirm-overwrite-btn"),url:"/import",placement:"bottom",class:"import-file-button-guide-dialog",skipFromHistory:!0,showOn:()=>i.isVisible(i.getElementSelector(".confirm-duplicate-files-dialog")),onNextClick:()=>i.clickOnElement(".confirm-duplicate-files-dialog .confirm-overwrite-btn")(),onPreviousClick:()=>i.isVisible(i.getElementSelector(".confirm-duplicate-files-dialog"))?i.clickOnElement(".confirm-duplicate-files-dialog .cancel-btn"):Promise.resolve()},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.import-settings.import.button.content",elementSelector:s,placement:"top",class:"import-settings-import-file-button-guide-dialog",onPreviousClick:()=>new Promise((function(e){i.clickOnGuideElement("import-settings-cancel-button")().then(()=>e())})),beforeShowPromise:()=>t.GuideUtils.deferredShow(300)().then(()=>i.getOrWaiteFor(s,3).catch(e=>(t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),Promise.reject(e)))),onNextClick:()=>i.clickOnGuideElement("import-settings-import-button")(),canBePaused:!1},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.import_status_info.content",url:"/import",elementSelector:".import-resource-message",class:"import-status-info-guide-dialog",beforeShowPromise:()=>i.isVisible(".import-resource-message")?Promise.resolve():i.waitFor(".import-resource-message",10),onPreviousClick:()=>i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile),10).then(e=>{e.click()})},e)}),c}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[157],{305:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"import-rdf-file",getSteps:(e,t)=>{const i=t.GuideUtils,o=t.toastr,l=t.$translate,n=t.$interpolate,r=t.EventEmitterService;e.mainAction="import-file";const c=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"import",showIntro:!0},e)}];e.resourcePath&&c.push({guideBlockName:"download-guide-resource",options:angular.extend({},{title:""},e)});const s=i.getGuideElementSelector("import-settings-import-button");let a;return c.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.content",url:"/import",elementSelector:i.getGuideElementSelector("uploadRdfFileButton"),class:"upload-rdf-file-button-guide-dialog",advanceOn:void 0,show:t=>()=>{a=r.subscribe("filesForUploadSelected",o=>{(o.files||[]).some(t=>t.name===e.resourceFile)?i.isVisible(i.getGuideElementSelector("import-file-"+e.resourceFile))?i.getOrWaiteFor(".confirm-duplicate-files-dialog").then(()=>t.next()):i.getOrWaiteFor(s).then(()=>t.next()):o.cancel=!0})},hide:()=>()=>{a&&a()},onNextValidate:()=>Promise.allSettled([i.getOrWaiteFor(".confirm-duplicate-files-dialog"),i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile))]).then(([t,r])=>"rejected"!==t.status||"rejected"!==r.status||(i.noNextErrorToast(o,l,n,"guide.step_plugin.import_rdf_file.file-must-be-uploaded",e),!1)),onNextClick:t=>{i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile)).then(e=>{e.click()}).catch(e=>{console.log(e)}).finally(()=>t.next())}},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.confirm_duplicate_files_dialog.content",elementSelector:i.getElementSelector(".confirm-duplicate-files-dialog .confirm-overwrite-btn"),url:"/import",placement:"bottom",class:"import-file-button-guide-dialog",skipFromHistory:!0,showOn:()=>i.isVisible(i.getElementSelector(".confirm-duplicate-files-dialog")),onNextClick:()=>i.clickOnElement(".confirm-duplicate-files-dialog .confirm-overwrite-btn")(),onPreviousClick:()=>i.isVisible(i.getElementSelector(".confirm-duplicate-files-dialog"))?i.clickOnElement(".confirm-duplicate-files-dialog .cancel-btn"):Promise.resolve()},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.import-settings.import.button.content",elementSelector:s,placement:"top",class:"import-settings-import-file-button-guide-dialog",onPreviousClick:()=>new Promise((function(e){i.clickOnGuideElement("import-settings-cancel-button")().then(()=>e())})),beforeShowPromise:()=>t.GuideUtils.deferredShow(300)().then(()=>i.getOrWaiteFor(s,3).catch(e=>(t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),Promise.reject(e)))),onNextClick:()=>i.clickOnGuideElement("import-settings-import-button")(),canBePaused:!1},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.import_status_info.content",url:"/import",elementSelector:".import-resource-message",class:"import-status-info-guide-dialog",beforeShowPromise:()=>i.isVisible(".import-resource-message")?Promise.resolve():i.waitFor(".import-resource-message",10),onPreviousClick:()=>i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile),10).then(e=>{e.click()})},e)}),c}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{275:function(e,i){PluginRegistry.add("guide.step",[{guideBlockName:"click-main-menu",getSteps:(e,i)=>{const t=i.GuideUtils,l=[];let n,o,s,u,a,r,m="",p="";switch(e.menu){case"repositories":n="menu-setup",o="menu.setup.label",m="menu-setup-guide-dialog",s="sub-menu-repositories",u="menu.repositories.label",p="sub-menu-repositories-guide-dialog",a="menu.repositories.label",r="view.repositories.helpInfo";break;case"import":n="menu-import",o="common.import",m="menu-import-guide-dialog",a="common.import",r="view.import.helpInfo";break;case"autocomplete":n="menu-setup",o="menu.setup.label",m="menu-setup-guide-dialog",s="sub-menu-autocomplete",u="menu.autocomplete.label",p="sub-menu-autocomplete-guide-dialog",a="view.autocomplete.title",r="view.autocomplete.helpInfo";break;case"visual-graph":n="menu-explore",o="menu.explore.label",m="menu-explore-guide-dialog",s="sub-menu-visual-graph",u="visual.graph.label",p="sub-menu-visual-graph-guide-dialog",a="visual.graph.label",r="view.visual.graph.helpInfo";break;case"sparql":n="menu-sparql",o="menu.sparql.label",m="menu-sparql-guide-dialog",a="view.sparql-editor.title",r="view.sparql-editor.helpInfo";break;case"class-hierarchy":n="menu-explore",o="menu.explore.label",m="menu-explore-guide-dialog",s="menu-class-hierarchy",u="menu.class.hierarchy.label",p="sub-menu-class-hierarchy-guide-dialog",a="view.class.hierarchy.title",r="view.class.hierarchy.helpInfo"}const c=s?" div":" a";return e.viewName=a,e.showIntro&&e.mainAction&&l.push({guideBlockName:"info-message",options:angular.extend({},{content:"guide.step-intro."+e.mainAction,extraContent:r,extraContentClass:"alert alert-help text-left",skipPoint:!0},e)}),l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-menu.click-menu",menuLabelKey:o,class:m,elementSelector:t.getGuideElementSelector(n),showOn:()=>(s&&t.isGuideElementVisible(s)&&t.clickOnGuideElement(n,c)(),!0),onNextClick:e=>t.clickOnGuideElement(n,c)().then(()=>{s||e.next()}),initPreviousStep:(e,i)=>{const t=e.ShepherdService.getPreviousStepFromHistory(i);return t?t.options.initPreviousStep(e,t.options.id):Promise.resolve()}},e)}),s&&l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-menu.click-menu",menuLabelKey:u,class:p,elementSelector:t.getGuideElementSelector(s),placement:"right",canBePaused:!1,showOn:()=>(t.isGuideElementVisible(s)||t.clickOnGuideElement(n," div")(),!0),onNextClick:e=>t.clickOnGuideElement(s," a")().then(()=>e.next()),initPreviousStep:(e,i)=>{const t=e.ShepherdService.getPreviousStepFromHistory(i);return t?t.options.initPreviousStep(e,t.options.id):Promise.resolve()}},e)}),l}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[158],{306:function(e,i){PluginRegistry.add("guide.step",[{guideBlockName:"click-main-menu",getSteps:(e,i)=>{const t=i.GuideUtils,l=[];let n,o,s,u,a,r,m="",p="";switch(e.menu){case"repositories":n="menu-setup",o="menu.setup.label",m="menu-setup-guide-dialog",s="sub-menu-repositories",u="menu.repositories.label",p="sub-menu-repositories-guide-dialog",a="menu.repositories.label",r="view.repositories.helpInfo";break;case"import":n="menu-import",o="common.import",m="menu-import-guide-dialog",a="common.import",r="view.import.helpInfo";break;case"autocomplete":n="menu-setup",o="menu.setup.label",m="menu-setup-guide-dialog",s="sub-menu-autocomplete",u="menu.autocomplete.label",p="sub-menu-autocomplete-guide-dialog",a="view.autocomplete.title",r="view.autocomplete.helpInfo";break;case"visual-graph":n="menu-explore",o="menu.explore.label",m="menu-explore-guide-dialog",s="sub-menu-visual-graph",u="visual.graph.label",p="sub-menu-visual-graph-guide-dialog",a="visual.graph.label",r="view.visual.graph.helpInfo";break;case"sparql":n="menu-sparql",o="menu.sparql.label",m="menu-sparql-guide-dialog",a="view.sparql-editor.title",r="view.sparql-editor.helpInfo";break;case"class-hierarchy":n="menu-explore",o="menu.explore.label",m="menu-explore-guide-dialog",s="menu-class-hierarchy",u="menu.class.hierarchy.label",p="sub-menu-class-hierarchy-guide-dialog",a="view.class.hierarchy.title",r="view.class.hierarchy.helpInfo"}const c=s?" div":" a";return e.viewName=a,e.showIntro&&e.mainAction&&l.push({guideBlockName:"info-message",options:angular.extend({},{content:"guide.step-intro."+e.mainAction,extraContent:r,extraContentClass:"alert alert-help text-left",skipPoint:!0},e)}),l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-menu.click-menu",menuLabelKey:o,class:m,elementSelector:t.getGuideElementSelector(n),showOn:()=>(s&&t.isGuideElementVisible(s)&&t.clickOnGuideElement(n,c)(),!0),onNextClick:e=>t.clickOnGuideElement(n,c)().then(()=>{s||e.next()}),initPreviousStep:(e,i)=>{const t=e.ShepherdService.getPreviousStepFromHistory(i);return t?t.options.initPreviousStep(e,t.options.id):Promise.resolve()}},e)}),s&&l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-menu.click-menu",menuLabelKey:u,class:p,elementSelector:t.getGuideElementSelector(s),placement:"right",canBePaused:!1,showOn:()=>(t.isGuideElementVisible(s)||t.clickOnGuideElement(n," div")(),!0),onNextClick:e=>t.clickOnGuideElement(s," a")().then(()=>e.next()),initPreviousStep:(e,i)=>{const t=e.ShepherdService.getPreviousStepFromHistory(i);return t?t.options.initPreviousStep(e,t.options.id):Promise.resolve()}},e)}),l}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{276:function(e,t){const o=(e,t)=>e.$repositories.getRepositories().find(e=>e.id===t.repositoryId)?t.repositoryId:t.repositoryIdBase,i=(e,t)=>e.GuideUtils.getGuideElementSelector(`repository-${o(e,t)}-button`);PluginRegistry.add("guide.step",[{guideBlockName:"select-repository-dropdown",getSteps:(e,t)=>{const s=t.GuideUtils;return e.mainAction="select-repository",e.getRepositoryId=()=>o(t,e),[{guideBlockName:"clickable-element",options:angular.extend({},{skipPoint:!0,content:"guide.step_plugin.choose-repository.content",elementSelector:s.getGuideElementSelector("repositoriesGroupButton"),class:"repositories-group-button-guide-dialog",onNextClick:e=>s.clickOnGuideElement("repositoriesGroupButton")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository.content",elementSelector:()=>i(t,e),class:"repository-select-button-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>t.GuideUtils.waitFor(i(t,e),1).catch(e=>{throw t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),e}),show:o=>()=>{$("#repositorySelectDropdown").addClass("autoCloseOff"),$(i(t,e)).on("mouseup.selectRepositoryButtonClick",(function(){o.next()}))},onNextClick:o=>{$(i(t,e)).off("mouseup.selectRepositoryButtonClick"),$("#repositorySelectDropdown").removeClass("autoCloseOff"),s.clickOnElement(i(t,e))().then(()=>o.next())},hide:()=>()=>{$("#repositorySelectDropdown").removeClass("autoCloseOff"),$(i(t,e)).off("mouseup.selectRepositoryButtonClick")},canBePaused:!1},e)}]}},{guideBlockName:"select-repository-plug",getSteps:(e,t)=>{const o=t.GuideUtils;return[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository-plug.content",elementSelector:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`),onNextClick:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`)},e)}]}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[159],{307:function(e,t){const o=(e,t)=>e.$repositories.getRepositories().find(e=>e.id===t.repositoryId)?t.repositoryId:t.repositoryIdBase,i=(e,t)=>e.GuideUtils.getGuideElementSelector(`repository-${o(e,t)}-button`);PluginRegistry.add("guide.step",[{guideBlockName:"select-repository-dropdown",getSteps:(e,t)=>{const s=t.GuideUtils;return e.mainAction="select-repository",e.getRepositoryId=()=>o(t,e),[{guideBlockName:"clickable-element",options:angular.extend({},{skipPoint:!0,content:"guide.step_plugin.choose-repository.content",elementSelector:s.getGuideElementSelector("repositoriesGroupButton"),class:"repositories-group-button-guide-dialog",onNextClick:e=>s.clickOnGuideElement("repositoriesGroupButton")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository.content",elementSelector:()=>i(t,e),class:"repository-select-button-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>t.GuideUtils.waitFor(i(t,e),1).catch(e=>{throw t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),e}),show:o=>()=>{$("#repositorySelectDropdown").addClass("autoCloseOff"),$(i(t,e)).on("mouseup.selectRepositoryButtonClick",(function(){o.next()}))},onNextClick:o=>{$(i(t,e)).off("mouseup.selectRepositoryButtonClick"),$("#repositorySelectDropdown").removeClass("autoCloseOff"),s.clickOnElement(i(t,e))().then(()=>o.next())},hide:()=>()=>{$("#repositorySelectDropdown").removeClass("autoCloseOff"),$(i(t,e)).off("mouseup.selectRepositoryButtonClick")},canBePaused:!1},e)}]}},{guideBlockName:"select-repository-plug",getSteps:(e,t)=>{const o=t.GuideUtils;return[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository-plug.content",elementSelector:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`),onNextClick:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`)},e)}]}}])}}]);