graphdb-workbench 2.7.0-TR15 → 2.7.0-TR16

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 (410) hide show
  1. package/dist/{0.b898c3406542a5e6be73.bundle.js → 0.e5645b89ebafba293d58.bundle.js} +3 -3
  2. package/dist/{1.83d7b41436d8fe6bf83d.bundle.js → 1.01f4e303bbb8c8b04234.bundle.js} +1 -1
  3. package/dist/{10.d290928cc0a0f284bec7.bundle.js → 10.8cfb74791cd348b6f7cb.bundle.js} +1 -1
  4. package/dist/{101.dfbe4209b085043fede5.bundle.js → 100.adfbfc678b08893ac773.bundle.js} +1 -1
  5. package/dist/{102.ec2f3a84e49ac9410146.bundle.js → 101.700725295f078963b38b.bundle.js} +1 -1
  6. package/dist/{103.bdcd265e9cc76a3875bb.bundle.js → 102.b25e69d720c85bb1ad78.bundle.js} +1 -1
  7. package/dist/{104.f35e0345f8b1d4917857.bundle.js → 103.62f0cfa4a0e58e12150f.bundle.js} +1 -1
  8. package/dist/{105.e55293f0a32d5902b091.bundle.js → 104.df4e55436cc2a6f065dc.bundle.js} +1 -1
  9. package/dist/{106.491b8125d8860c082182.bundle.js → 105.6cdeae9ad532e9299eb3.bundle.js} +1 -1
  10. package/dist/{107.c8c377c72d1345df31d6.bundle.js → 106.51cffcc39c5a18136bce.bundle.js} +1 -1
  11. package/dist/{108.f06cee70190ce7ff2983.bundle.js → 107.b72ff74789a155114272.bundle.js} +1 -1
  12. package/dist/{109.1ee25fbf9354c94ed95f.bundle.js → 108.d27c5ddb71098efb2111.bundle.js} +1 -1
  13. package/dist/{110.89e39ac19c8912335436.bundle.js → 109.da9a48ddbaf2a06d5b10.bundle.js} +1 -1
  14. package/dist/{11.56da9270f8d151eb507e.bundle.js → 11.3476f7eebad3f26cb74f.bundle.js} +2 -2
  15. package/dist/{111.c176447e735eda5c3b01.bundle.js → 110.26656db1ff4065ae5b27.bundle.js} +1 -1
  16. package/dist/{112.b193332bfbc9f069bed3.bundle.js → 111.9bd539e2f176fd9f5d72.bundle.js} +1 -1
  17. package/dist/{113.9eebb435852822b82507.bundle.js → 112.e0052ab061ccc5976b9e.bundle.js} +1 -1
  18. package/dist/{114.3ef742068d2e08c4ade2.bundle.js → 113.9ca62cd25bc543b4e52b.bundle.js} +1 -1
  19. package/dist/{115.b2a09c0e848ede735dfa.bundle.js → 114.4ba0cc74e9104496c89a.bundle.js} +1 -1
  20. package/dist/{116.8f57ddc9552646608906.bundle.js → 115.9558502a8629b3dc61d9.bundle.js} +1 -1
  21. package/dist/{117.58d3bbc8da10c5420b2e.bundle.js → 116.df378eaf773b1efdfbc7.bundle.js} +1 -1
  22. package/dist/{118.2ff6674a4142e83976a0.bundle.js → 117.25555a1b556be7b13a67.bundle.js} +1 -1
  23. package/dist/{119.2844810ce307cfc8a5e0.bundle.js → 118.9a6af637a2c2f7ddfbab.bundle.js} +1 -1
  24. package/dist/{120.3b448cdd9453243cd9d2.bundle.js → 119.98edc66169ac49331c28.bundle.js} +1 -1
  25. package/dist/{12.0659838204f70d5ee780.bundle.js → 12.b6edc689ab2024871290.bundle.js} +1 -1
  26. package/dist/{121.eb94f9e04c9ddac482f3.bundle.js → 120.b80d6b4859deda515c61.bundle.js} +1 -1
  27. package/dist/{122.125b271876522097693c.bundle.js → 121.7e44514805657f7f99a4.bundle.js} +1 -1
  28. package/dist/{123.fd565228d6d4b958e09d.bundle.js → 122.073155e57ca6e0066288.bundle.js} +1 -1
  29. package/dist/{124.3253d8edbd50afecd754.bundle.js → 123.08cb2e060fc75591daed.bundle.js} +1 -1
  30. package/dist/{125.c09f44ff44420782dc98.bundle.js → 124.f2a29505c1ca06504585.bundle.js} +1 -1
  31. package/dist/{126.580a121883ffe972ab95.bundle.js → 125.d3f8f198bb6f1e7745d1.bundle.js} +1 -1
  32. package/dist/{127.4a93f1f67273f68eda71.bundle.js → 126.8946342fc24addd79734.bundle.js} +1 -1
  33. package/dist/{128.bc5045009267c7ff203d.bundle.js → 127.e965d454f3834487dc07.bundle.js} +1 -1
  34. package/dist/{129.cf64d2c491f4b1668372.bundle.js → 128.b6eed66cc14490a6353e.bundle.js} +1 -1
  35. package/dist/{130.9925824a2ff17842cb12.bundle.js → 129.a2aa73dd8cfc72b7ad59.bundle.js} +1 -1
  36. package/dist/{13.a68d691497d09f6ffada.bundle.js → 13.4210735fc4c9b3a46a74.bundle.js} +1 -1
  37. package/dist/{131.485a052c493a473a79aa.bundle.js → 130.bbc71ff23698ed8f5b26.bundle.js} +1 -1
  38. package/dist/{132.d825b93c36d676fad595.bundle.js → 131.e13f6e4cab2a43b26229.bundle.js} +1 -1
  39. package/dist/{133.b084e0988fe05643c9c5.bundle.js → 132.ceb9e9e9f4512b7ee553.bundle.js} +1 -1
  40. package/dist/{134.fd8ba21d1699ee443984.bundle.js → 133.80d806bbeaa71f52edf3.bundle.js} +1 -1
  41. package/dist/{135.c7a97d5237540532e2e5.bundle.js → 134.cd31a45c4ef2a3823695.bundle.js} +1 -1
  42. package/dist/{136.b244a1682ddd97d8defb.bundle.js → 135.3943d81e2d55024f4455.bundle.js} +1 -1
  43. package/dist/{137.6659fb9e87f2bf500005.bundle.js → 136.cdeb1a4068b041910ee2.bundle.js} +1 -1
  44. package/dist/{138.e65f09169d61464888b6.bundle.js → 137.ea00fa9802106e4c5b71.bundle.js} +1 -1
  45. package/dist/{139.a6a424ba45478a2893b7.bundle.js → 138.8c91e50fac34cd79d2cd.bundle.js} +1 -1
  46. package/dist/{140.dbb1d5403a85016f2279.bundle.js → 139.0438d96caade315bee4d.bundle.js} +1 -1
  47. package/dist/{14.668f62d8a3c47070c3cf.bundle.js → 14.a6a2f0c77328d614d56f.bundle.js} +1 -1
  48. package/dist/{141.d5277bcbe59ca6e4bc29.bundle.js → 140.5819e4b68b646dd14dfc.bundle.js} +1 -1
  49. package/dist/{142.a56bd366d27b323dd3f1.bundle.js → 141.70bfb46e2b404604e8a0.bundle.js} +1 -1
  50. package/dist/{143.00c84b16a9d1e4ad985c.bundle.js → 142.a98744f2ee9d7a0636d7.bundle.js} +1 -1
  51. package/dist/{144.9ced4dbf2321bbc9ef5a.bundle.js → 143.eb68a9e19326e1b9a084.bundle.js} +1 -1
  52. package/dist/{145.e8622f5a0f0ce9b8140d.bundle.js → 144.98c94ddf1075cf8d47da.bundle.js} +1 -1
  53. package/dist/{146.82aaae7c0f15a190b692.bundle.js → 145.b60f2c5f10d537047491.bundle.js} +1 -1
  54. package/dist/{147.975837795deedd44f466.bundle.js → 146.9da5a4eacc0d824e4a14.bundle.js} +1 -1
  55. package/dist/{148.d60ea045afd9dcb11254.bundle.js → 147.242c8787722342648081.bundle.js} +1 -1
  56. package/dist/{149.ce551c0a10ebc805fcd2.bundle.js → 148.12a13986291e257c874e.bundle.js} +1 -1
  57. package/dist/149.786bd92c91fd73e36aaa.bundle.js +1 -0
  58. package/dist/15.54146c7260c6b085baec.bundle.js +1 -0
  59. package/dist/{151.af61812f79d737d09e14.bundle.js → 150.2fa8a23221d764f111ad.bundle.js} +1 -1
  60. package/dist/{152.b829d2aaed7adb6c31f1.bundle.js → 151.6532099bdf547d25d958.bundle.js} +1 -1
  61. package/dist/{153.442ff2f492c23512f12e.bundle.js → 152.5e87150fe4fa9462e81f.bundle.js} +1 -1
  62. package/dist/{154.422e37c8deba8226ea0a.bundle.js → 153.5dd95e1a1a882c3e9351.bundle.js} +1 -1
  63. package/dist/{155.284c59d13e8736f41ba9.bundle.js → 154.5e48402d0b45cfb16db1.bundle.js} +1 -1
  64. package/dist/{156.d6528cc8898657d680a5.bundle.js → 155.d7e40eda00e694cf1351.bundle.js} +1 -1
  65. package/dist/{157.a742234dcb9a5195d454.bundle.js → 156.0646e7a73fe8cc513d98.bundle.js} +1 -1
  66. package/dist/{158.4d8cfd79cc127535599a.bundle.js → 157.a8518310d176516c9d66.bundle.js} +1 -1
  67. package/dist/{159.28ac45f73b8489adb7b9.bundle.js → 158.a1af6eaaefc9b98285e7.bundle.js} +1 -1
  68. package/dist/{160.bb7c067aa42af523a9ca.bundle.js → 159.872174e9335fc4e73df3.bundle.js} +1 -1
  69. package/dist/{16.dae40f821fdc6ebfaa17.bundle.js → 16.732c3eb79d3e81c0600a.bundle.js} +1 -1
  70. package/dist/{161.56bacecf2c75a68f3037.bundle.js → 160.2f355e67d21f15b008e1.bundle.js} +1 -1
  71. package/dist/{162.c60183fadad386769974.bundle.js → 161.262312e32828fbe25ab0.bundle.js} +1 -1
  72. package/dist/{163.eec1f723d6fef3c4b702.bundle.js → 162.91b33adcce7b8b7829be.bundle.js} +1 -1
  73. package/dist/{164.6eab6e73fcff8c9a8158.bundle.js → 163.4741d0c5fb2e48c9cb49.bundle.js} +1 -1
  74. package/dist/{166.5daada7be78f3313afcc.bundle.js → 164.91dfefb15bcd2549d69a.bundle.js} +1 -1
  75. package/dist/{167.6b1d7f0611d737ce4350.bundle.js → 165.3daae675b400a1a0dad1.bundle.js} +1 -1
  76. package/dist/{168.1267283db5fd0ac8a686.bundle.js → 166.1f415d221f1c5e5a21b4.bundle.js} +1 -1
  77. package/dist/{169.ca46c7f813fecc8c329c.bundle.js → 167.59147b4e154887e22da6.bundle.js} +1 -1
  78. package/dist/{170.400bcfed1be6b9d52073.bundle.js → 168.191e078b3b81c508e8e9.bundle.js} +1 -1
  79. package/dist/{171.d0c1fe99c69aca082a53.bundle.js → 169.cc96e9e8235b2bc64136.bundle.js} +1 -1
  80. package/dist/{17.33036d2a33d84317de9d.bundle.js → 17.2c0b928dbfbfa4f2be2b.bundle.js} +1 -1
  81. package/dist/{172.b73f5e91567e774f2a0d.bundle.js → 170.70040a2d9fc91b25df31.bundle.js} +1 -1
  82. package/dist/{173.098a628c8d9ca36c9736.bundle.js → 171.f6917e45c060ca0d1b0d.bundle.js} +1 -1
  83. package/dist/{174.d40be6b879b0a07ef417.bundle.js → 172.800801860bad14ecb4dd.bundle.js} +1 -1
  84. package/dist/{175.f7b9595ccd600dcec3b2.bundle.js → 173.d31b68bbb35d291d6bfb.bundle.js} +1 -1
  85. package/dist/{176.502568937723fb45f2b2.bundle.js → 174.4499cf7a71f97a77f18b.bundle.js} +1 -1
  86. package/dist/{177.9c5174e234a68378041d.bundle.js → 175.aef4a0e35a7f8d64172f.bundle.js} +1 -1
  87. package/dist/{178.5f94399ed2474fb176f9.bundle.js → 176.02649e5f5f77043bdb88.bundle.js} +1 -1
  88. package/dist/177.6b490d7d1c19e26a9a64.bundle.js +1 -0
  89. package/dist/{180.4fa14c1d5036979d5263.bundle.js → 178.87bf8d4c1fb56a26b3c1.bundle.js} +1 -1
  90. package/dist/{181.1cef448de3c0f1136a20.bundle.js → 179.208ddf9d3a2b0c42d585.bundle.js} +1 -1
  91. package/dist/{18.450eb7c3e98d0f628ac9.bundle.js → 18.7190e5300a3491a88bab.bundle.js} +2 -2
  92. package/dist/{182.4fabc3cf739b9c4e3b2a.bundle.js → 180.297f746694c86d94fee8.bundle.js} +1 -1
  93. package/dist/{183.9ee4e46cf1e1368e86ed.bundle.js → 181.83c675fa96dc8a7de0a0.bundle.js} +1 -1
  94. package/dist/{184.f1ae34e8254a9683b4d8.bundle.js → 182.83779494898a876852a4.bundle.js} +1 -1
  95. package/dist/{185.6ed725999b50da70e228.bundle.js → 183.f80656cb2031332cea17.bundle.js} +1 -1
  96. package/dist/{186.4b4d5e35064b4067b208.bundle.js → 184.27cf4f3b873ca7b5e150.bundle.js} +1 -1
  97. package/dist/{187.90162eddabd6aff17165.bundle.js → 185.f34cd4e451c261781582.bundle.js} +1 -1
  98. package/dist/{188.81a820d72b99c6d2feaf.bundle.js → 186.ff03b068814c184d4b8b.bundle.js} +1 -1
  99. package/dist/{189.470563d6cbace5f1a687.bundle.js → 187.eab12c8f93eec8ed1f73.bundle.js} +1 -1
  100. package/dist/{190.e981b1883942821aeda7.bundle.js → 188.6484ff0cec5db6fdb4c3.bundle.js} +1 -1
  101. package/dist/{191.b411571959305e3646e6.bundle.js → 189.a1f842cbeeaabd681cc8.bundle.js} +1 -1
  102. package/dist/{19.3dc4e989e5e04e50e899.bundle.js → 19.24bea211a1c25390fe9a.bundle.js} +1 -1
  103. package/dist/{192.608b0f502e0f77bc8f23.bundle.js → 190.51b6cb69172c90a68dfd.bundle.js} +1 -1
  104. package/dist/{193.f46005959249d366ec9f.bundle.js → 191.65b80520e9dd6b687bbe.bundle.js} +1 -1
  105. package/dist/{194.4ef4ca126a1b6c37f32a.bundle.js → 192.94f755f925a31e20a8f6.bundle.js} +1 -1
  106. package/dist/{195.b8c5e9f217902accb057.bundle.js → 193.69d41296a359a28aa471.bundle.js} +1 -1
  107. package/dist/{196.7ea52062f0a2531b65b0.bundle.js → 194.ee1223743fcbfe100a85.bundle.js} +1 -1
  108. package/dist/{197.3a1d5b907b9b62f02db2.bundle.js → 195.2f7666e8ad120523dc53.bundle.js} +1 -1
  109. package/dist/{198.b3187d611303cfd5f2d8.bundle.js → 196.52ca64503157bc01943a.bundle.js} +1 -1
  110. package/dist/197.a5c84b54f160407f92a9.bundle.js +1 -0
  111. package/dist/198.b39483f91ba878e3e4db.bundle.js +1 -0
  112. package/dist/{201.8a5d7d64fc7316e1b337.bundle.js → 199.e7cc0b7e0966d0460a29.bundle.js} +1 -1
  113. package/dist/{2.f30cac0632adbf64b1ff.bundle.js → 2.3c7539c5aa4b89eed77f.bundle.js} +2 -2
  114. package/dist/{20.e59c16c9a2153da5e783.bundle.js → 20.1e0a693774d3d878401a.bundle.js} +1 -1
  115. package/dist/{202.d66c4d84e46a836a4b50.bundle.js → 200.52059a7098a1c588b68b.bundle.js} +1 -1
  116. package/dist/{203.61cc829c171e8e7aa147.bundle.js → 201.3e051ab0018da3ffadc6.bundle.js} +1 -1
  117. package/dist/{204.a01e01506c368a71a029.bundle.js → 202.2857dd952be5fe00b9da.bundle.js} +1 -1
  118. package/dist/{205.e7e864744862c278e876.bundle.js → 203.6ce11c99c4246c17c88c.bundle.js} +1 -1
  119. package/dist/{206.20e5abdf6999532e8566.bundle.js → 204.e20e1307ea2361703600.bundle.js} +1 -1
  120. package/dist/{207.7c8d1e7c6b6da5fc7f31.bundle.js → 205.0137ad19132253290976.bundle.js} +1 -1
  121. package/dist/{208.09a414a2ac2ef1acf3d4.bundle.js → 206.94c7f28ea586dee6f433.bundle.js} +1 -1
  122. package/dist/{209.4b36023a3cf9357801ec.bundle.js → 207.8385b6fa9618c31acda5.bundle.js} +1 -1
  123. package/dist/{210.73f2aa6c32cfd9f0d81f.bundle.js → 208.f729f6d17a67f83e2c10.bundle.js} +1 -1
  124. package/dist/{211.53298f2082f1ac779980.bundle.js → 209.73e1a54d2299806a9263.bundle.js} +1 -1
  125. package/dist/{21.16ac4021ed4ddf10b3b1.bundle.js → 21.261f8a36868ea6462972.bundle.js} +1 -1
  126. package/dist/210.780cee828b5f92fce613.bundle.js +1 -0
  127. package/dist/211.7d3019d31194fc3acfb6.bundle.js +1 -0
  128. package/dist/{214.12d791a4d260889f55ef.bundle.js → 212.f1d205715fee45dce3eb.bundle.js} +1 -1
  129. package/dist/{215.6881462a6baa9fe06e42.bundle.js → 213.87f7948308dfab2a17e7.bundle.js} +1 -1
  130. package/dist/{216.3d582471e90044064feb.bundle.js → 214.ed59f3b93355ad149463.bundle.js} +1 -1
  131. package/dist/{217.8ad4f49e1b28497aa1fc.bundle.js → 215.6cdf49744d7a884ca239.bundle.js} +1 -1
  132. package/dist/{218.9bc314388f4460eccc71.bundle.js → 216.2b1ac95f1d714b087060.bundle.js} +1 -1
  133. package/dist/{219.1924e53424a4161187d0.bundle.js → 217.74eaa67aec55b630b18d.bundle.js} +1 -1
  134. package/dist/218.1c89c38190e2558777df.bundle.js +1 -0
  135. package/dist/{221.ff8eb48656cc101d7e33.bundle.js → 219.39330c33f157a9efc53f.bundle.js} +1 -1
  136. package/dist/{22.ba0ef02c3892ab37d750.bundle.js → 22.feeb699ddd3fc6e45b4b.bundle.js} +1 -1
  137. package/dist/220.30cc34c07d2a3c607f86.bundle.js +1 -0
  138. package/dist/{223.0187a4814287190e0c65.bundle.js → 221.9f6b131f51f7b3351b28.bundle.js} +1 -1
  139. package/dist/{224.f31ed52925643add979d.bundle.js → 222.03c0088a2eb594ea6055.bundle.js} +1 -1
  140. package/dist/{225.7d38096cb545f623016b.bundle.js → 223.6a46886aa7d40baf63f0.bundle.js} +1 -1
  141. package/dist/224.07985d308f1d232d7a83.bundle.js +1 -0
  142. package/dist/{227.f620b0e5bafe665823b9.bundle.js → 225.11263cfa28ed7fea2e40.bundle.js} +1 -1
  143. package/dist/{228.09e9b6f5d35fbd901ba5.bundle.js → 226.44c22c311cde5ce00c35.bundle.js} +1 -1
  144. package/dist/{229.6931ab40e0d8c35e75ea.bundle.js → 227.733f8e395a8460b8e094.bundle.js} +1 -1
  145. package/dist/{230.12ef5263f39744f26047.bundle.js → 228.b4f040fb2e6998b9b909.bundle.js} +1 -1
  146. package/dist/{231.89118f5d51f516bd4b6a.bundle.js → 229.822b2a123b3694edcf2c.bundle.js} +1 -1
  147. package/dist/{23.5ca117e215fa1792b4d1.bundle.js → 23.ba72c1333cb58ea7fcab.bundle.js} +1 -1
  148. package/dist/{232.2834abac0f0ba6bc4695.bundle.js → 230.e68f7960165d9337e76f.bundle.js} +1 -1
  149. package/dist/{233.907e20a9cd1cc3ec896e.bundle.js → 231.7d1c22393ec108c0518b.bundle.js} +1 -1
  150. package/dist/{234.fb60af5c6606f09944a7.bundle.js → 232.aa32ce5eed27f36b1df7.bundle.js} +1 -1
  151. package/dist/{235.79682e1907a57be397f3.bundle.js → 233.42bff4b63640805c9da7.bundle.js} +1 -1
  152. package/dist/{236.81bdfa2a43f3f589593f.bundle.js → 234.26022c247725860e429c.bundle.js} +1 -1
  153. package/dist/{237.94611bb64b51e8ff8c23.bundle.js → 235.7e814343a910868d451f.bundle.js} +1 -1
  154. package/dist/{238.a56f7066af417b21d5e7.bundle.js → 236.23271122101d8d2115a8.bundle.js} +1 -1
  155. package/dist/{239.ae0228158e9c1548fe73.bundle.js → 237.315a4f95a5729c1312af.bundle.js} +1 -1
  156. package/dist/{240.10f889cb2f9c25a0e729.bundle.js → 238.f121987862652e67dee9.bundle.js} +1 -1
  157. package/dist/{241.63d5ab9c48eae290c947.bundle.js → 239.3dca740097532655ed4c.bundle.js} +1 -1
  158. package/dist/{24.890b07c89aa750dfe578.bundle.js → 24.591cb522249957627c01.bundle.js} +1 -1
  159. package/dist/{242.fad550e2082e77d55c78.bundle.js → 240.d277e6b300a971feb9e2.bundle.js} +1 -1
  160. package/dist/{243.0220a2a9bf46645c616d.bundle.js → 241.6802de894a42c8e2538f.bundle.js} +1 -1
  161. package/dist/{244.6a78c547a7752e62735b.bundle.js → 242.9bd749e99f61b5aeea0d.bundle.js} +1 -1
  162. package/dist/{245.741e89ce094712db25ed.bundle.js → 243.7645abbd6dcb1ea2e3d7.bundle.js} +1 -1
  163. package/dist/{246.437e610897eb7e6e3bb1.bundle.js → 244.eeb5c3d2a0af274905b8.bundle.js} +1 -1
  164. package/dist/{247.26ec449a35a63083d754.bundle.js → 245.2724ce0413d7705694e2.bundle.js} +1 -1
  165. package/dist/{248.ada296e9a8a5456816fa.bundle.js → 246.65bcf2dd0693e7276eb9.bundle.js} +1 -1
  166. package/dist/{249.02e6909a0e5737c5fc7f.bundle.js → 247.73255ead36e5f0a11c2f.bundle.js} +1 -1
  167. package/dist/{250.a3a98184634e3bb735a4.bundle.js → 248.ff221faf7686c677241e.bundle.js} +1 -1
  168. package/dist/{251.22b0f401980a218701ce.bundle.js → 249.e1d1153efb1824d0c5b6.bundle.js} +1 -1
  169. package/dist/25.080e2617384aa2197b4d.bundle.js +1 -0
  170. package/dist/{252.8d99177128dd1aa6ca8c.bundle.js → 250.33d90df2f6391a276818.bundle.js} +1 -1
  171. package/dist/{253.01675f1a92fd1fea8ca5.bundle.js → 251.6f4bda1f255fc22ae169.bundle.js} +1 -1
  172. package/dist/{254.6f2f418d35f273d36d46.bundle.js → 252.51016559e0aeb7e19639.bundle.js} +1 -1
  173. package/dist/{255.e308094c763d876e4132.bundle.js → 253.c9eb674b193d6ac50283.bundle.js} +1 -1
  174. package/dist/{256.4ad009ccb12ec2a4cde6.bundle.js → 254.901fb2446b0cfca47415.bundle.js} +1 -1
  175. package/dist/{257.2069e26865e17c1e9034.bundle.js → 255.e97b0d2e5d0408de0f9a.bundle.js} +1 -1
  176. package/dist/{258.7fec6bf4ae475ca87afa.bundle.js → 256.c1cc898963af8fee8ea8.bundle.js} +1 -1
  177. package/dist/{259.c6a3eafb9d0da6527250.bundle.js → 257.26893fe34a5bc93738d0.bundle.js} +1 -1
  178. package/dist/{260.2f2a959cf89d85530508.bundle.js → 258.f5b4e878fe10f72687aa.bundle.js} +1 -1
  179. package/dist/259.a4045ea369a46fa455e9.bundle.js +1 -0
  180. package/dist/{25.6aa5745e99ab45755022.bundle.js → 26.b4121beb504109cc26e5.bundle.js} +1 -1
  181. package/dist/{262.ac627ceb0b8c3013a59a.bundle.js → 260.58e13856eb82f48b934b.bundle.js} +1 -1
  182. package/dist/{263.b97a799c419d5e60186d.bundle.js → 261.eeaf2f744d5976cad6b4.bundle.js} +1 -1
  183. package/dist/{264.6bdf59072c7362ac0a13.bundle.js → 262.4f923e059913fe29bf1a.bundle.js} +1 -1
  184. package/dist/{265.68675b443038775d019c.bundle.js → 263.8344d47523c616452dcc.bundle.js} +1 -1
  185. package/dist/{266.ec9ae3a110b2d141fb10.bundle.js → 264.06fc400c88f8063a3176.bundle.js} +1 -1
  186. package/dist/{267.4b10cf116d30cfe6bf17.bundle.js → 265.aa9533ec8526abbfad58.bundle.js} +1 -1
  187. package/dist/{268.44594cca6afd06932687.bundle.js → 266.d44f320fbfab16f60477.bundle.js} +1 -1
  188. package/dist/{269.ec0476f3a4ff069df041.bundle.js → 267.d24d358be89d735749f1.bundle.js} +1 -1
  189. package/dist/268.499077c477d999fcb00b.bundle.js +1 -0
  190. package/dist/{270.8382b28dfa7be0c3214d.bundle.js → 269.abdf56ec297d9872bc73.bundle.js} +1 -1
  191. package/dist/{26.cf866692d0e1ab5f6663.bundle.js → 27.d906ad8b1aaae9582a63.bundle.js} +1 -1
  192. package/dist/{271.941c057dbbbbccfeda0a.bundle.js → 270.c0e7bc99b02d9db02a15.bundle.js} +1 -1
  193. package/dist/{272.22f1df2edcdc7881e3dc.bundle.js → 271.a32c8f7f356461455c5c.bundle.js} +1 -1
  194. package/dist/{273.275b580c72746e8fb52f.bundle.js → 272.5c6b9649a95dbd4448b6.bundle.js} +1 -1
  195. package/dist/{279.38897ac8594851063f17.bundle.js → 278.829372f91151ac333ebe.bundle.js} +1 -1
  196. package/dist/{280.a34f65fba22854ba7b3f.bundle.js → 279.9e3fc55a4056e4dcfe76.bundle.js} +1 -1
  197. package/dist/{27.f979984f701cd7d90a09.bundle.js → 28.26e4995622150e317718.bundle.js} +1 -1
  198. package/dist/{281.63eba213a84594a33eec.bundle.js → 280.b1577a51a8810bc883eb.bundle.js} +1 -1
  199. package/dist/{282.427da5a001ff5e80d836.bundle.js → 281.89ca0e1fa6c87c5d76e8.bundle.js} +1 -1
  200. package/dist/{283.13e5cf49cc3c930d00cd.bundle.js → 282.cfe94c4005324f8def52.bundle.js} +1 -1
  201. package/dist/{284.f841217b20d073341ae4.bundle.js → 283.44025233769cd2e2c6af.bundle.js} +1 -1
  202. package/dist/{285.ba897fa98eceb647de5c.bundle.js → 284.2cc070dfd0c5c3ff0c92.bundle.js} +1 -1
  203. package/dist/{286.aef2def45e9a7273979d.bundle.js → 285.a6eef5c450c4e6d13900.bundle.js} +1 -1
  204. package/dist/{287.58048ca04858f2cb11ee.bundle.js → 286.478179c803491ed5c4c7.bundle.js} +1 -1
  205. package/dist/{288.05aff11dab36eb7e65da.bundle.js → 287.11edeb8f1432768e0767.bundle.js} +1 -1
  206. package/dist/{289.6cf76205fe19969066b6.bundle.js → 288.e4376f0b428d8eb967f9.bundle.js} +1 -1
  207. package/dist/{290.a4fc424ffce505eca00a.bundle.js → 289.289bcb839410a39f044a.bundle.js} +1 -1
  208. package/dist/{28.9cc2b0769a41c49847bd.bundle.js → 29.746f1aa8f8aed393c16d.bundle.js} +1 -1
  209. package/dist/{291.1c1fd66cc88ac8fd852b.bundle.js → 290.b1e9950bde8bc29d980c.bundle.js} +1 -1
  210. package/dist/{292.415bc8d92308d7e1f3ad.bundle.js → 291.6c2dd9468c969445cebd.bundle.js} +1 -1
  211. package/dist/{293.5ebd16be629383441ea5.bundle.js → 292.2a58d2714e11521f57b9.bundle.js} +1 -1
  212. package/dist/{294.2ec499aae4b89c7cc846.bundle.js → 293.c0c9b7587a00cc5226be.bundle.js} +1 -1
  213. package/dist/{295.3bc01f3a57bea0ee1bdb.bundle.js → 294.cb1c56c40cec78ff8a3b.bundle.js} +1 -1
  214. package/dist/{296.63aafd90c02111daacca.bundle.js → 295.48c31ef1ba720e39fd0f.bundle.js} +1 -1
  215. package/dist/{297.1bdc6a3832d57eb81bac.bundle.js → 296.66f7b0c73dbd04813a5c.bundle.js} +1 -1
  216. package/dist/{298.38b5cc9aa9ee74a45495.bundle.js → 297.d2fc19811a85547893d7.bundle.js} +1 -1
  217. package/dist/{299.282284f1dfdae76e16e8.bundle.js → 298.e6384d5fd5ea133b51ea.bundle.js} +1 -1
  218. package/dist/{300.50b90ddcd4a3e62127bf.bundle.js → 299.7ca9819555151dc7b88a.bundle.js} +1 -1
  219. package/dist/{3.67bffc43ebc99521ba44.bundle.js → 3.620934bc963933d29036.bundle.js} +1 -1
  220. package/dist/30.2ff00184f3089fed31d0.bundle.js +1 -0
  221. package/dist/{301.103a2b39a148c9635b34.bundle.js → 300.9bc088674fbda1daa580.bundle.js} +1 -1
  222. package/dist/{302.1ddd487def2666da1d57.bundle.js → 301.30fd64467761d6c05b92.bundle.js} +1 -1
  223. package/dist/{303.91415df6782da51d1efa.bundle.js → 302.fe58dc72d9261dc3f28c.bundle.js} +1 -1
  224. package/dist/{304.7fa4e994c91a57064b2c.bundle.js → 303.a990553ce7f8fd77c769.bundle.js} +1 -1
  225. package/dist/{305.13219f08d74f9c5738ab.bundle.js → 304.2900bbcfedf2845dadf0.bundle.js} +1 -1
  226. package/dist/{306.81e8fcd5d13c4ccb6d80.bundle.js → 305.c492e3901ca6b265d8c5.bundle.js} +1 -1
  227. package/dist/{307.a92e589aa50e968135b0.bundle.js → 306.d8ad14bead4f56c70c1b.bundle.js} +1 -1
  228. package/dist/{308.3cf9a601458ca46f9727.bundle.js → 307.ca7e4325f4f5a0ed12f5.bundle.js} +1 -1
  229. package/dist/{309.6cea900cb2ad38a678ae.bundle.js → 308.618f3be014f14caa42ec.bundle.js} +1 -1
  230. package/dist/{310.4b95beeb128aa1816d8f.bundle.js → 309.699012a51bf537c4ccca.bundle.js} +1 -1
  231. package/dist/31.834b91e452d3fd47f5e9.bundle.js +1 -0
  232. package/dist/{311.85ad1d7b33a0aba3933b.bundle.js → 310.7d4fba6dd10df8deeeea.bundle.js} +1 -1
  233. package/dist/{312.82c64f47539742951e0d.bundle.js → 311.4df23084affc63c289c7.bundle.js} +1 -1
  234. package/dist/{313.cad3da8c59f59d4b1d97.bundle.js → 312.6776634d6ab07136342b.bundle.js} +1 -1
  235. package/dist/{314.e6c51164d979731bd692.bundle.js → 313.8fd9508f7a67ce1a8209.bundle.js} +1 -1
  236. package/dist/{315.80c1231a1f4cb11474a0.bundle.js → 314.d3df9dbd7b0e62a6fe7d.bundle.js} +1 -1
  237. package/dist/{316.6cd6fe2b79c90f80e07f.bundle.js → 315.942766ebe8815f509721.bundle.js} +1 -1
  238. package/dist/{317.6ff1dd15b95c8a5adf6a.bundle.js → 316.0b15382bed0297596430.bundle.js} +1 -1
  239. package/dist/{318.d4f13752cf4126d356a7.bundle.js → 317.a4383e610a315ba4793d.bundle.js} +1 -1
  240. package/dist/{319.f6eb08787490a3d8aba8.bundle.js → 318.411d584c281780b3ce87.bundle.js} +1 -1
  241. package/dist/319.87bb8304418aba1b9993.bundle.js +1 -0
  242. package/dist/{32.8253ca9b40e1d4193b9c.bundle.js → 32.7b1c2c396e5afb02f8fd.bundle.js} +1 -1
  243. package/dist/{321.907b158fa887fad23a15.bundle.js → 320.22e493942e8fa19ec7e3.bundle.js} +1 -1
  244. package/dist/{322.ff576da0177978510867.bundle.js → 321.4a8626bca6526c10d4cc.bundle.js} +1 -1
  245. package/dist/{323.1766a5aa0a39900f276c.bundle.js → 322.31d4f332347d459782d5.bundle.js} +1 -1
  246. package/dist/{324.61ac9ff2175a10e9946f.bundle.js → 323.8fc4978179e5016653c0.bundle.js} +1 -1
  247. package/dist/{325.f57a2b8d771afe930d16.bundle.js → 324.d7825e7814fecf95cf95.bundle.js} +1 -1
  248. package/dist/{326.4fdf453bbe24df2a5c01.bundle.js → 325.73c861e9bf53dee650d7.bundle.js} +1 -1
  249. package/dist/{327.bd0ee34db7b26ceb16a4.bundle.js → 326.9e5fe643e7ccce0e3589.bundle.js} +1 -1
  250. package/dist/{328.4a50d7206f3774767c4b.bundle.js → 327.a4da4b0ead0904c42a48.bundle.js} +1 -1
  251. package/dist/{329.9cce24674845ac56ceae.bundle.js → 328.f90f5da59b18f6a67d95.bundle.js} +1 -1
  252. package/dist/{330.a61b1cca686c79077fb7.bundle.js → 329.1ee9f73089d34eb4cee8.bundle.js} +1 -1
  253. package/dist/{33.abf40b9ea1b82a72e6f6.bundle.js → 33.b7d3b8023c4e24581cae.bundle.js} +1 -1
  254. package/dist/{331.597ce4546f700a8b1a5f.bundle.js → 330.f14e89fa6e7e0da7a27f.bundle.js} +1 -1
  255. package/dist/{332.353e9d695ed951dd3de2.bundle.js → 331.22f8b801392d56c7755f.bundle.js} +1 -1
  256. package/dist/{333.e15b164295e3d43321eb.bundle.js → 332.45ad2cd234ef929115d7.bundle.js} +1 -1
  257. package/dist/{334.ab88623e248798de0421.bundle.js → 333.e345a4decfc4eb45079c.bundle.js} +1 -1
  258. package/dist/{335.bdcff1ac2d7ccc7c5229.bundle.js → 334.efb67230a10edb39be80.bundle.js} +1 -1
  259. package/dist/{336.cb84d7d05bbe2ad7963f.bundle.js → 335.8d8a783b97dc1c0fb6bb.bundle.js} +1 -1
  260. package/dist/{337.e0d97bb414475f5acf31.bundle.js → 336.3bf92930947017cdb4f8.bundle.js} +1 -1
  261. package/dist/{338.f3ff1282bd122f8895dc.bundle.js → 337.ef71ca81064e5c92bcad.bundle.js} +1 -1
  262. package/dist/{339.dc583162bf40db42f98c.bundle.js → 338.ba7f6aedeef23cb7b1a5.bundle.js} +1 -1
  263. package/dist/339.f03eaae57c5c8ad09f8e.bundle.js +1 -0
  264. package/dist/{34.2c7fe40a53e92601c88b.bundle.js → 34.3d3f0d4c913f28c5d164.bundle.js} +1 -1
  265. package/dist/340.dc715de481ca8a62fb5a.bundle.js +1 -0
  266. package/dist/{342.4de51def867c7adcfc75.bundle.js → 341.8fe52a21530bf6604423.bundle.js} +1 -1
  267. package/dist/{343.374d1154d482e3d7396c.bundle.js → 342.c8474331a47220fe07ab.bundle.js} +1 -1
  268. package/dist/{344.93984322d830d99a95e7.bundle.js → 343.91db1acd5ee3cc356e12.bundle.js} +1 -1
  269. package/dist/{345.b1cc97204f941f7a18b7.bundle.js → 344.c16c1de0f627440ecc9a.bundle.js} +1 -1
  270. package/dist/{35.f5adcb2804a769d6e607.bundle.js → 35.14544a850514da41e073.bundle.js} +1 -1
  271. package/dist/{36.54d09f49909d85959d6b.bundle.js → 36.414d3a05a9d8111660da.bundle.js} +1 -1
  272. package/dist/{37.7b8cbd0e8d6fd002bcef.bundle.js → 37.53b541abda0139f4e94d.bundle.js} +1 -1
  273. package/dist/{38.096e08f800ec7657d8a1.bundle.js → 38.b788cb674b3464a65c6e.bundle.js} +1 -1
  274. package/dist/{39.0663a2fd376a20ba022b.bundle.js → 39.0df94fdc4ae1ae7dfdbd.bundle.js} +1 -1
  275. package/dist/{4.da9935617ffdfccfe1bb.bundle.js → 4.c0590beb01d2c0a1dda7.bundle.js} +1 -1
  276. package/dist/{40.0a317f6a7fa94b122af1.bundle.js → 40.0386640d7bfdff95a03c.bundle.js} +1 -1
  277. package/dist/{41.87195b5f78afed9d8d6b.bundle.js → 41.a90de8f9ab4710486ddd.bundle.js} +1 -1
  278. package/dist/{42.ef4ef5d14a8edc140ea2.bundle.js → 42.3576e1284b9d264b31ba.bundle.js} +1 -1
  279. package/dist/43.2159706cf1e17fe8cce8.bundle.js +1 -0
  280. package/dist/{44.1e91e31fceee509e8e09.bundle.js → 44.655c549b8be87bfdf58a.bundle.js} +1 -1
  281. package/dist/{45.6dbb865ec06fe26f6d63.bundle.js → 45.33225cf2978549d1e9b7.bundle.js} +2 -2
  282. package/dist/{46.3a320a99e1990e0c881f.bundle.js → 46.52de2693428031a42f6a.bundle.js} +1 -1
  283. package/dist/{47.ed92464465cbc5a497b8.bundle.js → 47.c1adcca9156537f84567.bundle.js} +1 -1
  284. package/dist/{48.547c3d5475b68f1678dd.bundle.js → 48.14da2d5c942a2e48bc5e.bundle.js} +1 -1
  285. package/dist/{49.185f2ff6f818bdcc38ee.bundle.js → 49.a7815f5484e5fc401260.bundle.js} +1 -1
  286. package/dist/{5.888aafb8f32951db3676.bundle.js → 5.ca0d79948f6a0b1b86c9.bundle.js} +1 -1
  287. package/dist/{50.f77a0ba3fd5190780577.bundle.js → 50.2ed896e38b82b2037248.bundle.js} +1 -1
  288. package/dist/{51.8f40006fa45a6a705a91.bundle.js → 51.5b7fa70b82991d0c8512.bundle.js} +1 -1
  289. package/dist/{52.24b13fb10fdb3560574b.bundle.js → 52.4cb867ae048e7e208028.bundle.js} +1 -1
  290. package/dist/{53.47a25b8c06da8beff37b.bundle.js → 53.f601b3fd50fe2d2717a1.bundle.js} +1 -1
  291. package/dist/{54.faf688626cef4e5d0cf5.bundle.js → 54.c00040395932a824a79d.bundle.js} +1 -1
  292. package/dist/{55.a911f8a2c42b64ef11c5.bundle.js → 55.013a15abea72f9c363f4.bundle.js} +1 -1
  293. package/dist/{56.c75d5db6485dc91ffd1c.bundle.js → 56.d9dbe60ff8fe92e9a36f.bundle.js} +1 -1
  294. package/dist/{57.f8798405f5b3f25ab00c.bundle.js → 57.9f449bfd3ecaa85da0d3.bundle.js} +1 -1
  295. package/dist/{58.84ebaf94ac4d10d55f58.bundle.js → 58.31ea0b9fe7be812d9ece.bundle.js} +1 -1
  296. package/dist/{59.bb7515772be8ad2db3ef.bundle.js → 59.b4130a51cf66cef9504d.bundle.js} +1 -1
  297. package/dist/{6.bcb20986dab6bada1d9c.bundle.js → 6.550610454f1451860db3.bundle.js} +1 -1
  298. package/dist/{60.4370065cecaefbe2b598.bundle.js → 60.60e6b1b0f0a9ee06c4b4.bundle.js} +1 -1
  299. package/dist/{61.70a6242f09440cf479da.bundle.js → 61.091ffc2fd7dad2a10114.bundle.js} +1 -1
  300. package/dist/{62.1ecdd2ca72862a8ac3df.bundle.js → 62.12ddb6f67223ff0bd1d3.bundle.js} +1 -1
  301. package/dist/{63.303ee35259434d0df4f9.bundle.js → 63.a6ad704bec9c90c8a49a.bundle.js} +1 -1
  302. package/dist/{64.c74b75507bb7291b2c73.bundle.js → 64.889f03b9f25068263bb9.bundle.js} +1 -1
  303. package/dist/{65.8d14706a397d6546823d.bundle.js → 65.61751408a00cc815758b.bundle.js} +1 -1
  304. package/dist/{66.990ef81cb85c5f796a83.bundle.js → 66.2ed471bfaa5408e80f0d.bundle.js} +1 -1
  305. package/dist/{67.f635fc38c2423ab1b359.bundle.js → 67.67f97a08cdba0d47d846.bundle.js} +1 -1
  306. package/dist/{68.002b27d57c1614bd2922.bundle.js → 68.aa3ebfb79ebf84c23fd5.bundle.js} +1 -1
  307. package/dist/{69.b84b0ffa66a0ab6bb961.bundle.js → 69.bf6cb857a763f7396a97.bundle.js} +1 -1
  308. package/dist/{7.200513c84108455e46da.bundle.js → 7.78b8cde5ca1ecf7e7578.bundle.js} +11 -11
  309. package/dist/{70.e1b4e33d98ddab96578b.bundle.js → 70.64b4519e93899a76dafc.bundle.js} +1 -1
  310. package/dist/71.3e0d7a932948eba8de35.bundle.js +1 -0
  311. package/dist/{72.175e331fb3526b99f853.bundle.js → 72.d368c21ee72cc7a0e529.bundle.js} +1 -1
  312. package/dist/{74.a8c9d46b292ab65e87b3.bundle.js → 73.b62a0506e3003bc85209.bundle.js} +1 -1
  313. package/dist/{75.8c274af6622ab923193d.bundle.js → 74.693b679d94e560cb57fa.bundle.js} +1 -1
  314. package/dist/{76.9c1b8c834c1c7439824a.bundle.js → 75.e04b4ac44e1e39d9dae7.bundle.js} +1 -1
  315. package/dist/{77.9fb2ee434cd4994ed6cb.bundle.js → 76.e120543e5b122d486274.bundle.js} +1 -1
  316. package/dist/{78.c574c8d0ffa27ca1d697.bundle.js → 77.39797916de4cbcd221c4.bundle.js} +1 -1
  317. package/dist/{79.3a055bf2f3d1ffb128d0.bundle.js → 78.21e9ed014cf22cf6b10e.bundle.js} +1 -1
  318. package/dist/{80.a249bce7b9baf2ce26cf.bundle.js → 79.2783db555937b4a3f566.bundle.js} +1 -1
  319. package/dist/8.0a0d7d80beeb40ee70e1.bundle.js +1 -0
  320. package/dist/{81.603b2d5a158211b89d14.bundle.js → 80.6a98806ad479093d9b85.bundle.js} +1 -1
  321. package/dist/{82.5de8b54338e9d0521fb3.bundle.js → 81.6502f30a932111170404.bundle.js} +1 -1
  322. package/dist/{83.9ccf7ba813fe67a3ae72.bundle.js → 82.d0923d77d67879f7756e.bundle.js} +1 -1
  323. package/dist/{84.2c1bbe132f7dc6171b08.bundle.js → 83.2fb0a0d7d7488db6b481.bundle.js} +1 -1
  324. package/dist/{85.02a5c90bb66b9c3a0210.bundle.js → 84.93aa9a42ecf6409ac589.bundle.js} +1 -1
  325. package/dist/{86.759b10132a74c1c52aea.bundle.js → 85.645ecd4c2d44055f8ae8.bundle.js} +1 -1
  326. package/dist/{87.40a28699e5d31b16dfed.bundle.js → 86.fb3297338cf03fdf9993.bundle.js} +1 -1
  327. package/dist/{88.4810b7f7da1dc42dbc26.bundle.js → 87.3ea7947b087ef13de7ff.bundle.js} +1 -1
  328. package/dist/{89.3f0624230921056f0ccd.bundle.js → 88.8df5f9e2ea61a4cc6ecd.bundle.js} +1 -1
  329. package/dist/{90.f933ab129b7efa14e848.bundle.js → 89.ebea12afde240c3b31f8.bundle.js} +1 -1
  330. package/dist/{9.359dca1085489f6b935d.bundle.js → 9.2bbcf293dc964b0898d4.bundle.js} +1 -1
  331. package/dist/{91.e005fe09d91b8e115246.bundle.js → 90.8bfa49f555ddf82e9cfc.bundle.js} +1 -1
  332. package/dist/{92.219d302970a4991eab4c.bundle.js → 91.796359a3576dcc4dd726.bundle.js} +1 -1
  333. package/dist/{93.c9207a467ce3a134f7f5.bundle.js → 92.150ba4eeee8b2be3f53e.bundle.js} +1 -1
  334. package/dist/{94.73ac09f9545deffdab92.bundle.js → 93.7f087cd8cca2d5562737.bundle.js} +1 -1
  335. package/dist/{95.ca97050b2921be9c00a0.bundle.js → 94.bbf159e68c7e1d8edc60.bundle.js} +1 -1
  336. package/dist/{96.a9a1d3ee056e27b0a3a4.bundle.js → 95.b08c97f2f62a0ff14528.bundle.js} +1 -1
  337. package/dist/{97.d0a3cb1253f907d2c80a.bundle.js → 96.8bdf4b5eb5529e37dec3.bundle.js} +1 -1
  338. package/dist/{98.b9407155a078776f9a21.bundle.js → 97.3301dc7ed33fe9105f24.bundle.js} +1 -1
  339. package/dist/{99.27185f1312c466a7edec.bundle.js → 98.a3f87cd4e048783021bc.bundle.js} +1 -1
  340. package/dist/99.6fafa34838b74a812e6f.bundle.js +1 -0
  341. package/dist/{bundle.33a2e99fc131e7c3996e.bundle.js → bundle.940c2c834bfab5e4a45d.bundle.js} +13 -13
  342. package/dist/i18n/locale-en.json +2 -0
  343. package/dist/i18n/locale-fr.json +28 -1
  344. package/dist/index.html +3 -3
  345. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  346. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  347. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  348. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  349. package/dist/js/angular/import/templates/import-resource-tree.html +8 -7
  350. package/dist/js/angular/security/templates/user.html +9 -3
  351. package/dist/license-checker.json +2 -2
  352. package/dist/{main.b5511edb9b2b1180e086.bundle.js → main.e540b5c1db3ab73d06ac.bundle.js} +1 -1
  353. package/dist/pages/aclmanagement.html +2 -2
  354. package/dist/pages/autocomplete.html +1 -1
  355. package/dist/pages/choose-repository-type.html +1 -1
  356. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  357. package/dist/pages/create-index.html +1 -1
  358. package/dist/pages/dependencies.html +1 -1
  359. package/dist/pages/domainRangeInfo.html +2 -2
  360. package/dist/pages/edit.html +1 -1
  361. package/dist/pages/explore.html +1 -1
  362. package/dist/pages/export.html +1 -1
  363. package/dist/pages/find.html +1 -1
  364. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  365. package/dist/pages/graphs-visualizations.html +7 -7
  366. package/dist/pages/guides.html +1 -1
  367. package/dist/pages/import.html +6 -8
  368. package/dist/pages/jdbc-create.html +1 -1
  369. package/dist/pages/monitor/backup-and-restore.html +1 -1
  370. package/dist/pages/monitor/queries.html +1 -1
  371. package/dist/pages/monitor/resources.html +1 -1
  372. package/dist/pages/namespaces.html +2 -2
  373. package/dist/pages/plugins.html +1 -1
  374. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  375. package/dist/pages/rdfrank.html +2 -2
  376. package/dist/pages/repositories.html +1 -1
  377. package/dist/pages/repository.html +1 -1
  378. package/dist/pages/similarity-indexes.html +1 -1
  379. package/dist/pages/sparql-editor.html +1 -1
  380. package/dist/pages/sparql-template-create.html +1 -1
  381. package/dist/pages/ux-test1.html +2 -2
  382. package/dist/pages/webapi.html +2 -2
  383. package/dist/{polyfills-dom.75a8a5aa37ac381540a9.bundle.js → polyfills-dom.4539a67f214ebf5a3805.bundle.js} +1 -1
  384. package/dist/res/swagger5/index.html +12 -12
  385. package/dist/{vendor.8c00bf84687c9deda249.bundle.js → vendor.f1a95b477d64a95ead76.bundle.js} +4 -4
  386. package/dist/{vendors~polyfills-core-js.dec7859f2b9ed62ca3b7.bundle.js → vendors~polyfills-core-js.d3af3910680af28cfd2a.bundle.js} +1 -1
  387. package/package.json +1 -1
  388. package/dist/100.c32c7be9559e7e00bbef.bundle.js +0 -1
  389. package/dist/15.85f231bb188f902a223a.bundle.js +0 -1
  390. package/dist/150.21d1f1de6ebf9678cfb8.bundle.js +0 -1
  391. package/dist/165.00e006e1c26b200db2d1.bundle.js +0 -1
  392. package/dist/179.c710403537cc8ac04dc0.bundle.js +0 -1
  393. package/dist/199.776cdb50bdeae7835801.bundle.js +0 -1
  394. package/dist/200.1dd2fbe2abce07bb84e1.bundle.js +0 -1
  395. package/dist/212.b73670639a5b505b073a.bundle.js +0 -1
  396. package/dist/213.b1eae389535375ecc22f.bundle.js +0 -1
  397. package/dist/220.16a156466d6f7dab727f.bundle.js +0 -1
  398. package/dist/222.00e664206b410ce1a048.bundle.js +0 -1
  399. package/dist/226.520de4563b3728ee1cd0.bundle.js +0 -1
  400. package/dist/261.77656553a16ccd6e8e02.bundle.js +0 -1
  401. package/dist/29.936102485048579895ba.bundle.js +0 -1
  402. package/dist/30.ae05099edf532f9a1d23.bundle.js +0 -1
  403. package/dist/31.33011b6711b5279f1cec.bundle.js +0 -1
  404. package/dist/320.bc9ff84d0a327cc1ed9f.bundle.js +0 -1
  405. package/dist/340.e87c0b7b38142d3bcaaf.bundle.js +0 -1
  406. package/dist/341.5de4c95d3823d02c73af.bundle.js +0 -1
  407. package/dist/43.00e4cff130791afba6f0.bundle.js +0 -1
  408. package/dist/71.1e1a533350a7137809ef.bundle.js +0 -1
  409. package/dist/73.368f6e87cb6ebb33f0de.bundle.js +0 -1
  410. package/dist/8.4ecff4d44fde5be15361.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[195],{118:function(e,t,s){"use strict";s.r(t),s.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[193],{118:function(e,t,s){"use strict";s.r(t),s.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[196],{117:function(t,n,a){"use strict";a.r(n),a.d(n,"SaveQueryOpened",(function(){return e}));class e{constructor(t){this.tab=t.payload.tab}getTab(){return this.tab}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[194],{117:function(t,n,a){"use strict";a.r(n),a.d(n,"SaveQueryOpened",(function(){return e}));class e{constructor(t){this.tab=t.payload.tab}getTab(){return this.tab}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[197],{294:function(t,s,n){"use strict";n.r(s),n.d(s,"Tab",(function(){return i}));class i{constructor(t){this.tab=t,this.yasgui=t.yasgui}getId(){return this.tab.getId()}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[195],{293:function(t,s,n){"use strict";n.r(s),n.d(s,"Tab",(function(){return i}));class i{constructor(t){this.tab=t,this.yasgui=t.yasgui}getId(){return this.tab.getId()}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[198],{218:function(n,i,o){"use strict";o.r(i),o.d(i,"YasguiOrientation",(function(){return t}));const t={VERTICAL:"orientation-vertical",HORIZONTAL:"orientation-horizontal"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[196],{217:function(n,i,o){"use strict";o.r(i),o.d(i,"YasguiOrientation",(function(){return t}));const t={VERTICAL:"orientation-vertical",HORIZONTAL:"orientation-horizontal"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[197],{218:function(n,t,o){"use strict";o.r(t),o.d(t,"YasguiQueryHttpMethod",(function(){return s}));const s={POST:"POST",GET:"GET"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[198],{294:function(n,o,t){"use strict";t.r(o),t.d(o,"YasqeActionButtonDefinition",(function(){return c}));class c{constructor(n,o){}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[201],{67:function(n,o,E){"use strict";E.r(o),E.d(o,"YasqeMode",(function(){return s}));const s={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[199],{67:function(n,o,E){"use strict";E.r(o),E.d(o,"YasqeMode",(function(){return s}));const s={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[2,20,32,69,78,92,108,112,181,182,183,184,185,186,187,190,191,192,193,195,196,203,223,225,227,271],{109:function(e,t,n){"use strict";n.r(t),n.d(t,"buildQueryModel",(function(){return o})),n.d(t,"savedQueriesResponseMapper",(function(){return s})),n.d(t,"savedQueryResponseMapper",(function(){return a})),n.d(t,"queryPayloadFromEvent",(function(){return i}));var r=n(92);const o=(e,t,n,o)=>new r.TabQueryModel(t,e,n,o),s=e=>e&&e.data?e.data.map?e.data.map(e=>o(e.body,e.name,e.owner,e.shared)):[o(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],a=e=>{const t=s(e);return t.length?t[0]:null},i=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})},110:function(e,t,n){"use strict";n.r(t),n.d(t,"EventData",(function(){return r}));class r{constructor(e,t){this.TYPE=e,this.payload=t}}},111:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}},112:function(e,t,n){"use strict";n.r(t),n.d(t,"CountQueryResponseEvent",(function(){return o}));var r=n(65);class o{constructor(e){this.TYPE=e.TYPE,this.response=e.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(r.isNumber)(this.response.body)}isResponseArray(){return!!this.hasResponse()&&Array.isArray(this.response.body)}getBindings(){if(this.hasResponse())return this.response.body.results.bindings}hasBindingResponse(){return!!this.hasResponse()&&this.response.body.results.bindings[0]}setTotalElements(e){this.response.body.totalElements=e}}},113:function(e,t,n){"use strict";n.r(t),n.d(t,"CountQueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}setPageNumber(e){this.request._data.pageNumber=e}setCount(e){this.request._data.count=e}}},114:function(e,t,n){"use strict";n.r(t),n.d(t,"DownloadAsEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.contentType=e.payload.value,this.pluginName=e.payload.pluginName,this.query=e.payload.query,this.infer=e.payload.infer,this.sameAs=e.payload.sameAs}}},115:function(e,t,n){"use strict";n.r(t),n.d(t,"NotificationMessageEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.message=e.payload.message,this.code=e.payload.code,this.messageType=e.payload.messageType}}},116:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryExecutedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.duration=e.payload.duration,this.tabId=e.payload.tabId}}},117:function(e,t,n){"use strict";n.r(t),n.d(t,"SaveQueryOpened",(function(){return r}));class r{constructor(e){this.tab=e.payload.tab}getTab(){return this.tab}}},118:function(e,t,n){"use strict";n.r(t),n.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}},119:function(e,t,n){"use strict";n.r(t),n.d(t,"YasrPluginName",(function(){return r}));const r={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}},162:function(e,t){function n(e){const t=["en","fr"];let n;return{getTranslations:()=>(n||(n={},t.forEach(t=>n[t]=e.getTranslationTable(t))),n)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",n),n.$inject=["$translate"]},163:function(e,t,n){"use strict";n.r(t);var r=n(91);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(t,n){let o=`${e()}?${r.RouteConstants.savedQueryName}=${encodeURIComponent(t)}`;null!=n&&(o+=`&${r.RouteConstants.savedQueryOwner}=${encodeURIComponent(n)}`);return o},createShareQueryLink:function(t){return e()+"?"+$.param({name:t.name,query:t.body,infer:t.inference||!0,sameAs:t.sameAs||!0})}};function e(){return[location.protocol,"//",location.host,location.pathname].join("")}}))},164:function(e,t,n){"use strict";n.r(t),n.d(t,"toEventData",(function(){return y})),n.d(t,"toYasguiOutputModel",(function(){return g})),n.d(t,"downloadAsFile",(function(){return E}));var r=n(110),o=n(86),s=n(111),a=n(112),i=n(113),u=n(114),c=n(115),d=n(116),l=n(117),p=n(118);const y=e=>new r.EventData(e.detail.TYPE,e.detail.payload),g=e=>{const t=y(e);switch(t.TYPE){case o.EventDataType.DOWNLOAD_AS:return new u.DownloadAsEvent(t);case o.EventDataType.NOTIFICATION_MESSAGE:return new c.NotificationMessageEvent(t);case o.EventDataType.COUNT_QUERY:return new i.CountQueryRequestEvent(t);case o.EventDataType.COUNT_QUERY_RESPONSE:return new a.CountQueryResponseEvent(t);case o.EventDataType.QUERY:return new s.QueryRequestEvent(t);case o.EventDataType.QUERY_EXECUTED:return new d.QueryExecutedEvent(t);case o.EventDataType.SAVE_QUERY_OPENED:return new l.SaveQueryOpened(t);case o.EventDataType.REQUEST_ABORTED:return new p.RequestAbortedEvent(t);default:return t}},E=(e,t,n)=>{const r=document.createElement("a");r.setAttribute("href",`data:${t};charset=utf-8, + ${encodeURIComponent(n)}`),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)}},165:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiComponent",(function(){return o}));var r=n(14);class o{constructor(e=r.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor")){this.yasguiComponent=e}changeRenderMode(e){return this.yasguiComponent.changeRenderMode(e)}setQuery(e){return this.yasguiComponent.setQuery(e)}query(e){return this.yasguiComponent.query(e)}getQuery(){return this.yasguiComponent.getQuery()}isQueryValid(){return this.yasguiComponent.isQueryValid()}openTab(e){return this.yasguiComponent.openTab(e)}getQueryMode(){return this.yasguiComponent.getQueryMode()}getQueryType(){return this.yasguiComponent.getQueryType()}getEmbeddedResultAsJson(){return this.yasguiComponent.getEmbeddedResultAsJson()}getEmbeddedResultAsCSV(){return this.yasguiComponent.getEmbeddedResultAsCSV()}hideYasqeActionButton(e){return this.yasguiComponent.hideYasqeActionButton(e)}showYasqeActionButton(e){return this.yasguiComponent.showYasqeActionButton(e)}abortQuery(){return this.yasguiComponent.abortQuery()}getOngoingRequestsInfo(){return this.yasguiComponent.getOngoingRequestsInfo()}abortAllRequests(){return this.yasguiComponent.abortAllRequests()}resetYasrResults(){return this.yasguiComponent.resetResults()}}},166:function(e,t,n){"use strict";n.r(t),n.d(t,"KeyboardShortcutName",(function(){return r}));const r={TRIGGER_AUTOCOMPLETION:"trigger_autocompletion",DELETE_CURRENT_LINE:"delete_current_line",COMMENT_SELECTED_LINE:"comment_selected_line",COPY_LINE_DOWN:"copy_line_down",COPY_LINE_UP:"copy_line_up",AUTO_FORMAT_SELECTED_LINE:"auto_format_selected_line",INDENT_CURRENT_LINE_MORE:"indent_current_line_more",INDENT_CURRENT_LINE_LESS:"indent_current_line_less",EXECUTE_QUERY_OR_UPDATE:"execute_query_or_update",EXECUTE_EXPLAIN_PLAN_FOR_QUERY:"execute_explain_plan_for_query",EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY:"execute_chat_gpt_explain_plan_for_query",CREATE_TAB:"create_tab",CREATE_SAVE_QUERY:"create_save_query",SWITCH_NEXT_TAB:"switch_next_tab",SWITCH_PREVIOUS_TAB:"switch_previous_tab",CLOSES_ALL_TABS:"closes_all_tabs",FULL_SCREEN:"full_screen",ESC:"esc"}},167:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiPersistenceMigrationService",(function(){return i}));var r=n(94);const o="yagui__"+r.VIEW_SPARQL_EDITOR,s="completed",a="rejected",i=function(){const e=()=>({val:{active:null,tabs:[],tabConfig:{}}}),t=(e,t,n=null)=>{e.val.migration={date:(new Date).toISOString(),status:t,error:n}},n=(e,t)=>{e.val.tabs.push(t)},r=(e,t)=>{e.val.tabConfig[t.id]=t},i=e=>{let t=localStorage.getItem(e);if(t)return t=JSON.parse(t),t},u=e=>{e.val.tabs=e.val.tabs.filter(e=>!e.startsWith("_"))},c=e=>{for(const t in e.val.tabConfig)t.startsWith("_")&&delete e.val.tabConfig[t]},d=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},l=(e,t)=>`${t} ${e}`,p=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const e=i(o);let t=!1;return e&&(t=e.val.migration&&(e.val.migration.status===s||e.val.migration.status===a)),!(!localStorage.getItem("ls.tabs-state")||t)},revertMigration:()=>{const e=i(o);u(e),c(e),d(o,e)},migrateYasguiPersistence:a=>{let u=i("ls.tabs-state");u=Object.freeze(u);let c=i(o);c||(c=e()),u.map(e=>({id:e.id,name:e.name,yasqe:{value:e.query,sameAs:e.sameAs,infer:e.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((e,t)=>{e.id="_"+p(),e.name=e.name||l(t,a),n(c,e.id),r(c,e)}),c.val.active=c.val.tabs[0],t(c,s),d(o,c)},rejectMigration:()=>{const e=i(o);t(e,a),d(o,e)}}}()},460:function(e,t,n){var r,o=o||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o=e.webkitRequestFileSystem,s=e.requestFileSystem||o||e.mozRequestFileSystem,a=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},i=0,u=function(t){var r=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?r():setTimeout(r,500)},c=function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var o=e["on"+t[r]];if("function"==typeof o)try{o.call(e,n||e)}catch(e){a(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},l=function(t,a){t=d(t);var l,p,y,g=this,E=t.type,m=!1,f=function(){c(g,"writestart progress write writeend".split(" "))},h=function(){(!m&&l||(l=n().createObjectURL(t)),p)?p.location.href=l:null==e.open(l,"_blank")&&"undefined"!=typeof safari&&(e.location.href=l);g.readyState=g.DONE,f(),u(l)},S=function(e){return function(){if(g.readyState!==g.DONE)return e.apply(this,arguments)}},T={create:!0,exclusive:!1};if(g.readyState=g.INIT,a||(a="download"),r)return l=n().createObjectURL(t),r.href=l,r.download=a,void setTimeout((function(){var e,t;e=r,t=new MouseEvent("click"),e.dispatchEvent(t),f(),u(l),g.readyState=g.DONE}));e.chrome&&E&&"application/octet-stream"!==E&&(y=t.slice||t.webkitSlice,t=y.call(t,0,t.size,"application/octet-stream"),m=!0),o&&"download"!==a&&(a+=".download"),("application/octet-stream"===E||o)&&(p=e),s?(i+=t.size,s(e.TEMPORARY,i,S((function(e){e.root.getDirectory("saved",T,S((function(e){var n=function(){e.getFile(a,T,S((function(e){e.createWriter(S((function(n){n.onwriteend=function(t){p.location.href=e.toURL(),g.readyState=g.DONE,c(g,"writeend",t),u(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&h()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=g["on"+e]})),n.write(t),g.abort=function(){n.abort(),g.readyState=g.DONE},g.readyState=g.WRITING})),h)})),h)};e.getFile(a,{create:!1},S((function(e){e.remove(),n()})),S((function(e){e.code===e.NOT_FOUND_ERR?n():h()})))})),h)})),h)):h()},p=l.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(p.abort=function(){this.readyState=this.DONE,c(this,"abort")},p.readyState=p.INIT=0,p.WRITING=1,p.DONE=2,p.error=p.onwritestart=p.onprogress=p.onwrite=p.onabort=p.onerror=p.onwriteend=null,function(e,t){return new l(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
2
- /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=o:null!==n(471)&&null!=n(459)&&(void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r))},85:function(e,t,n){"use strict";function r(e,t,n,r,o){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,t){return e[t.name]=t.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=o.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,t,o){n.set(r.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:t,jsonldLink:o}))},e.cancel=function(){t.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),t.close({currentMode:e.currentMode,link:e.link})};!function(){const t=n.get(r.JSONLD_EXPORT_SETTINGS);t&&(e.currentMode=e.JSONLDModes.find(e=>e.name===t.jsonldFormName),e.link=t.jsonldLink)}()}n.r(t),n.d(t,"ExportSettingsCtrl",(function(){return r})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",r),r.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]},86:function(e,t,n){"use strict";n.r(t),n.d(t,"EventDataType",(function(){return r}));const r={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},90:function(e,t,n){"use strict";n.r(t);n(162),n(163);var r=n(109),o=n(65),s=n(460),a=n(164),i=n(86),u=n(12),c=n(119),d=n(556),l=n(93),p=n(165),y=n(14),g=n(166),E=n(167),m=n(85);function f(e,t,n,f,h,S,T,v,_,R,b,O,N,C,A,q){return{restrict:"E",templateUrl:"js/angular/core/directives/yasgui-component/templates/yasgui-component.html",scope:{yasguiConfig:"=",afterInit:"&",queryChanged:"&"},link:(f,q,w)=>{f.classToApply=w.class||"";const Q=new Map,L=f.yasguiConfig&&f.yasguiConfig.outputHandlers?new Map(f.yasguiConfig.outputHandlers):new Map;let D=void 0;f.getOntotextYasguiElements=()=>q.find("ontotext-yasgui"),f.getOntotextYasguiElement=()=>new p.YasguiComponent(f.getOntotextYasguiElements()[0]),f.createSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);C.addNewSavedQuery(t).then(()=>z(t)).catch($)},f.updateSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);C.editSavedQuery(t).then(()=>X(t)).catch($)},f.deleteSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);C.deleteSavedQuery(t.name).then(()=>{_.success(n.instant("query.editor.delete.saved.query.success.msg",{savedQueryName:t.name}))}).catch(e=>{const t=getError(e);_.error(t,n.instant("query.editor.delete.saved.query.error"))})},f.shareSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);f.savedQueryConfig={shareQueryLink:A.createShareSavedQueryLink(t.name,t.owner)}},f.shareQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);f.savedQueryConfig={shareQueryLink:A.createShareQueryLink(t)}},f.queryShareLinkCopied=()=>{_.success(n.instant("modal.ctr.copy.url.success"))},f.loadSavedQueries=()=>{C.getSavedQueries().then(e=>{const t=Object(r.savedQueriesResponseMapper)(e);f.savedQueryConfig={savedQueries:t}}).catch(e=>{const t=getError(e);_.error(t,n.instant("query.editor.get.saved.queries.error"))})},f.saveQueryOpened=e=>{y.YasguiComponentDirectiveUtil.highlightTabName(Object(a.toYasguiOutputModel)(e).getTab())},f.output=e=>{const t=Object(a.toYasguiOutputModel)(e);L.has(t.TYPE)&&L.get(t.TYPE)(t)};L.set(i.EventDataType.QUERY,e=>{const t=e.getPageNumber(),n=e.getPageSize();n&&t&&(e.setOffset((t-1)*(n-1)),e.setLimit(n)),e.setPageNumber(void 0),e.setPageSize(void 0)});L.set(i.EventDataType.COUNT_QUERY,e=>{e.setPageSize(void 0),e.setPageNumber(void 0),e.setCount(1)});L.set(i.EventDataType.COUNT_QUERY_RESPONSE,e=>{e.setTotalElements(B(e))});L.set(i.EventDataType.DOWNLOAD_AS,e=>{const t=Q.get(e.pluginName);t&&t(e)});L.set(i.EventDataType.NOTIFICATION_MESSAGE,e=>{const t=_[e.messageType];Object(o.isFunction)(t)&&t(e.message)});Q.set("extended_response",e=>{"application/sparql-results+json"===e.contentType?f.getOntotextYasguiElement().getEmbeddedResultAsJson().then(t=>{const n=JSON.stringify(t,null,"\t");Object(a.downloadAsFile)(j()+"_queryResults.json",e.contentType,n)}):"text/csv"===e.contentType&&f.getOntotextYasguiElement().getEmbeddedResultAsCSV().then(t=>{Object(a.downloadAsFile)(j()+"_queryResults.csv",e.contentType,t)})});const P=(e,r,o,a,i,u)=>{const c={query:e,infer:r,sameAs:o,authToken:a};O.downloadResultsAsFile(t.getActiveRepository(),c,i,u).then((function({data:e,filename:t}){Object(s.saveAs)(e,t)})).catch((function(e){e.data.text().then(t=>{431===e.status?_.error(e.statusText,n.instant("common.error")):_.error(t,n.instant("common.error"))})})).finally(()=>{f.setLoader(!1)})};Q.set(c.YasrPluginName.EXTENDED_TABLE,e=>{const t=e.query,n=e.infer,r=e.sameAs,o=e.contentType,s=T.getAuthToken()||"";if("application/ld+json"===e.contentType||"application/x-ld+ndjson"===e.contentType){S.open({templateUrl:"js/angular/core/components/export-settings-modal/exportSettingsModal.html",controller:m.ExportSettingsCtrl,size:"lg",scope:f,resolve:{format:function(){return"application/ld+json"===e.contentType?"JSON-LD":"NDJSON-LD"}}}).result.then((function(e){const a=o+";profile="+e.currentMode.link,i=e.link?"<"+e.link+">":"";P(t,n,r,s,a,i)}))}else P(t,n,r,s,o,"")});const M=[],Y=()=>f.getOntotextYasguiElement().getQuery().then(e=>{D=JSON.stringify(e)});M.push(f.$watch("yasguiConfig",(r,o)=>{if(!f.ontotextYasguiConfig&&r||r&&!Object(d.isEqual)(r,o)){const o=t.isActiveRepoOntopType(),s={isVirtualRepository:o,infer:o||r.infer,immutableInfer:o,sameAs:o||r.sameAs,immutableSameAs:o,yasqeAutocomplete:{LocalNamesAutocompleter:t=>{const n=e.defer();return W(t,n)}},language:h.getLanguage(),i18n:R.getTranslations(),getRepositoryStatementsCount:V,onQueryAborted:K};if(angular.extend(s,J(),f.yasguiConfig),void 0===s.showQueryButton||s.showQueryButton){const e=s.keyboardShortcutConfiguration||{};e[g.KeyboardShortcutName.EXECUTE_EXPLAIN_PLAN_FOR_QUERY]=!0,e[g.KeyboardShortcutName.EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY]=!0,s.keyboardShortcutConfiguration=e}else{const e=s.keyboardShortcutConfiguration||{};e[g.KeyboardShortcutName.EXECUTE_QUERY_OR_UPDATE]=!1,e[g.KeyboardShortcutName.EXECUTE_EXPLAIN_PLAN_FOR_QUERY]=!1,e[g.KeyboardShortcutName.EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY]=!1,e[g.KeyboardShortcutName.CREATE_TAB]=!1,e[g.KeyboardShortcutName.CREATE_SAVE_QUERY]=!1,e[g.KeyboardShortcutName.SWITCH_NEXT_TAB]=!1,e[g.KeyboardShortcutName.SWITCH_PREVIOUS_TAB]=!1,e[g.KeyboardShortcutName.CLOSES_ALL_TABS]=!1,s.keyboardShortcutConfiguration=e}E.YasguiPersistenceMigrationService.isMigrationNeeded()&&E.YasguiPersistenceMigrationService.migrateYasguiPersistence(n.instant("sparql.tab.directive.unnamed.tab.title")),f.ontotextYasguiConfig=s,U(),Y().then(()=>{angular.isFunction(f.afterInit)&&f.afterInit()})}}));const I=()=>{let e;f.getOntotextYasguiElement().getQuery().then(t=>(e=JSON.stringify(t),e)).then(C.addKnownPrefixes).then(t=>{e=t.data}).then(()=>{x(JSON.stringify(e))}).catch(e=>{const t=getError(e);_.error(t,n.instant("common.add.known.prefixes.error"))})},U=()=>{const e=v((function(){const t=f.getOntotextYasguiElements();t&&(t.on("paste.sparqlQuery",".CodeMirror",I),t.on("keyup.sparqlQuery",".CodeMirror textarea",k),v.cancel(e))}))},k=e=>{f.getOntotextYasguiElement().getQuery().then(e=>{x(JSON.stringify(e))})},x=e=>{f.queryChanged(e),f.$emit("queryChanged",{dirty:D!==e})};M.push(f.$on("language-changed",(function(e,t){f.language=t.locale})));f.$on("$destroy",()=>{M.forEach(e=>e());const e=f.getOntotextYasguiElements();e.off("paste.sparqlQuery"),e.off("keyup.sparqlQuery")});const j=()=>{const e=new Date;return`${e.toLocaleDateString(f.language)}_${e.toLocaleTimeString(f.language)}`},B=e=>{if(e.isResponseNumber())return e.getResponseBody();if(e.isResponseArray()){const t=e.getResponseBody();if(t["http://www.ontotext.com/"])return t["http://www.ontotext.com/"]["http://www.ontotext.com/"][0].value}if(e.hasBindingResponse()){const t=e.getResponseBody();if(t){const e=t.results.bindings[0],n=t.head.vars,r=Object.keys(e).find((function(t){return n.indexOf(t)>-1&&!isNaN(e[t].value)}));if(r.length>0)return e[r].value}}},F=e=>{const n=e.getTab().getYasqe(),r={"Content-Type":"application/x-www-form-urlencoded","X-GraphDB-Local-Consistency":"updating","X-GraphDB-Catch":n.getPageSize()+"; throw","X-GraphDB-Track-Alias":`yasgui-component-${performance.now()}-${Date.now()}`,"X-GraphDB-Repository-Location":t.getActiveRepositoryObject().location,"X-Requested-With":"XMLHttpRequest"},o=T.getAuthToken();o&&(r.Authorization=o);const s=n.getQueryType();return u.QueryMode.UPDATE===n.getQueryMode()?r.Accept="text/plain,/;q=0.9":l.QueryType.CONSTRUCT===s||l.QueryType.DESCRIBE===s?r.Accept="application/x-graphdb-table-results+json, application/rdf+json;q=0.9, */*;q=0.8":r.Accept="application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8",r},J=()=>({showEditorTabs:!0,showToolbar:!0,componentId:"yasgui-component",headers:F,pageSize:1e3,maxPersistentResponseSize:5e5,showResultTabs:!0}),$=e=>{const t=getError(e),r=n.instant("query.editor.create.saved.query.error");_.error(t,r),f.savedQueryConfig=Object(o.merge)({},f.savedQueryConfig,{saveSuccess:!1,errorMessage:[r]})},X=e=>G(n.instant("query.editor.edit.saved.query.success.msg",{name:e.name})),z=e=>G(n.instant("query.editor.save.saved.query.success.msg",{name:e.name})),G=e=>{_.success(e),f.savedQueryConfig=Object(o.merge)({},f.savedQueryConfig,{saveSuccess:!0})},W=(e,t)=>b.getAutocompleteSuggestions(e,t.promise).then((function(e){return t=null,e.data})),V=()=>O.getRepositorySize(t.getActiveRepository()).then(e=>parseInt(e.data)).catch((function(e){const r={repo:t.getActiveRepository(),error:getError(e)};_.warning(n.instant("query.editor.repo.size.error",r))})),K=e=>{if(e){const t=e.url.substring(e.url.lastIndexOf("/")+1),n=e.header["X-GraphDB-Track-Alias"];return N.deleteQuery(n,t)}}}}}angular.module("graphdb.framework.core.directives.yasgui-component",["graphdb.framework.core.services.translation-service","graphdb.framework.sparql-editor.share-query.service"]).directive("yasguiComponent",f),f.$inject=["$q","$repositories","$translate","$location","$languageService","$uibModal","AuthTokenService","$interval","toastr","TranslationService","AutocompleteRestService","RDF4JRepositoriesRestService","MonitoringRestService","SparqlRestService","ShareQueryLinkService","ModalService"]},91:function(e,t,n){"use strict";n.r(t),n.d(t,"RouteConstants",(function(){return r}));const r={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},92:function(e,t,n){"use strict";n.r(t),n.d(t,"TabQueryModel",(function(){return r}));class r{constructor(e,t,n,r=!0){this.queryName=e,this.query=t,this.owner=n,this.isPublic=r}}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryType",(function(){return r}));const r={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},94:function(e,t,n){"use strict";n.r(t),n.d(t,"VIEW_SPARQL_EDITOR",(function(){return r}));const r="graphdb-workbench-sparql-editor"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[2,20,32,69,77,91,107,111,179,180,181,182,183,184,185,188,189,190,191,193,194,201,221,223,225,270],{109:function(e,t,n){"use strict";n.r(t),n.d(t,"buildQueryModel",(function(){return o})),n.d(t,"savedQueriesResponseMapper",(function(){return s})),n.d(t,"savedQueryResponseMapper",(function(){return a})),n.d(t,"queryPayloadFromEvent",(function(){return i}));var r=n(92);const o=(e,t,n,o)=>new r.TabQueryModel(t,e,n,o),s=e=>e&&e.data?e.data.map?e.data.map(e=>o(e.body,e.name,e.owner,e.shared)):[o(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],a=e=>{const t=s(e);return t.length?t[0]:null},i=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})},110:function(e,t,n){"use strict";n.r(t),n.d(t,"EventData",(function(){return r}));class r{constructor(e,t){this.TYPE=e,this.payload=t}}},111:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}},112:function(e,t,n){"use strict";n.r(t),n.d(t,"CountQueryResponseEvent",(function(){return o}));var r=n(65);class o{constructor(e){this.TYPE=e.TYPE,this.response=e.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(r.isNumber)(this.response.body)}isResponseArray(){return!!this.hasResponse()&&Array.isArray(this.response.body)}getBindings(){if(this.hasResponse())return this.response.body.results.bindings}hasBindingResponse(){return!!this.hasResponse()&&this.response.body.results.bindings[0]}setTotalElements(e){this.response.body.totalElements=e}}},113:function(e,t,n){"use strict";n.r(t),n.d(t,"CountQueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}setPageNumber(e){this.request._data.pageNumber=e}setCount(e){this.request._data.count=e}}},114:function(e,t,n){"use strict";n.r(t),n.d(t,"DownloadAsEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.contentType=e.payload.value,this.pluginName=e.payload.pluginName,this.query=e.payload.query,this.infer=e.payload.infer,this.sameAs=e.payload.sameAs}}},115:function(e,t,n){"use strict";n.r(t),n.d(t,"NotificationMessageEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.message=e.payload.message,this.code=e.payload.code,this.messageType=e.payload.messageType}}},116:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryExecutedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.duration=e.payload.duration,this.tabId=e.payload.tabId}}},117:function(e,t,n){"use strict";n.r(t),n.d(t,"SaveQueryOpened",(function(){return r}));class r{constructor(e){this.tab=e.payload.tab}getTab(){return this.tab}}},118:function(e,t,n){"use strict";n.r(t),n.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}},119:function(e,t,n){"use strict";n.r(t),n.d(t,"YasrPluginName",(function(){return r}));const r={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}},162:function(e,t){function n(e){const t=["en","fr"];let n;return{getTranslations:()=>(n||(n={},t.forEach(t=>n[t]=e.getTranslationTable(t))),n)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",n),n.$inject=["$translate"]},163:function(e,t,n){"use strict";n.r(t);var r=n(91);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(t,n){let o=`${e()}?${r.RouteConstants.savedQueryName}=${encodeURIComponent(t)}`;null!=n&&(o+=`&${r.RouteConstants.savedQueryOwner}=${encodeURIComponent(n)}`);return o},createShareQueryLink:function(t){return e()+"?"+$.param({name:t.name,query:t.body,infer:t.inference||!0,sameAs:t.sameAs||!0})}};function e(){return[location.protocol,"//",location.host,location.pathname].join("")}}))},164:function(e,t,n){"use strict";n.r(t),n.d(t,"toEventData",(function(){return y})),n.d(t,"toYasguiOutputModel",(function(){return g})),n.d(t,"downloadAsFile",(function(){return E}));var r=n(110),o=n(86),s=n(111),a=n(112),i=n(113),u=n(114),c=n(115),d=n(116),l=n(117),p=n(118);const y=e=>new r.EventData(e.detail.TYPE,e.detail.payload),g=e=>{const t=y(e);switch(t.TYPE){case o.EventDataType.DOWNLOAD_AS:return new u.DownloadAsEvent(t);case o.EventDataType.NOTIFICATION_MESSAGE:return new c.NotificationMessageEvent(t);case o.EventDataType.COUNT_QUERY:return new i.CountQueryRequestEvent(t);case o.EventDataType.COUNT_QUERY_RESPONSE:return new a.CountQueryResponseEvent(t);case o.EventDataType.QUERY:return new s.QueryRequestEvent(t);case o.EventDataType.QUERY_EXECUTED:return new d.QueryExecutedEvent(t);case o.EventDataType.SAVE_QUERY_OPENED:return new l.SaveQueryOpened(t);case o.EventDataType.REQUEST_ABORTED:return new p.RequestAbortedEvent(t);default:return t}},E=(e,t,n)=>{const r=document.createElement("a");r.setAttribute("href",`data:${t};charset=utf-8, + ${encodeURIComponent(n)}`),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)}},165:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiComponent",(function(){return o}));var r=n(14);class o{constructor(e=r.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor")){this.yasguiComponent=e}changeRenderMode(e){return this.yasguiComponent.changeRenderMode(e)}setQuery(e){return this.yasguiComponent.setQuery(e)}query(e){return this.yasguiComponent.query(e)}getQuery(){return this.yasguiComponent.getQuery()}isQueryValid(){return this.yasguiComponent.isQueryValid()}openTab(e){return this.yasguiComponent.openTab(e)}getQueryMode(){return this.yasguiComponent.getQueryMode()}getQueryType(){return this.yasguiComponent.getQueryType()}getEmbeddedResultAsJson(){return this.yasguiComponent.getEmbeddedResultAsJson()}getEmbeddedResultAsCSV(){return this.yasguiComponent.getEmbeddedResultAsCSV()}hideYasqeActionButton(e){return this.yasguiComponent.hideYasqeActionButton(e)}showYasqeActionButton(e){return this.yasguiComponent.showYasqeActionButton(e)}abortQuery(){return this.yasguiComponent.abortQuery()}getOngoingRequestsInfo(){return this.yasguiComponent.getOngoingRequestsInfo()}abortAllRequests(){return this.yasguiComponent.abortAllRequests()}resetYasrResults(){return this.yasguiComponent.resetResults()}}},166:function(e,t,n){"use strict";n.r(t),n.d(t,"KeyboardShortcutName",(function(){return r}));const r={TRIGGER_AUTOCOMPLETION:"trigger_autocompletion",DELETE_CURRENT_LINE:"delete_current_line",COMMENT_SELECTED_LINE:"comment_selected_line",COPY_LINE_DOWN:"copy_line_down",COPY_LINE_UP:"copy_line_up",AUTO_FORMAT_SELECTED_LINE:"auto_format_selected_line",INDENT_CURRENT_LINE_MORE:"indent_current_line_more",INDENT_CURRENT_LINE_LESS:"indent_current_line_less",EXECUTE_QUERY_OR_UPDATE:"execute_query_or_update",EXECUTE_EXPLAIN_PLAN_FOR_QUERY:"execute_explain_plan_for_query",EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY:"execute_chat_gpt_explain_plan_for_query",CREATE_TAB:"create_tab",CREATE_SAVE_QUERY:"create_save_query",SWITCH_NEXT_TAB:"switch_next_tab",SWITCH_PREVIOUS_TAB:"switch_previous_tab",CLOSES_ALL_TABS:"closes_all_tabs",FULL_SCREEN:"full_screen",ESC:"esc"}},167:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiPersistenceMigrationService",(function(){return i}));var r=n(94);const o="yagui__"+r.VIEW_SPARQL_EDITOR,s="completed",a="rejected",i=function(){const e=()=>({val:{active:null,tabs:[],tabConfig:{}}}),t=(e,t,n=null)=>{e.val.migration={date:(new Date).toISOString(),status:t,error:n}},n=(e,t)=>{e.val.tabs.push(t)},r=(e,t)=>{e.val.tabConfig[t.id]=t},i=e=>{let t=localStorage.getItem(e);if(t)return t=JSON.parse(t),t},u=e=>{e.val.tabs=e.val.tabs.filter(e=>!e.startsWith("_"))},c=e=>{for(const t in e.val.tabConfig)t.startsWith("_")&&delete e.val.tabConfig[t]},d=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},l=(e,t)=>`${t} ${e}`,p=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const e=i(o);let t=!1;return e&&(t=e.val.migration&&(e.val.migration.status===s||e.val.migration.status===a)),!(!localStorage.getItem("ls.tabs-state")||t)},revertMigration:()=>{const e=i(o);u(e),c(e),d(o,e)},migrateYasguiPersistence:a=>{let u=i("ls.tabs-state");u=Object.freeze(u);let c=i(o);c||(c=e()),u.map(e=>({id:e.id,name:e.name,yasqe:{value:e.query,sameAs:e.sameAs,infer:e.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((e,t)=>{e.id="_"+p(),e.name=e.name||l(t,a),n(c,e.id),r(c,e)}),c.val.active=c.val.tabs[0],t(c,s),d(o,c)},rejectMigration:()=>{const e=i(o);t(e,a),d(o,e)}}}()},459:function(e,t,n){var r,o=o||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o=e.webkitRequestFileSystem,s=e.requestFileSystem||o||e.mozRequestFileSystem,a=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},i=0,u=function(t){var r=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};e.chrome?r():setTimeout(r,500)},c=function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var o=e["on"+t[r]];if("function"==typeof o)try{o.call(e,n||e)}catch(e){a(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},l=function(t,a){t=d(t);var l,p,y,g=this,E=t.type,m=!1,f=function(){c(g,"writestart progress write writeend".split(" "))},h=function(){(!m&&l||(l=n().createObjectURL(t)),p)?p.location.href=l:null==e.open(l,"_blank")&&"undefined"!=typeof safari&&(e.location.href=l);g.readyState=g.DONE,f(),u(l)},S=function(e){return function(){if(g.readyState!==g.DONE)return e.apply(this,arguments)}},T={create:!0,exclusive:!1};if(g.readyState=g.INIT,a||(a="download"),r)return l=n().createObjectURL(t),r.href=l,r.download=a,void setTimeout((function(){var e,t;e=r,t=new MouseEvent("click"),e.dispatchEvent(t),f(),u(l),g.readyState=g.DONE}));e.chrome&&E&&"application/octet-stream"!==E&&(y=t.slice||t.webkitSlice,t=y.call(t,0,t.size,"application/octet-stream"),m=!0),o&&"download"!==a&&(a+=".download"),("application/octet-stream"===E||o)&&(p=e),s?(i+=t.size,s(e.TEMPORARY,i,S((function(e){e.root.getDirectory("saved",T,S((function(e){var n=function(){e.getFile(a,T,S((function(e){e.createWriter(S((function(n){n.onwriteend=function(t){p.location.href=e.toURL(),g.readyState=g.DONE,c(g,"writeend",t),u(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&h()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=g["on"+e]})),n.write(t),g.abort=function(){n.abort(),g.readyState=g.DONE},g.readyState=g.WRITING})),h)})),h)};e.getFile(a,{create:!1},S((function(e){e.remove(),n()})),S((function(e){e.code===e.NOT_FOUND_ERR?n():h()})))})),h)})),h)):h()},p=l.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(d(e),t)}:(p.abort=function(){this.readyState=this.DONE,c(this,"abort")},p.readyState=p.INIT=0,p.WRITING=1,p.DONE=2,p.error=p.onwritestart=p.onprogress=p.onwrite=p.onabort=p.onerror=p.onwriteend=null,function(e,t){return new l(e,t)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
2
+ /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=o:null!==n(470)&&null!=n(458)&&(void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r))},85:function(e,t,n){"use strict";function r(e,t,n,r,o){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,t){return e[t.name]=t.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=o.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,t,o){n.set(r.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:t,jsonldLink:o}))},e.cancel=function(){t.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),t.close({currentMode:e.currentMode,link:e.link})};!function(){const t=n.get(r.JSONLD_EXPORT_SETTINGS);t&&(e.currentMode=e.JSONLDModes.find(e=>e.name===t.jsonldFormName),e.link=t.jsonldLink)}()}n.r(t),n.d(t,"ExportSettingsCtrl",(function(){return r})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",r),r.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]},86:function(e,t,n){"use strict";n.r(t),n.d(t,"EventDataType",(function(){return r}));const r={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},90:function(e,t,n){"use strict";n.r(t);n(162),n(163);var r=n(109),o=n(65),s=n(459),a=n(164),i=n(86),u=n(12),c=n(119),d=n(555),l=n(93),p=n(165),y=n(14),g=n(166),E=n(167),m=n(85);function f(e,t,n,f,h,S,T,v,_,R,b,O,N,C,A,q){return{restrict:"E",templateUrl:"js/angular/core/directives/yasgui-component/templates/yasgui-component.html",scope:{yasguiConfig:"=",afterInit:"&",queryChanged:"&"},link:(f,q,w)=>{f.classToApply=w.class||"";const Q=new Map,L=f.yasguiConfig&&f.yasguiConfig.outputHandlers?new Map(f.yasguiConfig.outputHandlers):new Map;let D=void 0;f.getOntotextYasguiElements=()=>q.find("ontotext-yasgui"),f.getOntotextYasguiElement=()=>new p.YasguiComponent(f.getOntotextYasguiElements()[0]),f.createSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);C.addNewSavedQuery(t).then(()=>z(t)).catch($)},f.updateSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);C.editSavedQuery(t).then(()=>X(t)).catch($)},f.deleteSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);C.deleteSavedQuery(t.name).then(()=>{_.success(n.instant("query.editor.delete.saved.query.success.msg",{savedQueryName:t.name}))}).catch(e=>{const t=getError(e);_.error(t,n.instant("query.editor.delete.saved.query.error"))})},f.shareSavedQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);f.savedQueryConfig={shareQueryLink:A.createShareSavedQueryLink(t.name,t.owner)}},f.shareQuery=e=>{const t=Object(r.queryPayloadFromEvent)(e);f.savedQueryConfig={shareQueryLink:A.createShareQueryLink(t)}},f.queryShareLinkCopied=()=>{_.success(n.instant("modal.ctr.copy.url.success"))},f.loadSavedQueries=()=>{C.getSavedQueries().then(e=>{const t=Object(r.savedQueriesResponseMapper)(e);f.savedQueryConfig={savedQueries:t}}).catch(e=>{const t=getError(e);_.error(t,n.instant("query.editor.get.saved.queries.error"))})},f.saveQueryOpened=e=>{y.YasguiComponentDirectiveUtil.highlightTabName(Object(a.toYasguiOutputModel)(e).getTab())},f.output=e=>{const t=Object(a.toYasguiOutputModel)(e);L.has(t.TYPE)&&L.get(t.TYPE)(t)};L.set(i.EventDataType.QUERY,e=>{const t=e.getPageNumber(),n=e.getPageSize();n&&t&&(e.setOffset((t-1)*(n-1)),e.setLimit(n)),e.setPageNumber(void 0),e.setPageSize(void 0)});L.set(i.EventDataType.COUNT_QUERY,e=>{e.setPageSize(void 0),e.setPageNumber(void 0),e.setCount(1)});L.set(i.EventDataType.COUNT_QUERY_RESPONSE,e=>{e.setTotalElements(B(e))});L.set(i.EventDataType.DOWNLOAD_AS,e=>{const t=Q.get(e.pluginName);t&&t(e)});L.set(i.EventDataType.NOTIFICATION_MESSAGE,e=>{const t=_[e.messageType];Object(o.isFunction)(t)&&t(e.message)});Q.set("extended_response",e=>{"application/sparql-results+json"===e.contentType?f.getOntotextYasguiElement().getEmbeddedResultAsJson().then(t=>{const n=JSON.stringify(t,null,"\t");Object(a.downloadAsFile)(j()+"_queryResults.json",e.contentType,n)}):"text/csv"===e.contentType&&f.getOntotextYasguiElement().getEmbeddedResultAsCSV().then(t=>{Object(a.downloadAsFile)(j()+"_queryResults.csv",e.contentType,t)})});const P=(e,r,o,a,i,u)=>{const c={query:e,infer:r,sameAs:o,authToken:a};O.downloadResultsAsFile(t.getActiveRepository(),c,i,u).then((function({data:e,filename:t}){Object(s.saveAs)(e,t)})).catch((function(e){e.data.text().then(t=>{431===e.status?_.error(e.statusText,n.instant("common.error")):_.error(t,n.instant("common.error"))})})).finally(()=>{f.setLoader(!1)})};Q.set(c.YasrPluginName.EXTENDED_TABLE,e=>{const t=e.query,n=e.infer,r=e.sameAs,o=e.contentType,s=T.getAuthToken()||"";if("application/ld+json"===e.contentType||"application/x-ld+ndjson"===e.contentType){S.open({templateUrl:"js/angular/core/components/export-settings-modal/exportSettingsModal.html",controller:m.ExportSettingsCtrl,size:"lg",scope:f,resolve:{format:function(){return"application/ld+json"===e.contentType?"JSON-LD":"NDJSON-LD"}}}).result.then((function(e){const a=o+";profile="+e.currentMode.link,i=e.link?"<"+e.link+">":"";P(t,n,r,s,a,i)}))}else P(t,n,r,s,o,"")});const M=[],Y=()=>f.getOntotextYasguiElement().getQuery().then(e=>{D=JSON.stringify(e)});M.push(f.$watch("yasguiConfig",(r,o)=>{if(!f.ontotextYasguiConfig&&r||r&&!Object(d.isEqual)(r,o)){const o=t.isActiveRepoOntopType(),s={isVirtualRepository:o,infer:o||r.infer,immutableInfer:o,sameAs:o||r.sameAs,immutableSameAs:o,yasqeAutocomplete:{LocalNamesAutocompleter:t=>{const n=e.defer();return W(t,n)}},language:h.getLanguage(),i18n:R.getTranslations(),getRepositoryStatementsCount:V,onQueryAborted:K};if(angular.extend(s,J(),f.yasguiConfig),void 0===s.showQueryButton||s.showQueryButton){const e=s.keyboardShortcutConfiguration||{};e[g.KeyboardShortcutName.EXECUTE_EXPLAIN_PLAN_FOR_QUERY]=!0,e[g.KeyboardShortcutName.EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY]=!0,s.keyboardShortcutConfiguration=e}else{const e=s.keyboardShortcutConfiguration||{};e[g.KeyboardShortcutName.EXECUTE_QUERY_OR_UPDATE]=!1,e[g.KeyboardShortcutName.EXECUTE_EXPLAIN_PLAN_FOR_QUERY]=!1,e[g.KeyboardShortcutName.EXECUTE_CHAT_GPT_EXPLAIN_PLAN_FOR_QUERY]=!1,e[g.KeyboardShortcutName.CREATE_TAB]=!1,e[g.KeyboardShortcutName.CREATE_SAVE_QUERY]=!1,e[g.KeyboardShortcutName.SWITCH_NEXT_TAB]=!1,e[g.KeyboardShortcutName.SWITCH_PREVIOUS_TAB]=!1,e[g.KeyboardShortcutName.CLOSES_ALL_TABS]=!1,s.keyboardShortcutConfiguration=e}E.YasguiPersistenceMigrationService.isMigrationNeeded()&&E.YasguiPersistenceMigrationService.migrateYasguiPersistence(n.instant("sparql.tab.directive.unnamed.tab.title")),f.ontotextYasguiConfig=s,U(),Y().then(()=>{angular.isFunction(f.afterInit)&&f.afterInit()})}}));const I=()=>{let e;f.getOntotextYasguiElement().getQuery().then(t=>(e=JSON.stringify(t),e)).then(C.addKnownPrefixes).then(t=>{e=t.data}).then(()=>{x(JSON.stringify(e))}).catch(e=>{const t=getError(e);_.error(t,n.instant("common.add.known.prefixes.error"))})},U=()=>{const e=v((function(){const t=f.getOntotextYasguiElements();t&&(t.on("paste.sparqlQuery",".CodeMirror",I),t.on("keyup.sparqlQuery",".CodeMirror textarea",k),v.cancel(e))}))},k=e=>{f.getOntotextYasguiElement().getQuery().then(e=>{x(JSON.stringify(e))})},x=e=>{f.queryChanged(e),f.$emit("queryChanged",{dirty:D!==e})};M.push(f.$on("language-changed",(function(e,t){f.language=t.locale})));f.$on("$destroy",()=>{M.forEach(e=>e());const e=f.getOntotextYasguiElements();e.off("paste.sparqlQuery"),e.off("keyup.sparqlQuery")});const j=()=>{const e=new Date;return`${e.toLocaleDateString(f.language)}_${e.toLocaleTimeString(f.language)}`},B=e=>{if(e.isResponseNumber())return e.getResponseBody();if(e.isResponseArray()){const t=e.getResponseBody();if(t["http://www.ontotext.com/"])return t["http://www.ontotext.com/"]["http://www.ontotext.com/"][0].value}if(e.hasBindingResponse()){const t=e.getResponseBody();if(t){const e=t.results.bindings[0],n=t.head.vars,r=Object.keys(e).find((function(t){return n.indexOf(t)>-1&&!isNaN(e[t].value)}));if(r.length>0)return e[r].value}}},F=e=>{const n=e.getTab().getYasqe(),r={"Content-Type":"application/x-www-form-urlencoded","X-GraphDB-Local-Consistency":"updating","X-GraphDB-Catch":n.getPageSize()+"; throw","X-GraphDB-Track-Alias":`yasgui-component-${performance.now()}-${Date.now()}`,"X-GraphDB-Repository-Location":t.getActiveRepositoryObject().location,"X-Requested-With":"XMLHttpRequest"},o=T.getAuthToken();o&&(r.Authorization=o);const s=n.getQueryType();return u.QueryMode.UPDATE===n.getQueryMode()?r.Accept="text/plain,/;q=0.9":l.QueryType.CONSTRUCT===s||l.QueryType.DESCRIBE===s?r.Accept="application/x-graphdb-table-results+json, application/rdf+json;q=0.9, */*;q=0.8":r.Accept="application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8",r},J=()=>({showEditorTabs:!0,showToolbar:!0,componentId:"yasgui-component",headers:F,pageSize:1e3,maxPersistentResponseSize:5e5,showResultTabs:!0}),$=e=>{const t=getError(e),r=n.instant("query.editor.create.saved.query.error");_.error(t,r),f.savedQueryConfig=Object(o.merge)({},f.savedQueryConfig,{saveSuccess:!1,errorMessage:[r]})},X=e=>G(n.instant("query.editor.edit.saved.query.success.msg",{name:e.name})),z=e=>G(n.instant("query.editor.save.saved.query.success.msg",{name:e.name})),G=e=>{_.success(e),f.savedQueryConfig=Object(o.merge)({},f.savedQueryConfig,{saveSuccess:!0})},W=(e,t)=>b.getAutocompleteSuggestions(e,t.promise).then((function(e){return t=null,e.data})),V=()=>O.getRepositorySize(t.getActiveRepository()).then(e=>parseInt(e.data)).catch((function(e){const r={repo:t.getActiveRepository(),error:getError(e)};_.warning(n.instant("query.editor.repo.size.error",r))})),K=e=>{if(e){const t=e.url.substring(e.url.lastIndexOf("/")+1),n=e.header["X-GraphDB-Track-Alias"];return N.deleteQuery(n,t)}}}}}angular.module("graphdb.framework.core.directives.yasgui-component",["graphdb.framework.core.services.translation-service","graphdb.framework.sparql-editor.share-query.service"]).directive("yasguiComponent",f),f.$inject=["$q","$repositories","$translate","$location","$languageService","$uibModal","AuthTokenService","$interval","toastr","TranslationService","AutocompleteRestService","RDF4JRepositoriesRestService","MonitoringRestService","SparqlRestService","ShareQueryLinkService","ModalService"]},91:function(e,t,n){"use strict";n.r(t),n.d(t,"RouteConstants",(function(){return r}));const r={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},92:function(e,t,n){"use strict";n.r(t),n.d(t,"TabQueryModel",(function(){return r}));class r{constructor(e,t,n,r=!0){this.queryName=e,this.query=t,this.owner=n,this.isPublic=r}}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryType",(function(){return r}));const r={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},94:function(e,t,n){"use strict";n.r(t),n.d(t,"VIEW_SPARQL_EDITOR",(function(){return r}));const r="graphdb-workbench-sparql-editor"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[20,181,182,183,184,185,187,190,191,195,196],{110:function(e,t,s){"use strict";s.r(t),s.d(t,"EventData",(function(){return r}));class r{constructor(e,t){this.TYPE=e,this.payload=t}}},111:function(e,t,s){"use strict";s.r(t),s.d(t,"QueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}},112:function(e,t,s){"use strict";s.r(t),s.d(t,"CountQueryResponseEvent",(function(){return n}));var r=s(65);class n{constructor(e){this.TYPE=e.TYPE,this.response=e.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(r.isNumber)(this.response.body)}isResponseArray(){return!!this.hasResponse()&&Array.isArray(this.response.body)}getBindings(){if(this.hasResponse())return this.response.body.results.bindings}hasBindingResponse(){return!!this.hasResponse()&&this.response.body.results.bindings[0]}setTotalElements(e){this.response.body.totalElements=e}}},113:function(e,t,s){"use strict";s.r(t),s.d(t,"CountQueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}setPageNumber(e){this.request._data.pageNumber=e}setCount(e){this.request._data.count=e}}},114:function(e,t,s){"use strict";s.r(t),s.d(t,"DownloadAsEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.contentType=e.payload.value,this.pluginName=e.payload.pluginName,this.query=e.payload.query,this.infer=e.payload.infer,this.sameAs=e.payload.sameAs}}},115:function(e,t,s){"use strict";s.r(t),s.d(t,"NotificationMessageEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.message=e.payload.message,this.code=e.payload.code,this.messageType=e.payload.messageType}}},116:function(e,t,s){"use strict";s.r(t),s.d(t,"QueryExecutedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.duration=e.payload.duration,this.tabId=e.payload.tabId}}},117:function(e,t,s){"use strict";s.r(t),s.d(t,"SaveQueryOpened",(function(){return r}));class r{constructor(e){this.tab=e.payload.tab}getTab(){return this.tab}}},118:function(e,t,s){"use strict";s.r(t),s.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}},164:function(e,t,s){"use strict";s.r(t),s.d(t,"toEventData",(function(){return E})),s.d(t,"toYasguiOutputModel",(function(){return h})),s.d(t,"downloadAsFile",(function(){return l}));var r=s(110),n=s(86),a=s(111),u=s(112),o=s(113),i=s(114),d=s(115),c=s(116),p=s(117),y=s(118);const E=e=>new r.EventData(e.detail.TYPE,e.detail.payload),h=e=>{const t=E(e);switch(t.TYPE){case n.EventDataType.DOWNLOAD_AS:return new i.DownloadAsEvent(t);case n.EventDataType.NOTIFICATION_MESSAGE:return new d.NotificationMessageEvent(t);case n.EventDataType.COUNT_QUERY:return new o.CountQueryRequestEvent(t);case n.EventDataType.COUNT_QUERY_RESPONSE:return new u.CountQueryResponseEvent(t);case n.EventDataType.QUERY:return new a.QueryRequestEvent(t);case n.EventDataType.QUERY_EXECUTED:return new c.QueryExecutedEvent(t);case n.EventDataType.SAVE_QUERY_OPENED:return new p.SaveQueryOpened(t);case n.EventDataType.REQUEST_ABORTED:return new y.RequestAbortedEvent(t);default:return t}},l=(e,t,s)=>{const r=document.createElement("a");r.setAttribute("href",`data:${t};charset=utf-8, + ${encodeURIComponent(s)}`),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)}},86:function(e,t,s){"use strict";s.r(t),s.d(t,"EventDataType",(function(){return r}));const r={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[20,179,180,181,182,183,185,188,189,193,194],{110:function(e,t,s){"use strict";s.r(t),s.d(t,"EventData",(function(){return r}));class r{constructor(e,t){this.TYPE=e,this.payload=t}}},111:function(e,t,s){"use strict";s.r(t),s.d(t,"QueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}getPageSize(){return this.request._data.pageSize?parseInt(this.request._data.pageSize):void 0}setPageNumber(e){this.request._data.pageNumber=e}getPageNumber(){return this.request._data.pageNumber?parseInt(this.request._data.pageNumber):void 0}setOffset(e){this.request._data.offset=e}setLimit(e){this.request._data.limit=e}}},112:function(e,t,s){"use strict";s.r(t),s.d(t,"CountQueryResponseEvent",(function(){return n}));var r=s(65);class n{constructor(e){this.TYPE=e.TYPE,this.response=e.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(r.isNumber)(this.response.body)}isResponseArray(){return!!this.hasResponse()&&Array.isArray(this.response.body)}getBindings(){if(this.hasResponse())return this.response.body.results.bindings}hasBindingResponse(){return!!this.hasResponse()&&this.response.body.results.bindings[0]}setTotalElements(e){this.response.body.totalElements=e}}},113:function(e,t,s){"use strict";s.r(t),s.d(t,"CountQueryRequestEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.query=e.payload.query,this.queryMode=e.payload.queryMode,this.queryType=e.payload.queryType,this.pageSize=e.payload.pageSize,this.request=e.payload.request}setPageSize(e){this.request._data.pageSize=e}setPageNumber(e){this.request._data.pageNumber=e}setCount(e){this.request._data.count=e}}},114:function(e,t,s){"use strict";s.r(t),s.d(t,"DownloadAsEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.contentType=e.payload.value,this.pluginName=e.payload.pluginName,this.query=e.payload.query,this.infer=e.payload.infer,this.sameAs=e.payload.sameAs}}},115:function(e,t,s){"use strict";s.r(t),s.d(t,"NotificationMessageEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.message=e.payload.message,this.code=e.payload.code,this.messageType=e.payload.messageType}}},116:function(e,t,s){"use strict";s.r(t),s.d(t,"QueryExecutedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.duration=e.payload.duration,this.tabId=e.payload.tabId}}},117:function(e,t,s){"use strict";s.r(t),s.d(t,"SaveQueryOpened",(function(){return r}));class r{constructor(e){this.tab=e.payload.tab}getTab(){return this.tab}}},118:function(e,t,s){"use strict";s.r(t),s.d(t,"RequestAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload.request,this.queryMode=e.payload.queryMode}getQueryTrackAlias(){if(this.request)return this.request.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request){const e=this.request.url;return e.substring(e.lastIndexOf("/")+1)}}}},164:function(e,t,s){"use strict";s.r(t),s.d(t,"toEventData",(function(){return E})),s.d(t,"toYasguiOutputModel",(function(){return h})),s.d(t,"downloadAsFile",(function(){return l}));var r=s(110),n=s(86),a=s(111),u=s(112),o=s(113),i=s(114),d=s(115),c=s(116),p=s(117),y=s(118);const E=e=>new r.EventData(e.detail.TYPE,e.detail.payload),h=e=>{const t=E(e);switch(t.TYPE){case n.EventDataType.DOWNLOAD_AS:return new i.DownloadAsEvent(t);case n.EventDataType.NOTIFICATION_MESSAGE:return new d.NotificationMessageEvent(t);case n.EventDataType.COUNT_QUERY:return new o.CountQueryRequestEvent(t);case n.EventDataType.COUNT_QUERY_RESPONSE:return new u.CountQueryResponseEvent(t);case n.EventDataType.QUERY:return new a.QueryRequestEvent(t);case n.EventDataType.QUERY_EXECUTED:return new c.QueryExecutedEvent(t);case n.EventDataType.SAVE_QUERY_OPENED:return new p.SaveQueryOpened(t);case n.EventDataType.REQUEST_ABORTED:return new y.RequestAbortedEvent(t);default:return t}},l=(e,t,s)=>{const r=document.createElement("a");r.setAttribute("href",`data:${t};charset=utf-8, + ${encodeURIComponent(s)}`),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)}},86:function(e,t,s){"use strict";s.r(t),s.d(t,"EventDataType",(function(){return r}));const r={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[202],{296:function(s,e,t){"use strict";t.r(e),t.d(e,"YasrBeforeUpdateQueryResult",(function(){return i}));class i{constructor(){this.status=void 0,this.message=void 0,this.messageLabelKey=void 0,this.parameters=void 0}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[200],{295:function(s,e,t){"use strict";t.r(e),t.d(e,"YasrBeforeUpdateQueryResult",(function(){return i}));class i{constructor(){this.status=void 0,this.message=void 0,this.messageLabelKey=void 0,this.parameters=void 0}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[203],{119:function(n,e,s){"use strict";s.r(e),s.d(e,"YasrPluginName",(function(){return t}));const t={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[201],{119:function(n,e,s){"use strict";s.r(e),s.d(e,"YasrPluginName",(function(){return t}));const t={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[204],{297:function(s,n,e){"use strict";e.r(n),e.d(n,"YasrQueryResponseStatus",(function(){return o}));const o={ERROR:"error",SUCCESS:"success"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[202],{296:function(s,n,e){"use strict";e.r(n),e.d(n,"YasrQueryResponseStatus",(function(){return o}));const o={ERROR:"error",SUCCESS:"success"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[205],{298:function(t,e,s){"use strict";s.r(e),s.d(e,"YasrToolbarPlugin",(function(){return n}));class n{constructor(){this.createElement=t=>{},this.updateElement=(t,e)=>{},this.getOrder=()=>0,this.destroy=(t,e)=>{}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[203],{297:function(t,e,s){"use strict";s.r(e),s.d(e,"YasrToolbarPlugin",(function(){return n}));class n{constructor(){this.createElement=t=>{},this.updateElement=(t,e)=>{},this.getOrder=()=>0,this.destroy=(t,e)=>{}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[206],{299:function(o,s,t){"use strict";t.r(s),t.d(s,"ProductInfo",(function(){return n}));class n{constructor(){this.Workbench="",this.connectors=[],this.productShortVersion="",this.productType="",this.productVersion="",this.sesame=""}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[204],{298:function(o,s,t){"use strict";t.r(s),t.d(s,"ProductInfo",(function(){return n}));class n{constructor(){this.Workbench="",this.connectors=[],this.productShortVersion="",this.productType="",this.productVersion="",this.sesame=""}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[207],{300:function(n,o,s){"use strict";s.r(o),s.d(o,"Repository",(function(){return c}));class c{constructor(n,o,s,c,t,r,i,p,u,w,e,a){}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[205],{299:function(n,o,s){"use strict";s.r(o),s.d(o,"Repository",(function(){return c}));class c{constructor(n,o,s,c,t,r,i,p,u,w,e,a){}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[208],{80:function(t,e,i){"use strict";i.r(e),i.d(e,"ContextType",(function(){return n})),i.d(e,"ContextTypes",(function(){return p}));class n{constructor(t,e){this.id=t,this.labelKey=e}static getAllType(){return[p.ALL,p.EXPLICIT,p.IMPLICIT]}static getContextType(t){return this.getAllType().find(e=>e.id===t)}}const p={ALL:new n("all","explore.explicit.implicit"),EXPLICIT:new n("explicit","explore.explicit"),IMPLICIT:new n("implicit","explore.implicit")}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[206],{80:function(t,e,i){"use strict";i.r(e),i.d(e,"ContextType",(function(){return n})),i.d(e,"ContextTypes",(function(){return p}));class n{constructor(t,e){this.id=t,this.labelKey=e}static getAllType(){return[p.ALL,p.EXPLICIT,p.IMPLICIT]}static getContextType(t){return this.getAllType().find(e=>e.id===t)}}const p={ALL:new n("all","explore.explicit.implicit"),EXPLICIT:new n("explicit","explore.explicit"),IMPLICIT:new n("implicit","explore.implicit")}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[209],{96:function(i,o,t){"use strict";t.r(o),t.d(o,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[207],{96:function(i,o,t){"use strict";t.r(o),t.d(o,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[210],{301:function(n,s,e){"use strict";e.r(s),e.d(s,"ResourceGraphResponse",(function(){return r})),e.d(s,"ResourceGraphResponseHead",(function(){return c})),e.d(s,"ResourceGraphResponseResults",(function(){return o})),e.d(s,"ResourceGraphResponseBinding",(function(){return t})),e.d(s,"ResourceGraphResponseBindingContext",(function(){return u})),e.d(s,"ResourceGraphResponseBindingObject",(function(){return i})),e.d(s,"ResourceGraphResponseBindingPredicate",(function(){return a})),e.d(s,"ResourceGraphResponseBindingSubject",(function(){return p}));class r{constructor(n=new c,s=new o){}}class c{constructor(n={vars:[]}){}}class o{constructor(n={bindings:[]}){}}class t{constructor(n,s,e,r){}}class u{constructor(n,s){}}class i{constructor(n,s){}}class a{constructor(n,s){}}class p{constructor(n,s){}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[208],{300:function(n,s,e){"use strict";e.r(s),e.d(s,"ResourceGraphResponse",(function(){return r})),e.d(s,"ResourceGraphResponseHead",(function(){return c})),e.d(s,"ResourceGraphResponseResults",(function(){return o})),e.d(s,"ResourceGraphResponseBinding",(function(){return t})),e.d(s,"ResourceGraphResponseBindingContext",(function(){return u})),e.d(s,"ResourceGraphResponseBindingObject",(function(){return i})),e.d(s,"ResourceGraphResponseBindingPredicate",(function(){return a})),e.d(s,"ResourceGraphResponseBindingSubject",(function(){return p}));class r{constructor(n=new c,s=new o){}}class c{constructor(n={vars:[]}){}}class o{constructor(n={bindings:[]}){}}class t{constructor(n,s,e,r){}}class u{constructor(n,s){}}class i{constructor(n,s){}}class a{constructor(n,s){}}class p{constructor(n,s){}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[211],{122:function(e,n,t){"use strict";t.r(n),t.d(n,"RoleType",(function(){return c}));const c={SUBJECT:"subject",PREDICATE:"predicate",OBJECT:"object",CONTEXT:"context",ALL:"all"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[209],{122:function(e,n,t){"use strict";t.r(n),t.d(n,"RoleType",(function(){return c}));const c={SUBJECT:"subject",PREDICATE:"predicate",OBJECT:"object",CONTEXT:"context",ALL:"all"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[21,24,168,169,170,194,201,251,270],{128:function(n,e,t){"use strict";t.r(e),t.d(e,"DEFAULT_SPARQL_QUERY",(function(){return o})),t.d(e,"JdbcConfigurationInfo",(function(){return i}));const o="PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n\n# Selects two variables to use as columns\nSELECT ?id ?label {\n ?id rdfs:label ?label\n # The following placeholder must be present in the query\n #!filter\n}";class i{constructor(n=o,e=!0,t){this.query=n,this.jdbcConfigurationName=t,this.isNewJdbcConfiguration=e,this.isValidQuery=!0,this.isValidQueryType=!0,this.hasUndefinedColumns=!1,this.isColumnsEmpty=!1,this.columns=[]}}},129:function(n,e,t){"use strict";t.r(e),t.d(e,"JdbcConfigurationError",(function(){return o}));class o extends Error{constructor(n,e){super(n),this.jdbcConfigurationInfo=e}}},130:function(n,e,t){"use strict";t.r(e),t.d(e,"JdbcColumn",(function(){return o})),t.d(e,"toJDBCColumns",(function(){return i})),t.d(e,"updateColumn",(function(){return r}));class o{constructor(){this.column_name="",this.column_type="",this.sparql_type="",this.nullable=!0}}const i=(n=[],e)=>n.map(n=>({column_name:n,column_type:e[n].column_type,nullable:!0,sparql_type:e[n].sparql_type})),r=(n,e)=>{n.column_type=e[n.column_name].column_type,n.sparql_type=e[n.column_name].sparql_type}},214:function(n,e,t){"use strict";t.r(e);t(26),t(28),t(68),t(7),t(15);var o=t(128),i=t(67),r=t(129),s=t(64),a=t(130),c=t(14),u=t(0);function l(n,e,t,o,i,r){n.getSqlConfigurations=function(){!e.getActiveRepository()||e.isActiveRepoOntopType()||e.isActiveRepoFedXType()?n.jdbcConfigurations=[]:t.getJdbcConfigurations().success((function(e){n.jdbcConfigurations=e})).error((function(n){const e=getError(n);o.error(e,r.instant("jdbc.not.get.SQL.msg"))}))},n.$watch((function(){return e.getActiveRepository()}),(function(){n.getSqlConfigurations()})),n.deleteConfiguration=function(e){i.openSimpleModal({title:r.instant("common.warning"),message:r.instant("jdbc.delete.sql.table.warning.msg",{name:e}),warning:!0}).result.then((function(){t.deleteJdbcConfiguration(e).success((function(){n.getSqlConfigurations()})).error((function(n){o.error(getError(n),r.instant("jdbc.not.delete.sql.msg"))}))}))}}function d(n,e,t,l,d,g,f,m,b,p,C,y,h,w,j,v){e.emptySparqlResponse='{"head": {"vars": []},"results": {"bindings": []}}',e.getSuggestionSqlType="",e.sqlTypes=[],e.activeTab=1,e.jdbcConfigurationInfo=new o.JdbcConfigurationInfo,e.jdbcConfigurationInfo.jdbcConfigurationName=l.search().name||"",e.saveOrUpdateExecuted=!1,e.jdbcConfigurationInfo.isNewJdbcConfiguration=!e.jdbcConfigurationInfo.jdbcConfigurationName,e.language=j.getLanguage(),e.isDirty=!1,e.prefixes=[],e.loadingControllerResources=!1,e.isQueryRunning=!1,e.canEditActiveRepo=!1;let q=!0;e.saveJdbcConfiguration=()=>{if(e.saveOrUpdateExecuted=!0,!e.jdbcConfigurationInfo.jdbcConfigurationName)return;if(!e.isDirty)return void V();const n=e.jdbcConfigurationInfo.isNewJdbcConfiguration?R:I;N(e.jdbcConfigurationInfo).then(P).then(_).then(k).then(n).catch(n=>{if(!(n instanceof r.JdbcConfigurationError)){const e=getError(n);d.error(e,w.instant("jdbc.not.saved.configuration"))}})},e.getPreview=()=>{e.activeTab=1,e.isQueryRunning=!0,N(e.jdbcConfigurationInfo).then(P).then(_).then(k).then(n=>(J({render:s.RenderingMode.YASQE,initialQuery:n.query}),n)).then(S).then(([n,e])=>{const t=n&&n.results.bindings&&n.results.bindings.length>0;let o=s.RenderingMode.YASGUI;t||(o=s.RenderingMode.YASQE,d.info(w.instant("jdbc.table.definition"),w.instant("jdbc.preview.sql"))),J({render:o,sparqlResponse:n,initialQuery:e.query})}).catch(n=>{n instanceof r.JdbcConfigurationError?n.jdbcConfigurationInfo&&(n.jdbcConfigurationInfo.isColumnsEmpty||n.jdbcConfigurationInfo.hasUndefinedColumns)&&($(),e.activeTab=2):d.error(getError(n,0,100),w.instant("jdbc.not.show.preview"))}).finally(()=>{e.isQueryRunning=!1})},e.setActiveTab=n=>{e.activeTab=n;const t=e.jdbcConfigurationInfo.columns;2!==e.activeTab||t&&0!==t.length||N(e.jdbcConfigurationInfo).then(P).then(()=>{e.getColumnsSuggestions()})},e.setDirty=()=>{e.isDirty=!0},e.getTypeLabel=n=>{switch(n){case"iri":return"VARCHAR: IRI";case"string":return"VARCHAR: String";default:return n.indexOf(" ")>0?n:n.toUpperCase()}},e.selectColumnType=(n,t)=>{e.setDirty();const o=e.jdbcConfigurationInfo.columns.find(e=>e.column_name===n);o.column_type===e.getSuggestionSqlType&&k(e.jdbcConfigurationInfo).then(e=>p.getColumnsTypeSuggestion(e.query,[n])).then(n=>n.data).then(n=>{Object(a.updateColumn)(o,n),T(o.column_type,t)}).catch(n=>{d.error(getError(n),w.instant("jdbc.not.suggest.column.type"))})},e.deleteColumn=function(n,t){h.openSimpleModal({title:w.instant("common.warning"),message:w.instant("jdbc.warning.delete.column.msg",{columnName:n}),warning:!0}).result.then((function(){e.jdbcConfigurationInfo.columns.splice(t,1),e.setDirty()}))},e.getColumnsSuggestions=()=>{e.jdbcConfigurationInfo.columns&&e.jdbcConfigurationInfo.columns.length>0?h.openSimpleModal({title:w.instant("common.warning"),message:w.instant("jdbc.warning.column.type.msg"),warning:!0}).result.then((function(){$()})):$()},e.hasPrecision=n=>"iri"===n||"string"===n||"decimal"===n,e.containsColumnsWithPrecision=n=>n&&n.some(n=>e.hasPrecision(n.column_type)),e.containsColumnsWithScale=n=>n&&n.some(n=>M(n.column_type)),e.isLiteral=n=>"iri"!==n&&"unknown"!==n,e.containsNonLiteralColumnsOnly=n=>n&&n.every(n=>!e.isLiteral(n.column_type));const S=n=>{if(e.canWriteActiveRepo){const t=JSON.stringify({name:e.jdbcConfigurationInfo.jdbcConfigurationName,query:e.jdbcConfigurationInfo.query,columns:e.jdbcConfigurationInfo.columns||[]});return Promise.all([p.getNewSqlTablePreview(t).then(n=>n.data),Promise.resolve(n)])}return Promise.all([p.getExistingSqlTablePreview(e.jdbcConfigurationInfo.jdbcConfigurationName).then(n=>n.data),Promise.resolve(n)])},T=(n,e)=>{n===e?d.info(Object(u.decodeHTML)(w.instant("jdbc.same.suggested.sql.type",{type:n})),w.instant("jdbc.suggest.sql.type"),{allowHtml:!0}):d.success(Object(u.decodeHTML)(w.instant("jdbc.suggested.sql.type",{type:n})),w.instant("jdbc.suggest.sql.type"),{allowHtml:!0})},E=(n,t=new o.JdbcConfigurationInfo)=>{e.jdbcConfigurationInfo.columns=t.columns,e.jdbcConfigurationInfo.query=t.query,e.jdbcConfigurationInfo.jdbcConfigurationName=l.search().name||"",e.jdbcConfigurationInfo.isNewJdbcConfiguration=!e.jdbcConfigurationInfo.jdbcConfigurationName,e.prefixes=n,J(),U()},R=n=>{const t={name:n.jdbcConfigurationName,query:n.query,columns:n.columns};return p.createNewJdbcConfiguration(t).then(()=>{e.isDirty=!1,e.jdbcConfigurationInfo.isNewConfiguration=!1,d.success(w.instant("jdbc.saved.configuration")),Y()})},I=n=>{const t={name:n.jdbcConfigurationName,query:n.query,columns:n.columns};p.updateJdbcConfiguration(t).then(()=>{e.isDirty=!1,e.jdbcConfigurationInfo.isNewConfiguration=!1,d.success(w.instant("jdbc.configuration.updated")),Y()})},J=(n={})=>{const t={};angular.extend(t,e.yasguiConfig||A(),n),e.yasguiConfig=t},A=()=>({showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,showResultInfo:!1,downloadAsOn:!1,showYasqeResizer:!1,initialQuery:e.jdbcConfigurationInfo.query,componentId:"jdbc-component",prefixes:e.prefixes,maxPersistentResponseSize:0,render:s.RenderingMode.YASQE,getCellContent:L,sparqlResponse:e.emptySparqlResponse,yasqeActionButtons:c.DISABLE_YASQE_BUTTONS_CONFIGURATION,yasqeMode:e.canEditActiveRepo?i.YasqeMode.WRITE:i.YasqeMode.PROTECTED}),N=n=>O().getQueryType().then(e=>(n.isValidQueryType="SELECT"===e,n.isValidQueryType?n:Promise.reject(new r.JdbcConfigurationError("Query type is not valid.")))),P=n=>O().isQueryValid().then(e=>(n.isValidQuery=e,n.isValidQuery?n:Promise.reject(new r.JdbcConfigurationError("Invalid query.")))),_=n=>{if(!n.columns||0===n.columns.length)return n.isColumnsEmpty=!0,d.error(w.instant("jdbc.warning.one.column.msg")),Promise.reject(new r.JdbcConfigurationError("There are not defined columns.",n));return e.jdbcConfigurationInfo.columns&&e.jdbcConfigurationInfo.columns.find(n=>"unknown"===n.column_type)?(n.hasUndefinedColumns=!0,Promise.reject(new r.JdbcConfigurationError("There are columns without defined type.",n))):Promise.resolve(n)},$=()=>{N(e.jdbcConfigurationInfo).then(P).then(k).then(D).then(Q).then(n=>e.jdbcConfigurationInfo=n).catch(n=>{console.log(n)})},D=n=>p.getColumnNames(n.query).then(e=>[n,e.data]).catch((function(n){d.error(getError(n),w.instant("jdbc.not.suggest.column.names"))})),Q=([n,t])=>p.getColumnsTypeSuggestion(n.query,t).then((function(o){return n.columns=Object(a.toJDBCColumns)(t,o.data),n.isColumnsEmpty=n.columns.length,e.setDirty(),n})).catch((function(n){d.error(getError(n),w.instant("jdbc.not.suggest.column.types"))})),O=()=>c.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),k=n=>O().getQuery().then(e=>(n.query=e,n)),M=n=>"decimal"===n,L=(n,e)=>{let t=n.value;t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return"<div class = 'literal-cell'>"+("<p class='nonUri' style='border: none; background-color: transparent; padding: 0; margin: 0'>"+t+"</p>")+"</div>"},x=(n,e,t,o)=>{h.openSimpleModal({title:n,message:e,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(o)&&o()}))},U=()=>{e.getSuggestionSqlType=w.instant("view.jdbc.create.get_suggestion_sql_type"),e.sqlTypes=["string","iri","boolean","byte","short","int","long","float","double","decimal","date","time","timestamp",e.getSuggestionSqlType]},Y=()=>{setTimeout((function(){V()}),1e3)},V=()=>{l.url("/jdbc")},W=n=>{e.isDirty&&(n.returnValue=!0)},F=()=>{window.removeEventListener("beforeunload",W),B.forEach(n=>n())},B=[];B.push(t.$on("$translateChangeSuccess",()=>{e.language=j.getLanguage(),U()})),B.push(e.$on("$locationChangeStart",(n,t)=>{if(e.isDirty){n.preventDefault();const e=w.instant("common.confirm"),o=w.instant("jdbc.warning.unsaved.changes");x(e,o,()=>{F();const n=l.absUrl().length-l.url().length,e=t.substring(n);l.path(e)})}else F()})),B.push(v.subscribe("repositoryWillChangeEvent",n=>new Promise((function(t){if(e.jdbcConfigurationInfo.isNewJdbcConfiguration)return void t(n);const o=()=>{e.isDirty=!1,V(),t(n)};if(e.isDirty){const e=()=>{n.cancel=!0,t(n)},i=w.instant("common.confirm"),r=w.instant("jdbc.warning.unsaved.changes");x(i,r,o,e)}else o()})))),B.push(e.$on("$destroy",F)),window.addEventListener("beforeunload",W),B.push(e.$watch(e.getActiveRepositoryObject,n=>{n&&(e.canEditActiveRepo=e.canWriteActiveRepo(),q?((()=>{e.loadingControllerResources=!0;const n=g.getActiveRepository();e.jdbcConfigurationInfo.jdbcConfigurationName?Promise.all([g.getPrefixes(n),p.getJdbcConfiguration(e.jdbcConfigurationInfo.jdbcConfigurationName)]).then(([n,e])=>{E(n,e.data)}).finally(()=>e.loadingControllerResources=!1):g.getPrefixes(n).then(n=>E(n)).finally(()=>e.loadingControllerResources=!1)})(),q=!1):O().abortQuery().then(V))}))}angular.module("graphdb.framework.jdbc.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","toastr","graphdb.framework.utils.event-emitter-service"],["graphdb.framework.utils.notifications"]).controller("JdbcListCtrl",l).controller("JdbcCreateCtrl",d),l.$inject=["$scope","$repositories","JdbcRestService","toastr","ModalService","$translate"],d.$inject=["$q","$scope","$rootScope","$location","toastr","$repositories","$window","$timeout","$interval","JdbcRestService","RDF4JRepositoriesRestService","SparqlRestService","ModalService","$translate","$languageService","EventEmitterService"]},215:function(n,e){angular.module("graphdb.framework.rest.jdbc.service",[]).factory("JdbcRestService",t),t.$inject=["$http","$repositories","$translate"];function t(n,e){return{getJdbcConfigurations:function(){return n.get("rest/sql-views/tables")},getJdbcConfiguration:function(e){return n.get("rest/sql-views/tables/"+e)},createNewJdbcConfiguration:function(n){return t("POST","",n)},updateJdbcConfiguration:function(n){return t("PUT",n.name,n)},deleteJdbcConfiguration:function(e){return n.delete("rest/sql-views/tables/"+e)},getColumnNames:function(e){return n.post("rest/sql-views/columns",e,{headers:{Accept:"application/json","Content-Type":"text/plain"}})},getColumnsTypeSuggestion:function(t,o){if(!Array.isArray(o))throw new Error(e.instant("jdbc.column.names.constraint"));return n({method:"POST",url:"rest/sql-views/types",data:{query:t,column_names:o}})},getExistingSqlTablePreview:function(e,t){return n({method:"GET",url:"rest/sql-views/preview/"+e,params:{limit:t}})},getNewSqlTablePreview:function(e,t){return n({method:"POST",url:"rest/sql-views/preview",contentType:"application/json; charset=utf-8",dataType:"json",data:e,params:{limit:t},headers:{Accept:"application/sparql-results+json"}})}};function t(e,t,o){return n({method:e,url:"rest/sql-views/tables/"+t,noCancelOnRouteChange:!0,data:{name:o.name,query:o.query,columns:o.columns||[]}})}}},281:function(n,e,t){"use strict";t.r(e);t(7),t(25),t(141),t(26),t(214),t(215),t(90);angular.module("graphdb.framework.jdbc",["toastr","ui.bootstrap","graphdb.framework.jdbc.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.rest.jdbc.service","graphdb.framework.core.directives.yasgui-component"])},64:function(n,e,t){"use strict";t.r(e),t.d(e,"RenderingMode",(function(){return o}));const o={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},67:function(n,e,t){"use strict";t.r(e),t.d(e,"YasqeMode",(function(){return o}));const o={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},68:function(n,e){function t(n,e){return{showToastMessageWithDelay:function(t){return new Promise(o=>{n.success(e.instant(t)),setTimeout(o,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[21,24,166,167,168,192,199,249,269],{128:function(n,e,t){"use strict";t.r(e),t.d(e,"DEFAULT_SPARQL_QUERY",(function(){return o})),t.d(e,"JdbcConfigurationInfo",(function(){return i}));const o="PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n\n# Selects two variables to use as columns\nSELECT ?id ?label {\n ?id rdfs:label ?label\n # The following placeholder must be present in the query\n #!filter\n}";class i{constructor(n=o,e=!0,t){this.query=n,this.jdbcConfigurationName=t,this.isNewJdbcConfiguration=e,this.isValidQuery=!0,this.isValidQueryType=!0,this.hasUndefinedColumns=!1,this.isColumnsEmpty=!1,this.columns=[]}}},129:function(n,e,t){"use strict";t.r(e),t.d(e,"JdbcConfigurationError",(function(){return o}));class o extends Error{constructor(n,e){super(n),this.jdbcConfigurationInfo=e}}},130:function(n,e,t){"use strict";t.r(e),t.d(e,"JdbcColumn",(function(){return o})),t.d(e,"toJDBCColumns",(function(){return i})),t.d(e,"updateColumn",(function(){return r}));class o{constructor(){this.column_name="",this.column_type="",this.sparql_type="",this.nullable=!0}}const i=(n=[],e)=>n.map(n=>({column_name:n,column_type:e[n].column_type,nullable:!0,sparql_type:e[n].sparql_type})),r=(n,e)=>{n.column_type=e[n.column_name].column_type,n.sparql_type=e[n.column_name].sparql_type}},213:function(n,e,t){"use strict";t.r(e);t(26),t(28),t(68),t(7),t(15);var o=t(128),i=t(67),r=t(129),s=t(64),a=t(130),c=t(14),u=t(0);function l(n,e,t,o,i,r){n.getSqlConfigurations=function(){!e.getActiveRepository()||e.isActiveRepoOntopType()||e.isActiveRepoFedXType()?n.jdbcConfigurations=[]:t.getJdbcConfigurations().success((function(e){n.jdbcConfigurations=e})).error((function(n){const e=getError(n);o.error(e,r.instant("jdbc.not.get.SQL.msg"))}))},n.$watch((function(){return e.getActiveRepository()}),(function(){n.getSqlConfigurations()})),n.deleteConfiguration=function(e){i.openSimpleModal({title:r.instant("common.warning"),message:r.instant("jdbc.delete.sql.table.warning.msg",{name:e}),warning:!0}).result.then((function(){t.deleteJdbcConfiguration(e).success((function(){n.getSqlConfigurations()})).error((function(n){o.error(getError(n),r.instant("jdbc.not.delete.sql.msg"))}))}))}}function d(n,e,t,l,d,g,f,m,b,p,C,y,h,w,j,v){e.emptySparqlResponse='{"head": {"vars": []},"results": {"bindings": []}}',e.getSuggestionSqlType="",e.sqlTypes=[],e.activeTab=1,e.jdbcConfigurationInfo=new o.JdbcConfigurationInfo,e.jdbcConfigurationInfo.jdbcConfigurationName=l.search().name||"",e.saveOrUpdateExecuted=!1,e.jdbcConfigurationInfo.isNewJdbcConfiguration=!e.jdbcConfigurationInfo.jdbcConfigurationName,e.language=j.getLanguage(),e.isDirty=!1,e.prefixes=[],e.loadingControllerResources=!1,e.isQueryRunning=!1,e.canEditActiveRepo=!1;let q=!0;e.saveJdbcConfiguration=()=>{if(e.saveOrUpdateExecuted=!0,!e.jdbcConfigurationInfo.jdbcConfigurationName)return;if(!e.isDirty)return void V();const n=e.jdbcConfigurationInfo.isNewJdbcConfiguration?R:I;N(e.jdbcConfigurationInfo).then(P).then(_).then(k).then(n).catch(n=>{if(!(n instanceof r.JdbcConfigurationError)){const e=getError(n);d.error(e,w.instant("jdbc.not.saved.configuration"))}})},e.getPreview=()=>{e.activeTab=1,e.isQueryRunning=!0,N(e.jdbcConfigurationInfo).then(P).then(_).then(k).then(n=>(J({render:s.RenderingMode.YASQE,initialQuery:n.query}),n)).then(S).then(([n,e])=>{const t=n&&n.results.bindings&&n.results.bindings.length>0;let o=s.RenderingMode.YASGUI;t||(o=s.RenderingMode.YASQE,d.info(w.instant("jdbc.table.definition"),w.instant("jdbc.preview.sql"))),J({render:o,sparqlResponse:n,initialQuery:e.query})}).catch(n=>{n instanceof r.JdbcConfigurationError?n.jdbcConfigurationInfo&&(n.jdbcConfigurationInfo.isColumnsEmpty||n.jdbcConfigurationInfo.hasUndefinedColumns)&&($(),e.activeTab=2):d.error(getError(n,0,100),w.instant("jdbc.not.show.preview"))}).finally(()=>{e.isQueryRunning=!1})},e.setActiveTab=n=>{e.activeTab=n;const t=e.jdbcConfigurationInfo.columns;2!==e.activeTab||t&&0!==t.length||N(e.jdbcConfigurationInfo).then(P).then(()=>{e.getColumnsSuggestions()})},e.setDirty=()=>{e.isDirty=!0},e.getTypeLabel=n=>{switch(n){case"iri":return"VARCHAR: IRI";case"string":return"VARCHAR: String";default:return n.indexOf(" ")>0?n:n.toUpperCase()}},e.selectColumnType=(n,t)=>{e.setDirty();const o=e.jdbcConfigurationInfo.columns.find(e=>e.column_name===n);o.column_type===e.getSuggestionSqlType&&k(e.jdbcConfigurationInfo).then(e=>p.getColumnsTypeSuggestion(e.query,[n])).then(n=>n.data).then(n=>{Object(a.updateColumn)(o,n),T(o.column_type,t)}).catch(n=>{d.error(getError(n),w.instant("jdbc.not.suggest.column.type"))})},e.deleteColumn=function(n,t){h.openSimpleModal({title:w.instant("common.warning"),message:w.instant("jdbc.warning.delete.column.msg",{columnName:n}),warning:!0}).result.then((function(){e.jdbcConfigurationInfo.columns.splice(t,1),e.setDirty()}))},e.getColumnsSuggestions=()=>{e.jdbcConfigurationInfo.columns&&e.jdbcConfigurationInfo.columns.length>0?h.openSimpleModal({title:w.instant("common.warning"),message:w.instant("jdbc.warning.column.type.msg"),warning:!0}).result.then((function(){$()})):$()},e.hasPrecision=n=>"iri"===n||"string"===n||"decimal"===n,e.containsColumnsWithPrecision=n=>n&&n.some(n=>e.hasPrecision(n.column_type)),e.containsColumnsWithScale=n=>n&&n.some(n=>M(n.column_type)),e.isLiteral=n=>"iri"!==n&&"unknown"!==n,e.containsNonLiteralColumnsOnly=n=>n&&n.every(n=>!e.isLiteral(n.column_type));const S=n=>{if(e.canWriteActiveRepo){const t=JSON.stringify({name:e.jdbcConfigurationInfo.jdbcConfigurationName,query:e.jdbcConfigurationInfo.query,columns:e.jdbcConfigurationInfo.columns||[]});return Promise.all([p.getNewSqlTablePreview(t).then(n=>n.data),Promise.resolve(n)])}return Promise.all([p.getExistingSqlTablePreview(e.jdbcConfigurationInfo.jdbcConfigurationName).then(n=>n.data),Promise.resolve(n)])},T=(n,e)=>{n===e?d.info(Object(u.decodeHTML)(w.instant("jdbc.same.suggested.sql.type",{type:n})),w.instant("jdbc.suggest.sql.type"),{allowHtml:!0}):d.success(Object(u.decodeHTML)(w.instant("jdbc.suggested.sql.type",{type:n})),w.instant("jdbc.suggest.sql.type"),{allowHtml:!0})},E=(n,t=new o.JdbcConfigurationInfo)=>{e.jdbcConfigurationInfo.columns=t.columns,e.jdbcConfigurationInfo.query=t.query,e.jdbcConfigurationInfo.jdbcConfigurationName=l.search().name||"",e.jdbcConfigurationInfo.isNewJdbcConfiguration=!e.jdbcConfigurationInfo.jdbcConfigurationName,e.prefixes=n,J(),U()},R=n=>{const t={name:n.jdbcConfigurationName,query:n.query,columns:n.columns};return p.createNewJdbcConfiguration(t).then(()=>{e.isDirty=!1,e.jdbcConfigurationInfo.isNewConfiguration=!1,d.success(w.instant("jdbc.saved.configuration")),Y()})},I=n=>{const t={name:n.jdbcConfigurationName,query:n.query,columns:n.columns};p.updateJdbcConfiguration(t).then(()=>{e.isDirty=!1,e.jdbcConfigurationInfo.isNewConfiguration=!1,d.success(w.instant("jdbc.configuration.updated")),Y()})},J=(n={})=>{const t={};angular.extend(t,e.yasguiConfig||A(),n),e.yasguiConfig=t},A=()=>({showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,showResultInfo:!1,downloadAsOn:!1,showYasqeResizer:!1,initialQuery:e.jdbcConfigurationInfo.query,componentId:"jdbc-component",prefixes:e.prefixes,maxPersistentResponseSize:0,render:s.RenderingMode.YASQE,getCellContent:L,sparqlResponse:e.emptySparqlResponse,yasqeActionButtons:c.DISABLE_YASQE_BUTTONS_CONFIGURATION,yasqeMode:e.canEditActiveRepo?i.YasqeMode.WRITE:i.YasqeMode.PROTECTED}),N=n=>O().getQueryType().then(e=>(n.isValidQueryType="SELECT"===e,n.isValidQueryType?n:Promise.reject(new r.JdbcConfigurationError("Query type is not valid.")))),P=n=>O().isQueryValid().then(e=>(n.isValidQuery=e,n.isValidQuery?n:Promise.reject(new r.JdbcConfigurationError("Invalid query.")))),_=n=>{if(!n.columns||0===n.columns.length)return n.isColumnsEmpty=!0,d.error(w.instant("jdbc.warning.one.column.msg")),Promise.reject(new r.JdbcConfigurationError("There are not defined columns.",n));return e.jdbcConfigurationInfo.columns&&e.jdbcConfigurationInfo.columns.find(n=>"unknown"===n.column_type)?(n.hasUndefinedColumns=!0,Promise.reject(new r.JdbcConfigurationError("There are columns without defined type.",n))):Promise.resolve(n)},$=()=>{N(e.jdbcConfigurationInfo).then(P).then(k).then(D).then(Q).then(n=>e.jdbcConfigurationInfo=n).catch(n=>{console.log(n)})},D=n=>p.getColumnNames(n.query).then(e=>[n,e.data]).catch((function(n){d.error(getError(n),w.instant("jdbc.not.suggest.column.names"))})),Q=([n,t])=>p.getColumnsTypeSuggestion(n.query,t).then((function(o){return n.columns=Object(a.toJDBCColumns)(t,o.data),n.isColumnsEmpty=n.columns.length,e.setDirty(),n})).catch((function(n){d.error(getError(n),w.instant("jdbc.not.suggest.column.types"))})),O=()=>c.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),k=n=>O().getQuery().then(e=>(n.query=e,n)),M=n=>"decimal"===n,L=(n,e)=>{let t=n.value;t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return"<div class = 'literal-cell'>"+("<p class='nonUri' style='border: none; background-color: transparent; padding: 0; margin: 0'>"+t+"</p>")+"</div>"},x=(n,e,t,o)=>{h.openSimpleModal({title:n,message:e,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(o)&&o()}))},U=()=>{e.getSuggestionSqlType=w.instant("view.jdbc.create.get_suggestion_sql_type"),e.sqlTypes=["string","iri","boolean","byte","short","int","long","float","double","decimal","date","time","timestamp",e.getSuggestionSqlType]},Y=()=>{setTimeout((function(){V()}),1e3)},V=()=>{l.url("/jdbc")},W=n=>{e.isDirty&&(n.returnValue=!0)},F=()=>{window.removeEventListener("beforeunload",W),B.forEach(n=>n())},B=[];B.push(t.$on("$translateChangeSuccess",()=>{e.language=j.getLanguage(),U()})),B.push(e.$on("$locationChangeStart",(n,t)=>{if(e.isDirty){n.preventDefault();const e=w.instant("common.confirm"),o=w.instant("jdbc.warning.unsaved.changes");x(e,o,()=>{F();const n=l.absUrl().length-l.url().length,e=t.substring(n);l.path(e)})}else F()})),B.push(v.subscribe("repositoryWillChangeEvent",n=>new Promise((function(t){if(e.jdbcConfigurationInfo.isNewJdbcConfiguration)return void t(n);const o=()=>{e.isDirty=!1,V(),t(n)};if(e.isDirty){const e=()=>{n.cancel=!0,t(n)},i=w.instant("common.confirm"),r=w.instant("jdbc.warning.unsaved.changes");x(i,r,o,e)}else o()})))),B.push(e.$on("$destroy",F)),window.addEventListener("beforeunload",W),B.push(e.$watch(e.getActiveRepositoryObject,n=>{n&&(e.canEditActiveRepo=e.canWriteActiveRepo(),q?((()=>{e.loadingControllerResources=!0;const n=g.getActiveRepository();e.jdbcConfigurationInfo.jdbcConfigurationName?Promise.all([g.getPrefixes(n),p.getJdbcConfiguration(e.jdbcConfigurationInfo.jdbcConfigurationName)]).then(([n,e])=>{E(n,e.data)}).finally(()=>e.loadingControllerResources=!1):g.getPrefixes(n).then(n=>E(n)).finally(()=>e.loadingControllerResources=!1)})(),q=!1):O().abortQuery().then(V))}))}angular.module("graphdb.framework.jdbc.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","toastr","graphdb.framework.utils.event-emitter-service"],["graphdb.framework.utils.notifications"]).controller("JdbcListCtrl",l).controller("JdbcCreateCtrl",d),l.$inject=["$scope","$repositories","JdbcRestService","toastr","ModalService","$translate"],d.$inject=["$q","$scope","$rootScope","$location","toastr","$repositories","$window","$timeout","$interval","JdbcRestService","RDF4JRepositoriesRestService","SparqlRestService","ModalService","$translate","$languageService","EventEmitterService"]},214:function(n,e){angular.module("graphdb.framework.rest.jdbc.service",[]).factory("JdbcRestService",t),t.$inject=["$http","$repositories","$translate"];function t(n,e){return{getJdbcConfigurations:function(){return n.get("rest/sql-views/tables")},getJdbcConfiguration:function(e){return n.get("rest/sql-views/tables/"+e)},createNewJdbcConfiguration:function(n){return t("POST","",n)},updateJdbcConfiguration:function(n){return t("PUT",n.name,n)},deleteJdbcConfiguration:function(e){return n.delete("rest/sql-views/tables/"+e)},getColumnNames:function(e){return n.post("rest/sql-views/columns",e,{headers:{Accept:"application/json","Content-Type":"text/plain"}})},getColumnsTypeSuggestion:function(t,o){if(!Array.isArray(o))throw new Error(e.instant("jdbc.column.names.constraint"));return n({method:"POST",url:"rest/sql-views/types",data:{query:t,column_names:o}})},getExistingSqlTablePreview:function(e,t){return n({method:"GET",url:"rest/sql-views/preview/"+e,params:{limit:t}})},getNewSqlTablePreview:function(e,t){return n({method:"POST",url:"rest/sql-views/preview",contentType:"application/json; charset=utf-8",dataType:"json",data:e,params:{limit:t},headers:{Accept:"application/sparql-results+json"}})}};function t(e,t,o){return n({method:e,url:"rest/sql-views/tables/"+t,noCancelOnRouteChange:!0,data:{name:o.name,query:o.query,columns:o.columns||[]}})}}},280:function(n,e,t){"use strict";t.r(e);t(7),t(25),t(141),t(26),t(213),t(214),t(90);angular.module("graphdb.framework.jdbc",["toastr","ui.bootstrap","graphdb.framework.jdbc.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.rest.jdbc.service","graphdb.framework.core.directives.yasgui-component"])},64:function(n,e,t){"use strict";t.r(e),t.d(e,"RenderingMode",(function(){return o}));const o={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},67:function(n,e,t){"use strict";t.r(e),t.d(e,"YasqeMode",(function(){return o}));const o={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},68:function(n,e){function t(n,e){return{showToastMessageWithDelay:function(t){return new Promise(o=>{n.success(e.instant(t)),setTimeout(o,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[210],{301:function(n,e,o){"use strict";o.r(e),o.d(e,"WorkbenchSettingsModel",(function(){return t}));const t={theme:"",mode:""}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[211],{219:function(n,r,i){"use strict";i.r(r),i.d(r,"SimilarityIndexError",(function(){return o}));class o extends Error{}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[214],{72:function(t,I,s){"use strict";s.r(I),s.d(I,"SimilarityIndexStatus",(function(){return E}));const E={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>E.CREATING===t,isBuildingStatus:t=>E.BUILDING===t,isBuiltStatus:t=>E.BUILT===t,isRebuildingStatus:t=>E.REBUILDING===t,isOutdatedStatus:t=>E.OUTDATED===t,isInterruptedStatus:t=>E.INTERRUPTED===t,isObsoleteStatus:t=>E.OBSOLETE===t,isFailedStatus:t=>E.FAILED===t}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[212],{72:function(t,I,s){"use strict";s.r(I),s.d(I,"SimilarityIndexStatus",(function(){return E}));const E={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>E.CREATING===t,isBuildingStatus:t=>E.BUILDING===t,isBuiltStatus:t=>E.BUILT===t,isRebuildingStatus:t=>E.REBUILDING===t,isOutdatedStatus:t=>E.OUTDATED===t,isInterruptedStatus:t=>E.INTERRUPTED===t,isObsoleteStatus:t=>E.OBSOLETE===t,isFailedStatus:t=>E.FAILED===t}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[215],{71:function(T,e,i){"use strict";i.r(e),i.d(e,"SimilarityIndexType",(function(){return t}));const t={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:T=>t.TEXT===T,isTextLiteralType:T=>t.TEXT_LITERAL===T,isPredicationType:T=>t.PREDICATION===T}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[213],{71:function(T,e,i){"use strict";i.r(e),i.d(e,"SimilarityIndexType",(function(){return t}));const t={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:T=>t.TEXT===T,isTextLiteralType:T=>t.TEXT_LITERAL===T,isPredicationType:T=>t.PREDICATION===T}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[216],{105:function(A,n,i){"use strict";i.r(n),i.d(n,"SimilarityQueryType",(function(){return o}));const o={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[214],{105:function(A,n,i){"use strict";i.r(n),i.d(n,"SimilarityQueryType",(function(){return o}));const o={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[217],{136:function(e,t,T){"use strict";T.r(t),T.d(t,"SimilarityResultType",(function(){return s}));const s={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>s.DOCUMENT_RESULT===e,isResultTermType:e=>s.TERM_RESULT===e}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[215],{136:function(e,t,T){"use strict";T.r(t),T.d(t,"SimilarityResultType",(function(){return s}));const s={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>s.DOCUMENT_RESULT===e,isResultTermType:e=>s.TERM_RESULT===e}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[218],{83:function(e,E,c){"use strict";c.r(E),c.d(E,"SimilaritySearchType",(function(){return T}));const T={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>T.SEARCH_TERM===e,isSearchAnalogicalType:e=>T.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>T.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>T.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>T.SEARCH_DOCUMENT===e}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[216],{83:function(e,E,c){"use strict";c.r(E),c.d(E,"SimilaritySearchType",(function(){return T}));const T={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>T.SEARCH_TERM===e,isSearchAnalogicalType:e=>T.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>T.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>T.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>T.SEARCH_DOCUMENT===e}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[219],{222:function(n,i,o){"use strict";o.r(i),o.d(i,"SimilarityViewMode",(function(){return E}));const E={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[217],{221:function(n,i,o){"use strict";o.r(i),o.d(i,"SimilarityViewMode",(function(){return E}));const E={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[218],{138:function(r,n,e){"use strict";e.r(n),e.d(n,"SparqlTemplateError",(function(){return o}));class o extends Error{}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[221],{139:function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_SPARQL_QUERY",(function(){return s})),n.d(t,"SparqlTemplateInfo",(function(){return i}));const s="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX ex: <http://example.com#>\nDELETE {\n ?subject ex:myPredicate ?oldValue .\n} INSERT {\n ?subject ex:myPredicate ?newValue .\n} WHERE {\n ?id rdf:type ex:MyType .\n ?subject ex:isRelatedTo ?id .\n}\n";class i{constructor(e=s,t=!0,n){this.query=e,this.templateID=n,this.isNewTemplate=t,this.templateExist=!1,this.isValidTemplateId=!0,this.isValidQuery=!0,this.isValidQueryMode=!0}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[219],{139:function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_SPARQL_QUERY",(function(){return s})),n.d(t,"SparqlTemplateInfo",(function(){return i}));const s="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX ex: <http://example.com#>\nDELETE {\n ?subject ex:myPredicate ?oldValue .\n} INSERT {\n ?subject ex:myPredicate ?newValue .\n} WHERE {\n ?id rdf:type ex:MyType .\n ?subject ex:isRelatedTo ?id .\n}\n";class i{constructor(e=s,t=!0,n){this.query=e,this.templateID=n,this.isNewTemplate=t,this.templateExist=!1,this.isValidTemplateId=!0,this.isValidQuery=!0,this.isValidQueryMode=!0}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[22,44,53,77,194,214,215,217,218],{106:function(e,t,i){"use strict";i.r(t),i.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var r=i(75);const a=e=>e.map(e=>{const t=new r.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},136:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityResultType",(function(){return r}));const r={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>r.DOCUMENT_RESULT===e,isResultTermType:e=>r.TERM_RESULT===e}},137:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilaritySearch",(function(){return a}));var r=i(83);class a{constructor(){this.type=r.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return r.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return r.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return r.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return r.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return r.SimilaritySearchType.isSearchDocumentType(this.type)}}},235:function(e,t,i){"use strict";i.r(t);var r=i(0),a=i(83),s=i(136),n=i(72),c=i(71),l=i(106),y=i(137),o=i(64);function u(e,t,i,u,p,S,d,T,m,h,I,E,R,x){const g="http://www.ontotext.com/graphdb/similarity/",A="http://www.ontotext.com/graphdb/similarity/psi/",b=A+"any";e.pluginName="similarity",e.pluginIsActive=!0,e.isLoading=!1,e.selectedSimilarityIndex=void 0,e.similarityIndexStatus=n.SimilarityIndexStatus,e.similarityIndexType=c.SimilarityIndexType,e.similaritySearchType=a.SimilaritySearchType,e.searchType=a.SimilaritySearchType.SEARCH_TERM,e.similarityResultType=s.SimilarityResultType,e.resultType=s.SimilarityResultType.TERM_RESULT,e.info=I,e.isGraphDBRepository=void 0,e.canEditRepo=e.canWriteActiveRepo(),e.loadSimilarityIndexesTimer=void 0,e.loadSimilarityIndexes=()=>{e.isGraphDBRepository&&e.pluginIsActive&&m.getIndexes().success(t=>e.similarityIndexes=Object(l.mapIndexesResponseToSimilarityIndex)(t)).error(e=>i.error(getError(e),R.instant("similarity.could.not.get.indexes.error")))},e.reloadSimilarityIndexes=()=>{e.loadSimilarityIndexes(),e.loadSimilarityIndexesTimer||(e.loadSimilarityIndexesTimer=t((function(){e.$broadcast("checkIsActive"),"false"!==$("#indexes-table").attr("aria-expanded")&&e.loadSimilarityIndexes()}),5e3))},e.goToSimilarityIndex=t=>{(t.isBuiltStatus()||t.isOutdatedStatus()||t.isRebuildingStatus())&&(e.empty=!0,e.selectedSimilarityIndex!==t&&(e.lastSearch=void 0,e.selectedSimilarityIndex=t),t.isTextType()?e.searchType=a.SimilaritySearchType.SEARCH_TERM:t.isPredicationType()&&(e.searchType=a.SimilaritySearchType.SEARCH_ENTITY),(t.isTextType()||t.isPredicationType())&&$("#indexes-table").collapse("hide"))},e.performSearch=(t,r,a,s,n)=>{e.isLoading=!0,j(a,r);const c=U(t,r,a,s,n);x.getQueryResult(u.getActiveRepository(),c,"application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8").then(e=>M(e)).catch(e=>i.error(getError(e.data),R.instant("similarity.get.resource.error"))).finally(()=>e.isLoading=!1)},e.viewSearchQuery=()=>{let t;t=e.lastSearch.isSearchAnalogicalType()?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type];let i=[],r="";i=t.match(/[a-zA-Z0-9-]+:<http:\/\/www.ontotext.com\/graphdb\/similarity\/instance\/>/),r=null==i?"similarity-index":i[0].substring(0,i[0].indexOf(":"));const s=t.replace("?index",r+":"+e.selectedSimilarityIndex.name).replace("?query",e.lastSearch.termOrSubject).replace("?searchType",(e.selectedSimilarityIndex.isTextType()?":":"psi:")+(e.lastSearch.isSearchEntityPredicateType()?a.SimilaritySearchType.SEARCH_ENTITY:e.lastSearch.type)).replace("?resultType",e.selectedSimilarityIndex.isTextType()?":"+e.resultType:"psi:entityResult").replace("?parameters",C(e.searchParameters?e.searchParameters:"")).replace("?psiPredicate",e.lastSearch.predicate?O(e.lastSearch.predicate):O(b)).replace("?givenSubject",O(e.analogicalSubject)).replace("?givenObject",O(e.analogicalObject)).replace("?searchSubject",O(e.searchSubject));T.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:()=>s}})},e.deleteSimilarityIndex=t=>{d.openSimpleModal({title:R.instant("common.confirm"),message:R.instant("similarity.delete.index.warning",{name:t.name}),warning:!0}).result.then((function(){m.deleteIndex(t).then(()=>e.loadSimilarityIndexes()).catch(e=>i.error(getError(e)))}))},e.viewCreateQuery=e=>{m.getQuery({indexName:e.name,indexOptions:e.options,query:e.selectQuery,indexStopList:e.stopList,queryInference:e.infer,querySameAs:e.sameAs,viewType:e.type,indexAnalyzer:e.analyzer}).success(e=>{T.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:()=>e}})})},e.rebuildIndex=t=>{t.searchQuery||(t.searchQuery=t.type?e.searchQueries[t.type]:e.searchQueries.text),d.openSimpleModal({title:R.instant("common.confirm"),message:Object(r.decodeHTML)(R.instant("similarity.rebuild.index.warning",{name:t.name})),warning:!0}).result.then(()=>{t.status=n.SimilarityIndexStatus.REBUILDING,m.rebuildIndex(t).catch(e=>i.error(getError(e)))})},e.setPluginIsActive=t=>{e.pluginIsActive=t},e.encodeURIComponent=e=>encodeURIComponent(e),e.copyToClipboardResult=e=>{d.openCopyToClipboardModal(e)},e.trimIRI=e=>_.trim(e,"<>"),e.updateSearchType=t=>{e.searchType=t},e.updateResultType=t=>{e.resultType=t},e.editSimilarityIndex=e=>{L(e)},e.cloneSimilataryIndex=e=>{L(e,!0)},e.setPsiSubject=t=>{e.psiSubject=t},e.setAnalogicalSubject=t=>{e.analogicalSubject=t},e.setAnalogicalObject=t=>{e.analogicalObject=t};const L=(e,t=!1)=>{const i={selectQuery:e.selectQuery,options:e.options,name:e.name,editSearchQuery:!t,infer:e.infer,sameAs:e.sameAs,stopList:e.stopList,type:e.type,analyzer:e.analyzer,searchQuery:e.searchQuery?e.searchQuery:"",analogicalQuery:e.analogicalQuery?e.analogicalQuery:""};S.path("similarity/index/create").search(i)},Q=()=>{const t=e.getActiveRepository();t&&e.activeRepository!==t&&(e.canEditRepo=e.canWriteActiveRepo(),e.activeRepository=t,e.isGraphDBRepository=w(),e.isGraphDBRepository&&(p.isLicenseValid()&&e.reloadSimilarityIndexes(),v()))},v=()=>{m.getSearchQueries().success(t=>e.searchQueries=t).error(e=>i.error(getError(e),R.instant("similarity.could.not.get.search.queries.error")))},C=e=>'"'+e+'"',O=e=>void 0===e||e.startsWith("<<")&&e.endsWith(">>")?e:"<"+e+">",w=()=>e.getActiveRepository()&&!e.isActiveRepoOntopType()&&!e.isActiveRepoFedXType(),f=[];f.push(e.$on("repositoryIsSet",Q));e.$on("$destroy",()=>{D(),e.loadSimilarityIndexesTimer&&t.cancel(e.loadSimilarityIndexesTimer)});const D=()=>{f.forEach(e=>e())};f.push(e.$on("autocompleteStatus",()=>{p.isLicenseValid()&&(e.getAutocompletePromise=h.checkAutocompleteStatus())}));f.push(e.$watch("searchType",()=>{e.empty=!0}));const N=e.$watch(e.getActiveRepositoryObject,e=>{e&&(Q(),N())}),U=(t,i,r,n,c)=>{const l={query:P(e.lastSearch.type),$index:O("http://www.ontotext.com/graphdb/similarity/instance/"+t.name),$query:e.lastSearch.termOrSubject,$searchType:O((e.selectedSimilarityIndex.isTextType()?g:A)+(a.SimilaritySearchType.isSearchEntityPredicateType(r)?a.SimilaritySearchType.SEARCH_ENTITY:r)),$resultType:O(e.selectedSimilarityIndex.isTextType()?g+n:A+s.SimilarityResultType.ENTITY_RESULT),$parameters:C(c)};return a.SimilaritySearchType.isSearchEntityPredicateType(r)&&(l.$psiPredicate=e.lastSearch.predicate?O(e.lastSearch.predicate):O(b)),a.SimilaritySearchType.isSearchAnalogicalType(r)&&(e.searchSubject=i,l.$givenSubject=O(e.analogicalSubject),l.$givenObject=O(e.analogicalObject),l.$searchSubject=O(i)),l},j=(t,i)=>{e.lastSearch=new y.SimilaritySearch,e.lastSearch.type=t,a.SimilaritySearchType.isSearchEntityPredicateType(t)&&(e.lastSearch.predicate=i),e.lastSearch.termOrSubject=B(e.lastSearch.type,i,e.psiSubject)},P=t=>{let i;return i=a.SimilaritySearchType.isSearchAnalogicalType(t)?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type],i},B=(e,t,i)=>{let r=t;return r=a.SimilaritySearchType.isSearchEntityPredicateType(e)?i:a.SimilaritySearchType.isSearchTermType(e)?C(r):O(r),r},M=t=>{e.yasguiConfig={showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,componentId:"similarity-list-component",maxPersistentResponseSize:0,render:o.RenderingMode.YASR,sparqlResponse:t.data}}}angular.module("graphdb.framework.similarity.controllers.list",[]).controller("SimilarityCtrl",u),u.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$location","ModalService","$uibModal","SimilarityRestService","AutocompleteRestService","productInfo","RDF4JRepositoriesRestService","$translate","SparqlRestService"]},64:function(e,t,i){"use strict";i.r(t),i.d(t,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},71:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},72:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},75:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndex",(function(){return s}));var r=i(71),a=i(72);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},83:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilaritySearchType",(function(){return r}));const r={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>r.SEARCH_TERM===e,isSearchAnalogicalType:e=>r.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>r.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>r.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>r.SEARCH_DOCUMENT===e}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[22,44,53,76,192,212,213,215,216],{106:function(e,t,i){"use strict";i.r(t),i.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var r=i(75);const a=e=>e.map(e=>{const t=new r.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},136:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityResultType",(function(){return r}));const r={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>r.DOCUMENT_RESULT===e,isResultTermType:e=>r.TERM_RESULT===e}},137:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilaritySearch",(function(){return a}));var r=i(83);class a{constructor(){this.type=r.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return r.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return r.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return r.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return r.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return r.SimilaritySearchType.isSearchDocumentType(this.type)}}},234:function(e,t,i){"use strict";i.r(t);var r=i(0),a=i(83),s=i(136),n=i(72),c=i(71),l=i(106),y=i(137),o=i(64);function u(e,t,i,u,p,S,d,T,m,h,I,E,R,x){const g="http://www.ontotext.com/graphdb/similarity/",A="http://www.ontotext.com/graphdb/similarity/psi/",b=A+"any";e.pluginName="similarity",e.pluginIsActive=!0,e.isLoading=!1,e.selectedSimilarityIndex=void 0,e.similarityIndexStatus=n.SimilarityIndexStatus,e.similarityIndexType=c.SimilarityIndexType,e.similaritySearchType=a.SimilaritySearchType,e.searchType=a.SimilaritySearchType.SEARCH_TERM,e.similarityResultType=s.SimilarityResultType,e.resultType=s.SimilarityResultType.TERM_RESULT,e.info=I,e.isGraphDBRepository=void 0,e.canEditRepo=e.canWriteActiveRepo(),e.loadSimilarityIndexesTimer=void 0,e.loadSimilarityIndexes=()=>{e.isGraphDBRepository&&e.pluginIsActive&&m.getIndexes().success(t=>e.similarityIndexes=Object(l.mapIndexesResponseToSimilarityIndex)(t)).error(e=>i.error(getError(e),R.instant("similarity.could.not.get.indexes.error")))},e.reloadSimilarityIndexes=()=>{e.loadSimilarityIndexes(),e.loadSimilarityIndexesTimer||(e.loadSimilarityIndexesTimer=t((function(){e.$broadcast("checkIsActive"),"false"!==$("#indexes-table").attr("aria-expanded")&&e.loadSimilarityIndexes()}),5e3))},e.goToSimilarityIndex=t=>{(t.isBuiltStatus()||t.isOutdatedStatus()||t.isRebuildingStatus())&&(e.empty=!0,e.selectedSimilarityIndex!==t&&(e.lastSearch=void 0,e.selectedSimilarityIndex=t),t.isTextType()?e.searchType=a.SimilaritySearchType.SEARCH_TERM:t.isPredicationType()&&(e.searchType=a.SimilaritySearchType.SEARCH_ENTITY),(t.isTextType()||t.isPredicationType())&&$("#indexes-table").collapse("hide"))},e.performSearch=(t,r,a,s,n)=>{e.isLoading=!0,j(a,r);const c=U(t,r,a,s,n);x.getQueryResult(u.getActiveRepository(),c,"application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8").then(e=>M(e)).catch(e=>i.error(getError(e.data),R.instant("similarity.get.resource.error"))).finally(()=>e.isLoading=!1)},e.viewSearchQuery=()=>{let t;t=e.lastSearch.isSearchAnalogicalType()?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type];let i=[],r="";i=t.match(/[a-zA-Z0-9-]+:<http:\/\/www.ontotext.com\/graphdb\/similarity\/instance\/>/),r=null==i?"similarity-index":i[0].substring(0,i[0].indexOf(":"));const s=t.replace("?index",r+":"+e.selectedSimilarityIndex.name).replace("?query",e.lastSearch.termOrSubject).replace("?searchType",(e.selectedSimilarityIndex.isTextType()?":":"psi:")+(e.lastSearch.isSearchEntityPredicateType()?a.SimilaritySearchType.SEARCH_ENTITY:e.lastSearch.type)).replace("?resultType",e.selectedSimilarityIndex.isTextType()?":"+e.resultType:"psi:entityResult").replace("?parameters",C(e.searchParameters?e.searchParameters:"")).replace("?psiPredicate",e.lastSearch.predicate?O(e.lastSearch.predicate):O(b)).replace("?givenSubject",O(e.analogicalSubject)).replace("?givenObject",O(e.analogicalObject)).replace("?searchSubject",O(e.searchSubject));T.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:()=>s}})},e.deleteSimilarityIndex=t=>{d.openSimpleModal({title:R.instant("common.confirm"),message:R.instant("similarity.delete.index.warning",{name:t.name}),warning:!0}).result.then((function(){m.deleteIndex(t).then(()=>e.loadSimilarityIndexes()).catch(e=>i.error(getError(e)))}))},e.viewCreateQuery=e=>{m.getQuery({indexName:e.name,indexOptions:e.options,query:e.selectQuery,indexStopList:e.stopList,queryInference:e.infer,querySameAs:e.sameAs,viewType:e.type,indexAnalyzer:e.analyzer}).success(e=>{T.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:()=>e}})})},e.rebuildIndex=t=>{t.searchQuery||(t.searchQuery=t.type?e.searchQueries[t.type]:e.searchQueries.text),d.openSimpleModal({title:R.instant("common.confirm"),message:Object(r.decodeHTML)(R.instant("similarity.rebuild.index.warning",{name:t.name})),warning:!0}).result.then(()=>{t.status=n.SimilarityIndexStatus.REBUILDING,m.rebuildIndex(t).catch(e=>i.error(getError(e)))})},e.setPluginIsActive=t=>{e.pluginIsActive=t},e.encodeURIComponent=e=>encodeURIComponent(e),e.copyToClipboardResult=e=>{d.openCopyToClipboardModal(e)},e.trimIRI=e=>_.trim(e,"<>"),e.updateSearchType=t=>{e.searchType=t},e.updateResultType=t=>{e.resultType=t},e.editSimilarityIndex=e=>{L(e)},e.cloneSimilataryIndex=e=>{L(e,!0)},e.setPsiSubject=t=>{e.psiSubject=t},e.setAnalogicalSubject=t=>{e.analogicalSubject=t},e.setAnalogicalObject=t=>{e.analogicalObject=t};const L=(e,t=!1)=>{const i={selectQuery:e.selectQuery,options:e.options,name:e.name,editSearchQuery:!t,infer:e.infer,sameAs:e.sameAs,stopList:e.stopList,type:e.type,analyzer:e.analyzer,searchQuery:e.searchQuery?e.searchQuery:"",analogicalQuery:e.analogicalQuery?e.analogicalQuery:""};S.path("similarity/index/create").search(i)},Q=()=>{const t=e.getActiveRepository();t&&e.activeRepository!==t&&(e.canEditRepo=e.canWriteActiveRepo(),e.activeRepository=t,e.isGraphDBRepository=w(),e.isGraphDBRepository&&(p.isLicenseValid()&&e.reloadSimilarityIndexes(),v()))},v=()=>{m.getSearchQueries().success(t=>e.searchQueries=t).error(e=>i.error(getError(e),R.instant("similarity.could.not.get.search.queries.error")))},C=e=>'"'+e+'"',O=e=>void 0===e||e.startsWith("<<")&&e.endsWith(">>")?e:"<"+e+">",w=()=>e.getActiveRepository()&&!e.isActiveRepoOntopType()&&!e.isActiveRepoFedXType(),f=[];f.push(e.$on("repositoryIsSet",Q));e.$on("$destroy",()=>{D(),e.loadSimilarityIndexesTimer&&t.cancel(e.loadSimilarityIndexesTimer)});const D=()=>{f.forEach(e=>e())};f.push(e.$on("autocompleteStatus",()=>{p.isLicenseValid()&&(e.getAutocompletePromise=h.checkAutocompleteStatus())}));f.push(e.$watch("searchType",()=>{e.empty=!0}));const N=e.$watch(e.getActiveRepositoryObject,e=>{e&&(Q(),N())}),U=(t,i,r,n,c)=>{const l={query:P(e.lastSearch.type),$index:O("http://www.ontotext.com/graphdb/similarity/instance/"+t.name),$query:e.lastSearch.termOrSubject,$searchType:O((e.selectedSimilarityIndex.isTextType()?g:A)+(a.SimilaritySearchType.isSearchEntityPredicateType(r)?a.SimilaritySearchType.SEARCH_ENTITY:r)),$resultType:O(e.selectedSimilarityIndex.isTextType()?g+n:A+s.SimilarityResultType.ENTITY_RESULT),$parameters:C(c)};return a.SimilaritySearchType.isSearchEntityPredicateType(r)&&(l.$psiPredicate=e.lastSearch.predicate?O(e.lastSearch.predicate):O(b)),a.SimilaritySearchType.isSearchAnalogicalType(r)&&(e.searchSubject=i,l.$givenSubject=O(e.analogicalSubject),l.$givenObject=O(e.analogicalObject),l.$searchSubject=O(i)),l},j=(t,i)=>{e.lastSearch=new y.SimilaritySearch,e.lastSearch.type=t,a.SimilaritySearchType.isSearchEntityPredicateType(t)&&(e.lastSearch.predicate=i),e.lastSearch.termOrSubject=B(e.lastSearch.type,i,e.psiSubject)},P=t=>{let i;return i=a.SimilaritySearchType.isSearchAnalogicalType(t)?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type],i},B=(e,t,i)=>{let r=t;return r=a.SimilaritySearchType.isSearchEntityPredicateType(e)?i:a.SimilaritySearchType.isSearchTermType(e)?C(r):O(r),r},M=t=>{e.yasguiConfig={showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,componentId:"similarity-list-component",maxPersistentResponseSize:0,render:o.RenderingMode.YASR,sparqlResponse:t.data}}}angular.module("graphdb.framework.similarity.controllers.list",[]).controller("SimilarityCtrl",u),u.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$location","ModalService","$uibModal","SimilarityRestService","AutocompleteRestService","productInfo","RDF4JRepositoriesRestService","$translate","SparqlRestService"]},64:function(e,t,i){"use strict";i.r(t),i.d(t,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},71:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},72:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},75:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndex",(function(){return s}));var r=i(71),a=i(72);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},83:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilaritySearchType",(function(){return r}));const r={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>r.SEARCH_TERM===e,isSearchAnalogicalType:e=>r.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>r.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>r.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>r.SEARCH_DOCUMENT===e}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[220],{222:function(n,r,e){"use strict";e.r(r),e.d(r,"CancelAbortingQuery",(function(){return o}));class o extends Error{}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[223],{94:function(n,o,r){"use strict";r.r(o),r.d(o,"VIEW_SPARQL_EDITOR",(function(){return c}));const c="graphdb-workbench-sparql-editor"}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[221],{94:function(n,o,r){"use strict";r.r(o),r.d(o,"VIEW_SPARQL_EDITOR",(function(){return c}));const c="graphdb-workbench-sparql-editor"}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[224],{303:function(s,t,n){"use strict";n.r(t),n.d(t,"MAX_VISIBLE_ERROR_CHARACTERS",(function(){return r})),n.d(t,"SparqlQueryErrorInfo",(function(){return o}));const r=160;class o{constructor(s="",t="",n=""){n&&n.length>r&&(this.shortenErrorMessage=n.substring(0,r)),this.status=s,this.statusText=t,this.responseText=n}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[222],{302:function(s,t,n){"use strict";n.r(t),n.d(t,"MAX_VISIBLE_ERROR_CHARACTERS",(function(){return r})),n.d(t,"SparqlQueryErrorInfo",(function(){return o}));const r=160;class o{constructor(s="",t="",n=""){n&&n.length>r&&(this.shortenErrorMessage=n.substring(0,r)),this.status=s,this.statusText=t,this.responseText=n}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[225],{92:function(s,i,n){"use strict";n.r(i),n.d(i,"TabQueryModel",(function(){return t}));class t{constructor(s,i,n,t=!0){this.queryName=s,this.query=i,this.owner=n,this.isPublic=t}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[223],{92:function(s,i,n){"use strict";n.r(i),n.d(i,"TabQueryModel",(function(){return t}));class t{constructor(s,i,n,t=!0){this.queryName=s,this.query=i,this.owner=n,this.isPublic=t}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[224],{303:function(n,e,o){"use strict";o.r(e),o.d(e,"ThemeModel",(function(){return c}));const c={name:"",label:"",mode:""}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[227],{165:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiComponent",(function(){return o}));var s=n(14);class o{constructor(e=s.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor")){this.yasguiComponent=e}changeRenderMode(e){return this.yasguiComponent.changeRenderMode(e)}setQuery(e){return this.yasguiComponent.setQuery(e)}query(e){return this.yasguiComponent.query(e)}getQuery(){return this.yasguiComponent.getQuery()}isQueryValid(){return this.yasguiComponent.isQueryValid()}openTab(e){return this.yasguiComponent.openTab(e)}getQueryMode(){return this.yasguiComponent.getQueryMode()}getQueryType(){return this.yasguiComponent.getQueryType()}getEmbeddedResultAsJson(){return this.yasguiComponent.getEmbeddedResultAsJson()}getEmbeddedResultAsCSV(){return this.yasguiComponent.getEmbeddedResultAsCSV()}hideYasqeActionButton(e){return this.yasguiComponent.hideYasqeActionButton(e)}showYasqeActionButton(e){return this.yasguiComponent.showYasqeActionButton(e)}abortQuery(){return this.yasguiComponent.abortQuery()}getOngoingRequestsInfo(){return this.yasguiComponent.getOngoingRequestsInfo()}abortAllRequests(){return this.yasguiComponent.abortAllRequests()}resetYasrResults(){return this.yasguiComponent.resetResults()}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[225],{165:function(e,t,n){"use strict";n.r(t),n.d(t,"YasguiComponent",(function(){return o}));var s=n(14);class o{constructor(e=s.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor")){this.yasguiComponent=e}changeRenderMode(e){return this.yasguiComponent.changeRenderMode(e)}setQuery(e){return this.yasguiComponent.setQuery(e)}query(e){return this.yasguiComponent.query(e)}getQuery(){return this.yasguiComponent.getQuery()}isQueryValid(){return this.yasguiComponent.isQueryValid()}openTab(e){return this.yasguiComponent.openTab(e)}getQueryMode(){return this.yasguiComponent.getQueryMode()}getQueryType(){return this.yasguiComponent.getQueryType()}getEmbeddedResultAsJson(){return this.yasguiComponent.getEmbeddedResultAsJson()}getEmbeddedResultAsCSV(){return this.yasguiComponent.getEmbeddedResultAsCSV()}hideYasqeActionButton(e){return this.yasguiComponent.hideYasqeActionButton(e)}showYasqeActionButton(e){return this.yasguiComponent.showYasqeActionButton(e)}abortQuery(){return this.yasguiComponent.abortQuery()}getOngoingRequestsInfo(){return this.yasguiComponent.getOngoingRequestsInfo()}abortAllRequests(){return this.yasguiComponent.abortAllRequests()}resetYasrResults(){return this.yasguiComponent.resetResults()}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[228],{224:function(e,a,s){"use strict";s.r(a);s(7),s(27),s(26),s(32);const n=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();n.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,s,n,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(s.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?n.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):n.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const s=getError(a);n.error(s,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(n.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(n.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){s.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(s.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const s=e.prefix.toUpperCase(),n=a.prefix.toUpperCase();return s<n?-1:s>n?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const s=getError(a);n.error(s),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return s.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(s.getActiveRepository(),t,a).success((function(){e.getNamespaces(),n.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const s=getError(a);n.error(s,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(s.getActiveRepository(),{from:a,to:t,location:s.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const s=getError(a);n.error(s,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,s,n){if(angular.isUndefined(a)&&(a=""),!m(a,s))return"";let t=!1;const c=n.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,s).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,s).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let s=0;s<e.namespaces.length;s++)e.namespaces[s].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(s){a||s.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),n.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[226],{223:function(e,a,s){"use strict";s.r(a);s(7),s(27),s(26),s(32);const n=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();n.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,s,n,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(s.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?n.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):n.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const s=getError(a);n.error(s,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(n.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(n.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){s.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(s.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const s=e.prefix.toUpperCase(),n=a.prefix.toUpperCase();return s<n?-1:s>n?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const s=getError(a);n.error(s),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return s.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(s.getActiveRepository(),t,a).success((function(){e.getNamespaces(),n.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const s=getError(a);n.error(s,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(s.getActiveRepository(),{from:a,to:t,location:s.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const s=getError(a);n.error(s,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,s,n){if(angular.isUndefined(a)&&(a=""),!m(a,s))return"";let t=!1;const c=n.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,s).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,s).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let s=0;s<e.namespaces.length;s++)e.namespaces[s].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(s){a||s.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),n.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[229],{225:function(e,n){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(n){n.$last&&e((function(){n.$parent.loader=!1}),0)}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[227],{224:function(e,n){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(n){n.$last&&e((function(){n.$parent.loader=!1}),0)}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[230],{306:function(e,a){PluginRegistry.add("route",{url:"/namespaces",module:"graphdb.framework.namespaces",chunk:"namespaces",path:"namespaces/app",controller:"NamespacesCtrl",templateUrl:"pages/namespaces.html",title:"menu.namespaces.label",helpInfo:"view.namespaces.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:"Namespaces",labelKey:"menu.namespaces.label",href:"namespaces",order:30,parent:"Setup",guideSelector:"sub-menu-namespaces"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[228],{305:function(e,a){PluginRegistry.add("route",{url:"/namespaces",module:"graphdb.framework.namespaces",chunk:"namespaces",path:"namespaces/app",controller:"NamespacesCtrl",templateUrl:"pages/namespaces.html",title:"menu.namespaces.label",helpInfo:"view.namespaces.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:"Namespaces",labelKey:"menu.namespaces.label",href:"namespaces",order:30,parent:"Setup",guideSelector:"sub-menu-namespaces"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[231],{307:function(r,n){window.PluginRegistry=function(){const r=[],n={};function i(r){return!isNaN(parseFloat(r))&&isFinite(r)&&"string"!=typeof r}function o(r){return void 0!==r}function e(n,e){if(e.disabled)return;let t=r[n];if(o(t)||(t=[],t.extensionPoint=n,r[n]=t),i(e.order)){if(!1===t.ordered)throw new Error("Cannot add an ordered plugin definition to unordered extension point");!function(r){if(!i(r.priority)){if(o(r.priority))throw new Error("Priority is defined but is not a number");r.priority=0}}(e),function(r,n){let i;if(n.forEach((function(n,o){if(r.order===n.order)return i=o,!1})),o(i)){const o=n[i];if(r.priority===o.priority)throw new Error('There is already a plugin with the same order and priority. Extension point "'+n.extensionPoint+'" order "'+r.order+'"');r.priority>o.priority&&(n[i]=r)}else n.push(r);n.sort((function(r,n){return r.order-n.order}))}(e,t),t.ordered=!0}else{if(!0===t.ordered)throw new Error("Cannot add unordered plugin definition to an ordered extension point");t.push(e),t.ordered=!1}}return n.add=function(r,n){Array.isArray(n)?n.forEach((function(n){e(r,n)})):e(r,n)},n.get=function(n){return r[n]},n.findPlugin=function(n,i){return r[n].find(i)},n.clear=function(n){r[n]=[]},n.listModules=function(){return r},n}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[229],{306:function(r,n){window.PluginRegistry=function(){const r=[],n={};function i(r){return!isNaN(parseFloat(r))&&isFinite(r)&&"string"!=typeof r}function o(r){return void 0!==r}function e(n,e){if(e.disabled)return;let t=r[n];if(o(t)||(t=[],t.extensionPoint=n,r[n]=t),i(e.order)){if(!1===t.ordered)throw new Error("Cannot add an ordered plugin definition to unordered extension point");!function(r){if(!i(r.priority)){if(o(r.priority))throw new Error("Priority is defined but is not a number");r.priority=0}}(e),function(r,n){let i;if(n.forEach((function(n,o){if(r.order===n.order)return i=o,!1})),o(i)){const o=n[i];if(r.priority===o.priority)throw new Error('There is already a plugin with the same order and priority. Extension point "'+n.extensionPoint+'" order "'+r.order+'"');r.priority>o.priority&&(n[i]=r)}else n.push(r);n.sort((function(r,n){return r.order-n.order}))}(e,t),t.ordered=!0}else{if(!0===t.ordered)throw new Error("Cannot add unordered plugin definition to an ordered extension point");t.push(e),t.ordered=!1}}return n.add=function(r,n){Array.isArray(n)?n.forEach((function(n){e(r,n)})):e(r,n)},n.get=function(n){return r[n]},n.findPlugin=function(n,i){return r[n].find(i)},n.clear=function(n){r[n]=[]},n.listModules=function(){return r},n}()}}]);