graphdb-workbench 3.0.1 → 3.0.2-RC1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/dist/{1.4557dfdb926ba6471bb3.bundle.js → 1.39c8f2b09d3018e6a9cd.bundle.js} +1 -1
  2. package/dist/{10.8a76ef708b5c69241c68.bundle.js → 10.4f80be12b2cd899d4fc2.bundle.js} +1 -1
  3. package/dist/100.2daf71ab49c93a1c9d40.bundle.js +1 -0
  4. package/dist/{99.a745a27e01490b0d843d.bundle.js → 101.70d205b9691d74539dd7.bundle.js} +1 -1
  5. package/dist/{100.c4aaa3d10f570dba12a9.bundle.js → 102.8b6782cd3c24d47c87d2.bundle.js} +1 -1
  6. package/dist/{101.8f0b38c2e58132599194.bundle.js → 103.ff8e7dd53d94f93552bf.bundle.js} +1 -1
  7. package/dist/{103.96f2287dde7e4fc25c9d.bundle.js → 104.a1b5b2e868eb117b48ac.bundle.js} +1 -1
  8. package/dist/{104.ddeb2cb5758d1ed52b33.bundle.js → 105.0121f779d777d869ce4e.bundle.js} +1 -1
  9. package/dist/{105.e8302c421c3d7b516b4c.bundle.js → 106.55cf93dab531f6120a6e.bundle.js} +1 -1
  10. package/dist/{106.00a983e1594a051a5fe7.bundle.js → 107.c0d5d1b4a12c8a01745e.bundle.js} +1 -1
  11. package/dist/{107.7b548755171f42f06352.bundle.js → 108.9ca7ca14da8593ef91ba.bundle.js} +1 -1
  12. package/dist/{108.160515780d319edefb5c.bundle.js → 109.1c877e801581e1f60bf8.bundle.js} +1 -1
  13. package/dist/11.cc21bcbc41edfd865a48.bundle.js +1 -0
  14. package/dist/{109.1da75239f8e2a5d63b23.bundle.js → 110.3740001dabee596bbf71.bundle.js} +1 -1
  15. package/dist/{110.780a31b32e116f49a75f.bundle.js → 111.f0ae6a0107628aaeef02.bundle.js} +1 -1
  16. package/dist/{111.7e3057275034cb5dc5a6.bundle.js → 112.ed43d212e04e37907453.bundle.js} +1 -1
  17. package/dist/{112.22145690dd697aa9275d.bundle.js → 113.0b94d0e087a818cf9d4c.bundle.js} +1 -1
  18. package/dist/{113.c135232a9177d596406c.bundle.js → 114.88b6c5ce916e956cc2e5.bundle.js} +1 -1
  19. package/dist/{114.b2c0df64a560a8dd5ae0.bundle.js → 115.3a159adc54ebc83243cd.bundle.js} +1 -1
  20. package/dist/{115.543de06ecb5553155522.bundle.js → 116.b75b69c7fe15583deb8a.bundle.js} +1 -1
  21. package/dist/{116.79b9b3abc0b03e8b7924.bundle.js → 117.a3706ff54783c451de62.bundle.js} +1 -1
  22. package/dist/{117.ae87c77380fb7660d9ec.bundle.js → 118.e93de50f0149eb2931a4.bundle.js} +1 -1
  23. package/dist/{118.6756956bb51b3350690d.bundle.js → 119.e5733c827c71ba3106fc.bundle.js} +1 -1
  24. package/dist/12.5d075599ef637022c23c.bundle.js +1 -0
  25. package/dist/{119.c8e77171125b6497990a.bundle.js → 120.346f38c1b8fa9bb399aa.bundle.js} +1 -1
  26. package/dist/{120.1484bac063921edb7a2c.bundle.js → 121.0a271d2bfea3fc050225.bundle.js} +1 -1
  27. package/dist/{121.6a0ffc9dfc3ea14fd0d3.bundle.js → 122.6812fc0e3f6f60eec16d.bundle.js} +1 -1
  28. package/dist/{122.13363b4c4f89776fa1b5.bundle.js → 123.31d75efb53b4049f1b67.bundle.js} +1 -1
  29. package/dist/{123.616625d0908d7e6eab3d.bundle.js → 124.2e17f7bde4612462c957.bundle.js} +1 -1
  30. package/dist/{124.924dce24aad641d1dd23.bundle.js → 125.f74277a2a44949ca0b4c.bundle.js} +1 -1
  31. package/dist/{125.d86cff2a5cc679dc20d9.bundle.js → 126.63677abd348f7f462e66.bundle.js} +1 -1
  32. package/dist/{126.ff5a04a468a8a8d1a99a.bundle.js → 127.41cba8bf8e30ac29ab7e.bundle.js} +1 -1
  33. package/dist/{127.954cf8032872deba10e6.bundle.js → 128.2ec10c750cf6d0f151f4.bundle.js} +1 -1
  34. package/dist/{128.639a495883f611c4691e.bundle.js → 129.7b10d7005f33d6187a4b.bundle.js} +1 -1
  35. package/dist/{13.c904bbb863125c4ff6cc.bundle.js → 13.c1f8c588c7fc852bbe1d.bundle.js} +1 -1
  36. package/dist/{129.5d11264c418527e53342.bundle.js → 130.6eaf3aa6daac5859f7d7.bundle.js} +1 -1
  37. package/dist/{130.82fe31a14b953086bb45.bundle.js → 131.45ae15011beefb1ec398.bundle.js} +1 -1
  38. package/dist/{131.e4be75b25c9eb85db5a8.bundle.js → 132.f675fe2fd349527933b3.bundle.js} +1 -1
  39. package/dist/{132.364bb39217e31f46480f.bundle.js → 133.1efc1419d69e84db2b4b.bundle.js} +1 -1
  40. package/dist/{133.df86fdb8d83ca7237793.bundle.js → 134.01ec95b828ad09fcb1a9.bundle.js} +1 -1
  41. package/dist/{134.33804d658ebadcbc3b55.bundle.js → 135.7d15f409bdb1e8630623.bundle.js} +1 -1
  42. package/dist/{135.797fc168b7a948df2ccb.bundle.js → 136.1ff57ae90902aff352e4.bundle.js} +1 -1
  43. package/dist/{136.5ca50393ed4761535bfe.bundle.js → 137.044a888e82e4ac13cbed.bundle.js} +1 -1
  44. package/dist/{137.d8b48c06ecd279c12ca7.bundle.js → 138.f910e9be040100f08326.bundle.js} +1 -1
  45. package/dist/{138.3bb6b7be471eb2d04c6e.bundle.js → 139.7e7adea811551510d1d4.bundle.js} +1 -1
  46. package/dist/{14.d0ab3c83926b616e7354.bundle.js → 14.d0c7642a1a7041f50137.bundle.js} +1 -1
  47. package/dist/{139.ea151aec614a76870451.bundle.js → 140.3e12b1909d34b2b23d66.bundle.js} +1 -1
  48. package/dist/{140.6583cf41ab8e891ebbb6.bundle.js → 141.022a52911a1fba3e9273.bundle.js} +1 -1
  49. package/dist/{141.af39fc3a6dc1dafdb5ab.bundle.js → 142.9b8ed6c5c8e7a9f5de47.bundle.js} +1 -1
  50. package/dist/{142.c2392a48e4d3a2a16866.bundle.js → 143.81cfe46fdf48ae310839.bundle.js} +1 -1
  51. package/dist/{143.e4511e1698aca68814e3.bundle.js → 144.fbf7737acce465cf274d.bundle.js} +1 -1
  52. package/dist/{144.f58114954e257cb77bde.bundle.js → 145.72459692d3c167aee55e.bundle.js} +1 -1
  53. package/dist/{145.d558ac05737ca5ef00a4.bundle.js → 146.e435b2bdae83a56537f6.bundle.js} +1 -1
  54. package/dist/{146.de12b58d856c54decc0b.bundle.js → 147.f4e3eb741619b49bcc80.bundle.js} +1 -1
  55. package/dist/{147.6faf4e13462207010d38.bundle.js → 148.44ea646c66b6b0e8f996.bundle.js} +1 -1
  56. package/dist/{148.25167c5ae125b23811c9.bundle.js → 149.0c8405d83935b512abfb.bundle.js} +1 -1
  57. package/dist/{15.8ab8b6f8c611ec1dfddc.bundle.js → 15.79a075c0e170b3066b07.bundle.js} +1 -1
  58. package/dist/{149.9629d0dfe4f62aa15bba.bundle.js → 150.fb80c0c92d602a623c36.bundle.js} +1 -1
  59. package/dist/{150.c8bf724fbe76d0e0696d.bundle.js → 151.0b79280f2a959473ff16.bundle.js} +1 -1
  60. package/dist/{151.4970e08b91e9849ae5e3.bundle.js → 152.410c52dad18a5a3961f6.bundle.js} +1 -1
  61. package/dist/{152.8a1ea0a8d04e0873f67b.bundle.js → 153.cb649018e1db6b8c4f1c.bundle.js} +1 -1
  62. package/dist/{153.64e4e15ca8abeb5268e3.bundle.js → 154.a96812700b8b52d10e57.bundle.js} +1 -1
  63. package/dist/160.1e607beff0e4f8e426cf.bundle.js +1 -0
  64. package/dist/{161.228b61b39d936f8fca31.bundle.js → 161.2a41444b94b2db7dd638.bundle.js} +1 -1
  65. package/dist/{163.716d49313f3e196497dd.bundle.js → 163.9c8a1cb6d8692b5347a4.bundle.js} +1 -1
  66. package/dist/{166.31241e54608319e510e2.bundle.js → 166.c08c74fdaa7965adecbc.bundle.js} +1 -1
  67. package/dist/{17.019de109eebe6b7563fe.bundle.js → 17.e163dfcc19d77667295a.bundle.js} +1 -1
  68. package/dist/{173.425381e5433b54da911c.bundle.js → 173.4fb35b26d3b118d10626.bundle.js} +1 -1
  69. package/dist/{175.b94e42f1b1b7479f46ad.bundle.js → 175.ec71d7bdff18c571a78e.bundle.js} +1 -1
  70. package/dist/{179.63500ae70b7715467e79.bundle.js → 179.be20755cb9848e72b319.bundle.js} +1 -1
  71. package/dist/{18.6722328814b9fcee2f6e.bundle.js → 18.b2d04af2d60cc37a5ebe.bundle.js} +1 -1
  72. package/dist/{180.a91ac4fc484a71bd5ed8.bundle.js → 180.a82dac6c561436705ae7.bundle.js} +1 -1
  73. package/dist/{19.a0af0ec7c0e4eb7ab20c.bundle.js → 19.407c7beb11ea143e1f9e.bundle.js} +1 -1
  74. package/dist/{190.431c135250df34322375.bundle.js → 190.4969eb91b83aaa7cd263.bundle.js} +1 -1
  75. package/dist/{2.354e410d4fb45ab44420.bundle.js → 2.842d68f9e1fac66644aa.bundle.js} +1 -1
  76. package/dist/{20.b2e6e5248ede44286621.bundle.js → 20.d9c0a2300fac55616a64.bundle.js} +1 -1
  77. package/dist/{21.6de69abd52835f511f89.bundle.js → 21.db9a15c2ce6264384788.bundle.js} +1 -1
  78. package/dist/{22.035be7329fd099903c2b.bundle.js → 22.1408d06830b72a459d6a.bundle.js} +1 -1
  79. package/dist/{23.f499db643c1d187eefe1.bundle.js → 23.e6835ca70f33d8babcca.bundle.js} +1 -1
  80. package/dist/231.909faa919088245e9988.bundle.js +1 -1
  81. package/dist/{24.057be6f617f4e3f35691.bundle.js → 24.8fbf33e98e7c306e8ea8.bundle.js} +1 -1
  82. package/dist/{242.c2143bfd879222a393dc.bundle.js → 242.2aceac5a4d9f377f3553.bundle.js} +1 -1
  83. package/dist/{243.ed8bd30b9501bcb22fd3.bundle.js → 243.35701551c53ddd41d3e2.bundle.js} +1 -1
  84. package/dist/{248.35714eeadd519aa9dfcf.bundle.js → 248.b1fb4b93555c3f69bc46.bundle.js} +1 -1
  85. package/dist/{25.25d1fdcb1cbeafd51681.bundle.js → 25.6f945a6e26e6daa27763.bundle.js} +1 -1
  86. package/dist/{258.af0b3d78c0f9b4c4b483.bundle.js → 258.fc7172db37e5b0ca1279.bundle.js} +1 -1
  87. package/dist/{26.3aa8a6a7f10039840838.bundle.js → 26.76be6828c642933221c3.bundle.js} +1 -1
  88. package/dist/{264.c6d038d027b8f5579b62.bundle.js → 264.8e759dd1686c37c32b07.bundle.js} +1 -1
  89. package/dist/{287.4f8a30c6c6c72ebafedb.bundle.js → 287.a750fc40fa90418f3d6d.bundle.js} +1 -1
  90. package/dist/{29.33b92413c2f0a708b821.bundle.js → 29.5ec5948f2e30819e6dc8.bundle.js} +1 -1
  91. package/dist/{3.77b848d2eb7fdb2523b0.bundle.js → 3.33dccf88ff294b9ba7cf.bundle.js} +1 -1
  92. package/dist/{30.f818533689767fa3e2ca.bundle.js → 30.a60e3c2ac0de3b37e185.bundle.js} +1 -1
  93. package/dist/31.7452fe0f096c31a9a1f1.bundle.js +2 -0
  94. package/dist/{312.0e853d11527c8a2fc070.bundle.js → 312.c03a255fbafa0d4335b7.bundle.js} +1 -1
  95. package/dist/{32.e14fc108d80a26925f88.bundle.js → 32.14b30077e63f4b1b729a.bundle.js} +1 -1
  96. package/dist/{322.6524ee61a5bbcdc82bad.bundle.js → 322.34c7ffacecadc1dff436.bundle.js} +1 -1
  97. package/dist/{33.fec387c3be8b00368957.bundle.js → 33.da597e608351b4872771.bundle.js} +1 -1
  98. package/dist/{332.2db32da5af5ac8856a0c.bundle.js → 332.eb8ac0b7d982535eb48b.bundle.js} +1 -1
  99. package/dist/{334.2970372fd546db2cd792.bundle.js → 334.85e45ef3709738a8c800.bundle.js} +1 -1
  100. package/dist/{335.b445bf889c4bfaa20ded.bundle.js → 335.5a6a3768096f7e02a5a3.bundle.js} +1 -1
  101. package/dist/{34.61223a86d6cb125fc2c8.bundle.js → 34.51476f9015bca2457953.bundle.js} +1 -1
  102. package/dist/{348.a113e5a47d253a04ee81.bundle.js → 348.da14c1b3111036fe2e02.bundle.js} +1 -1
  103. package/dist/{35.1b457bfdeea08b897d25.bundle.js → 35.dec1963ba9e2a21fdbec.bundle.js} +1 -1
  104. package/dist/{353.8dbc0f6a10d578ed65d8.bundle.js → 353.5ca0dd499b0e4ec5a228.bundle.js} +1 -1
  105. package/dist/{36.54cce0e26c592b832258.bundle.js → 36.5bdd80f32426b30c458d.bundle.js} +1 -1
  106. package/dist/{363.7a3d9b6e636d736c57b1.bundle.js → 363.fe7a10fbfe3ad1a31725.bundle.js} +1 -1
  107. package/dist/{37.be47535106d4b3dbc077.bundle.js → 37.3e74a6a07640c4d8db96.bundle.js} +1 -1
  108. package/dist/{38.79bf8cac11760d2e69be.bundle.js → 38.8819c36a5204129f3dbc.bundle.js} +1 -1
  109. package/dist/{381.aea7ee474ca60accc01b.bundle.js → 381.7705312c8cedfe733a17.bundle.js} +1 -1
  110. package/dist/{382.c69f3647cc33ace74db4.bundle.js → 382.3b6533fe63bb7b89d2a6.bundle.js} +1 -1
  111. package/dist/{385.559499835625e3e755d3.bundle.js → 385.93498ab442f8c50fadbc.bundle.js} +1 -1
  112. package/dist/{39.051d67965709d49db0ab.bundle.js → 39.8be9b0247c3518abbf8b.bundle.js} +1 -1
  113. package/dist/{392.96254712f6158ac44044.bundle.js → 392.fd509c86891257f9777f.bundle.js} +1 -1
  114. package/dist/399.0a3aec07fe2383cc35ba.bundle.js +1 -0
  115. package/dist/{40.9208517ef50b6f8024c6.bundle.js → 40.2747ad0262dc133c782c.bundle.js} +1 -1
  116. package/dist/404.163e08fb2eeea2362f8a.bundle.js +1 -0
  117. package/dist/{41.0d8779a7af2eb26cf157.bundle.js → 41.c6545eb0ce13e63738d2.bundle.js} +1 -1
  118. package/dist/410.b74d59055b7cf830abe5.bundle.js +1 -0
  119. package/dist/416.68f6286f80654cdbe4e4.bundle.js +1 -1
  120. package/dist/417.70adf0a6f0571c394764.bundle.js +1 -1
  121. package/dist/42.baaa159c3b1e81422600.bundle.js +1 -0
  122. package/dist/423.6edb13ec0cf08388c947.bundle.js +1 -1
  123. package/dist/424.725b821051516e73783a.bundle.js +1 -1
  124. package/dist/425.03fcf969da1a4e92fec3.bundle.js +1 -1
  125. package/dist/426.aa6924f6f1192d037009.bundle.js +1 -1
  126. package/dist/427.5c7b72141707b841e8a3.bundle.js +1 -1
  127. package/dist/428.0d471ce7c68654947c04.bundle.js +1 -1
  128. package/dist/{43.96e8540045f061114280.bundle.js → 43.46cf7aa71531400f5ce3.bundle.js} +1 -1
  129. package/dist/{44.45a26f697588279fbc60.bundle.js → 44.ec337831549cfeaab224.bundle.js} +1 -1
  130. package/dist/443.969280af4067a22d1a8b.bundle.js +1 -1
  131. package/dist/444.a5971579184b091ed392.bundle.js +1 -1
  132. package/dist/445.2b20cb9e68a11879f6c4.bundle.js +1 -1
  133. package/dist/446.fe3cf3d6e288c8c4444b.bundle.js +1 -1
  134. package/dist/447.d1d078921f6f28e2fa38.bundle.js +1 -1
  135. package/dist/448.d6c9bed6d99b8b23619f.bundle.js +1 -1
  136. package/dist/{45.8c13732f2859713c90c4.bundle.js → 45.e79cfcb4606177c83d29.bundle.js} +1 -1
  137. package/dist/{46.f04ca39b752caadd9714.bundle.js → 46.db4b433aebdbb6965f9d.bundle.js} +1 -1
  138. package/dist/468.8e259940c62a68ef3055.bundle.js +1 -1
  139. package/dist/{47.5773e1581c385ba39851.bundle.js → 47.89ad9da6a07545789631.bundle.js} +1 -1
  140. package/dist/{48.06454bbe08df5938e67a.bundle.js → 48.8726b8de8055297cec7c.bundle.js} +1 -1
  141. package/dist/480.379bf3b338e0a3224a1f.bundle.js +1 -1
  142. package/dist/481.0387239b174f787e70ea.bundle.js +1 -1
  143. package/dist/483.c81275cb05dd78ce389f.bundle.js +1 -1
  144. package/dist/484.25a82c267c3a705d2a65.bundle.js +1 -1
  145. package/dist/485.91cbfbfd37eccde375c9.bundle.js +1 -1
  146. package/dist/488.a69dcce23066c0dafdf7.bundle.js +1 -1
  147. package/dist/489.a976085b601cccf438d4.bundle.js +1 -1
  148. package/dist/49.ec8921fc54aaae50ca52.bundle.js +1 -0
  149. package/dist/490.d3e0f3e499b5a24f6808.bundle.js +1 -1
  150. package/dist/491.62c185868f9d99dd5713.bundle.js +1 -1
  151. package/dist/5.163df03f5440d982d268.bundle.js +2 -0
  152. package/dist/50.4886e820614f9dadb147.bundle.js +1 -0
  153. package/dist/{51.676e3d8a0e328ad836ed.bundle.js → 51.014f0ee2c2a7ff9ce3ff.bundle.js} +1 -1
  154. package/dist/{52.cfdfa7095a554e758861.bundle.js → 52.85c3ec8030d92959e556.bundle.js} +1 -1
  155. package/dist/{54.c54ba6791e3926ebb553.bundle.js → 54.f1ed20f259011ef082b2.bundle.js} +1 -1
  156. package/dist/{55.fb160be660f713a3d6a1.bundle.js → 55.3262334c9d8a63b347ab.bundle.js} +1 -1
  157. package/dist/{56.a97521bde50d8e02ab1d.bundle.js → 56.f9d140f83b5462444e57.bundle.js} +1 -1
  158. package/dist/{57.ec17cacc850ae1904aeb.bundle.js → 57.fcd6814bee867f2345e7.bundle.js} +1 -1
  159. package/dist/{58.0c8ce6607800bf7ff0ac.bundle.js → 58.914f27e1a230e164d29b.bundle.js} +1 -1
  160. package/dist/{59.47183b72936629232e7f.bundle.js → 59.a7f0559fb46565813cf0.bundle.js} +1 -1
  161. package/dist/{6.33f8c6c7e324640238de.bundle.js → 6.0bfc114054ad3b233305.bundle.js} +1 -1
  162. package/dist/{60.046829a1be3f196bef1c.bundle.js → 60.6c9b4c93b093288c7649.bundle.js} +1 -1
  163. package/dist/{61.f625328fcc0d35aa07a4.bundle.js → 61.424616e10051d7cdbc93.bundle.js} +1 -1
  164. package/dist/{62.842d67b8758eed682f2c.bundle.js → 62.c335ec2480066d4422a9.bundle.js} +1 -1
  165. package/dist/63.e55beded50a778a97299.bundle.js +1 -0
  166. package/dist/{63.c3630cbfa8f6884a417d.bundle.js → 64.7a62b6f780380840f244.bundle.js} +1 -1
  167. package/dist/{64.91ba76d42905a3d9afbe.bundle.js → 65.8d5f1b79d228176db399.bundle.js} +1 -1
  168. package/dist/{65.198a4d69873309746593.bundle.js → 66.75d04ae3be915ecd5afe.bundle.js} +1 -1
  169. package/dist/{66.b7385a74d4f3287237ba.bundle.js → 67.dbc1e4410498f4ceae46.bundle.js} +1 -1
  170. package/dist/{67.3488f2543baf36d3c494.bundle.js → 68.aeae93de29be6d346977.bundle.js} +1 -1
  171. package/dist/{68.4e51b896e74fbd145701.bundle.js → 69.3024e70e93884b7138eb.bundle.js} +1 -1
  172. package/dist/{69.a2244fec1e7110f5aeec.bundle.js → 70.f982fe4a8c44d2ef72a6.bundle.js} +1 -1
  173. package/dist/{70.0b30be583854923aadc1.bundle.js → 71.8ffc1c2036362cf40526.bundle.js} +1 -1
  174. package/dist/{71.24d20933fd9614cf27af.bundle.js → 72.a47d3fdd3239098987a8.bundle.js} +1 -1
  175. package/dist/{72.5d2f018d17e995bc6455.bundle.js → 73.1d8cf985f584d6a29f1b.bundle.js} +1 -1
  176. package/dist/{73.3f407c010a17e4a109b9.bundle.js → 74.70762fed64c1503da986.bundle.js} +1 -1
  177. package/dist/{74.1d496e6a8dc0abfcbe04.bundle.js → 75.e464e055d7b66bf2fc93.bundle.js} +1 -1
  178. package/dist/76.fc1058890354a7ee6abe.bundle.js +1 -0
  179. package/dist/{76.9ca923a9265537ac7be4.bundle.js → 77.bf8560beda63d53b83c2.bundle.js} +1 -1
  180. package/dist/{77.f53fbf119a8b73148a25.bundle.js → 78.eecf35e4f25434df649e.bundle.js} +1 -1
  181. package/dist/{78.933cb90bda144ed95290.bundle.js → 79.074403a4200f684a0945.bundle.js} +1 -1
  182. package/dist/{8.3cf83e59a56858648ad9.bundle.js → 8.e3c3c3676785a030527d.bundle.js} +1 -1
  183. package/dist/{79.6e0224e241895965a9d3.bundle.js → 80.07a80c5fe69c039db15d.bundle.js} +1 -1
  184. package/dist/{80.f7d6d3108e6d18b96cd7.bundle.js → 81.234a3c0b3136c4a55730.bundle.js} +1 -1
  185. package/dist/{81.b79dd505cb205eb7eff0.bundle.js → 82.3e71f24921a2283967c3.bundle.js} +1 -1
  186. package/dist/{82.cd869e55416407b078e0.bundle.js → 83.cf2e3938d315b0470906.bundle.js} +1 -1
  187. package/dist/{83.b085735389d935aa6f42.bundle.js → 84.c1e18d720b266e35aec2.bundle.js} +1 -1
  188. package/dist/{84.7f9377fc605aff3f0d48.bundle.js → 85.7dc677e973a2dfcddfea.bundle.js} +1 -1
  189. package/dist/86.adb4b3504c93eb726fcd.bundle.js +1 -0
  190. package/dist/{85.8a74811c261c635235f7.bundle.js → 87.ddab9647e5ff9f432212.bundle.js} +1 -1
  191. package/dist/{86.c491436398aef8142dc3.bundle.js → 88.e04e9207f68a222a8a64.bundle.js} +1 -1
  192. package/dist/{87.cf9f719c3dd04bc64102.bundle.js → 89.51eac4bd9aa2668b96fb.bundle.js} +1 -1
  193. package/dist/{88.7d844f12b9d68b0be1d7.bundle.js → 90.ac1501d736615a2bc7f6.bundle.js} +1 -1
  194. package/dist/{89.2c1bcd6a70ba8769b6b9.bundle.js → 91.4c80dbc7c0af8d2d07f5.bundle.js} +1 -1
  195. package/dist/{90.b93a0ecac4f5bcfeed0f.bundle.js → 92.69c6a0625b9e94d1a9df.bundle.js} +1 -1
  196. package/dist/{91.44e1598ed46ac2197521.bundle.js → 93.4e0f1104ab14c3dfae71.bundle.js} +1 -1
  197. package/dist/{92.e81e734ef32fe8b56d78.bundle.js → 94.62f609daaeaf1e0b9f63.bundle.js} +1 -1
  198. package/dist/{93.6486890affff9e0f6ca8.bundle.js → 95.2c784e759051491850fb.bundle.js} +1 -1
  199. package/dist/{94.13212f8f2d50c66cb482.bundle.js → 96.22c66e3781a4afc22d1a.bundle.js} +1 -1
  200. package/dist/{95.6fe91e68bef2c41f2645.bundle.js → 97.856052734f379717d4cc.bundle.js} +1 -1
  201. package/dist/{96.4bd66eace72867bf76e1.bundle.js → 98.be86330473bf291530fa.bundle.js} +1 -1
  202. package/dist/{97.4cfafc4c6cedd50e973e.bundle.js → 99.6af4734887301734ebbe.bundle.js} +1 -1
  203. package/dist/{bundle.e7ff3a088b4fc9e2ec9e.bundle.js → bundle.fc37b3e514d7594f55be.bundle.js} +19 -19
  204. package/dist/css/autocomplete.css +5 -0
  205. package/dist/css/clustermanagement.css +10 -7
  206. package/dist/css/rdf-class-hierarchy.css +1 -1
  207. package/dist/i18n/locale-en.json +11 -1
  208. package/dist/i18n/locale-fr.json +11 -1
  209. package/dist/index.html +3 -3
  210. package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
  211. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +16 -7
  212. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  213. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  214. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  215. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  216. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  217. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  218. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  219. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  220. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  221. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  222. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  223. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  224. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  225. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  226. package/dist/js/angular/security/templates/user.html +2 -2
  227. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  228. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  229. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  230. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  231. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  232. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  233. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  234. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  235. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  236. package/dist/license-checker.json +4 -4
  237. package/dist/pages/aclmanagement.html +2 -2
  238. package/dist/pages/autocomplete.html +1 -1
  239. package/dist/pages/choose-repository-type.html +1 -1
  240. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  241. package/dist/pages/create-index.html +1 -1
  242. package/dist/pages/dependencies.html +1 -1
  243. package/dist/pages/domainRangeInfo.html +2 -2
  244. package/dist/pages/edit.html +1 -1
  245. package/dist/pages/explore.html +1 -1
  246. package/dist/pages/export.html +1 -1
  247. package/dist/pages/find.html +1 -1
  248. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  249. package/dist/pages/graphs-visualizations.html +7 -7
  250. package/dist/pages/guides.html +1 -1
  251. package/dist/pages/import.html +2 -2
  252. package/dist/pages/jdbc-create.html +1 -1
  253. package/dist/pages/monitor/backup-and-restore.html +1 -1
  254. package/dist/pages/monitor/queries.html +1 -1
  255. package/dist/pages/monitor/resources.html +1 -1
  256. package/dist/pages/namespaces.html +2 -2
  257. package/dist/pages/plugins.html +1 -1
  258. package/dist/pages/rdfClassHierarchyInfo.html +9 -11
  259. package/dist/pages/rdfrank.html +2 -2
  260. package/dist/pages/repositories.html +1 -1
  261. package/dist/pages/repository.html +1 -1
  262. package/dist/pages/similarity-indexes.html +1 -1
  263. package/dist/pages/sparql-editor.html +1 -1
  264. package/dist/pages/sparql-template-create.html +1 -1
  265. package/dist/pages/ux-test1.html +2 -2
  266. package/dist/pages/webapi.html +2 -2
  267. package/dist/res/swagger5/index.html +12 -12
  268. package/package.json +2 -2
  269. package/dist/102.2b1c8399187ccefe5a4f.bundle.js +0 -1
  270. package/dist/11.7343b4e08a786f0a1eab.bundle.js +0 -1
  271. package/dist/12.3669f82ad6489ffeb12b.bundle.js +0 -1
  272. package/dist/154.89f16e758f1caaae814c.bundle.js +0 -1
  273. package/dist/160.90a42dd6a992307c602d.bundle.js +0 -1
  274. package/dist/31.721783158dcfdee0b882.bundle.js +0 -2
  275. package/dist/399.b13be7ef0c258335c762.bundle.js +0 -1
  276. package/dist/404.00ef41fe988cd9161359.bundle.js +0 -1
  277. package/dist/410.a86d6bdafde1b951e239.bundle.js +0 -1
  278. package/dist/42.0147219d61d3814c266c.bundle.js +0 -1
  279. package/dist/49.6b885bb67696745b1634.bundle.js +0 -1
  280. package/dist/5.045fbb4da4ea6659e905.bundle.js +0 -2
  281. package/dist/50.ee3ed147b2bc2382a0a2.bundle.js +0 -1
  282. package/dist/75.0e43af19262a978d6aab.bundle.js +0 -1
  283. package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[70,175,337,338],{146:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,r){return{link:function(e,n){var a=function(){var t=r('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);n.html(t)};a();var o=t.$on("$translateChangeSuccess",a);e.$on("$destroy",o)}}}])},358:function(e,t,r){"use strict";r.r(t);r(10),r(54),r(53),r(59);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),c=new j(n||[]);return i(o,"_invoke",{value:P(e,r,c)}),o}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",d="executing",g="completed",v={};function y(){}function w(){}function b(){}var x={};p(x,s,(function(){return this}));var E=Object.getPrototypeOf,N=E&&E(E(R([])));N&&N!==r&&o.call(N,s)&&(x=N);var S=b.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(a,i,c,s){var u=m(e[a],e,i);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==n(p)&&o.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,c,s)}),(function(e){r("throw",e,c,s)})):t.resolve(p).then((function(e){l.value=e,c(l)}),(function(e){return r("throw",e,c,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}})}function P(t,r,n){var a=h;return function(o,i){if(a===d)throw Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var s=$(c,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=m(t,r,n);if("normal"===u.type){if(a=n.done?g:"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function $(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,$(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=m(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function r(){for(;++a<t.length;)if(o.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:w,configurable:!0}),w.displayName=p(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(L.prototype),p(L.prototype,u,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(f(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(S),p(S,l,"Generator"),p(S,s,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function o(e,t,r,n,a,o,i){try{var c=e[o](i),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,a)}var i,c,s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),u=(i="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",c="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]",new RegExp("^(?:"+i+")(?:(?:"+c+"|\\.)*(?:"+c+"))?$"));s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,t,r,i,c,s,l,p,f){e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){r.getActiveRepository()&&(e.loader=!0,e.namespaces={},p.getNamespaces(r.getActiveRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,t){var r=e.prefix.toUpperCase(),n=t.prefix.toUpperCase();return r<n?-1:r>n?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(t){var r=getError(t);i.error(r),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(t){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",t&&(e.getNamespaces(),e.pageSize=t)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return r.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],y(),m()};var m=function(){angular.forEach(e.namespaces,(function(t){-1===t.namespace.indexOf(e.searchNamespaces)&&-1===t.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(t)}))};e.saveNamespace=function(t,n){return e.loader=!0,p.updateNamespacePrefix(r.getActiveRepository(),n,t).then((function(){e.getNamespaces(),i.success(f.instant("namespace.saved")),e.loader=!1})).catch((function(t){var r=getError(t);return i.error(r,f.instant("common.error")),e.loader=!1,Promise.reject(t)}))},e.editPrefix=function(t,n){e.loader=!0,l.getPrefix(r.getActiveRepository(),{from:t,to:n,location:r.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.editPrefixAndNamespace=function(){var e,t=(e=a().mark((function e(t,r,n){var o,i,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i=t,t||(i=""),w(i,o=r)){e.next=6;break}return e.abrupt("return","Prefix or namespace is invalid");case 6:if(c=n.prefix,!h(i,c)){e.next=10;break}return e.next=10,s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result;case 10:return e.abrupt("return",d(i,c,o));case 13:return e.prev=13,e.t0=e.catch(0),e.abrupt("return","Prefix overwrite cancelled");case 16:case"end":return e.stop()}}),e,null,[[0,13]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function c(e){o(i,n,a,c,s,"next",e)}function s(e){o(i,n,a,c,s,"throw",e)}c(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();var h=function(t,r){return!!e.namespaces.find((function(e){return e.prefix===t&&r!==t}))},d=function(t,r,n){return e.saveNamespace(r,n).then((function(){r!==t&&e.editPrefix(r,t)}))};e.addNamespace=function(){if(e.namespace.prefix||(e.namespace.prefix=""),w(e.namespace.prefix,e.namespace.namespace)){e.selectedAll=!1;for(var t=!1,r=0;r<e.namespaces.length;r++)e.namespaces[r].prefix===e.namespace.prefix&&(t=!0);t?s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result.then(g):g()}};var g=function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace).then((function(){e.namespace.namespace="",e.namespace.prefix="",setTimeout((function(){e.form.$setUntouched(),e.form.$setPristine()}))})).catch((function(){}))};e.removeNamespace=function(e){s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){v(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(t){t.selected=e.selectedAll}))},e.deleteSelected=function(){var t=!1;angular.forEach(e.displayedNamespaces,(function(r){t||r.selected&&(t=!0,s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;var t=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&t.push(e)})),v(t.shift(),t),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))};var v=function(t,a){var o;o="object"===n(t)?t.prefix:t,p.deleteNamespacePrefix(r.getActiveRepository(),o).success((function(){a&&a.length>0?(t=a.shift(),v(t,a)):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===a?i.success(f.instant("namespace.prefix.deleted.successfully",{prefix:o}),""):i.success(f.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(t){t.selected&&(e.haveSelected=!0)}))};var y=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))},w=function(e,t){return function(e){return""===e||e.match(u)}(e)?!angular.isUndefined(t)&&""!==t||(i.error(f.instant("namespace.warning.provide.namespace"),f.instant("common.error")),!1):(i.error(f.instant("namespace.invalid.prefix",{prefix:e},f.instant("common.error"))),!1)}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close(!0)},e.cancel=function(){t.dismiss("cancel")}}])},359:function(e,t){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(t){t.$last&&e((function(){t.$parent.loader=!1}),0)}}])},457:function(e,t,r){"use strict";r.r(t);r(10),r(52),r(53),r(358),r(359),r(146),r(748);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[71,175,337,338],{147:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,r){return{link:function(e,n){var a=function(){var t=r('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);n.html(t)};a();var o=t.$on("$translateChangeSuccess",a);e.$on("$destroy",o)}}}])},358:function(e,t,r){"use strict";r.r(t);r(10),r(54),r(53),r(59);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),c=new j(n||[]);return i(o,"_invoke",{value:P(e,r,c)}),o}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",d="executing",g="completed",v={};function y(){}function w(){}function b(){}var x={};p(x,s,(function(){return this}));var E=Object.getPrototypeOf,N=E&&E(E(R([])));N&&N!==r&&o.call(N,s)&&(x=N);var S=b.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(a,i,c,s){var u=m(e[a],e,i);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==n(p)&&o.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,c,s)}),(function(e){r("throw",e,c,s)})):t.resolve(p).then((function(e){l.value=e,c(l)}),(function(e){return r("throw",e,c,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}})}function P(t,r,n){var a=h;return function(o,i){if(a===d)throw Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var s=$(c,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=m(t,r,n);if("normal"===u.type){if(a=n.done?g:"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function $(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,$(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=m(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function r(){for(;++a<t.length;)if(o.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:w,configurable:!0}),w.displayName=p(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(L.prototype),p(L.prototype,u,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(f(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(S),p(S,l,"Generator"),p(S,s,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function o(e,t,r,n,a,o,i){try{var c=e[o](i),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,a)}var i,c,s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),u=(i="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]",c="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-῿]|[‌-‍]|[⁰-↏]|[Ⰰ-⿯]|[、-퟿]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]",new RegExp("^(?:"+i+")(?:(?:"+c+"|\\.)*(?:"+c+"))?$"));s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,t,r,i,c,s,l,p,f){e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){r.getActiveRepository()&&(e.loader=!0,e.namespaces={},p.getNamespaces(r.getActiveRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,t){var r=e.prefix.toUpperCase(),n=t.prefix.toUpperCase();return r<n?-1:r>n?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(t){var r=getError(t);i.error(r),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(t){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",t&&(e.getNamespaces(),e.pageSize=t)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return r.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],y(),m()};var m=function(){angular.forEach(e.namespaces,(function(t){-1===t.namespace.indexOf(e.searchNamespaces)&&-1===t.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(t)}))};e.saveNamespace=function(t,n){return e.loader=!0,p.updateNamespacePrefix(r.getActiveRepository(),n,t).then((function(){e.getNamespaces(),i.success(f.instant("namespace.saved")),e.loader=!1})).catch((function(t){var r=getError(t);return i.error(r,f.instant("common.error")),e.loader=!1,Promise.reject(t)}))},e.editPrefix=function(t,n){e.loader=!0,l.getPrefix(r.getActiveRepository(),{from:t,to:n,location:r.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.editPrefixAndNamespace=function(){var e,t=(e=a().mark((function e(t,r,n){var o,i,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i=t,t||(i=""),w(i,o=r)){e.next=6;break}return e.abrupt("return","Prefix or namespace is invalid");case 6:if(c=n.prefix,!h(i,c)){e.next=10;break}return e.next=10,s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result;case 10:return e.abrupt("return",d(i,c,o));case 13:return e.prev=13,e.t0=e.catch(0),e.abrupt("return","Prefix overwrite cancelled");case 16:case"end":return e.stop()}}),e,null,[[0,13]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function c(e){o(i,n,a,c,s,"next",e)}function s(e){o(i,n,a,c,s,"throw",e)}c(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();var h=function(t,r){return!!e.namespaces.find((function(e){return e.prefix===t&&r!==t}))},d=function(t,r,n){return e.saveNamespace(r,n).then((function(){r!==t&&e.editPrefix(r,t)}))};e.addNamespace=function(){if(e.namespace.prefix||(e.namespace.prefix=""),w(e.namespace.prefix,e.namespace.namespace)){e.selectedAll=!1;for(var t=!1,r=0;r<e.namespaces.length;r++)e.namespaces[r].prefix===e.namespace.prefix&&(t=!0);t?s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result.then(g):g()}};var g=function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace).then((function(){e.namespace.namespace="",e.namespace.prefix="",setTimeout((function(){e.form.$setUntouched(),e.form.$setPristine()}))})).catch((function(){}))};e.removeNamespace=function(e){s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){v(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(t){t.selected=e.selectedAll}))},e.deleteSelected=function(){var t=!1;angular.forEach(e.displayedNamespaces,(function(r){t||r.selected&&(t=!0,s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;var t=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&t.push(e)})),v(t.shift(),t),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))};var v=function(t,a){var o;o="object"===n(t)?t.prefix:t,p.deleteNamespacePrefix(r.getActiveRepository(),o).success((function(){a&&a.length>0?(t=a.shift(),v(t,a)):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===a?i.success(f.instant("namespace.prefix.deleted.successfully",{prefix:o}),""):i.success(f.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(t){t.selected&&(e.haveSelected=!0)}))};var y=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))},w=function(e,t){return function(e){return""===e||e.match(u)}(e)?!angular.isUndefined(t)&&""!==t||(i.error(f.instant("namespace.warning.provide.namespace"),f.instant("common.error")),!1):(i.error(f.instant("namespace.invalid.prefix",{prefix:e},f.instant("common.error"))),!1)}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close(!0)},e.cancel=function(){t.dismiss("cancel")}}])},359:function(e,t){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(t){t.$last&&e((function(){t.$parent.loader=!1}),0)}}])},457:function(e,t,r){"use strict";r.r(t);r(10),r(52),r(53),r(358),r(359),r(147),r(748);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[71,116,176,249],{119:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}n.r(t),n.d(t,"EndpointGenerationReportList",(function(){return c})),n.d(t,"EndpointGenerationReport",(function(){return p}));var c=function(){return a((function e(t){o(this,e),s(this,"_reports",void 0),this._reports=t||[]}),[{key:"getReport",value:function(e){return this._reports.find((function(t){return t.endpointId===e}))}},{key:"reports",get:function(){return this._reports},set:function(e){this._reports=e}}])}(),p=function(){return a((function e(t){o(this,e),s(this,"_endpointId",void 0),s(this,"_endpointURI",void 0),s(this,"_active",void 0),s(this,"_default",void 0),s(this,"_label",void 0),s(this,"_description",void 0),s(this,"_lastModified",void 0),s(this,"_objectsCount",void 0),s(this,"_propertiesCount",void 0),s(this,"_warnings",void 0),s(this,"_errors",void 0),s(this,"_messages",void 0),s(this,"_createdSuccessfully",void 0),this._endpointId=t.endpointId||"",this._endpointURI=t.endpointURI||"",this._active=t.active||!1,this._default=t.default||!1,this._label=t.label||"",this._description=t.description||"",this._lastModified=t.lastModified||"",this._objectsCount=t.objectsCount||0,this._propertiesCount=t.propertiesCount||0,this._warnings=t.warnings||0,this._errors=t.errors||0,this._messages=t.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(e){this._endpointId=e}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(e){this._endpointURI=e}},{key:"active",get:function(){return this._active},set:function(e){this._active=e}},{key:"default",get:function(){return this._default},set:function(e){this._default=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"description",get:function(){return this._description},set:function(e){this._description=e}},{key:"lastModified",get:function(){return this._lastModified},set:function(e){this._lastModified=e}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(e){this._objectsCount=e}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(e){this._propertiesCount=e}},{key:"warnings",get:function(){return this._warnings},set:function(e){this._warnings=e}},{key:"errors",get:function(){return this._errors},set:function(e){this._errors=e}},{key:"messages",get:function(){return this._messages},set:function(e){this._messages=e}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(e){this._createdSuccessfully=e}}])}()},124:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlEventName",(function(){return a}));var i=n(24),o=n(157);n(119);function r(e){var t=void 0,n=void 0,r=void 0,s=function(){return t},l=function(){return r},c=function(t,n){e.emitSync(t,Object(i.cloneDeep)(n))},p=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){n=void 0,r=void 0},updateSourceRepository:function(e){t=e,c(a.SOURCE_REPOSITORY_UPDATED,s())},getSourceRepository:s,setSelectedEndpoint:function(e){n=e},getSelectedEndpoint:function(){return Object(i.cloneDeep)(n)},getNewEndpoint:l,createEndpointConfig:function(){r=new o.GraphqlEndpointConfiguration,e.emitSync(a.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(e){return r&&angular.isFunction(e)&&e(r),p(a.ENDPOINT_CONFIG_CREATED,(function(t){return e(t)}))},startCreateEndpointWizard:function(){c(a.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){c(a.GENERATE_ENDPOINT,l())},endpointGenerated:function(e){c(a.ENDPOINT_GENERATED,e)},exploreEndpointInPlayground:function(e){c(a.EXPLORE_ENDPOINT_IN_PLAYGROUND,e)},openEndpointGenerationReport:function(e){c(a.OPEN_ENDPOINT_GENERATION_REPORT,e)},deleteEndpointGenerationReport:function(e){c(a.DELETE_ENDPOINT_REPORT,e)},cancelEndpointCreation:function(){c(a.CANCEL_ENDPOINT_CREATION,{})},finishGenerationWorkflow:function(){c(a.FINISH_GENERATION_WORKFLOW,{})},nextEndpointCreationStep:function(){c(a.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){c(a.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:p}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var a={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",FINISH_GENERATION_WORKFLOW:"finishGenerationWorkflow",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},198:function(e,t,n){"use strict";n.r(t);var i=n(24);function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=o(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(i.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(i.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},314:function(e,t,n){"use strict";n.r(t);n(198);var i=n(16),o=n(124),r=n(182);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t,n,l,c,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(l,d){var h=[];l.schemaSourceType=r.SchemaSourceType,l.ontologyShaclShapeSource=r.OntologyShaclShapeSource,l.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},l.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},l.endpointConfiguration=void 0,l.prefixList=[],l.loadingPrefixes=!1,l.graphs=void 0,l.shaclShapeGraphs=void 0,l.graphqlSchemaShapes=void 0,l.allGraphs=void 0,l.loadingGraphs=!1,l.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),i=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,i,(function(){c.cancelEndpointCreation()}))},l.next=function(){c.nextEndpointCreationStep()},l.onSchemaSourceTypeChange=function(){l.endpointConfiguration.schemaSourceType=l.stepDefinition.schemaSourceType,l.endpointConfiguration.generateFromShaclShapes()&&(l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions))},l.onOntologyShaclShapeSourceChange=function(){l.endpointConfiguration.owlOrShaclSourceType=l.stepDefinition.ontotlogyShaclShapeSource,l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions)},l.canProceed=function(){var e=!1;if(l.endpointConfiguration){var t=l.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=l.endpointParamsForm.$valid;l.stepDefinition.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:l.stepDefinition.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES&&n&&(e=l.endpointConfiguration.owlOrShaclSourceType===r.OntologyShaclShapeSource.USE_ALL_GRAPHS||l.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){l.loadingData=!0,Promise.all([(l.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(c.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){l.loadingPrefixes=!1}))),(l.loadingGraphs=!0,u.getGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){l.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(c.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=s(t,4),o=n[0],r=n[1],c=n[2],p=n[3];l.graphqlSchemaShapes=c,l.graphs=r,l.shaclShapeGraphs=p,l.allGraphs=new i.GraphListOptions([].concat(a(r.graphList),a(p.graphList))),l.prefixList=o,l.endpointConfiguration=e})).finally((function(){l.loadingData=!1}))},_=function(){f(c.getNewEndpoint())},g=function(){h.forEach((function(e){return e()}))};!function(){l.$on("$destroy",g),h.push(c.subscribe(o.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,_));var e=c.getNewEndpoint();e?f(e):h.push(c.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[72,117,176,249],{119:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}n.r(t),n.d(t,"EndpointGenerationReportList",(function(){return c})),n.d(t,"EndpointGenerationReport",(function(){return p}));var c=function(){return a((function e(t){o(this,e),s(this,"_reports",void 0),this._reports=t||[]}),[{key:"getReport",value:function(e){return this._reports.find((function(t){return t.endpointId===e}))}},{key:"reports",get:function(){return this._reports},set:function(e){this._reports=e}}])}(),p=function(){return a((function e(t){o(this,e),s(this,"_endpointId",void 0),s(this,"_endpointURI",void 0),s(this,"_active",void 0),s(this,"_default",void 0),s(this,"_label",void 0),s(this,"_description",void 0),s(this,"_lastModified",void 0),s(this,"_objectsCount",void 0),s(this,"_propertiesCount",void 0),s(this,"_warnings",void 0),s(this,"_errors",void 0),s(this,"_messages",void 0),s(this,"_createdSuccessfully",void 0),this._endpointId=t.endpointId||"",this._endpointURI=t.endpointURI||"",this._active=t.active||!1,this._default=t.default||!1,this._label=t.label||"",this._description=t.description||"",this._lastModified=t.lastModified||"",this._objectsCount=t.objectsCount||0,this._propertiesCount=t.propertiesCount||0,this._warnings=t.warnings||0,this._errors=t.errors||0,this._messages=t.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(e){this._endpointId=e}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(e){this._endpointURI=e}},{key:"active",get:function(){return this._active},set:function(e){this._active=e}},{key:"default",get:function(){return this._default},set:function(e){this._default=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"description",get:function(){return this._description},set:function(e){this._description=e}},{key:"lastModified",get:function(){return this._lastModified},set:function(e){this._lastModified=e}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(e){this._objectsCount=e}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(e){this._propertiesCount=e}},{key:"warnings",get:function(){return this._warnings},set:function(e){this._warnings=e}},{key:"errors",get:function(){return this._errors},set:function(e){this._errors=e}},{key:"messages",get:function(){return this._messages},set:function(e){this._messages=e}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(e){this._createdSuccessfully=e}}])}()},125:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlEventName",(function(){return a}));var i=n(24),o=n(158);n(119);function r(e){var t=void 0,n=void 0,r=void 0,s=function(){return t},l=function(){return r},c=function(t,n){e.emitSync(t,Object(i.cloneDeep)(n))},p=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){n=void 0,r=void 0},updateSourceRepository:function(e){t=e,c(a.SOURCE_REPOSITORY_UPDATED,s())},getSourceRepository:s,setSelectedEndpoint:function(e){n=e},getSelectedEndpoint:function(){return Object(i.cloneDeep)(n)},getNewEndpoint:l,createEndpointConfig:function(){r=new o.GraphqlEndpointConfiguration,e.emitSync(a.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(e){return r&&angular.isFunction(e)&&e(r),p(a.ENDPOINT_CONFIG_CREATED,(function(t){return e(t)}))},startCreateEndpointWizard:function(){c(a.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){c(a.GENERATE_ENDPOINT,l())},endpointGenerated:function(e){c(a.ENDPOINT_GENERATED,e)},exploreEndpointInPlayground:function(e){c(a.EXPLORE_ENDPOINT_IN_PLAYGROUND,e)},openEndpointGenerationReport:function(e){c(a.OPEN_ENDPOINT_GENERATION_REPORT,e)},deleteEndpointGenerationReport:function(e){c(a.DELETE_ENDPOINT_REPORT,e)},cancelEndpointCreation:function(){c(a.CANCEL_ENDPOINT_CREATION,{})},finishGenerationWorkflow:function(){c(a.FINISH_GENERATION_WORKFLOW,{})},nextEndpointCreationStep:function(){c(a.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){c(a.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:p}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var a={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",FINISH_GENERATION_WORKFLOW:"finishGenerationWorkflow",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},198:function(e,t,n){"use strict";n.r(t);var i=n(24);function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=o(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(i.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(i.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},314:function(e,t,n){"use strict";n.r(t);n(198);var i=n(16),o=n(125),r=n(182);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t,n,l,c,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(l,d){var h=[];l.schemaSourceType=r.SchemaSourceType,l.ontologyShaclShapeSource=r.OntologyShaclShapeSource,l.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},l.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},l.endpointConfiguration=void 0,l.prefixList=[],l.loadingPrefixes=!1,l.graphs=void 0,l.shaclShapeGraphs=void 0,l.graphqlSchemaShapes=void 0,l.allGraphs=void 0,l.loadingGraphs=!1,l.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),i=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,i,(function(){c.cancelEndpointCreation()}))},l.next=function(){c.nextEndpointCreationStep()},l.onSchemaSourceTypeChange=function(){l.endpointConfiguration.schemaSourceType=l.stepDefinition.schemaSourceType,l.endpointConfiguration.generateFromShaclShapes()&&(l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions))},l.onOntologyShaclShapeSourceChange=function(){l.endpointConfiguration.owlOrShaclSourceType=l.stepDefinition.ontotlogyShaclShapeSource,l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions)},l.canProceed=function(){var e=!1;if(l.endpointConfiguration){var t=l.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=l.endpointParamsForm.$valid;l.stepDefinition.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:l.stepDefinition.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES&&n&&(e=l.endpointConfiguration.owlOrShaclSourceType===r.OntologyShaclShapeSource.USE_ALL_GRAPHS||l.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){l.loadingData=!0,Promise.all([(l.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(c.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){l.loadingPrefixes=!1}))),(l.loadingGraphs=!0,u.getGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){l.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(c.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=s(t,4),o=n[0],r=n[1],c=n[2],p=n[3];l.graphqlSchemaShapes=c,l.graphs=r,l.shaclShapeGraphs=p,l.allGraphs=new i.GraphListOptions([].concat(a(r.graphList),a(p.graphList))),l.prefixList=o,l.endpointConfiguration=e})).finally((function(){l.loadingData=!1}))},_=function(){f(c.getNewEndpoint())},g=function(){h.forEach((function(e){return e()}))};!function(){l.$on("$destroy",g),h.push(c.subscribe(o.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,_));var e=c.getNewEndpoint();e?f(e):h.push(c.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[72,120,242,354],{111:function(n,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",e),e.$inject=["$http"];function e(n){return{getConnectors:function(t,e){if(t)return n.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":e}});return n.get("rest/connectors")},initConnector:function(t){return n.get("".concat("rest/connectors","/options?prefix=").concat(t))},hasConnector:function(t,e,o){if(e)return n.get("".concat("rest/connectors","/existing?prefix=").concat(t),{headers:{"X-GraphDB-Repository":e,"X-GraphDB-Repository-Location":o}});return n.get("".concat("rest/connectors","/existing?prefix=").concat(t))},checkConnector:function(t){return n.post("".concat("rest/connectors","/check"),t,{headers:{"Content-Type":"text/plain"}})}}}},122:function(n,t,e){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function c(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,s(o.key),o)}}function i(n,t,e){return t&&c(n.prototype,t),e&&c(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function s(n){var t=function(n,t){if("object"!=o(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==o(t)?t:t+""}e.r(t),e.d(t,"ConnectorTypesListModel",(function(){return u})),e.d(t,"ConnectorTypeModel",(function(){return f})),e.d(t,"ConnectorListModel",(function(){return a})),e.d(t,"ConnectorModel",(function(){return p})),e.d(t,"ConnectorSettingsModel",(function(){return h}));var u=function(){return i((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,n),this._connectors=t.connectors||[]}),[{key:"getConnectorByName",value:function(n){return this._connectors.find((function(t){return t.name===n}))}},{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),f=function(){return i((function n(t){r(this,n),this._name=t.name,this._prefix=t.prefix}),[{key:"name",get:function(){return this._name},set:function(n){this._name=n}},{key:"prefix",get:function(){return this._prefix},set:function(n){this._prefix=n}}])}(),a=function(){return i((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r(this,n),this._connectors=t.connectors}),[{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),p=function(){return i((function n(t){r(this,n),this._name=t.name,this._settings=new h(t)}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}},{key:"name",get:function(){return this._name},set:function(n){this._name=n}}])}(),h=function(){return i((function n(t){r(this,n),this._settings=t.values||{}}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}}])}()},125:function(n,t,e){"use strict";e.r(t);e(111);var o=e(134),r=e(25);function c(n){var t=function(t,e){return n.getConnectors(t,e).then((function(n){return Object(o.connectorTypesListMapper)(n.data)}))},e=function(t,e,r){return n.hasConnector(encodeURIComponent(t),e,r).then((function(n){return Object(o.connectorsMapper)(n.data)}))};return{getConnectorTypes:t,getConnectorsByType:e,getConnectorPrefixByName:function(n,e,o){return t(e,o).then((function(t){var e=t.getConnectorByName(n);return e?e.prefix:null}))},getConnectorsByTypeAsSelectMenuOptions:function(n,t,o){return e(n,t,o).then((function(n){return n.connectors.map((function(n){return new r.SelectMenuOptionsModel({value:n.name,label:n.name})}))}))}}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",c),c.$inject=["ConnectorsRestService"]},134:function(n,t,e){"use strict";e.r(t),e.d(t,"connectorTypesListMapper",(function(){return r})),e.d(t,"connectorsMapper",(function(){return c}));var o=e(122),r=function(n){var t=new o.ConnectorTypesListModel;return n?(t.connectors=Object.keys(n).map((function(t){return new o.ConnectorTypeModel({name:t,prefix:n[t]})})),t):t},c=function(n){var t=new o.ConnectorListModel;return n?(t.connectors=n.map((function(n){return new o.ConnectorModel(n)})),t):t}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[73,121,242,354],{111:function(n,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",e),e.$inject=["$http"];function e(n){return{getConnectors:function(t,e){if(t)return n.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":e}});return n.get("rest/connectors")},initConnector:function(t){return n.get("".concat("rest/connectors","/options?prefix=").concat(t))},hasConnector:function(t,e,o){if(e)return n.get("".concat("rest/connectors","/existing?prefix=").concat(t),{headers:{"X-GraphDB-Repository":e,"X-GraphDB-Repository-Location":o}});return n.get("".concat("rest/connectors","/existing?prefix=").concat(t))},checkConnector:function(t){return n.post("".concat("rest/connectors","/check"),t,{headers:{"Content-Type":"text/plain"}})}}}},123:function(n,t,e){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function c(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,s(o.key),o)}}function i(n,t,e){return t&&c(n.prototype,t),e&&c(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function s(n){var t=function(n,t){if("object"!=o(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==o(t)?t:t+""}e.r(t),e.d(t,"ConnectorTypesListModel",(function(){return u})),e.d(t,"ConnectorTypeModel",(function(){return f})),e.d(t,"ConnectorListModel",(function(){return a})),e.d(t,"ConnectorModel",(function(){return p})),e.d(t,"ConnectorSettingsModel",(function(){return h}));var u=function(){return i((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,n),this._connectors=t.connectors||[]}),[{key:"getConnectorByName",value:function(n){return this._connectors.find((function(t){return t.name===n}))}},{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),f=function(){return i((function n(t){r(this,n),this._name=t.name,this._prefix=t.prefix}),[{key:"name",get:function(){return this._name},set:function(n){this._name=n}},{key:"prefix",get:function(){return this._prefix},set:function(n){this._prefix=n}}])}(),a=function(){return i((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r(this,n),this._connectors=t.connectors}),[{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),p=function(){return i((function n(t){r(this,n),this._name=t.name,this._settings=new h(t)}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}},{key:"name",get:function(){return this._name},set:function(n){this._name=n}}])}(),h=function(){return i((function n(t){r(this,n),this._settings=t.values||{}}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}}])}()},126:function(n,t,e){"use strict";e.r(t);e(111);var o=e(136),r=e(25);function c(n){var t=function(t,e){return n.getConnectors(t,e).then((function(n){return Object(o.connectorTypesListMapper)(n.data)}))},e=function(t,e,r){return n.hasConnector(encodeURIComponent(t),e,r).then((function(n){return Object(o.connectorsMapper)(n.data)}))};return{getConnectorTypes:t,getConnectorsByType:e,getConnectorPrefixByName:function(n,e,o){return t(e,o).then((function(t){var e=t.getConnectorByName(n);return e?e.prefix:null}))},getConnectorsByTypeAsSelectMenuOptions:function(n,t,o){return e(n,t,o).then((function(n){return n.connectors.map((function(n){return new r.SelectMenuOptionsModel({value:n.name,label:n.name})}))}))}}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",c),c.$inject=["ConnectorsRestService"]},136:function(n,t,e){"use strict";e.r(t),e.d(t,"connectorTypesListMapper",(function(){return r})),e.d(t,"connectorsMapper",(function(){return c}));var o=e(123),r=function(n){var t=new o.ConnectorTypesListModel;return n?(t.connectors=Object.keys(n).map((function(t){return new o.ConnectorTypeModel({name:t,prefix:n[t]})})),t):t},c=function(n){var t=new o.ConnectorListModel;return n?(t.connectors=n.map((function(n){return new o.ConnectorModel(n)})),t):t}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[73,114,186,354],{111:function(e,n){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(e){return{getConnectors:function(n,t){if(n)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":t}});return e.get("rest/connectors")},initConnector:function(n){return e.get("".concat("rest/connectors","/options?prefix=").concat(n))},hasConnector:function(n,t,r){if(t)return e.get("".concat("rest/connectors","/existing?prefix=").concat(n),{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":r}});return e.get("".concat("rest/connectors","/existing?prefix=").concat(n))},checkConnector:function(n){return e.post("".concat("rest/connectors","/check"),n,{headers:{"Content-Type":"text/plain"}})}}}},219:function(e,n,t){"use strict";t.r(n);t(59),t(111);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var n=[];return Object.keys(e).forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&")}function a(e,n){return _.reduce(e,(function(e,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(n.instant("externalsync.empty.value.key.error",{value:t.value}));if(e.hasOwnProperty(t.key))throw new Error(n.instant("externalsync.duplicate.key.error",{key:t.key}));e[t.key]=t.value}return e}),{})}function i(e,n){for(var t=0;t<n.length;t++){var r=n[t];if("StringArray"===r.__type)e[r.__name]||(e[r.__name]=[""]);else if("OptionArray"===r.__type)if(e[r.__name])for(var o=0;o<r.__childOptions.length;o++){var a=r.__childOptions[o];if("Boolean"===a.__type)for(var i=0;i<e[r.__name].length;i++){var c=e[r.__name][i];!c.hasOwnProperty([a.__name])&&angular.isDefined(a.__defaultValue)&&(c[a.__name]=a.__defaultValue)}}else{e[r.__name]=[];for(var s={},l=0;l<r.__childOptions.length;l++){var u=r.__childOptions[l];"StringArray"===u.__type?s[u.__name]=[""]:s[u.__name]=angular.isUndefined(u.__defaultValue)?"":u.__defaultValue}e[r.__name].push(s)}else"Map"===r.__type?e[r.__name]?e[r.__name]=(p=e[r.__name],_.map(p,(function(e,n){return{key:n,value:e}}))):e[r.__name]=[]:"JsonString"===r.__type?!e[r.__name]||e[r.__name]instanceof String||"string"==typeof e[r.__name]||(e[r.__name]=angular.toJson(e[r.__name],2)):angular.isUndefined(e[r.__name])&&(e[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var p;return e}function c(e,n,t){return e.post("repositories/"+n,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function s(e){return e.substring(0,e.length-1)+"/instance#"}function l(e,n,t,o,i){for(var c=function e(n,t){var r={};return _.each(t,(function(t){angular.isDefined(n[t.__name])&&("OptionArray"===t.__type?(r[t.__name]=[],_.each(n[t.__name],(function(n){r[t.__name].push(e(n,t.__childOptions))}))):r[t.__name]=_.cloneDeep(n[t.__name]))})),r}(t,o),l=0;l<o.length;l++)try{"Map"===o[l].__type?c[o[l].__name]=a(c[o[l].__name],$translate):"JsonString"===o[l].__type&&(c[o[l].__name]=angular.fromJson(c[o[l].__name]))}catch(e){return i(o[l].__label,e.message),null}!function e(n){Array.isArray(n)&&(n=_.filter(n,(function(e){return null!==e&&(!e.trim||""!==e.trim())})));return Object.keys(n).forEach((function(t){""!==n[t]&&null!=n[t]||!1===n[t]?"object"===r(n[t])&&(n[t]=e(n[t])):delete n[t]})),n}(c);var u="";return u+="PREFIX :<"+n+">\n",u+="PREFIX inst:<"+s(n)+">\n",u+="INSERT DATA {\n",u+="\tinst:"+e+" :createConnector '''\n",u+=angular.toJson(c,2),u=(u+="\n''' .\n}\n").replace(/\\/g,"\\\\\\")}function u(e,n,t,r,a,u,p,f,d,g){function m(n){e.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:n?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!n,eta:"-",inline:!1,iri:null}}function y(n,t,o){return m(o),$.extend(e.beingBuiltConnector,{iri:s(n)+t,name:t,inline:!1,doneCallback:function(){e.beingBuiltConnector.modalInstance.dismiss("cancel")}}),e.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:e}),e.beingBuiltConnector.modalInstance}function v(n,r,i){var c=y(n.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))})),a.success(g.instant("created.connector",{name:r.name}))}),(function(e){a.error(getError(e)),i()})).finally((function(){c.dismiss("cancel")}))}e.loader=!1,e.controllers=[],e.existing={},e.definitions={},e.getLoaderMessage=function(){var n=(Date.now()-e.loaderStartTime)/1e3,t=e.getHumanReadableSeconds(n),r="";return r=e.progressMessage?e.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),e.extraMessage&&n>10&&(r+="\n"+e.extraMessage),r},e.setLoader=function(n,t,r){n?(e.loader=!0,e.loaderStartTime=Date.now(),e.progressMessage=t,e.extraMessage=r):(e.loader=!1,e.progressMessage="",e.extraMessage="")},e.initConnector=function(n){return d.initConnector(encodeURIComponent(n.value)).then((function(t){return e.definitions[n.key]=t.data,d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))}))},e.getConnectors=function(){e.isLicenseValid()&&e.canWriteActiveRepo()&&(e.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(r){e.connectors=Object.keys(r.data).map((function(e){return{key:e,value:r.data[e]}})),p.all(_.map(e.connectors,(function(n){return e.initConnector(n)}))).finally((function(){m();var r,o,a=(r=e.connectors,(o=_.map(r,(function(e){return"<"+e.value+"connectorStatus>"})).join("|"))?"SELECT ?connector ?status { ?connector "+o+" ?status }":null);a?function(e){return c(n,t.getActiveRepository(),e)}(a).then((function(n){var t,r,o=function(e){if(e.bindings)for(var n=0;n<e.bindings.length;n++)try{var t=JSON.parse(e.bindings[n].status.value);if("BUILDING"===t.status)return{connector:e.bindings[n].connector.value,status:t}}catch(e){console.error(e)}return{}}(n.data.results);if(o.connector){var a=o.connector.split(/#/);a[0]=a[0].replace(/\/instance$/,"#"),t=a[0],r=a[1],m(),$.extend(e.beingBuiltConnector,{iri:s(t)+r,name:r,inline:!0,doneCallback:function(){e.beingBuiltConnector.inline=!1}})}})).finally((function(){e.setLoader(!1)})):e.setLoader(!1)}))})).catch((function(n){e.setLoader(!1),a.error(getError(n),g.instant("externalsync.could.not.get.connectors.error"))})),e.existing={})},e.getOptions=function(n){return e.definitions[n.key]},e.isEmpty=function(e){return angular.isObject(e)&&0===Object.keys(e).length},e.toPrettyJson=function(e){return angular.toJson(e,2)},e.$watch((function(){return t.getActiveRepository()}),e.getConnectors),e.$watch((function(){return t.getActiveLocation()}),e.getConnectors),e.copyConnector=function(n,t){var o;angular.isUndefined(t)||((o=_.cloneDeep(t)).name=o.name+"-copy"),r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.newConnector=function(n,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.repair=function(n,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){var i,c,l=y(r.value,n.name,!0),u=(i=n.name,"PREFIX prefix:<"+(c=r.value)+">\nINSERT DATA {\n\t<"+s(c)+i+'> prefix:repairConnector ""\n}');f.addStatements(t.getActiveRepository(),o({update:u})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(n){e.existing[r.key]=n.data}))})),a.success(g.instant("externalsync.repair.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){l.dismiss("cancel")}))}))},e.delete=function(n,i){var c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){e.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:n.name}),g.instant("externalsync.extra.message.warning"));var s=function(e,n,t){var r=n.substring(0,n.length-1)+"/instance#";return"PREFIX prefix:<"+n+">\nINSERT DATA {\n\t<"+r+e+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(n.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:s})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(n){e.existing[i.key]=n.data}))})),r?(a.success(g.instant("externalsync.delete.force.success.msg",{name:n.name})),c&&a.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):a.success(g.instant("externalsync.delete.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))}))},e.viewQuery=function(n,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){var r=e.getOptions(n);return l(t.name,n.value,i(t.values,r),r)}}})}}function p(e,n,t){e.force=!1,e.popoverMsg=t,e.ok=function(){n.close(e.force)},e.cancel=function(){n.dismiss()}}function f(e,n,t,r,o){function a(){return l(e.name,t.value,e.values,e.options,(function(e,n){o.error(n,e)}))}e.connector=t,e.addField=function(n,t){var r=_.cloneDeep(e.defaultValues[t][0]);e.values[t].splice(n+1,0,r)},e.addOption=function(e,n){n.splice(e+1,0,"")},e.deleteOption=function(e,n){n.splice(e,1)},e.addMapOption=function(e,n){n.splice(e+1,0,{key:"",value:""})},e.deleteMapOption=function(e,n){n.splice(e,1)},e.ok=function(){if(e.form.$valid){var t=a();t&&n.close({name:e.name,values:e.values,options:e.options,query:t})}},e.viewQuery=function(){var e=a();e&&r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},e.cancel=function(){n.dismiss("cancel")}}function d(e,n,t,r,o,a,c,s){angular.extend(this,n("ExtendNewConnectorCtrl",{$scope:e,$uibModalInstance:r,connector:o,$uibModal:a})),e.values=c.values,e.options=s,e.name=c.name,c.skipConversion||(e.values=i(e.values,e.options)),e.defaultValues=_.cloneDeep(e.values)}function g(e,n,t,r,o){function a(){var a,i,s,l=(a=e.beingBuiltConnector.iri,i=a.replace(/\/instance#.+$/,"#connectorStatus"),s="",s+="SELECT ?status {\n",s+="\t<"+a+"> <"+i+"> ?status",s+="\n}");e.beingBuiltConnector.iri=null,e.progressInterval=n((function(){(function(e){return c(t,r.getActiveRepository(),e)})(l).then((function(t){var r=function(e){if(e.bindings&&e.bindings.length>0)try{return JSON.parse(e.bindings[0].status.value)}catch(e){console.error(e)}return{}}(t.data.results);"BUILDING"===r.status?(e.beingBuiltConnector.status=r,e.beingBuiltConnector.percentDone=(100*r.processedEntities/r.estimatedEntities).toFixed(0),e.beingBuiltConnector.eta=e.getHumanReadableSeconds(r.etaSeconds),e.beingBuiltConnector.actionName=r.repair?o.instant("externalsync.repairing"):o.instant("externalsync.creating"),e.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==r.status||e.beingBuiltConnector.waitOnRepairStartOnce||(n.cancel(e.progressInterval),e.beingBuiltConnector.doneCallback&&e.beingBuiltConnector.doneCallback())}))}),1e3),e.$on("$destroy",(function(){n.cancel(e.progressInterval)}))}e.beingBuiltConnector=e.beingBuiltConnector||{},!e.beingBuiltConnector.inline&&e.beingBuiltConnector.iri&&a(),e.$watch("beingBuiltConnector.iri",(function(n){e.beingBuiltConnector.inline&&n&&a()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",u).controller("ExtendNewConnectorCtrl",f).controller("CreateConnectorCtrl",d).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",p).filter("ceil",(function(){return function(e){return Math.ceil(e)}})),u.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],p.$inject=["$scope","$uibModalInstance","popoverMsg"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],d.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]},294:function(e,n,t){"use strict";t.r(n);t(10);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},397:function(e,n,t){"use strict";t.r(n);t(10),t(52),t(58),t(219),t(294);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(e){return angular.isUndefined(e)?e:e.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[74,115,186,354],{111:function(e,n){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(e){return{getConnectors:function(n,t){if(n)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":t}});return e.get("rest/connectors")},initConnector:function(n){return e.get("".concat("rest/connectors","/options?prefix=").concat(n))},hasConnector:function(n,t,r){if(t)return e.get("".concat("rest/connectors","/existing?prefix=").concat(n),{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":r}});return e.get("".concat("rest/connectors","/existing?prefix=").concat(n))},checkConnector:function(n){return e.post("".concat("rest/connectors","/check"),n,{headers:{"Content-Type":"text/plain"}})}}}},219:function(e,n,t){"use strict";t.r(n);t(59),t(111);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var n=[];return Object.keys(e).forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&")}function a(e,n){return _.reduce(e,(function(e,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(n.instant("externalsync.empty.value.key.error",{value:t.value}));if(e.hasOwnProperty(t.key))throw new Error(n.instant("externalsync.duplicate.key.error",{key:t.key}));e[t.key]=t.value}return e}),{})}function i(e,n){for(var t=0;t<n.length;t++){var r=n[t];if("StringArray"===r.__type)e[r.__name]||(e[r.__name]=[""]);else if("OptionArray"===r.__type)if(e[r.__name])for(var o=0;o<r.__childOptions.length;o++){var a=r.__childOptions[o];if("Boolean"===a.__type)for(var i=0;i<e[r.__name].length;i++){var c=e[r.__name][i];!c.hasOwnProperty([a.__name])&&angular.isDefined(a.__defaultValue)&&(c[a.__name]=a.__defaultValue)}}else{e[r.__name]=[];for(var s={},l=0;l<r.__childOptions.length;l++){var u=r.__childOptions[l];"StringArray"===u.__type?s[u.__name]=[""]:s[u.__name]=angular.isUndefined(u.__defaultValue)?"":u.__defaultValue}e[r.__name].push(s)}else"Map"===r.__type?e[r.__name]?e[r.__name]=(p=e[r.__name],_.map(p,(function(e,n){return{key:n,value:e}}))):e[r.__name]=[]:"JsonString"===r.__type?!e[r.__name]||e[r.__name]instanceof String||"string"==typeof e[r.__name]||(e[r.__name]=angular.toJson(e[r.__name],2)):angular.isUndefined(e[r.__name])&&(e[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var p;return e}function c(e,n,t){return e.post("repositories/"+n,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function s(e){return e.substring(0,e.length-1)+"/instance#"}function l(e,n,t,o,i){for(var c=function e(n,t){var r={};return _.each(t,(function(t){angular.isDefined(n[t.__name])&&("OptionArray"===t.__type?(r[t.__name]=[],_.each(n[t.__name],(function(n){r[t.__name].push(e(n,t.__childOptions))}))):r[t.__name]=_.cloneDeep(n[t.__name]))})),r}(t,o),l=0;l<o.length;l++)try{"Map"===o[l].__type?c[o[l].__name]=a(c[o[l].__name],$translate):"JsonString"===o[l].__type&&(c[o[l].__name]=angular.fromJson(c[o[l].__name]))}catch(e){return i(o[l].__label,e.message),null}!function e(n){Array.isArray(n)&&(n=_.filter(n,(function(e){return null!==e&&(!e.trim||""!==e.trim())})));return Object.keys(n).forEach((function(t){""!==n[t]&&null!=n[t]||!1===n[t]?"object"===r(n[t])&&(n[t]=e(n[t])):delete n[t]})),n}(c);var u="";return u+="PREFIX :<"+n+">\n",u+="PREFIX inst:<"+s(n)+">\n",u+="INSERT DATA {\n",u+="\tinst:"+e+" :createConnector '''\n",u+=angular.toJson(c,2),u=(u+="\n''' .\n}\n").replace(/\\/g,"\\\\\\")}function u(e,n,t,r,a,u,p,f,d,g){function m(n){e.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:n?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!n,eta:"-",inline:!1,iri:null}}function y(n,t,o){return m(o),$.extend(e.beingBuiltConnector,{iri:s(n)+t,name:t,inline:!1,doneCallback:function(){e.beingBuiltConnector.modalInstance.dismiss("cancel")}}),e.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:e}),e.beingBuiltConnector.modalInstance}function v(n,r,i){var c=y(n.value,r.name,!1);f.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))})),a.success(g.instant("created.connector",{name:r.name}))}),(function(e){a.error(getError(e)),i()})).finally((function(){c.dismiss("cancel")}))}e.loader=!1,e.controllers=[],e.existing={},e.definitions={},e.getLoaderMessage=function(){var n=(Date.now()-e.loaderStartTime)/1e3,t=e.getHumanReadableSeconds(n),r="";return r=e.progressMessage?e.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),e.extraMessage&&n>10&&(r+="\n"+e.extraMessage),r},e.setLoader=function(n,t,r){n?(e.loader=!0,e.loaderStartTime=Date.now(),e.progressMessage=t,e.extraMessage=r):(e.loader=!1,e.progressMessage="",e.extraMessage="")},e.initConnector=function(n){return d.initConnector(encodeURIComponent(n.value)).then((function(t){return e.definitions[n.key]=t.data,d.hasConnector(encodeURIComponent(n.value)).then((function(t){e.existing[n.key]=t.data}))}))},e.getConnectors=function(){e.isLicenseValid()&&e.canWriteActiveRepo()&&(e.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(r){e.connectors=Object.keys(r.data).map((function(e){return{key:e,value:r.data[e]}})),p.all(_.map(e.connectors,(function(n){return e.initConnector(n)}))).finally((function(){m();var r,o,a=(r=e.connectors,(o=_.map(r,(function(e){return"<"+e.value+"connectorStatus>"})).join("|"))?"SELECT ?connector ?status { ?connector "+o+" ?status }":null);a?function(e){return c(n,t.getActiveRepository(),e)}(a).then((function(n){var t,r,o=function(e){if(e.bindings)for(var n=0;n<e.bindings.length;n++)try{var t=JSON.parse(e.bindings[n].status.value);if("BUILDING"===t.status)return{connector:e.bindings[n].connector.value,status:t}}catch(e){console.error(e)}return{}}(n.data.results);if(o.connector){var a=o.connector.split(/#/);a[0]=a[0].replace(/\/instance$/,"#"),t=a[0],r=a[1],m(),$.extend(e.beingBuiltConnector,{iri:s(t)+r,name:r,inline:!0,doneCallback:function(){e.beingBuiltConnector.inline=!1}})}})).finally((function(){e.setLoader(!1)})):e.setLoader(!1)}))})).catch((function(n){e.setLoader(!1),a.error(getError(n),g.instant("externalsync.could.not.get.connectors.error"))})),e.existing={})},e.getOptions=function(n){return e.definitions[n.key]},e.isEmpty=function(e){return angular.isObject(e)&&0===Object.keys(e).length},e.toPrettyJson=function(e){return angular.toJson(e,2)},e.$watch((function(){return t.getActiveRepository()}),e.getConnectors),e.$watch((function(){return t.getActiveLocation()}),e.getConnectors),e.copyConnector=function(n,t){var o;angular.isUndefined(t)||((o=_.cloneDeep(t)).name=o.name+"-copy"),r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.newConnector=function(n,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return n},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return e.getOptions(n)}}}).result.then((function(t){v(n,t,(function(){t.skipConversion=!0,e.newConnector(n,t)}))}))},e.repair=function(n,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){var i,c,l=y(r.value,n.name,!0),u=(i=n.name,"PREFIX prefix:<"+(c=r.value)+">\nINSERT DATA {\n\t<"+s(c)+i+'> prefix:repairConnector ""\n}');f.addStatements(t.getActiveRepository(),o({update:u})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(n){e.existing[r.key]=n.data}))})),a.success(g.instant("externalsync.repair.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){l.dismiss("cancel")}))}))},e.delete=function(n,i){var c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){e.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:n.name}),g.instant("externalsync.extra.message.warning"));var s=function(e,n,t){var r=n.substring(0,n.length-1)+"/instance#";return"PREFIX prefix:<"+n+">\nINSERT DATA {\n\t<"+r+e+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(n.name,i.value,r);f.addStatements(t.getActiveRepository(),o({update:s})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(n){e.existing[i.key]=n.data}))})),r?(a.success(g.instant("externalsync.delete.force.success.msg",{name:n.name})),c&&a.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):a.success(g.instant("externalsync.delete.success.msg",{name:n.name}))}),(function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))}))},e.viewQuery=function(n,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){var r=e.getOptions(n);return l(t.name,n.value,i(t.values,r),r)}}})}}function p(e,n,t){e.force=!1,e.popoverMsg=t,e.ok=function(){n.close(e.force)},e.cancel=function(){n.dismiss()}}function f(e,n,t,r,o){function a(){return l(e.name,t.value,e.values,e.options,(function(e,n){o.error(n,e)}))}e.connector=t,e.addField=function(n,t){var r=_.cloneDeep(e.defaultValues[t][0]);e.values[t].splice(n+1,0,r)},e.addOption=function(e,n){n.splice(e+1,0,"")},e.deleteOption=function(e,n){n.splice(e,1)},e.addMapOption=function(e,n){n.splice(e+1,0,{key:"",value:""})},e.deleteMapOption=function(e,n){n.splice(e,1)},e.ok=function(){if(e.form.$valid){var t=a();t&&n.close({name:e.name,values:e.values,options:e.options,query:t})}},e.viewQuery=function(){var e=a();e&&r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},e.cancel=function(){n.dismiss("cancel")}}function d(e,n,t,r,o,a,c,s){angular.extend(this,n("ExtendNewConnectorCtrl",{$scope:e,$uibModalInstance:r,connector:o,$uibModal:a})),e.values=c.values,e.options=s,e.name=c.name,c.skipConversion||(e.values=i(e.values,e.options)),e.defaultValues=_.cloneDeep(e.values)}function g(e,n,t,r,o){function a(){var a,i,s,l=(a=e.beingBuiltConnector.iri,i=a.replace(/\/instance#.+$/,"#connectorStatus"),s="",s+="SELECT ?status {\n",s+="\t<"+a+"> <"+i+"> ?status",s+="\n}");e.beingBuiltConnector.iri=null,e.progressInterval=n((function(){(function(e){return c(t,r.getActiveRepository(),e)})(l).then((function(t){var r=function(e){if(e.bindings&&e.bindings.length>0)try{return JSON.parse(e.bindings[0].status.value)}catch(e){console.error(e)}return{}}(t.data.results);"BUILDING"===r.status?(e.beingBuiltConnector.status=r,e.beingBuiltConnector.percentDone=(100*r.processedEntities/r.estimatedEntities).toFixed(0),e.beingBuiltConnector.eta=e.getHumanReadableSeconds(r.etaSeconds),e.beingBuiltConnector.actionName=r.repair?o.instant("externalsync.repairing"):o.instant("externalsync.creating"),e.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==r.status||e.beingBuiltConnector.waitOnRepairStartOnce||(n.cancel(e.progressInterval),e.beingBuiltConnector.doneCallback&&e.beingBuiltConnector.doneCallback())}))}),1e3),e.$on("$destroy",(function(){n.cancel(e.progressInterval)}))}e.beingBuiltConnector=e.beingBuiltConnector||{},!e.beingBuiltConnector.inline&&e.beingBuiltConnector.iri&&a(),e.$watch("beingBuiltConnector.iri",(function(n){e.beingBuiltConnector.inline&&n&&a()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",u).controller("ExtendNewConnectorCtrl",f).controller("CreateConnectorCtrl",d).controller("CreateProgressCtrl",g).controller("DeleteConnectorCtrl",p).filter("ceil",(function(){return function(e){return Math.ceil(e)}})),u.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],p.$inject=["$scope","$uibModalInstance","popoverMsg"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],d.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],g.$inject=["$scope","$interval","$http","$repositories","$translate"]},294:function(e,n,t){"use strict";t.r(n);t(10);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},397:function(e,n,t){"use strict";t.r(n);t(10),t(52),t(58),t(219),t(294);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(e){return angular.isUndefined(e)?e:e.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[74,357],{185:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("".concat("rest/class-hierarchy","/class-instances"),{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("".concat("rest/dependencies","/matrix"),{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("".concat("rest/dependencies","/classes"),{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("".concat("rest/dependencies","/status"),{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("".concat("rest/dependencies","/update"),{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("".concat("rest/dependencies","/predicates"),{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("".concat("rest/explore-graph","/node"),{params:t})},getInstanceNodeLinks:function(t){return e.get("".concat("rest/explore-graph","/links"),{params:t})},getProperties:function(t){return e.get("".concat("rest/explore-graph","/properties"),{params:t})},updateGraph:function(t){var n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("".concat("rest/explore-graph","/graph"),n)},getRdfsLabelAndComment:function(t,n,r){var a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},308:function(e,t,n){"use strict";n.r(t);var r=n(648);n(185);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){var o=n.dependenciesData;!function(o,i){if(!function(){var e,t=!0,n=a(o);try{for(n.s();!(e=n.n()).done;){if(e.value.some((function(e){return 0!==e}))){t=!1;break}}}catch(e){n.e(e)}finally{n.f()}return t}()){var s=d3.scaleOrdinal(d3.schemeCategory10),c=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){c.style("opacity",0)}));var d=Math.min(800,800)/2.8,l=d-24,p=d3.arc().innerRadius(l).outerRadius(d),u=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),f=d3.ribbon().radius(l),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",d).style("fill","none");var h=u(o),m=g.selectAll(".group").data(h.groups).enter().append("g").attr("class","group").on("mouseover",(function(){var e=m.nodes().indexOf(this);v.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));m.append("title").text((function(e,t){return i[t]})),m.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return s(t)})),m.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(l+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return i[e.index]}));var v=g.selectAll(".chord").data(h).enter().append("path").attr("class","chord").style("fill",(function(e){return s(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",f);v.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),v.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),v.on("click",(function(e,r){var a=i[r.source.index],o=i[r.target.index],s=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){var t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){var t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",c.html(t).style("left",s+"px").style("top",d+"px")})),c.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){var t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}}(o.matrix,o.nodes,o.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",i),i.$inject=["$repositories","GraphDataRestService"]},634:function(e,t,n){var r,a;r=[n(644)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(644)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},648:function(e,t,n){"use strict";n(634);var r=r||{};r.Export={getCSSRules:function(e){var t=$('link[href="'+e+'"]')[0].sheet.rules,n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");var t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[75,357],{185:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("".concat("rest/class-hierarchy","/class-instances"),{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("".concat("rest/dependencies","/matrix"),{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("".concat("rest/dependencies","/classes"),{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("".concat("rest/dependencies","/status"),{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("".concat("rest/dependencies","/update"),{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("".concat("rest/dependencies","/predicates"),{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("".concat("rest/explore-graph","/node"),{params:t})},getInstanceNodeLinks:function(t){return e.get("".concat("rest/explore-graph","/links"),{params:t})},getProperties:function(t){return e.get("".concat("rest/explore-graph","/properties"),{params:t})},updateGraph:function(t){var n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("".concat("rest/explore-graph","/graph"),n)},getRdfsLabelAndComment:function(t,n,r){var a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},308:function(e,t,n){"use strict";n.r(t);var r=n(648);n(185);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){var o=n.dependenciesData;!function(o,i){if(!function(){var e,t=!0,n=a(o);try{for(n.s();!(e=n.n()).done;){if(e.value.some((function(e){return 0!==e}))){t=!1;break}}}catch(e){n.e(e)}finally{n.f()}return t}()){var s=d3.scaleOrdinal(d3.schemeCategory10),c=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){c.style("opacity",0)}));var d=Math.min(800,800)/2.8,l=d-24,p=d3.arc().innerRadius(l).outerRadius(d),u=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),f=d3.ribbon().radius(l),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",d).style("fill","none");var h=u(o),m=g.selectAll(".group").data(h.groups).enter().append("g").attr("class","group").on("mouseover",(function(){var e=m.nodes().indexOf(this);v.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));m.append("title").text((function(e,t){return i[t]})),m.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return s(t)})),m.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(l+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return i[e.index]}));var v=g.selectAll(".chord").data(h).enter().append("path").attr("class","chord").style("fill",(function(e){return s(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",f);v.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),v.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),v.on("click",(function(e,r){var a=i[r.source.index],o=i[r.target.index],s=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){var t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){var t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",c.html(t).style("left",s+"px").style("top",d+"px")})),c.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){var t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}}(o.matrix,o.nodes,o.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",i),i.$inject=["$repositories","GraphDataRestService"]},634:function(e,t,n){var r,a;r=[n(644)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(644)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},648:function(e,t,n){"use strict";n(634);var r=r||{};r.Export={getCSSRules:function(e){var t=$('link[href="'+e+'"]')[0].sheet.rules,n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");var t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[76],{305:function(t,e,r){"use strict";r.r(e);var a=r(648),n=r(647);r(15);function o(t,e,r,o,s,i,c,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){var p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=a.a.Export.getCSSRules("css/domain-range-graph.css?v=3.0.2-RC1");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=a.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name,k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){i.set(c.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(i.set(c.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==i.get(c.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),i.remove(c.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=function(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")},a=function(){$.isEmptyObject(E)||(E.text.style("fill","black"),E.background.style("fill","#f0f0f0"))},o=function(t,e){a(),E.text=d3.select(this),E.background=d3.select(this.previousSibling),E.text.style("fill","white"),E.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()},i=_.cloneDeep(u.domainRangeGraphData),c=i.nodes,d=i.links;g.nodes(c).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(d).distance(1200/3.5));var x,k,b=p.selectAll(".link").data(d).enter().append("g"),w=0;b.each((function(t){if(t.objectPropNodeClassUri!==m)x=b.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?r(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(k)){k=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(w+=t.targetNodeEdgeCount)>1&&r(d3.select(".loop-link"))}}));var E={};$("document").ready((function(){$("#domain-range").bind("click",a)}));var N=b.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));N.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",o):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var R=2,C=b.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+2*R})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+R})).attr("transform",(function(t){var e=R-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(R+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),T=p.selectAll(".node").data(c).enter().append("g"),A=T.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,a){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,a)}))})),T.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var L=T.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return n.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var M=p.select(".class-node + text"),U=d3.select(".class-node"),P=d3.selectAll(".loop-link-background"),j=d3.selectAll(".loop-link-property-name");if(N=d3.selectAll(".property-name"),!angular.isUndefined(k)){var O=[];P.each((function(t,e){d3.select(this);O.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var a=[];P.each((function(n,o){a.push(n),o<h?function(a,n){var o=$.grep(O,(function(t){return t.idx==n}));n>0&&(e+=parseFloat(n*(o[0].height/(n/1.4)))),a.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",o),d3.select(".view-more-preds-rect").attr("height",e+2*R)}(a)}x.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),A.each((function(t){"main"!==t.classPosition||angular.isUndefined(k)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;k.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var a=$.grep(O,(function(t){return t.idx==r})),n=0;r>0&&(n=parseFloat(2*r*(a[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-n;e.attrs({x:o,y:s}).moveToFront()}j.each((function(t,r){var a=d3.select(this),n=j.size()-h;n<0?e(a,r):(0==r&&!u.collapseEdges&&n>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(a,d3.select(this.nextSibling),n),e(a,r)),r<h?e(a,r):a.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=U.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),M.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),C.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),N.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),L.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));var b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},634:function(t,e,r){var a,n;a=[r(644)],void 0===(n=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var a in t)r.attr(a,t[a])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(644)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,a))||(t.exports=n)},647:function(t,e,r){"use strict";r(634);var a=a||{};a.Text=function(){function t(t,e,r,a){r=r||10;var n=e/3;return"string"==typeof t?(n*=10/(t.substring(0,e/3).length+1.5),n+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(n*=.6),n<r&&(n=r),Math.round(n)):(n<r&&(n=r),Math.round(n))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,a,n){return t(e,r,a)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),a.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},a.Click=function(){var t=function(t,r){for(var a,n=1,o=arguments.length;++n<o;)t[a=arguments[n]]=e(t,r,r[a]);return t};function e(t,e,r){return function(){var a=r.apply(e,arguments);return a===e?t:a}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,a=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,n){var o,s,i;(s=r,i=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-i[0],2),Math.pow(s[1]-i[1],2))>5)||(a?(window.clearTimeout(a),a=null,e.call("dblclick",t,t,n)):a=window.setTimeout((o=t,function(){e.call("click",o,o,n),a=null}),250))}))}),e,"on")}}}(),e.a=a},648:function(t,e,r){"use strict";r(634);var a=a||{};a.Export={getCSSRules:function(t){var e=$('link[href="'+t+'"]')[0].sheet.rules,r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");var e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=a}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[76,115,199,249],{113:function(t,e,n){"use strict";n.r(e),n.d(e,"resolveGraphqlEndpoint",(function(){return o})),n.d(e,"resolvePlaygroundUrlWithEndpoint",(function(){return s}));var i=n(114),r=n(26),o=function(t,e){return"".concat(r.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/").concat(e)},s=function(t){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(t)}},114:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},119:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return a})),n.d(e,"EndpointGenerationReport",(function(){return d}));var a=function(){return s((function t(e){r(this,t),u(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),d=function(){return s((function t(e){r(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_active",void 0),u(this,"_default",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_messages",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},174:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointGenerationReportListMapper",(function(){return o})),n.d(e,"endpointGenerationReportMapper",(function(){return s})),n.d(e,"importEndpointDefinitionReportMapper",(function(){return u}));var i=n(119),r=n(113),o=function(t,e){if(!t)return new i.EndpointGenerationReportList;var n=t.map((function(t){return s(t,e)}));return new i.EndpointGenerationReportList(n)},s=function(t,e){return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(e,t.id),active:t.active,default:t.default,label:t.label,description:t.description,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors,messages:t.messages})},u=function(t,e,n){var o,s,u=t.messages?null===(o=t.messages.errors)||void 0===o?void 0:o.length:0,c=t.messages?null===(s=t.messages.warnings)||void 0===s?void 0:s.length:0;return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(n,t.id),warnings:c,errors:u,messages:t.messages})}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[77,116,199,249],{113:function(t,e,n){"use strict";n.r(e),n.d(e,"resolveGraphqlEndpoint",(function(){return o})),n.d(e,"resolvePlaygroundUrlWithEndpoint",(function(){return s}));var i=n(114),r=n(26),o=function(t,e){return"".concat(r.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/").concat(e)},s=function(t){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(t)}},114:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},119:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"EndpointGenerationReportList",(function(){return a})),n.d(e,"EndpointGenerationReport",(function(){return d}));var a=function(){return s((function t(e){r(this,t),u(this,"_reports",void 0),this._reports=e||[]}),[{key:"getReport",value:function(t){return this._reports.find((function(e){return e.endpointId===t}))}},{key:"reports",get:function(){return this._reports},set:function(t){this._reports=t}}])}(),d=function(){return s((function t(e){r(this,t),u(this,"_endpointId",void 0),u(this,"_endpointURI",void 0),u(this,"_active",void 0),u(this,"_default",void 0),u(this,"_label",void 0),u(this,"_description",void 0),u(this,"_lastModified",void 0),u(this,"_objectsCount",void 0),u(this,"_propertiesCount",void 0),u(this,"_warnings",void 0),u(this,"_errors",void 0),u(this,"_messages",void 0),u(this,"_createdSuccessfully",void 0),this._endpointId=e.endpointId||"",this._endpointURI=e.endpointURI||"",this._active=e.active||!1,this._default=e.default||!1,this._label=e.label||"",this._description=e.description||"",this._lastModified=e.lastModified||"",this._objectsCount=e.objectsCount||0,this._propertiesCount=e.propertiesCount||0,this._warnings=e.warnings||0,this._errors=e.errors||0,this._messages=e.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(t){this._createdSuccessfully=t}}])}()},174:function(t,e,n){"use strict";n.r(e),n.d(e,"endpointGenerationReportListMapper",(function(){return o})),n.d(e,"endpointGenerationReportMapper",(function(){return s})),n.d(e,"importEndpointDefinitionReportMapper",(function(){return u}));var i=n(119),r=n(113),o=function(t,e){if(!t)return new i.EndpointGenerationReportList;var n=t.map((function(t){return s(t,e)}));return new i.EndpointGenerationReportList(n)},s=function(t,e){return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(e,t.id),active:t.active,default:t.default,label:t.label,description:t.description,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors,messages:t.messages})},u=function(t,e,n){var o,s,u=t.messages?null===(o=t.messages.errors)||void 0===o?void 0:o.length:0,c=t.messages?null===(s=t.messages.warnings)||void 0===s?void 0:s.length:0;return new i.EndpointGenerationReport({endpointId:t.id,endpointURI:Object(r.resolveGraphqlEndpoint)(n,t.id),warnings:c,errors:u,messages:t.messages})}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[77,115,199,251],{113:function(n,t,e){"use strict";e.r(t),e.d(t,"resolveGraphqlEndpoint",(function(){return r})),e.d(t,"resolvePlaygroundUrlWithEndpoint",(function(){return u}));var i=e(114),o=e(26),r=function(n,t){return"".concat(o.REPOSITORIES_ENDPOINT,"/").concat(n,"/graphql/").concat(t)},u=function(n){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(n)}},114:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},211:function(n,t,e){"use strict";function i(n){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,c(i.key),i)}}function u(n,t,e){return t&&r(n.prototype,t),e&&r(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function c(n){var t=function(n,t){if("object"!=i(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==i(t)?t:t+""}e.r(t),e.d(t,"GraphqlEndpoint",(function(){return p})),e.d(t,"GraphqlEndpointList",(function(){return a}));var p=function(){return u((function n(t){o(this,n),this._endpointId=t.endpointId,this._endpointURI=t.endpointURI,this._active=t.active,this._default=t.default}),[{key:"endpointId",get:function(){return this._endpointId},set:function(n){this._endpointId=n}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(n){this._endpointURI=n}},{key:"default",get:function(){return this._default},set:function(n){this._default=n}},{key:"active",get:function(){return this._active},set:function(n){this._active=n}}])}(),a=function(){return u((function n(t){o(this,n),this._endpoints=t||[]}),[{key:"endpoints",get:function(){return this._endpoints},set:function(n){this._endpoints=n}}])}()},277:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointListMapper",(function(){return u})),e.d(t,"endpointModelMapper",(function(){return c})),e.d(t,"endpointsToSelectMenuOptionsMapper",(function(){return p}));var i=e(211),o=e(25),r=e(113),u=function(n){if(!n||!n.endpoints)return new i.GraphqlEndpointList;var t=n.endpoints.map((function(n){return c(n)}));return new i.GraphqlEndpointList(t)},c=function(n){if(n)return new i.GraphqlEndpoint({endpointId:n.endpointId,endpointURI:n.endpointURI,active:n.active,default:n.default})},p=function(n,t){return n&&n.length?n.map((function(n){return new o.SelectMenuOptionsModel({value:Object(r.resolveGraphqlEndpoint)(t,n.id),label:n.id,selected:n.default,data:{active:n.active,default:n.default}})})):[]}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[78,116,199,251],{113:function(n,t,e){"use strict";e.r(t),e.d(t,"resolveGraphqlEndpoint",(function(){return r})),e.d(t,"resolvePlaygroundUrlWithEndpoint",(function(){return u}));var i=e(114),o=e(26),r=function(n,t){return"".concat(o.REPOSITORIES_ENDPOINT,"/").concat(n,"/graphql/").concat(t)},u=function(n){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(n)}},114:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},211:function(n,t,e){"use strict";function i(n){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,c(i.key),i)}}function u(n,t,e){return t&&r(n.prototype,t),e&&r(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function c(n){var t=function(n,t){if("object"!=i(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==i(t)?t:t+""}e.r(t),e.d(t,"GraphqlEndpoint",(function(){return p})),e.d(t,"GraphqlEndpointList",(function(){return a}));var p=function(){return u((function n(t){o(this,n),this._endpointId=t.endpointId,this._endpointURI=t.endpointURI,this._active=t.active,this._default=t.default}),[{key:"endpointId",get:function(){return this._endpointId},set:function(n){this._endpointId=n}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(n){this._endpointURI=n}},{key:"default",get:function(){return this._default},set:function(n){this._default=n}},{key:"active",get:function(){return this._active},set:function(n){this._active=n}}])}(),a=function(){return u((function n(t){o(this,n),this._endpoints=t||[]}),[{key:"endpoints",get:function(){return this._endpoints},set:function(n){this._endpoints=n}}])}()},277:function(n,t,e){"use strict";e.r(t),e.d(t,"endpointListMapper",(function(){return u})),e.d(t,"endpointModelMapper",(function(){return c})),e.d(t,"endpointsToSelectMenuOptionsMapper",(function(){return p}));var i=e(211),o=e(25),r=e(113),u=function(n){if(!n||!n.endpoints)return new i.GraphqlEndpointList;var t=n.endpoints.map((function(n){return c(n)}));return new i.GraphqlEndpointList(t)},c=function(n){if(n)return new i.GraphqlEndpoint({endpointId:n.endpointId,endpointURI:n.endpointURI,active:n.active,default:n.default})},p=function(n,t){return n&&n.length?n.map((function(n){return new o.SelectMenuOptionsModel({value:Object(r.resolveGraphqlEndpoint)(t,n.id),label:n.id,selected:n.default,data:{active:n.active,default:n.default}})})):[]}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[78,228,263,391],{105:function(e,r,o){"use strict";o.r(r),o.d(r,"ImportResourceStatus",(function(){return t}));var t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},120:function(e,r,o){"use strict";o.r(r),o.d(r,"removeSpecialChars",(function(){return s})),o.d(r,"toBoolean",(function(){return n})),o.d(r,"toTitleCase",(function(){return i}));var t=o(24),s=function(e){return e.replace(/[()']/g,"")},n=function(e){return"string"==typeof e?"true"===e:Boolean(e)},i=function(e){return e?Object(t.upperFirst)(e.toLowerCase()):e}},178:function(e,r){function o(e,r,o,t,s){e.message=s,e.close=function(){r.dismiss()},e.copyToClipboard=function(){navigator.clipboard.writeText(e.message).then((function(){t.success(o.instant("import.help.messages.copied_to_clipboard")),e.close()}),(function(e){console.error("Could not copy text: ",e)}))}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",o),o.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},225:function(e,r,o){"use strict";o.r(r);o(178);var t=o(105),s=o(120);function n(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:function(r){r.ImportResourceStatus=t.ImportResourceStatus,r.toTitleCase=function(e){return s.toTitleCase(e)},r.showMessage=function(r){e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return r?r.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",n),n.$inject=["$uibModal"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[79,228,263,391],{105:function(e,r,o){"use strict";o.r(r),o.d(r,"ImportResourceStatus",(function(){return t}));var t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},120:function(e,r,o){"use strict";o.r(r),o.d(r,"removeSpecialChars",(function(){return s})),o.d(r,"toBoolean",(function(){return n})),o.d(r,"toTitleCase",(function(){return i}));var t=o(24),s=function(e){return e.replace(/[()']/g,"")},n=function(e){return"string"==typeof e?"true"===e:Boolean(e)},i=function(e){return e?Object(t.upperFirst)(e.toLowerCase()):e}},178:function(e,r){function o(e,r,o,t,s){e.message=s,e.close=function(){r.dismiss()},e.copyToClipboard=function(){navigator.clipboard.writeText(e.message).then((function(){t.success(o.instant("import.help.messages.copied_to_clipboard")),e.close()}),(function(e){console.error("Could not copy text: ",e)}))}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",o),o.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},225:function(e,r,o){"use strict";o.r(r);o(178);var t=o(105),s=o(120);function n(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:function(r){r.ImportResourceStatus=t.ImportResourceStatus,r.toTitleCase=function(e){return s.toTitleCase(e)},r.showMessage=function(r){e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return r?r.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",n),n.$inject=["$uibModal"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8,132,333],{108:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.r(t),n.d(t,"ChatMessageModel",(function(){return s})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return i}));var s=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=1e3*t.timestamp},(t=[{key:"id",get:function(){return this._id},set:function(e){this._id=e}},{key:"role",get:function(){return this._role},set:function(e){this._role=e}},{key:"message",get:function(){return this._message},set:function(e){this._message=e}},{key:"timestamp",get:function(){return this._timestamp},set:function(e){this._timestamp=e}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),i={USER:"user",ASSISTANT:"assistant"}},286:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return l}));var r=n(24),o=n(108);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.conversations=[].concat(m)},(t=[{key:"getConversations",value:function(){var e=this;return new Promise((function(t){setTimeout((function(){return t({data:Object(r.cloneDeep)(e.conversations)})}),2e3)}))}},{key:"getConversation",value:function(e){var t=this;return new Promise((function(n){setTimeout((function(){return n({data:Object(r.cloneDeep)(t.conversations.find((function(t){return t.id===e})))})}),2e3)}))}},{key:"renameConversation",value:function(e,t){var n=this.conversations.find((function(t){return t.id===e}));return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}},{key:"exportConversation",value:function(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}},{key:"askQuestion",value:function(e){var t,n={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:"".concat(e.question),role:o.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find((function(t){return t.id===e.conversationId})),a={id:e.conversationId,name:r?r.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:"Reply to '".concat(e.question,"' It seems there was an error with the query. Let me rectify this and try again."),timestamp:Math.floor(Date.now()/1e3),name:null}]};return r&&(r.messages.push(n),(t=r.messages).push.apply(t,s(a.messages))),new Promise((function(e){return setTimeout((function(){return e({data:a})}),2e3)}))}},{key:"continueChatRun",value:function(e){alert("continueChatRun() not implemented")}},{key:"deleteConversation",value:function(e){return this.conversations=this.conversations.filter((function(t){return t.id!==e})),new Promise((function(e){return setTimeout((function(){return e()}),2e3)}))}},{key:"createConversation",value:function(e){var t={id:"thread_".concat(this.conversations.length),name:"Thread ".concat(this.conversations.length),timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);var n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}},{key:"getAgents",value:function(){return new Promise((function(e){return setTimeout((function(){return e({data:s(d)})}),2e3)}))}},{key:"getAgent",value:function(e){return Promise.resolve({data:Object(r.cloneDeep)(d.find((function(t){return t.id===e})))})}},{key:"createAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d.push(e),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"editAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d=d.map((function(t){return t.id===e.id?e:t})),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"deleteAgent",value:function(e){return d=d.filter((function(t){return t.id!==e})),Promise.resolve()}},{key:"getAgentDefaultValues",value:function(){return Promise.resolve({data:h})}},{key:"explainAgentSettings",value:function(){return Promise.resolve({data:{}})}},{key:"simulateHttpError",value:function(){return Promise.reject({status:500,message:"Internal Server Error"})}},{key:"explainResponse",value:function(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}])&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),m=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}],d=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}],h={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},375:function(e,t,n){"use strict";n.r(t);var r=n(286);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",a),a.$inject=["$http"];var o="".concat("rest/chat/conversations","/explain");function a(e){new r.TtygRestServiceFakeBackend;return{getConversation:function(t){return e.get("".concat("rest/chat/conversations","/").concat(t))},renameConversation:function(t,n){return e.put("".concat("rest/chat/conversations","/").concat(t),n)},exportConversation:function(t){return e.get("".concat("rest/chat/conversations","/export/").concat(t),{responseType:"blob"})},askQuestion:function(t){return e.post("".concat("rest/chat/conversations"),t)},continueChatRun:function(t){return e.post("".concat("rest/chat/conversations","/continue"),t)},getConversations:function(){return e.get("rest/chat/conversations")},deleteConversation:function(t){return e.delete("".concat("rest/chat/conversations","/").concat(t))},createConversation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post("rest/chat/conversations",t)},getAgents:function(){return e.get("rest/chat/agents")},getAgent:function(t){return e.get("".concat("rest/chat/agents","/").concat(t))},createAgent:function(t){return e.post("rest/chat/agents",t)},editAgent:function(t){return e.put("".concat("rest/chat/agents"),t)},deleteAgent:function(t){return e.delete("".concat("rest/chat/agents","/").concat(t))},explainResponse:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post(o,t)},getAgentDefaultValues:function(){return e.get("".concat("rest/chat/agents","/default"))},explainAgentSettings:function(t){return e.post("".concat("rest/chat/agents","/explain"),t)}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8,133,333],{108:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.r(t),n.d(t,"ChatMessageModel",(function(){return s})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return i}));var s=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=1e3*t.timestamp},(t=[{key:"id",get:function(){return this._id},set:function(e){this._id=e}},{key:"role",get:function(){return this._role},set:function(e){this._role=e}},{key:"message",get:function(){return this._message},set:function(e){this._message=e}},{key:"timestamp",get:function(){return this._timestamp},set:function(e){this._timestamp=e}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),i={USER:"user",ASSISTANT:"assistant"}},286:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return l}));var r=n(24),o=n(108);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.conversations=[].concat(m)},(t=[{key:"getConversations",value:function(){var e=this;return new Promise((function(t){setTimeout((function(){return t({data:Object(r.cloneDeep)(e.conversations)})}),2e3)}))}},{key:"getConversation",value:function(e){var t=this;return new Promise((function(n){setTimeout((function(){return n({data:Object(r.cloneDeep)(t.conversations.find((function(t){return t.id===e})))})}),2e3)}))}},{key:"renameConversation",value:function(e,t){var n=this.conversations.find((function(t){return t.id===e}));return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}},{key:"exportConversation",value:function(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}},{key:"askQuestion",value:function(e){var t,n={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:"".concat(e.question),role:o.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},r=this.conversations.find((function(t){return t.id===e.conversationId})),a={id:e.conversationId,name:r?r.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:o.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:"Reply to '".concat(e.question,"' It seems there was an error with the query. Let me rectify this and try again."),timestamp:Math.floor(Date.now()/1e3),name:null}]};return r&&(r.messages.push(n),(t=r.messages).push.apply(t,s(a.messages))),new Promise((function(e){return setTimeout((function(){return e({data:a})}),2e3)}))}},{key:"continueChatRun",value:function(e){alert("continueChatRun() not implemented")}},{key:"deleteConversation",value:function(e){return this.conversations=this.conversations.filter((function(t){return t.id!==e})),new Promise((function(e){return setTimeout((function(){return e()}),2e3)}))}},{key:"createConversation",value:function(e){var t={id:"thread_".concat(this.conversations.length),name:"Thread ".concat(this.conversations.length),timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);var n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}},{key:"getAgents",value:function(){return new Promise((function(e){return setTimeout((function(){return e({data:s(d)})}),2e3)}))}},{key:"getAgent",value:function(e){return Promise.resolve({data:Object(r.cloneDeep)(d.find((function(t){return t.id===e})))})}},{key:"createAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d.push(e),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"editAgent",value:function(e){return"err"===e.name?new Promise((function(e,t){return setTimeout((function(){return t({status:500,message:"Internal Server Error"})}),2e3)})):(d=d.map((function(t){return t.id===e.id?e:t})),new Promise((function(t){return setTimeout((function(){return t({data:e})}),2e3)})))}},{key:"deleteAgent",value:function(e){return d=d.filter((function(t){return t.id!==e})),Promise.resolve()}},{key:"getAgentDefaultValues",value:function(){return Promise.resolve({data:h})}},{key:"explainAgentSettings",value:function(){return Promise.resolve({data:{}})}},{key:"simulateHttpError",value:function(){return Promise.reject({status:500,message:"Internal Server Error"})}},{key:"explainResponse",value:function(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}])&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),m=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}],d=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}],h={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},375:function(e,t,n){"use strict";n.r(t);var r=n(286);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",a),a.$inject=["$http"];var o="".concat("rest/chat/conversations","/explain");function a(e){new r.TtygRestServiceFakeBackend;return{getConversation:function(t){return e.get("".concat("rest/chat/conversations","/").concat(t))},renameConversation:function(t,n){return e.put("".concat("rest/chat/conversations","/").concat(t),n)},exportConversation:function(t){return e.get("".concat("rest/chat/conversations","/export/").concat(t),{responseType:"blob"})},askQuestion:function(t){return e.post("".concat("rest/chat/conversations"),t)},continueChatRun:function(t){return e.post("".concat("rest/chat/conversations","/continue"),t)},getConversations:function(){return e.get("rest/chat/conversations")},deleteConversation:function(t){return e.delete("".concat("rest/chat/conversations","/").concat(t))},createConversation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post("rest/chat/conversations",t)},getAgents:function(){return e.get("rest/chat/agents")},getAgent:function(t){return e.get("".concat("rest/chat/agents","/").concat(t))},createAgent:function(t){return e.post("rest/chat/agents",t)},editAgent:function(t){return e.put("".concat("rest/chat/agents"),t)},deleteAgent:function(t){return e.delete("".concat("rest/chat/agents","/").concat(t))},explainResponse:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.post(o,t)},getAgentDefaultValues:function(){return e.get("".concat("rest/chat/agents","/default"))},explainAgentSettings:function(t){return e.post("".concat("rest/chat/agents","/explain"),t)}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[79,26,261,263,264],{105:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return o}));var o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},151:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},177:function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s(o.key),o)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}r.r(e),r.d(e,"ImportParsingSettings",(function(){return a}));var a=i((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}))},224:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return c}));var o=r(105),n=r(177),i=r(151);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,u(o.key),o)}}function u(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var c=function(){return t=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hash=r(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new n.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0},(e=[{key:"isDirectory",value:function(){return i.ImportResourceType.DIRECTORY===this.type}},{key:"isFile",value:function(){return i.ImportResourceType.FILE===this.type||i.ImportResourceType.URL===this.type||i.ImportResourceType.TEXT===this.type}},{key:"isURL",value:function(){return i.ImportResourceType.URL===this.type}},{key:"isText",value:function(){return i.ImportResourceType.TEXT===this.type}}])&&a(t.prototype,e),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[80,26,261,263,264],{105:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return o}));var o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},152:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},177:function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s(o.key),o)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}r.r(e),r.d(e,"ImportParsingSettings",(function(){return a}));var a=i((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}))},224:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return c}));var o=r(105),n=r(177),i=r(152);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,u(o.key),o)}}function u(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var c=function(){return t=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hash=r(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new n.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0},(e=[{key:"isDirectory",value:function(){return i.ImportResourceType.DIRECTORY===this.type}},{key:"isFile",value:function(){return i.ImportResourceType.FILE===this.type||i.ImportResourceType.URL===this.type||i.ImportResourceType.TEXT===this.type}},{key:"isURL",value:function(){return i.ImportResourceType.URL===this.type}},{key:"isText",value:function(){return i.ImportResourceType.TEXT===this.type}}])&&a(t.prototype,e),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}()}}]);