graphdb-workbench 2.8.1 → 2.8.2-TR1
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.
- package/dist/{0.93ef946b5d439221c394.bundle.js → 0.875d283bdf36007c6bbd.bundle.js} +3 -3
- package/dist/{1.a73a929263b6072ffe55.bundle.js → 1.83e339e4c5b2f2a08282.bundle.js} +1 -1
- package/dist/{100.81ded34d7fde61c38c9f.bundle.js → 100.3070964de5ddded48e3a.bundle.js} +1 -1
- package/dist/{101.03dce7284e0849b17a77.bundle.js → 101.0fd41887967b49f39f58.bundle.js} +1 -1
- package/dist/{103.41f921c4a65160dce11a.bundle.js → 103.b5bd5321c481e68d396b.bundle.js} +1 -1
- package/dist/{104.5610e2ec109654922537.bundle.js → 104.d7d9aff95b38499d3aa0.bundle.js} +1 -1
- package/dist/{108.131328ca1d67057fdb43.bundle.js → 108.e184704d2ebdc80a7ee0.bundle.js} +1 -1
- package/dist/{109.ab2007ce0897221e9dc7.bundle.js → 109.b9c13b701dd08bc1b422.bundle.js} +1 -1
- package/dist/{11.89e2336d213a154b77f8.bundle.js → 11.3b26459dee52279f0651.bundle.js} +1 -1
- package/dist/{110.af135801398303553036.bundle.js → 110.8a4f076940157a84d267.bundle.js} +1 -1
- package/dist/{111.ad7b205b5f380f161952.bundle.js → 111.1ff0066dab6a696ff2c7.bundle.js} +1 -1
- package/dist/{112.4b95b5e7e5034ac8718e.bundle.js → 112.a1f756d183625ee8e0c1.bundle.js} +1 -1
- package/dist/{113.d0ae979cfab5bcc7889a.bundle.js → 113.bc87ac23aabd8fe5a0ef.bundle.js} +1 -1
- package/dist/{114.37cfdc58c1101bb5faec.bundle.js → 114.b970709a8de043954db8.bundle.js} +1 -1
- package/dist/{115.c4311bcd11e7401b38f2.bundle.js → 115.b1a88743d68279399186.bundle.js} +1 -1
- package/dist/{116.d3298cdbe473c4859be0.bundle.js → 116.742e96a8f2027b81c82a.bundle.js} +1 -1
- package/dist/{117.eb040b49b8f68c9023e6.bundle.js → 117.ab380fa1b030d30c3977.bundle.js} +1 -1
- package/dist/{118.2581b5984f2215217317.bundle.js → 118.2bff88becdd96deaaea4.bundle.js} +1 -1
- package/dist/{119.594356fa685a2a21b8c5.bundle.js → 119.cb91f0b2ad6626f00efb.bundle.js} +1 -1
- package/dist/{12.eafc81263d8d64b426fe.bundle.js → 12.4e8ae7aac23a6c003d88.bundle.js} +1 -1
- package/dist/{120.082e673858610e5055af.bundle.js → 120.614dce012aa3b989d4dc.bundle.js} +1 -1
- package/dist/{121.cd9b4b81650e4ac5b802.bundle.js → 121.20b39f86e31dd0ce45f0.bundle.js} +1 -1
- package/dist/{122.b3177006c337fb555c21.bundle.js → 122.f07cffa5c6f2b6da76d8.bundle.js} +1 -1
- package/dist/{123.65cd6a98a6c3e27a1e60.bundle.js → 123.09964a279d1388c4e047.bundle.js} +1 -1
- package/dist/{124.e89e3fee558b4edf4bad.bundle.js → 124.9b87abcc7ca11755db81.bundle.js} +1 -1
- package/dist/{125.de1c18a0eb08e22e3624.bundle.js → 125.3c5ba4200594eb881242.bundle.js} +1 -1
- package/dist/126.fc4ea5fb039085308920.bundle.js +1 -0
- package/dist/{128.01074ce4644234d25596.bundle.js → 128.ec3183584234d09953ab.bundle.js} +1 -1
- package/dist/{13.02f91d1e051781f6b67b.bundle.js → 13.d5bc9e1e4864588bcb20.bundle.js} +1 -1
- package/dist/{130.0ce3a70e7e5705e61670.bundle.js → 130.e7806c205e23b43f2f1d.bundle.js} +1 -1
- package/dist/{132.25094e9c07f5efcb34b2.bundle.js → 132.85a60427f6aa22772958.bundle.js} +1 -1
- package/dist/{135.a9fc7400422a5a15a95f.bundle.js → 135.3cbbea5828709edaedbf.bundle.js} +1 -1
- package/dist/{137.50d3f73e37365e6d1927.bundle.js → 137.913cce2cb8ff8f1b4cd5.bundle.js} +1 -1
- package/dist/{14.e4770ab66956f0aae86e.bundle.js → 14.873536b236982db5438c.bundle.js} +11 -11
- package/dist/{15.e804c8ea193f9f0401c0.bundle.js → 15.90fb2b6d344d229f244b.bundle.js} +1 -1
- package/dist/{153.c2c3d34c96b4bb7c2bdb.bundle.js → 153.1f82d0ce7325ee3d51d1.bundle.js} +1 -1
- package/dist/{155.824842fa18302aebe5a4.bundle.js → 155.3f1475184740f15a2034.bundle.js} +1 -1
- package/dist/{157.b0c4feabee929ccf8a5c.bundle.js → 157.d9d0604fc87477a2ef6b.bundle.js} +1 -1
- package/dist/{16.2f1a9a9d1433f7ea6f11.bundle.js → 16.0e576f47a0b23261a71a.bundle.js} +1 -1
- package/dist/{165.8c936f8350a0352fe33a.bundle.js → 165.93cb4b6ee26de93c6e7b.bundle.js} +1 -1
- package/dist/{168.38dbbebd88da57b3ae35.bundle.js → 168.cec2ad6112b0094c5b47.bundle.js} +1 -1
- package/dist/{169.245ee4b967e1b8879358.bundle.js → 169.5ae1d776e238c9754b74.bundle.js} +1 -1
- package/dist/{17.783a24e8cb2819cc5909.bundle.js → 17.f84b9b805ad5f34f0e69.bundle.js} +1 -1
- package/dist/{170.e253c0170034a3f97336.bundle.js → 170.025043e57628877951bb.bundle.js} +1 -1
- package/dist/{171.fb19b792123f0251daaf.bundle.js → 171.8055ed62647646ef3b48.bundle.js} +1 -1
- package/dist/{172.c2999c73126f04810b46.bundle.js → 172.c1b60fddbd8423d146a1.bundle.js} +1 -1
- package/dist/{173.f10cc8249c5c6bd4a853.bundle.js → 173.184f4d5e98357e4f7715.bundle.js} +1 -1
- package/dist/{174.6ae0de8881f3c2379c53.bundle.js → 174.8162300e8078bed57602.bundle.js} +1 -1
- package/dist/{175.3da8cdc348e5341ca1c9.bundle.js → 175.5efa45e87d30fc7e3963.bundle.js} +1 -1
- package/dist/{176.f78a6898f07f2d523227.bundle.js → 176.4408a8721b3b284049ff.bundle.js} +1 -1
- package/dist/{177.88a27f82ee6835f26e09.bundle.js → 177.a891ea07c91258fc75e0.bundle.js} +1 -1
- package/dist/{178.0fa14533f1a361282a18.bundle.js → 178.7206f1fb15c2408b030b.bundle.js} +1 -1
- package/dist/{179.507b9f6d22b008299110.bundle.js → 179.8fe7b6c29eb1bfeee43c.bundle.js} +1 -1
- package/dist/{18.6f4a46573cdde105d447.bundle.js → 18.8a0539ca040757e9a832.bundle.js} +2 -2
- package/dist/{180.58fe04c74100d9f113f2.bundle.js → 180.ba4ca65858c2db566396.bundle.js} +1 -1
- package/dist/{181.50637e050234a6966c94.bundle.js → 181.3322c1514c4c867903ad.bundle.js} +1 -1
- package/dist/{183.53e87e91190814612b6e.bundle.js → 183.4a835a0db500db0a2177.bundle.js} +1 -1
- package/dist/186.2c2a3daf2e31a391bc75.bundle.js +1 -1
- package/dist/{189.8cbd6dbda31320678237.bundle.js → 189.dae4929566ab24c55087.bundle.js} +1 -1
- package/dist/{19.53e2e72c7895a8dbd47c.bundle.js → 19.ebb4cb8c5a0659966c33.bundle.js} +1 -1
- package/dist/{191.c981e0fba087d2e799a6.bundle.js → 191.41ab10faa0816085a3aa.bundle.js} +1 -1
- package/dist/{193.4c02ced7a1c44850598f.bundle.js → 193.bd9ddbfa6b4cb293dcf0.bundle.js} +1 -1
- package/dist/{194.7ec15a64658c1f97c8eb.bundle.js → 194.6813d8c56c11390cfa92.bundle.js} +1 -1
- package/dist/{197.2a0f5d280127e30e6a21.bundle.js → 197.e8524fe997ed01e55565.bundle.js} +1 -1
- package/dist/{2.9a7bb4072beb72168b07.bundle.js → 2.2871269b61d4779c47ad.bundle.js} +2 -2
- package/dist/{20.4e8e5f274166f7216846.bundle.js → 20.5b25b7f7b3a456363eca.bundle.js} +1 -1
- package/dist/{201.ecd6f5a0b1e07259609b.bundle.js → 201.cc7a5466d090c33c783d.bundle.js} +1 -1
- package/dist/{204.90c80b56283809b7025e.bundle.js → 204.bd0d51de50c536c2c4bb.bundle.js} +1 -1
- package/dist/{207.439cff6991fd256e5aa1.bundle.js → 207.4ee221db4a770eebce82.bundle.js} +1 -1
- package/dist/{208.c653cb276b43b29cce49.bundle.js → 208.b924ad169be9d4847c4f.bundle.js} +1 -1
- package/dist/{209.8285dee1da75e605749e.bundle.js → 209.15103e9e147dcba149d1.bundle.js} +1 -1
- package/dist/21.8a61ee37137bbfe54420.bundle.js +1 -0
- package/dist/{210.a2ea30efd2122d5a8f2f.bundle.js → 210.9f92acbed186c03bd5b0.bundle.js} +1 -1
- package/dist/{211.de53552e0b8e59e26d71.bundle.js → 211.46270d6715304c58b7af.bundle.js} +1 -1
- package/dist/{212.f80d06d279d2dc0aae74.bundle.js → 212.15d33c078f2f4f1ac04c.bundle.js} +1 -1
- package/dist/{213.3b1ed0016e75a097798d.bundle.js → 213.6fb1a65f99cd8d40fc54.bundle.js} +1 -1
- package/dist/{214.e66c5e02cd8628abb86d.bundle.js → 214.f9261566d82114f627db.bundle.js} +1 -1
- package/dist/{215.bd7d215f0b4c30c41150.bundle.js → 215.42d69e9212356478f659.bundle.js} +1 -1
- package/dist/{216.596ffaba4897a3b8f57e.bundle.js → 216.2076e1eb5acb1ac528b6.bundle.js} +1 -1
- package/dist/{218.c9ebeca0a0601cbfdd49.bundle.js → 218.67fc3e0158706d2d19e1.bundle.js} +1 -1
- package/dist/{219.49b7f67206dc1b550fcd.bundle.js → 219.82f128fcf9898ff88aa9.bundle.js} +1 -1
- package/dist/{22.a4bca55317e2e42facec.bundle.js → 22.d8521525335ed75c3aab.bundle.js} +1 -1
- package/dist/{220.60aae5815d2081a0e83a.bundle.js → 220.608ce297387048adc0bd.bundle.js} +1 -1
- package/dist/221.aaeca7d1bf1ddc2ffa3d.bundle.js +1 -0
- package/dist/{222.ca41fa6721e4e66ed399.bundle.js → 222.d6561cf288d4ec6e5cca.bundle.js} +1 -1
- package/dist/{223.54c4cac06e4519e3efb0.bundle.js → 223.de870637bd935f4ea0aa.bundle.js} +1 -1
- package/dist/{224.f7199477314a1768db47.bundle.js → 224.cf0fe6d4c5eb729a080d.bundle.js} +1 -1
- package/dist/{225.6a3fe206268377dad69d.bundle.js → 225.98b5c0f9809559a72469.bundle.js} +1 -1
- package/dist/{227.ae93e62e09fd4d381d07.bundle.js → 227.a7e55927a6b08c8945c4.bundle.js} +1 -1
- package/dist/{229.7a0284ae7edfa27eb8a1.bundle.js → 229.4f30e3eacebdd89ec353.bundle.js} +1 -1
- package/dist/23.b33b628c8b874334cdb1.bundle.js +3 -0
- package/dist/{230.1d9ce4dbc6dc22371a26.bundle.js → 230.4b14f50f5fd6c781f408.bundle.js} +1 -1
- package/dist/{231.c353755e4c1b58e65ec4.bundle.js → 231.10ea181aeb4f3d1348b9.bundle.js} +1 -1
- package/dist/{232.5a8fdf0f56be1ae7cc82.bundle.js → 232.9866a4fa25183fbbe913.bundle.js} +1 -1
- package/dist/{233.d6ef0f5bb2b6375bd52f.bundle.js → 233.649d7320c465b7155b36.bundle.js} +1 -1
- package/dist/{237.377279922b3917eb2125.bundle.js → 237.d17033c4e48dc08c7240.bundle.js} +1 -1
- package/dist/{238.dbeb2c0bf3dccf39339b.bundle.js → 238.fde323d482ca17168f48.bundle.js} +1 -1
- package/dist/{239.6b9bf48532f001f4c735.bundle.js → 239.fa9944a77aa51d069e55.bundle.js} +1 -1
- package/dist/{24.8f112e678308ce7d3626.bundle.js → 24.52e2cf624e0b3d6f078c.bundle.js} +2 -2
- package/dist/{242.bd036e6b1bdd54dd1ae7.bundle.js → 242.e5a0106b578088db4bee.bundle.js} +1 -1
- package/dist/243.6f0afa45e9d47531843c.bundle.js +1 -0
- package/dist/{245.fdb7b2fe10dcea472879.bundle.js → 245.e931b23663d1aae91b9f.bundle.js} +1 -1
- package/dist/{246.c8b41d4b12b1250e01ed.bundle.js → 246.4a1eca8315b6bba57f66.bundle.js} +1 -1
- package/dist/{247.37b6eb2ecc53b255c33a.bundle.js → 247.a04b3beb96bd5d2736fa.bundle.js} +1 -1
- package/dist/{248.0c33aa07abd48a74725d.bundle.js → 248.21ce03494616592a9819.bundle.js} +1 -1
- package/dist/{249.88fea9574f0fce1953cf.bundle.js → 249.b47d83be62691e6ac4b4.bundle.js} +1 -1
- package/dist/{25.94015e8699386efadfd0.bundle.js → 25.65540894612004a2a4d1.bundle.js} +2 -2
- package/dist/{252.93d6b6a7e44fb9741804.bundle.js → 252.e302f8ff8fa7d485b4d7.bundle.js} +1 -1
- package/dist/{253.930cda0de4ec25344bff.bundle.js → 253.8abde27ec7983be54332.bundle.js} +1 -1
- package/dist/255.51b41a07994b78c7c322.bundle.js +1 -0
- package/dist/{26.67ef26e6953e52d38857.bundle.js → 26.09647564e5578b83b0f2.bundle.js} +1 -1
- package/dist/{260.db455f2124cbe43df61c.bundle.js → 260.99725daf615101d61a10.bundle.js} +1 -1
- package/dist/263.8a676fbdb257ed60ec65.bundle.js +1 -0
- package/dist/{264.bc7ad7396bfced9e76ef.bundle.js → 264.e06977c7db42c4db8ff7.bundle.js} +1 -1
- package/dist/265.8e0cc01745eba2bfe677.bundle.js +1 -0
- package/dist/{267.c07b3f034458a2331538.bundle.js → 267.6e7dc18a24868955c3b1.bundle.js} +1 -1
- package/dist/269.4bbbc2124a8900906ae8.bundle.js +1 -0
- package/dist/{27.00b495e785c07902e77c.bundle.js → 27.8d852db7688ae40156b7.bundle.js} +2 -2
- package/dist/{270.4ccea89d95972bf06d46.bundle.js → 270.cff454ea1725b1c53507.bundle.js} +1 -1
- package/dist/{278.b2ecdbeb6efe166a4138.bundle.js → 278.ccd757f1042c06691003.bundle.js} +1 -1
- package/dist/{279.a9cab23ebf26fca2a9cf.bundle.js → 279.e25a22085a6f79e895c0.bundle.js} +1 -1
- package/dist/{28.eb86a8896c02b26d60a9.bundle.js → 28.1bbb9752bb68838cfdf0.bundle.js} +1 -1
- package/dist/{280.5c4b2ddc7618a469c7fe.bundle.js → 280.4097e69e196573f3473f.bundle.js} +1 -1
- package/dist/{282.e2cbab0c480d7b8dfa6a.bundle.js → 282.7e84e1061f139e9f7bef.bundle.js} +1 -1
- package/dist/{284.f361457d23176846d939.bundle.js → 284.250f179d5d5beae0484e.bundle.js} +1 -1
- package/dist/{285.ef26d39638b16bacab4c.bundle.js → 285.c3ff49b2330f917e9cae.bundle.js} +1 -1
- package/dist/{287.f7bc3db6a00eb98cf7b5.bundle.js → 287.852accd13971b53be6e6.bundle.js} +1 -1
- package/dist/{289.bba52a396013e1f71326.bundle.js → 289.2472f3aab87d7282c977.bundle.js} +1 -1
- package/dist/{29.b2217c006814c00e92b6.bundle.js → 29.4e89354c0831d42f0419.bundle.js} +1 -1
- package/dist/{290.41b13ee58ca90a12eced.bundle.js → 290.a7debd92c6ef38b09080.bundle.js} +1 -1
- package/dist/{291.34e6e289ace8f72b99b0.bundle.js → 291.2213e5ee6e0f3bab4710.bundle.js} +1 -1
- package/dist/{292.5a049771b8c51d82bdc7.bundle.js → 292.4d6493d7e277731dc74a.bundle.js} +1 -1
- package/dist/{295.495163add3be67d633b4.bundle.js → 295.4773144d2d91f7798248.bundle.js} +1 -1
- package/dist/{3.5419ae7eb3fbc9d6bdee.bundle.js → 3.9bf69b8707359646aece.bundle.js} +1 -1
- package/dist/305.a35eb6e4a2cc93c4571b.bundle.js +1 -0
- package/dist/{305.5835c4a6e2f972ee490f.bundle.js → 306.9c43427f80fc44ebaf03.bundle.js} +1 -1
- package/dist/{306.41277b4d3b9380d54d30.bundle.js → 307.cf5b1fcbc5b811e904dc.bundle.js} +1 -1
- package/dist/{307.a8f42225ca98e3ebf656.bundle.js → 308.d6c225f8eb69699fd868.bundle.js} +1 -1
- package/dist/{308.2be4226a575d34b0cd73.bundle.js → 309.46f3386d8ee633c9f033.bundle.js} +1 -1
- package/dist/{31.519fa2d00495176c01c4.bundle.js → 31.4781af7013be3a9537a1.bundle.js} +1 -1
- package/dist/{309.c84682804a521a8b2a77.bundle.js → 310.d8b85223e04094ba9cd5.bundle.js} +1 -1
- package/dist/{310.e6762b117cb6ae5ad44f.bundle.js → 311.4273624f139c61d65818.bundle.js} +1 -1
- package/dist/{311.1eb3449e915d4daf5c1d.bundle.js → 312.99cd284601a941dd18a0.bundle.js} +1 -1
- package/dist/{312.c4b2d6fa63a3389f22d3.bundle.js → 313.bb4c9d7c47f5e1f5093b.bundle.js} +1 -1
- package/dist/{313.1ebabec29606c0b5c29e.bundle.js → 314.521aefe149e0e16bd107.bundle.js} +1 -1
- package/dist/{314.366b9d03d5e93dd8779d.bundle.js → 315.2044d86e021057c6acf3.bundle.js} +1 -1
- package/dist/{315.3579a19e49a159f01af3.bundle.js → 316.390155e3fc6e06a67262.bundle.js} +1 -1
- package/dist/{316.1714889dd79b839b2c13.bundle.js → 317.7675975ff1a1bf7e238c.bundle.js} +1 -1
- package/dist/{317.03873f861bdb32a06fd1.bundle.js → 318.4fc98b66b041f45c882a.bundle.js} +1 -1
- package/dist/319.509f49d398affc8a7749.bundle.js +1 -0
- package/dist/{32.b302966aa4bede5d7e30.bundle.js → 32.44b933fc43cce88c0817.bundle.js} +1 -1
- package/dist/{319.6551554a97d7ae4741a3.bundle.js → 320.f94035002d905bf2e7a8.bundle.js} +1 -1
- package/dist/{320.68be8ddd757494458e92.bundle.js → 321.7c9f324f162db476455e.bundle.js} +1 -1
- package/dist/{321.4b5c5975a3eb3290576a.bundle.js → 322.f6b68acd9be3b72ef4ec.bundle.js} +1 -1
- package/dist/{322.37874a32a3b840b2bc18.bundle.js → 323.56ffdd901c5855cf54bc.bundle.js} +1 -1
- package/dist/{323.e4db3f0a06377f6d5ffd.bundle.js → 324.41e42a31205c6b1bc8d2.bundle.js} +1 -1
- package/dist/{324.19edead008e4e4ed38de.bundle.js → 325.d22be9aef19451f3a3f4.bundle.js} +1 -1
- package/dist/{325.f5af4954c4c7b5edd6b5.bundle.js → 326.c1dea79839228c056244.bundle.js} +1 -1
- package/dist/{326.104705396eb92eb1ad1d.bundle.js → 327.4c6ad5e51522d2f25717.bundle.js} +1 -1
- package/dist/{327.bf1af0af04aa7aff6074.bundle.js → 328.33ff1874c05507057222.bundle.js} +1 -1
- package/dist/{328.341f20bda7f187c90eae.bundle.js → 329.b04c4cb798bf7b539ffc.bundle.js} +1 -1
- package/dist/{33.948f4d1d7c7a25c68c20.bundle.js → 33.b031d67be0132a717f0b.bundle.js} +1 -1
- package/dist/{329.c72b59163f6842d84b42.bundle.js → 330.8db27d0e4eb0dc16e622.bundle.js} +1 -1
- package/dist/{330.f4a8e20c39fcf8a6329e.bundle.js → 331.ae880da05b0d8989d172.bundle.js} +1 -1
- package/dist/{336.1bc4977d8c53cc1b0234.bundle.js → 337.29f196f56c553bfd0b4b.bundle.js} +1 -1
- package/dist/{337.648ebc23bd110d807f96.bundle.js → 338.dfe94264d9215fa5da30.bundle.js} +1 -1
- package/dist/{338.c73c7473c913105b91b7.bundle.js → 339.5427076e7d3df4f7a05a.bundle.js} +1 -1
- package/dist/{34.63bcd4f233c8c700d893.bundle.js → 34.77a7804500fbc4245997.bundle.js} +1 -1
- package/dist/{339.9f752190a8075a585893.bundle.js → 340.95eca8daf4aeda81a903.bundle.js} +1 -1
- package/dist/{340.3a6f2a972ba03df3a892.bundle.js → 341.d6fcc8c673c35f534e93.bundle.js} +1 -1
- package/dist/{341.4cdd6fa08575fc4e3038.bundle.js → 342.e8719a0972bd1a58683e.bundle.js} +1 -1
- package/dist/{342.4460f42722f320863837.bundle.js → 343.5a8fb316d17b6c66c3c7.bundle.js} +1 -1
- package/dist/{343.3bcf18842dac8f9814fb.bundle.js → 344.6d9fd02b3652616a643b.bundle.js} +1 -1
- package/dist/{344.251d1e4c0513fc6f6f68.bundle.js → 345.8ffda125f47c13040f84.bundle.js} +1 -1
- package/dist/{345.dfaa8f10271321ec18b2.bundle.js → 346.8e445257fcf6506e51fd.bundle.js} +1 -1
- package/dist/{346.275291fef805d19a0594.bundle.js → 347.7c19c94950fb3d001238.bundle.js} +1 -1
- package/dist/348.c84b812c3cefa18bcdd0.bundle.js +1 -0
- package/dist/{348.9d188fb860eb90c98d08.bundle.js → 349.8533333a2b15cfefe7d1.bundle.js} +1 -1
- package/dist/{35.f556eeb37786469e255c.bundle.js → 35.28617c0288b3278d9368.bundle.js} +1 -1
- package/dist/{349.30e6c2d544cb5062ffae.bundle.js → 350.3964bd5fb40f24ef51ec.bundle.js} +1 -1
- package/dist/{350.ef6ee52efdfc21bdaa67.bundle.js → 351.8601a63e68f7ede9a254.bundle.js} +1 -1
- package/dist/{351.f1d51e5853e47a85db53.bundle.js → 352.15ad04f8cc7549c08b2e.bundle.js} +1 -1
- package/dist/{352.955d0f08ada9009a848f.bundle.js → 353.52798c81f9b365367ced.bundle.js} +1 -1
- package/dist/354.17ed256eb667904d08df.bundle.js +1 -0
- package/dist/{354.10e714b1265e02bba235.bundle.js → 355.f35f28cd6e0e6f7e111f.bundle.js} +1 -1
- package/dist/{355.11ac5e75ef62b26f3e6a.bundle.js → 356.8bbd6c666a0018b5e940.bundle.js} +1 -1
- package/dist/357.bfd7aad3bdb3409ea17c.bundle.js +1 -0
- package/dist/358.c1194b10992666401cb5.bundle.js +1 -0
- package/dist/359.504a602752407371e3a4.bundle.js +1 -0
- package/dist/{36.0c3211079c87e02dc179.bundle.js → 36.7c3318e965fb19a54c09.bundle.js} +1 -1
- package/dist/360.ec800e7ccf7c65846eac.bundle.js +1 -0
- package/dist/361.b515829257fc43342570.bundle.js +1 -0
- package/dist/{361.19e47a37db3a034f11b3.bundle.js → 362.392f858ec8629388f98f.bundle.js} +1 -1
- package/dist/{362.dd6626f5e714733db97a.bundle.js → 363.b2ad8ddefc6ce78b3c81.bundle.js} +1 -1
- package/dist/{363.0eaafc923989076350ca.bundle.js → 364.31b030bb5331b6ad017a.bundle.js} +1 -1
- package/dist/{364.e47d4b0808023243e495.bundle.js → 365.d94cbd7d086b574a92d5.bundle.js} +1 -1
- package/dist/{365.25243b31f316f0709a39.bundle.js → 366.e67318394ed1e5bc4816.bundle.js} +1 -1
- package/dist/{366.f5ffb64d172e5bf20af7.bundle.js → 367.3d38866206a577e9b540.bundle.js} +1 -1
- package/dist/{367.9ecf8c66399c5eb4fa6f.bundle.js → 368.8888845737a9d1a65834.bundle.js} +1 -1
- package/dist/{368.a1cc59c92c37a3a74e46.bundle.js → 369.fe00977127c1226e0d91.bundle.js} +1 -1
- package/dist/{37.ca1a4d87ac7adf39ed4b.bundle.js → 37.d891daa3e46551e8356a.bundle.js} +1 -1
- package/dist/{369.6b67ecef87b43c66b042.bundle.js → 370.0600b476b6dfd7c7d6c9.bundle.js} +1 -1
- package/dist/{370.97c470c1d62a597814f7.bundle.js → 371.6470242667e0f266ef98.bundle.js} +1 -1
- package/dist/{371.0fe4cdde0c41e177a87e.bundle.js → 372.7c7d8e17415db1ca678a.bundle.js} +1 -1
- package/dist/{372.44806d1ec03b1b3d0dcf.bundle.js → 373.94cf68530127f3288c33.bundle.js} +1 -1
- package/dist/{373.09e562b380789fe476de.bundle.js → 374.2f3c2ca891f0d4ee92fb.bundle.js} +1 -1
- package/dist/{374.e25d5b6b4dd87b1be3f2.bundle.js → 375.fb8d72780a72c2cf706b.bundle.js} +1 -1
- package/dist/{375.6ea69c8a14d728f29122.bundle.js → 376.0f918b74ae270f734095.bundle.js} +1 -1
- package/dist/{376.06b974e5fc3bcd56b62d.bundle.js → 377.d10f0b0c42990ee49b92.bundle.js} +1 -1
- package/dist/{377.abc11ae0635ffd8c15ed.bundle.js → 378.391cf597867e0390320a.bundle.js} +1 -1
- package/dist/{378.f82f1a99fe16c28ebebb.bundle.js → 379.76e6d1706b50516df9de.bundle.js} +1 -1
- package/dist/{379.ffbb53f8d5e5afff60c7.bundle.js → 380.5e6d6d72a5810ac5d248.bundle.js} +1 -1
- package/dist/{380.08cea5e4c44980bf940e.bundle.js → 381.a9e42d4333e35a1cf527.bundle.js} +1 -1
- package/dist/{381.d6b888b78e2d1b73f12e.bundle.js → 382.e62499447a434fcded05.bundle.js} +1 -1
- package/dist/{382.441c501fc2f3bfced158.bundle.js → 383.49468bf2718457348f9f.bundle.js} +1 -1
- package/dist/{383.c0c1af01db655690eb57.bundle.js → 384.88ba757161284f9d1fdf.bundle.js} +1 -1
- package/dist/{384.cc9d743c30a973a28c33.bundle.js → 385.29110be1055dc453aaa0.bundle.js} +1 -1
- package/dist/{385.9664f45dc2325d2d6527.bundle.js → 386.9f5e211dd65b9a26babd.bundle.js} +1 -1
- package/dist/{386.e50766d6caa933d42584.bundle.js → 387.9a09d8394ac762fbaf96.bundle.js} +1 -1
- package/dist/{387.3e6f6632ced052beb517.bundle.js → 388.9a4baa576b19a57cc880.bundle.js} +1 -1
- package/dist/{388.bd4dbc8bc1c4d7f5106f.bundle.js → 389.7918999aa7ffee42241c.bundle.js} +1 -1
- package/dist/{39.038879a8833f3817093d.bundle.js → 39.73ff8f083bc3bbee61c1.bundle.js} +1 -1
- package/dist/{389.ad25bb02cb3a9c2413b5.bundle.js → 390.b6be850fc7505d1de88d.bundle.js} +1 -1
- package/dist/391.0666a2c713a150170ff5.bundle.js +1 -0
- package/dist/{391.66b7ca48385310ebcf7b.bundle.js → 392.f34148770c768383744d.bundle.js} +1 -1
- package/dist/{392.5f61cc2fcec97682c31a.bundle.js → 393.05f47c41cc1d7b54adc0.bundle.js} +1 -1
- package/dist/{393.ad60a160f6d8f07db066.bundle.js → 394.86c3ac40b9fb6469c496.bundle.js} +1 -1
- package/dist/{394.945a629ae80e98a3842c.bundle.js → 395.b38a677c2f2b1ccb3476.bundle.js} +1 -1
- package/dist/{395.1f45e91da65c4b15e7b7.bundle.js → 396.b5f4054944651ae5180c.bundle.js} +1 -1
- package/dist/{396.19f00beeb595f6a0f097.bundle.js → 397.f2b5b26b77b1fd7f248d.bundle.js} +1 -1
- package/dist/{397.6aed7b44e353db151018.bundle.js → 398.796968f13733f535d020.bundle.js} +1 -1
- package/dist/{398.e0bcc3c752132fc25da7.bundle.js → 399.b7c7337a66ba8bdbc012.bundle.js} +1 -1
- package/dist/{4.361006ddfb9bbb7d67df.bundle.js → 4.4a106c0d5b80241a34a4.bundle.js} +1 -1
- package/dist/{40.e592bbbeb7155297dd8f.bundle.js → 40.67ce61c6380c388312c4.bundle.js} +1 -1
- package/dist/{399.eba5e66616fb20d1f217.bundle.js → 400.eb31061e4a8e21d5bcde.bundle.js} +1 -1
- package/dist/{400.f7a109f7fd41e7c4ec9f.bundle.js → 401.430d48aba92b6a8e4153.bundle.js} +1 -1
- package/dist/{401.8acac08b0a8c32b47774.bundle.js → 402.cf54af8859c0b1b67682.bundle.js} +1 -1
- package/dist/403.d87d414670015e4f18cd.bundle.js +1 -0
- package/dist/404.4efe8914c8cbf7591932.bundle.js +1 -0
- package/dist/405.bb51a207dbe9fbfcd773.bundle.js +1 -0
- package/dist/406.0fe82124cb33838472c3.bundle.js +1 -0
- package/dist/407.d4525d358e6005ee0b02.bundle.js +1 -0
- package/dist/{407.442379ae0047095fc75c.bundle.js → 408.ff4e24330c6f3997f2b8.bundle.js} +1 -1
- package/dist/409.3c99979a0c06f995a321.bundle.js +1 -0
- package/dist/{41.fa23b31a4328e38c548e.bundle.js → 41.1d2945e92ac1076af6ec.bundle.js} +1 -1
- package/dist/410.8e4e7b4205a7320a7640.bundle.js +1 -0
- package/dist/411.f1439685bbeb41c2ab30.bundle.js +1 -0
- package/dist/412.28a43e9de915ef681ee5.bundle.js +1 -0
- package/dist/413.9e47843c56126c145a46.bundle.js +1 -0
- package/dist/414.7e33a7290dfb52ebadfc.bundle.js +1 -0
- package/dist/{414.f7f1d8e7cfb5f16cd505.bundle.js → 415.4ae770f1c792a7e3d97d.bundle.js} +1 -1
- package/dist/{415.4f10529e67213d7b6d84.bundle.js → 416.199966edb0124bcdc6fe.bundle.js} +1 -1
- package/dist/{416.4d2b094d54d2052d87eb.bundle.js → 417.86e1a50751d6b250e186.bundle.js} +1 -1
- package/dist/{417.504d13b7f74634324cf5.bundle.js → 418.5fb3eefd141f863f0d6f.bundle.js} +1 -1
- package/dist/42.245988033c04d2389901.bundle.js +1 -0
- package/dist/43.d473040175d53a3dc19a.bundle.js +1 -0
- package/dist/{44.766b82ce5de1a524cc3f.bundle.js → 44.629ba0bb8617b75b9e18.bundle.js} +1 -1
- package/dist/{45.805cb81e8bd5e16d6614.bundle.js → 45.18fb9380db5ca1299c58.bundle.js} +1 -1
- package/dist/{46.8519664b24972b0782c8.bundle.js → 46.a5ab1e307c231829db33.bundle.js} +1 -1
- package/dist/{48.cefc88274887fbd818bb.bundle.js → 48.2daa6db29a43f428bec3.bundle.js} +1 -1
- package/dist/{5.c7f5c26819f9c1274988.bundle.js → 5.644cd1846e3c9119b69f.bundle.js} +1 -1
- package/dist/{50.b67a8bf19f5ba40d211d.bundle.js → 50.c0264a35d5a6770c7099.bundle.js} +1 -1
- package/dist/{52.01117e4b38baeac7e827.bundle.js → 52.09592231802ba57684f4.bundle.js} +1 -1
- package/dist/{53.1c209e38bc652bc802a3.bundle.js → 53.1e27523131cb43ae9164.bundle.js} +1 -1
- package/dist/{54.7e75dbcdbc39dbec90c4.bundle.js → 54.4c32e98dc7d5f10f818c.bundle.js} +1 -1
- package/dist/{55.55159c353664aaa65f20.bundle.js → 55.76f515faee295d0bddf5.bundle.js} +1 -1
- package/dist/{56.9535d85cb3dee788f807.bundle.js → 56.73dd6bd38ca3d86f9c4c.bundle.js} +1 -1
- package/dist/{57.1b0a2dda660da0ff1ebf.bundle.js → 57.e9bf37d59424bf7d57d6.bundle.js} +1 -1
- package/dist/{58.4d15f0ad937826e84e09.bundle.js → 58.cfb0de1cb17f24797a22.bundle.js} +1 -1
- package/dist/{6.0acc78945eb1297c0a53.bundle.js → 6.6a3fafaf62366478abcf.bundle.js} +1 -1
- package/dist/{60.2c5027dea3e3703d7c38.bundle.js → 60.f6a79c3c7e6f4927286e.bundle.js} +1 -1
- package/dist/61.8a54322d4b106608e0e8.bundle.js +1 -0
- package/dist/{62.64013e3b3891db8e214b.bundle.js → 62.595e7a8f405c67d74084.bundle.js} +1 -1
- package/dist/{64.cb099060a9e5142b2a34.bundle.js → 64.3e15db2ddfc15a3fd2fb.bundle.js} +1 -1
- package/dist/{67.d7be53a97d6bf1135546.bundle.js → 67.00fdf021533b515a83ef.bundle.js} +2 -2
- package/dist/{68.5af0fbaa99335f8bb96e.bundle.js → 68.4ddd8f42233cef1a90bc.bundle.js} +1 -1
- package/dist/{69.4a7177444dc0e4b94315.bundle.js → 69.1572347a6b37649d0a51.bundle.js} +1 -1
- package/dist/{7.daca4c258c5846916933.bundle.js → 7.fa770bea495e515b454f.bundle.js} +1 -1
- package/dist/{70.0e9e1543e9156f9c8233.bundle.js → 70.99dae552249a5f47a419.bundle.js} +1 -1
- package/dist/{71.2977a633f1a95a9d26e9.bundle.js → 71.2757370b0e4e644f7faa.bundle.js} +1 -1
- package/dist/72.43568229dc07f2bd1d87.bundle.js +1 -0
- package/dist/{74.45817f2a0eb750af3acb.bundle.js → 74.72417242867006a157dc.bundle.js} +1 -1
- package/dist/{75.1eaa235bbff5daf4df2d.bundle.js → 75.4a164bc17bda94c27048.bundle.js} +1 -1
- package/dist/{77.0aeceb0259e18b2839ed.bundle.js → 77.3d7096096e8042edbae9.bundle.js} +1 -1
- package/dist/{8.d891a8afeaf11c649a13.bundle.js → 8.bca750bf5df1cd0f0ef7.bundle.js} +1 -1
- package/dist/{81.66475d9be7fdfd0aff8e.bundle.js → 81.b6af119c791c71ccb10e.bundle.js} +1 -1
- package/dist/{82.baf988276ed830f4c619.bundle.js → 82.7f4aa24040cc974faad9.bundle.js} +1 -1
- package/dist/83.beffe2d64d0a5c2fdf25.bundle.js +1 -0
- package/dist/{84.9c2217ed7d51b9587b34.bundle.js → 84.ea14f1c945f5cb371786.bundle.js} +1 -1
- package/dist/{85.f5022d593fa18e7b6e2f.bundle.js → 85.fa3fc124b6577722efab.bundle.js} +1 -1
- package/dist/{86.b1867ffb28ea1d2ee860.bundle.js → 86.27e0125762c7931f5f06.bundle.js} +1 -1
- package/dist/{88.1d5fba0d6977f63971c0.bundle.js → 88.849205389ccad69d0f36.bundle.js} +1 -1
- package/dist/{9.3dc9baf7ba9cade788d4.bundle.js → 9.ccfffb58a0d41b10046b.bundle.js} +1 -1
- package/dist/{92.c51359902266bcccf8b5.bundle.js → 92.08c2a19329fec4752d1e.bundle.js} +1 -1
- package/dist/{93.fd7426d3c440f994b6c9.bundle.js → 93.13f947e1df84a809231c.bundle.js} +1 -1
- package/dist/{95.d15d8c36116342281f3a.bundle.js → 95.4cdbb81af9dc2b808731.bundle.js} +1 -1
- package/dist/{bundle.f64830972ccb2587bed5.bundle.js → bundle.93f30706a751eb3541c1.bundle.js} +12 -12
- package/dist/css/sparql-editor.css +4 -1
- package/dist/i18n/locale-en.json +1 -1
- package/dist/i18n/locale-fr.json +1 -1
- package/dist/index.html +3 -3
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +2 -1
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/import/templates/fileSizeLimitInfo.html +1 -1
- package/dist/js/angular/security/templates/user.html +2 -2
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/no-agents-view.html +2 -2
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/{main.f3d65bbba1196d025a67.bundle.js → main.bf58e480a34744fc7586.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +15 -14
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +3 -3
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/{polyfills-dom.fb0575ac1c147db1a811.bundle.js → polyfills-dom.07ad95d09eead5ed0798.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.c2676bb2d145f8aed2a0.bundle.js → vendor.5fdbbc3c2f956ce0d5b0.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.168d234b1f056561696f.bundle.js → vendors~polyfills-core-js.e016374302ce3e1c774e.bundle.js} +1 -1
- package/package.json +1 -1
- package/dist/126.fb13c3af04bb0f1577cc.bundle.js +0 -1
- package/dist/21.5804fc4f2c76826296ea.bundle.js +0 -1
- package/dist/221.9ddd6a25f2977a63833b.bundle.js +0 -1
- package/dist/23.0ed551f7233a7eecb7d9.bundle.js +0 -3
- package/dist/243.684335d32b3e2db71742.bundle.js +0 -1
- package/dist/255.20192dfc724463dab127.bundle.js +0 -1
- package/dist/263.9313cb2696d2d844849a.bundle.js +0 -1
- package/dist/265.ffbab37e1a761ec07b60.bundle.js +0 -1
- package/dist/269.8e8d3873f1c7018bedbc.bundle.js +0 -1
- package/dist/318.55e49c3e196d797ba501.bundle.js +0 -1
- package/dist/347.02ce6e0b6d5c5f809701.bundle.js +0 -1
- package/dist/353.e09a678885b9f58b5bfa.bundle.js +0 -1
- package/dist/356.3fd23c353a63f5814ef0.bundle.js +0 -1
- package/dist/357.4cfa3ac31c756fbea15c.bundle.js +0 -1
- package/dist/358.cf91186112fbb9528fb1.bundle.js +0 -1
- package/dist/359.8c70e4e004683f761bf6.bundle.js +0 -1
- package/dist/360.0b216b42c3b91d8beb75.bundle.js +0 -1
- package/dist/390.59af16a17510fb088b23.bundle.js +0 -1
- package/dist/402.2ef4344492d68f055819.bundle.js +0 -1
- package/dist/403.1d5681bf228979543c7b.bundle.js +0 -1
- package/dist/404.e9b5e7705921b8ec0081.bundle.js +0 -1
- package/dist/405.f87fbb7fcf93b52d72d7.bundle.js +0 -1
- package/dist/406.f4b991230b8c43c64eab.bundle.js +0 -1
- package/dist/408.d10880277e9e99f32a49.bundle.js +0 -1
- package/dist/409.2fe904fe914dc62950d7.bundle.js +0 -1
- package/dist/410.5f8fefeb5ea73ed7f63f.bundle.js +0 -1
- package/dist/411.76741a256e08034ede0e.bundle.js +0 -1
- package/dist/412.80d2e5441334ac9b28a0.bundle.js +0 -1
- package/dist/413.479f974bbd17255bc83f.bundle.js +0 -1
- package/dist/42.981459b944d366411351.bundle.js +0 -1
- package/dist/43.f97141cf3b00b959acfe.bundle.js +0 -1
- package/dist/61.a1919d783086b54de2f4.bundle.js +0 -1
- package/dist/72.9b46af75f4baffcb308d.bundle.js +0 -1
- package/dist/83.f53e5a2963a770c3b641.bundle.js +0 -1
- /package/dist/{127.32f4a1c4a2ed2e324f4d.bundle.js → 127.3e150ab2e0f39ccb0924.bundle.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[29,30,65,78,97,198,257,258,294,302,320],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return s})),n.d(t,"ConnectorTypeModel",(function(){return r})),n.d(t,"ConnectorListModel",(function(){return i})),n.d(t,"ConnectorModel",(function(){return o})),n.d(t,"ConnectorSettingsModel",(function(){return a}));class s{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class r{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class i{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class o{constructor(e){this._name=e.name,this._settings=new a(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class a{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},103:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",n),n.$inject=["$http","$repositories"];function n(e){return{getIndexes:function(t,n){if(t)return e.get("rest/similarity",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("rest/similarity?name="+t.name)},createIndex:t,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,n,s,r,i,o,a,c,l,d,u){return e({method:t,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:n,options:s,selectQuery:r,stopList:a,infer:c,sameAs:l,type:d,analyzer:u,searchQuery:i,analogicalQuery:o}})}}},104:function(e,t,n){"use strict";n.r(t);n(99);var s=n(109),r=n(92);function i(e){const t=(t,n)=>e.getConnectors(t,n).then(e=>Object(s.connectorTypesListMapper)(e.data)),n=(t,n,r)=>e.hasConnector(encodeURIComponent(t),n,r).then(e=>Object(s.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:(e,n,s)=>t(n,s).then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:(e,t,s)=>n(e,t,s).then(e=>e.connectors.map(e=>new r.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",i),i.$inject=["ConnectorsRestService"]},105:function(e,t,n){"use strict";n.r(t);n(103);var s=n(98),r=n(92);function i(e){const t=(t,n)=>e.getIndexes(t,n).then(e=>Object(s.mapIndexesResponseToSimilarityIndex)(e.data));return{getIndexes:t,getIndexesAsMenuModel:(e,n)=>t(e,n).then(e=>e.map(e=>new r.SelectMenuOptionsModel({label:e.name,value:e.name})))}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",i),i.$inject=["SimilarityRestService"]},109:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return r})),n.d(t,"connectorsMapper",(function(){return i}));var s=n(102);const r=e=>{const t=new s.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new s.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},i=e=>{const t=new s.ConnectorListModel;return e?(t.connectors=e.map(e=>new s.ConnectorModel(e)),t):t}},147:function(e,t,n){"use strict";n.r(t);n(105),n(104),n(114),n(21);function s(e,t,n,s,r){e.agentInstructionsExplain=r.agentInstructionsExplain,e.close=()=>{t.dismiss({})},e.onCloseAgentInstructionsExplainModal=()=>{t.dismiss({})};const i=[];e.$on("$destroy",()=>{i.forEach(e=>e())})}angular.module("graphdb.framework.ttyg.controllers.agent-instructions-explain-modal",[]).controller("AgentInstructionsExplainModalController",s),s.$inject=["$scope","$uibModalInstance","ModalService","$translate","dialogModel"]},205:function(e,t,n){"use strict";n.r(t);var s=n(0),r=n(115),i=(n(105),n(104),n(114),n(21),n(147),n(10)),o=n(87),a=n(106);function c(e,t,n,c,l,d,u,g,E,p,T,m,y,h){e.AGENT_OPERATION=a.AGENT_OPERATION,e.operation=m.operation,e.savingAgent=!1,e.agentFormModel=m.agentFormModel,e.activeRepositoryInfo=m.activeRepositoryInfo,e.extractionMethodLoaderFlags={[r.ExtractionMethod.SIMILARITY]:!1},e.activeRepositoryList=m.activeRepositoryList,e.extractionMethods=r.ExtractionMethod,e.showAdvancedSettings=!1,e.showHighTemperatureWarning=!1,e.showSystemInstructionWarning=!1,e.similarityIndexes=[],e.retrievalConnectors=[],e.ftsEnabled=!1,e.toggleExtractionMethod=t=>{t.expanded=t.selected,e.agentSettingsForm.extractionMethods.$setTouched(),f(),v[t.method](t)},e.onExtractionMethodPanelToggle=e=>{e.toggleCollapse(),v[e.method](e)},e.getModelHelpMessage=()=>{const e=Object(s.decodeHTML)(T.instant("ttyg.agent.create_agent_modal.form.model.hint"));return g.trustAsHtml(e)},e.getFTSDisabledHelpMessage=()=>{const t=Object(s.decodeHTML)(T.instant("ttyg.agent.create_agent_modal.form.fts_search.fts_disabled_message",{repositoryEditPage:"#/repository/edit/"+e.agentFormModel.repositoryId}));return g.trustAsHtml(t)},e.goToCreateSimilarityView=()=>{y.emit(o.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.goToConnectorsView=()=>{y.emit(o.TTYGEventName.GO_TO_CONNECTORS_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.ok=()=>{const t=e.agentFormModel.toPayload();return S[e.operation](t)},e.cancel=()=>{t.dismiss({})},e.close=()=>{t.dismiss({})},e.updateSimilaritySearchPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getSimilarityExtractionMethod();n.selected&&(t&&(n.similarityIndex=null),L(n))},e.updateRetrievalConnectorPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getRetrievalExtractionMethod();n.selected&&(t&&(n.retrievalConnectorInstance=null),M(n))},e.checkIfFTSEnabled=()=>{if(!e.agentFormModel.repositoryId)return void e.agentSettingsForm.$setValidity("FTSDisabled",!1);e.agentFormModel.assistantExtractionMethods.getFTSSearchExtractionMethod().selected?(e.extractionMethodLoaderFlags[r.ExtractionMethod.FTS_SEARCH]=!0,u.getRepositoryModel({id:e.agentFormModel.repositoryId}).then(t=>{e.ftsEnabled=t.getParamValue(i.REPOSITORY_PARAMS.enableFtsIndex)}).catch(e=>{I(e,"ttyg.agent.messages.error_repository_config_loading")}).finally(()=>{e.extractionMethodLoaderFlags[r.ExtractionMethod.FTS_SEARCH]=!1,e.agentSettingsForm.$setValidity("FTSDisabled",e.ftsEnabled)})):e.agentSettingsForm.$setValidity("FTSDisabled",!0)},e.onRepositoryChange=()=>{O(!0,!0)},e.onRestoreDefaultSystemInstructions=()=>{e.agentFormModel.instructions.systemInstruction=e.agentFormModel.instructions.systemInstructionCopy},e.onRestoreDefaultUserInstructions=()=>{e.agentFormModel.instructions.userInstruction=e.agentFormModel.instructions.userInstructionCopy},e.onTemperatureChange=()=>{e.showHighTemperatureWarning=e.agentFormModel.temperature.value>1},e.onSystemInstructionChange=()=>{""===e.agentFormModel.instructions.systemInstruction||e.showSystemInstructionWarning||(e.showSystemInstructionWarning=!0,n.openModalAlert({title:T.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.title"),message:T.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.body")}).result.then((function(){}))),""===e.agentFormModel.instructions.systemInstruction&&(e.showSystemInstructionWarning=!1)},e.onExplainAgentSettings=()=>{const t=e.agentFormModel.toPayload();h.explainAgentSettings(t).then(e=>{const t={templateUrl:"js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html",controller:"AgentInstructionsExplainModalController",windowClass:"agent-instructions-explain-modal",backdrop:"static",resolve:{dialogModel:function(){return{agentInstructionsExplain:e}}},size:"lg"};c.open(t).result.then(()=>{})}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))})};const S={[a.AGENT_OPERATION.CREATE]:e=>_(e),[a.AGENT_OPERATION.EDIT]:e=>C(e),[a.AGENT_OPERATION.CLONE]:e=>A(e)},_=n=>(e.savingAgent=!0,h.createAgent(n).then(e=>{t.close(e),E.success(T.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),C=n=>(e.savingAgent=!0,h.editAgent(n).then(e=>{t.close(e),E.success(T.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),A=n=>(e.savingAgent=!0,h.createAgent(n).then(e=>{t.close(e),E.success(T.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),I=(e,t)=>{console.error(e),E.error(T.instant(t))},f=()=>{e.agentSettingsForm.extractionMethods.$setValidity("required",e.agentFormModel.hasExtractionMethodSelected())},x=()=>{const t=e.activeRepositoryList.find(t=>t.value===e.agentFormModel.repositoryId);return{repositoryId:t?t.data.repository.id:void 0,repositoryLocation:t?t.data.repository.location:void 0}},L=t=>{if(t.selected||e.agentSettingsForm.$setValidity("missingIndex",!0),t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=x();l.getIndexesAsMenuModel(n.repositoryId,n.repositoryLocation).then(n=>{e.similarityIndexes=n,e.agentSettingsForm.$setValidity("missingIndex",!t.selected||!(!n||!n.length)),R(e.similarityIndexes,t)}).catch(t=>{e.agentSettingsForm.$setValidity("missingIndex",!1),I(t,"ttyg.agent.messages.error_similarity_indexes_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},R=(e,t)=>{if(0===e.length)return void(t.similarityIndex=null);const n=e.find(e=>e.value===t.similarityIndex);t.similarityIndex=n?n.value:e[0].value},M=t=>{if(t.selected||e.agentSettingsForm.$setValidity("missingConnector",!0),t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=x();d.getConnectorPrefixByName("ChatGPT Retrieval",n.repositoryId,n.repositoryLocation).then(e=>d.getConnectorsByTypeAsSelectMenuOptions(e,n.repositoryId,n.repositoryLocation)).then(n=>{e.retrievalConnectors=n,e.agentSettingsForm.$setValidity("missingConnector",!t.selected||!(!n||!n.length)),D(e.retrievalConnectors,t)}).catch(t=>{e.agentSettingsForm.$setValidity("missingConnector",!1),I(t,"ttyg.agent.messages.error_retrieval_connectors_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},D=(e,t)=>{if(0===e.length)return void(t.retrievalConnectorInstance=null);const n=e.find(e=>e.value===t.retrievalConnectorInstance);t.retrievalConnectorInstance=n?n.value:e[0].value},v={[r.ExtractionMethod.FTS_SEARCH]:t=>{e.checkIfFTSEnabled()},[r.ExtractionMethod.SPARQL]:e=>{},[r.ExtractionMethod.SIMILARITY]:e=>L(e),[r.ExtractionMethod.RETRIEVAL]:e=>M(e)},O=(t=!1,n=!1)=>{e.checkIfFTSEnabled(),e.updateSimilaritySearchPanel(t),e.updateRetrievalConnectorPanel(n)},F=()=>{document.hidden||O()};document.addEventListener("visibilitychange",F),e.$on("$destroy",()=>{document.removeEventListener("visibilitychange",F)});setTimeout(f,0)}angular.module("graphdb.framework.ttyg.controllers.agent-settings-modal",["graphdb.framework.core.services.similarity","graphdb.framework.core.services.connectors","graphdb.framework.rest.repositories.service","graphdb.framework.ttyg.controllers.agent-instructions-explain-modal"]).controller("AgentSettingsModalController",c),c.$inject=["$scope","$uibModalInstance","ModalService","$uibModal","SimilarityService","ConnectorsService","RepositoriesRestService","$sce","toastr","UriUtils","$translate","dialogModel","TTYGContextService","TTYGService"]},87:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var s=n(18);function r(e){let t=void 0,n=void 0,r=void 0,o=void 0,a={},c=void 0,l=!1;const d=()=>Object(s.cloneDeep)(t),u=()=>Object(s.cloneDeep)(n),g=e=>{n=Object(s.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,u())},E=()=>Object(s.cloneDeep)(r),p=()=>Object(s.cloneDeep)(o),T=()=>Object(s.cloneDeep)(a),m=e=>!!a[e],y=()=>l,h=(t,n)=>{e.emitSync(t,Object(s.cloneDeep)(n))},S=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,r=void 0,o=void 0,a={},c=void 0,l=!1},emit:h,subscribe:S,getChats:u,updateChats:g,addChat:e=>{n.appendChat(e),g(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),g(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(u()),S(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:E,selectChat:e=>{r&&r.id===e.id||(r=Object(s.cloneDeep)(e),h(i.SELECT_CHAT,E()))},deselectChat:()=>{r=void 0,h(i.SELECT_CHAT,E())},deleteChat:e=>{n.deleteChat(e),g(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(E()),S(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(s.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,E()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(E()),S(i.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(r&&angular.isFunction(e)&&e(E()),S(i.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(s.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),S(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(s.cloneDeep)(t.getAgent(e))},selectAgent:e=>{o=Object(s.cloneDeep)(e),h(i.AGENT_SELECTED,p())},getSelectedAgent:p,onSelectedAgentChanged:e=>(o&&angular.isFunction(e)&&e(p()),S(i.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(s.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(s.cloneDeep)(e),h(i.CAN_MODIFY_AGENT_UPDATED,y())},getCanModifyAgent:y,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(y()),S(i.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:m,toggleExplainResponse:e=>{m(e)&&(a[e].expanded=!a[e].expanded,h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,T()))},getExplainResponse:e=>Object(s.cloneDeep)(a[e]),addExplainResponseCache:e=>{a[e.answerId]=Object(s.cloneDeep)(e),h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,T())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(T()),S(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",r),r.$inject=["EventEmitterService","TTYGService"];const i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},91:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexType",(function(){return s}));const s={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>s.TEXT===e,isTextLiteralType:e=>s.TEXT_LITERAL===e,isPredicationType:e=>s.PREDICATION===e}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexStatus",(function(){return s}));const s={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>s.CREATING===e,isBuildingStatus:e=>s.BUILDING===e,isBuiltStatus:e=>s.BUILT===e,isRebuildingStatus:e=>s.REBUILDING===e,isOutdatedStatus:e=>s.OUTDATED===e,isInterruptedStatus:e=>s.INTERRUPTED===e,isObsoleteStatus:e=>s.OBSOLETE===e,isFailedStatus:e=>s.FAILED===e}},94:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndex",(function(){return i}));var s=n(91),r=n(93);class i{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=s.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return s.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return s.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return s.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}},98:function(e,t,n){"use strict";n.r(t),n.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var s=n(94);const r=e=>e.map(e=>{const t=new s.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},99:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(t,n){if(t)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t,n,s){if(n)return e.get("rest/connectors/existing?prefix="+t,{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":s}});return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[29,30,65,78,97,198,257,258,294,302,321],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return s})),n.d(t,"ConnectorTypeModel",(function(){return r})),n.d(t,"ConnectorListModel",(function(){return i})),n.d(t,"ConnectorModel",(function(){return o})),n.d(t,"ConnectorSettingsModel",(function(){return a}));class s{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class r{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class i{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class o{constructor(e){this._name=e.name,this._settings=new a(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class a{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},103:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",n),n.$inject=["$http","$repositories"];function n(e){return{getIndexes:function(t,n){if(t)return e.get("rest/similarity",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("rest/similarity?name="+t.name)},createIndex:t,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,n,s,r,i,o,a,c,l,d,u){return e({method:t,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:n,options:s,selectQuery:r,stopList:a,infer:c,sameAs:l,type:d,analyzer:u,searchQuery:i,analogicalQuery:o}})}}},104:function(e,t,n){"use strict";n.r(t);n(99);var s=n(109),r=n(92);function i(e){const t=(t,n)=>e.getConnectors(t,n).then(e=>Object(s.connectorTypesListMapper)(e.data)),n=(t,n,r)=>e.hasConnector(encodeURIComponent(t),n,r).then(e=>Object(s.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:(e,n,s)=>t(n,s).then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:(e,t,s)=>n(e,t,s).then(e=>e.connectors.map(e=>new r.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",i),i.$inject=["ConnectorsRestService"]},105:function(e,t,n){"use strict";n.r(t);n(103);var s=n(98),r=n(92);function i(e){const t=(t,n)=>e.getIndexes(t,n).then(e=>Object(s.mapIndexesResponseToSimilarityIndex)(e.data));return{getIndexes:t,getIndexesAsMenuModel:(e,n)=>t(e,n).then(e=>e.map(e=>new r.SelectMenuOptionsModel({label:e.name,value:e.name})))}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",i),i.$inject=["SimilarityRestService"]},109:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return r})),n.d(t,"connectorsMapper",(function(){return i}));var s=n(102);const r=e=>{const t=new s.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new s.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},i=e=>{const t=new s.ConnectorListModel;return e?(t.connectors=e.map(e=>new s.ConnectorModel(e)),t):t}},147:function(e,t,n){"use strict";n.r(t);n(105),n(104),n(114),n(21);function s(e,t,n,s,r){e.agentInstructionsExplain=r.agentInstructionsExplain,e.close=()=>{t.dismiss({})},e.onCloseAgentInstructionsExplainModal=()=>{t.dismiss({})};const i=[];e.$on("$destroy",()=>{i.forEach(e=>e())})}angular.module("graphdb.framework.ttyg.controllers.agent-instructions-explain-modal",[]).controller("AgentInstructionsExplainModalController",s),s.$inject=["$scope","$uibModalInstance","ModalService","$translate","dialogModel"]},204:function(e,t,n){"use strict";n.r(t);var s=n(0),r=n(115),i=(n(105),n(104),n(114),n(21),n(147),n(10)),o=n(87),a=n(106);function c(e,t,n,c,l,d,u,g,E,p,T,m,y,h){e.AGENT_OPERATION=a.AGENT_OPERATION,e.operation=m.operation,e.savingAgent=!1,e.agentFormModel=m.agentFormModel,e.activeRepositoryInfo=m.activeRepositoryInfo,e.extractionMethodLoaderFlags={[r.ExtractionMethod.SIMILARITY]:!1},e.activeRepositoryList=m.activeRepositoryList,e.extractionMethods=r.ExtractionMethod,e.showAdvancedSettings=!1,e.showHighTemperatureWarning=!1,e.showSystemInstructionWarning=!1,e.similarityIndexes=[],e.retrievalConnectors=[],e.ftsEnabled=!1,e.toggleExtractionMethod=t=>{t.expanded=t.selected,e.agentSettingsForm.extractionMethods.$setTouched(),f(),v[t.method](t)},e.onExtractionMethodPanelToggle=e=>{e.toggleCollapse(),v[e.method](e)},e.getModelHelpMessage=()=>{const e=Object(s.decodeHTML)(T.instant("ttyg.agent.create_agent_modal.form.model.hint"));return g.trustAsHtml(e)},e.getFTSDisabledHelpMessage=()=>{const t=Object(s.decodeHTML)(T.instant("ttyg.agent.create_agent_modal.form.fts_search.fts_disabled_message",{repositoryEditPage:"#/repository/edit/"+e.agentFormModel.repositoryId}));return g.trustAsHtml(t)},e.goToCreateSimilarityView=()=>{y.emit(o.TTYGEventName.GO_TO_CREATE_SIMILARITY_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.goToConnectorsView=()=>{y.emit(o.TTYGEventName.GO_TO_CONNECTORS_VIEW,{repositoryId:e.agentFormModel.repositoryId})},e.ok=()=>{const t=e.agentFormModel.toPayload();return S[e.operation](t)},e.cancel=()=>{t.dismiss({})},e.close=()=>{t.dismiss({})},e.updateSimilaritySearchPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getSimilarityExtractionMethod();n.selected&&(t&&(n.similarityIndex=null),L(n))},e.updateRetrievalConnectorPanel=(t=!1)=>{const n=e.agentFormModel.assistantExtractionMethods.getRetrievalExtractionMethod();n.selected&&(t&&(n.retrievalConnectorInstance=null),M(n))},e.checkIfFTSEnabled=()=>{if(!e.agentFormModel.repositoryId)return void e.agentSettingsForm.$setValidity("FTSDisabled",!1);e.agentFormModel.assistantExtractionMethods.getFTSSearchExtractionMethod().selected?(e.extractionMethodLoaderFlags[r.ExtractionMethod.FTS_SEARCH]=!0,u.getRepositoryModel({id:e.agentFormModel.repositoryId}).then(t=>{e.ftsEnabled=t.getParamValue(i.REPOSITORY_PARAMS.enableFtsIndex)}).catch(e=>{I(e,"ttyg.agent.messages.error_repository_config_loading")}).finally(()=>{e.extractionMethodLoaderFlags[r.ExtractionMethod.FTS_SEARCH]=!1,e.agentSettingsForm.$setValidity("FTSDisabled",e.ftsEnabled)})):e.agentSettingsForm.$setValidity("FTSDisabled",!0)},e.onRepositoryChange=()=>{O(!0,!0)},e.onRestoreDefaultSystemInstructions=()=>{e.agentFormModel.instructions.systemInstruction=e.agentFormModel.instructions.systemInstructionCopy},e.onRestoreDefaultUserInstructions=()=>{e.agentFormModel.instructions.userInstruction=e.agentFormModel.instructions.userInstructionCopy},e.onTemperatureChange=()=>{e.showHighTemperatureWarning=e.agentFormModel.temperature.value>1},e.onSystemInstructionChange=()=>{""===e.agentFormModel.instructions.systemInstruction||e.showSystemInstructionWarning||(e.showSystemInstructionWarning=!0,n.openModalAlert({title:T.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.title"),message:T.instant("ttyg.agent.create_agent_modal.form.system_instruction.overriding_system_instruction_warning.body")}).result.then((function(){}))),""===e.agentFormModel.instructions.systemInstruction&&(e.showSystemInstructionWarning=!1)},e.onExplainAgentSettings=()=>{const t=e.agentFormModel.toPayload();h.explainAgentSettings(t).then(e=>{const t={templateUrl:"js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html",controller:"AgentInstructionsExplainModalController",windowClass:"agent-instructions-explain-modal",backdrop:"static",resolve:{dialogModel:function(){return{agentInstructionsExplain:e}}},size:"lg"};c.open(t).result.then(()=>{})}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))})};const S={[a.AGENT_OPERATION.CREATE]:e=>_(e),[a.AGENT_OPERATION.EDIT]:e=>C(e),[a.AGENT_OPERATION.CLONE]:e=>A(e)},_=n=>(e.savingAgent=!0,h.createAgent(n).then(e=>{t.close(e),E.success(T.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),C=n=>(e.savingAgent=!0,h.editAgent(n).then(e=>{t.close(e),E.success(T.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),A=n=>(e.savingAgent=!0,h.createAgent(n).then(e=>{t.close(e),E.success(T.instant("ttyg.agent.messages.agent_save_successfully",{agentName:e.name}))}).catch(e=>{E.error(getError(e,0,a.TTYG_ERROR_MSG_LENGTH))}).finally(()=>{e.savingAgent=!1})),I=(e,t)=>{console.error(e),E.error(T.instant(t))},f=()=>{e.agentSettingsForm.extractionMethods.$setValidity("required",e.agentFormModel.hasExtractionMethodSelected())},x=()=>{const t=e.activeRepositoryList.find(t=>t.value===e.agentFormModel.repositoryId);return{repositoryId:t?t.data.repository.id:void 0,repositoryLocation:t?t.data.repository.location:void 0}},L=t=>{if(t.selected||e.agentSettingsForm.$setValidity("missingIndex",!0),t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=x();l.getIndexesAsMenuModel(n.repositoryId,n.repositoryLocation).then(n=>{e.similarityIndexes=n,e.agentSettingsForm.$setValidity("missingIndex",!t.selected||!(!n||!n.length)),R(e.similarityIndexes,t)}).catch(t=>{e.agentSettingsForm.$setValidity("missingIndex",!1),I(t,"ttyg.agent.messages.error_similarity_indexes_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},R=(e,t)=>{if(0===e.length)return void(t.similarityIndex=null);const n=e.find(e=>e.value===t.similarityIndex);t.similarityIndex=n?n.value:e[0].value},M=t=>{if(t.selected||e.agentSettingsForm.$setValidity("missingConnector",!0),t.expanded){e.extractionMethodLoaderFlags[t.method]=!0;const n=x();d.getConnectorPrefixByName("ChatGPT Retrieval",n.repositoryId,n.repositoryLocation).then(e=>d.getConnectorsByTypeAsSelectMenuOptions(e,n.repositoryId,n.repositoryLocation)).then(n=>{e.retrievalConnectors=n,e.agentSettingsForm.$setValidity("missingConnector",!t.selected||!(!n||!n.length)),D(e.retrievalConnectors,t)}).catch(t=>{e.agentSettingsForm.$setValidity("missingConnector",!1),I(t,"ttyg.agent.messages.error_retrieval_connectors_loading")}).finally(()=>{e.extractionMethodLoaderFlags[t.method]=!1})}},D=(e,t)=>{if(0===e.length)return void(t.retrievalConnectorInstance=null);const n=e.find(e=>e.value===t.retrievalConnectorInstance);t.retrievalConnectorInstance=n?n.value:e[0].value},v={[r.ExtractionMethod.FTS_SEARCH]:t=>{e.checkIfFTSEnabled()},[r.ExtractionMethod.SPARQL]:e=>{},[r.ExtractionMethod.SIMILARITY]:e=>L(e),[r.ExtractionMethod.RETRIEVAL]:e=>M(e)},O=(t=!1,n=!1)=>{e.checkIfFTSEnabled(),e.updateSimilaritySearchPanel(t),e.updateRetrievalConnectorPanel(n)},F=()=>{document.hidden||O()};document.addEventListener("visibilitychange",F),e.$on("$destroy",()=>{document.removeEventListener("visibilitychange",F)});setTimeout(f,0)}angular.module("graphdb.framework.ttyg.controllers.agent-settings-modal",["graphdb.framework.core.services.similarity","graphdb.framework.core.services.connectors","graphdb.framework.rest.repositories.service","graphdb.framework.ttyg.controllers.agent-instructions-explain-modal"]).controller("AgentSettingsModalController",c),c.$inject=["$scope","$uibModalInstance","ModalService","$uibModal","SimilarityService","ConnectorsService","RepositoriesRestService","$sce","toastr","UriUtils","$translate","dialogModel","TTYGContextService","TTYGService"]},87:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var s=n(18);function r(e){let t=void 0,n=void 0,r=void 0,o=void 0,a={},c=void 0,l=!1;const d=()=>Object(s.cloneDeep)(t),u=()=>Object(s.cloneDeep)(n),g=e=>{n=Object(s.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,u())},E=()=>Object(s.cloneDeep)(r),p=()=>Object(s.cloneDeep)(o),T=()=>Object(s.cloneDeep)(a),m=e=>!!a[e],y=()=>l,h=(t,n)=>{e.emitSync(t,Object(s.cloneDeep)(n))},S=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,r=void 0,o=void 0,a={},c=void 0,l=!1},emit:h,subscribe:S,getChats:u,updateChats:g,addChat:e=>{n.appendChat(e),g(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),g(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(u()),S(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:E,selectChat:e=>{r&&r.id===e.id||(r=Object(s.cloneDeep)(e),h(i.SELECT_CHAT,E()))},deselectChat:()=>{r=void 0,h(i.SELECT_CHAT,E())},deleteChat:e=>{n.deleteChat(e),g(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(E()),S(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(s.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,E()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(E()),S(i.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(r&&angular.isFunction(e)&&e(E()),S(i.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(s.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),S(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(s.cloneDeep)(t.getAgent(e))},selectAgent:e=>{o=Object(s.cloneDeep)(e),h(i.AGENT_SELECTED,p())},getSelectedAgent:p,onSelectedAgentChanged:e=>(o&&angular.isFunction(e)&&e(p()),S(i.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(s.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(s.cloneDeep)(e),h(i.CAN_MODIFY_AGENT_UPDATED,y())},getCanModifyAgent:y,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(y()),S(i.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:m,toggleExplainResponse:e=>{m(e)&&(a[e].expanded=!a[e].expanded,h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,T()))},getExplainResponse:e=>Object(s.cloneDeep)(a[e]),addExplainResponseCache:e=>{a[e.answerId]=Object(s.cloneDeep)(e),h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,T())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(T()),S(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",r),r.$inject=["EventEmitterService","TTYGService"];const i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},91:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexType",(function(){return s}));const s={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>s.TEXT===e,isTextLiteralType:e=>s.TEXT_LITERAL===e,isPredicationType:e=>s.PREDICATION===e}},93:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndexStatus",(function(){return s}));const s={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>s.CREATING===e,isBuildingStatus:e=>s.BUILDING===e,isBuiltStatus:e=>s.BUILT===e,isRebuildingStatus:e=>s.REBUILDING===e,isOutdatedStatus:e=>s.OUTDATED===e,isInterruptedStatus:e=>s.INTERRUPTED===e,isObsoleteStatus:e=>s.OBSOLETE===e,isFailedStatus:e=>s.FAILED===e}},94:function(e,t,n){"use strict";n.r(t),n.d(t,"SimilarityIndex",(function(){return i}));var s=n(91),r=n(93);class i{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=s.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return s.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return s.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return s.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}},98:function(e,t,n){"use strict";n.r(t),n.d(t,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var s=n(94);const r=e=>e.map(e=>{const t=new s.SimilarityIndex;return t.type=e.type,t.stopList=e.stopList,t.status=e.status,t.selectQuery=e.selectQuery,t.searchQuery=e.searchQuery,t.sameAs=e.sameAs,t.options=e.options,t.name=e.name,t.infer=e.infer,t.analyzer=e.analyzer,t.analogicalQuery=e.analogicalQuery,t})},99:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(t,n){if(t)return e.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":n}});return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t,n,s){if(n)return e.get("rest/connectors/existing?prefix="+t,{headers:{"X-GraphDB-Repository":n,"X-GraphDB-Repository-Location":s}});return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[290],{307:function(e,t,n){"use strict";n.r(t);var r=n(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[290],{307:function(e,t,n){"use strict";n.r(t);var r=n(540);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(t,n){let a;const c=e.$on("$translateChangeSuccess",()=>{t.chart.translateLabels(),a.setOption(t.chart.chartOptions)});function s(){a.setOption(t.chart.chartOptions),t.chart.updateRange(t.chart.dataHolder),a.hideLoading()}function o(e){t.chart.setSelectedSeries(e.selected)}function i(){a.resize()}t.$watch("chart",(function(){a=r.a(n[0],null,{renderer:"svg"}),a.setOption(t.chart.chartOptions),a.showLoading(),a.on("legendselectchanged",o),t.chart.registerRefreshHandler(s),t.chart.translateLabels(),window.addEventListener("resize",i)})),t.$on("$destroy",(function(){a.on("legendselectchanged"),a.dispose(),t.chart.unregisterRefreshHandler(s),c(),window.removeEventListener("resize",i)}))}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[291],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[291],{393:function(e,o){PluginRegistry.add("route",{url:"/monitor/system",module:"graphdb.framework.jmx.resources",path:"resources/app",chunk:"resources",controller:"ResourcesCtrl",templateUrl:"pages/monitor/resources.html",title:"view.resource.monitoring.title",helpInfo:"view.resource.monitoring.helpInfo",reloadOnSearch:!1,documentationUrl:"system-monitoring.html"}),PluginRegistry.add("main.menu",{items:[{label:"Monitor",labelKey:"menu.monitor.label",href:"#",order:3,role:"ROLE_MONITORING",icon:"icon-monitoring",guideSelector:"menu-monitor"},{label:"Resources",labelKey:"menu.resources.label",href:"monitor/system",role:"ROLE_MONITORING",order:3,parent:"Monitor",guideSelector:"sub-menu-resources"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[292],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[292],{212:function(e,t){angular.module("graphdb.framework.rest.aclmanagement.service",[]).factory("AclManagementRestService",n),n.$inject=["$http"];function n(e){return{getAcl:function(t){return e.get(`rest/repositories/${t}/acl`)},updateAcl:function(t,n){return e.put(`rest/repositories/${t}/acl`,n)}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[295],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[295],{173:function(e,t){angular.module("graphdb.framework.rest.explore.rest.service",[]).factory("ExploreRestService",r),r.$inject=["$http"];function r(e){return{getResourceDetails:(t,r,a,p)=>e.get("rest/explore/details",{params:{uri:t,triple:r,context:a},headers:{Accept:p||"application/json"}}),getGraph:(t,r,a)=>e.get("rest/explore/graph",{params:{uri:t.uri,triple:t.triple,inference:t.contextType.id,role:t.role,bnodes:t.blanks,sameAs:t.sameAs,context:t.context},headers:{Accept:r||"application/x-graphdb-table-results+json",Link:a?"<"+a+">":""}}).then(e=>e.data)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[3,104,199,319],{106:function(t,e,s){"use strict";s.r(e),s.d(e,"TTYG_ERROR_MSG_LENGTH",(function(){return i})),s.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return r})),s.d(e,"AGENT_OPERATION",(function(){return n}));const i=100,r="ALL",n={CREATE:"create",EDIT:"edit",CLONE:"clone"}},115:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentModel",(function(){return n})),s.d(e,"AgentInstructionsModel",(function(){return a})),s.d(e,"ExtractionMethodModel",(function(){return o})),s.d(e,"AdditionalExtractionMethodsModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodModel",(function(){return d})),s.d(e,"AgentListModel",(function(){return l})),s.d(e,"ExtractionMethod",(function(){return u})),s.d(e,"AdditionalExtractionMethod",(function(){return c})),s.d(e,"AgentListFilterModel",(function(){return _}));var i=s(18),r=s(106);class n{constructor(t,e){this.hashGenerator=e,this._isDeleted=!1,this._id=t.id,this._name=t.name,this._repositoryId=t.repositoryId,this.isRepositoryDeleted=void 0!==t.isRepositoryDeleted&&t.isRepositoryDeleted,this._model=t.model,this._temperature=t.temperature,this._topP=t.topP,this._seed=t.seed,this._instructions=t.instructions,this._assistantExtractionMethods=t.assistantExtractionMethods,this._additionalExtractionMethods=t.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class a{constructor(t){this._systemInstruction=t.systemInstruction,this._userInstruction=t.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}}class o{constructor(t){this._method=t.method,this._addMissingNamespaces=t.addMissingNamespaces,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance}get method(){return this._method}set method(t){this._method=t}get addMissingNamespaces(){return this._addMissingNamespaces}set addMissingNamespaces(t){this._addMissingNamespaces=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}}class h{constructor(t){this._additionalExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class d{constructor(t){this._method=t.method}get method(){return this._method}set method(t){this._method=t}}class l{constructor(t=[]){this._agents=t,this._filterableAgents=Object(i.cloneDeep)(t),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}_initializeAgentNameByIdMap(){this._agentNameByIdMap=this._agents.reduce((t,e)=>(t[e.id]=e.name,t),{})}isEmpty(){return 0===this._agents.length}filterByRepository(t){this._filterableAgents=this._agents.filter(e=>t===r.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0))}getAgent(t){return this._agents.find(e=>e.id===t)}get agents(){return this._agents}set agents(t){this._agents=t}get filterableAgents(){return this._filterableAgents}set filterableAgents(t){this._filterableAgents=t}get agentNameByIdMap(){return Object(i.cloneDeep)(this._agentNameByIdMap)}set agentNameByIdMap(t){this._agentNameByIdMap=t}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class _{constructor(t,e,s=!1){this._key=t,this._label=e,this._selected=s}get key(){return this._key}set key(t){this._key=t}get label(){return this._label}set label(t){this._label=t}get selected(){return this._selected}set selected(t){this._selected=t}}},240:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentFormModel",(function(){return n})),s.d(e,"ExtractionMethodsFormModel",(function(){return a})),s.d(e,"ExtractionMethodFormModel",(function(){return o})),s.d(e,"AdditionalExtractionMethodsFormModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodFormModel",(function(){return d})),s.d(e,"AgentInstructionsFormModel",(function(){return l}));var i=s(92),r=s(115);class n{constructor(t){this._id=t&&t.id,this._name=t&&t.name,this._repositoryId=t&&t.repositoryId,this._model=t&&t.model||"gpt-4o",this._temperature=t&&t.temperature||new i.NumericRangeModel({value:.7,minValue:0,maxValue:2,step:.1}),this._topP=t&&t.topP||new i.NumericRangeModel({value:1,minValue:0,maxValue:1,step:.1}),this._seed=t&&t.seed,this._instructions=t&&t.instructions,this._assistantExtractionMethods=t&&t.assistantExtractionMethods||this.getDefaultExtractionMethods(),this._additionalExtractionMethods=t&&t.additionalExtractionMethods||this.getDefaultAdditionalExtractionMethod()}getDefaultExtractionMethods(){const t=[];return t.push(new o({method:r.ExtractionMethod.SPARQL,ontologyGraph:"http://example.com/swgraph",sparqlQuery:new i.TextFieldModel({value:"select ?s ?p ?o where {?s ?p ?o .}",minLength:1,maxLength:2380}),selected:!1})),t.push(new o({method:r.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new o({method:r.ExtractionMethod.SIMILARITY,similarityIndex:null,similarityIndexThreshold:new i.NumericRangeModel({value:.6,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new o({method:r.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new i.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})),new a(t)}getDefaultAdditionalExtractionMethod(){const t=[];return t.push(new d({method:r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH})),new h(t)}toPayload(){return{id:this.id,name:this._name,repositoryId:this._repositoryId,model:this._model,temperature:this._temperature.value,topP:this._topP.value,seed:this._seed,assistantsInstructions:this._instructions.toPayload(),assistantExtractionMethods:this._assistantExtractionMethods.toPayload(),additionalExtractionMethods:this._additionalExtractionMethods.toPayload()}}hasExtractionMethodSelected(){return this._assistantExtractionMethods.extractionMethods.some(t=>t.selected)}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class a{constructor(t){this._extractionMethods=t}toPayload(){return this._extractionMethods.filter(t=>t.selected).map(t=>t.toPayload())}findExtractionMethodIndex(t){return this._extractionMethods.findIndex(e=>e.method===t)}setExtractionMethod(t){const e=this.findExtractionMethodIndex(t.method);-1!==e&&(this._extractionMethods[e]=t)}get extractionMethods(){return this._extractionMethods}set extractionMethods(t){this._extractionMethods=t}getExtractionMethod(t){return this._extractionMethods.find(e=>e.method===t)}getSimilarityExtractionMethod(){return this.getExtractionMethod(r.ExtractionMethod.SIMILARITY)}getRetrievalExtractionMethod(){return this.getExtractionMethod(r.ExtractionMethod.RETRIEVAL)}getFTSSearchExtractionMethod(){return this.getExtractionMethod(r.ExtractionMethod.FTS_SEARCH)}}class o{constructor(t){this._selected=t.selected||!1,this._method=t.method,this._sparqlOption=t.sparqlOption,this._addMissingNamespaces=t.addMissingNamespaces,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance,this._expanded=void 0!==t.expanded&&t.expanded}toggleCollapse(){this._expanded=!this._expanded}toPayload(){const t={};return t.method=this._method?this._method:null,"ontologyGraph"===this._sparqlOption?t.ontologyGraph=this._ontologyGraph?this._ontologyGraph:null:"sparqlQuery"===this._sparqlOption&&(t.sparqlQuery=this._sparqlQuery?this._sparqlQuery.value:null),this._method===r.ExtractionMethod.SPARQL&&void 0!==this._addMissingNamespaces&&(t.addMissingNamespaces=this._addMissingNamespaces),this._maxNumberOfTriplesPerCall&&(t.maxNumberOfTriplesPerCall=this._maxNumberOfTriplesPerCall),this._similarityIndex&&(t.similarityIndex=this._similarityIndex),this._similarityIndexThreshold&&this._similarityIndexThreshold.value&&(t.similarityIndexThreshold=parseFloat(this._similarityIndexThreshold.value)),this._queryTemplate&&this._queryTemplate.value&&(t.queryTemplate=this._queryTemplate.value),this._retrievalConnectorInstance&&(t.retrievalConnectorInstance=this._retrievalConnectorInstance),t}get selected(){return this._selected}set selected(t){this._selected=t}get method(){return this._method}set method(t){this._method=t}get sparqlOption(){return this._sparqlOption}set sparqlOption(t){this._sparqlOption=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get addMissingNamespaces(){return this._addMissingNamespaces}set addMissingNamespaces(t){this._addMissingNamespaces=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}get expanded(){return this._expanded}set expanded(t){this._expanded=t}}class h{constructor(t){this._additionalExtractionMethods=t}toPayload(){return this._additionalExtractionMethods.filter(t=>t.selected).map(t=>t.toPayload())}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class d{constructor(t){this._selected=t.selected||!1,this._method=t.method}toPayload(){return{method:this._method}}get selected(){return this._selected}set selected(t){this._selected=t}get method(){return this._method}set method(t){this._method=t}}class l{constructor(t){this._systemInstruction=t.systemInstruction,this._systemInstructionCopy=t.defaultSystemInstruction,this._userInstruction=t.userInstruction,this._userInstructionCopy=t.defaultUserInstruction}toPayload(){return{systemInstruction:this._systemInstruction,userInstruction:this._userInstruction}}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get systemInstructionCopy(){return this._systemInstructionCopy}set systemInstructionCopy(t){this._systemInstructionCopy=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}get userInstructionCopy(){return this._userInstructionCopy}set userInstructionCopy(t){this._userInstructionCopy=t}}},92:function(t,e,s){"use strict";s.r(e),s.d(e,"SelectMenuOptionsModel",(function(){return i})),s.d(e,"TextFieldModel",(function(){return r})),s.d(e,"NumericRangeModel",(function(){return n}));class i{constructor({label:t,value:e,selected:s=!1,data:i={}}){this._label=t,this._value=e,this._selected=s,this._data=i}get label(){return this._label}set label(t){this._label=t}get value(){return this._value}set value(t){this._value=t}get selected(){return this._selected}set selected(t){this._selected=t}get data(){return this._data}set data(t){this._data=t}}class r{constructor(t){this._value=t.value,this._minLength=t.minLength,this._maxLength=t.maxLength}get value(){return this._value}set value(t){this._value=t}get maxLength(){return this._maxLength}set maxLength(t){this._maxLength=t}get minLength(){return this._minLength}set minLength(t){this._minLength=t}}class n{constructor(t){this._value=t.value,this._minValue=t.minValue,this._maxValue=t.maxValue,this._step=t.step}get value(){return this._value}set value(t){this._value=t}get minValue(){return this._minValue}set minValue(t){this._minValue=t}get maxValue(){return this._maxValue}set maxValue(t){this._maxValue=t}get step(){return this._step}set step(t){this._step=t}}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[3,104,199,320],{106:function(t,e,s){"use strict";s.r(e),s.d(e,"TTYG_ERROR_MSG_LENGTH",(function(){return i})),s.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return r})),s.d(e,"AGENT_OPERATION",(function(){return n}));const i=100,r="ALL",n={CREATE:"create",EDIT:"edit",CLONE:"clone"}},115:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentModel",(function(){return n})),s.d(e,"AgentInstructionsModel",(function(){return a})),s.d(e,"ExtractionMethodModel",(function(){return o})),s.d(e,"AdditionalExtractionMethodsModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodModel",(function(){return d})),s.d(e,"AgentListModel",(function(){return l})),s.d(e,"ExtractionMethod",(function(){return u})),s.d(e,"AdditionalExtractionMethod",(function(){return c})),s.d(e,"AgentListFilterModel",(function(){return _}));var i=s(18),r=s(106);class n{constructor(t,e){this.hashGenerator=e,this._isDeleted=!1,this._id=t.id,this._name=t.name,this._repositoryId=t.repositoryId,this.isRepositoryDeleted=void 0!==t.isRepositoryDeleted&&t.isRepositoryDeleted,this._model=t.model,this._temperature=t.temperature,this._topP=t.topP,this._seed=t.seed,this._instructions=t.instructions,this._assistantExtractionMethods=t.assistantExtractionMethods,this._additionalExtractionMethods=t.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class a{constructor(t){this._systemInstruction=t.systemInstruction,this._userInstruction=t.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}}class o{constructor(t){this._method=t.method,this._addMissingNamespaces=t.addMissingNamespaces,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance}get method(){return this._method}set method(t){this._method=t}get addMissingNamespaces(){return this._addMissingNamespaces}set addMissingNamespaces(t){this._addMissingNamespaces=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}}class h{constructor(t){this._additionalExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class d{constructor(t){this._method=t.method}get method(){return this._method}set method(t){this._method=t}}class l{constructor(t=[]){this._agents=t,this._filterableAgents=Object(i.cloneDeep)(t),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}_initializeAgentNameByIdMap(){this._agentNameByIdMap=this._agents.reduce((t,e)=>(t[e.id]=e.name,t),{})}isEmpty(){return 0===this._agents.length}filterByRepository(t){this._filterableAgents=this._agents.filter(e=>t===r.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0))}getAgent(t){return this._agents.find(e=>e.id===t)}get agents(){return this._agents}set agents(t){this._agents=t}get filterableAgents(){return this._filterableAgents}set filterableAgents(t){this._filterableAgents=t}get agentNameByIdMap(){return Object(i.cloneDeep)(this._agentNameByIdMap)}set agentNameByIdMap(t){this._agentNameByIdMap=t}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class _{constructor(t,e,s=!1){this._key=t,this._label=e,this._selected=s}get key(){return this._key}set key(t){this._key=t}get label(){return this._label}set label(t){this._label=t}get selected(){return this._selected}set selected(t){this._selected=t}}},240:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentFormModel",(function(){return n})),s.d(e,"ExtractionMethodsFormModel",(function(){return a})),s.d(e,"ExtractionMethodFormModel",(function(){return o})),s.d(e,"AdditionalExtractionMethodsFormModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodFormModel",(function(){return d})),s.d(e,"AgentInstructionsFormModel",(function(){return l}));var i=s(92),r=s(115);class n{constructor(t){this._id=t&&t.id,this._name=t&&t.name,this._repositoryId=t&&t.repositoryId,this._model=t&&t.model||"gpt-4o",this._temperature=t&&t.temperature||new i.NumericRangeModel({value:.7,minValue:0,maxValue:2,step:.1}),this._topP=t&&t.topP||new i.NumericRangeModel({value:1,minValue:0,maxValue:1,step:.1}),this._seed=t&&t.seed,this._instructions=t&&t.instructions,this._assistantExtractionMethods=t&&t.assistantExtractionMethods||this.getDefaultExtractionMethods(),this._additionalExtractionMethods=t&&t.additionalExtractionMethods||this.getDefaultAdditionalExtractionMethod()}getDefaultExtractionMethods(){const t=[];return t.push(new o({method:r.ExtractionMethod.SPARQL,ontologyGraph:"http://example.com/swgraph",sparqlQuery:new i.TextFieldModel({value:"select ?s ?p ?o where {?s ?p ?o .}",minLength:1,maxLength:2380}),selected:!1})),t.push(new o({method:r.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new o({method:r.ExtractionMethod.SIMILARITY,similarityIndex:null,similarityIndexThreshold:new i.NumericRangeModel({value:.6,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new o({method:r.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new i.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})),new a(t)}getDefaultAdditionalExtractionMethod(){const t=[];return t.push(new d({method:r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH})),new h(t)}toPayload(){return{id:this.id,name:this._name,repositoryId:this._repositoryId,model:this._model,temperature:this._temperature.value,topP:this._topP.value,seed:this._seed,assistantsInstructions:this._instructions.toPayload(),assistantExtractionMethods:this._assistantExtractionMethods.toPayload(),additionalExtractionMethods:this._additionalExtractionMethods.toPayload()}}hasExtractionMethodSelected(){return this._assistantExtractionMethods.extractionMethods.some(t=>t.selected)}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class a{constructor(t){this._extractionMethods=t}toPayload(){return this._extractionMethods.filter(t=>t.selected).map(t=>t.toPayload())}findExtractionMethodIndex(t){return this._extractionMethods.findIndex(e=>e.method===t)}setExtractionMethod(t){const e=this.findExtractionMethodIndex(t.method);-1!==e&&(this._extractionMethods[e]=t)}get extractionMethods(){return this._extractionMethods}set extractionMethods(t){this._extractionMethods=t}getExtractionMethod(t){return this._extractionMethods.find(e=>e.method===t)}getSimilarityExtractionMethod(){return this.getExtractionMethod(r.ExtractionMethod.SIMILARITY)}getRetrievalExtractionMethod(){return this.getExtractionMethod(r.ExtractionMethod.RETRIEVAL)}getFTSSearchExtractionMethod(){return this.getExtractionMethod(r.ExtractionMethod.FTS_SEARCH)}}class o{constructor(t){this._selected=t.selected||!1,this._method=t.method,this._sparqlOption=t.sparqlOption,this._addMissingNamespaces=t.addMissingNamespaces,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance,this._expanded=void 0!==t.expanded&&t.expanded}toggleCollapse(){this._expanded=!this._expanded}toPayload(){const t={};return t.method=this._method?this._method:null,"ontologyGraph"===this._sparqlOption?t.ontologyGraph=this._ontologyGraph?this._ontologyGraph:null:"sparqlQuery"===this._sparqlOption&&(t.sparqlQuery=this._sparqlQuery?this._sparqlQuery.value:null),this._method===r.ExtractionMethod.SPARQL&&void 0!==this._addMissingNamespaces&&(t.addMissingNamespaces=this._addMissingNamespaces),this._maxNumberOfTriplesPerCall&&(t.maxNumberOfTriplesPerCall=this._maxNumberOfTriplesPerCall),this._similarityIndex&&(t.similarityIndex=this._similarityIndex),this._similarityIndexThreshold&&this._similarityIndexThreshold.value&&(t.similarityIndexThreshold=parseFloat(this._similarityIndexThreshold.value)),this._queryTemplate&&this._queryTemplate.value&&(t.queryTemplate=this._queryTemplate.value),this._retrievalConnectorInstance&&(t.retrievalConnectorInstance=this._retrievalConnectorInstance),t}get selected(){return this._selected}set selected(t){this._selected=t}get method(){return this._method}set method(t){this._method=t}get sparqlOption(){return this._sparqlOption}set sparqlOption(t){this._sparqlOption=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get addMissingNamespaces(){return this._addMissingNamespaces}set addMissingNamespaces(t){this._addMissingNamespaces=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}get expanded(){return this._expanded}set expanded(t){this._expanded=t}}class h{constructor(t){this._additionalExtractionMethods=t}toPayload(){return this._additionalExtractionMethods.filter(t=>t.selected).map(t=>t.toPayload())}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class d{constructor(t){this._selected=t.selected||!1,this._method=t.method}toPayload(){return{method:this._method}}get selected(){return this._selected}set selected(t){this._selected=t}get method(){return this._method}set method(t){this._method=t}}class l{constructor(t){this._systemInstruction=t.systemInstruction,this._systemInstructionCopy=t.defaultSystemInstruction,this._userInstruction=t.userInstruction,this._userInstructionCopy=t.defaultUserInstruction}toPayload(){return{systemInstruction:this._systemInstruction,userInstruction:this._userInstruction}}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get systemInstructionCopy(){return this._systemInstructionCopy}set systemInstructionCopy(t){this._systemInstructionCopy=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}get userInstructionCopy(){return this._userInstructionCopy}set userInstructionCopy(t){this._userInstructionCopy=t}}},92:function(t,e,s){"use strict";s.r(e),s.d(e,"SelectMenuOptionsModel",(function(){return i})),s.d(e,"TextFieldModel",(function(){return r})),s.d(e,"NumericRangeModel",(function(){return n}));class i{constructor({label:t,value:e,selected:s=!1,data:i={}}){this._label=t,this._value=e,this._selected=s,this._data=i}get label(){return this._label}set label(t){this._label=t}get value(){return this._value}set value(t){this._value=t}get selected(){return this._selected}set selected(t){this._selected=t}get data(){return this._data}set data(t){this._data=t}}class r{constructor(t){this._value=t.value,this._minLength=t.minLength,this._maxLength=t.maxLength}get value(){return this._value}set value(t){this._value=t}get maxLength(){return this._maxLength}set maxLength(t){this._maxLength=t}get minLength(){return this._minLength}set minLength(t){this._minLength=t}}class n{constructor(t){this._value=t.value,this._minValue=t.minValue,this._maxValue=t.maxValue,this._step=t.step}get value(){return this._value}set value(t){this._value=t}get minValue(){return this._minValue}set minValue(t){this._minValue=t}get maxValue(){return this._maxValue}set maxValue(t){this._maxValue=t}get step(){return this._step}set step(t){this._step=t}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[305],{309:function(n,r){angular.module("graphdb.framework.security.directives",[]).directive("customPrefixTagsInput",(function(){return{restrict:"A",link:function(n,r,t){const o=[];function s(n){return n.startsWith("CUSTOM_")||n.startsWith("!CUSTOM_")}const e="tags-input"===r[0].nodeName.toLowerCase();if(e&&t.ngModel){const i=r.controller("ngModel");e&&(i.$parsers.push((function(n){return Array.isArray(n)&&(i.$warning=n.some(n=>s(n))),n})),o.push(n.$watch(t.ngModel,(function(n){Array.isArray(n)&&(i.$warning=n.some(n=>s(n)))}),!0)))}o.push(n.$on("$destroy",()=>{o.forEach(n=>n())}))}}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[306],{395:function(e,t){PluginRegistry.add("route",[{url:"/users",module:"graphdb.framework.security",path:"security/app",chunk:"security",controller:"UsersCtrl",templateUrl:"js/angular/security/templates/users.html",title:"menu.users.and.access.label",helpInfo:"view.users.access.helpInfo",documentationUrl:"working-with-workbench.html#wbmenu-users-and-access"},{url:"/user/create",module:"graphdb.framework.security",path:"security/app",chunk:"security",controller:"AddUserCtrl",templateUrl:"js/angular/security/templates/user.html",title:"Create new user"},{url:"/login",module:"graphdb.framework.security",path:"security/app",chunk:"security",controller:"LoginCtrl",templateUrl:"pages/login.html",title:"view.login.title"},{url:"/user/:userId",module:"graphdb.framework.security",path:"security/app",chunk:"security",controller:"EditUserCtrl",templateUrl:"js/angular/security/templates/user.html",title:"Edit user"},{url:"/settings",module:"graphdb.framework.security",path:"security/app",chunk:"security",controller:"UserSettingsController",templateUrl:"js/angular/security/templates/user.html",title:"view.settings.title",documentationUrl:"customizing-workbench-behavior.html#user-settings"},{url:"/accessdenied",templateUrl:"pages/accessdenied.html",title:"view.access.denied.title"},{url:"/rolesmappings",module:"graphdb.framework.security",path:"security/app",chunk:"security",controller:"RolesMappingController",templateUrl:"js/angular/security/templates/roles.html",title:"view.roles.mapping.title"},{url:"/ux-test1",templateUrl:"pages/ux-test1.html",controller:"uxTestCtrl",title:"UX Test"},{url:"/ux-test2",templateUrl:"pages/ux-test2.html",controller:"uxTestCtrl",title:"UX Test"}]),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Users and Access",labelKey:"menu.users.and.access.label",href:"users",order:2,parent:"Setup",role:"ROLE_ADMIN",children:[{href:"user/create",children:[]}],guideSelector:"sub-menu-user-and-access"},{label:"My Settings",labelKey:"menu.my.settings.label",href:"settings",order:6,parent:"Setup",role:"ROLE_USER",guideSelector:"sub-menu-my-settings"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[307],{125:function(n,E,R){"use strict";R.r(E),R.d(E,"SYSTEM_REPO",(function(){return t})),R.d(E,"READ_REPO",(function(){return u})),R.d(E,"READ_REPO_PREFIX",(function(){return _})),R.d(E,"WRITE_REPO",(function(){return r})),R.d(E,"WRITE_REPO_PREFIX",(function(){return o}));const t="SYSTEM",u="READ_REPO",_="READ_REPO_",r="WRITE_REPO",o="WRITE_REPO_"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[308],{196:function(e,t,n){"use strict";n.r(t);n(9),n(42);function s(e,t,n,s,i){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,s.getStatistics().then((function(t){e.settings.statistics="true"===t.data,e.supportsStatistics=!0}),(function(n){if(404===n.status)e.supportsStatistics=!1;else{const e=getError(n.data);t.error(e,i.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,s.toggleStatistics(e.settings.statistics).then((function(){n.close(),t.success(i.instant("saving.settings.success"))}),(function(e){const n=getError(e.data);t.error(n,i.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){n.dismiss("cancel")}}function i(e,t,n,s,i,c,r,o){e.loadingLicense=function(){return n.loadingLicense()},n.checkLicenseStatus(),e.revertToFree=function(){c.openSimpleModal({title:r.instant("confirm.operation"),message:r.instant("revert.to.free.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus().then(()=>o.init())}))}))}}function c(e,t,n,s,i,c,r,o){e.$on("securityInit",(function(){r.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;const a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){"Invalid"!==n.licensee?(a.val(e),function(e,n){s.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=a.val());if(e){const n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){c.history.back()})).error((function(){i.error(o.instant("license.register.error"))}))}else i.error(o.instant("no.license.code.error"))}(n)}))}(n,e)):(a.val(""),i.error(n.message))})).error((function(){i.error(o.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){const n=e.currentFile;t.extractFromLicenseFile(n).success((function(e){l(e)})).error((function(){i.error(o.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){c.history.back()}}function r(e,t,n){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")},e.license=n}function o(e){e.loader=!0,e.setLoader=function(t){e.loader=t}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",s).controller("ValidateLicenseModalCtrl",r).controller("LicenseCtrl",i).controller("RegisterLicenseCtrl",c).controller("LoaderSamplesCtrl",o),s.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],i.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate","TrackingService"],c.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],r.$inject=["$scope","$uibModalInstance","license"],o.$inject=["$scope"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[309],{396:function(e,i){PluginRegistry.add("route",[{url:"/license/register",module:"graphdb.framework.settings",path:"settings/app",chunk:"settings",controller:"RegisterLicenseCtrl",templateUrl:"pages/registerLicenseInfo.html",title:"view.register.license.title",helpInfo:"view.register.license.helpInfo"},{url:"/license",module:"graphdb.framework.settings",path:"settings/app",chunk:"settings",controller:"LicenseCtrl",templateUrl:"pages/licenseInfo.html",title:"view.existing.license.title",helpInfo:"view.existing.license.helpInfo",documentationUrl:"working-with-workbench.html#wbmenu-license"}]),PluginRegistry.add("main.menu",{items:[{label:"License",labelKey:"menu.license.label",href:"license",order:100,role:"ROLE_ADMIN",parent:"Setup",guideSelector:"sub-menu-license"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[31,102,197,222,226,234,235,265,266,268,327,328],{100:function(e,t,n){"use strict";n.r(t),n.d(t,"removeSpecialChars",(function(){return o})),n.d(t,"toBoolean",(function(){return a})),n.d(t,"toTitleCase",(function(){return s}));var r=n(18);const o=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),s=e=>e?Object(r.upperFirst)(e.toLowerCase()):e},119:function(e,t,n){"use strict";n.r(t),n.d(t,"EventDataType",(function(){return r}));const r={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},128:function(e,t,n){"use strict";n.r(t),n.d(t,"RouteConstants",(function(){return r}));const r={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},129:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryType",(function(){return r}));const r={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},130:function(e,t,n){"use strict";n.r(t),n.d(t,"VIEW_SPARQL_EDITOR",(function(){return r}));const r="graphdb-workbench-sparql-editor"},141:function(e,t,n){"use strict";n.r(t),n.d(t,"TabQueryModel",(function(){return r}));class r{constructor(e,t,n,r=!0){this.queryName=e,this.query=t,this.owner=n,this.isPublic=r}}},149:function(e,t,n){"use strict";n.r(t),n.d(t,"buildQueryModel",(function(){return o})),n.d(t,"savedQueriesResponseMapper",(function(){return a})),n.d(t,"savedQueryResponseMapper",(function(){return s})),n.d(t,"queryPayloadFromEvent",(function(){return i}));var r=n(141);const o=(e,t,n,o)=>new r.TabQueryModel(t,e,n,o),a=e=>e&&e.data?e.data.map?e.data.map(e=>o(e.body,e.name,e.owner,e.shared)):[o(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],s=e=>{const t=a(e);return t.length?t[0]:null},i=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})},184:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorCommand",(function(){return r}));const r={CREATE:"create",REPAIR:"repair",DROP:"drop"}},191:function(e,t,n){"use strict";n.r(t),n.d(t,"BeforeUpdateQueryResult",(function(){return r})),n.d(t,"BeforeUpdateQueryResultStatus",(function(){return o}));class r{constructor(e,t,n,r){this.status=e,this.mesage=r,this.messageLabelKey=t,this.parameters=n}}const o={ERROR:"error",SUCCESS:"success"}},194:function(e,t,n){"use strict";n.r(t),n.d(t,"CancelAbortingQuery",(function(){return r}));class r extends Error{}},310:function(e,t,n){"use strict";n.r(t);var r=n(149),o=n(128),a=(n(99),n(208),n(19)),s=n(129),i=n(184),u=n(191),c=n(119),d=n(0),l=n(100),p=n(130),g=n(194),y=n(16);n(22);function m(e,t,n,m,E,f,C,R,S,h,v,A,b,q,Q,w,T,O){this.repository="";let U=C.getActiveRepository(),D=C.isActiveRepoOntopType();t.yasguiConfig=void 0,t.savedQueryConfig=void 0,t.prefixes={},t.inferUserSetting=!0,t.sameAsUserSetting=!0;const P=new Map;let _=!1;t.updateConfig=e=>{t.yasguiConfig={endpoint:L,componentId:p.VIEW_SPARQL_EDITOR,prefixes:t.prefixes,infer:D||t.inferUserSetting,sameAs:D||t.sameAsUserSetting,yasrToolbarPlugins:[F],beforeUpdateQuery:W(),outputHandlers:new Map([[c.EventDataType.QUERY_EXECUTED,N],[c.EventDataType.REQUEST_ABORTED,M]]),clearState:void 0!==e&&e}},t.getActiveRepositoryNoError=()=>U;const L=e=>{const t=(e=>{const t=e.getTab();if(t)return t.getYasqe()})(e);if(t)return C.resolveSparqlEndpoint(t.getQueryMode())},N=e=>{const t=P.get(e.tabId);t&&(t.dismiss(),P.delete(e.tabId))},M=e=>{if(e&&y.QueryMode.UPDATE!==e.queryMode){const t=e.getRepository(),n=e.getQueryTrackAlias();t&&n&&Q.deleteQuery(n,t)}},x=e=>{const t=e[o.RouteConstants.savedQueryName],n=e[o.RouteConstants.savedQueryOwner];v.getSavedQuery(t,n).then(e=>{const t=Object(r.savedQueryResponseMapper)(e);I(t).then($).finally(Y)}).catch(e=>{S.error(h.instant("query.editor.missing.saved.query.data.error",{savedQueryName:t,error:getError(e)}))})},B=e=>{const t=e[o.RouteConstants.name],n=e[o.RouteConstants.query],a=e[o.RouteConstants.owner],s=Object(r.buildQueryModel)(n,t,a,!0);I(s).then($).finally(Y)},I=e=>a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(t=>t.openTab(e)).then(e=>a.YasguiComponentDirectiveUtil.highlightTabName(e)),Y=()=>{_=!0,m.search({}),m.replace()},$=()=>Object(l.toBoolean)(m.search().execute)?a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(k).then(j):Promise.resolve(),k=e=>e.getQueryMode().then(t=>({yasguiComponent:e,queryMode:t})),j=({yasguiComponent:e,queryMode:t})=>"update"!==t?e.query():new Promise(t=>{const n=h.instant("confirm.execute"),r=Object(d.decodeHTML)(h.instant("query.editor.automatically.execute.update.warning"));q.openConfirmation(n,r,()=>t(e.query()),()=>t())}),F={createElement:e=>{const t=document.createElement("span");t.classList.add("explore-visual-graph-button-name");const n=document.createElement("button");return n.classList.add("explore-visual-graph-button"),n.classList.add("icon-data"),n.onclick=function(){const t={query:e.yasqe.getValue(),sameAs:e.yasqe.getSameAs(),inference:e.yasqe.getInfer()};m.path("graphs-visualizations").search(t)},n.appendChild(t),n},updateElement:(e,t)=>{if(e.classList.add("hidden"),!t.hasResults())return;const n=t.yasqe.getQueryType();s.QueryType.CONSTRUCT!==n&&s.QueryType.DESCRIBE!==n||e.classList.remove("hidden"),e.querySelector(".explore-visual-graph-button-name").innerText=h.instant("query.editor.visual.btn")},getOrder:()=>2},V=(e,t)=>({key:e,value:t}),H=e=>[V("name",e.data.name)],K=(e,n,r)=>{const o=t.$new(!0);o.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e,eta:"-",inline:!1,iri:n,name:r,doneCallback:function(){a.dismiss("cancel")}},o.getHumanReadableSeconds=t.getHumanReadableSeconds;const a=R.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:o});return a},W=()=>(e,t)=>A.checkConnector(e).then(e=>e.data.command?e.data.hasSupport?i.ConnectorCommand.CREATE===e.data.command?((e,t)=>{const n=K(h.instant("externalsync.creating"),e.data.iri,e.data.name);return P.set(t,n),new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS,"created.connector",H(e))})(e,t):i.ConnectorCommand.REPAIR===e.data.command?((e,t)=>{const n=K(h.instant("externalsync.repairing"),e.data.iri,e.data.name);return P.set(t,n),new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS,"query.editor.repaired.connector",H(e))})(e,t):i.ConnectorCommand.DROP===e.data.command?(e=>new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS,"externalsync.delete.success.msg",H(e)))(e):void 0:(e=>{const t=[V("connectorName",e.data.connectorName),V("pluginName",e.data.pluginName)];return new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.ERROR,"query.editor.inactive.plugin.warning.msg",t)})(e):new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS)).catch(e=>{console.log("Checking connector error: ",e)}),z=e=>{const n=document.querySelectorAll('script[src*="https://www.gstatic.com/"]');if(n.length>0){const e=E.getLanguage();let t="module.js";if("en"!==e&&(t=`module__${e}.js`),!Array.prototype.some.call(n,e=>e.src.includes(t)))return void location.reload()}Promise.all([f.getPrincipal(),C.getPrefixes(U)]).then(([n,r])=>{t.prefixes=r,(e=>{t.inferUserSetting=e.appSettings.DEFAULT_INFERENCE,t.sameAsUserSetting=e.appSettings.DEFAULT_SAMEAS})(n),((e=!1)=>{t.updateConfig(e);const n=m.search();n.hasOwnProperty(o.RouteConstants.savedQueryName)?x(n):n.hasOwnProperty(o.RouteConstants.query)?B(n):b.isActive()&&I()})(e)})},G=[],J=e=>{const t=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");t&&t.abortAllRequests().then(()=>{})};window.addEventListener("beforeunload",J);const X=e=>new Promise((t,n)=>{if(!e||e.queriesCount<1&&e.updatesCount<1)return void t();const r=h.instant("common.confirm"),o=Object(d.decodeHTML)((e=>{let t="view.sparql-editor.leave_page.run_queries.confirmation.";!e||e.queriesCount<1?t+="none_queries_":1===e.queriesCount?t+="one_query_":t+="queries_",e.updatesCount&&0!==e.updatesCount?1===e.updatesCount?t+="one_update":t+="updates":t+="non_updates",t+=".message";const n={queriesCount:e.queriesCount,updatesCount:e.updatesCount};return h.instant(t,n)})(e));q.openSimpleModal({title:r,message:o,warning:!0}).result.then((function(){t()}),(function(){n(new g.CancelAbortingQuery)}))});let Z=void 0;G.push(e.$on("$locationChangeStart",e=>{if(_)return void(_=!1);const t=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");if(!t||Z)return;e.preventDefault();const n=m.path(),r=m.search();t.getOngoingRequestsInfo().then(e=>X(e)).then(()=>t.abortAllRequests()).then(()=>{Z=!0,m.path(n).search(r)}).catch(e=>{if(!(e instanceof g.CancelAbortingQuery))throw e})}));const ee=()=>{T.set(O.SPARQL_LAST_REPO,U)};G.push(t.$on("language-changed",(function(){location.reload()}))),G.push(w.subscribe("before-language-change",(function(e){return new Promise(t=>{q.openSimpleModal({title:h.instant("query.editor.language.change.warning.title"),message:h.instant("query.editor.reload.page.warning"),warning:!0}).result.then((function(){t(e)}),(function(){e.cancel=!0,t(e)}))})}))),G.push(t.$on("$destroy",()=>{ee(),G.forEach(e=>e()),window.removeEventListener("beforeunload",J)})),G.push(t.$watch(t.getActiveRepositoryObject,e=>{e&&(U=C.getActiveRepository(),D=C.isActiveRepoOntopType(e),T.get(O.SPARQL_LAST_REPO)!==U?(z(!0),ee()):z(!1))}))}angular.module("graphdb.framework.sparql-editor.controllers",["ui.bootstrap","graphdb.framework.rest.connectors.service","graphdb.framework.externalsync.controllers","graphdb.framework.utils.event-emitter-service","graphdb.framework.utils.localstorageadapter"]).controller("SparqlEditorCtrl",m),m.$inject=["$rootScope","$scope","$q","$location","$languageService","$jwtAuth","$repositories","$uibModal","toastr","$translate","SparqlRestService","ConnectorsRestService","GuidesService","ModalService","MonitoringRestService","EventEmitterService","LocalStorageAdapter","LSKeys"]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[31,102,197,222,226,234,235,265,266,268,328,329],{100:function(e,t,n){"use strict";n.r(t),n.d(t,"removeSpecialChars",(function(){return o})),n.d(t,"toBoolean",(function(){return a})),n.d(t,"toTitleCase",(function(){return s}));var r=n(18);const o=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),s=e=>e?Object(r.upperFirst)(e.toLowerCase()):e},119:function(e,t,n){"use strict";n.r(t),n.d(t,"EventDataType",(function(){return r}));const r={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},128:function(e,t,n){"use strict";n.r(t),n.d(t,"RouteConstants",(function(){return r}));const r={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},129:function(e,t,n){"use strict";n.r(t),n.d(t,"QueryType",(function(){return r}));const r={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},130:function(e,t,n){"use strict";n.r(t),n.d(t,"VIEW_SPARQL_EDITOR",(function(){return r}));const r="graphdb-workbench-sparql-editor"},141:function(e,t,n){"use strict";n.r(t),n.d(t,"TabQueryModel",(function(){return r}));class r{constructor(e,t,n,r=!0){this.queryName=e,this.query=t,this.owner=n,this.isPublic=r}}},149:function(e,t,n){"use strict";n.r(t),n.d(t,"buildQueryModel",(function(){return o})),n.d(t,"savedQueriesResponseMapper",(function(){return a})),n.d(t,"savedQueryResponseMapper",(function(){return s})),n.d(t,"queryPayloadFromEvent",(function(){return i}));var r=n(141);const o=(e,t,n,o)=>new r.TabQueryModel(t,e,n,o),a=e=>e&&e.data?e.data.map?e.data.map(e=>o(e.body,e.name,e.owner,e.shared)):[o(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],s=e=>{const t=a(e);return t.length?t[0]:null},i=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})},183:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorCommand",(function(){return r}));const r={CREATE:"create",REPAIR:"repair",DROP:"drop"}},190:function(e,t,n){"use strict";n.r(t),n.d(t,"BeforeUpdateQueryResult",(function(){return r})),n.d(t,"BeforeUpdateQueryResultStatus",(function(){return o}));class r{constructor(e,t,n,r){this.status=e,this.mesage=r,this.messageLabelKey=t,this.parameters=n}}const o={ERROR:"error",SUCCESS:"success"}},193:function(e,t,n){"use strict";n.r(t),n.d(t,"CancelAbortingQuery",(function(){return r}));class r extends Error{}},311:function(e,t,n){"use strict";n.r(t);var r=n(149),o=n(128),a=(n(99),n(207),n(19)),s=n(129),i=n(183),u=n(190),c=n(119),d=n(0),l=n(100),p=n(130),g=n(193),y=n(16);n(22);function m(e,t,n,m,E,f,C,R,S,h,v,A,b,q,Q,w,T,O){this.repository="";let U=C.getActiveRepository(),D=C.isActiveRepoOntopType();t.yasguiConfig=void 0,t.savedQueryConfig=void 0,t.prefixes={},t.inferUserSetting=!0,t.sameAsUserSetting=!0;const P=new Map;let _=!1;t.updateConfig=e=>{t.yasguiConfig={endpoint:L,componentId:p.VIEW_SPARQL_EDITOR,prefixes:t.prefixes,infer:D||t.inferUserSetting,sameAs:D||t.sameAsUserSetting,yasrToolbarPlugins:[F],beforeUpdateQuery:W(),outputHandlers:new Map([[c.EventDataType.QUERY_EXECUTED,N],[c.EventDataType.REQUEST_ABORTED,M]]),clearState:void 0!==e&&e}},t.getActiveRepositoryNoError=()=>U;const L=e=>{const t=(e=>{const t=e.getTab();if(t)return t.getYasqe()})(e);if(t)return C.resolveSparqlEndpoint(t.getQueryMode())},N=e=>{const t=P.get(e.tabId);t&&(t.dismiss(),P.delete(e.tabId))},M=e=>{if(e&&y.QueryMode.UPDATE!==e.queryMode){const t=e.getRepository(),n=e.getQueryTrackAlias();t&&n&&Q.deleteQuery(n,t)}},x=e=>{const t=e[o.RouteConstants.savedQueryName],n=e[o.RouteConstants.savedQueryOwner];v.getSavedQuery(t,n).then(e=>{const t=Object(r.savedQueryResponseMapper)(e);I(t).then($).finally(Y)}).catch(e=>{S.error(h.instant("query.editor.missing.saved.query.data.error",{savedQueryName:t,error:getError(e)}))})},B=e=>{const t=e[o.RouteConstants.name],n=e[o.RouteConstants.query],a=e[o.RouteConstants.owner],s=Object(r.buildQueryModel)(n,t,a,!0);I(s).then($).finally(Y)},I=e=>a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(t=>t.openTab(e)).then(e=>a.YasguiComponentDirectiveUtil.highlightTabName(e)),Y=()=>{_=!0,m.search({}),m.replace()},$=()=>Object(l.toBoolean)(m.search().execute)?a.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor").then(k).then(j):Promise.resolve(),k=e=>e.getQueryMode().then(t=>({yasguiComponent:e,queryMode:t})),j=({yasguiComponent:e,queryMode:t})=>"update"!==t?e.query():new Promise(t=>{const n=h.instant("confirm.execute"),r=Object(d.decodeHTML)(h.instant("query.editor.automatically.execute.update.warning"));q.openConfirmation(n,r,()=>t(e.query()),()=>t())}),F={createElement:e=>{const t=document.createElement("span");t.classList.add("explore-visual-graph-button-name");const n=document.createElement("button");return n.classList.add("explore-visual-graph-button"),n.classList.add("icon-data"),n.onclick=function(){const t={query:e.yasqe.getValue(),sameAs:e.yasqe.getSameAs(),inference:e.yasqe.getInfer()};m.path("graphs-visualizations").search(t)},n.appendChild(t),n},updateElement:(e,t)=>{if(e.classList.add("hidden"),!t.hasResults())return;const n=t.yasqe.getQueryType();s.QueryType.CONSTRUCT!==n&&s.QueryType.DESCRIBE!==n||e.classList.remove("hidden"),e.querySelector(".explore-visual-graph-button-name").innerText=h.instant("query.editor.visual.btn")},getOrder:()=>2},V=(e,t)=>({key:e,value:t}),H=e=>[V("name",e.data.name)],K=(e,n,r)=>{const o=t.$new(!0);o.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e,eta:"-",inline:!1,iri:n,name:r,doneCallback:function(){a.dismiss("cancel")}},o.getHumanReadableSeconds=t.getHumanReadableSeconds;const a=R.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:o});return a},W=()=>(e,t)=>A.checkConnector(e).then(e=>e.data.command?e.data.hasSupport?i.ConnectorCommand.CREATE===e.data.command?((e,t)=>{const n=K(h.instant("externalsync.creating"),e.data.iri,e.data.name);return P.set(t,n),new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS,"created.connector",H(e))})(e,t):i.ConnectorCommand.REPAIR===e.data.command?((e,t)=>{const n=K(h.instant("externalsync.repairing"),e.data.iri,e.data.name);return P.set(t,n),new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS,"query.editor.repaired.connector",H(e))})(e,t):i.ConnectorCommand.DROP===e.data.command?(e=>new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS,"externalsync.delete.success.msg",H(e)))(e):void 0:(e=>{const t=[V("connectorName",e.data.connectorName),V("pluginName",e.data.pluginName)];return new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.ERROR,"query.editor.inactive.plugin.warning.msg",t)})(e):new u.BeforeUpdateQueryResult(u.BeforeUpdateQueryResultStatus.SUCCESS)).catch(e=>{console.log("Checking connector error: ",e)}),z=e=>{const n=document.querySelectorAll('script[src*="https://www.gstatic.com/"]');if(n.length>0){const e=E.getLanguage();let t="module.js";if("en"!==e&&(t=`module__${e}.js`),!Array.prototype.some.call(n,e=>e.src.includes(t)))return void location.reload()}Promise.all([f.getPrincipal(),C.getPrefixes(U)]).then(([n,r])=>{t.prefixes=r,(e=>{t.inferUserSetting=e.appSettings.DEFAULT_INFERENCE,t.sameAsUserSetting=e.appSettings.DEFAULT_SAMEAS})(n),((e=!1)=>{t.updateConfig(e);const n=m.search();n.hasOwnProperty(o.RouteConstants.savedQueryName)?x(n):n.hasOwnProperty(o.RouteConstants.query)?B(n):b.isActive()&&I()})(e)})},G=[],J=e=>{const t=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");t&&t.abortAllRequests().then(()=>{})};window.addEventListener("beforeunload",J);const X=e=>new Promise((t,n)=>{if(!e||e.queriesCount<1&&e.updatesCount<1)return void t();const r=h.instant("common.confirm"),o=Object(d.decodeHTML)((e=>{let t="view.sparql-editor.leave_page.run_queries.confirmation.";!e||e.queriesCount<1?t+="none_queries_":1===e.queriesCount?t+="one_query_":t+="queries_",e.updatesCount&&0!==e.updatesCount?1===e.updatesCount?t+="one_update":t+="updates":t+="non_updates",t+=".message";const n={queriesCount:e.queriesCount,updatesCount:e.updatesCount};return h.instant(t,n)})(e));q.openSimpleModal({title:r,message:o,warning:!0}).result.then((function(){t()}),(function(){n(new g.CancelAbortingQuery)}))});let Z=void 0;G.push(e.$on("$locationChangeStart",e=>{if(_)return void(_=!1);const t=a.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor");if(!t||Z)return;e.preventDefault();const n=m.path(),r=m.search();t.getOngoingRequestsInfo().then(e=>X(e)).then(()=>t.abortAllRequests()).then(()=>{Z=!0,m.path(n).search(r)}).catch(e=>{if(!(e instanceof g.CancelAbortingQuery))throw e})}));const ee=()=>{T.set(O.SPARQL_LAST_REPO,U)};G.push(t.$on("language-changed",(function(){location.reload()}))),G.push(w.subscribe("before-language-change",(function(e){return new Promise(t=>{q.openSimpleModal({title:h.instant("query.editor.language.change.warning.title"),message:h.instant("query.editor.reload.page.warning"),warning:!0}).result.then((function(){t(e)}),(function(){e.cancel=!0,t(e)}))})}))),G.push(t.$on("$destroy",()=>{ee(),G.forEach(e=>e()),window.removeEventListener("beforeunload",J)})),G.push(t.$watch(t.getActiveRepositoryObject,e=>{e&&(U=C.getActiveRepository(),D=C.isActiveRepoOntopType(e),T.get(O.SPARQL_LAST_REPO)!==U?(z(!0),ee()):z(!1))}))}angular.module("graphdb.framework.sparql-editor.controllers",["ui.bootstrap","graphdb.framework.rest.connectors.service","graphdb.framework.externalsync.controllers","graphdb.framework.utils.event-emitter-service","graphdb.framework.utils.localstorageadapter"]).controller("SparqlEditorCtrl",m),m.$inject=["$rootScope","$scope","$q","$location","$languageService","$jwtAuth","$repositories","$uibModal","toastr","$translate","SparqlRestService","ConnectorsRestService","GuidesService","ModalService","MonitoringRestService","EventEmitterService","LocalStorageAdapter","LSKeys"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[310],{398:function(i,e){PluginRegistry.add("route",[{url:"/similarity",module:"graphdb.framework.similarity",path:"similarity/app",chunk:"similarity",controller:"SimilarityCtrl",templateUrl:"pages/similarity-indexes.html",title:"view.similarity.indexes.title",helpInfo:"view.similarity.indexes.helpInfo",documentationUrl:"semantic-similarity-searches.html#text-based-similarity-searches"},{url:"/similarity/index/create",module:"graphdb.framework.similarity",path:"similarity/app",chunk:"similarity",controller:"CreateSimilarityIdxCtrl",templateUrl:"pages/create-index.html",title:"view.create.similarity.index.title",helpInfo:"view.create.similarity.index.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"sub-menu-setup"},{label:"Similarity",labelKey:"menu.similarity.label",href:"similarity",order:40,parent:"Explore",role:"IS_AUTHENTICATED_FULLY",children:[{href:"similarity/index/create",children:[]}],guideSelector:"sub-menu-similarity"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[311],{400:function(e,r){PluginRegistry.add("route",{url:"/sparql",module:"graphdb.framework.sparql-editor",path:"sparql-editor/app",chunk:"sparql",controller:"SparqlEditorCtrl",templateUrl:"pages/sparql-editor.html",title:"view.sparql-editor.title",helpInfo:"view.sparql-editor.helpInfo",reloadOnSearch:!1,documentationUrl:"sparql-queries.html"}),PluginRegistry.add("main.menu",{items:[{label:"SPARQL",labelKey:"menu.sparql.label",href:"sparql",order:2,role:"IS_AUTHENTICATED_FULLY",icon:"icon-sparql",guideSelector:"menu-sparql"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[312],{402:function(e,l){PluginRegistry.add("route",[{url:"/sparql-templates",module:"graphdb.framework.sparql-template",path:"sparql-template/app",chunk:"sparql-template",controller:"SparqlTemplatesCtrl",templateUrl:"pages/sparql-templates.html",title:"view.sparql.template.title",helpInfo:"view.sparql.template.helpInfo",documentationUrl:"updating-data.html#from-the-sparql-editor"},{url:"/sparql-template/create",module:"graphdb.framework.sparql-template",path:"sparql-template/app",chunk:"sparql-template",controller:"SparqlTemplateCreateCtrl",templateUrl:"pages/sparql-template-create.html",title:"view.create.sparql.template.title",helpInfo:"view.create.sparql.template.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"SPARQL Templates",labelKey:"menu.sparql.template.label",href:"sparql-templates",order:51,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-sparql-templates"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[313],{403:function(t,r,o){"use strict";o.r(r);o(9);angular.module("graphdb.framework.stats",["toastr"]).controller("AdminInfoCtrl",["$scope","$http","toastr","$timeout","$jwtAuth","$translate","AuthTokenService",function(t,r,o,e,n,s,c){r.get("rest/info/data").success((function(r){t.info=r})).error((function(t){const r=getError(t);o.error(r,s.instant("common.error"))})),t.getReportStatus=function(){r.get("rest/report/status").success((function(r){const o=r.split("|",3);t.status=o[0],t.timestamp=o[1],t.errorMessage=o[2],"IN_PROGRESS"===t.status&&e(t.getReportStatus,3e3)})).error((function(t){const r=getError(t);o.error(r,s.instant("common.error"))}))},t.getReportStatus(),t.getReport=function(){let t="rest/report";n.isAuthenticated()&&(t=t+"?authToken="+encodeURIComponent(c.getAuthToken())),window.open(t)},t.makeReport=function(){r.post("rest/report").success((function(){t.status="IN_PROGRESS",e(t.getReportStatus,2e3)})).error((function(t){const r=getError(t);o.error(r,s.instant("common.error"))}))}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[314],{404:function(e,t){PluginRegistry.add("route",[{url:"/sysinfo",module:"graphdb.framework.stats",path:"stats/app",chunk:"stats",controller:"AdminInfoCtrl",templateUrl:"pages/info.html",title:"view.system.information.title",helpInfo:"view.system.information.helpInfo",documentationUrl:"diagnosing-and-reporting-critical-errors.html#running-a-system-report"},{url:"/webapi",templateUrl:"pages/webapi.html",title:"view.rest.api.documentation.title",helpInfo:"view.rest.api.documentation.helpInfo",documentationUrl:"using-the-graphdb-rest-api.html"}]),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:7,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Help",labelKey:"menu.help.label",href:"#",order:8,icon:"icon-help",guideSelector:"menu-help"},{label:"System information",labelKey:"menu.system.information.label",href:"sysinfo",order:50,parent:"Help",role:"ROLE_ADMIN",guideSelector:"sub-menu-system-information"},{label:"REST API",labelKey:"menu.rest.api.label",href:"webapi",order:1,parent:"Help",guideSelector:"sub-menu-rest-api"},{label:"Documentation",labelKey:"menu.documentation.label",order:2,parent:"Help",icon:"icon-external",hrefFun:function(e,t){return t(e.productShortVersion,"index.html")},guideSelector:"sub-menu-documentation"},{label:"Tutorials",labelKey:"menu.tutorials.label",order:3,parent:"Help",icon:"icon-external",hrefFun:function(e,t){return t(e.productShortVersion,"tutorials.html")},guideSelector:"sub-menu-developer-hub"},{label:"Support",labelKey:"menu.support.label",order:4,parent:"Help",icon:"icon-external",hrefFun:function(e,t){return t(e.productShortVersion,"support.html")},guideSelector:"sub-menu-support"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[314],{404:function(e,n){(function(){angular.module("angularBootstrapNavTree",[]).directive("ngTree",["$timeout",function(e){return{restrict:"E",template:('<ul class="nav nav-list nav-pills nav-stacked ng-tree"><li ng-repeat="row in tree_rows | filter:{visible:true} track by row.branch.uid" ng-animate="\'ng-tree-animate\'" data-element-id="{{row.branch.id}}" data-element-label="{{row.branch.label}}" ng-class="\'level-\' + {{ row.level }} + (row.branch.selected ? \' active\':\'\')" class="ng-tree-row"><a ng-click="checkBoxClicked(row)"><div style=\'float:left; padding-top:3px;\'><i ng-if="row.branch.children.length>0" ng-class="row.tree_icon" ng-click="expandClose(row.branch); $event.stopPropagation()" class="indented tree-icon" style="vertical-align: 2px;"></i><i ng-if="row.branch.children.length<1" class="indented tree-icon ng-scope icon-plus glyphicon glyphicon-plus fa fa-plus" style="color:transparent;"></i><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level > 2 " class=\'indented bootstrap-checkbox\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-ok"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox\' data-checkbox-id="{{row.branch.id}}"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-ok"></i></span></div><div ng-if="row.branch.checkboxStatus ==\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label">{{ row.branch.id }} - {{ row.label }} </div><div ng-if="row.branch.checkboxStatus !=\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label selectedNode">{{ row.branch.id }} - {{ row.label }} </div></a></li></ul>','<ul class="nav nav-list nav-pills nav-stacked ng-tree"><li ng-repeat="row in tree_rows | filter:{visible:true} track by row.branch.uid" ng-animate="\'ng-tree-animate\'" data-element-id="{{row.branch.id}}" data-element-label="{{row.branch.label}}" ng-class="\'level-\' + {{ row.level }} + (row.branch.selected ? \' active\':\'\')" class="ng-tree-row"><a ng-click="checkBoxClicked(row)"><div style=\'float:left; padding-top:3px;\'><i ng-if="row.branch.children.length>0" ng-class="row.tree_icon" ng-click="expandClose(row.branch); $event.stopPropagation()" class="indented tree-icon" style="vertical-align: 2px;"></i><i ng-if="row.branch.children.length<1" class="indented tree-icon ng-scope icon-plus glyphicon glyphicon-plus fa fa-plus" style="color:transparent;"></i><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level > 2 " class=\'indented bootstrap-checkbox\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-ok"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox\' data-checkbox-id="{{row.branch.id}}"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-ok"></i></span></div><div ng-if="row.branch.checkboxStatus ==\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label">{{ row.branch.id }} - {{ row.label }} </div><div ng-if="row.branch.checkboxStatus !=\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label selectedNode">{{ row.branch.id }} - {{ row.label }} </div></a></li></ul>'),replace:!0,scope:{treeData:"=",onSelect:"&",initialSelection:"@",treeControl:"="},controller:function(e,n,t){e.expandClose=function(n){e.$parent.fetchChildData(n),n.expanded=!n.expanded},e.checkBoxClicked=function(n){"true"==n.branch.showCheckboxes&&n.level>2&&(e.$parent.fetchChildDataAll(n.branch),e.$parent.checkBoxClicked(n.branch))}},link:function(n,t,r){var c,l,a,o,i,s,d,h,u,b;if(function(e){console.log("ERROR:"+e)},null==r.iconExpand&&(r.iconExpand="icon-plus glyphicon glyphicon-plus fa fa-plus"),null==r.iconCollapse&&(r.iconCollapse="icon-minus glyphicon glyphicon-minus fa fa-minus"),null==r.iconLeaf&&(r.iconLeaf="icon-file glyphicon glyphicon-file fa fa-file"),null==r.expandLevel&&(r.expandLevel="3"),l=parseInt(r.expandLevel,1),n.treeData){if(null==n.treeData.length){if(null==treeData.label)return void alert("treeData should be an array of root branches");n.treeData=[treeData]}return o=function(e){var t,r,c,l,a,o;for(t=function(n,r){var c,l,a,o,i;if(e(n,r),null!=n.children){for(i=[],l=0,a=(o=n.children).length;l<a;l++)c=o[l],i.push(t(c,r+1));return i}},o=[],c=0,l=(a=n.treeData).length;c<l;c++)r=a[c],o.push(t(r,1));return o},u=null,h=function(t){if(!t)return null!=u&&(u.selected=!1),void(u=null);if(t!==u){if(null!=u&&(u.selected=!1),t.selected=!0,u=t,c(t),null!=t.onSelect)return e((function(){return t.onSelect(t)}));if(null!=n.onSelect)return e((function(){return n.onSelect({branch:t})}))}},n.user_clicks_branch=function(e){if(e!==u)return h(e)},i=function(e){var n;return n=void 0,e.parent_uid&&o((function(t){if(t.uid===e.parent_uid)return n=t})),n},a=function(e,n){var t;if(null!=(t=i(e)))return n(t),a(t,n)},c=function(e){return a(e,(function(e){return e.expanded=!0}))},n.tree_rows=[],d=function(){var e,t,c,l,a,i;for(o((function(e,n){if(!e.uid)return e.uid=""+Math.random()})),console.log("UIDs are set."),o((function(e){var n,t,r,c,l;if(angular.isArray(e.children)){for(l=[],t=0,r=(c=e.children).length;t<r;t++)n=c[t],l.push(n.parent_uid=e.uid);return l}})),n.tree_rows=[],o((function(e){var n,t;return e.children?e.children.length>0?(t=function(e){return"string"==typeof e?{label:e,children:[]}:e},e.children=function(){var r,c,l,a;for(a=[],r=0,c=(l=e.children).length;r<c;r++)n=l[r],a.push(t(n));return a}()):void 0:e.children=[]})),e=function(t,c,l){var a,o,i,s,d,h,u;if(null==c.expanded&&(c.expanded=!1),null!=c.checkboxStatus&&null!=c.checkboxStatus||(c.checkboxStatus=1),null!=c.fetched&&null!=c.fetched||(c.fetched=0),c.showCheckboxes=r.showCheckboxes,i=c.children&&0!==c.children.length?c.expanded?r.iconCollapse:r.iconExpand:r.iconLeaf,n.tree_rows.push({level:t,branch:c,label:c.label,tree_icon:i,visible:l}),null!=c.children){for(u=[],s=0,d=(h=c.children).length;s<d;s++)a=h[s],o=l&&c.expanded,u.push(e(t+1,a,o));return u}},i=[],c=0,l=(a=n.treeData).length;c<l;c++)t=a[c],i.push(e(1,t,!0));return i},n.$watch("treeData",d,!0),null!=r.initialSelection&&o((function(n){if(n.label===r.initialSelection)return e((function(){return h(n)}))})),s=n.treeData.length,console.log("num root branches = "+s),o((function(e,n){return e.level=n,e.expanded=e.level<l})),null!=n.treeControl&&angular.isObject(n.treeControl)?((b=n.treeControl).expand_all=function(){return o((function(e,n){return e.expanded=!0}))},b.collapse_all=function(){return o((function(e,n){return e.expanded=!1}))},b.get_first_branch=function(){if((s=n.treeData.length)>0)return n.treeData[0]},b.select_first_branch=function(){var e;return e=b.get_first_branch(),b.select_branch(e)},b.get_selected_branch=function(){return u},b.get_parent_branch=function(e){return i(e)},b.select_branch=function(e){return h(e),e},b.get_children=function(e){return e.children},b.select_parent_branch=function(e){var n;if(null==e&&(e=b.get_selected_branch()),null!=e&&null!=(n=b.get_parent_branch(e)))return b.select_branch(n),n},b.add_branch=function(e,t){return null!=e?(e.children.push(t),e.expanded=!0):n.treeData.push(t),t},b.add_root_branch=function(e){return b.add_branch(null,e),e},b.expand_branch=function(e){if(null==e&&(e=b.get_selected_branch()),null!=e)return e.expanded=!0,e},b.collapse_branch=function(e){if(null==e&&(e=u),null!=e)return e.expanded=!1,e},b.get_siblings=function(e){var t;if(null==e&&(e=u),null!=e)return(t=b.get_parent_branch(e))?t.children:n.treeData},b.get_next_sibling=function(e){var n,t;if(null==e&&(e=u),null!=e&&(t=b.get_siblings(e),s=t.length,(n=t.indexOf(e))<s))return t[n+1]},b.get_prev_sibling=function(e){var n,t;if(null==e&&(e=u),t=b.get_siblings(e),s=t.length,(n=t.indexOf(e))>0)return t[n-1]},b.select_next_sibling=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_next_sibling(e)))return b.select_branch(n)},b.select_prev_sibling=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_prev_sibling(e)))return b.select_branch(n)},b.get_first_child=function(e){var n;if(null==e&&(e=u),null!=e&&(null!=(n=e.children)?n.length:void 0)>0)return e.children[0]},b.get_closest_ancestor_next_sibling=function(e){var n,t;return null!=(n=b.get_next_sibling(e))?n:(t=b.get_parent_branch(e),b.get_closest_ancestor_next_sibling(t))},b.get_next_branch=function(e){var n;if(null==e&&(e=u),null!=e)return null!=(n=b.get_first_child(e))?n:n=b.get_closest_ancestor_next_sibling(e)},b.select_next_branch=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_next_branch(e)))return b.select_branch(n),n},b.last_descendant=function(e){var n;return 0===(s=e.children.length)?e:(n=e.children[s-1],b.last_descendant(n))},b.get_prev_branch=function(e){var n;if(null==e&&(e=u),null!=e)return null!=(n=b.get_prev_sibling(e))?b.last_descendant(n):b.get_parent_branch(e)},b.select_prev_branch=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_prev_branch(e)))return b.select_branch(n),n}):void 0}alert("no treeData defined for the tree!")}}}])}).call(this)}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[315],{405:function(e,n){(function(){angular.module("angularBootstrapNavTree",[]).directive("ngTree",["$timeout",function(e){return{restrict:"E",template:('<ul class="nav nav-list nav-pills nav-stacked ng-tree"><li ng-repeat="row in tree_rows | filter:{visible:true} track by row.branch.uid" ng-animate="\'ng-tree-animate\'" data-element-id="{{row.branch.id}}" data-element-label="{{row.branch.label}}" ng-class="\'level-\' + {{ row.level }} + (row.branch.selected ? \' active\':\'\')" class="ng-tree-row"><a ng-click="checkBoxClicked(row)"><div style=\'float:left; padding-top:3px;\'><i ng-if="row.branch.children.length>0" ng-class="row.tree_icon" ng-click="expandClose(row.branch); $event.stopPropagation()" class="indented tree-icon" style="vertical-align: 2px;"></i><i ng-if="row.branch.children.length<1" class="indented tree-icon ng-scope icon-plus glyphicon glyphicon-plus fa fa-plus" style="color:transparent;"></i><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level > 2 " class=\'indented bootstrap-checkbox\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-ok"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox\' data-checkbox-id="{{row.branch.id}}"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-ok"></i></span></div><div ng-if="row.branch.checkboxStatus ==\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label">{{ row.branch.id }} - {{ row.label }} </div><div ng-if="row.branch.checkboxStatus !=\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label selectedNode">{{ row.branch.id }} - {{ row.label }} </div></a></li></ul>','<ul class="nav nav-list nav-pills nav-stacked ng-tree"><li ng-repeat="row in tree_rows | filter:{visible:true} track by row.branch.uid" ng-animate="\'ng-tree-animate\'" data-element-id="{{row.branch.id}}" data-element-label="{{row.branch.label}}" ng-class="\'level-\' + {{ row.level }} + (row.branch.selected ? \' active\':\'\')" class="ng-tree-row"><a ng-click="checkBoxClicked(row)"><div style=\'float:left; padding-top:3px;\'><i ng-if="row.branch.children.length>0" ng-class="row.tree_icon" ng-click="expandClose(row.branch); $event.stopPropagation()" class="indented tree-icon" style="vertical-align: 2px;"></i><i ng-if="row.branch.children.length<1" class="indented tree-icon ng-scope icon-plus glyphicon glyphicon-plus fa fa-plus" style="color:transparent;"></i><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level > 2 " class=\'indented bootstrap-checkbox\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level > 2 " class=\'indented bootstrap-checkbox selectedNode\' data-checkbox-id="{{row.branch.id}}" ng-click="checkBoxClicked(row); $event.stopPropagation()"><i class="icon-ok"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'1\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox\' data-checkbox-id="{{row.branch.id}}"></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'2\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-stop"></i></span><span ng-if="row.branch.showCheckboxes==\'true\' && row.branch.checkboxStatus==\'3\' && row.level < 3 " class=\'indented bootstrap-checkbox disabledCheckBox selectedNode\' data-checkbox-id="{{row.branch.id}}"><i class="icon-ok"></i></span></div><div ng-if="row.branch.checkboxStatus ==\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label">{{ row.branch.id }} - {{ row.label }} </div><div ng-if="row.branch.checkboxStatus !=\'1\'" ng-class="\'div-level-\' + {{ row.level }}" class="indented tree-label selectedNode">{{ row.branch.id }} - {{ row.label }} </div></a></li></ul>'),replace:!0,scope:{treeData:"=",onSelect:"&",initialSelection:"@",treeControl:"="},controller:function(e,n,t){e.expandClose=function(n){e.$parent.fetchChildData(n),n.expanded=!n.expanded},e.checkBoxClicked=function(n){"true"==n.branch.showCheckboxes&&n.level>2&&(e.$parent.fetchChildDataAll(n.branch),e.$parent.checkBoxClicked(n.branch))}},link:function(n,t,r){var c,l,a,o,i,s,d,h,u,b;if(function(e){console.log("ERROR:"+e)},null==r.iconExpand&&(r.iconExpand="icon-plus glyphicon glyphicon-plus fa fa-plus"),null==r.iconCollapse&&(r.iconCollapse="icon-minus glyphicon glyphicon-minus fa fa-minus"),null==r.iconLeaf&&(r.iconLeaf="icon-file glyphicon glyphicon-file fa fa-file"),null==r.expandLevel&&(r.expandLevel="3"),l=parseInt(r.expandLevel,1),n.treeData){if(null==n.treeData.length){if(null==treeData.label)return void alert("treeData should be an array of root branches");n.treeData=[treeData]}return o=function(e){var t,r,c,l,a,o;for(t=function(n,r){var c,l,a,o,i;if(e(n,r),null!=n.children){for(i=[],l=0,a=(o=n.children).length;l<a;l++)c=o[l],i.push(t(c,r+1));return i}},o=[],c=0,l=(a=n.treeData).length;c<l;c++)r=a[c],o.push(t(r,1));return o},u=null,h=function(t){if(!t)return null!=u&&(u.selected=!1),void(u=null);if(t!==u){if(null!=u&&(u.selected=!1),t.selected=!0,u=t,c(t),null!=t.onSelect)return e((function(){return t.onSelect(t)}));if(null!=n.onSelect)return e((function(){return n.onSelect({branch:t})}))}},n.user_clicks_branch=function(e){if(e!==u)return h(e)},i=function(e){var n;return n=void 0,e.parent_uid&&o((function(t){if(t.uid===e.parent_uid)return n=t})),n},a=function(e,n){var t;if(null!=(t=i(e)))return n(t),a(t,n)},c=function(e){return a(e,(function(e){return e.expanded=!0}))},n.tree_rows=[],d=function(){var e,t,c,l,a,i;for(o((function(e,n){if(!e.uid)return e.uid=""+Math.random()})),console.log("UIDs are set."),o((function(e){var n,t,r,c,l;if(angular.isArray(e.children)){for(l=[],t=0,r=(c=e.children).length;t<r;t++)n=c[t],l.push(n.parent_uid=e.uid);return l}})),n.tree_rows=[],o((function(e){var n,t;return e.children?e.children.length>0?(t=function(e){return"string"==typeof e?{label:e,children:[]}:e},e.children=function(){var r,c,l,a;for(a=[],r=0,c=(l=e.children).length;r<c;r++)n=l[r],a.push(t(n));return a}()):void 0:e.children=[]})),e=function(t,c,l){var a,o,i,s,d,h,u;if(null==c.expanded&&(c.expanded=!1),null!=c.checkboxStatus&&null!=c.checkboxStatus||(c.checkboxStatus=1),null!=c.fetched&&null!=c.fetched||(c.fetched=0),c.showCheckboxes=r.showCheckboxes,i=c.children&&0!==c.children.length?c.expanded?r.iconCollapse:r.iconExpand:r.iconLeaf,n.tree_rows.push({level:t,branch:c,label:c.label,tree_icon:i,visible:l}),null!=c.children){for(u=[],s=0,d=(h=c.children).length;s<d;s++)a=h[s],o=l&&c.expanded,u.push(e(t+1,a,o));return u}},i=[],c=0,l=(a=n.treeData).length;c<l;c++)t=a[c],i.push(e(1,t,!0));return i},n.$watch("treeData",d,!0),null!=r.initialSelection&&o((function(n){if(n.label===r.initialSelection)return e((function(){return h(n)}))})),s=n.treeData.length,console.log("num root branches = "+s),o((function(e,n){return e.level=n,e.expanded=e.level<l})),null!=n.treeControl&&angular.isObject(n.treeControl)?((b=n.treeControl).expand_all=function(){return o((function(e,n){return e.expanded=!0}))},b.collapse_all=function(){return o((function(e,n){return e.expanded=!1}))},b.get_first_branch=function(){if((s=n.treeData.length)>0)return n.treeData[0]},b.select_first_branch=function(){var e;return e=b.get_first_branch(),b.select_branch(e)},b.get_selected_branch=function(){return u},b.get_parent_branch=function(e){return i(e)},b.select_branch=function(e){return h(e),e},b.get_children=function(e){return e.children},b.select_parent_branch=function(e){var n;if(null==e&&(e=b.get_selected_branch()),null!=e&&null!=(n=b.get_parent_branch(e)))return b.select_branch(n),n},b.add_branch=function(e,t){return null!=e?(e.children.push(t),e.expanded=!0):n.treeData.push(t),t},b.add_root_branch=function(e){return b.add_branch(null,e),e},b.expand_branch=function(e){if(null==e&&(e=b.get_selected_branch()),null!=e)return e.expanded=!0,e},b.collapse_branch=function(e){if(null==e&&(e=u),null!=e)return e.expanded=!1,e},b.get_siblings=function(e){var t;if(null==e&&(e=u),null!=e)return(t=b.get_parent_branch(e))?t.children:n.treeData},b.get_next_sibling=function(e){var n,t;if(null==e&&(e=u),null!=e&&(t=b.get_siblings(e),s=t.length,(n=t.indexOf(e))<s))return t[n+1]},b.get_prev_sibling=function(e){var n,t;if(null==e&&(e=u),t=b.get_siblings(e),s=t.length,(n=t.indexOf(e))>0)return t[n-1]},b.select_next_sibling=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_next_sibling(e)))return b.select_branch(n)},b.select_prev_sibling=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_prev_sibling(e)))return b.select_branch(n)},b.get_first_child=function(e){var n;if(null==e&&(e=u),null!=e&&(null!=(n=e.children)?n.length:void 0)>0)return e.children[0]},b.get_closest_ancestor_next_sibling=function(e){var n,t;return null!=(n=b.get_next_sibling(e))?n:(t=b.get_parent_branch(e),b.get_closest_ancestor_next_sibling(t))},b.get_next_branch=function(e){var n;if(null==e&&(e=u),null!=e)return null!=(n=b.get_first_child(e))?n:n=b.get_closest_ancestor_next_sibling(e)},b.select_next_branch=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_next_branch(e)))return b.select_branch(n),n},b.last_descendant=function(e){var n;return 0===(s=e.children.length)?e:(n=e.children[s-1],b.last_descendant(n))},b.get_prev_branch=function(e){var n;if(null==e&&(e=u),null!=e)return null!=(n=b.get_prev_sibling(e))?b.last_descendant(n):b.get_parent_branch(e)},b.select_prev_branch=function(e){var n;if(null==e&&(e=u),null!=e&&null!=(n=b.get_prev_branch(e)))return b.select_branch(n),n}):void 0}alert("no treeData defined for the tree!")}}}])}).call(this)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[316],{203:function(t,e){angular.module("graphdb.framework.ttyg.directives.show-tooltip-on-overflow",[]).directive("showTooltipOnOverflow",(function(){return{link:function(t,e){setTimeout((function(){const o=e[0].querySelector(".editable-text-element");o&&(o.scrollWidth>o.clientWidth?e.attr("title",t.chat.name):e.removeAttr("title"))}),0)}}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[317],{206:function(t,o,i){"use strict";i.r(o),i.d(o,"AgentSettingsModal",(function(){return s}));class s{constructor(t,o,i,s){this.activeRepositoryInfo=t,this.activeRepositoryList=o,this.agentFormModel=i,this.operation=s}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[318],{407:function(e,t){PluginRegistry.add("route",[{url:"/ttyg",templateUrl:"js/angular/ttyg/templates/ttyg.html",module:"graphdb.framework.ttyg",path:"ttyg/app",controller:"TTYGViewCtrl",title:"menu.ttyg.label",helpInfo:"ttyg.helpInfo",documentationUrl:"talk-to-graph.html"}]),PluginRegistry.add("main.menu",{items:[{label:"Lab",labelKey:"menu.lab.label",href:"#",order:6,role:"IS_AUTHENTICATED_FULLY",icon:"fa-regular fa-flask",guideSelector:"menu-lab"},{label:"Talk to Your Graph",labelKey:"menu.ttyg.label",href:"ttyg",order:20,role:"ROLE_USER",parent:"Lab",guideSelector:"sub-menu-ttyg"}]})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[319],{171:function(e,t,r){"use strict";r.r(t),r.d(t,"agentFormModelMapper",(function(){return d})),r.d(t,"agentListMapper",(function(){return m})),r.d(t,"agentModelMapper",(function(){return c}));var n=r(115),o=r(240),s=r(92),i=r(20),a=r(106);const d=(e,t,r)=>{if(!e)return;const n=new o.AgentFormModel;return n.id=e.id||t.id,n.name=e.name||t.name,n.repositoryId=e.repositoryId||t.repositoryId,n.model=e.model||t.model,n.temperature.value=void 0!==e.temperature?e.temperature:t.temperature,n.topP.value=void 0!==e.topP?e.topP:t.topP,n.seed=e.seed||t.seed,n.instructions=l(e.instructions,t.instructions),u(n,r,t.assistantExtractionMethods,e.assistantExtractionMethods),n.additionalExtractionMethods.additionalExtractionMethods.forEach(t=>{t.selected=e.additionalExtractionMethods&&e.additionalExtractionMethods.some(e=>e.method===t.method)}),n},l=(e,t)=>{if(!e&&!t)return;const r=e&&e.systemInstruction||t.systemInstruction,n=e&&e.userInstruction||t.userInstruction;return new o.AgentInstructionsFormModel({systemInstruction:r,userInstruction:n,defaultSystemInstruction:t.systemInstruction,defaultUserInstruction:t.userInstruction})},u=(e,t,r,n=[])=>{const i=r.filter(e=>!n.some(t=>t.method===e.method)),d=r.find(e=>"sparql_search"===e.method);[...n,...i].forEach(r=>{const i=n.some(e=>e.method===r.method);let l="";i&&"sparql_search"===r.method&&(a.AGENT_OPERATION.CREATE===t?l="":r.sparqlQuery?l="sparqlQuery":r.ontologyGraph&&(l="ontologyGraph"));const u=t===a.AGENT_OPERATION.EDIT||t===a.AGENT_OPERATION.CLONE,m=new o.ExtractionMethodFormModel({selected:u&&i,method:r.method,sparqlOption:l,ontologyGraph:r.ontologyGraph||d.ontologyGraph,addMissingNamespaces:r.addMissingNamespaces,sparqlQuery:new s.TextFieldModel({value:r.sparqlQuery||d.sparqlQuery,minLength:1,maxLength:2380}),similarityIndex:r.similarityIndex,similarityIndexThreshold:r.similarityIndexThreshold&&new s.NumericRangeModel({value:r.similarityIndexThreshold,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:0===r.maxNumberOfTriplesPerCall?null:r.maxNumberOfTriplesPerCall,queryTemplate:r.queryTemplate&&new s.TextFieldModel({value:r.queryTemplate,minLength:1,maxLength:2380}),retrievalConnectorInstance:r.retrievalConnectorInstance});e.assistantExtractionMethods.setExtractionMethod(m)})},m=(e,t)=>{if(!e)return new n.AgentListModel;const r=e.map(e=>c(e,t));return new n.AgentListModel(r)},c=(e,t)=>{if(!e)return;const r=Object(i.md5HashGenerator)();return new n.AgentModel({id:e.id,name:e.name,repositoryId:e.repositoryId,isRepositoryDeleted:!t.includes(e.repositoryId),model:e.model,temperature:e.temperature,topP:e.topP,seed:e.seed,instructions:M(e.instructions),assistantExtractionMethods:p(e.assistantExtractionMethods),additionalExtractionMethods:y(e.additionalExtractionMethods)},r)},p=e=>{if(e)return e.map(e=>h(e))},h=e=>{if(e)return new n.ExtractionMethodModel({method:e.method,ontologyGraph:e.ontologyGraph,addMissingNamespaces:e.addMissingNamespaces,sparqlQuery:e.sparqlQuery,similarityIndex:e.similarityIndex,similarityIndexThreshold:e.similarityIndexThreshold,maxNumberOfTriplesPerCall:e.maxNumberOfTriplesPerCall,queryTemplate:e.queryTemplate,retrievalConnectorInstance:e.retrievalConnectorInstance})},y=e=>{if(e)return e.map(e=>I(e))},I=e=>{if(e)return new n.AdditionalExtractionMethodModel({method:e.method})},M=e=>{if(e)return new n.AgentInstructionsModel({systemInstruction:e.systemInstruction,userInstruction:e.userInstruction})}}}]);
|