graphdb-workbench 2.6.0-TR4 → 2.6.0-TR6

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 (426) hide show
  1. package/dist/{0.5f1b5e33a31c05350a72.bundle.js → 0.57d3540baa17edfe5cb2.bundle.js} +3 -3
  2. package/dist/1.e03c90bd5954ca9b5fa7.bundle.js +1 -0
  3. package/dist/10.fcb4c283ed0e3ff77b9d.bundle.js +1 -0
  4. package/dist/{103.9c7973ad7f8ce2f11e78.bundle.js → 100.534f37dd58edf9a6d699.bundle.js} +1 -1
  5. package/dist/101.da23dac24536f74b5815.bundle.js +1 -0
  6. package/dist/{105.2aab4d1ff8d48fd9a0e5.bundle.js → 102.0a4aa8fcdaac2461ee45.bundle.js} +1 -1
  7. package/dist/{106.1d84ba4fb58233c70b5f.bundle.js → 103.6edf5a9611097aac7b0e.bundle.js} +1 -1
  8. package/dist/{107.004c7e29105a3d91f27a.bundle.js → 104.42f4d10207d67e051eed.bundle.js} +1 -1
  9. package/dist/{108.92fea609136e5e1e1a3b.bundle.js → 105.8e0d511b2790a2c7a1f5.bundle.js} +1 -1
  10. package/dist/{109.6b98d503b616f3fea1b6.bundle.js → 106.b5d5730844146ca5a17d.bundle.js} +1 -1
  11. package/dist/{110.dc0034768fd2d3ef4638.bundle.js → 107.7e47259d1a1e92cc684a.bundle.js} +1 -1
  12. package/dist/{111.282988adca97232acec7.bundle.js → 108.26b1081facbae1a51535.bundle.js} +1 -1
  13. package/dist/{112.e191daa3dc15d7c9a1a9.bundle.js → 109.c309c91a2c68099e26a7.bundle.js} +1 -1
  14. package/dist/11.4f52f63081204e1877cf.bundle.js +1 -0
  15. package/dist/{113.c90dac98105ee5b64a85.bundle.js → 110.0d1d7ebe2eeac8b4faef.bundle.js} +1 -1
  16. package/dist/{114.545ce491619381e7eb57.bundle.js → 111.ebfce66a46414fbc5035.bundle.js} +1 -1
  17. package/dist/{115.e9160d3c1a248492a1b3.bundle.js → 112.ebf0f5e54690989b150d.bundle.js} +1 -1
  18. package/dist/{116.3760af306087055a70d4.bundle.js → 113.69b5499240cb809a0fce.bundle.js} +1 -1
  19. package/dist/{117.fa51a50fbdba28579fcc.bundle.js → 114.97c6ff9e6faa36ae4c92.bundle.js} +1 -1
  20. package/dist/{118.1ae41a3e82e6f98358b7.bundle.js → 115.47fe6316b11ce761e8d3.bundle.js} +1 -1
  21. package/dist/{119.ed723ad680ad64d6de58.bundle.js → 116.50238606941983d7984f.bundle.js} +1 -1
  22. package/dist/{120.5e0d46d02ecd32a1c4eb.bundle.js → 117.bce63009af74c3e9a47e.bundle.js} +1 -1
  23. package/dist/{121.e1e5b1869a08d50ce3dc.bundle.js → 118.ce4cb2610bcae2cec5b4.bundle.js} +1 -1
  24. package/dist/{122.f029ace9a9451dbf7991.bundle.js → 119.771db56d499dcdf1c953.bundle.js} +1 -1
  25. package/dist/{11.6f4f05cb1b45c8ca798c.bundle.js → 12.30df13cd275e9db26d08.bundle.js} +1 -1
  26. package/dist/{123.b1cb2777b6136d77b9ad.bundle.js → 120.3be53a400b5e5d0b8bbf.bundle.js} +1 -1
  27. package/dist/{124.263ab6a6608eb4351d48.bundle.js → 121.4493eca5616735378bb8.bundle.js} +1 -1
  28. package/dist/{125.ec3cb0375b4f4ca0d6c5.bundle.js → 122.d5d3e1f5e5c8f632795f.bundle.js} +1 -1
  29. package/dist/{126.8766ff18efa5d74459af.bundle.js → 123.2610627b06c4276727b1.bundle.js} +1 -1
  30. package/dist/{127.c7563cc904bb18fd858d.bundle.js → 124.66c3ddc58390694a3a98.bundle.js} +1 -1
  31. package/dist/{128.e023ff0a622b2183eb57.bundle.js → 125.48215e946747137bf6c8.bundle.js} +1 -1
  32. package/dist/{129.497914fe762bb598c924.bundle.js → 126.119b23fe77d130cd15f2.bundle.js} +1 -1
  33. package/dist/{130.2a7c6644bdafc0e23c94.bundle.js → 127.8e57d1e19372e120aeba.bundle.js} +1 -1
  34. package/dist/{131.6ea2125da4fe20c0a47c.bundle.js → 128.96d9076518cacd42230d.bundle.js} +1 -1
  35. package/dist/{132.a444984cf21cee5d1cd6.bundle.js → 129.c8071eddb4e6ac450d14.bundle.js} +1 -1
  36. package/dist/{12.53fd491a90fff7972b19.bundle.js → 13.a8f91fd9198a469d445a.bundle.js} +1 -1
  37. package/dist/{133.61f35db7e212dbffad09.bundle.js → 130.4ef543acc845d7dfcc8d.bundle.js} +1 -1
  38. package/dist/{134.ac20acf15edeb4d589dc.bundle.js → 131.e1a244126c43896cd7fe.bundle.js} +1 -1
  39. package/dist/{135.6604ea676862f13a0e33.bundle.js → 132.3666a6511534abe54b6a.bundle.js} +1 -1
  40. package/dist/{136.4d9a7910c4bc2a181f33.bundle.js → 133.cb22542677a1fde54231.bundle.js} +1 -1
  41. package/dist/{137.1c0ff181821302630f43.bundle.js → 134.16abd209e3e07d89821b.bundle.js} +1 -1
  42. package/dist/{138.b35739e1f2189c0d43de.bundle.js → 135.e8261504f1da852a376c.bundle.js} +1 -1
  43. package/dist/{139.35cc42f6c70b0799456e.bundle.js → 136.81439d8a1b2d7dfed6c7.bundle.js} +1 -1
  44. package/dist/{140.b04e20ed91a24992f52e.bundle.js → 137.ae6fae38c2b6fd89a566.bundle.js} +1 -1
  45. package/dist/{141.cd91db4bb786aa426836.bundle.js → 138.07fa96b665a491f213fc.bundle.js} +1 -1
  46. package/dist/{142.58c8cce402d6b5038d1d.bundle.js → 139.dc143faed80495c85bc3.bundle.js} +1 -1
  47. package/dist/{13.7dd3612cbfc8b016d7d2.bundle.js → 14.f2d6ffd1bd5125113712.bundle.js} +1 -1
  48. package/dist/{143.591ad716c4d4d86cafac.bundle.js → 140.94d586ec81d9e3063c4f.bundle.js} +1 -1
  49. package/dist/{144.afb8b89d9b02ab2f3d2c.bundle.js → 141.46aad99634d1bfe2b58a.bundle.js} +1 -1
  50. package/dist/{145.cd9bfc5c2f1b0c758df1.bundle.js → 142.d2aaa85171c7449f2f85.bundle.js} +1 -1
  51. package/dist/{146.a5dfb3771b822f12fc6f.bundle.js → 143.802e7b37a5e69e8637a2.bundle.js} +1 -1
  52. package/dist/{147.cbf5792673713ae582c5.bundle.js → 144.5f21450a9ba89abcb82f.bundle.js} +1 -1
  53. package/dist/145.645969658a10c86c9ef2.bundle.js +1 -0
  54. package/dist/{149.f52ba4a577ed53b641e7.bundle.js → 146.da06a567fbb2421d8782.bundle.js} +1 -1
  55. package/dist/{150.c48daac2c9bedabdc074.bundle.js → 147.31da28c0c793b6d4b3d9.bundle.js} +1 -1
  56. package/dist/{151.665ed526bce9248c62ff.bundle.js → 148.6d7b7e06222ad071d0b4.bundle.js} +1 -1
  57. package/dist/149.e6ef25aca0b2356c2293.bundle.js +1 -0
  58. package/dist/{14.7778c265468da1f9c498.bundle.js → 15.b7f9dea17c384ee4f501.bundle.js} +1 -1
  59. package/dist/{153.bfdae29e3676a22b3899.bundle.js → 150.76212c0fbb3040671059.bundle.js} +1 -1
  60. package/dist/{154.c80d395f9ddb9db3fdc2.bundle.js → 151.6352d1c723f9c08c2285.bundle.js} +1 -1
  61. package/dist/{155.00f4c819fdbcabf8ade6.bundle.js → 152.0e861d13004eb057e32e.bundle.js} +1 -1
  62. package/dist/{156.9c3f446385fc380875ac.bundle.js → 153.14519f8335c9c7e76492.bundle.js} +1 -1
  63. package/dist/{157.936027284db212e3a462.bundle.js → 154.a4116ecb8a9036e69532.bundle.js} +1 -1
  64. package/dist/{158.487dc3950da8737008f2.bundle.js → 155.c089ba425702a417c119.bundle.js} +1 -1
  65. package/dist/156.d6f702761bee674310b6.bundle.js +1 -0
  66. package/dist/{160.bcef3b210ba904cb442f.bundle.js → 157.aec7b9612e637437b517.bundle.js} +1 -1
  67. package/dist/{161.7c3592a1b551320c887e.bundle.js → 158.91fa1ebc27afd697c27f.bundle.js} +1 -1
  68. package/dist/{162.44ae620bb9273a216889.bundle.js → 159.035a1e31b7a3335ca885.bundle.js} +1 -1
  69. package/dist/{15.88445930954ec37aba1c.bundle.js → 16.a91d31f0b9b876015299.bundle.js} +1 -1
  70. package/dist/{163.a836c50a1caf6e688763.bundle.js → 160.772b960ac85fbfa35ee0.bundle.js} +1 -1
  71. package/dist/{164.a3cd2119085fc63b613f.bundle.js → 161.7f9a2c46e4ceed3c1a1b.bundle.js} +1 -1
  72. package/dist/{165.2be17fc70641d9345c13.bundle.js → 162.b4177896a68c72669b9f.bundle.js} +1 -1
  73. package/dist/{166.e99dff94f36f0a7a2d5b.bundle.js → 163.f0099072da8e2298b60c.bundle.js} +1 -1
  74. package/dist/{167.c7040572f3a5ee9e1a9d.bundle.js → 164.746d5d3920914c734dad.bundle.js} +1 -1
  75. package/dist/{168.a13a343eaefaea2f9867.bundle.js → 165.27a6180d0f3d34f041ed.bundle.js} +1 -1
  76. package/dist/{169.a14cd158007884f819c3.bundle.js → 166.35757cd50c9290af0afc.bundle.js} +1 -1
  77. package/dist/167.5c7c94a187107facac9c.bundle.js +1 -0
  78. package/dist/168.3e88b975a713f94e7d39.bundle.js +1 -0
  79. package/dist/{172.031f224151cb2b8c3c33.bundle.js → 169.600d8d824c825290434c.bundle.js} +1 -1
  80. package/dist/17.f3951ee36cae3c2e59e2.bundle.js +3 -0
  81. package/dist/{173.1c921f1705893fc8be75.bundle.js → 170.4e527165141131f3fab5.bundle.js} +1 -1
  82. package/dist/{174.e4fd9a841a11d36698e1.bundle.js → 171.dddfca13266402e1f383.bundle.js} +1 -1
  83. package/dist/{175.2b4f8c3b8f13629318b4.bundle.js → 172.d614a13d7ddf1f24b035.bundle.js} +1 -1
  84. package/dist/{176.03120eace9d5e155e3c6.bundle.js → 173.17b872eb64767f4f0546.bundle.js} +1 -1
  85. package/dist/{177.60dd2b354799ee876657.bundle.js → 174.bc53719a59976016e31e.bundle.js} +1 -1
  86. package/dist/{178.96636a676a76cf17b63a.bundle.js → 175.3b63253263f318574534.bundle.js} +1 -1
  87. package/dist/{179.4d9a54dd4c3820022a66.bundle.js → 176.3af968314539e2a18e7f.bundle.js} +1 -1
  88. package/dist/{180.dc3f7c8ed45c7c4eb47e.bundle.js → 177.4b17d0269a1519575339.bundle.js} +1 -1
  89. package/dist/{181.7d585b36f0150d689264.bundle.js → 178.64d599a0c6df637717b4.bundle.js} +1 -1
  90. package/dist/{182.67cde9f960c2e9705616.bundle.js → 179.747740f92b7702dcc48e.bundle.js} +1 -1
  91. package/dist/18.ae49723fee4c6316d3a0.bundle.js +1 -0
  92. package/dist/180.93416941c0938f77058c.bundle.js +1 -0
  93. package/dist/181.6ff5034f9a143adaa8a3.bundle.js +1 -0
  94. package/dist/{185.71d20ad26911c858494c.bundle.js → 182.041784b0022a77256855.bundle.js} +1 -1
  95. package/dist/{186.ff7e5bc1150e1c46b375.bundle.js → 183.f5c5d51fb22c498fa505.bundle.js} +1 -1
  96. package/dist/{187.f084d24e6d3a0d55596f.bundle.js → 184.e3f45487fb25f163475a.bundle.js} +1 -1
  97. package/dist/{188.849825471f786b19a4b1.bundle.js → 185.4b8b11cf31d7fb573d19.bundle.js} +1 -1
  98. package/dist/186.f75fd6491a001c966970.bundle.js +1 -0
  99. package/dist/{190.7d68ac2c31d36c8dd4dd.bundle.js → 187.9986962b8a5b139e970d.bundle.js} +1 -1
  100. package/dist/188.a2cfced84824c4dfe8a5.bundle.js +1 -0
  101. package/dist/{192.958f700e12eec5a3f40a.bundle.js → 189.8e5e3adedd441defe4c4.bundle.js} +1 -1
  102. package/dist/19.ecd29d95e3cb58e1be47.bundle.js +1 -0
  103. package/dist/190.66e3bdaa04b4decf2ba3.bundle.js +1 -0
  104. package/dist/{193.4388346291d7a6a4cf09.bundle.js → 191.9ef6c0f16573bdd9518d.bundle.js} +1 -1
  105. package/dist/{194.7e1d98268ac12116c289.bundle.js → 192.9ad3f67bf0b4fb24ddcf.bundle.js} +1 -1
  106. package/dist/193.536e27e756a0f3c43b78.bundle.js +1 -0
  107. package/dist/{196.d9bd07285b0970ff9598.bundle.js → 194.901bc655cc4dcf5b8828.bundle.js} +1 -1
  108. package/dist/{197.2cdab99070cae1059d9f.bundle.js → 195.83c158392cc91057790a.bundle.js} +1 -1
  109. package/dist/{198.dc55af62ebc92cb46fd3.bundle.js → 196.6d5d8cd75bca1a0b3dc7.bundle.js} +1 -1
  110. package/dist/{199.4073d59df6a7155a679c.bundle.js → 197.8ca96ca487a40fa840d8.bundle.js} +1 -1
  111. package/dist/{200.2a4e8186b7cb014964be.bundle.js → 198.55aaef214f973f2fd765.bundle.js} +1 -1
  112. package/dist/{201.d2027b231eb1a1af7168.bundle.js → 199.78325ea1b608d918bace.bundle.js} +1 -1
  113. package/dist/{2.d13a535a218e6f07b1e5.bundle.js → 2.3e6f434d5cdba922bb1d.bundle.js} +1 -1
  114. package/dist/20.5ca7e302158bd768359d.bundle.js +1 -0
  115. package/dist/{202.bb7a081f375914165e3e.bundle.js → 200.3dd11bd82a04bd69210c.bundle.js} +1 -1
  116. package/dist/{203.a75437fdd3cffc5fff50.bundle.js → 201.52d4c7b0be7a81409dea.bundle.js} +1 -1
  117. package/dist/{204.a27a4df1ec4f1ccc1578.bundle.js → 202.68366d4b80b30a01bb64.bundle.js} +1 -1
  118. package/dist/{205.644f574675d0161227fe.bundle.js → 203.32b1161ee403ee6a7a87.bundle.js} +1 -1
  119. package/dist/{206.b19795573658cccf497f.bundle.js → 204.e6532d83950ed0d90858.bundle.js} +1 -1
  120. package/dist/{207.e4b3c54143046974ab7f.bundle.js → 205.32d53c454812ece54ad3.bundle.js} +1 -1
  121. package/dist/206.b7693b489aab517013c0.bundle.js +1 -0
  122. package/dist/{209.88840e52b63296089aaf.bundle.js → 207.90cd07e725f11e2955a9.bundle.js} +1 -1
  123. package/dist/{210.5c3066eff8bb81e7e5a9.bundle.js → 208.c859bf3d849bb6a23309.bundle.js} +1 -1
  124. package/dist/{211.fc89c197a1f81122bfbe.bundle.js → 209.71ae9f27360cea1fea35.bundle.js} +1 -1
  125. package/dist/21.d5df29d93e8f06b119cd.bundle.js +1 -0
  126. package/dist/210.ac3c6377ae376bb1af4b.bundle.js +1 -0
  127. package/dist/{212.256e6a0642d4e87b4aea.bundle.js → 211.0ec643f55b948a8f9f48.bundle.js} +1 -1
  128. package/dist/{213.f7870cbe2f9f3fc790fd.bundle.js → 212.a4b953e7f5eb25d75fe7.bundle.js} +1 -1
  129. package/dist/{214.143568a91d7b1f7b0bb3.bundle.js → 213.a4bb72951f7027af40e7.bundle.js} +1 -1
  130. package/dist/{215.fc9273b618e443bba601.bundle.js → 214.57cf0895f70c7c940ce5.bundle.js} +1 -1
  131. package/dist/{216.1288ee1e5c7cf4c20661.bundle.js → 215.2715de57bc29ae12760a.bundle.js} +1 -1
  132. package/dist/{217.62b151a69b8ab53c2260.bundle.js → 216.481eecbf6ba93bcaf9cd.bundle.js} +1 -1
  133. package/dist/{218.b3a503dba2093bf065e7.bundle.js → 217.38ab6d3450c36fe8104f.bundle.js} +1 -1
  134. package/dist/{219.dc8ff321109d04ca8b91.bundle.js → 218.060db62650e72ac409e6.bundle.js} +1 -1
  135. package/dist/{220.693cea0c668013332b88.bundle.js → 219.da0d3aa938ac7abd5fc4.bundle.js} +1 -1
  136. package/dist/22.558319f1b7a334b4c6f7.bundle.js +1 -0
  137. package/dist/{221.fbf9069ca134942a7e4c.bundle.js → 220.975a8d3d5bb4c9f98f03.bundle.js} +1 -1
  138. package/dist/{222.d604ba0c0442d0323dad.bundle.js → 221.db6ab18cac0e062988f2.bundle.js} +1 -1
  139. package/dist/{223.f33630c395a2c31b3e94.bundle.js → 222.5ec7607217a3cb97b293.bundle.js} +1 -1
  140. package/dist/{224.77b0ad5065fffba5102d.bundle.js → 223.8518540ce17b71ee7d00.bundle.js} +1 -1
  141. package/dist/{225.dabdb3854ce04878031f.bundle.js → 224.acc9afbc9e926356519a.bundle.js} +1 -1
  142. package/dist/{226.e3e39b40a5ace678710a.bundle.js → 225.ba9860341f9eba2c1f2d.bundle.js} +1 -1
  143. package/dist/226.0a305eb2e34c9d3fb3ce.bundle.js +1 -0
  144. package/dist/{228.2e377aa403bab3d04635.bundle.js → 227.357506866df2e0ba1ae1.bundle.js} +1 -1
  145. package/dist/{229.db057ff7134cb8fed23c.bundle.js → 228.21cb62126a898299b993.bundle.js} +1 -1
  146. package/dist/{230.dc48d50cc009afc5c8c6.bundle.js → 229.227a956358ad27627e2c.bundle.js} +1 -1
  147. package/dist/{26.b1da7f0c5d9f6a8b45e1.bundle.js → 23.a73e0d554b13e8be6192.bundle.js} +1 -1
  148. package/dist/{231.857805bd2bdcdd6a653b.bundle.js → 230.215c4242d4a205df5b8e.bundle.js} +1 -1
  149. package/dist/{232.944ebb92bc9b070005cd.bundle.js → 231.fd7222ca89363294fe39.bundle.js} +1 -1
  150. package/dist/{233.b8ec8da1b33d60686df4.bundle.js → 232.a82bb60245703594146d.bundle.js} +1 -1
  151. package/dist/{234.6ee64c15583417457230.bundle.js → 233.04f3ef286087750260da.bundle.js} +1 -1
  152. package/dist/{235.5ffaae464cad8ebd8ee3.bundle.js → 234.de1618094d091408fd6d.bundle.js} +1 -1
  153. package/dist/{236.c5ae5e541bb63039397a.bundle.js → 235.da3fa81ece977040e9ae.bundle.js} +1 -1
  154. package/dist/{237.e6edd9f669174ae97dcf.bundle.js → 236.ec2ada8b5f2aec3204f5.bundle.js} +1 -1
  155. package/dist/24.fb8fb91e17bebea57530.bundle.js +1 -0
  156. package/dist/242.5176ae2d94fe71686b8d.bundle.js +1 -0
  157. package/dist/{244.f56ce6f5a75434de3222.bundle.js → 243.c56f69b8c7dd3a2be144.bundle.js} +1 -1
  158. package/dist/{245.c8f1dcefaa5c4d4b7496.bundle.js → 244.d46b9193359e7de1daa3.bundle.js} +1 -1
  159. package/dist/{246.37338ad1c311d64cb520.bundle.js → 245.1ce3b6cc293a8c72b187.bundle.js} +1 -1
  160. package/dist/{247.ff113901838d77a152e4.bundle.js → 246.0cb817418790a596b441.bundle.js} +1 -1
  161. package/dist/{248.656160a19736cf63b165.bundle.js → 247.71aeac059bcf9ed9b392.bundle.js} +1 -1
  162. package/dist/{249.230ae2d77cafb21c7fe6.bundle.js → 248.94d8fea9b5ce15519623.bundle.js} +1 -1
  163. package/dist/{250.5e4e4035e16324e2c58b.bundle.js → 249.234cb407b6a647179cf2.bundle.js} +1 -1
  164. package/dist/25.05618f7474a6e6d47ff2.bundle.js +1 -0
  165. package/dist/{251.cf5f09ab05ccdc5ffba3.bundle.js → 250.3ed03b7e55905888d992.bundle.js} +1 -1
  166. package/dist/{252.f675f5099ab5fd1bf9e0.bundle.js → 251.efa949bd1ee44f4290ed.bundle.js} +1 -1
  167. package/dist/{253.921c5a70d2753afbe746.bundle.js → 252.5705d631c738e4d8e996.bundle.js} +1 -1
  168. package/dist/{254.e95001fb730d861afecd.bundle.js → 253.8752156b82db62eb4c92.bundle.js} +1 -1
  169. package/dist/{255.33c11f13d210dba7720d.bundle.js → 254.986c95170a74cc76c5e5.bundle.js} +1 -1
  170. package/dist/{256.8ce4d7faa7f384a48263.bundle.js → 255.53ff457cdf06dc0de427.bundle.js} +1 -1
  171. package/dist/{257.92dcc3d64f8c124723ea.bundle.js → 256.52e7acbbd3e7dde0df9f.bundle.js} +1 -1
  172. package/dist/257.1e51f84ae10ed1a8a23b.bundle.js +1 -0
  173. package/dist/{259.75847449092232561f6a.bundle.js → 258.db5554df6956ecfc7dec.bundle.js} +1 -1
  174. package/dist/{260.90f3b9e01680de256e45.bundle.js → 259.2c88332b7f1b47935a47.bundle.js} +1 -1
  175. package/dist/26.4eeeb7afd51795af82d7.bundle.js +1 -0
  176. package/dist/{263.c1181a1b9bcbbc89effd.bundle.js → 260.d745422c537bdd9647bb.bundle.js} +1 -1
  177. package/dist/{264.57b489ea8a516de1aad2.bundle.js → 261.7efff7f93f61f061f5ca.bundle.js} +1 -1
  178. package/dist/{265.4f5df746682f76e6a91c.bundle.js → 262.3b9c687ab8c9b9282f5a.bundle.js} +1 -1
  179. package/dist/{266.e39e430979d839a8e6fa.bundle.js → 263.9c4ce329ffd095c5d1c6.bundle.js} +1 -1
  180. package/dist/{267.644f64178fddc1a4045e.bundle.js → 264.0504ff98a1b50e9d2486.bundle.js} +1 -1
  181. package/dist/{268.34f0f2c5a505b03650e1.bundle.js → 265.a0af2676b1495c6231cc.bundle.js} +1 -1
  182. package/dist/{269.c67b053dd5e464197f26.bundle.js → 266.31dcc9c203106832e08a.bundle.js} +1 -1
  183. package/dist/{270.136edae2538a1df200c7.bundle.js → 267.3befe4deb9b75cd5d7ba.bundle.js} +1 -1
  184. package/dist/{271.1d2d4dc93fba7aa3fbee.bundle.js → 268.c7dc883261346f81be82.bundle.js} +1 -1
  185. package/dist/{272.8e67e96b54a6443cae49.bundle.js → 269.aec62cb6b5fa398be182.bundle.js} +1 -1
  186. package/dist/27.e6c49ef111cabef46fd7.bundle.js +1 -0
  187. package/dist/{273.1caaac740140d1241d54.bundle.js → 270.ac5c5d3247ad275e7009.bundle.js} +1 -1
  188. package/dist/{274.c929ff583266b43ccd36.bundle.js → 271.9a3928b874295c3742c9.bundle.js} +1 -1
  189. package/dist/{275.2bc762563a129399e2b8.bundle.js → 272.1a054f1ad3341ea6a8bf.bundle.js} +1 -1
  190. package/dist/{276.c8745d23b2f3f8b983fa.bundle.js → 273.a76e42437fb947cf800e.bundle.js} +1 -1
  191. package/dist/{277.6cfe9ad98b53fbb03ab3.bundle.js → 274.5c68c6d7373825aa4e86.bundle.js} +1 -1
  192. package/dist/{278.bd673b7fce6d8129823b.bundle.js → 275.e2dcae6396e8a69cfda6.bundle.js} +1 -1
  193. package/dist/{279.5fb678a23dd02205300e.bundle.js → 276.7f9b39624632a68a5285.bundle.js} +1 -1
  194. package/dist/{280.780f18c981aa09942626.bundle.js → 277.bfe0617252621ed4c42e.bundle.js} +1 -1
  195. package/dist/{281.994b81d8b3cce7f97ec2.bundle.js → 278.93d21415de115ff1f4ea.bundle.js} +1 -1
  196. package/dist/{282.171a2f9a12198884ba61.bundle.js → 279.eae641def34a167d2281.bundle.js} +1 -1
  197. package/dist/{32.2f5c96f67e9d4c32e6f3.bundle.js → 28.9b2e80653eb69e4525ef.bundle.js} +1 -1
  198. package/dist/{283.f006a6a4c121569385d4.bundle.js → 280.1df4667ec8bdeb6dfaea.bundle.js} +1 -1
  199. package/dist/{284.b9fe63fc01016e3ed798.bundle.js → 281.53c031371f2bb364c04d.bundle.js} +1 -1
  200. package/dist/{285.6cfe76d2e3e24b3467ae.bundle.js → 282.fe20f54cb2cbcce66407.bundle.js} +1 -1
  201. package/dist/{286.30e4d90c0a9b89b3e5be.bundle.js → 283.207dc2ee5d4f42eb8843.bundle.js} +1 -1
  202. package/dist/{287.cf9bd1e3a94830088245.bundle.js → 284.3f82d52f39f429a80a3d.bundle.js} +1 -1
  203. package/dist/{288.c467b167b40f4a10d39e.bundle.js → 285.001918dbfd9d06b076f5.bundle.js} +1 -1
  204. package/dist/{289.96d6e7d6998db1d1080b.bundle.js → 286.a942f86c8f772d2c5a97.bundle.js} +1 -1
  205. package/dist/{290.9a99af7fd593690c90fa.bundle.js → 287.494a03de1929e1d105ab.bundle.js} +1 -1
  206. package/dist/{291.3a2f9ccfa9975038ce83.bundle.js → 288.b2b166b7f54396a82703.bundle.js} +1 -1
  207. package/dist/{292.172b81645bcd635ad80e.bundle.js → 289.7afbd014836c2b589df6.bundle.js} +1 -1
  208. package/dist/29.a3413b59c038000244e5.bundle.js +1 -0
  209. package/dist/{293.973d9b58cb79f5e4e94f.bundle.js → 290.8f09c520973805dc0b75.bundle.js} +1 -1
  210. package/dist/{294.3fb8a87dcb7aa220ff3f.bundle.js → 291.f74df165a765971f45f8.bundle.js} +1 -1
  211. package/dist/{295.2997c8719a72eaee80c7.bundle.js → 292.c98a310d9505c88dbb03.bundle.js} +1 -1
  212. package/dist/{296.566437f96b8b5aa0c62a.bundle.js → 293.5927b1ccc8652a69f9f6.bundle.js} +1 -1
  213. package/dist/{297.3e59d4d7dc09772f6177.bundle.js → 294.fa4adea2ba4209ed2948.bundle.js} +1 -1
  214. package/dist/{298.a0ae528113932abe692e.bundle.js → 295.101fa72149ab787e61be.bundle.js} +1 -1
  215. package/dist/{299.b719b4b2a75ce2f7674c.bundle.js → 296.f771364da8206ec2bf47.bundle.js} +1 -1
  216. package/dist/{300.582490f8db581a51fe6e.bundle.js → 297.3860f145d5e36bd73827.bundle.js} +1 -1
  217. package/dist/{301.0576f45a60e624e7507f.bundle.js → 298.008ebf3a3821b3d63665.bundle.js} +1 -1
  218. package/dist/{302.ceb05e0aa83ba79135d7.bundle.js → 299.ed41fda2bf4ed838a124.bundle.js} +1 -1
  219. package/dist/3.5b3776ce9f03e23885e4.bundle.js +1 -0
  220. package/dist/{33.90735b9bcd901bf44e1c.bundle.js → 30.b0601d9b2eb0378f357b.bundle.js} +1 -1
  221. package/dist/300.7182234269fde947567e.bundle.js +1 -0
  222. package/dist/301.2ec6cf72222278c83955.bundle.js +1 -0
  223. package/dist/{305.4da3a81b15410c48934d.bundle.js → 302.10346bda237ba9c799b7.bundle.js} +1 -1
  224. package/dist/{306.43e6dfece2605bf3f79b.bundle.js → 303.859738ec0caf12df13cf.bundle.js} +1 -1
  225. package/dist/{307.9533ee476c1866d56451.bundle.js → 304.cc77ddd04449a3441850.bundle.js} +1 -1
  226. package/dist/{308.d5accfd825132a88e82d.bundle.js → 305.c75df156c0f68e0459c2.bundle.js} +1 -1
  227. package/dist/{34.635e6a168de3b0174eeb.bundle.js → 31.00357926a3dd506cfed4.bundle.js} +1 -1
  228. package/dist/{35.e04378b45bbdfa131d98.bundle.js → 32.2dff690bb00caa029abd.bundle.js} +1 -1
  229. package/dist/33.37ed81796994b7ed62c4.bundle.js +1 -0
  230. package/dist/{37.a40f2fcf214b2b96e371.bundle.js → 34.abf8789b45b8ea96ff18.bundle.js} +1 -1
  231. package/dist/{28.e54a41f01b158ac520b5.bundle.js → 35.e25cce53f1c1db91b953.bundle.js} +2 -2
  232. package/dist/{39.bf8f4fbf015fe01fa24a.bundle.js → 36.2c564976b0b096602ab8.bundle.js} +2 -2
  233. package/dist/37.675f0007659d6dccbfb7.bundle.js +1 -0
  234. package/dist/38.f34422a7ebc7fbd1a3d9.bundle.js +1 -0
  235. package/dist/{42.8b5ae3618e37ba7b72c9.bundle.js → 39.013faadc982d2e0d9336.bundle.js} +1 -1
  236. package/dist/4.3ae49ec335f1df4b4021.bundle.js +1 -0
  237. package/dist/{43.5b8955e01782d77bc775.bundle.js → 40.cef0c3d8ef5a88d4a6e8.bundle.js} +1 -1
  238. package/dist/{44.ffdf1b329a24409c6e6d.bundle.js → 41.69bf4dc04f2a78673ece.bundle.js} +1 -1
  239. package/dist/{46.5a34ff160c46bb4ebcec.bundle.js → 42.cff7a32967655ea47a5d.bundle.js} +1 -1
  240. package/dist/{47.ce5ad4829480b310e790.bundle.js → 43.9d5fccb177630687a006.bundle.js} +1 -1
  241. package/dist/44.4557be8e879e9d9424d6.bundle.js +1 -0
  242. package/dist/45.ee8f8aae55544a60ac71.bundle.js +1 -0
  243. package/dist/{50.92440c928adc48294108.bundle.js → 46.65eadbfe8c59dc269d41.bundle.js} +1 -1
  244. package/dist/{51.2968215bdb14340916ca.bundle.js → 47.f9a994c85d53f6b9eb98.bundle.js} +1 -1
  245. package/dist/48.736ef0fb5be450f7f88f.bundle.js +1 -0
  246. package/dist/{53.bcb78bc0df12338fa738.bundle.js → 49.f7cdf694fb74c8356472.bundle.js} +1 -1
  247. package/dist/{4.a438aa20cfc5e9cd6f8c.bundle.js → 5.dd3cfaf9a2a1592206f5.bundle.js} +1 -1
  248. package/dist/50.62ed3e49a6ece0e7a5c4.bundle.js +1 -0
  249. package/dist/51.96629fd69e2da9eb537d.bundle.js +1 -0
  250. package/dist/{56.c472ed0a80241eb91e29.bundle.js → 52.0c98d51c1112e976cf19.bundle.js} +1 -1
  251. package/dist/{57.d104fac7fbd8824e34c1.bundle.js → 53.4b5fe6ce05e0c783fe29.bundle.js} +1 -1
  252. package/dist/{58.d6a91681cd03133587d1.bundle.js → 54.aa3428ee30dd14e05d9f.bundle.js} +1 -1
  253. package/dist/{59.8b99107d23b4095c1e5f.bundle.js → 55.efa5ad31d67af2c744b2.bundle.js} +1 -1
  254. package/dist/{60.863872114e3fd4c8566c.bundle.js → 56.ac94dd0ea4db2a581c35.bundle.js} +1 -1
  255. package/dist/{61.dd64c0d9b4b2f20c12f2.bundle.js → 57.9233b17159cc3c6945ef.bundle.js} +1 -1
  256. package/dist/{62.8846387fe45df1e440da.bundle.js → 58.8806cb9a47b2fc28bdfc.bundle.js} +1 -1
  257. package/dist/59.eb1a39fa936028cf3d6d.bundle.js +1 -0
  258. package/dist/6.6c12bf8442e6b3a8966a.bundle.js +1 -0
  259. package/dist/60.461c92385bbfc8190b68.bundle.js +1 -0
  260. package/dist/61.f9061b24728ef92e2702.bundle.js +1 -0
  261. package/dist/62.41d2c2ef3b10e249cc3d.bundle.js +1 -0
  262. package/dist/{66.a5f341e8b9ed06cbc5df.bundle.js → 63.79ceab2871c4bf87e565.bundle.js} +1 -1
  263. package/dist/64.e25269fafd7b80074f79.bundle.js +1 -0
  264. package/dist/65.274e72f7a969f86decfd.bundle.js +1 -0
  265. package/dist/{69.aacbefaf3103810878da.bundle.js → 66.67b3d47091fe6530aa39.bundle.js} +1 -1
  266. package/dist/67.e0f4b94ebc82fee55aca.bundle.js +1 -0
  267. package/dist/68.1c621dfd5257b2c18e11.bundle.js +1 -0
  268. package/dist/{72.f3d3863586e73ba2bd62.bundle.js → 69.1276f759153f8028a437.bundle.js} +1 -1
  269. package/dist/{7.d3744d9d3c3c7455c148.bundle.js → 7.215fb90676ad005678a5.bundle.js} +1 -1
  270. package/dist/{73.802102129aef35957f70.bundle.js → 70.4d4e64191987cf37cdfa.bundle.js} +1 -1
  271. package/dist/{74.b189890410fdcc19aa3d.bundle.js → 71.ba412850727546ca9e65.bundle.js} +1 -1
  272. package/dist/72.38694f9e5cf82efcec93.bundle.js +1 -0
  273. package/dist/{75.1fae7dd8ee7c1cf24eb1.bundle.js → 73.6a1697ff88885fd26dc9.bundle.js} +1 -1
  274. package/dist/{76.003015a59d3053553694.bundle.js → 74.6fde68e288d8e4277ed6.bundle.js} +1 -1
  275. package/dist/{77.3bc82195cce3eb202d24.bundle.js → 75.497bd1a7aea851d96296.bundle.js} +1 -1
  276. package/dist/76.5e2b21f991515d0d19bf.bundle.js +1 -0
  277. package/dist/77.90e14a1db3003d600a7f.bundle.js +1 -0
  278. package/dist/78.4bbce98263e92664ab76.bundle.js +1 -0
  279. package/dist/79.57f1baf03c17fa5d4ecf.bundle.js +1 -0
  280. package/dist/8.31311bef7b4e3d07b172.bundle.js +2 -0
  281. package/dist/80.73b9a4e922936baa0574.bundle.js +1 -0
  282. package/dist/81.22b0aca7b4f9137a0882.bundle.js +1 -0
  283. package/dist/{84.d571fdfb70724b8b0461.bundle.js → 82.4e90f4fa2c1642a82980.bundle.js} +1 -1
  284. package/dist/{85.99decaec91ea21c1defc.bundle.js → 83.3dbe889b4ba264a9d674.bundle.js} +1 -1
  285. package/dist/84.42f64ebc8b4f42b8f8fa.bundle.js +1 -0
  286. package/dist/85.362d91965241e83d901d.bundle.js +1 -0
  287. package/dist/{87.6f8ca8aac538eda82b30.bundle.js → 86.b6a6584bb48c2eba7793.bundle.js} +1 -1
  288. package/dist/{88.9acf9f434d3ec166730e.bundle.js → 87.66c82919414d84bf1c91.bundle.js} +1 -1
  289. package/dist/{89.b0376da36083971383c8.bundle.js → 88.9ee9ff59ae44adabb225.bundle.js} +1 -1
  290. package/dist/{90.2a62bd3aeb6bc74bfbd3.bundle.js → 89.08dc723465581d17e18c.bundle.js} +1 -1
  291. package/dist/9.bb8dc22bb967a40f67fe.bundle.js +2 -0
  292. package/dist/{91.ac5c261fbde103bdfecc.bundle.js → 90.b6a2d473b83c0962a11f.bundle.js} +1 -1
  293. package/dist/{92.948e0b858b18b5f20fb3.bundle.js → 91.743cdf86c0680be894c9.bundle.js} +1 -1
  294. package/dist/{93.00ebc1cabda85b40b0f9.bundle.js → 92.b19c893704dcb4660ede.bundle.js} +1 -1
  295. package/dist/{94.69841b64ace9b31cf17d.bundle.js → 93.1d771358d292c85ea6a9.bundle.js} +1 -1
  296. package/dist/{95.681b94ad354763d0056d.bundle.js → 94.29b7382aeb902f46d24a.bundle.js} +1 -1
  297. package/dist/{96.61bdb0e7e66e9a002a85.bundle.js → 95.522b5e309c1f6989ec42.bundle.js} +1 -1
  298. package/dist/{97.2d6af115c8ad6845223c.bundle.js → 96.b8ea5582fc702c107cfd.bundle.js} +1 -1
  299. package/dist/{98.1287cd1e098fc59ed236.bundle.js → 97.f221163ec5e99caa0668.bundle.js} +1 -1
  300. package/dist/{99.b6bad60263a64505c12a.bundle.js → 98.fd14853ecbdcc01894e9.bundle.js} +1 -1
  301. package/dist/99.c4df74a95a465a7bc7e6.bundle.js +1 -0
  302. package/dist/{bundle.bf41e89dbeef5fd3db5c.bundle.js → bundle.f5d7fe3b9943ad592f50.bundle.js} +17 -20
  303. package/dist/css/aclmanagement.css +8 -0
  304. package/dist/css/autocomplete-select.css +4 -0
  305. package/dist/css/jdbc-create.css +1 -1
  306. package/dist/css/lib/ontotext-yasgui-web-component.css +1 -0
  307. package/dist/css/sparql-editor.css +0 -4
  308. package/dist/css/sparql-templates.css +1 -1
  309. package/dist/i18n/locale-en.json +12 -3
  310. package/dist/i18n/locale-fr.json +12 -3
  311. package/dist/index.html +3 -3
  312. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +17 -4
  313. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  314. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  315. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  316. package/dist/js/angular/security/templates/user.html +1 -1
  317. package/dist/license-checker.json +6 -6
  318. package/dist/pages/aclmanagement.html +568 -151
  319. package/dist/pages/autocomplete.html +1 -1
  320. package/dist/pages/choose-repository-type.html +1 -1
  321. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  322. package/dist/pages/create-index.html +1 -1
  323. package/dist/pages/dependencies.html +1 -1
  324. package/dist/pages/domainRangeInfo.html +2 -2
  325. package/dist/pages/edit.html +1 -1
  326. package/dist/pages/explore.html +3 -3
  327. package/dist/pages/export.html +1 -1
  328. package/dist/pages/find.html +1 -1
  329. package/dist/pages/graph-config/saveGraphConfig.html +9 -9
  330. package/dist/pages/graphs-visualizations.html +7 -7
  331. package/dist/pages/guides.html +1 -1
  332. package/dist/pages/import.html +1 -1
  333. package/dist/pages/jdbc-create.html +2 -2
  334. package/dist/pages/monitor/backup-and-restore.html +1 -1
  335. package/dist/pages/monitor/queries.html +1 -1
  336. package/dist/pages/monitor/resources.html +1 -1
  337. package/dist/pages/namespaces.html +2 -2
  338. package/dist/pages/plugins.html +1 -1
  339. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  340. package/dist/pages/rdfrank.html +2 -2
  341. package/dist/pages/repositories.html +1 -1
  342. package/dist/pages/repository.html +1 -1
  343. package/dist/pages/similarity-indexes.html +1 -1
  344. package/dist/pages/sparql-editor.html +1 -1
  345. package/dist/pages/sparql-template-create.html +2 -2
  346. package/dist/pages/webapi.html +2 -2
  347. package/dist/{polyfills-dom.f3553167ca74b8482e7c.bundle.js → polyfills-dom.c264909e933fbc136d2e.bundle.js} +1 -1
  348. package/dist/res/swagger/index.html +27 -27
  349. package/dist/{vendor.874e22ec3e72d83a85af.bundle.js → vendor.32f2a17d79d66db88bba.bundle.js} +2 -2
  350. package/dist/{vendors~polyfills-core-js.7655c7bc2ec063a2a881.bundle.js → vendors~polyfills-core-js.4c9bf30520de19c215c1.bundle.js} +1 -1
  351. package/package.json +3 -3
  352. package/dist/1.6ba3e28b9b4b642300fe.bundle.js +0 -1
  353. package/dist/10.7a954fa524508f924ea8.bundle.js +0 -1
  354. package/dist/100.e09a45ba7733d3f50f97.bundle.js +0 -1
  355. package/dist/101.2656607d514fc4345fc3.bundle.js +0 -1
  356. package/dist/102.8cc964a8d3ac2ef2f90e.bundle.js +0 -1
  357. package/dist/104.e6ad2811d5cc02d317ce.bundle.js +0 -1
  358. package/dist/148.a4d85363d27776f9c42f.bundle.js +0 -1
  359. package/dist/152.0529f881e8c109c515bc.bundle.js +0 -1
  360. package/dist/159.08f09afd3b6ec80af945.bundle.js +0 -1
  361. package/dist/16.328119c249164b5d48a3.bundle.js +0 -110
  362. package/dist/17.c7c0a1b0e7f46b4e6cf0.bundle.js +0 -1
  363. package/dist/170.cb0763fa197a50e5d00e.bundle.js +0 -1
  364. package/dist/171.1db60ab0f74aa7b4f8ea.bundle.js +0 -1
  365. package/dist/18.a73222e6b4423507d3bc.bundle.js +0 -1
  366. package/dist/183.ed295dbf8743b2312b68.bundle.js +0 -1
  367. package/dist/184.8c114b08afe0807b4cf3.bundle.js +0 -1
  368. package/dist/189.4b877c9145d5deede7f0.bundle.js +0 -1
  369. package/dist/19.5a03e3fd92a1c3887465.bundle.js +0 -1
  370. package/dist/191.35d6da44c9247af751af.bundle.js +0 -1
  371. package/dist/195.4e1b03c6de5de6d99334.bundle.js +0 -1
  372. package/dist/20.ba7138bcab31fcb3cdaf.bundle.js +0 -1
  373. package/dist/208.85c3ac648e5b95a526b3.bundle.js +0 -1
  374. package/dist/21.d1d80098fccd3eb66034.bundle.js +0 -1
  375. package/dist/22.d2476a921e5196ce5dcb.bundle.js +0 -1
  376. package/dist/227.6919d5516050d6e352cb.bundle.js +0 -1
  377. package/dist/23.93de422a3a0025fd9385.bundle.js +0 -1
  378. package/dist/24.575d99b06bdff6b83e0a.bundle.js +0 -1
  379. package/dist/243.182efe1845e708084230.bundle.js +0 -1
  380. package/dist/25.0e455083d848eba034ba.bundle.js +0 -1
  381. package/dist/258.436f80812661e1fc5789.bundle.js +0 -1
  382. package/dist/261.992810e17fbb018cd141.bundle.js +0 -1
  383. package/dist/262.f1318af980aa08db02e3.bundle.js +0 -1
  384. package/dist/27.2e432a640fdf79f09545.bundle.js +0 -1
  385. package/dist/29.0f2f8b4f69d7815fadcf.bundle.js +0 -1
  386. package/dist/3.c736443b56b5fb6f29ec.bundle.js +0 -1
  387. package/dist/30.d0d8bf39ce9f83c46dfd.bundle.js +0 -1
  388. package/dist/303.49fefc138bbd68f4a355.bundle.js +0 -1
  389. package/dist/304.2d899863d8bb1232d141.bundle.js +0 -1
  390. package/dist/31.bf6e531ebbe0235718ce.bundle.js +0 -1
  391. package/dist/36.d96e17d83d4752476e16.bundle.js +0 -1
  392. package/dist/38.48080b348f63ba8f4ad4.bundle.js +0 -1
  393. package/dist/40.82a5e4c8cd82c76c1355.bundle.js +0 -1
  394. package/dist/41.01a3548eed371a09d702.bundle.js +0 -1
  395. package/dist/45.f5193eaaf474dbf3e26d.bundle.js +0 -1
  396. package/dist/48.d14732d09b294fa847a2.bundle.js +0 -1
  397. package/dist/49.c0285d548bd94449b7d2.bundle.js +0 -1
  398. package/dist/5.f1823be4f3579a220bdf.bundle.js +0 -108
  399. package/dist/52.8fb71910598723085b05.bundle.js +0 -1
  400. package/dist/54.e9be41394905d26fbea5.bundle.js +0 -1
  401. package/dist/55.62b7952fb6ad1511ce07.bundle.js +0 -1
  402. package/dist/6.a90c2df4ecda875aff6d.bundle.js +0 -1
  403. package/dist/63.a71c8952f951bdd19651.bundle.js +0 -1
  404. package/dist/64.cf5ad553a076abc1c4a1.bundle.js +0 -1
  405. package/dist/65.bd6f122f523aae2db58b.bundle.js +0 -1
  406. package/dist/67.a225c1beb42b7c2f0f31.bundle.js +0 -1
  407. package/dist/68.6af160e2b717c9094790.bundle.js +0 -1
  408. package/dist/70.54e1052edd89e22cc5b4.bundle.js +0 -1
  409. package/dist/71.02dd2e8ad16e0c73444a.bundle.js +0 -1
  410. package/dist/78.ba35235dd437b413e4ba.bundle.js +0 -1
  411. package/dist/79.78b4b86b15158f47da15.bundle.js +0 -1
  412. package/dist/8.d796cc7c30d86cae3d7f.bundle.js +0 -2
  413. package/dist/80.76a1deced00097baf585.bundle.js +0 -1
  414. package/dist/81.92ea771b4875f048e576.bundle.js +0 -1
  415. package/dist/82.f5137b34aa6fde685bdf.bundle.js +0 -1
  416. package/dist/83.241e1d4ee006d39cf5eb.bundle.js +0 -1
  417. package/dist/86.785ec60af81c236c3138.bundle.js +0 -1
  418. package/dist/9.20ef0d3df920d3a6442a.bundle.js +0 -2
  419. package/dist/css/lib/yasqe.min.css +0 -570
  420. package/dist/css/lib/yasr.css +0 -1005
  421. package/dist/css/new-sparql.css +0 -223
  422. package/dist/css/yasr.custom.css +0 -222
  423. package/dist/js/angular/core/directives/queryeditor/templates/query-editor.html +0 -248
  424. package/dist/js/angular/core/directives/queryeditor/templates/query-sample.html +0 -44
  425. package/dist/pages/sparql.html +0 -56
  426. /package/dist/{main.575cd06a1b59f91fdfd3.bundle.js → main.d3e9ca1041e746ba3275.bundle.js} +0 -0
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[129],{236:function(e,t){const o=(e,t)=>e.$repositories.getRepositories().find(e=>e.id===t.repositoryId)?t.repositoryId:t.repositoryIdBase,i=(e,t)=>e.GuideUtils.getGuideElementSelector(`repository-${o(e,t)}-button`);PluginRegistry.add("guide.step",[{guideBlockName:"select-repository-dropdown",getSteps:(e,t)=>{const s=t.GuideUtils;return e.mainAction="select-repository",e.getRepositoryId=()=>o(t,e),[{guideBlockName:"clickable-element",options:angular.extend({},{skipPoint:!0,content:"guide.step_plugin.choose-repository.content",elementSelector:s.getGuideElementSelector("repositoriesGroupButton"),class:"repositories-group-button-guide-dialog",onNextClick:e=>s.clickOnGuideElement("repositoriesGroupButton")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository.content",elementSelector:()=>i(t,e),class:"repository-select-button-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>new Promise((function(o,s){t.GuideUtils.waitFor(i(t,e),1).then(()=>o()).catch(e=>{t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),s(e)})})),show:o=>()=>{$("#repositorySelectDropdown").addClass("autoCloseOff"),$(i(t,e)).on("mouseup.selectRepositoryButtonClick",(function(){o.next()}))},onNextClick:o=>{$(i(t,e)).off("mouseup.selectRepositoryButtonClick"),$("#repositorySelectDropdown").removeClass("autoCloseOff"),s.clickOnElement(i(t,e))().then(()=>o.next())},hide:()=>()=>{$("#repositorySelectDropdown").removeClass("autoCloseOff"),$(i(t,e)).off("mouseup.selectRepositoryButtonClick")},canBePaused:!1},e)}]}},{guideBlockName:"select-repository-plug",getSteps:(e,t)=>{const o=t.GuideUtils;return[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository-plug.content",elementSelector:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`),onNextClick:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`)},e)}]}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[126],{234:function(e,t){const o=(e,t)=>e.$repositories.getRepositories().find(e=>e.id===t.repositoryId)?t.repositoryId:t.repositoryIdBase,i=(e,t)=>e.GuideUtils.getGuideElementSelector(`repository-${o(e,t)}-button`);PluginRegistry.add("guide.step",[{guideBlockName:"select-repository-dropdown",getSteps:(e,t)=>{const s=t.GuideUtils;return e.mainAction="select-repository",e.getRepositoryId=()=>o(t,e),[{guideBlockName:"clickable-element",options:angular.extend({},{skipPoint:!0,content:"guide.step_plugin.choose-repository.content",elementSelector:s.getGuideElementSelector("repositoriesGroupButton"),class:"repositories-group-button-guide-dialog",onNextClick:e=>s.clickOnGuideElement("repositoriesGroupButton")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository.content",elementSelector:()=>i(t,e),class:"repository-select-button-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>new Promise((function(o,s){t.GuideUtils.waitFor(i(t,e),1).then(()=>o()).catch(e=>{t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),s(e)})})),show:o=>()=>{$("#repositorySelectDropdown").addClass("autoCloseOff"),$(i(t,e)).on("mouseup.selectRepositoryButtonClick",(function(){o.next()}))},onNextClick:o=>{$(i(t,e)).off("mouseup.selectRepositoryButtonClick"),$("#repositorySelectDropdown").removeClass("autoCloseOff"),s.clickOnElement(i(t,e))().then(()=>o.next())},hide:()=>()=>{$("#repositorySelectDropdown").removeClass("autoCloseOff"),$(i(t,e)).off("mouseup.selectRepositoryButtonClick")},canBePaused:!1},e)}]}},{guideBlockName:"select-repository-plug",getSteps:(e,t)=>{const o=t.GuideUtils;return[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository-plug.content",elementSelector:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`),onNextClick:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`)},e)}]}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[130],{237:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"table-graph-explore",getSteps:(e,t)=>{const l=t.GuideUtils,r=t.$location,n=t.$route;e.mainAction="table-graph";const o=[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-intro.table-graph",scrollToHandler:l.scrollToTop,elementSelector:l.getSparqlResultsSelectorForIri(e.iri),class:"table-graph-instance-guide-dialog",placement:"top",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(e,t)=>new Promise((l,r)=>{if(e.ShepherdService.getCurrentStepId()===t)l();else{const n=e.ShepherdService.getPreviousStepFromHistory(t);n.options.initPreviousStep(e,n.options.id).then(()=>{l()}).catch(e=>{r(e)})}})},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-overview",scrollToHandler:l.scrollToTop,elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,class:"table-graph-overview-guide-dialog",placement:"top",initPreviousStep:(t,o)=>new Promise((i,a)=>{if(t.ShepherdService.getCurrentStepId()===o)l.defaultInitPreviousStep(t,o).then(()=>i()).catch(e=>a(e));else{const t=`/resource?uri=${e.iri}&role=subject`;t!==decodeURIComponent(r.url())?(r.url(t),n.reload(),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR).then(()=>i()).catch(e=>a(e))):i()}})},e)}];return angular.isArray(e.subSteps)&&e.subSteps.forEach(t=>{switch(t.type){case"link":o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-link",elementSelector:l.getSparqlResultsSelectorForIri(t.iri),class:"table-graph-link-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(o,i)=>new Promise((a,c)=>{const s=`/resource?uri=${t.iri}&role=subject`,u=`/resource?uri=${e.iri}&role=subject`,S=decodeURIComponent(r.url()),p=o.ShepherdService.getCurrentStepId();p===i&&u===S?a():p!==i&&s===S?l.defaultInitPreviousStep(o,i).then(()=>a()).catch(e=>c(e)):(r.url(s),n.reload(),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR).then(()=>a()).catch(e=>c(e)))})},angular.extend({},e,t))});break;case"role":o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-role",elementSelector:l.getGuideElementSelector("role-"+t.role),class:"visual_graph-role-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(e,o)=>new Promise((i,a)=>{if(e.ShepherdService.getCurrentStepId()===o)i();else{const c=e.ShepherdService.getPreviousStepFromHistory(o);c.options.initPreviousStep(e,c.options.id).then(()=>{let e=r.url();e=e.substring(0,e.indexOf("role=")+5),e+=t.role,r.url(e),n.reload(),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR).then(()=>i()).catch(e=>a(e))}).catch(e=>{a(e)})}})},angular.extend({},e,t))});break;case"visual":o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-visual",elementSelector:l.getGuideElementSelector("explore-visual"),class:"table-graph-visual-button-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click"))},initPreviousStep:(e,t)=>new Promise((r,n)=>{e.ShepherdService.getCurrentStepId()===t?r():l.defaultInitPreviousStep(e,t).then(()=>r()).catch(e=>n(e))})},angular.extend({},e,t))}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_intro.content",extraContent:t.extraContentVisualIntro,url:"/graphs-visualizations",elementSelector:".graph-visualization",placement:"left",canBePaused:!1,forceReload:!0,onNextClick:e=>{window.history.back(),e.next()}},angular.extend({},e,t))});break;case"row":o.push({guideBlockName:"read-only-element",options:angular.extend({},{elementSelector:l.getSparqlResultsSelectorForRow(t.row),class:"visual_graph-row-guide-dialog"},angular.extend({},e,t))});break;case"table":o.push({guideBlockName:"read-only-element",options:angular.extend({},{elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,class:"visual_graph-table-guide-dialog",placement:"top"},angular.extend({},e,t))})}}),o}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[127],{235:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"table-graph-explore",getSteps:(e,t)=>{const l=t.GuideUtils,r=t.$location,n=t.$route;e.mainAction="table-graph";const o=[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-intro.table-graph",scrollToHandler:l.scrollToTop,elementSelector:l.getSparqlResultsSelectorForIri(e.iri),class:"table-graph-instance-guide-dialog",placement:"top",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(e,t)=>new Promise((l,r)=>{if(e.ShepherdService.getCurrentStepId()===t)l();else{const n=e.ShepherdService.getPreviousStepFromHistory(t);n.options.initPreviousStep(e,n.options.id).then(()=>{l()}).catch(e=>{r(e)})}})},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-overview",scrollToHandler:l.scrollToTop,elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,class:"table-graph-overview-guide-dialog",placement:"top",initPreviousStep:(t,o)=>new Promise((i,a)=>{if(t.ShepherdService.getCurrentStepId()===o)l.defaultInitPreviousStep(t,o).then(()=>i()).catch(e=>a(e));else{const t=`/resource?uri=${e.iri}&role=subject`;t!==decodeURIComponent(r.url())?(r.url(t),n.reload(),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR).then(()=>i()).catch(e=>a(e))):i()}})},e)}];return angular.isArray(e.subSteps)&&e.subSteps.forEach(t=>{switch(t.type){case"link":o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-link",elementSelector:l.getSparqlResultsSelectorForIri(t.iri),class:"table-graph-link-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(o,i)=>new Promise((a,c)=>{const s=`/resource?uri=${t.iri}&role=subject`,u=`/resource?uri=${e.iri}&role=subject`,S=decodeURIComponent(r.url()),p=o.ShepherdService.getCurrentStepId();p===i&&u===S?a():p!==i&&s===S?l.defaultInitPreviousStep(o,i).then(()=>a()).catch(e=>c(e)):(r.url(s),n.reload(),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR).then(()=>a()).catch(e=>c(e)))})},angular.extend({},e,t))});break;case"role":o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-role",elementSelector:l.getGuideElementSelector("role-"+t.role),class:"visual_graph-role-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(e,o)=>new Promise((i,a)=>{if(e.ShepherdService.getCurrentStepId()===o)i();else{const c=e.ShepherdService.getPreviousStepFromHistory(o);c.options.initPreviousStep(e,c.options.id).then(()=>{let e=r.url();e=e.substring(0,e.indexOf("role=")+5),e+=t.role,r.url(e),n.reload(),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR).then(()=>i()).catch(e=>a(e))}).catch(e=>{a(e)})}})},angular.extend({},e,t))});break;case"visual":o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-visual",elementSelector:l.getGuideElementSelector("explore-visual"),class:"table-graph-visual-button-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click"))},initPreviousStep:(e,t)=>new Promise((r,n)=>{e.ShepherdService.getCurrentStepId()===t?r():l.defaultInitPreviousStep(e,t).then(()=>r()).catch(e=>n(e))})},angular.extend({},e,t))}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_intro.content",extraContent:t.extraContentVisualIntro,url:"/graphs-visualizations",elementSelector:".graph-visualization",placement:"left",canBePaused:!1,forceReload:!0,onNextClick:e=>{window.history.back(),e.next()}},angular.extend({},e,t))});break;case"row":o.push({guideBlockName:"read-only-element",options:angular.extend({},{elementSelector:l.getSparqlResultsSelectorForRow(t.row),class:"visual_graph-row-guide-dialog"},angular.extend({},e,t))});break;case"table":o.push({guideBlockName:"read-only-element",options:angular.extend({},{elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,class:"visual_graph-table-guide-dialog",placement:"top"},angular.extend({},e,t))})}}),o}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{238:function(e,i){const t=()=>()=>{$(".node-wrapper").addClass("disable-visual-graph-node")},o=()=>()=>{$(".node-wrapper").removeClass("disable-visual-graph-node")};PluginRegistry.add("guide.step",[{guideBlockName:"visual-graph",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$location,n=i.$route;return e.mainAction="visual-graph",[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"visual-graph",showIntro:!0},e)},{guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_input_IRI.content",forceReload:!0,url:"/graphs-visualizations",elementSelector:t.getGuideElementSelector("graphVisualisationSearchInputNotConfigured"," input"),class:"visual-graph-input-iri-guide-dialog",onNextValidate:e=>Promise.resolve(t.validateTextInput(e.elementSelector,e.easyGraphInputText))},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_show_autocomplete.content",url:"/graphs-visualizations",elementSelector:t.getGuideElementSelector("autocomplete-"+e.iri),class:"visual-graph-show-autocomplete-guide-dialog",onNextClick:(e,i)=>t.waitFor(i.elementSelector,3).then(()=>$(i.elementSelector).trigger("click")),canBePaused:!1,forceReload:!0},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_intro.content",url:"/graphs-visualizations",elementSelector:".graph-visualization",placement:"left",onPreviousClick:()=>new Promise((function(i,a){o.url("/graphs-visualizations"),n.reload();const l=t.getGuideElementSelector("graphVisualisationSearchInputNotConfigured"," input");t.waitFor(l,3).then(()=>{t.validateTextInput(l,e.easyGraphInputText),i()}).catch(e=>a(e))})),initPreviousStep:()=>new Promise((function(i,a){const l="/graphs-visualizations?uri="+e.iri;l!==decodeURIComponent(o.url())?(o.url(l),n.reload(),t.waitFor(`.node-wrapper[id^="${e.iri}"] circle`,3).then(()=>i()).catch(e=>a(e))):i()})),canBePaused:!1,forceReload:!0},e)}]}},{guideBlockName:"visual-graph-expand",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$rootScope,n=i.$route,a=`.node-wrapper[id^="${e.iri}"] circle`;return[{guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-expand.title",content:"guide.step_plugin.visual-graph-expand.content",url:"/graphs-visualizations",canBePaused:!1,class:"visual-graph-expand-node-guide-dialog",elementSelector:a,advanceOn:void 0,onNextClick:e=>{t.graphVizExpandNode(a),e.getCurrentStep().hide(),t.awaitAlphaDropD3(null,o)().then(()=>{e.next()})},show:e=>()=>{$(a).on("dblclick.onNodeDbClicked",(e=>()=>{t.graphVizExpandNode(a),e.getCurrentStep().hide(),t.awaitAlphaDropD3(null,o)().then(()=>{e.next()})})(e))},hide:()=>()=>{$(a).off("dblclick.onNodeDbClicked")},beforeShowPromise:()=>new Promise((function(e,i){n.reload(),t.deferredShow(50)().then(()=>{t.awaitAlphaDropD3(a,o)().then(()=>e()).catch(e=>i(e))})})),initPreviousStep:(e,i)=>new Promise((function(n,l){const r=e.ShepherdService.getPreviousStepFromHistory(i);r.options.initPreviousStep(e,r.id).then(()=>{e.ShepherdService.getCurrentStepId()===i?n():(t.graphVizExpandNode(a),t.deferredShow(50)().then(()=>{t.awaitAlphaDropD3(null,o)().then(()=>n()).catch(e=>l(e))}))}).catch(e=>l(e))}))},e)}]}},{guideBlockName:"visual-graph-properties",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$rootScope,n=`.node-wrapper[id^="${e.iri}"] circle`;let a,l;const r=[{guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties.title",content:"guide.step_plugin.visual-graph-properties.content",url:"/graphs-visualizations",class:"visual-graph-show-properties-intro-guide-dialog",elementSelector:n,canBePaused:!1,advanceOn:void 0,show:e=>()=>{$(n).on("click.onNodeClicked",((e,i)=>o=>{l?o.timeStamp-a<400&&(e.$timeout.cancel(l),l=null):(a=o.timeStamp,l=e.$timeout((function(){t.graphVizShowNodeInfo(n),l=null,i.next()}),500))})(i,e))},hide:()=>()=>{$(n).off("click.onNodeClicked")},onNextClick:(e,i)=>{t.graphVizShowNodeInfo(i.elementSelector),e.next()},beforeShowPromise:t.awaitAlphaDropD3(n,o)},e)},{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-side-panel.title",content:"guide.step_plugin.visual-graph-properties-side-panel.content",url:"/graphs-visualizations",elementSelector:".rdf-side-panel-content",class:"visual-graph-side-panel-content-guide-dialog",canBePaused:!1,placement:"left",beforeShowPromise:t.deferredShow(500),onPreviousClick:()=>new Promise((function(e){t.waitFor(s,3).then(()=>{$(s).trigger("click"),e()}).catch(()=>e())}))},e)}];angular.isArray(e.focusProperties)&&e.focusProperties.forEach(i=>{angular.isObject(i)||(i={property:i});const o="types"===i.property?"-types":"-property",n=i.skipGenericMessage&&i.message?null:"guide.step_plugin.visual-graph-properties-focus"+o+".content";r.push({guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-focus"+o+".title",content:n,url:"/graphs-visualizations",class:"visual-graph-properties-focus-guide-dialog",canBePaused:!1,placement:"left",elementSelector:t.getGuideElementSelector("graph-visualization-node-info-"+i.property),focusProperty:i.property,extraContent:i.message},e)})});const s=t.getGuideElementSelector("close-info-panel");return r.push({guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-side-panel-close.title",content:"guide.step_plugin.visual-graph-properties-side-panel-close.content",url:"/graphs-visualizations",canBePaused:!1,placement:"left",class:"visual-graph-properties-side-panel-close-guide-dialog",elementSelector:s,advanceOn:{selector:s,event:"click"},beforeShowPromise:()=>new Promise((function(e){t.graphVizShowNodeInfo(n),t.deferredShow(500)().then(()=>e())})),onNextClick:()=>t.waitFor(s,3).then(()=>$(s).trigger("click"))},e)}),r}},{guideBlockName:"visual-graph-link-focus",getSteps:(e,i)=>{const n=i.GuideUtils,a=i.$rootScope,l=`.link-wrapper[id^="${e.fromIri}>${e.toIri}"]`;return[{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-link-focus.title",content:"guide.step_plugin.visual-graph-link-focus.content",url:"/graphs-visualizations",canBePaused:!1,class:"visual-graph-link-focus-guide-dialog",elementSelector:l,show:t,hide:o,beforeShowPromise:n.awaitAlphaDropD3(l,a)},e)}]}},{guideBlockName:"visual-graph-node-focus",getSteps:(e,i)=>{const n=i.GuideUtils,a=i.$rootScope,l=`.node-wrapper[id^="${e.iri}"] circle`;return[{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-node-focus.title",content:"guide.step_plugin.visual-graph-node-focus.content",url:"/graphs-visualizations",canBePaused:!1,elementSelector:l,class:"visual-graph-node-focus-guide-dialog",show:t,hide:o,beforeShowPromise:n.awaitAlphaDropD3(l,a),initPreviousStep:(e,i)=>new Promise((t,o)=>{if(n.isVisible(l))t();else{const n=e.ShepherdService.getPreviousStepFromHistory(i);n.options.initPreviousStep(e,n.id).then(()=>t()).catch(e=>o(e))}})},e)}]}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[128],{236:function(e,i){const t=()=>()=>{$(".node-wrapper").addClass("disable-visual-graph-node")},o=()=>()=>{$(".node-wrapper").removeClass("disable-visual-graph-node")};PluginRegistry.add("guide.step",[{guideBlockName:"visual-graph",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$location,n=i.$route;return e.mainAction="visual-graph",[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"visual-graph",showIntro:!0},e)},{guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_input_IRI.content",forceReload:!0,url:"/graphs-visualizations",elementSelector:t.getGuideElementSelector("graphVisualisationSearchInputNotConfigured"," input"),class:"visual-graph-input-iri-guide-dialog",onNextValidate:e=>Promise.resolve(t.validateTextInput(e.elementSelector,e.easyGraphInputText))},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_show_autocomplete.content",url:"/graphs-visualizations",elementSelector:t.getGuideElementSelector("autocomplete-"+e.iri),class:"visual-graph-show-autocomplete-guide-dialog",onNextClick:(e,i)=>t.waitFor(i.elementSelector,3).then(()=>$(i.elementSelector).trigger("click")),canBePaused:!1,forceReload:!0},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_intro.content",url:"/graphs-visualizations",elementSelector:".graph-visualization",placement:"left",onPreviousClick:()=>new Promise((function(i,a){o.url("/graphs-visualizations"),n.reload();const l=t.getGuideElementSelector("graphVisualisationSearchInputNotConfigured"," input");t.waitFor(l,3).then(()=>{t.validateTextInput(l,e.easyGraphInputText),i()}).catch(e=>a(e))})),initPreviousStep:()=>new Promise((function(i,a){const l="/graphs-visualizations?uri="+e.iri;l!==decodeURIComponent(o.url())?(o.url(l),n.reload(),t.waitFor(`.node-wrapper[id^="${e.iri}"] circle`,3).then(()=>i()).catch(e=>a(e))):i()})),canBePaused:!1,forceReload:!0},e)}]}},{guideBlockName:"visual-graph-expand",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$rootScope,n=i.$route,a=`.node-wrapper[id^="${e.iri}"] circle`;return[{guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-expand.title",content:"guide.step_plugin.visual-graph-expand.content",url:"/graphs-visualizations",canBePaused:!1,class:"visual-graph-expand-node-guide-dialog",elementSelector:a,advanceOn:void 0,onNextClick:e=>{t.graphVizExpandNode(a),e.getCurrentStep().hide(),t.awaitAlphaDropD3(null,o)().then(()=>{e.next()})},show:e=>()=>{$(a).on("dblclick.onNodeDbClicked",(e=>()=>{t.graphVizExpandNode(a),e.getCurrentStep().hide(),t.awaitAlphaDropD3(null,o)().then(()=>{e.next()})})(e))},hide:()=>()=>{$(a).off("dblclick.onNodeDbClicked")},beforeShowPromise:()=>new Promise((function(e,i){n.reload(),t.deferredShow(50)().then(()=>{t.awaitAlphaDropD3(a,o)().then(()=>e()).catch(e=>i(e))})})),initPreviousStep:(e,i)=>new Promise((function(n,l){const r=e.ShepherdService.getPreviousStepFromHistory(i);r.options.initPreviousStep(e,r.id).then(()=>{e.ShepherdService.getCurrentStepId()===i?n():(t.graphVizExpandNode(a),t.deferredShow(50)().then(()=>{t.awaitAlphaDropD3(null,o)().then(()=>n()).catch(e=>l(e))}))}).catch(e=>l(e))}))},e)}]}},{guideBlockName:"visual-graph-properties",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$rootScope,n=`.node-wrapper[id^="${e.iri}"] circle`;let a,l;const r=[{guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties.title",content:"guide.step_plugin.visual-graph-properties.content",url:"/graphs-visualizations",class:"visual-graph-show-properties-intro-guide-dialog",elementSelector:n,canBePaused:!1,advanceOn:void 0,show:e=>()=>{$(n).on("click.onNodeClicked",((e,i)=>o=>{l?o.timeStamp-a<400&&(e.$timeout.cancel(l),l=null):(a=o.timeStamp,l=e.$timeout((function(){t.graphVizShowNodeInfo(n),l=null,i.next()}),500))})(i,e))},hide:()=>()=>{$(n).off("click.onNodeClicked")},onNextClick:(e,i)=>{t.graphVizShowNodeInfo(i.elementSelector),e.next()},beforeShowPromise:t.awaitAlphaDropD3(n,o)},e)},{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-side-panel.title",content:"guide.step_plugin.visual-graph-properties-side-panel.content",url:"/graphs-visualizations",elementSelector:".rdf-side-panel-content",class:"visual-graph-side-panel-content-guide-dialog",canBePaused:!1,placement:"left",beforeShowPromise:t.deferredShow(500),onPreviousClick:()=>new Promise((function(e){t.waitFor(s,3).then(()=>{$(s).trigger("click"),e()}).catch(()=>e())}))},e)}];angular.isArray(e.focusProperties)&&e.focusProperties.forEach(i=>{angular.isObject(i)||(i={property:i});const o="types"===i.property?"-types":"-property",n=i.skipGenericMessage&&i.message?null:"guide.step_plugin.visual-graph-properties-focus"+o+".content";r.push({guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-focus"+o+".title",content:n,url:"/graphs-visualizations",class:"visual-graph-properties-focus-guide-dialog",canBePaused:!1,placement:"left",elementSelector:t.getGuideElementSelector("graph-visualization-node-info-"+i.property),focusProperty:i.property,extraContent:i.message},e)})});const s=t.getGuideElementSelector("close-info-panel");return r.push({guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-side-panel-close.title",content:"guide.step_plugin.visual-graph-properties-side-panel-close.content",url:"/graphs-visualizations",canBePaused:!1,placement:"left",class:"visual-graph-properties-side-panel-close-guide-dialog",elementSelector:s,advanceOn:{selector:s,event:"click"},beforeShowPromise:()=>new Promise((function(e){t.graphVizShowNodeInfo(n),t.deferredShow(500)().then(()=>e())})),onNextClick:()=>t.waitFor(s,3).then(()=>$(s).trigger("click"))},e)}),r}},{guideBlockName:"visual-graph-link-focus",getSteps:(e,i)=>{const n=i.GuideUtils,a=i.$rootScope,l=`.link-wrapper[id^="${e.fromIri}>${e.toIri}"]`;return[{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-link-focus.title",content:"guide.step_plugin.visual-graph-link-focus.content",url:"/graphs-visualizations",canBePaused:!1,class:"visual-graph-link-focus-guide-dialog",elementSelector:l,show:t,hide:o,beforeShowPromise:n.awaitAlphaDropD3(l,a)},e)}]}},{guideBlockName:"visual-graph-node-focus",getSteps:(e,i)=>{const n=i.GuideUtils,a=i.$rootScope,l=`.node-wrapper[id^="${e.iri}"] circle`;return[{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-node-focus.title",content:"guide.step_plugin.visual-graph-node-focus.content",url:"/graphs-visualizations",canBePaused:!1,elementSelector:l,class:"visual-graph-node-focus-guide-dialog",show:t,hide:o,beforeShowPromise:n.awaitAlphaDropD3(l,a),initPreviousStep:(e,i)=>new Promise((t,o)=>{if(n.isVisible(l))t();else{const n=e.ShepherdService.getPreviousStepFromHistory(i);n.options.initPreviousStep(e,n.id).then(()=>t()).catch(e=>o(e))}})},e)}]}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{239:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"welcome",getSteps:(e,t)=>{const n=t.GuideUtils,i=t.$translate,o=t.$interpolate;return[{guideBlockName:"info-message",options:{title:"guide.step_plugin.welcome.title",content:"guide.step_plugin.welcome.content",infoIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.info-icon-hint",e),mouseIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.mouse-icon-hint",e),inputIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.input-icon-hint",e)}},{guideBlockName:"info-message",options:{title:"guide.step_plugin.welcome.title",content:"guide.step_plugin.welcome-what.content"}}]}}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[129],{237:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"welcome",getSteps:(e,t)=>{const n=t.GuideUtils,i=t.$translate,o=t.$interpolate;return[{guideBlockName:"info-message",options:{title:"guide.step_plugin.welcome.title",content:"guide.step_plugin.welcome.content",infoIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.info-icon-hint",e),mouseIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.mouse-icon-hint",e),inputIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.input-icon-hint",e)}},{guideBlockName:"info-message",options:{title:"guide.step_plugin.welcome.title",content:"guide.step_plugin.welcome-what.content"}}]}}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12,97],{152:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"createClusterSvgElement",(function(){return a})),n.d(e,"createClusterZone",(function(){return s})),n.d(e,"setCreateClusterZone",(function(){return c})),n.d(e,"updateClusterZoneLabels",(function(){return i})),n.d(e,"moveElement",(function(){return d})),n.d(e,"createNodes",(function(){return l})),n.d(e,"updateNodes",(function(){return u})),n.d(e,"createLinks",(function(){return p})),n.d(e,"updateLinks",(function(){return h})),n.d(e,"setLinkColor",(function(){return y})),n.d(e,"setLinkStyle",(function(){return g})),n.d(e,"positionNodesOnClusterZone",(function(){return S}));var o=n(122);const r={ontoOrange:"var(--primary-color)",ontoBlue:"var(--secondary-color)",ontoGreen:"var(--tertiary-color)",ontoGrey:"var(--gray-color)"};function a(t){return d3.select(t).append("svg")}function s(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function c(t,e,n,o=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",o),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),o&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function i(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function d(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function l(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n),r=o.merge(t).attr("id","node-group").classed("legend",n);return function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("text").attr("y",e+15).attr("class","id id-host"),o.append("rect").attr("class","node-info-background").attr("rx",6),o.append("text").attr("y",e+45).attr("class","node-info-text"))}(o,e,n),r}function u(t){!function(t){t.select(".node-icon").classed("icon-any",(function(t){return!f(t)})).classed("fa-d3",f).text((function(t){return f(t)?function(t){if(_.isEmpty(t.recoveryStatus))return"";switch(t.recoveryStatus.state){case o.RecoveryState.SEARCHING_FOR_NODE:return"";case o.RecoveryState.WAITING_FOR_SNAPSHOT:return"";case o.RecoveryState.RECEIVING_SNAPSHOT:return"";case o.RecoveryState.APPLYING_SNAPSHOT:return"";case o.RecoveryState.BUILDING_SNAPSHOT:return"";case o.RecoveryState.SENDING_SNAPSHOT:return"";default:return""}}(t):function(t){if(t.nodeState===o.NodeState.LEADER)return"";if(t.nodeState===o.NodeState.FOLLOWER)return"";if(t.nodeState===o.NodeState.CANDIDATE)return"";if(t.nodeState===o.NodeState.NO_CONNECTION)return"";if(t.nodeState===o.NodeState.OUT_OF_SYNC)return"";if(t.nodeState===o.NodeState.READ_ONLY)return"";if(t.nodeState===o.NodeState.RESTRICTED)return"";return""}(t)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){t.select(".node-info-text").each((function(t){t.infoNode=this})).text((function(t){return t.recoveryStatus&&t.recoveryStatus.message})),t.select(".node-info-background").attr("width",(function(t){return d3.select(t.infoNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.infoNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.infoNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.infoNode).node().getBBox().y-5})).classed("hidden",(function(t){return _.isEmpty(t.recoveryStatus)}))}(t)}function f(t){return!_.isEmpty(t.recoveryStatus)}function p(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function h(t,e){t.attr("stroke",y).style("stroke-dasharray",g).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,a=o.y-n.y,s=Math.sqrt(r*r+a*a),c=r/s,i=a/s,d=n.x+55*c,l=n.y+55*i,u=o.x-55*c,f=o.y-55*i;return"M"+d+","+l+"L"+u+","+f}(t,e))}function y(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function g(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function S(t,e,n,o){t.attr("transform",(r,a)=>{const s=2*Math.PI*a/t.size(),c=e+Math.cos(s)*o,i=n+Math.sin(s)*o;return r.x=c,r.y=i,`translate(${c}, ${i})`})}},201:function(t,e,n){"use strict";n.r(e);n(10);var o=n(152),r=n(122),a=n(407);let s=240;const c=angular.module("graphdb.framework.clustermanagement.directives",["graphdb.framework.utils.localstorageadapter"]),i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node"}},d={node_state:"legend_node_state",link_state:"legend_link_state"};c.directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$rootScope",function(t,e,n,r,c,f){return{restrict:"A",link:function(p,h){const y=p.isAdmin();function g(t,e=""){Object.keys(t).forEach(n=>{let o="";e&&(o+=e),o+="."+n;const r=t[n];"string"==typeof r?t[n]=c.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&g(r,o)})}function S(){const o="collapsedMenu"===e.get(n.MENU_STATE);return s=o?70:240,Math.max(Math.floor(.95*(t.innerWidth-s)),600)}function m(){return Math.max(.95*(t.innerHeight-250),600)}let N,x,v;p.showLegend=!1,f.$on("$translateChangeSuccess",(function(){g(i),function(){o.updateClusterZoneLabels(T,O,i),Object.keys(d).forEach(t=>{d3.select("#"+t).text(B(t))}),N&&N.remove();D(),F()}()})),p.$on("$destroy",(function(){M.destroy()}));let T,E,O,w,C,k,L=S(),b=m(),A=Math.min(L,b)/2-100,R=L/2,I=b/2;function B(t){return i[d[t]]}function D(){N=E.append("g").attr("id","legend-group").classed("hidden",!p.showLegend).classed("legend-group",!0)}p.width=function(){return L},p.height=function(){return b};const M=Object(a.a)().attr("class","d3-tip").customPosition((function(){const t=k.getBoundingClientRect(),e=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollLeft||document.body.scrollLeft;return{left:t.left+n+"px",top:t.top-30+e+"px"}})).html((function(t){return t.toolTip})),G=function(t,e){k=e,M.show(t,k)},Y=function(){k=null,M.hide()};function F(){const t=l(),e=u();!function(t,e){t.forEach(t=>{const e=_.get(i,t.customText);t.toolTip=t.hostname=e}),e.forEach(t=>{t.toolTip=t.linkTypeText=i[t.linkTypeKey]})}(t,e),N.append("rect").attr("id","legend-background").attr("class","legend-background").attr("fill","#EEEEEE");const n=N.append("text").attr("id","node_state").attr("class","id id-host").attr("x",200).attr("y",24).text(B("node_state")),r=N.append("text").attr("id","link_state").attr("class","id id-host").attr("x",200).attr("y",319).text(B("link_state")),a=N.selectAll("#node-group").data(t),s=o.createNodes(a,25,!0);o.updateNodes(s),s.select(".node.member").on("mouseover",(function(t,e){t.stopPropagation(),G(e,this)})).on("mouseout",Y),s.attr("transform",(function(t){const e=Math.floor(t.id/4);return`translate(${35+65*(t.id%4)}, ${59+65*e})`})),N.call((function(t){x=t.node().getBBox().width})),n.attr("x",10+x/2),r.attr("x",10+x/2);const c=x/3,d=N.append("g").attr("id","links-group");d.attr("transform","translate(10, 329)"),e.forEach((t,e)=>{const n=c-5,r=d.append("g").classed("link",!0).classed("legend",!0).attr("transform",()=>`translate(${e*c}, 0)`);r.append("path").classed("link",!0).attr("stroke-dasharray",()=>o.setLinkStyle(t)).attr("stroke",()=>o.setLinkColor(t)).attr("d",()=>`M5,0,${n},0`),r.append("foreignObject").attr("y",10).attr("x",5).attr("width",c-10).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host").style("font-size","9px").html(t.linkTypeText),r.on("mouseover",(function(e){e.stopPropagation(),G(t,this)})).on("mouseout",Y)}),N.call((function(t){v=t.node().getBBox().height,x=t.node().getBBox().width})),N.select(".legend-background").attr("height",v+50).attr("width",x+20).attr("rx","6"),P()}function P(){const t=b-(v+40+50);o.moveElement(N,0,t)}function H(){A=Math.min(L,b)/2-100,R=L/2,I=b/2,o.moveElement(O,R,I),O.select(".cluster-zone").attr("r",A)}function U(){H(),T!==p.clusterModel.hasCluster&&(T=!!p.clusterModel.hasCluster,function(t){let e;o.setCreateClusterZone(t,O,i,y),!t&&y&&(e=()=>{p.$apply((function(){p.showCreateClusterDialog()}))}),O.on("mouseup",e)}(T));const t=_.cloneDeep(p.clusterModel.nodes)||[],e=_.cloneDeep(p.clusterModel.links)||[];!function(t){t.forEach(t=>{if(t.hostname=r.shortenIri(t.endpoint),!_.isEmpty(t.recoveryStatus)){let e="cluster_management.cluster_graphical_view.recovery_state."+t.recoveryStatus.state.toLowerCase();t.recoveryStatus.affectedNodes&&t.recoveryStatus.affectedNodes.length>0&&(e+="_with_affected_node"),t.recoveryStatus.message=c.instant(e,{node:t.recoveryStatus.affectedNodes.join(", ")})}});const e=w.selectAll("#node-group").data(t,t=>t.address),n=o.createNodes(e,50);n.on("click",(t,e)=>{p.childContext.selectNode(e);const n=d3.select(".nodetooltip"),o=$(window).width();t.pageX<o/2?(n.style("left",t.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-t.pageX+"px")),n.style("top",t.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,R,I,A)}(t),function(t,e){const n=C.selectAll(".link").data(t,t=>t.id);o.createLinks(n),o.updateLinks(n,e)}(e,t)}p.childContext.redraw=U,p.childContext.resize=function(){L=S(),b=m(),E.attr("width",L),E.attr("height",b),U(),P()},p.childContext.toggleLegend=()=>{p.showLegend=!p.showLegend,N.classed("hidden",!p.showLegend)},g(i),function(t){E=o.createClusterSvgElement(h[0]).attr("width",L).attr("height",b),E.call(M),O=o.createClusterZone(E,t),C=E.append("g").attr("id","links-group"),w=E.append("g").attr("id","nodes-group"),D()}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),F(),U()}}}]);const l=function(){const t=[];return t.push({nodeState:r.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:r.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:r.NodeState.CANDIDATE,customText:"node_state_candidate"}),t.push({nodeState:r.NodeState.NO_CLUSTER,customText:"node_state_no_cluster"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"node_state_out_of_sync"}),t.push({nodeState:r.NodeState.NO_CONNECTION,customText:"node_state_no_connection"}),t.push({nodeState:r.NodeState.READ_ONLY,customText:"node_state_read_only"}),t.push({nodeState:r.NodeState.RESTRICTED,customText:"node_state_restricted"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.searching_for_node",recoveryStatus:{state:r.RecoveryState.SEARCHING_FOR_NODE}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.waiting_for_snapshot",recoveryStatus:{state:r.RecoveryState.WAITING_FOR_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.receiving_snapshot",recoveryStatus:{state:r.RecoveryState.RECEIVING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.applying_snapshot",recoveryStatus:{state:r.RecoveryState.APPLYING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.building_snapshot",recoveryStatus:{state:r.RecoveryState.BUILDING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.sending_snapshot",recoveryStatus:{state:r.RecoveryState.SENDING_SNAPSHOT}}),t.forEach((t,e)=>t.id=e),t},u=function(){const t=[];return t.push({status:r.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:r.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:r.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t}},407:function(t,e,n){"use strict";e.a=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},o=u(),r=null,a=null,s=null,c=null;function i(t){var e;r="svg"===(e=(e=t).node()).tagName.toLowerCase()?e:e.ownerSVGElement,a=r.createSVGPoint(),document.body.appendChild(o)}i.show=function(){var o=Array.prototype.slice.call(arguments);o[o.length-1]instanceof SVGElement&&(s=o.pop());var r,a=n.apply(this,o),u=e.apply(this,o),p=t.apply(this,o),h=f(),y=l.length,_=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,S=c.apply(this,o);for(h.html(a).style("opacity",1).style("pointer-events","all");y--;)h.classed(l[y],!1);const m=o.filter(t=>t instanceof Event);return r=d.get(p).apply(this,m),S?Object.keys(S).forEach((function(t){h.style(t,S[t])})):h.classed(p,!0).style("top",r.top+u[0]+_+"px").style("left",r.left+u[1]+g+"px"),i},i.hide=function(){return f().style("opacity",0).style("pointer-events","none"),i},i.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),i},i.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),i},i.direction=function(e){return arguments.length?(t=null==e?e:h(e),i):t},i.offset=function(t){return arguments.length?(e=null==t?t:h(t),i):e},i.html=function(t){return arguments.length?(n=null==t?t:h(t),i):n},i.customPosition=function(t){return arguments.length?(c=null==t?t:h(t),i):c},i.destroy=function(){return o&&(f().remove(),o=null),i};var d=new Map(Object.entries({n:function(t){var e=p(t);return{top:e.n.y-o.offsetHeight,left:e.n.x-o.offsetWidth/2}},s:function(t){var e=p(t);return{top:e.s.y,left:e.s.x-o.offsetWidth/2}},e:function(t){var e=p(t);return{top:e.e.y-o.offsetHeight/2,left:e.e.x}},w:function(t){var e=p(t);return{top:e.w.y-o.offsetHeight/2,left:e.w.x-o.offsetWidth}},nw:function(t){var e=p(t);return{top:e.nw.y-o.offsetHeight,left:e.nw.x-o.offsetWidth}},ne:function(t){var e=p(t);return{top:e.ne.y-o.offsetHeight,left:e.ne.x}},sw:function(t){var e=p(t);return{top:e.sw.y,left:e.sw.x-o.offsetWidth}},se:function(t){var e=p(t);return{top:e.se.y,left:e.e.x}}})),l=d.keys();function u(){var t=d3.select(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null===o&&(o=u(),document.body.appendChild(o)),d3.select(o)}function p(t){for(var e=s||t.target;void 0===e.getScreenCTM&&"undefined"===e.parentNode;)e=e.parentNode;var n={},o=e.getScreenCTM(),r=e.getBBox(),c=r.width,i=r.height,d=r.x,l=r.y;return a.x=d,a.y=l,n.nw=a.matrixTransform(o),a.x+=c,n.ne=a.matrixTransform(o),a.y+=i,n.se=a.matrixTransform(o),a.x-=c,n.sw=a.matrixTransform(o),a.y-=i/2,n.w=a.matrixTransform(o),a.x+=c,n.e=a.matrixTransform(o),a.x-=c/2,a.y-=i/2,n.n=a.matrixTransform(o),a.y+=i,n.s=a.matrixTransform(o),n}function h(t){return"function"==typeof t?t:function(){return t}}return i}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[13,96],{140:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"createClusterSvgElement",(function(){return a})),n.d(e,"createClusterZone",(function(){return s})),n.d(e,"setCreateClusterZone",(function(){return c})),n.d(e,"updateClusterZoneLabels",(function(){return i})),n.d(e,"moveElement",(function(){return d})),n.d(e,"createNodes",(function(){return l})),n.d(e,"updateNodes",(function(){return u})),n.d(e,"createLinks",(function(){return p})),n.d(e,"updateLinks",(function(){return h})),n.d(e,"setLinkColor",(function(){return y})),n.d(e,"setLinkStyle",(function(){return g})),n.d(e,"positionNodesOnClusterZone",(function(){return S}));var o=n(108);const r={ontoOrange:"var(--primary-color)",ontoBlue:"var(--secondary-color)",ontoGreen:"var(--tertiary-color)",ontoGrey:"var(--gray-color)"};function a(t){return d3.select(t).append("svg")}function s(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function c(t,e,n,o=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",o),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),o&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function i(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function d(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function l(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n),r=o.merge(t).attr("id","node-group").classed("legend",n);return function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("text").attr("y",e+15).attr("class","id id-host"),o.append("rect").attr("class","node-info-background").attr("rx",6),o.append("text").attr("y",e+45).attr("class","node-info-text"))}(o,e,n),r}function u(t){!function(t){t.select(".node-icon").classed("icon-any",(function(t){return!f(t)})).classed("fa-d3",f).text((function(t){return f(t)?function(t){if(_.isEmpty(t.recoveryStatus))return"";switch(t.recoveryStatus.state){case o.RecoveryState.SEARCHING_FOR_NODE:return"";case o.RecoveryState.WAITING_FOR_SNAPSHOT:return"";case o.RecoveryState.RECEIVING_SNAPSHOT:return"";case o.RecoveryState.APPLYING_SNAPSHOT:return"";case o.RecoveryState.BUILDING_SNAPSHOT:return"";case o.RecoveryState.SENDING_SNAPSHOT:return"";default:return""}}(t):function(t){if(t.nodeState===o.NodeState.LEADER)return"";if(t.nodeState===o.NodeState.FOLLOWER)return"";if(t.nodeState===o.NodeState.CANDIDATE)return"";if(t.nodeState===o.NodeState.NO_CONNECTION)return"";if(t.nodeState===o.NodeState.OUT_OF_SYNC)return"";if(t.nodeState===o.NodeState.READ_ONLY)return"";if(t.nodeState===o.NodeState.RESTRICTED)return"";return""}(t)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){t.select(".node-info-text").each((function(t){t.infoNode=this})).text((function(t){return t.recoveryStatus&&t.recoveryStatus.message})),t.select(".node-info-background").attr("width",(function(t){return d3.select(t.infoNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.infoNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.infoNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.infoNode).node().getBBox().y-5})).classed("hidden",(function(t){return _.isEmpty(t.recoveryStatus)}))}(t)}function f(t){return!_.isEmpty(t.recoveryStatus)}function p(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function h(t,e){t.attr("stroke",y).style("stroke-dasharray",g).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,a=o.y-n.y,s=Math.sqrt(r*r+a*a),c=r/s,i=a/s,d=n.x+55*c,l=n.y+55*i,u=o.x-55*c,f=o.y-55*i;return"M"+d+","+l+"L"+u+","+f}(t,e))}function y(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function g(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function S(t,e,n,o){t.attr("transform",(r,a)=>{const s=2*Math.PI*a/t.size(),c=e+Math.cos(s)*o,i=n+Math.sin(s)*o;return r.x=c,r.y=i,`translate(${c}, ${i})`})}},199:function(t,e,n){"use strict";n.r(e);n(10);var o=n(140),r=n(108),a=n(403);let s=240;const c=angular.module("graphdb.framework.clustermanagement.directives",["graphdb.framework.utils.localstorageadapter"]),i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node"}},d={node_state:"legend_node_state",link_state:"legend_link_state"};c.directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$rootScope",function(t,e,n,r,c,f){return{restrict:"A",link:function(p,h){const y=p.isAdmin();function g(t,e=""){Object.keys(t).forEach(n=>{let o="";e&&(o+=e),o+="."+n;const r=t[n];"string"==typeof r?t[n]=c.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&g(r,o)})}function S(){const o="collapsedMenu"===e.get(n.MENU_STATE);return s=o?70:240,Math.max(Math.floor(.95*(t.innerWidth-s)),600)}function m(){return Math.max(.95*(t.innerHeight-250),600)}let N,x,v;p.showLegend=!1,f.$on("$translateChangeSuccess",(function(){g(i),function(){o.updateClusterZoneLabels(T,O,i),Object.keys(d).forEach(t=>{d3.select("#"+t).text(B(t))}),N&&N.remove();D(),F()}()})),p.$on("$destroy",(function(){M.destroy()}));let T,E,O,w,C,k,L=S(),b=m(),A=Math.min(L,b)/2-100,R=L/2,I=b/2;function B(t){return i[d[t]]}function D(){N=E.append("g").attr("id","legend-group").classed("hidden",!p.showLegend).classed("legend-group",!0)}p.width=function(){return L},p.height=function(){return b};const M=Object(a.a)().attr("class","d3-tip").customPosition((function(){const t=k.getBoundingClientRect(),e=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollLeft||document.body.scrollLeft;return{left:t.left+n+"px",top:t.top-30+e+"px"}})).html((function(t){return t.toolTip})),G=function(t,e){k=e,M.show(t,k)},Y=function(){k=null,M.hide()};function F(){const t=l(),e=u();!function(t,e){t.forEach(t=>{const e=_.get(i,t.customText);t.toolTip=t.hostname=e}),e.forEach(t=>{t.toolTip=t.linkTypeText=i[t.linkTypeKey]})}(t,e),N.append("rect").attr("id","legend-background").attr("class","legend-background").attr("fill","#EEEEEE");const n=N.append("text").attr("id","node_state").attr("class","id id-host").attr("x",200).attr("y",24).text(B("node_state")),r=N.append("text").attr("id","link_state").attr("class","id id-host").attr("x",200).attr("y",319).text(B("link_state")),a=N.selectAll("#node-group").data(t),s=o.createNodes(a,25,!0);o.updateNodes(s),s.select(".node.member").on("mouseover",(function(t,e){t.stopPropagation(),G(e,this)})).on("mouseout",Y),s.attr("transform",(function(t){const e=Math.floor(t.id/4);return`translate(${35+65*(t.id%4)}, ${59+65*e})`})),N.call((function(t){x=t.node().getBBox().width})),n.attr("x",10+x/2),r.attr("x",10+x/2);const c=x/3,d=N.append("g").attr("id","links-group");d.attr("transform","translate(10, 329)"),e.forEach((t,e)=>{const n=c-5,r=d.append("g").classed("link",!0).classed("legend",!0).attr("transform",()=>`translate(${e*c}, 0)`);r.append("path").classed("link",!0).attr("stroke-dasharray",()=>o.setLinkStyle(t)).attr("stroke",()=>o.setLinkColor(t)).attr("d",()=>`M5,0,${n},0`),r.append("foreignObject").attr("y",10).attr("x",5).attr("width",c-10).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host").style("font-size","9px").html(t.linkTypeText),r.on("mouseover",(function(e){e.stopPropagation(),G(t,this)})).on("mouseout",Y)}),N.call((function(t){v=t.node().getBBox().height,x=t.node().getBBox().width})),N.select(".legend-background").attr("height",v+50).attr("width",x+20).attr("rx","6"),P()}function P(){const t=b-(v+40+50);o.moveElement(N,0,t)}function H(){A=Math.min(L,b)/2-100,R=L/2,I=b/2,o.moveElement(O,R,I),O.select(".cluster-zone").attr("r",A)}function U(){H(),T!==p.clusterModel.hasCluster&&(T=!!p.clusterModel.hasCluster,function(t){let e;o.setCreateClusterZone(t,O,i,y),!t&&y&&(e=()=>{p.$apply((function(){p.showCreateClusterDialog()}))}),O.on("mouseup",e)}(T));const t=_.cloneDeep(p.clusterModel.nodes)||[],e=_.cloneDeep(p.clusterModel.links)||[];!function(t){t.forEach(t=>{if(t.hostname=r.shortenIri(t.endpoint),!_.isEmpty(t.recoveryStatus)){let e="cluster_management.cluster_graphical_view.recovery_state."+t.recoveryStatus.state.toLowerCase();t.recoveryStatus.affectedNodes&&t.recoveryStatus.affectedNodes.length>0&&(e+="_with_affected_node"),t.recoveryStatus.message=c.instant(e,{node:t.recoveryStatus.affectedNodes.join(", ")})}});const e=w.selectAll("#node-group").data(t,t=>t.address),n=o.createNodes(e,50);n.on("click",(t,e)=>{p.childContext.selectNode(e);const n=d3.select(".nodetooltip"),o=$(window).width();t.pageX<o/2?(n.style("left",t.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-t.pageX+"px")),n.style("top",t.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,R,I,A)}(t),function(t,e){const n=C.selectAll(".link").data(t,t=>t.id);o.createLinks(n),o.updateLinks(n,e)}(e,t)}p.childContext.redraw=U,p.childContext.resize=function(){L=S(),b=m(),E.attr("width",L),E.attr("height",b),U(),P()},p.childContext.toggleLegend=()=>{p.showLegend=!p.showLegend,N.classed("hidden",!p.showLegend)},g(i),function(t){E=o.createClusterSvgElement(h[0]).attr("width",L).attr("height",b),E.call(M),O=o.createClusterZone(E,t),C=E.append("g").attr("id","links-group"),w=E.append("g").attr("id","nodes-group"),D()}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),F(),U()}}}]);const l=function(){const t=[];return t.push({nodeState:r.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:r.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:r.NodeState.CANDIDATE,customText:"node_state_candidate"}),t.push({nodeState:r.NodeState.NO_CLUSTER,customText:"node_state_no_cluster"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"node_state_out_of_sync"}),t.push({nodeState:r.NodeState.NO_CONNECTION,customText:"node_state_no_connection"}),t.push({nodeState:r.NodeState.READ_ONLY,customText:"node_state_read_only"}),t.push({nodeState:r.NodeState.RESTRICTED,customText:"node_state_restricted"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.searching_for_node",recoveryStatus:{state:r.RecoveryState.SEARCHING_FOR_NODE}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.waiting_for_snapshot",recoveryStatus:{state:r.RecoveryState.WAITING_FOR_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.receiving_snapshot",recoveryStatus:{state:r.RecoveryState.RECEIVING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.applying_snapshot",recoveryStatus:{state:r.RecoveryState.APPLYING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.building_snapshot",recoveryStatus:{state:r.RecoveryState.BUILDING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.sending_snapshot",recoveryStatus:{state:r.RecoveryState.SENDING_SNAPSHOT}}),t.forEach((t,e)=>t.id=e),t},u=function(){const t=[];return t.push({status:r.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:r.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:r.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t}},403:function(t,e,n){"use strict";e.a=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},o=u(),r=null,a=null,s=null,c=null;function i(t){var e;r="svg"===(e=(e=t).node()).tagName.toLowerCase()?e:e.ownerSVGElement,a=r.createSVGPoint(),document.body.appendChild(o)}i.show=function(){var o=Array.prototype.slice.call(arguments);o[o.length-1]instanceof SVGElement&&(s=o.pop());var r,a=n.apply(this,o),u=e.apply(this,o),p=t.apply(this,o),h=f(),y=l.length,_=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,S=c.apply(this,o);for(h.html(a).style("opacity",1).style("pointer-events","all");y--;)h.classed(l[y],!1);const m=o.filter(t=>t instanceof Event);return r=d.get(p).apply(this,m),S?Object.keys(S).forEach((function(t){h.style(t,S[t])})):h.classed(p,!0).style("top",r.top+u[0]+_+"px").style("left",r.left+u[1]+g+"px"),i},i.hide=function(){return f().style("opacity",0).style("pointer-events","none"),i},i.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),i},i.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),i},i.direction=function(e){return arguments.length?(t=null==e?e:h(e),i):t},i.offset=function(t){return arguments.length?(e=null==t?t:h(t),i):e},i.html=function(t){return arguments.length?(n=null==t?t:h(t),i):n},i.customPosition=function(t){return arguments.length?(c=null==t?t:h(t),i):c},i.destroy=function(){return o&&(f().remove(),o=null),i};var d=new Map(Object.entries({n:function(t){var e=p(t);return{top:e.n.y-o.offsetHeight,left:e.n.x-o.offsetWidth/2}},s:function(t){var e=p(t);return{top:e.s.y,left:e.s.x-o.offsetWidth/2}},e:function(t){var e=p(t);return{top:e.e.y-o.offsetHeight/2,left:e.e.x}},w:function(t){var e=p(t);return{top:e.w.y-o.offsetHeight/2,left:e.w.x-o.offsetWidth}},nw:function(t){var e=p(t);return{top:e.nw.y-o.offsetHeight,left:e.nw.x-o.offsetWidth}},ne:function(t){var e=p(t);return{top:e.ne.y-o.offsetHeight,left:e.ne.x}},sw:function(t){var e=p(t);return{top:e.sw.y,left:e.sw.x-o.offsetWidth}},se:function(t){var e=p(t);return{top:e.se.y,left:e.e.x}}})),l=d.keys();function u(){var t=d3.select(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null===o&&(o=u(),document.body.appendChild(o)),d3.select(o)}function p(t){for(var e=s||t.target;void 0===e.getScreenCTM&&"undefined"===e.parentNode;)e=e.parentNode;var n={},o=e.getScreenCTM(),r=e.getBBox(),c=r.width,i=r.height,d=r.x,l=r.y;return a.x=d,a.y=l,n.nw=a.matrixTransform(o),a.x+=c,n.ne=a.matrixTransform(o),a.y+=i,n.se=a.matrixTransform(o),a.x-=c,n.sw=a.matrixTransform(o),a.y-=i/2,n.w=a.matrixTransform(o),a.x+=c,n.e=a.matrixTransform(o),a.x-=c/2,a.y-=i/2,n.n=a.matrixTransform(o),a.y+=i,n.s=a.matrixTransform(o),n}function h(t){return"function"==typeof t?t:function(){return t}}return i}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{240:function(e,t){const i={title:"",content:"",elementSelector:void 0,placement:"bottom",url:void 0,type:"read-only-element",maxWaitTime:3,canBePaused:!0,onNextClick:void 0,onNextValidate:()=>Promise.resolve(!0),onPreviousClick:void 0,skipPoint:!1,class:""},o=(e,t,i)=>()=>e.GuideUtils.waitFor(t,i).catch(t=>{throw e.toastr.error(e.$translate.instant("guide.unexpected.error.message")),t});PluginRegistry.add("guide.step",[{guideBlockName:"clickable-element",getStep:(e,t)=>{const n=angular.extend({},i,{advanceOn:{selector:e.elementSelector,event:"click"},initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"clickable"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"read-only-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"input-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"input"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"info-message",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"})},{guideBlockName:"guide-end",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly",title:"guide.step_plugin.guide-ended.title",content:"guide.step_plugin.guide-ended.content",show:e=>()=>{e.options.confirmCancel=!1},hide:e=>()=>{e.options.confirmCancel=!0}})}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[130],{238:function(e,t){const i={title:"",content:"",elementSelector:void 0,placement:"bottom",url:void 0,type:"read-only-element",maxWaitTime:3,canBePaused:!0,onNextClick:void 0,onNextValidate:()=>Promise.resolve(!0),onPreviousClick:void 0,skipPoint:!1,class:""},o=(e,t,i)=>()=>e.GuideUtils.waitFor(t,i).catch(t=>{throw e.toastr.error(e.$translate.instant("guide.unexpected.error.message")),t});PluginRegistry.add("guide.step",[{guideBlockName:"clickable-element",getStep:(e,t)=>{const n=angular.extend({},i,{advanceOn:{selector:e.elementSelector,event:"click"},initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"clickable"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"read-only-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"input-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"input"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"info-message",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"})},{guideBlockName:"guide-end",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly",title:"guide.step_plugin.guide-ended.title",content:"guide.step_plugin.guide-ended.content",show:e=>()=>{e.options.confirmCancel=!1},hide:e=>()=>{e.options.confirmCancel=!0}})}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{178:function(t,e,i){"use strict";i.r(e);i(7),i(28);const r=angular.module("graphdb.framework.impex.import.directives",["graphdb.framework.utils.uriutils"]);r.directive("validateUri",["UriUtils",function(t){return{restrict:"A",require:"ngModel",link:function(e,i,r,n){n.$parsers.unshift((function(i){let r=!0;return"named"===e.target&&(r=t.isValidIri(i,i.toString())),n.$setValidity("validateUri",r),i}))}}}]),r.directive("filesTable",(function(){return{restrict:"A",templateUrl:"js/angular/import/templates/filesTable.html"}})),r.directive("filesOntoLoader",(function(){return{link:function(t,e,i){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+i.size+'" height="'+i.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.6.0-TR4">{{\'common.loading\' | translate}}</object>')}))}}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[131],{166:function(t,e,i){"use strict";i.r(e);i(7),i(27);const r=angular.module("graphdb.framework.impex.import.directives",["graphdb.framework.utils.uriutils"]);r.directive("validateUri",["UriUtils",function(t){return{restrict:"A",require:"ngModel",link:function(e,i,r,n){n.$parsers.unshift((function(i){let r=!0;return"named"===e.target&&(r=t.isValidIri(i,i.toString())),n.$setValidity("validateUri",r),i}))}}}]),r.directive("filesTable",(function(){return{restrict:"A",templateUrl:"js/angular/import/templates/filesTable.html"}})),r.directive("filesOntoLoader",(function(){return{link:function(t,e,i){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+i.size+'" height="'+i.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.6.0-TR6">{{\'common.loading\' | translate}}</object>')}))}}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{242:function(o,e){PluginRegistry.add("route",{url:"/import",module:"graphdb.framework.impex.import",path:"import/app",chunk:"import",controller:"CommonCtrl",templateUrl:"pages/import.html",title:"common.import",reloadOnSearch:!1,helpInfo:"view.import.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Import",labelKey:"common.import",href:"import",order:0,role:"IS_AUTHENTICATED_FULLY",icon:"icon-import",guideSelector:"menu-import"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[132],{240:function(o,e){PluginRegistry.add("route",{url:"/import",module:"graphdb.framework.impex.import",path:"import/app",chunk:"import",controller:"CommonCtrl",templateUrl:"pages/import.html",title:"common.import",reloadOnSearch:!1,helpInfo:"view.import.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Import",labelKey:"common.import",href:"import",order:0,role:"IS_AUTHENTICATED_FULLY",icon:"icon-import",guideSelector:"menu-import"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{244:function(e,l){PluginRegistry.add("route",[{url:"/jdbc",module:"graphdb.framework.jdbc",path:"jdbc/app",chunk:"jdbc",controller:"JdbcListCtrl",templateUrl:"pages/jdbc.html",title:"view.jdbc.title",helpInfo:"view.jdbc.helpInfo"},{url:"/jdbc/configuration/create",module:"graphdb.framework.jdbc",path:"jdbc/app",chunk:"jdbc",controller:"JdbcCreateCtrl",templateUrl:"pages/jdbc-create.html",title:"view.jdbc.create.title",helpInfo:"view.jdbc.create.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:"JDBC",labelKey:"menu.jdbc.label",href:"jdbc",order:50,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-jdbs"}]})}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[133],{242:function(e,l){PluginRegistry.add("route",[{url:"/jdbc",module:"graphdb.framework.jdbc",path:"jdbc/app",chunk:"jdbc",controller:"JdbcListCtrl",templateUrl:"pages/jdbc.html",title:"view.jdbc.title",helpInfo:"view.jdbc.helpInfo"},{url:"/jdbc/configuration/create",module:"graphdb.framework.jdbc",path:"jdbc/app",chunk:"jdbc",controller:"JdbcCreateCtrl",templateUrl:"pages/jdbc-create.html",title:"view.jdbc.create.title",helpInfo:"view.jdbc.create.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:"JDBC",labelKey:"menu.jdbc.label",href:"jdbc",order:50,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-jdbs"}]})}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{245:function(N,S,I){"use strict";I.r(S),I.d(S,"RecoveryStatusState",(function(){return A}));const A={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[134],{243:function(N,S,I){"use strict";I.r(S),I.d(S,"RecoveryStatusState",(function(){return A}));const A={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{181:function(n,o,r){"use strict";r.r(o),r.d(o,"ConnectorCommand",(function(){return c}));const c={CREATE:"create",REPAIR:"repair",DROP:"drop"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[135],{178:function(n,o,r){"use strict";r.r(o),r.d(o,"ConnectorCommand",(function(){return c}));const c={CREATE:"create",REPAIR:"repair",DROP:"drop"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{75:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,u=!0,a=!0,n,h,o,p,c,y,Q,d,_,I,l,D,g,b,L){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=u,this._startQuerySameAs=a,this._startGraphQuery=n,this._startIRI=h,this._startIRILabel=o,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=Q,this._shared=d,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=L}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[136],{73:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,u=!0,a=!0,n,h,o,p,c,y,Q,d,_,I,l,D,g,b,L){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=u,this._startQuerySameAs=a,this._startGraphQuery=n,this._startIRI=h,this._startIRILabel=o,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=Q,this._shared=d,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=L}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[140],{246:function(n,s,t){"use strict";t.r(s),t.d(s,"JdbcColumnType",(function(){return c}));class c{constructor(){this.column_type="",this.sparql_type=""}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[137],{244:function(n,s,t){"use strict";t.r(s),t.d(s,"JdbcColumnType",(function(){return c}));class c{constructor(){this.column_type="",this.sparql_type=""}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{129:function(n,t,u){"use strict";u.r(t),u.d(t,"JdbcColumn",(function(){return l})),u.d(t,"toJDBCColumns",(function(){return o})),u.d(t,"updateColumn",(function(){return e}));class l{constructor(){this.column_name="",this.column_type="",this.sparql_type="",this.nullable=!0}}const o=(n=[],t)=>n.map(n=>({column_name:n,column_type:t[n].column_type,nullable:!0,sparql_type:t[n].sparql_type})),e=(n,t)=>{n.column_type=t[n.column_name].column_type,n.sparql_type=t[n.column_name].sparql_type}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[138],{114:function(n,t,u){"use strict";u.r(t),u.d(t,"JdbcColumn",(function(){return l})),u.d(t,"toJDBCColumns",(function(){return o})),u.d(t,"updateColumn",(function(){return e}));class l{constructor(){this.column_name="",this.column_type="",this.sparql_type="",this.nullable=!0}}const o=(n=[],t)=>n.map(n=>({column_name:n,column_type:t[n].column_type,nullable:!0,sparql_type:t[n].sparql_type})),e=(n,t)=>{n.column_type=t[n.column_name].column_type,n.sparql_type=t[n.column_name].sparql_type}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[142],{128:function(n,o,r){"use strict";r.r(o),r.d(o,"JdbcConfigurationError",(function(){return s}));class s extends Error{constructor(n,o){super(n),this.jdbcConfigurationInfo=o}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[139],{113:function(n,o,r){"use strict";r.r(o),r.d(o,"JdbcConfigurationError",(function(){return s}));class s extends Error{constructor(n,o){super(n),this.jdbcConfigurationInfo=o}}}}]);
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{487:function(e,t){var a;
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{483:function(e,t){var a;
2
2
  /*!
3
3
  angular-xeditable - 0.10.2
4
4
  Edit-in-place for angular.js
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[143],{127: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],{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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[144],{247:function(R,_,E){"use strict";E.r(_),E.d(_,"BackupAndRestoreOperationType",(function(){return S}));const S={CREATE_BACKUP_IN_PROGRESS:"CREATE_BACKUP_IN_PROGRESS",RESTORE_BACKUP_IN_PROGRESS:"RESTORE_BACKUP_IN_PROGRESS",CREATE_CLOUD_BACKUP_IN_PROGRESS:"CREATE_CLOUD_BACKUP_IN_PROGRESS",RESTORE_CLOUD_BACKUP_IN_PROGRESS:"RESTORE_CLOUD_BACKUP_IN_PROGRESS"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[141],{245:function(R,_,E){"use strict";E.r(_),E.d(_,"BackupAndRestoreOperationType",(function(){return S}));const S={CREATE_BACKUP_IN_PROGRESS:"CREATE_BACKUP_IN_PROGRESS",RESTORE_BACKUP_IN_PROGRESS:"RESTORE_BACKUP_IN_PROGRESS",CREATE_CLOUD_BACKUP_IN_PROGRESS:"CREATE_CLOUD_BACKUP_IN_PROGRESS",RESTORE_CLOUD_BACKUP_IN_PROGRESS:"RESTORE_CLOUD_BACKUP_IN_PROGRESS"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[145],{248:function(N,n,E){"use strict";E.r(n),E.d(n,"CLUSTER_STATUS",(function(){return S}));const S={IN_SYNC:"IN_SYNC",RECOVERING:"RECOVERING",OUT_OF_SYNC:"OUT_OF_SYNC",UNAVAILABLE_NODES:"UNAVAILABLE_NODES"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[142],{246:function(N,n,E){"use strict";E.r(n),E.d(n,"CLUSTER_STATUS",(function(){return S}));const S={IN_SYNC:"IN_SYNC",RECOVERING:"RECOVERING",OUT_OF_SYNC:"OUT_OF_SYNC",UNAVAILABLE_NODES:"UNAVAILABLE_NODES"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[146],{249:function(t,s,n){"use strict";n.r(s),n.d(s,"ActiveOperationInput",(function(){return i}));class i{constructor(){this.value="",this.status="",this.type=""}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[143],{247:function(t,s,n){"use strict";n.r(s),n.d(s,"ActiveOperationInput",(function(){return i}));class i{constructor(){this.value="",this.status="",this.type=""}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[147],{250:function(n,t,s){"use strict";s.r(t),s.d(t,"ActiveOperationsInput",(function(){return o}));var i=s(4);class o{constructor(){this.allRunningOperations=[],this.status=i.OPERATION_STATUS.INFORMATION}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[144],{248:function(n,t,s){"use strict";s.r(t),s.d(t,"ActiveOperationsInput",(function(){return o}));var i=s(4);class o{constructor(){this.allRunningOperations=[],this.status=i.OPERATION_STATUS.INFORMATION}}}}]);
@@ -0,0 +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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{130: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],{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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[150],{132: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],{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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[151],{133: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],{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"}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{119: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([[14],{204:function(t,e,n){"use strict";n.r(e);n(7),n(28);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),t.settings.isJSONLDFile=e.endsWith("jsonld");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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{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),t.settings.isJSONLDFile=e.endsWith("jsonld");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([[153],{182: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],{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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[154],{88: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([[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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[155],{87:function(s,e,n){"use strict";n.r(e),n.d(e,"CountQueryResponseEvent",(function(){return t}));var o=n(70);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([[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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{89: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([[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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[157],{67: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",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[154],{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",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[158],{85: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([[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}}}}]);
@@ -0,0 +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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[160],{90: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([[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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[161],{251: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([[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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[162],{91:function(t,n,o){"use strict";o.r(n),o.d(n,"QueryExecutedEvent",(function(){return a}));class a{constructor(t){this.TYPE=t.TYPE,this.duration=t.payload.duration,this.tabId=t.payload.tabId}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[159],{86:function(t,n,o){"use strict";o.r(n),o.d(n,"QueryExecutedEvent",(function(){return a}));class a{constructor(t){this.TYPE=t.TYPE,this.duration=t.payload.duration,this.tabId=t.payload.tabId}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{205:function(e,r,t){"use strict";t.r(r);t(7),t(27),t(41),t(42);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([[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")}}])}}]);