graphdb-workbench 2.6.0-TR7 → 2.6.0

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 (321) hide show
  1. package/dist/0.a3b3bef411c35bdc8be5.bundle.js +25 -0
  2. package/dist/{1.e03c90bd5954ca9b5fa7.bundle.js → 1.aab0f9b3a664ffdd46a3.bundle.js} +1 -1
  3. package/dist/10.2f1b7b3050f428758cd0.bundle.js +1 -0
  4. package/dist/{101.da23dac24536f74b5815.bundle.js → 101.d85136c82944d96009d8.bundle.js} +1 -1
  5. package/dist/{102.0a4aa8fcdaac2461ee45.bundle.js → 102.a57d02f54d23e39ab220.bundle.js} +1 -1
  6. package/dist/{104.42f4d10207d67e051eed.bundle.js → 104.30887712ab9f944ce3b5.bundle.js} +1 -1
  7. package/dist/{106.b5d5730844146ca5a17d.bundle.js → 106.dfa270c46faceb444b3a.bundle.js} +1 -1
  8. package/dist/{108.26b1081facbae1a51535.bundle.js → 108.9d2fca01799579fd246a.bundle.js} +1 -1
  9. package/dist/{109.c309c91a2c68099e26a7.bundle.js → 109.41cc535019ec49b7a449.bundle.js} +1 -1
  10. package/dist/{12.30df13cd275e9db26d08.bundle.js → 11.5146ccccd430bce59f6c.bundle.js} +1 -1
  11. package/dist/{110.0d1d7ebe2eeac8b4faef.bundle.js → 110.087f1045498ced6386ac.bundle.js} +1 -1
  12. package/dist/{111.ebfce66a46414fbc5035.bundle.js → 111.d77e3e60f2db63fcd713.bundle.js} +1 -1
  13. package/dist/{112.ebf0f5e54690989b150d.bundle.js → 112.6b5fac36fea6ec10ccf7.bundle.js} +1 -1
  14. package/dist/{113.69b5499240cb809a0fce.bundle.js → 113.85c3c663f3681b21e49d.bundle.js} +1 -1
  15. package/dist/{114.97c6ff9e6faa36ae4c92.bundle.js → 114.635dc2e74009c95bf91e.bundle.js} +1 -1
  16. package/dist/{116.50238606941983d7984f.bundle.js → 116.511ed0fc7766ce1c5dbe.bundle.js} +1 -1
  17. package/dist/{117.bce63009af74c3e9a47e.bundle.js → 117.ff4f162729afc19137ca.bundle.js} +1 -1
  18. package/dist/{13.a8f91fd9198a469d445a.bundle.js → 12.75466fc44ea53c351a67.bundle.js} +1 -1
  19. package/dist/{14.f2d6ffd1bd5125113712.bundle.js → 13.6e2d206f55eeb2c58b2b.bundle.js} +1 -1
  20. package/dist/{131.e1a244126c43896cd7fe.bundle.js → 131.f41a0b6b9036447b1077.bundle.js} +1 -1
  21. package/dist/{135.e8261504f1da852a376c.bundle.js → 135.e71755f6f0278b2943d0.bundle.js} +1 -1
  22. package/dist/{138.07fa96b665a491f213fc.bundle.js → 138.8885afc315c221adb64b.bundle.js} +1 -1
  23. package/dist/{139.dc143faed80495c85bc3.bundle.js → 139.f02901e6087085176dc7.bundle.js} +1 -1
  24. package/dist/14.77134ed08934f63cbe92.bundle.js +1 -0
  25. package/dist/{140.94d586ec81d9e3063c4f.bundle.js → 140.f0e54b9511ca99865d9d.bundle.js} +1 -1
  26. package/dist/{145.645969658a10c86c9ef2.bundle.js → 145.2ea88cbccd93fc9fa454.bundle.js} +1 -1
  27. package/dist/{146.da06a567fbb2421d8782.bundle.js → 146.e7b99166958dc75f43e7.bundle.js} +1 -1
  28. package/dist/{147.31da28c0c793b6d4b3d9.bundle.js → 147.7abb3c6ae63a13eb61a5.bundle.js} +1 -1
  29. package/dist/{148.6d7b7e06222ad071d0b4.bundle.js → 148.b9aa2392ff5063d92341.bundle.js} +1 -1
  30. package/dist/149.c2b7461cdb7018d8a7ac.bundle.js +1 -0
  31. package/dist/{16.a91d31f0b9b876015299.bundle.js → 15.81ca8fb02469ee14c5e4.bundle.js} +1 -1
  32. package/dist/{150.76212c0fbb3040671059.bundle.js → 150.c1303d8109786b40d21a.bundle.js} +1 -1
  33. package/dist/151.b909ba9cb2419e0f91dd.bundle.js +1 -0
  34. package/dist/{151.6352d1c723f9c08c2285.bundle.js → 152.20fec292fccfef232845.bundle.js} +1 -1
  35. package/dist/{152.0e861d13004eb057e32e.bundle.js → 153.7413dfe6871e27f43788.bundle.js} +1 -1
  36. package/dist/{153.14519f8335c9c7e76492.bundle.js → 154.19d1b00bfc1e419adc42.bundle.js} +1 -1
  37. package/dist/155.dd57193f58cc7d5262b8.bundle.js +1 -0
  38. package/dist/{155.c089ba425702a417c119.bundle.js → 156.258d084f62fa73d45ded.bundle.js} +1 -1
  39. package/dist/{156.d6f702761bee674310b6.bundle.js → 157.60074b591e62c10a77ed.bundle.js} +1 -1
  40. package/dist/{157.aec7b9612e637437b517.bundle.js → 158.742c03d8e739b04df049.bundle.js} +1 -1
  41. package/dist/{158.91fa1ebc27afd697c27f.bundle.js → 159.41a2a6b6b485989a9412.bundle.js} +1 -1
  42. package/dist/16.028d7ea5baf358e315cb.bundle.js +3 -0
  43. package/dist/{159.035a1e31b7a3335ca885.bundle.js → 160.7616cb8b729cfbe229fb.bundle.js} +1 -1
  44. package/dist/{160.772b960ac85fbfa35ee0.bundle.js → 161.cc79ca9a079e616ba9e6.bundle.js} +1 -1
  45. package/dist/{161.7f9a2c46e4ceed3c1a1b.bundle.js → 162.78a734f7eb6bd4583f17.bundle.js} +1 -1
  46. package/dist/{162.b4177896a68c72669b9f.bundle.js → 163.5dbf48d936a3c831c9b5.bundle.js} +1 -1
  47. package/dist/{163.f0099072da8e2298b60c.bundle.js → 164.d3220f317e31f573b335.bundle.js} +1 -1
  48. package/dist/{164.746d5d3920914c734dad.bundle.js → 165.4b88e7b3b3a273cb4ed1.bundle.js} +1 -1
  49. package/dist/{165.27a6180d0f3d34f041ed.bundle.js → 166.92928a8fa8ec48d00349.bundle.js} +1 -1
  50. package/dist/{166.35757cd50c9290af0afc.bundle.js → 167.b38a507dbcfd6329cf8c.bundle.js} +1 -1
  51. package/dist/168.c52d0bbbd4224ddadd7c.bundle.js +1 -0
  52. package/dist/169.f6823be6839682f8586c.bundle.js +1 -0
  53. package/dist/17.31f5971e39936437eda8.bundle.js +1 -0
  54. package/dist/{169.600d8d824c825290434c.bundle.js → 170.8baf5e20de2271caf978.bundle.js} +1 -1
  55. package/dist/{170.4e527165141131f3fab5.bundle.js → 171.a46d6b00949dbdbbc38e.bundle.js} +1 -1
  56. package/dist/{171.dddfca13266402e1f383.bundle.js → 172.9b5d17e5c772c53243e9.bundle.js} +1 -1
  57. package/dist/{172.d614a13d7ddf1f24b035.bundle.js → 173.d3bbff40e6f45969410d.bundle.js} +1 -1
  58. package/dist/{173.17b872eb64767f4f0546.bundle.js → 174.6d17f7732045b6f182a0.bundle.js} +1 -1
  59. package/dist/{174.bc53719a59976016e31e.bundle.js → 175.7bc87231bd4677800c77.bundle.js} +1 -1
  60. package/dist/{175.3b63253263f318574534.bundle.js → 176.f7a1a4fdd12ad86f3d08.bundle.js} +1 -1
  61. package/dist/{176.3af968314539e2a18e7f.bundle.js → 177.1023531c905d87b8a4ac.bundle.js} +1 -1
  62. package/dist/{177.4b17d0269a1519575339.bundle.js → 178.cb8324bb00103fb26cfb.bundle.js} +1 -1
  63. package/dist/{178.64d599a0c6df637717b4.bundle.js → 179.e4bea06f7e407436dce7.bundle.js} +1 -1
  64. package/dist/{19.ecd29d95e3cb58e1be47.bundle.js → 18.a18e024d172531f968fa.bundle.js} +1 -1
  65. package/dist/{179.747740f92b7702dcc48e.bundle.js → 180.bd3f5149f861a2586ffb.bundle.js} +1 -1
  66. package/dist/181.393af0e6c19d537f775b.bundle.js +1 -0
  67. package/dist/182.9b7c235aa984ad81ab02.bundle.js +1 -0
  68. package/dist/{182.041784b0022a77256855.bundle.js → 183.2f7def34c47fd1bc38b3.bundle.js} +1 -1
  69. package/dist/{183.f5c5d51fb22c498fa505.bundle.js → 184.a71cd41118f14e2c123f.bundle.js} +1 -1
  70. package/dist/{184.e3f45487fb25f163475a.bundle.js → 185.31a5c2ddc3afdffdc9e5.bundle.js} +1 -1
  71. package/dist/{185.4b8b11cf31d7fb573d19.bundle.js → 186.daffd5d0823f56ba3c54.bundle.js} +1 -1
  72. package/dist/{186.f75fd6491a001c966970.bundle.js → 187.4b22405c17194851a1e1.bundle.js} +1 -1
  73. package/dist/{187.9986962b8a5b139e970d.bundle.js → 188.bce7651d7bd1e88d7689.bundle.js} +1 -1
  74. package/dist/189.4456ac2b4559c9c4e808.bundle.js +1 -0
  75. package/dist/19.ec4fc8946a6edb7dc7c9.bundle.js +1 -0
  76. package/dist/{189.8e5e3adedd441defe4c4.bundle.js → 190.d758ca3d4a14b7273bab.bundle.js} +1 -1
  77. package/dist/{190.66e3bdaa04b4decf2ba3.bundle.js → 191.8c31e698a482ba52ca82.bundle.js} +1 -1
  78. package/dist/{191.9ef6c0f16573bdd9518d.bundle.js → 192.944cc89f4d31c0fd8f79.bundle.js} +1 -1
  79. package/dist/{192.9ad3f67bf0b4fb24ddcf.bundle.js → 193.fad67143e7b911118459.bundle.js} +1 -1
  80. package/dist/194.a4f892be39e071e2552a.bundle.js +1 -0
  81. package/dist/{194.901bc655cc4dcf5b8828.bundle.js → 195.7f8774fd8da98c5897a1.bundle.js} +1 -1
  82. package/dist/{195.83c158392cc91057790a.bundle.js → 196.3ab76ea57aaa91d34511.bundle.js} +1 -1
  83. package/dist/{196.6d5d8cd75bca1a0b3dc7.bundle.js → 197.9bbab0d7f35c2b58914f.bundle.js} +1 -1
  84. package/dist/{197.8ca96ca487a40fa840d8.bundle.js → 198.813986f24f2f7887e738.bundle.js} +1 -1
  85. package/dist/{198.55aaef214f973f2fd765.bundle.js → 199.246f0549d7bdf7c18215.bundle.js} +1 -1
  86. package/dist/2.907f954e4f9e0697612c.bundle.js +1 -0
  87. package/dist/{21.d5df29d93e8f06b119cd.bundle.js → 20.b6d679aabf452ffe8369.bundle.js} +1 -1
  88. package/dist/{199.78325ea1b608d918bace.bundle.js → 200.20f4846b9ed97b60def3.bundle.js} +1 -1
  89. package/dist/{200.3dd11bd82a04bd69210c.bundle.js → 201.768937613e43caedd9fc.bundle.js} +1 -1
  90. package/dist/{201.52d4c7b0be7a81409dea.bundle.js → 202.0d38d4ec1e39e8ca91b7.bundle.js} +1 -1
  91. package/dist/{202.68366d4b80b30a01bb64.bundle.js → 203.a78dd70f65b08ecb58d2.bundle.js} +1 -1
  92. package/dist/{203.32b1161ee403ee6a7a87.bundle.js → 204.e1f61ba757fbc813e6d4.bundle.js} +1 -1
  93. package/dist/{204.e6532d83950ed0d90858.bundle.js → 205.cc2c5786dff7bf31b08c.bundle.js} +1 -1
  94. package/dist/{205.32d53c454812ece54ad3.bundle.js → 206.dadf18fb31b0533b1696.bundle.js} +1 -1
  95. package/dist/{206.b7693b489aab517013c0.bundle.js → 207.44dbc18bb4c8fa07cc66.bundle.js} +1 -1
  96. package/dist/{207.90cd07e725f11e2955a9.bundle.js → 208.dda72c8e3795ba716704.bundle.js} +1 -1
  97. package/dist/{208.c859bf3d849bb6a23309.bundle.js → 209.7f8b6e8e2869b51c554c.bundle.js} +1 -1
  98. package/dist/{22.558319f1b7a334b4c6f7.bundle.js → 21.6fc8ebce5e63eedb5f9e.bundle.js} +1 -1
  99. package/dist/{209.71ae9f27360cea1fea35.bundle.js → 210.6d601b172d76d9bc2c98.bundle.js} +1 -1
  100. package/dist/{210.ac3c6377ae376bb1af4b.bundle.js → 211.ad09e493e9be031887e9.bundle.js} +1 -1
  101. package/dist/{211.0ec643f55b948a8f9f48.bundle.js → 212.364965f963bcd6331e6f.bundle.js} +1 -1
  102. package/dist/{212.a4b953e7f5eb25d75fe7.bundle.js → 213.6c5b540986e7b24a338a.bundle.js} +1 -1
  103. package/dist/{213.a4bb72951f7027af40e7.bundle.js → 214.3c333d59839d2bcd183e.bundle.js} +1 -1
  104. package/dist/{215.2715de57bc29ae12760a.bundle.js → 215.a95cf561d38004eff071.bundle.js} +1 -1
  105. package/dist/{216.481eecbf6ba93bcaf9cd.bundle.js → 216.acdd4ee62af663ab18a1.bundle.js} +1 -1
  106. package/dist/{218.060db62650e72ac409e6.bundle.js → 218.66399da8a64421df67c1.bundle.js} +1 -1
  107. package/dist/{219.da0d3aa938ac7abd5fc4.bundle.js → 219.05c3d5e61c9bb4752e5f.bundle.js} +1 -1
  108. package/dist/22.8ee5985085ab2c4b99f1.bundle.js +2 -0
  109. package/dist/{220.975a8d3d5bb4c9f98f03.bundle.js → 220.069190d187dfc576daed.bundle.js} +1 -1
  110. package/dist/{221.db6ab18cac0e062988f2.bundle.js → 221.3553362f556124c787a8.bundle.js} +1 -1
  111. package/dist/{223.8518540ce17b71ee7d00.bundle.js → 223.37d133ce14e20b0efe2d.bundle.js} +1 -1
  112. package/dist/{23.a73e0d554b13e8be6192.bundle.js → 23.91ef26cbbdeac17b5756.bundle.js} +1 -1
  113. package/dist/{232.a82bb60245703594146d.bundle.js → 232.ddae678620e7c15b8ec4.bundle.js} +1 -1
  114. package/dist/{233.04f3ef286087750260da.bundle.js → 233.007908cb7a913f1554ed.bundle.js} +1 -1
  115. package/dist/{235.da3fa81ece977040e9ae.bundle.js → 235.97d46a9b6277079ae6cc.bundle.js} +1 -1
  116. package/dist/{24.fb8fb91e17bebea57530.bundle.js → 24.498f1aefa71ceb33d2f8.bundle.js} +1 -1
  117. package/dist/242.91371576625ebddd82e9.bundle.js +1 -0
  118. package/dist/243.36fbc0c96d0a35048949.bundle.js +1 -0
  119. package/dist/{244.d46b9193359e7de1daa3.bundle.js → 244.526affae61c05ae944d3.bundle.js} +1 -1
  120. package/dist/{245.1ce3b6cc293a8c72b187.bundle.js → 245.feedc08d977143faa08e.bundle.js} +1 -1
  121. package/dist/{246.0cb817418790a596b441.bundle.js → 246.136fac3b1ce27662490d.bundle.js} +1 -1
  122. package/dist/{25.05618f7474a6e6d47ff2.bundle.js → 25.f5a19d06088f0938fc9f.bundle.js} +1 -1
  123. package/dist/257.943f597bddc0d65103c5.bundle.js +1 -0
  124. package/dist/259.2c88332b7f1b47935a47.bundle.js +1 -1
  125. package/dist/26.85a305c95834a8a1a05a.bundle.js +1 -0
  126. package/dist/260.d745422c537bdd9647bb.bundle.js +1 -1
  127. package/dist/261.7efff7f93f61f061f5ca.bundle.js +1 -1
  128. package/dist/{270.ac5c5d3247ad275e7009.bundle.js → 269.601d4fc4300f4553d75c.bundle.js} +1 -1
  129. package/dist/27.92bfb161b420732902a3.bundle.js +1 -0
  130. package/dist/{271.9a3928b874295c3742c9.bundle.js → 270.e9d338a5cf954fbc1f4c.bundle.js} +1 -1
  131. package/dist/{272.1a054f1ad3341ea6a8bf.bundle.js → 271.a88eeff63bbc87791af0.bundle.js} +1 -1
  132. package/dist/{273.a76e42437fb947cf800e.bundle.js → 272.ddacc590a66bdb0fa651.bundle.js} +1 -1
  133. package/dist/{274.5c68c6d7373825aa4e86.bundle.js → 273.d45db281162abbe864ae.bundle.js} +1 -1
  134. package/dist/{275.e2dcae6396e8a69cfda6.bundle.js → 274.eca3da80ab4f0b4a3263.bundle.js} +1 -1
  135. package/dist/{276.7f9b39624632a68a5285.bundle.js → 275.509ea766eda3bbcf1562.bundle.js} +1 -1
  136. package/dist/{277.bfe0617252621ed4c42e.bundle.js → 276.f816f19aaa4522373a5f.bundle.js} +1 -1
  137. package/dist/{278.93d21415de115ff1f4ea.bundle.js → 277.6c6b5259fa26936adf41.bundle.js} +1 -1
  138. package/dist/{279.eae641def34a167d2281.bundle.js → 278.bfc453e4fdb94806e6fc.bundle.js} +1 -1
  139. package/dist/{280.1df4667ec8bdeb6dfaea.bundle.js → 279.855b2c767116d91fdc3b.bundle.js} +1 -1
  140. package/dist/28.2e0277168c8f14f9c085.bundle.js +1 -0
  141. package/dist/{281.53c031371f2bb364c04d.bundle.js → 280.95394d461866b83c32b7.bundle.js} +1 -1
  142. package/dist/{282.fe20f54cb2cbcce66407.bundle.js → 281.fcaf9deb44f93c85ef68.bundle.js} +1 -1
  143. package/dist/{283.207dc2ee5d4f42eb8843.bundle.js → 282.bede8a18d3e678b7895d.bundle.js} +1 -1
  144. package/dist/{284.3f82d52f39f429a80a3d.bundle.js → 283.bf3ea5f6f6b8406e5401.bundle.js} +1 -1
  145. package/dist/{285.001918dbfd9d06b076f5.bundle.js → 284.3f34606cfbcefb0a1a47.bundle.js} +1 -1
  146. package/dist/{286.a942f86c8f772d2c5a97.bundle.js → 285.4e95ca9e283ddd26fcbf.bundle.js} +1 -1
  147. package/dist/{287.494a03de1929e1d105ab.bundle.js → 286.8c8f50e9844881f0b028.bundle.js} +1 -1
  148. package/dist/{288.b2b166b7f54396a82703.bundle.js → 287.23b580771ee0d5e65d41.bundle.js} +1 -1
  149. package/dist/288.6cef162ec3cec3cde603.bundle.js +1 -0
  150. package/dist/{290.8f09c520973805dc0b75.bundle.js → 289.c47fa5cd7d5468dce45f.bundle.js} +1 -1
  151. package/dist/29.128101fabb544e88e448.bundle.js +1 -0
  152. package/dist/{291.f74df165a765971f45f8.bundle.js → 290.b9baf8eed99b4447f086.bundle.js} +1 -1
  153. package/dist/{292.c98a310d9505c88dbb03.bundle.js → 291.1e7bf6b667f7698ac645.bundle.js} +1 -1
  154. package/dist/{293.5927b1ccc8652a69f9f6.bundle.js → 292.44bcf6642bd3fac703b4.bundle.js} +1 -1
  155. package/dist/{294.fa4adea2ba4209ed2948.bundle.js → 293.184eb39d3229ef066269.bundle.js} +1 -1
  156. package/dist/{295.101fa72149ab787e61be.bundle.js → 294.338c276decc123976f73.bundle.js} +1 -1
  157. package/dist/{296.f771364da8206ec2bf47.bundle.js → 295.72eea8b2cf594acd85e6.bundle.js} +1 -1
  158. package/dist/{297.3860f145d5e36bd73827.bundle.js → 296.8f11a500bce671ed75db.bundle.js} +1 -1
  159. package/dist/{298.008ebf3a3821b3d63665.bundle.js → 297.71b96380e1103cd792d9.bundle.js} +1 -1
  160. package/dist/{299.ed41fda2bf4ed838a124.bundle.js → 298.39626a266f47903126bf.bundle.js} +1 -1
  161. package/dist/299.d3636e77b768f4300e8c.bundle.js +1 -0
  162. package/dist/3.e877f5e49ef930b8b905.bundle.js +1 -0
  163. package/dist/{30.b0601d9b2eb0378f357b.bundle.js → 30.1ffda412dea3c5f55c24.bundle.js} +1 -1
  164. package/dist/300.c9844b95b03ac7295e4f.bundle.js +1 -0
  165. package/dist/{302.10346bda237ba9c799b7.bundle.js → 301.e9495589c306b342c312.bundle.js} +1 -1
  166. package/dist/{303.859738ec0caf12df13cf.bundle.js → 302.d16e044e23278bf1e922.bundle.js} +1 -1
  167. package/dist/{304.cc77ddd04449a3441850.bundle.js → 303.4ab6b30437bce5474d30.bundle.js} +1 -1
  168. package/dist/{305.c75df156c0f68e0459c2.bundle.js → 304.e055e669c9bad5898984.bundle.js} +1 -1
  169. package/dist/{31.00357926a3dd506cfed4.bundle.js → 31.2c95be2edb9c756e0f13.bundle.js} +1 -1
  170. package/dist/{32.2dff690bb00caa029abd.bundle.js → 32.08cc7807b71cf869e6e2.bundle.js} +1 -1
  171. package/dist/{33.37ed81796994b7ed62c4.bundle.js → 33.601eab9a8c9d80755599.bundle.js} +1 -1
  172. package/dist/{34.abf8789b45b8ea96ff18.bundle.js → 34.b03038da5530dcb82c85.bundle.js} +1 -1
  173. package/dist/{35.e25cce53f1c1db91b953.bundle.js → 35.d337b2f1aeac7bab3100.bundle.js} +2 -2
  174. package/dist/{36.2c564976b0b096602ab8.bundle.js → 36.780bcf12c8d8b5742eac.bundle.js} +1 -1
  175. package/dist/{37.675f0007659d6dccbfb7.bundle.js → 37.2204724b4ae08556283e.bundle.js} +1 -1
  176. package/dist/{38.f34422a7ebc7fbd1a3d9.bundle.js → 38.0edff4c7b76c9652f664.bundle.js} +1 -1
  177. package/dist/{39.013faadc982d2e0d9336.bundle.js → 39.f691f87a4527e58da4a2.bundle.js} +1 -1
  178. package/dist/{4.3ae49ec335f1df4b4021.bundle.js → 4.fe432ceb2b88c03018b3.bundle.js} +1 -1
  179. package/dist/40.53352fda81f370182e99.bundle.js +1 -0
  180. package/dist/{41.69bf4dc04f2a78673ece.bundle.js → 41.5a0ecbdf78c48ddce365.bundle.js} +1 -1
  181. package/dist/{42.cff7a32967655ea47a5d.bundle.js → 42.6a677110f335d516813b.bundle.js} +1 -1
  182. package/dist/{43.9d5fccb177630687a006.bundle.js → 43.bcf30fa642d63c585962.bundle.js} +1 -1
  183. package/dist/{44.4557be8e879e9d9424d6.bundle.js → 44.f3060f0a04c90bc70a36.bundle.js} +1 -1
  184. package/dist/{45.ee8f8aae55544a60ac71.bundle.js → 45.001b1bcbff1d7c9b3288.bundle.js} +1 -1
  185. package/dist/{46.65eadbfe8c59dc269d41.bundle.js → 46.7682ca54e79000d992ab.bundle.js} +1 -1
  186. package/dist/{47.f9a994c85d53f6b9eb98.bundle.js → 47.7e030d52af57062c6527.bundle.js} +1 -1
  187. package/dist/{48.736ef0fb5be450f7f88f.bundle.js → 48.669aedf81599ca0aee35.bundle.js} +1 -1
  188. package/dist/{49.f7cdf694fb74c8356472.bundle.js → 49.319507fd2417a71a157e.bundle.js} +1 -1
  189. package/dist/{5.dd3cfaf9a2a1592206f5.bundle.js → 5.f58f4e96c07a6a7a0e06.bundle.js} +1 -1
  190. package/dist/{50.6f8fd26290d2e6983c3d.bundle.js → 50.91efd0f7c94e635eb31b.bundle.js} +1 -1
  191. package/dist/51.9696bc200e07cfc15860.bundle.js +1 -0
  192. package/dist/{52.0c98d51c1112e976cf19.bundle.js → 52.37332ab2c0675e0a802c.bundle.js} +1 -1
  193. package/dist/{53.4b5fe6ce05e0c783fe29.bundle.js → 53.967c8f3d2a9f33fcfc27.bundle.js} +1 -1
  194. package/dist/{54.aa3428ee30dd14e05d9f.bundle.js → 54.07a064723a033340c51b.bundle.js} +1 -1
  195. package/dist/{55.efa5ad31d67af2c744b2.bundle.js → 55.1f556c49966d089af28e.bundle.js} +1 -1
  196. package/dist/{56.ac94dd0ea4db2a581c35.bundle.js → 56.0bfd1ac12b2c5f9116e5.bundle.js} +1 -1
  197. package/dist/{57.9233b17159cc3c6945ef.bundle.js → 57.19a0ece12b6fb894221d.bundle.js} +1 -1
  198. package/dist/{58.8806cb9a47b2fc28bdfc.bundle.js → 58.b741d32027a50f883617.bundle.js} +1 -1
  199. package/dist/{60.461c92385bbfc8190b68.bundle.js → 59.01fd6bb0dea0e31b8c98.bundle.js} +1 -1
  200. package/dist/{6.9557b6506bf958c26a2a.bundle.js → 6.0685b09a3646005a1521.bundle.js} +1 -1
  201. package/dist/60.dd84d15683316fe6c548.bundle.js +1 -0
  202. package/dist/61.2fdefec6b0e4f2f01dc9.bundle.js +1 -0
  203. package/dist/{62.41d2c2ef3b10e249cc3d.bundle.js → 62.3cda5cf1c8a74f8bccc6.bundle.js} +1 -1
  204. package/dist/{63.79ceab2871c4bf87e565.bundle.js → 63.dbce2c16115eac52fed2.bundle.js} +1 -1
  205. package/dist/{64.e25269fafd7b80074f79.bundle.js → 64.0b46f2876921c15c0f4d.bundle.js} +1 -1
  206. package/dist/{65.274e72f7a969f86decfd.bundle.js → 65.4c044f55fb8e826c87a0.bundle.js} +1 -1
  207. package/dist/{66.67b3d47091fe6530aa39.bundle.js → 66.c8b9472b02654a17b61c.bundle.js} +1 -1
  208. package/dist/{67.e0f4b94ebc82fee55aca.bundle.js → 67.958136cd17ad37887b60.bundle.js} +1 -1
  209. package/dist/{68.1c621dfd5257b2c18e11.bundle.js → 68.b4bf34276a3cab5e48bf.bundle.js} +1 -1
  210. package/dist/{69.1276f759153f8028a437.bundle.js → 69.68337b9a2e3104600ff6.bundle.js} +1 -1
  211. package/dist/{7.215fb90676ad005678a5.bundle.js → 7.15f6406e6baaef520b7f.bundle.js} +1 -1
  212. package/dist/{70.4d4e64191987cf37cdfa.bundle.js → 70.e04eced6ee3b7d712377.bundle.js} +1 -1
  213. package/dist/{71.ba412850727546ca9e65.bundle.js → 71.0fbdedcc573e4e38ff6a.bundle.js} +1 -1
  214. package/dist/{72.38694f9e5cf82efcec93.bundle.js → 72.e71caf5330e0c1cece04.bundle.js} +1 -1
  215. package/dist/{73.6a1697ff88885fd26dc9.bundle.js → 73.298162fe9ad207efe8a5.bundle.js} +1 -1
  216. package/dist/{74.6fde68e288d8e4277ed6.bundle.js → 74.b57c202b34d9d8effbcb.bundle.js} +1 -1
  217. package/dist/{75.497bd1a7aea851d96296.bundle.js → 75.8be72a221b92aa667da7.bundle.js} +1 -1
  218. package/dist/{76.5e2b21f991515d0d19bf.bundle.js → 76.0f45a150d03cf8aeeb9d.bundle.js} +1 -1
  219. package/dist/{77.90e14a1db3003d600a7f.bundle.js → 77.257e393d86a8fb9f2102.bundle.js} +1 -1
  220. package/dist/{78.4bbce98263e92664ab76.bundle.js → 78.83432ef1cff39b57aa50.bundle.js} +1 -1
  221. package/dist/{79.57f1baf03c17fa5d4ecf.bundle.js → 79.74e2421bfb8f6c563a99.bundle.js} +1 -1
  222. package/dist/{8.31311bef7b4e3d07b172.bundle.js → 8.df1e59fdf8864051f4b0.bundle.js} +2 -2
  223. package/dist/{80.73b9a4e922936baa0574.bundle.js → 80.53a2f5637376be338bb5.bundle.js} +1 -1
  224. package/dist/{81.22b0aca7b4f9137a0882.bundle.js → 81.a48e2d16edd121965d2f.bundle.js} +1 -1
  225. package/dist/{82.4e90f4fa2c1642a82980.bundle.js → 82.bde6d42f833167581069.bundle.js} +1 -1
  226. package/dist/{83.3dbe889b4ba264a9d674.bundle.js → 83.4bb7fb45433f0902ba64.bundle.js} +1 -1
  227. package/dist/{84.833096ee7ee9d0b926e2.bundle.js → 84.3fe74c343dd811256a58.bundle.js} +1 -1
  228. package/dist/85.e34e2854ea217304bf69.bundle.js +1 -0
  229. package/dist/{88.9ee9ff59ae44adabb225.bundle.js → 88.a54c809c84dbef177321.bundle.js} +1 -1
  230. package/dist/9.3890e642c0ae619d2c59.bundle.js +1 -0
  231. package/dist/{90.b6a2d473b83c0962a11f.bundle.js → 90.82bdd586c3a8e362fd99.bundle.js} +1 -1
  232. package/dist/{92.b19c893704dcb4660ede.bundle.js → 92.c68c7391efc7d3b46a0d.bundle.js} +1 -1
  233. package/dist/{93.1d771358d292c85ea6a9.bundle.js → 93.daf27be7933412f1637f.bundle.js} +1 -1
  234. package/dist/{94.29b7382aeb902f46d24a.bundle.js → 94.e7ab23159456b757afa9.bundle.js} +1 -1
  235. package/dist/{96.b8ea5582fc702c107cfd.bundle.js → 96.e01346a08ab153a02364.bundle.js} +1 -1
  236. package/dist/{98.fd14853ecbdcc01894e9.bundle.js → 98.1f20ae086eeefbf60b9f.bundle.js} +1 -1
  237. package/dist/{bundle.e8a8019cba24aec4c600.bundle.js → bundle.782865d765633c869a40.bundle.js} +22 -22
  238. package/dist/css/aclmanagement.css +71 -12
  239. package/dist/css/autocomplete-select.css +2 -1
  240. package/dist/css/bootstrap-graphdb-theme.css +3 -0
  241. package/dist/css/lib/ontotext-yasgui-web-component.css +9 -0
  242. package/dist/i18n/locale-en.json +15 -17
  243. package/dist/i18n/locale-fr.json +15 -17
  244. package/dist/index.html +5 -5
  245. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +5 -4
  246. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  247. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  248. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  249. package/dist/js/angular/import/templates/settingsModal.html +0 -18
  250. package/dist/js/angular/security/templates/user.html +1 -1
  251. package/dist/license-checker.json +28 -28
  252. package/dist/{main.d146b6bf3b36c70d7eb4.css → main.cd9080d130335332d006.css} +1 -1
  253. package/dist/pages/aclmanagement.html +83 -55
  254. package/dist/pages/autocomplete.html +1 -1
  255. package/dist/pages/choose-repository-type.html +1 -1
  256. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  257. package/dist/pages/create-index.html +1 -1
  258. package/dist/pages/dependencies.html +1 -1
  259. package/dist/pages/domainRangeInfo.html +2 -2
  260. package/dist/pages/edit.html +1 -1
  261. package/dist/pages/explore.html +1 -1
  262. package/dist/pages/export.html +2 -20
  263. package/dist/pages/find.html +1 -1
  264. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  265. package/dist/pages/graphs-visualizations.html +7 -7
  266. package/dist/pages/guides.html +1 -1
  267. package/dist/pages/import.html +1 -1
  268. package/dist/pages/jdbc-create.html +1 -1
  269. package/dist/pages/monitor/backup-and-restore.html +1 -1
  270. package/dist/pages/monitor/queries.html +1 -1
  271. package/dist/pages/monitor/resources.html +1 -1
  272. package/dist/pages/namespaces.html +2 -2
  273. package/dist/pages/plugins.html +1 -1
  274. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  275. package/dist/pages/rdfrank.html +2 -2
  276. package/dist/pages/repositories.html +1 -1
  277. package/dist/pages/repository.html +1 -1
  278. package/dist/pages/similarity-indexes.html +1 -1
  279. package/dist/pages/sparql-editor.html +1 -1
  280. package/dist/pages/sparql-template-create.html +1 -1
  281. package/dist/pages/webapi.html +2 -2
  282. package/dist/{polyfills-dom.c264909e933fbc136d2e.bundle.js → polyfills-dom.e5e420bcb04603449d09.bundle.js} +1 -1
  283. package/dist/res/swagger/index.html +27 -27
  284. package/dist/{vendors~polyfills-core-js.4c9bf30520de19c215c1.bundle.js → vendors~polyfills-core-js.efe4b0ec258663b8b247.bundle.js} +1 -1
  285. package/package.json +2 -2
  286. package/dist/0.57d3540baa17edfe5cb2.bundle.js +0 -25
  287. package/dist/10.fcb4c283ed0e3ff77b9d.bundle.js +0 -1
  288. package/dist/11.e99d653419379ecf1b23.bundle.js +0 -1
  289. package/dist/149.e6ef25aca0b2356c2293.bundle.js +0 -1
  290. package/dist/15.b7f9dea17c384ee4f501.bundle.js +0 -1
  291. package/dist/154.a4116ecb8a9036e69532.bundle.js +0 -1
  292. package/dist/167.5c7c94a187107facac9c.bundle.js +0 -1
  293. package/dist/168.3e88b975a713f94e7d39.bundle.js +0 -1
  294. package/dist/17.f3951ee36cae3c2e59e2.bundle.js +0 -3
  295. package/dist/18.ae49723fee4c6316d3a0.bundle.js +0 -1
  296. package/dist/180.93416941c0938f77058c.bundle.js +0 -1
  297. package/dist/181.6ff5034f9a143adaa8a3.bundle.js +0 -1
  298. package/dist/188.a2cfced84824c4dfe8a5.bundle.js +0 -1
  299. package/dist/193.536e27e756a0f3c43b78.bundle.js +0 -1
  300. package/dist/2.3e6f434d5cdba922bb1d.bundle.js +0 -1
  301. package/dist/20.5ca7e302158bd768359d.bundle.js +0 -1
  302. package/dist/214.57cf0895f70c7c940ce5.bundle.js +0 -1
  303. package/dist/242.b5be51c553871ce3d83a.bundle.js +0 -1
  304. package/dist/243.c56f69b8c7dd3a2be144.bundle.js +0 -1
  305. package/dist/257.1e51f84ae10ed1a8a23b.bundle.js +0 -1
  306. package/dist/26.4eeeb7afd51795af82d7.bundle.js +0 -1
  307. package/dist/269.aec62cb6b5fa398be182.bundle.js +0 -1
  308. package/dist/27.e6c49ef111cabef46fd7.bundle.js +0 -1
  309. package/dist/28.9b2e80653eb69e4525ef.bundle.js +0 -1
  310. package/dist/289.7afbd014836c2b589df6.bundle.js +0 -1
  311. package/dist/29.a3413b59c038000244e5.bundle.js +0 -1
  312. package/dist/3.5b3776ce9f03e23885e4.bundle.js +0 -1
  313. package/dist/300.7182234269fde947567e.bundle.js +0 -1
  314. package/dist/301.2ec6cf72222278c83955.bundle.js +0 -1
  315. package/dist/40.cef0c3d8ef5a88d4a6e8.bundle.js +0 -1
  316. package/dist/51.36a5ca508d953a43df6d.bundle.js +0 -1
  317. package/dist/59.eb1a39fa936028cf3d6d.bundle.js +0 -1
  318. package/dist/61.f9061b24728ef92e2702.bundle.js +0 -1
  319. package/dist/85.172aa928154b446a004e.bundle.js +0 -1
  320. package/dist/9.bb8dc22bb967a40f67fe.bundle.js +0 -2
  321. package/dist/js/angular/export/templates/exportSettingsModal.html +0 -57
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{202:function(t,e,n){"use strict";n.r(e);n(7),n(27);const r="UPLOADING",i="PENDING",s="ERROR",a="DONE",o="NONE",l=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.uriutils","graphdb.framework.guides.services"]);l.controller("CommonCtrl",["$scope","$http","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService",function(t,e,n,r,i,o,l,c,u,p,f,m,d){t.files=[],t.fileChecked={},t.checkAll=!1,t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileQuery="",t.getAppData=function(){f.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let n=0;n<e.length;n++)t.appData.properties[e[n].key]={source:e[n].source,value:e[n].value};t.maxUploadFileSizeMB=t.appData.properties["graphdb.workbench.maxUploadSize"].value/1048576})).error((function(t){const e=getError(t);n.error(e,p.instant("common.error"))}))},t.getAppData(),t.fileFormats=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];{const e=_.map(t.fileFormats,(function(t){return"."+t+".gz"})),n=_.map(t.fileFormats,(function(t){return"."+t}));t.fileFormatsExtended=_.reduce(_.union(e,n,[".zip"]),(function(t,e){return t+", "+e})),t.fileFormatsHuman=_.reduce(n,(function(t,e){return t+" "+e}))+p.instant("import.gz.zip"),t.textFileFormatsHuman=_.reduce(_.filter(n,(function(t){return".brf"!==t})),(function(t,e){return t+" "+e}))}t.updateListHttp=function(r){e({method:"GET",url:t.getBaseUrl()}).success((function(e){0===t.files.length||r?(t.files=e,_.forEach(t.files,(function(e){e.type||(e.type=t.defaultType)})),t.rebatch()):t.files.forEach((function(n){const r=_.find(e,_.matches({name:n.name}));n.status&&r&&_.assign(n,r),n.type||(n.type=t.defaultType)})),r&&"user"===t.viewType&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status}))),t.showClearStatuses=_.filter(t.files,(function(t){return t.status===a||t.status===s})).length>0,t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),t.loader=!1})).error((function(e){n.warning(p.instant("import.error.could.not.get.files",{data:getError(e)})),t.loader=!1}))},t.$watch((function(){return $(t.tabId).is(":visible")}),(function(){$(t.tabId).is(":visible")&&(t.updateListHttp(!1),u.hash(t.viewType))})),t.updateList=function(e){t.canWriteActiveRepo()&&$(t.tabId).is(":visible")&&t.updateListHttp(e)},t.init=function(){t.setRestricted(),t.isRestricted||(t.updateList(!0),t.getSettings())},t.$on("repositoryIsSet",t.init),t.pullList=function(){const e=r((function(){t.updating||t.updateList(!1)}),4e3);t.$on("$destroy",(function(){r.cancel(e)}))},t.getVisibleFiles=function(){return l("filter")(t.files,{name:t.fileQuery,type:t.getTypeFilter()})},t.getTypeFilter=function(){return"server"!==t.viewType||"file"!==t.showItems&&"directory"!==t.showItems?"":t.showItems},t.selectAllFiles=function(){t.getVisibleFiles().forEach((function(e){t.fileChecked[e.name]=t.checkAll&&t.importable(e)}))},t.getSettingsFor=function(e,n){return n||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?_.cloneDeep(t.defaultSettings):t.savedSettings[e]},t.setSettingsFor=function(e,n){t.settingsFor=e,t.settings=t.getSettingsFor(e,n);const r={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalCtrl",resolve:{settings:function(){return _.cloneDeep(t.settings)},hasParserSettings:t.isLocalLocation,defaultSettings:function(){return t.defaultSettings},isMultiple:function(){return!e}},size:"lg"};m.isActive()&&(r.backdrop="static",r.keyboard=!1);o.open(r).result.then((function(e){t.settings=e,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)}),(function(e){t.settings=e}))},t.updateImport=function(e,n){t.settingsFor=e,t.settings=t.getSettingsFor(e,n),t.importFile(e,!1)},t.stopImport=function(r){e({method:"DELETE",url:t.getBaseUrl(),params:{name:r.name,type:r.type}}).success((function(){t.updateList()})).error((function(t){n.warning(p.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.importable=function(){return!0},t.hasImportable=function(){return _.filter(t.files,(function(e){return t.importable(e)})).length>0},t.showTable=function(){const e=t.files.length>0&&("user"===t.viewType||"server"===t.viewType);return t.checkAll&&t.switchBatch(!0),e},t.switchBatch=function(e){e?t.selectAllFiles():t.checkAll&&(t.checkAll=!1),t.batch=_.map(_.filter(t.files,(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name").length>0},t.rebatch=function(){const e={};t.batch=!1,_.each(t.files,(function(n){e[n.name]=t.fileChecked[n.name],t.batch|=t.fileChecked[n.name]})),t.batch||(t.checkAll=!1),t.fileChecked=e},t.getSelectedFiles=function(){return _.map(_.filter(t.getVisibleFiles(),(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name")},t.importSelected=function(e){const n=t.getSelectedFiles(),r=function(){const i=n.shift();i&&(e&&(t.settings=t.getSettingsFor(i)),t.importFile(i,!0,r))};r()};const g=function(r,i){e({method:"DELETE",url:t.getBaseUrl()+"/status",params:{remove:i},data:r,headers:{"Content-type":"application/json;charset=utf-8"}}).success((function(){t.updateList(!0)})).error((function(t){n.warning(p.instant("import.error.could.not.clear",{data:getError(t)}))}))};t.resetStatus=function(t){g(t,!1)},t.resetStatusSelected=function(){t.resetStatus(t.getSelectedFiles())},t.removeEntry=function(t=[]){d.openConfirmation(p.instant("common.confirm"),p.instant("import.remove.confirm.msg",{name:t.join(", ")}),()=>{g(t,!0)})},t.removeEntrySelected=function(){t.removeEntry(t.getSelectedFiles())},t.isLocalLocation=function(){const t=i.getActiveLocation();return t&&t.local},t.filterSettings=function(e){let n=_.omitBy(t.savedSettings[e],_.isNull);return n=_.omit(n,["repoLocationHash","status","message","name","data","type","format","fileNames","$$hashKey"]),_.map(_.keys(n),(function(t){return[t,n[t]]}))},t.getSettings=function(){t.canWriteActiveRepo()&&e({method:"GET",url:"rest/repositories/"+i.getActiveRepository()+"/import/settings/default"}).success((function(e){t.defaultSettings=e})).error((function(t){n.warning(p.instant("import.error.default.settings",{data:getError(t)}))}))},t.getBaseUrl=function(){return"rest/repositories/"+i.getActiveRepository()+"/import/"+t.viewUrl},t.pritifySettings=function(t){return JSON.stringify(t,null," ")},t.toTitleCase=function(t){return t?_.upperFirst(t.toLowerCase()):t}}]),l.controller("ImportCtrl",["$scope","$http","toastr","$controller","$translate",function(t,e,n,r,i){t.loader=!0,angular.extend(this,r("CommonCtrl",{$scope:t})),t.viewUrl="server",t.defaultType="server",t.tabId="#import-server",t.showItems="all",t.pullList();const s=function(r,s){t.canWriteActiveRepo()&&e({method:"POST",url:t.getBaseUrl(),data:{importSettings:s?null:t.settings,fileNames:r}}).success((function(){t.updateList(),t.batch=!1,t.fileChecked={}})).error((function(t){n.error(i.instant("import.could.not.send.file",{data:getError(t)}))}))};t.importSelected=function(e){const n=t.getSelectedFiles();s(n,e)},t.importFile=function(t){s([t])},t.init()}]),l.controller("UploadCtrl",["$scope","Upload","$http","toastr","$controller","$uibModal","$translate",function(t,e,n,a,l,c,u){t.loader=!0,angular.extend(this,l("CommonCtrl",{$scope:t})),t.viewUrl="upload",t.defaultType="file",t.tabId="#import-user",t.pullList(),t.currentFiles=[],t.importable=function(){return!0},t.fileSelected=function(t,e,n,r,i){i.length>0&&i.forEach((function(t){a.warning(u.instant("import.large.file",{name:t.name,size:Math.floor(t.size/1048576)}))}))},t.$watchCollection("currentFiles",(function(){t.currentFiles&&t.currentFiles.forEach((function(e){if("bz2"===e.name.substr(e.name.lastIndexOf(".")+1)){const n=t.currentFiles.indexOf(e);n>-1&&t.currentFiles.splice(n,1),a.error(u.instant("import.could.not.upload",{name:e.name}))}})),t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),_.each(t.currentFiles,(function(e){t.updateImport(e.name)}))})),t.importFile=function(o,l,c){const p=_.findIndex(t.files,{name:o});if(p<0)a.warning(u.instant("import.no.such.file",{name:o}));else{const o=t.files[p];if("text"===o.type)t.settings.name=o.name,t.settings.type=o.type,t.settings.data=o.data,t.settings.format=o.format,o.status=i,n({method:"POST",url:t.getBaseUrl()+(l?"":"/update")+"/text",data:t.settings}).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.send.data",{data:getError(t)})),o.status=s,o.message=getError(t)})).finally(c||function(){});else if("url"===o.type)t.settings.name=o.name,t.settings.type=o.type,t.settings.data=o.data,t.settings.format=o.format,o.status=i,n({method:"POST",url:t.getBaseUrl()+(l?"":"/update")+"/url",data:t.settings}).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.send.url",{data:getError(t)}))})).finally(c||function(){});else{let n;t.settings.name=o.name,n=o.file?{file:o.file,importSettings:e.jsonBlob(t.settings)}:{importSettings:e.jsonBlob(t.settings)},e.upload({url:t.getBaseUrl()+(l?"":"/update")+"/file",data:n}).progress((function(t){if(o.file?(o.file=null,o.status=r):o.status!==r&&(o.status=i),o.status===r){const e=parseInt(100*t.loaded/t.total);o.message=e+"% uploaded"}})).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.upload.file",{data:getError(t)})),o.status=s,o.message=getError(t)})).finally(c||function(){})}}},t.updateTextImport=function(e){t.updating=!0,n({method:"POST",url:t.getBaseUrl()+"/update/text",data:e}).success((function(t){})).error((function(t){a.error(u.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},t.pastedDataIdx=1;const p=function(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")};t.pasteData=function(e){e&&e.data;c.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"TextCtrl",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then((function(n){e?(e.data===n.text&&e.format===n.format||e.status===o||(e.status=o,e.message=u.instant("import.text.snippet.not.imported")),e.data=n.text,e.format=n.format,t.updateTextImport(e)):(e={type:"text",name:"Text snippet "+p(),format:n.format,data:n.text},t.files.unshift(e),t.updateImport(e.name)),n.startImport&&t.setSettingsFor(e.name)}))},t.rdfDataFromURL=function(){c.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"UrlCtrl",scope:t}).result.then((function(e){const n=_.find(t.files,{type:"url",name:e.url});n?n.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0),e.startImport&&t.setSettingsFor(e.url,!0)}))},t.init()}]),l.controller("UrlCtrl",["$scope","$uibModalInstance","toastr",function(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}]),l.controller("TextCtrl",["$scope","$uibModalInstance","text","format",function(t,e,n,r){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=n,t.importFormat=_.find(t.importFormats,{type:r}),t.startImport=!0,t.setFormat=function(e){t.importFormat=e},t.cancel=function(){e.dismiss()},t.ok=function(){e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}]),l.controller("TabCtrl",["$scope","$location",function(t,e){t.viewType=e.hash(),"user"!==t.viewType&&"server"!==t.viewType&&(t.viewType="user"),t.isCollapsed=!1,"user"===t.viewType?t.templateUrl="js/angular/import/templates/uploadInfo.html":t.templateUrl="js/angular/import/templates/importInfo.html",t.changeHelpTemplate=function(e){t.templateUrl="js/angular/import/templates/"+e},t.commonUrl="js/angular/import/templates/commonInfo.html"}]),l.controller("SettingsModalCtrl",["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","$translate",function(t,e,n,r,i,s,a,o,l){t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.settings=i,t.hasParserSettings=s,t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data",t.isMultiple=o,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length);const c=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(c(),e.close(t.settings))},t.cancel=function(){c(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(a),t.target="data"},t.addReplaceGraph=function(e){let i=!0;"default"!==e&&(i=r.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",i),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):n.warning(l.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,n){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(n))},t.showAdvancedSettings=!1,t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{112:function(n,s,i){"use strict";i.r(s),i.d(s,"DEFAULT_SPARQL_QUERY",(function(){return t})),i.d(s,"JdbcConfigurationInfo",(function(){return e}));const t="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 e{constructor(n=t,s=!0,i){this.query=n,this.jdbcConfigurationName=i,this.isNewJdbcConfiguration=s,this.isValidQuery=!0,this.isValidQueryType=!0,this.hasUndefinedColumns=!1,this.isColumnsEmpty=!1,this.columns=[]}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{113:function(n,s,i){"use strict";i.r(s),i.d(s,"DEFAULT_SPARQL_QUERY",(function(){return t})),i.d(s,"JdbcConfigurationInfo",(function(){return e}));const t="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 e{constructor(n=t,s=!0,i){this.query=n,this.jdbcConfigurationName=i,this.isNewJdbcConfiguration=s,this.isValidQuery=!0,this.isValidQueryType=!0,this.hasUndefinedColumns=!1,this.isColumnsEmpty=!1,this.columns=[]}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{89:function(e,n,o){"use strict";o.r(n),o.d(n,"JdbcDriverType",(function(){return r}));const r={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{90:function(e,n,o){"use strict";o.r(n),o.d(n,"JdbcDriverType",(function(){return r}));const r={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{115:function(s,t,i){"use strict";i.r(t),i.d(t,"OntopConnectionInformation",(function(){return n}));class n{constructor(s="generic"){this.driverType=s,this.hostName="",this.port=void 0,this.databaseName="",this.username="",this.password="",this.driverClass="",this.url="",this.urlUserInput=""}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{116:function(s,t,i){"use strict";i.r(t),i.d(t,"OntopConnectionInformation",(function(){return n}));class n{constructor(s="generic"){this.driverType=s,this.hostName="",this.port=void 0,this.databaseName="",this.username="",this.password="",this.driverClass="",this.url="",this.urlUserInput=""}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{117:function(i,n,t){"use strict";t.r(n),t.d(n,"OntopFileInfo",(function(){return s}));class s{constructor(i,n=!1){this.type=i,this.fileName="",this.loading=!1,this.required=n}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{118:function(i,n,t){"use strict";t.r(n),t.d(n,"OntopFileInfo",(function(){return s}));class s{constructor(i,n=!1){this.type=i,this.fileName="",this.loading=!1,this.required=n}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[148],{118:function(e,n,i){"use strict";i.r(n),i.d(n,"OntopFileType",(function(){return o}));const o={OBDA:"obdaFile",OWL:"owlFile",CONSTRAINT:"constraintFile",LENSES:"lensesFile",DB_METADATA:"dbMetadataFile"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[148],{119:function(e,n,i){"use strict";i.r(n),i.d(n,"OntopFileType",(function(){return o}));const o={OBDA:"obdaFile",OWL:"owlFile",CONSTRAINT:"constraintFile",LENSES:"lensesFile",DB_METADATA:"dbMetadataFile"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{120:function(n,o,r){"use strict";r.r(o),r.d(o,"OntopRepositoryError",(function(){return s}));class s extends Error{}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{203:function(e,r,t){"use strict";t.r(r);t(7),t(26),t(40),t(41);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,p){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,p,d){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=p.instant(d)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=p.instant("security.confirm.password")):(r.passwordError=p.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.addCustomRole=function(e){return e.text=e.text.toUpperCase(),e}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,p,d){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=d.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=d.instant("view.create.user.title"),e.passwordPlaceholder=d.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.create.admin"),message:d.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(d.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,d.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=d.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=d.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=d.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,p,d,l,E){angular.extend(this,p("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){d.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?l.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,d.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,p,d,l,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=l.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.saveButtonText=d.instant("common.save.btn"),e.pageTitle=d.instant("view.settings.title"),e.passwordPlaceholder=d.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=l.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.save.admin.settings"),message:d.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(d.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,d.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){l.toggleThemeMode(e.workbenchSettings.mode)},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,l.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();l.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{203:function(e,r,t){"use strict";t.r(r);t(7),t(26),t(40),t(41);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,p){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,p,d){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=p.instant(d)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=p.instant("security.confirm.password")):(r.passwordError=p.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.addCustomRole=function(e){return e.text=e.text.toUpperCase(),e}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,p,d){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=d.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=d.instant("view.create.user.title"),e.passwordPlaceholder=d.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.create.admin"),message:d.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(d.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,d.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=d.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=d.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=d.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,p,d,l,E){angular.extend(this,p("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){d.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?l.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,d.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,p,d,l,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=l.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.saveButtonText=d.instant("common.save.btn"),e.pageTitle=d.instant("view.settings.title"),e.passwordPlaceholder=d.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=l.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.save.admin.settings"),message:d.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(d.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,d.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){l.toggleThemeMode(e.workbenchSettings.mode)},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,l.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();l.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[150],{179:function(e,s,t){"use strict";t.r(s),t.d(s,"BeforeUpdateQueryResult",(function(){return r})),t.d(s,"BeforeUpdateQueryResultStatus",(function(){return u}));class r{constructor(e,s,t,r){this.status=e,this.mesage=r,this.messageLabelKey=s,this.parameters=t}}const u={ERROR:"error",SUCCESS:"success"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[150],{180:function(e,s,t){"use strict";t.r(s),t.d(s,"BeforeUpdateQueryResult",(function(){return r})),t.d(s,"BeforeUpdateQueryResultStatus",(function(){return u}));class r{constructor(e,s,t,r){this.status=e,this.mesage=r,this.messageLabelKey=s,this.parameters=t}}const u={ERROR:"error",SUCCESS:"success"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[151],{88:function(e,s,t){"use strict";t.r(s),t.d(s,"CountQueryAbortedEvent",(function(){return r}));class r{constructor(e){this.TYPE=e.TYPE,this.request=e.payload}getQueryTrackAlias(){if(this.request&&this.request.response)return this.request.response.header["X-GraphDB-Track-Alias"]}getRepository(){if(this.request&&this.request.response){const e=this.request.response.url;return e.substring(e.lastIndexOf("/")+1)}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[151],{83:function(e,t,s){"use strict";s.r(t),s.d(t,"CountQueryRequestEvent",(function(){return a}));class a{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}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[152],{83:function(e,t,s){"use strict";s.r(t),s.d(t,"CountQueryRequestEvent",(function(){return a}));class a{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}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[152],{82:function(s,e,n){"use strict";n.r(e),n.d(e,"CountQueryResponseEvent",(function(){return t}));var o=n(64);class t{constructor(s){this.TYPE=s.TYPE,this.response=s.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(o.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(s){this.response.body.totalElements=s}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[153],{82:function(s,e,n){"use strict";n.r(e),n.d(e,"CountQueryResponseEvent",(function(){return t}));var o=n(63);class t{constructor(s){this.TYPE=s.TYPE,this.response=s.payload.response}hasResponse(){return this.response&&this.response.body}getResponseBody(){if(this.hasResponse())return this.response.body}isResponseNumber(){return!!this.hasResponse()&&Object(o.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(s){this.response.body.totalElements=s}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[153],{84:function(a,s,n){"use strict";n.r(s),n.d(s,"DownloadAsEvent",(function(){return e}));class e{constructor(a){this.TYPE=a.TYPE,this.contentType=a.payload.value,this.pluginName=a.payload.pluginName,this.query=a.payload.query,this.infer=a.payload.infer,this.sameAs=a.payload.sameAs}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[154],{84:function(a,s,n){"use strict";n.r(s),n.d(s,"DownloadAsEvent",(function(){return e}));class e{constructor(a){this.TYPE=a.TYPE,this.contentType=a.payload.value,this.pluginName=a.payload.pluginName,this.query=a.payload.query,this.infer=a.payload.infer,this.sameAs=a.payload.sameAs}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[155],{66:function(e,n,E){"use strict";E.r(n),E.d(n,"EventDataType",(function(){return o}));const o={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",COUNT_QUERY_ABORTED:"countQueryAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[155],{80:function(n,t,s){"use strict";s.r(t),s.d(t,"EventData",(function(){return o}));class o{constructor(n,t){this.TYPE=n,this.payload=t}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{80:function(n,t,s){"use strict";s.r(t),s.d(t,"EventData",(function(){return o}));class o{constructor(n,t){this.TYPE=n,this.payload=t}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{98:function(_,e,E){"use strict";E.r(e),E.d(e,"KeyboardShortcutName",(function(){return t}));const t={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"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[157],{99:function(_,e,E){"use strict";E.r(e),E.d(e,"KeyboardShortcutName",(function(){return t}));const t={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"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[157],{85:function(s,e,a){"use strict";a.r(e),a.d(e,"NotificationMessageEvent",(function(){return o}));class o{constructor(s){this.TYPE=s.TYPE,this.message=s.payload.message,this.code=s.payload.code,this.messageType=s.payload.messageType}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[158],{85:function(s,e,a){"use strict";a.r(e),a.d(e,"NotificationMessageEvent",(function(){return o}));class o{constructor(s){this.TYPE=s.TYPE,this.message=s.payload.message,this.code=s.payload.code,this.messageType=s.payload.messageType}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[158],{249:function(n,o,s){"use strict";s.r(o),s.d(o,"NotificationMessageType",(function(){return i}));const i={SUCCESS:"success",WARNING:"warning",ERROR:"error",INFO:"info"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[159],{249:function(n,o,s){"use strict";s.r(o),s.d(o,"NotificationMessageType",(function(){return i}));const i={SUCCESS:"success",WARNING:"warning",ERROR:"error",INFO:"info"}}}]);