graphdb-workbench 2.8.0-TR7 → 2.8.0-TR9
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.17033c66aeb23fca884e.bundle.js → 0.93d87420a8f6f497a752.bundle.js} +3 -3
- package/dist/{1.29150bbf59b5d1fafddc.bundle.js → 1.1d48970931b02943cf4a.bundle.js} +1 -1
- package/dist/{94.1e7ecde60e2d3f60183a.bundle.js → 10.744322001f79eeeebc2f.bundle.js} +1 -1
- package/dist/{101.b0e306ca66e44fcad14e.bundle.js → 100.e29b5efe2fbc0bb7a5f4.bundle.js} +1 -1
- package/dist/{102.b41b973eb742ebf8793a.bundle.js → 101.fe24aecb4730a999e647.bundle.js} +1 -1
- package/dist/102.63518bce2a8c1c78fe7c.bundle.js +1 -0
- package/dist/103.7965a437228ca8030cf8.bundle.js +1 -0
- package/dist/{105.8816ac8c6c51246a49f0.bundle.js → 104.b780c6c0242f75eab14f.bundle.js} +1 -1
- package/dist/{106.73805d850c9782b0a7a9.bundle.js → 105.5dc23ad3a20b69b5c68a.bundle.js} +1 -1
- package/dist/{107.88386a7974627dc029ad.bundle.js → 106.10f1e7151b931d781873.bundle.js} +1 -1
- package/dist/{108.7bdde4c586cb204cb1ce.bundle.js → 107.cd7e922cc13ca484361c.bundle.js} +1 -1
- package/dist/{109.710d5fc362cdc683c2d1.bundle.js → 108.531a56a37c358c7eb716.bundle.js} +1 -1
- package/dist/{110.cb03c69ab38ef348312f.bundle.js → 109.219fe067efe2c5c13905.bundle.js} +1 -1
- package/dist/{10.905f45cdc55da0d6d037.bundle.js → 11.3cbcbb21d886fff027c5.bundle.js} +1 -1
- package/dist/{111.8ad8262002c130c552b4.bundle.js → 110.1d8dc2d3db4cc484364a.bundle.js} +1 -1
- package/dist/{112.d9447e597fb16459df2a.bundle.js → 111.7c5283968657e2ef686c.bundle.js} +1 -1
- package/dist/{113.3a043dd004c516930c1f.bundle.js → 112.bdc85f2a318f69194f55.bundle.js} +1 -1
- package/dist/{114.fafb631e322f84eda250.bundle.js → 113.62ca17b2447622176856.bundle.js} +1 -1
- package/dist/{115.7a4746a768e21bc30b0c.bundle.js → 114.52f802379ffc63f04bda.bundle.js} +1 -1
- package/dist/{116.64f2577e007285ff8ab6.bundle.js → 115.526878d1ad85ef966589.bundle.js} +1 -1
- package/dist/{117.a93df004cc92ebcd0bc5.bundle.js → 116.872724459e1ffba3355f.bundle.js} +1 -1
- package/dist/117.2254713ace6a2ee1b3e6.bundle.js +1 -0
- package/dist/{119.f3eec275231048bebb5e.bundle.js → 118.475538f514784a48c496.bundle.js} +1 -1
- package/dist/119.3e860b52440fb02b07b1.bundle.js +1 -0
- package/dist/{11.f01f4944c8616397cd88.bundle.js → 12.9d7774b721e218c0d1a8.bundle.js} +1 -1
- package/dist/120.d0a082faf2c1d48f3d39.bundle.js +1 -0
- package/dist/{122.7ae5772ed87ebceece77.bundle.js → 121.19e849dc6ee838e394b2.bundle.js} +1 -1
- package/dist/{123.3485894a0193b32f5e7b.bundle.js → 122.83bc9c335b278ed23f7e.bundle.js} +1 -1
- package/dist/{124.97aeee66a57f56feb6bc.bundle.js → 123.225acf6a6b6225a0bdc7.bundle.js} +1 -1
- package/dist/{125.0a9908e2c4a2300aa2fa.bundle.js → 124.22f485a993d2d5f0c3fe.bundle.js} +1 -1
- package/dist/{126.430cba927775872ce717.bundle.js → 125.a0120c9bbf263871f1f2.bundle.js} +1 -1
- package/dist/{127.7c07e0f8988261096d95.bundle.js → 126.6c6361f8a794c25f03c3.bundle.js} +1 -1
- package/dist/{128.f14d0d20df46052a2f45.bundle.js → 127.9695ad415ea407a5766d.bundle.js} +1 -1
- package/dist/{129.c8a342413ab9ee60afe6.bundle.js → 128.efaa3c64cc680871c101.bundle.js} +1 -1
- package/dist/{130.5669df488cab2d5bfb57.bundle.js → 129.6e076a0591f2535f20e7.bundle.js} +1 -1
- package/dist/{12.22b3d9c091f70762b9b8.bundle.js → 13.3ceee67e787b33ff65bd.bundle.js} +11 -11
- package/dist/{131.4b0d620e1bbc36bb77cf.bundle.js → 130.4d28f0d6454349513e3b.bundle.js} +1 -1
- package/dist/{132.9e2537c5481a3ce31c83.bundle.js → 131.1150f3770fcd7254facc.bundle.js} +1 -1
- package/dist/{133.dd578a3d4f68ddbff408.bundle.js → 132.5b35a91b7faf35ac5fc1.bundle.js} +1 -1
- package/dist/{134.4eb26569f823f521129d.bundle.js → 133.2527ae61d051ccc92449.bundle.js} +1 -1
- package/dist/{135.bb87f12d950bd0a2eab4.bundle.js → 134.c8d1a0beb2c4135bee49.bundle.js} +1 -1
- package/dist/{136.030443e8558007483b98.bundle.js → 135.2412e9ff08269c7629e4.bundle.js} +1 -1
- package/dist/{137.21b95b63a7149f665676.bundle.js → 136.dfc8598885e7413fddb2.bundle.js} +1 -1
- package/dist/{138.d8a94300ef0152802aa1.bundle.js → 137.27be842f789ab617b72a.bundle.js} +1 -1
- package/dist/{139.2277d7941d2756767afe.bundle.js → 138.3352262ff6ad4d8b1959.bundle.js} +1 -1
- package/dist/{140.377e41d4f69e7be52539.bundle.js → 139.e89c0ccc2363622ad4c7.bundle.js} +1 -1
- package/dist/{13.19350677a42a2e4056eb.bundle.js → 14.d3b8465c006f4a7ce30c.bundle.js} +1 -1
- package/dist/{141.dccab449e82a2eb2ca71.bundle.js → 140.0536e559a9baabc76030.bundle.js} +1 -1
- package/dist/{142.126f3ccf66e962f5d447.bundle.js → 141.dfd47bb9fcc11ac8a30b.bundle.js} +1 -1
- package/dist/{143.24d48564d2c9259a7f56.bundle.js → 142.1227bc64cacbe76f16d9.bundle.js} +1 -1
- package/dist/{144.d31b55a7bc8002f273cf.bundle.js → 143.5545959797ea89b40e59.bundle.js} +1 -1
- package/dist/{145.c6dca351bb16aa8995c1.bundle.js → 144.5b140731425a34cf125a.bundle.js} +1 -1
- package/dist/{146.fdf25932b805e91d1231.bundle.js → 145.28b77f4c246bdc8df93a.bundle.js} +1 -1
- package/dist/{147.ad5d72dc02875e605ba2.bundle.js → 146.6fef463bb43f86016d1e.bundle.js} +1 -1
- package/dist/{148.b53d6bb77c70251fae24.bundle.js → 147.815687d4dbe9b1b37b18.bundle.js} +1 -1
- package/dist/{149.4dfd61c551bedd36fed3.bundle.js → 148.b3b5fa19ce5fa37e87a3.bundle.js} +1 -1
- package/dist/{150.c5cad43e5942f6db4d60.bundle.js → 149.f0176599fd805fe1c9e3.bundle.js} +1 -1
- package/dist/{14.03b83ea9a70e19820024.bundle.js → 15.8766865adcae6bca8ef1.bundle.js} +1 -1
- package/dist/{151.1e246e7d0933d890aa5f.bundle.js → 150.6ee46dd0446cd91c5df5.bundle.js} +1 -1
- package/dist/{152.20728ee997ba3fd50820.bundle.js → 151.fdeaee5624ebd2eb1ff6.bundle.js} +1 -1
- package/dist/{153.405ab90f6b1657985282.bundle.js → 152.809817ae7b07996f0e13.bundle.js} +1 -1
- package/dist/{154.1ed3daa335e984ee2fa1.bundle.js → 153.f4af131f932f79445edf.bundle.js} +1 -1
- package/dist/{155.97e2ba75ccc44f968aab.bundle.js → 154.3b0d779ea269d2e0f964.bundle.js} +1 -1
- package/dist/{156.86bd9ec7032eab431fe9.bundle.js → 155.52205389c28320f9201f.bundle.js} +1 -1
- package/dist/{157.5cfec61b87316961899f.bundle.js → 156.c8b3277de77670d24eee.bundle.js} +1 -1
- package/dist/{158.48e462150f99041577ee.bundle.js → 157.261634b5278ba4c5eebf.bundle.js} +1 -1
- package/dist/{159.f441d44fbf035f5e050f.bundle.js → 158.ef35149a736ccb14c53a.bundle.js} +1 -1
- package/dist/{160.252fc673ecb38b45c1ec.bundle.js → 159.a43b2a42dc2a88c0b99f.bundle.js} +1 -1
- package/dist/{15.69cf1c99454b7be65e2a.bundle.js → 16.5c0032b87470da10a81f.bundle.js} +2 -2
- package/dist/{161.e08cea5345e56b91483f.bundle.js → 160.68a3c092234acef47e77.bundle.js} +1 -1
- package/dist/{162.9a15d1a0dec48061834f.bundle.js → 161.d1d70b8f86ea38c9ea5c.bundle.js} +1 -1
- package/dist/{163.624230dacf5e271b63ce.bundle.js → 162.d277865cf49b2368c9e2.bundle.js} +1 -1
- package/dist/{164.b39997770e4bd9d8122b.bundle.js → 163.f8f2a84efe4ecc4f954d.bundle.js} +1 -1
- package/dist/{165.a283189aa6e2b230972d.bundle.js → 164.a90934fa38d7275dfd80.bundle.js} +1 -1
- package/dist/{166.911dd9004fa39f787abd.bundle.js → 165.d1dba76f79111f728339.bundle.js} +1 -1
- package/dist/{167.a0b01060d88bf7cfab80.bundle.js → 166.87f1eaff82bc80cc4b2a.bundle.js} +1 -1
- package/dist/{168.b9718a26c4fee4d20865.bundle.js → 167.738f243edcf3972dd55f.bundle.js} +1 -1
- package/dist/{169.1a51864cbc242f4a6575.bundle.js → 168.ce724b818621b0bf69cc.bundle.js} +1 -1
- package/dist/{170.a3221cebb6034e55e826.bundle.js → 169.3194692379d22d85fe3f.bundle.js} +1 -1
- package/dist/{17.c649533b09899e07ef7c.bundle.js → 17.73a7e201cb4694d56da8.bundle.js} +1 -1
- package/dist/{171.5ee00ef41f7290da746a.bundle.js → 170.705370e83f0e3976dd91.bundle.js} +1 -1
- package/dist/{172.a8819461f5b869ff168a.bundle.js → 171.8f776b3339a02d4177f2.bundle.js} +1 -1
- package/dist/{173.7f46e43281c58fc4feeb.bundle.js → 172.c468ce9c646c173d5a7f.bundle.js} +1 -1
- package/dist/{174.0ef1d7ff3da555e03157.bundle.js → 173.50adf001265b609010d2.bundle.js} +1 -1
- package/dist/{175.01a373652a1cf359fabe.bundle.js → 174.1904d8d341c1771fd4e8.bundle.js} +1 -1
- package/dist/{176.b6486d218f2e834c3703.bundle.js → 175.2db920b9a065c1000a6b.bundle.js} +1 -1
- package/dist/{177.cede7689b6a865624755.bundle.js → 176.e707680bb419334004af.bundle.js} +1 -1
- package/dist/{178.ec12ef26f72b7712c8e4.bundle.js → 177.91c01025d11dbdbd9476.bundle.js} +1 -1
- package/dist/{179.9e9a7523d9b91636e29a.bundle.js → 178.187817c27b17d9360b0e.bundle.js} +1 -1
- package/dist/{180.a044d05728e6c15710dd.bundle.js → 179.01f66e46cf05d51a33a6.bundle.js} +1 -1
- package/dist/{18.a597232c0cfc94b72091.bundle.js → 18.90f671cf3c97c97e5b82.bundle.js} +1 -1
- package/dist/{181.69f0dc63dc03d38146ad.bundle.js → 180.ca0e5f5df0a4ad862df1.bundle.js} +1 -1
- package/dist/{182.d6209c36af41bcf8c11a.bundle.js → 181.82e19fa38f81c6b7df94.bundle.js} +1 -1
- package/dist/{183.25a2baad19e000850d56.bundle.js → 182.4ed09656d9dcc45924ee.bundle.js} +1 -1
- package/dist/{184.9ca5aa00dc5d923b7a6f.bundle.js → 183.11c9d0e4592a5c5a2c71.bundle.js} +1 -1
- package/dist/{185.c44cf6e76388c42fdd02.bundle.js → 184.28e2a335ff27978d5a2a.bundle.js} +1 -1
- package/dist/{186.b95ef6e94803b98a6811.bundle.js → 185.0d498f3347a0af3564e9.bundle.js} +1 -1
- package/dist/{187.3b98bab1a63af4e69d5e.bundle.js → 186.38671edb0ea386d34b6f.bundle.js} +1 -1
- package/dist/187.12693c3384e8c2c1fc65.bundle.js +1 -0
- package/dist/{188.3d4df3c6804536e196c0.bundle.js → 188.862160c1f5ebd87f09f7.bundle.js} +1 -1
- package/dist/{189.58559840e81404c86872.bundle.js → 189.70422e07b43dab5dbcb6.bundle.js} +1 -1
- package/dist/{19.d163f4e917e93906c3f7.bundle.js → 19.ba0c978148343715a79d.bundle.js} +1 -1
- package/dist/{190.ce79f63b38382c8f8823.bundle.js → 190.80daee3e34a56cf67f9b.bundle.js} +1 -1
- package/dist/{192.825910fa58b8680f662e.bundle.js → 192.9b3ce93032a62d0486e8.bundle.js} +1 -1
- package/dist/{193.851e28b04914f75a3797.bundle.js → 193.c50bf4da4b6e6eccd7a8.bundle.js} +1 -1
- package/dist/{194.94841cebeba3d87f2ec2.bundle.js → 194.510bceaaed6b6444c598.bundle.js} +1 -1
- package/dist/{195.cbddd873fac861d63a42.bundle.js → 195.b38c4f61b0af57e81c6b.bundle.js} +1 -1
- package/dist/{196.7a8dac9aa032be645b5a.bundle.js → 196.a1f2fcc36a9897095927.bundle.js} +1 -1
- package/dist/{197.18ec6e9fbe54d00f9330.bundle.js → 197.c3c4bb58e8dfde422a21.bundle.js} +1 -1
- package/dist/{198.1f1a595762a383d4c941.bundle.js → 198.7259b2dd4193106d5448.bundle.js} +1 -1
- package/dist/{199.9590877c48d18ab532a3.bundle.js → 199.fac7a8faeddb8eb056cf.bundle.js} +1 -1
- package/dist/2.5a1c3220c519d29070ff.bundle.js +2 -0
- package/dist/{20.495ad51bf077d13cde77.bundle.js → 20.a1bdd8399a6a51a601ae.bundle.js} +1 -1
- package/dist/{200.4ddd3f1e93ec39fd6f62.bundle.js → 200.12311f99b956ce538a9a.bundle.js} +1 -1
- package/dist/{201.a1043715883f8d69939a.bundle.js → 201.343f666a1864faac9b81.bundle.js} +1 -1
- package/dist/{202.6512cebdeac596190344.bundle.js → 202.19bb71680d959bb69cc7.bundle.js} +1 -1
- package/dist/203.58086d3f02b6be55a6fd.bundle.js +1 -0
- package/dist/{204.c0c3102cceb35b0e6a81.bundle.js → 204.650f7ec1f82a0abe854c.bundle.js} +1 -1
- package/dist/{205.90c582d354b191d2456c.bundle.js → 205.73d4316aba11f69685a0.bundle.js} +1 -1
- package/dist/{206.ba58d50cfb2e5b42691d.bundle.js → 206.87348349d08a30adfe92.bundle.js} +1 -1
- package/dist/207.b4e0ed1bb40e2bcf6cf4.bundle.js +1 -0
- package/dist/{208.fbe3aa845e9a80138633.bundle.js → 208.1cb310372fd5a6561b89.bundle.js} +1 -1
- package/dist/{209.6c342e2c7f175da8b3fa.bundle.js → 209.3363d93d2efb2258b90d.bundle.js} +1 -1
- package/dist/{21.f89b1c7fd901bcd46e3e.bundle.js → 21.8d3e63a2f5875dcfaca7.bundle.js} +2 -2
- package/dist/{210.7aa1fffdfd39ee23eb26.bundle.js → 210.e0c3298389d55519c46a.bundle.js} +1 -1
- package/dist/{211.abe765df9856e355ae40.bundle.js → 211.2f2086dc512733f834c9.bundle.js} +1 -1
- package/dist/212.024ad15951d8dd1a5785.bundle.js +1 -0
- package/dist/{213.9857071bdab447c3854c.bundle.js → 213.904b87fe88638fa860ae.bundle.js} +1 -1
- package/dist/{214.21680ec005ee47452db9.bundle.js → 214.94246e747ea0f27767d3.bundle.js} +1 -1
- package/dist/{215.951539c7e32d0d0f507d.bundle.js → 215.376ec9fbb7f020cba0c4.bundle.js} +1 -1
- package/dist/{216.78bb2efde96c59566598.bundle.js → 216.73685c47844fac21340c.bundle.js} +1 -1
- package/dist/{217.22ff329d08bd16d82601.bundle.js → 217.4acdfe41f8f508c401a4.bundle.js} +1 -1
- package/dist/{218.d8d591f6a96d476bef6a.bundle.js → 218.23d5c5b68f6bcde4572b.bundle.js} +1 -1
- package/dist/{219.7b2191a73e82d2e261e5.bundle.js → 219.09dc44d1ec255159788b.bundle.js} +1 -1
- package/dist/22.421d4099235c120e3bdf.bundle.js +2 -0
- package/dist/{220.b6265e9cedd894992463.bundle.js → 220.b38cadb9facafaff76c0.bundle.js} +1 -1
- package/dist/{221.50b8d034a4070c5c34da.bundle.js → 221.84e5d84098df0f0ade09.bundle.js} +1 -1
- package/dist/{223.ae2d6beaa0ac10fe0169.bundle.js → 223.2241b4a8460e45fe6cde.bundle.js} +1 -1
- package/dist/{224.7d8f33e11a13d92dfd7e.bundle.js → 224.d91d61ce4a050ebf5574.bundle.js} +1 -1
- package/dist/{225.8de9310277d5a3709340.bundle.js → 225.37e61008f9c558fbcb85.bundle.js} +1 -1
- package/dist/{226.3533ca0ef4e6f1bda6c6.bundle.js → 226.6f7e28882ff9b5ad7cfe.bundle.js} +1 -1
- package/dist/227.c66d9038f3dbf7f19446.bundle.js +1 -0
- package/dist/{228.0fd6c6c3ea06dbd1aa6f.bundle.js → 228.2dde53a417be761d8b08.bundle.js} +1 -1
- package/dist/229.b50655ee434e21efb86e.bundle.js +1 -0
- package/dist/23.bed6c1d218c005398a3f.bundle.js +2 -0
- package/dist/{230.db665000d058d259455d.bundle.js → 230.91d03e28517c7c97f0a3.bundle.js} +1 -1
- package/dist/{231.66489eca108f5cc8fe61.bundle.js → 231.07f8b07a6229b7efccf6.bundle.js} +1 -1
- package/dist/{232.ea757709dfe87bc3129f.bundle.js → 232.960b33cc7ef460f08872.bundle.js} +1 -1
- package/dist/{233.f13b6c708554b6dbd541.bundle.js → 233.e72cfb683e619f25968a.bundle.js} +1 -1
- package/dist/{234.e78d0faf2a585ff9239e.bundle.js → 234.6891f7482bb44454ac60.bundle.js} +1 -1
- package/dist/{235.afded1831f536a42922b.bundle.js → 235.7a5fc597d268171457c8.bundle.js} +1 -1
- package/dist/{236.57566d8932a25223aa9c.bundle.js → 236.542d9c5f42d67a030c7e.bundle.js} +1 -1
- package/dist/{237.399f3d86a51ecbadcd28.bundle.js → 237.fa38be2df8222e03a2ee.bundle.js} +1 -1
- package/dist/{238.41322463619064cb4677.bundle.js → 238.06a024edf2fb4cf05145.bundle.js} +1 -1
- package/dist/{239.7443c1df8125a6db288f.bundle.js → 239.e68127e932877e92e455.bundle.js} +1 -1
- package/dist/24.9586b091416fa3b62d76.bundle.js +2 -0
- package/dist/240.8537eba206b20c1f85b6.bundle.js +1 -0
- package/dist/241.118dca6897721042eb6a.bundle.js +1 -0
- package/dist/{244.666ee0ad097fedcc3f71.bundle.js → 244.42df15649bf6fbb6ae28.bundle.js} +1 -1
- package/dist/{245.4d9c6e9371bc7207ad79.bundle.js → 245.0d38643706328b1baed8.bundle.js} +1 -1
- package/dist/{246.84f30a1a8aef76212bed.bundle.js → 246.73d860fbadda4208c38f.bundle.js} +1 -1
- package/dist/{247.1d6d49c7a93d85c35d78.bundle.js → 247.8229753949301befe9d7.bundle.js} +1 -1
- package/dist/248.b16d2d06fefb398ef703.bundle.js +1 -0
- package/dist/{249.f29a824b27a86f9de70f.bundle.js → 249.0a068e835b94e2043bbf.bundle.js} +1 -1
- package/dist/{25.abd278f76ef52b295c00.bundle.js → 25.4283e906c915f232dd2f.bundle.js} +2 -2
- package/dist/250.2254d9c1c0e8a5beed71.bundle.js +1 -0
- package/dist/{251.a0d53214934b21e2ce0f.bundle.js → 251.20f348c03876fd5f35f4.bundle.js} +1 -1
- package/dist/{252.4cfbaec7165cc4e66abd.bundle.js → 252.f011e1d343e4a00c142c.bundle.js} +1 -1
- package/dist/{253.0a3170c88459e8916cfa.bundle.js → 253.49400a681a73c49477aa.bundle.js} +1 -1
- package/dist/254.dc60f2f2f4f144b671e4.bundle.js +1 -0
- package/dist/255.a324feec76f0b7246b0f.bundle.js +1 -0
- package/dist/{255.d8ac37b36b2048c7e7ba.bundle.js → 256.ab2a628ebde4359d0673.bundle.js} +1 -1
- package/dist/{256.15e6abca44d6d0bde659.bundle.js → 257.36b881ac4bcf848e28f6.bundle.js} +1 -1
- package/dist/{257.9b4769dc2f6800e714ee.bundle.js → 258.8321c950b90a8f15b0a6.bundle.js} +1 -1
- package/dist/{258.3c4190cbc2747bc2d90b.bundle.js → 259.b00cb1b126cf8d458c67.bundle.js} +1 -1
- package/dist/{26.3359ae67b9a56dea2834.bundle.js → 26.73c69a12be6239cf9566.bundle.js} +2 -2
- package/dist/{259.0d684b38ab51f70e6ec8.bundle.js → 260.d03fa5b869b733bea327.bundle.js} +1 -1
- package/dist/{260.cc2058dd799a308517c2.bundle.js → 261.67a700b678c8033328fe.bundle.js} +1 -1
- package/dist/{261.52340ebf7e6ae1530f54.bundle.js → 262.98b498dab7614d027278.bundle.js} +1 -1
- package/dist/{262.559740f8625b343180ab.bundle.js → 263.16a41a007b4a7e5ebb22.bundle.js} +1 -1
- package/dist/{263.1c74a5087d937261d9b9.bundle.js → 264.470339e4a94ddbb274d4.bundle.js} +1 -1
- package/dist/{264.0335b75ba785bdce7925.bundle.js → 265.990fa5974f1cf58a374b.bundle.js} +1 -1
- package/dist/{265.119b5eaf1b772d8efc9b.bundle.js → 266.5f39042b3bf4743d8edf.bundle.js} +1 -1
- package/dist/{266.c70f244bd7fce8fd510f.bundle.js → 267.9ce9c7bb96ffd9d671b9.bundle.js} +1 -1
- package/dist/{267.60093ea1e5832fad7bd2.bundle.js → 268.5589bbc57e2ebb420a1f.bundle.js} +1 -1
- package/dist/{268.fe719751a51ac05515e6.bundle.js → 269.288caed26aff5b00f6d9.bundle.js} +1 -1
- package/dist/27.b0d33a93fa7077e40ff6.bundle.js +1 -0
- package/dist/{269.7964b2651f9af8336425.bundle.js → 270.e9ffa72d075b6a58ce94.bundle.js} +1 -1
- package/dist/{270.b39a08f5e6caa8afabfd.bundle.js → 271.5e24cf3832610585483f.bundle.js} +1 -1
- package/dist/{271.4977b679240711dac093.bundle.js → 272.454bbf7ef91181f534c5.bundle.js} +1 -1
- package/dist/{272.c6661ade26046d0d730d.bundle.js → 273.9b038599a001d5ac1f31.bundle.js} +1 -1
- package/dist/{273.3253a10864bb303639c2.bundle.js → 274.a95f19ff813366a5ef87.bundle.js} +1 -1
- package/dist/{274.6b1bf227908b8a411b01.bundle.js → 275.364f5b07c2f8474949c0.bundle.js} +1 -1
- package/dist/{275.5553b20a309c0ed3834d.bundle.js → 276.8669778e0f02fbaf1359.bundle.js} +1 -1
- package/dist/277.d6bcae3d265394d526b3.bundle.js +1 -0
- package/dist/{277.b9faddb83cebd8068e44.bundle.js → 278.4b72240c92be90867667.bundle.js} +1 -1
- package/dist/{278.637a776d4c8eccd2567e.bundle.js → 279.30543bcc71ca936d4340.bundle.js} +1 -1
- package/dist/28.5d0ce77be09856232b24.bundle.js +1 -0
- package/dist/{279.9e822aa881c39fdaaae5.bundle.js → 280.d348199223ecf9cecd79.bundle.js} +1 -1
- package/dist/{280.e8991d710f04b11387c1.bundle.js → 281.8aece5d8599fff8d14ca.bundle.js} +1 -1
- package/dist/{281.a3c5727bf6052c98f3ea.bundle.js → 282.5d37a44da02faf0fb797.bundle.js} +1 -1
- package/dist/{282.85ca36c257f17f0bdf44.bundle.js → 283.b340a561c1afa4b3f297.bundle.js} +1 -1
- package/dist/{283.7eb4f1e452b2a11a5837.bundle.js → 284.cbb69a27e9bcded6ba2b.bundle.js} +1 -1
- package/dist/{284.5424bb03635a18a8383e.bundle.js → 285.b30a4a122f6c27de6103.bundle.js} +1 -1
- package/dist/286.f6c62a90e755adc06762.bundle.js +1 -0
- package/dist/{286.a91c42926ffb5bbc6a90.bundle.js → 287.8bb14bbe169e89e1b2b6.bundle.js} +1 -1
- package/dist/{287.ae06cf9aaee6b032069a.bundle.js → 288.9345bf900149ec91ab59.bundle.js} +1 -1
- package/dist/{288.05d24904748c476d62a9.bundle.js → 289.b2b24ddffb097ca701c0.bundle.js} +1 -1
- package/dist/29.c5ac5a3feca4eaa518a7.bundle.js +1 -0
- package/dist/290.2ea84ef2ad86f1c2d863.bundle.js +1 -0
- package/dist/{290.81ec0fc46a9b1a63e3cb.bundle.js → 291.4d040a1e236e406aa1de.bundle.js} +1 -1
- package/dist/{291.9b31bffdec6080d7f827.bundle.js → 292.2a9f08229b90a0427504.bundle.js} +1 -1
- package/dist/{293.42af60cb744e1cea919d.bundle.js → 293.df46d21552d860c45398.bundle.js} +1 -1
- package/dist/{294.bbb1f61f2b90412e89a8.bundle.js → 294.bdc65413d8e7bcfd697d.bundle.js} +1 -1
- package/dist/{295.156cc84de41691072c27.bundle.js → 295.a114ad1b8a636323e5d8.bundle.js} +1 -1
- package/dist/{296.3a58f545517390e2cb93.bundle.js → 296.707abfe8b4d18d3198e2.bundle.js} +1 -1
- package/dist/{297.59085f3d1e21e7d3279e.bundle.js → 297.b000b9d469a624b01215.bundle.js} +1 -1
- package/dist/{298.a5211568657e92330322.bundle.js → 298.9d114949fba6dddcc7b7.bundle.js} +1 -1
- package/dist/{299.afc55fab7c3e08555638.bundle.js → 299.79c639fcb1b54de984be.bundle.js} +1 -1
- package/dist/{3.cf0b0b46014854374503.bundle.js → 3.72e3071998a5aa3045f3.bundle.js} +2 -2
- package/dist/{29.5da4adab4fd5ab5ef381.bundle.js → 30.de7e273062d0657d01de.bundle.js} +1 -1
- package/dist/{300.6d5ab217a6e5ecc64cfd.bundle.js → 300.7afa3a8aa332b422aa1d.bundle.js} +1 -1
- package/dist/301.f91cc8bea08c5db19eff.bundle.js +1 -0
- package/dist/302.7445c9a4e8af056b8cc4.bundle.js +1 -0
- package/dist/{303.c23374f5c53c3fb3374f.bundle.js → 303.9fdacf8b8c443f7b8217.bundle.js} +1 -1
- package/dist/{304.9e2e4fdc58621b89e906.bundle.js → 304.602469b7a9fec89b3555.bundle.js} +1 -1
- package/dist/{305.cc497736ef239895f7a8.bundle.js → 305.7dd9df0bedade69bbd5e.bundle.js} +1 -1
- package/dist/{306.61ad2704abe59ff1c1d9.bundle.js → 306.e8f7a45e7fe6afa1a564.bundle.js} +1 -1
- package/dist/{307.e1f91853f7d3225a401b.bundle.js → 307.7f35f097388d622dd09c.bundle.js} +1 -1
- package/dist/{308.8a3bae3ccf9a4cef107b.bundle.js → 308.ac64f16ed6c9f65b08f1.bundle.js} +1 -1
- package/dist/{309.6dec52bafec9f71ff4ef.bundle.js → 309.2e406070cb5adf9c2a2e.bundle.js} +1 -1
- package/dist/{30.5dbdacec799a1d5899e1.bundle.js → 31.8b63905275172e3ce73c.bundle.js} +1 -1
- package/dist/{310.5a50eac8e86362858e1a.bundle.js → 310.4ed15bd416516b6086a3.bundle.js} +1 -1
- package/dist/{311.2d1763c7869099a9ad32.bundle.js → 311.c07b7d2776bd9b7204c6.bundle.js} +1 -1
- package/dist/317.539a83f222bfb863424b.bundle.js +1 -0
- package/dist/{318.08aab92ea443f0a92796.bundle.js → 318.50a10e61b351659669a1.bundle.js} +1 -1
- package/dist/{319.4dcbd28b058f3e52254a.bundle.js → 319.07b537f2e1fa45daae36.bundle.js} +1 -1
- package/dist/{31.6c24781b1c6a1bc09620.bundle.js → 32.a21378622614124fc023.bundle.js} +1 -1
- package/dist/{320.54338f1fdec71fd7606b.bundle.js → 320.87c72b25fd048e43fd12.bundle.js} +1 -1
- package/dist/{321.dbf82777fda297e7ebff.bundle.js → 321.af2e33bfd4a89e90a3b7.bundle.js} +1 -1
- package/dist/{322.1afd4883cb815d1db589.bundle.js → 322.178da090de958969ee95.bundle.js} +1 -1
- package/dist/{323.48745f5197cbad34dcd1.bundle.js → 323.88dfb6b03490c60b427e.bundle.js} +1 -1
- package/dist/{324.694c793a1368ee68bc1a.bundle.js → 324.cff9069709afaa207cbf.bundle.js} +1 -1
- package/dist/{325.b9d5b2ae32db55629804.bundle.js → 325.0cec7cb7809cfb51b811.bundle.js} +1 -1
- package/dist/{326.af50c7c9a5f79424f2bd.bundle.js → 326.1e041209f2856388aefb.bundle.js} +1 -1
- package/dist/{327.14d9de30dffbe6ae0ddf.bundle.js → 327.9aa83c9626391fdccd0a.bundle.js} +1 -1
- package/dist/{328.42bf02602eda2f8d24f7.bundle.js → 328.d3b9ec522db9ea2b40e7.bundle.js} +1 -1
- package/dist/{329.4f868bf04438e2202411.bundle.js → 329.76a8c31d1416ff070581.bundle.js} +1 -1
- package/dist/33.4d10c139640859c6facb.bundle.js +1 -0
- package/dist/{330.49319ca42744d502b6bc.bundle.js → 330.17d9fc7092fbb5376ad5.bundle.js} +1 -1
- package/dist/{331.88e3c718f0f984ae436e.bundle.js → 331.72550834ebd98825cff4.bundle.js} +1 -1
- package/dist/{332.ccbe9c0afeedc2449375.bundle.js → 332.baa17fb5d46d9f500d58.bundle.js} +1 -1
- package/dist/{333.84732f68ea4410ba45d5.bundle.js → 333.8473d9d0e59977006ec1.bundle.js} +1 -1
- package/dist/{334.e6246f52bf8626a289ff.bundle.js → 334.63e62f07e83fb55ee3ac.bundle.js} +1 -1
- package/dist/{335.74f6d75c36cb5c4ff551.bundle.js → 335.b455d0c1e91b7085684b.bundle.js} +1 -1
- package/dist/{336.2acee58eaebeb39a400b.bundle.js → 336.2593a403d137da998ab7.bundle.js} +1 -1
- package/dist/{337.baaaa5f371e99fad4b66.bundle.js → 337.207acb52f033fcbcc14e.bundle.js} +1 -1
- package/dist/{338.77b5dffeac30a6d689f2.bundle.js → 338.bd56ea9f343686e8ddfa.bundle.js} +1 -1
- package/dist/{339.3bc34bf95f8a26e78247.bundle.js → 339.808f22c90c9535d7d056.bundle.js} +1 -1
- package/dist/{33.4a99022cf80e5de69f51.bundle.js → 34.dfde4d36337fd5a7d51a.bundle.js} +1 -1
- package/dist/{340.a99af3ad199e5bf4741f.bundle.js → 340.427f24f1ff7800e051a6.bundle.js} +1 -1
- package/dist/{341.b693bf4622fe27cc06da.bundle.js → 341.7458c41fa14d5855fed9.bundle.js} +1 -1
- package/dist/{342.b27d3e5701aff441dd49.bundle.js → 342.baf0064845e5a02f2fa2.bundle.js} +1 -1
- package/dist/{343.7057667d0a9a2328d4f0.bundle.js → 343.9264ef42da1a81dc01e2.bundle.js} +1 -1
- package/dist/{344.fe53cb2325572fb8375b.bundle.js → 344.ea07eff4352299e91792.bundle.js} +1 -1
- package/dist/{345.94e0a1f3140aeafeb5b2.bundle.js → 345.c1f98fd181cfc058a674.bundle.js} +1 -1
- package/dist/{346.f163dcf6395693295baf.bundle.js → 346.e18d15a0d654f7020267.bundle.js} +1 -1
- package/dist/{347.3a69352f09fd02b5abd8.bundle.js → 347.5ae52ad022076cebc98b.bundle.js} +1 -1
- package/dist/{348.5322349d3337f66aebfb.bundle.js → 348.e384c1330c6c02a8cbce.bundle.js} +1 -1
- package/dist/{349.2ca05825fe0d1e33a656.bundle.js → 349.ffe280435cb5b4dbc32f.bundle.js} +1 -1
- package/dist/35.c2b997ef90bbf4667fcd.bundle.js +1 -0
- package/dist/{350.63aa2714216de96adc3b.bundle.js → 350.4fe2b334b61ab206a887.bundle.js} +1 -1
- package/dist/{351.5dcf50c4bddeb40fcde0.bundle.js → 351.238886e694cddbce7a5b.bundle.js} +1 -1
- package/dist/{352.bf47ae34820127030806.bundle.js → 352.bee54a3fd5eb57170ab5.bundle.js} +1 -1
- package/dist/{353.5329997affd2735d7f2c.bundle.js → 353.f2971cb75c24a461587e.bundle.js} +1 -1
- package/dist/{354.cef8c4623063a22ffeeb.bundle.js → 354.d6ecf14ab2e6a10c974f.bundle.js} +1 -1
- package/dist/{355.a90ed576141f7669e9c2.bundle.js → 355.980c02b324dad42b864e.bundle.js} +1 -1
- package/dist/{356.4862f1286ee075428540.bundle.js → 356.0c0cb87286734584dd0f.bundle.js} +1 -1
- package/dist/{357.dee21322dcb5be1aa374.bundle.js → 357.57fc6817eb60156ecff9.bundle.js} +1 -1
- package/dist/{358.80b381ccd20e93021857.bundle.js → 358.00fbdcb2fbcfa30eb71a.bundle.js} +1 -1
- package/dist/{359.96e71d2d8280919b52ba.bundle.js → 359.4aca3f259a23b5038ca5.bundle.js} +1 -1
- package/dist/36.9175ff19c49b4e32c6ce.bundle.js +1 -0
- package/dist/{360.eaba0f1386cdc15022c4.bundle.js → 360.0e250b26c1ab9613559a.bundle.js} +1 -1
- package/dist/{361.eb5f8f8ddcd38bc70299.bundle.js → 361.0d2df26c4f7cd4aa9736.bundle.js} +1 -1
- package/dist/{362.926fe39b40f34a6973ce.bundle.js → 362.34cc651b36ad9d19ca36.bundle.js} +1 -1
- package/dist/{363.31638034be48abd23ad4.bundle.js → 363.1d19f99bf6a7aaf28776.bundle.js} +1 -1
- package/dist/{364.c09818df038b810875dd.bundle.js → 364.5682c86fb09af3fdbb32.bundle.js} +1 -1
- package/dist/{365.3f47d1cb883e089f886f.bundle.js → 365.920400a2703b5ae19133.bundle.js} +1 -1
- package/dist/{366.fc6c89eb988af6722191.bundle.js → 366.9b618919ae47b957f3a3.bundle.js} +1 -1
- package/dist/{367.8347261fea44282d99d0.bundle.js → 367.6c5ee2773a79a50e226e.bundle.js} +1 -1
- package/dist/{368.717d5df5dba91d94c9ea.bundle.js → 368.bc2b4971ab9f3094004d.bundle.js} +1 -1
- package/dist/{369.ddccec1000d6e24ec537.bundle.js → 369.d60e61d8b761876b6a31.bundle.js} +1 -1
- package/dist/37.eb67d499239c4763932f.bundle.js +1 -0
- package/dist/{370.9d9f2d76afd7298109b2.bundle.js → 370.4fb6df487083484497fe.bundle.js} +1 -1
- package/dist/{371.4008ce1f62536c5a65d7.bundle.js → 371.b1d4d0c1890966e34395.bundle.js} +1 -1
- package/dist/{372.77d9bf19d86efdeb056d.bundle.js → 372.af48f00db28f03bc45bc.bundle.js} +1 -1
- package/dist/{373.ef700a372398c1d48dbd.bundle.js → 373.b3932d31b9ee77c20097.bundle.js} +1 -1
- package/dist/{374.d50abea669476f0f2c9c.bundle.js → 374.dd3c6e969a4e504826d0.bundle.js} +1 -1
- package/dist/{375.1a56604312cef8a17e2e.bundle.js → 375.ba9408df2ede9e451a2e.bundle.js} +1 -1
- package/dist/{376.a1dfeda23cc6dd505a4c.bundle.js → 376.f6b57ce0f97aabdc675c.bundle.js} +1 -1
- package/dist/{377.eef5fe51870dd8b93dcd.bundle.js → 377.bee6a6edc6750a23a3d3.bundle.js} +1 -1
- package/dist/378.612178aa3dae146a8871.bundle.js +1 -0
- package/dist/{379.92c6b05ed8e54fa9c12a.bundle.js → 379.a27466e91e0efd164ce0.bundle.js} +1 -1
- package/dist/{37.9af3535ede3039c39bcb.bundle.js → 38.9762682c14dd82db8f90.bundle.js} +1 -1
- package/dist/380.82c22d1d8a846226b974.bundle.js +1 -0
- package/dist/381.48f54c2f85df19f2aa85.bundle.js +1 -0
- package/dist/382.e0b470b574035bee27d4.bundle.js +1 -0
- package/dist/{383.b24679383a6bcfc3b8a5.bundle.js → 383.3e806a60df03bac9c821.bundle.js} +1 -1
- package/dist/{384.bd767075e1e2e44269ab.bundle.js → 384.18bd7d8fe60814e473c6.bundle.js} +1 -1
- package/dist/385.8580c2280d17a66f49c5.bundle.js +1 -0
- package/dist/{386.5f7f99365c96827da6c5.bundle.js → 386.1c032e92f5d20915527d.bundle.js} +1 -1
- package/dist/387.4db8d808a82bb7523f33.bundle.js +1 -0
- package/dist/388.f8aac673dc45a5445e93.bundle.js +1 -0
- package/dist/389.2b8ec720c6e833befc74.bundle.js +1 -0
- package/dist/{38.b9a466688b4419b44203.bundle.js → 39.cc2eab1715e30f1dad71.bundle.js} +1 -1
- package/dist/390.86edacf0ea98943071af.bundle.js +1 -0
- package/dist/{391.e41787c90e5971440ace.bundle.js → 391.6427098b78a42177c068.bundle.js} +1 -1
- package/dist/{392.d1e8244123690aa49c67.bundle.js → 392.8eaa08b34afb9d3c3792.bundle.js} +1 -1
- package/dist/{393.8c635bccb9f07e3d99ee.bundle.js → 393.e58b899fa345dee02ac6.bundle.js} +1 -1
- package/dist/{394.09ee1a79af516dac51f1.bundle.js → 394.ae0420fcabd869157187.bundle.js} +1 -1
- package/dist/4.7b26ae3c486b50349043.bundle.js +1 -0
- package/dist/{39.f6a1755e5e900a025a5d.bundle.js → 40.ac2205773eaafdbb3563.bundle.js} +1 -1
- package/dist/41.6cda4247c4e6cdb6542a.bundle.js +1 -0
- package/dist/{41.1ebaf44ca36bf8527737.bundle.js → 42.5820b0041a692de4eb8d.bundle.js} +1 -1
- package/dist/{42.853a8641bf50eef3de81.bundle.js → 43.afeb12fc559f12e973db.bundle.js} +1 -1
- package/dist/{43.aee21b9ba100c82e4659.bundle.js → 44.f0901e0abe43ea7a898e.bundle.js} +1 -1
- package/dist/45.27168510290727e3ecdb.bundle.js +1 -0
- package/dist/46.195e4e42ab64d2430ed5.bundle.js +1 -0
- package/dist/47.c85867c005fc8903a887.bundle.js +1 -0
- package/dist/{46.4037b933d2352c74b321.bundle.js → 48.d5ea8f391640308bbcd8.bundle.js} +1 -1
- package/dist/{47.d0999c0aceb29874efcd.bundle.js → 49.583b0583a80750253c19.bundle.js} +1 -1
- package/dist/{4.3947c4905934322d0dd6.bundle.js → 5.7b6b14d384cc99866f24.bundle.js} +1 -1
- package/dist/50.6ec1bafbdd1414e0002d.bundle.js +1 -0
- package/dist/{50.7b343a210ee52430eaf5.bundle.js → 51.bfd314f2bba3c733d2e7.bundle.js} +2 -2
- package/dist/{51.5b6a507f77f75d1776f5.bundle.js → 52.575b7f0607c0bd7d8f35.bundle.js} +1 -1
- package/dist/{52.c7c6adcfdbf568c04cec.bundle.js → 53.4a87b3dcd191cb319ecf.bundle.js} +1 -1
- package/dist/{54.627d2ce861c386668d79.bundle.js → 54.fce153121f81edaaf8c9.bundle.js} +1 -1
- package/dist/{55.f200a2b041ec38de45f8.bundle.js → 55.d8f0848f95d1dc1224d0.bundle.js} +1 -1
- package/dist/{56.f9fb6f613614fedf7419.bundle.js → 56.3d223ff6a7027aaf4222.bundle.js} +1 -1
- package/dist/{57.3106ad445383cc078ed5.bundle.js → 57.841a76b910f4aeb6d346.bundle.js} +1 -1
- package/dist/58.297babf6b2bff44c12d9.bundle.js +1 -0
- package/dist/{59.a0b621b536dde5e0aee1.bundle.js → 59.b110322dea862519c3da.bundle.js} +1 -1
- package/dist/6.357ec507621869997c53.bundle.js +1 -0
- package/dist/{60.b211600daa77ec578d04.bundle.js → 60.89030184a19b4a046323.bundle.js} +1 -1
- package/dist/61.36612101e6a37e466063.bundle.js +1 -0
- package/dist/62.4a16f37fba9dde1353ad.bundle.js +1 -0
- package/dist/{62.83025f5698e9ab6cf74c.bundle.js → 63.2f52b8251ea20e7114e4.bundle.js} +2 -2
- package/dist/{63.d6202aafe9264ec10635.bundle.js → 64.fc4b203d6801e8b2cb03.bundle.js} +1 -1
- package/dist/{64.53c25608190731785d98.bundle.js → 65.bd90f480aaac8ab6a62d.bundle.js} +1 -1
- package/dist/{65.5098747b80c908d72cd2.bundle.js → 66.a0165643326bf0fd6e45.bundle.js} +1 -1
- package/dist/{66.d70db6a6e916c4af7ce1.bundle.js → 67.d8ecb3b1cd08f4014bfb.bundle.js} +1 -1
- package/dist/68.aff4a20f5bc96a1419ee.bundle.js +1 -0
- package/dist/{68.0a3fdb3e609d907f44e9.bundle.js → 69.5a4556693688fa5e26e0.bundle.js} +1 -1
- package/dist/{6.1cf03f9d61c21f7132b8.bundle.js → 7.678a56ac42543ff54f0f.bundle.js} +1 -1
- package/dist/{69.98e1f9152bd7460f8681.bundle.js → 70.a0f8034299faa2f6ab75.bundle.js} +1 -1
- package/dist/{70.c86b58c81aca3aab2e14.bundle.js → 71.cbb57dfb91a6a2e106af.bundle.js} +1 -1
- package/dist/72.24a71af9fe0d66223c95.bundle.js +1 -0
- package/dist/{73.46c7caba568524cb6b02.bundle.js → 73.0401dbcda81badc90b10.bundle.js} +1 -1
- package/dist/{74.a5a855f086cd9ad246ca.bundle.js → 74.4e59c7982d0dad1714e7.bundle.js} +1 -1
- package/dist/{75.6c757ea5de288b4d6355.bundle.js → 75.55b2254ad7d4ceed8959.bundle.js} +1 -1
- package/dist/76.ed7b48a3cc473945ccba.bundle.js +1 -0
- package/dist/{78.13f99689064113df72fd.bundle.js → 77.f74d7b9c7522c9427b39.bundle.js} +1 -1
- package/dist/{79.d8e3194dbe33117c6ddd.bundle.js → 78.0516889e88c7a0af33bb.bundle.js} +1 -1
- package/dist/{80.20ce76f814d95859f7f9.bundle.js → 79.58c2a93aae41ce74fab8.bundle.js} +1 -1
- package/dist/8.81d8b3bb065afeb08360.bundle.js +1 -0
- package/dist/{81.fe3fabcc9e92b7f54afc.bundle.js → 80.5e8dae199ab50de40921.bundle.js} +1 -1
- package/dist/{82.bb3bcbd64eafa8c7f146.bundle.js → 81.ffdf6bc5232d8a241ad6.bundle.js} +1 -1
- package/dist/{83.f5eef86a90060f5492cf.bundle.js → 82.9eb734602aec23f83632.bundle.js} +1 -1
- package/dist/{84.df0f15851d18899b1e26.bundle.js → 83.725028846ee253436a03.bundle.js} +1 -1
- package/dist/{85.98bc298f8f2db0961040.bundle.js → 84.032d2e2a4130d57bdb8b.bundle.js} +1 -1
- package/dist/{86.7dc19a7c50d26ce3488c.bundle.js → 85.eedc74a4c0c7e98a5e30.bundle.js} +1 -1
- package/dist/{87.78837e5bbf94ca603123.bundle.js → 86.c85fcd75cbecaef0e936.bundle.js} +1 -1
- package/dist/{88.41f228ffb8b2aff84f40.bundle.js → 87.59863379688b54dccfaa.bundle.js} +1 -1
- package/dist/{89.f5ed6d5a13863b85c61e.bundle.js → 88.4ef4cce091ae21c6140d.bundle.js} +1 -1
- package/dist/{90.d9a12123b9c85e1e95de.bundle.js → 89.6820e4fc3caf6707d43c.bundle.js} +1 -1
- package/dist/{9.4edcc360bed3b19e4101.bundle.js → 9.1a9f6211a9f06c9ba0df.bundle.js} +1 -1
- package/dist/{91.d6e858f7b860defbfa3d.bundle.js → 90.ae10f084b83fd0fd29b4.bundle.js} +1 -1
- package/dist/91.b845def1c3068aa07148.bundle.js +1 -0
- package/dist/{93.05941c5e5e313a8397e7.bundle.js → 92.4d8f669441b95a34ec48.bundle.js} +1 -1
- package/dist/93.b42cb51b73c930deebfd.bundle.js +1 -0
- package/dist/{95.de6d40e105844c92cf94.bundle.js → 94.00cbe462754df578a9ca.bundle.js} +1 -1
- package/dist/{96.c6529d9eefcd1332fd44.bundle.js → 95.2a9f51caabb7640acbc9.bundle.js} +1 -1
- package/dist/{97.80d912c2e7b40637cbbb.bundle.js → 96.eb73b3aec448bb3e44bc.bundle.js} +1 -1
- package/dist/{98.ccd1fdedf27c0ab11554.bundle.js → 97.52921d26adcb097f4fa9.bundle.js} +1 -1
- package/dist/{99.a5aae6d30f0e9599057c.bundle.js → 98.e7ce23f2e26626e8e422.bundle.js} +1 -1
- package/dist/99.ea41a6b2ea895615b2fb.bundle.js +1 -0
- package/dist/{bundle.94aa42423c344044b857.bundle.js → bundle.a50b4410f74f90e68cca.bundle.js} +20 -20
- package/dist/css/common.css +10 -0
- package/dist/css/ttyg/agent-list.css +7 -1
- package/dist/css/ttyg/agent-settings-modal.css +58 -25
- package/dist/css/ttyg/chat-item-details.css +10 -4
- package/dist/css/ttyg/chat-list.css +12 -2
- package/dist/css/ttyg/chat-panel.css +9 -2
- package/dist/i18n/locale-en.json +110 -26
- package/dist/i18n/locale-fr.json +106 -26
- package/dist/index.html +4 -4
- 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/modal/modal-simple.html +1 -1
- package/dist/js/angular/import/templates/import-resource-status-info.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +2 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +66 -52
- package/dist/js/angular/ttyg/templates/chat-list.html +39 -33
- package/dist/js/angular/ttyg/templates/chat-panel.html +27 -9
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +164 -68
- package/dist/js/angular/ttyg/templates/no-agents-view.html +2 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +17 -20
- package/dist/license-checker.json +4 -4
- package/dist/{main.2782caff706571370192.bundle.js → main.014ea04a26eb617c4024.bundle.js} +1 -1
- package/dist/main.da1e35265d3539b9c0e3.css +1 -0
- package/dist/pages/aclmanagement.html +2 -2
- 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 +1 -1
- 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.9f67279dd80d1071eccb.bundle.js → polyfills-dom.22135bdcc72573088982.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.d7f9f8332a094bec999e.bundle.js → vendor.8ea54fa36da2ce4394ca.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.2a794b50dc6dee332409.bundle.js → vendors~polyfills-core-js.c4633b3e70914563160a.bundle.js} +1 -1
- package/package.json +2 -2
- package/dist/100.35eadd7be019355a0972.bundle.js +0 -1
- package/dist/103.e2c59ce2066db3416690.bundle.js +0 -1
- package/dist/104.e7fa533938cdd62e6f90.bundle.js +0 -1
- package/dist/118.29b5f9738b3e76f28f4c.bundle.js +0 -1
- package/dist/120.71016b6c037f6ba181e5.bundle.js +0 -1
- package/dist/121.2d334b14dd270c367208.bundle.js +0 -1
- package/dist/16.766c804b4b674a0ef6a2.bundle.js +0 -1
- package/dist/2.2d8bdd5a3e02bc87c1e7.bundle.js +0 -2
- package/dist/203.2ef0f180f55fc0c2fee2.bundle.js +0 -1
- package/dist/207.f8b91d382b5009a4627e.bundle.js +0 -1
- package/dist/212.01e5110cf83ca17016de.bundle.js +0 -1
- package/dist/22.853378d632f7904ac443.bundle.js +0 -2
- package/dist/227.761da4c3717f0b181454.bundle.js +0 -1
- package/dist/229.0f942376bec0b11a56a9.bundle.js +0 -1
- package/dist/23.c2659a07e950ca9d25a7.bundle.js +0 -2
- package/dist/24.c01ac846a566c49fa3f1.bundle.js +0 -2
- package/dist/240.8595ffe28a047352eba7.bundle.js +0 -1
- package/dist/241.f233f6f83f09708b1ec4.bundle.js +0 -1
- package/dist/248.88f7044c8e44f4ab03c9.bundle.js +0 -1
- package/dist/250.f0aa7bd87cca3dda47bc.bundle.js +0 -1
- package/dist/254.9b384f947f255afb1232.bundle.js +0 -1
- package/dist/27.690c9ef7f17263ffe2c5.bundle.js +0 -1
- package/dist/276.d405ac4598ff441b4fa5.bundle.js +0 -1
- package/dist/28.740e00ee0bc83745b7dc.bundle.js +0 -1
- package/dist/285.a39486c9c36455c07a8c.bundle.js +0 -1
- package/dist/289.629fd05976be4275914c.bundle.js +0 -1
- package/dist/292.7910a6c107e87d1f91f5.bundle.js +0 -1
- package/dist/301.dd607f905cc18ac01cd7.bundle.js +0 -1
- package/dist/302.33c8b81de6fd88ceb1e5.bundle.js +0 -1
- package/dist/317.14afc1fbc34b41426c2b.bundle.js +0 -1
- package/dist/32.745c8f721a66fc81cb83.bundle.js +0 -1
- package/dist/34.b4543b758526d40813a3.bundle.js +0 -1
- package/dist/35.4ac254e9ab4ccc4b75fd.bundle.js +0 -1
- package/dist/36.4c7f03f71aea58c46ad0.bundle.js +0 -1
- package/dist/378.73bc20173cf0d694c88e.bundle.js +0 -1
- package/dist/380.165fe5bf212ac7177a4a.bundle.js +0 -1
- package/dist/381.b8cccfdac5dfc2709c23.bundle.js +0 -1
- package/dist/382.e3ef7b793ef5478f33b6.bundle.js +0 -1
- package/dist/385.b7f92435750203328844.bundle.js +0 -1
- package/dist/387.29051e7ab90b105e8d87.bundle.js +0 -1
- package/dist/388.9dc54afd9b85e404f529.bundle.js +0 -1
- package/dist/389.b906220de4376cdfd713.bundle.js +0 -1
- package/dist/390.8585876828ed565479d8.bundle.js +0 -1
- package/dist/40.7238c6afe0137623466c.bundle.js +0 -1
- package/dist/44.90a523a1b31916b5ebd7.bundle.js +0 -1
- package/dist/45.3f2bd488027ca1f38eaf.bundle.js +0 -1
- package/dist/48.08f87cb27107d1f0d377.bundle.js +0 -1
- package/dist/49.e80a971e901c0d3929dd.bundle.js +0 -1
- package/dist/5.9a3ba02464bbfa18cb38.bundle.js +0 -1
- package/dist/53.5cd5c0fecc37df965ec5.bundle.js +0 -1
- package/dist/58.91d1a1d7728a5f7e7296.bundle.js +0 -1
- package/dist/61.79fee854325c44c8a2bc.bundle.js +0 -1
- package/dist/67.5d24f1090f1f108006ca.bundle.js +0 -1
- package/dist/7.702938d283671b5c3488.bundle.js +0 -1
- package/dist/71.612f3a743bf647da9558.bundle.js +0 -1
- package/dist/72.9861808a54d67db52f73.bundle.js +0 -1
- package/dist/76.53dbf4dabd1557924cf1.bundle.js +0 -1
- package/dist/77.cef3ad36317bcbbb51e3.bundle.js +0 -1
- package/dist/8.950d6ff4713eea1d38f2.bundle.js +0 -1
- package/dist/92.f4ed809be0be9a942e05.bundle.js +0 -1
- package/dist/main.023ec298a5160f9f8cb5.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[50,61,102,256,300],{151:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return i}));var n=s(30),r=s(71);s(79);class i{constructor(){this.conversations=[...o]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(n.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(n.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(n.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:r.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},s=this.conversations.find(t=>t.id===e.conversationId),n={id:e.conversationId,name:s?s.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:r.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' Han Solo is a character in the Star Wars universe.`,timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:r.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return s&&(s.messages.push(...n.messages),s.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:n}),2e3))}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const s=Object(n.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...a]}),2e3))}getAgent(e){return Promise.resolve({data:Object(n.cloneDeep)(a.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(a.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(a=a.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return a=a.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:d})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:"Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"retrieval_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"iri_discovery",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"}]}})}}const o=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let a=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];const d={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},208:function(e,t,s){"use strict";s.r(t);var n=s(151);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",r),r.$inject=["$http"];function r(e){new n.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,s)=>e.put("rest/chat/conversations/"+t,s),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default")}}},71:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return n})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return r}));class n{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const r={USER:"user",ASSISTANT:"assistant"}},79:function(e,t,s){"use strict";s.r(t),s.d(t,"AgentModel",(function(){return i})),s.d(t,"AgentInstructionsModel",(function(){return o})),s.d(t,"ExtractionMethodModel",(function(){return a})),s.d(t,"AdditionalExtractionMethodsModel",(function(){return d})),s.d(t,"AdditionalExtractionMethodModel",(function(){return l})),s.d(t,"AgentListModel",(function(){return c})),s.d(t,"ExtractionMethod",(function(){return h})),s.d(t,"AdditionalExtractionMethod",(function(){return u})),s.d(t,"AgentListFilterModel",(function(){return m}));var n=s(30),r=s(80);class i{constructor(e,t){this.hashGenerator=t,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get repositoryId(){return this._repositoryId}set repositoryId(e){this._repositoryId=e}get model(){return this._model}set model(e){this._model=e}get temperature(){return this._temperature}set temperature(e){this._temperature=e}get topP(){return this._topP}set topP(e){this._topP=e}get seed(){return this._seed}set seed(e){this._seed=e}get instructions(){return this._instructions}set instructions(e){this._instructions=e}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(e){this._assistantExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class o{constructor(e){this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(e){this._systemInstruction=e}get userInstruction(){return this._userInstruction}set userInstruction(e){this._userInstruction=e}}class a{constructor(e){this._method=e.method,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}get method(){return this._method}set method(e){this._method=e}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(e){this._sparqlQuery=e}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(e){this._ontologyGraph=e}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(e){this._maxNumberOfTriplesPerCall=e}get similarityIndex(){return this._similarityIndex}set similarityIndex(e){this._similarityIndex=e}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(e){this._similarityIndexThreshold=e}get queryTemplate(){return this._queryTemplate}set queryTemplate(e){this._queryTemplate=e}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(e){this._retrievalConnectorInstance=e}}class d{constructor(e){this._additionalExtractionMethods=e}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(e){this._additionalExtractionMethods=e}}class l{constructor(e){this._method=e.method}get method(){return this._method}set method(e){this._method=e}}class c{constructor(e=[]){this._agents=e,this._filterableAgents=Object(n.cloneDeep)(e)}isEmpty(){return 0===this._agents.length}filterByRepository(e){this._filterableAgents=this._agents.filter(t=>e===r.AGENTS_FILTER_ALL_KEY||(t.repositoryId===e?t:void 0))}getAgent(e){return this._agents.find(t=>t.id===e)}get agents(){return this._agents}set agents(e){this._agents=e}get filterableAgents(){return this._filterableAgents}set filterableAgents(e){this._filterableAgents=e}}const h={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},u={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class m{constructor(e,t,s=!1){this._key=e,this._label=t,this._selected=s}get key(){return this._key}set key(e){this._key=e}get label(){return this._label}set label(e){this._label=e}get selected(){return this._selected}set selected(e){this._selected=e}}},80:function(e,t,s){"use strict";s.r(t),s.d(t,"AGENTS_FILTER_ALL_KEY",(function(){return n})),s.d(t,"AGENT_OPERATION",(function(){return r}));const n="ALL",r={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
2
|
-
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,a=38,o=40,c=37,s=39,u=46,l=188,d=9007199254740991,g=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,a,o,p,f){function m(e,t,n,r){var i,a,c,s,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},a=function(t,n){t[e.displayProperty]=n},c=function(t){var r=i(t),a=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return o.when(a&&n({$tag:t})).then(f.promisifyValue)},s=function(e){return o.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return a(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),a(n,r),c(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return s(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==g.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,d],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,d],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,d,g,p){var m,h,v=[n,l,i,e,u,c,s],T=o.tagList,y=o.events,x=o.options,$=d.find("input"),k=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!x.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[x.keyProperty||x.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),g.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=d[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):a.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==k.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){d.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(o.newTag.text()),d.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,a,d,g,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],a=(p===e||p===u)&&T.selected,g=p===e&&0===o.newTag.text().length&&x.enableEditingLastTag,d=(p===e||p===c||p===s)&&0===o.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(o.newTag.text()):g?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[x.displayProperty])}))):a?T.removeSelected():d&&(p===c||p===e?T.selectPrior():p===s&&T.selectNext()),(r||d||a||g)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,c,s,u,l){function d(e,t,n){var r,i,a,o={};return a=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,a(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},o.reset=function(){i=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=l.debounce((function(n,c){o.query=n;var u=s.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,a()),e=r(e,c),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new d(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,c,s){var u,d=[n,t,r,a,o],g=e.suggestionList,p=s.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){g.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return g.selected&&(p.addTag(angular.copy(g.selected)),g.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===g.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){g.reset()})).on("input-change",(function(e){u(e)?g.load(e,p.getTags()):g.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&g.load(e,p.getTags())})).on("input-keydown",(function(i){var c=i.keyCode,s=!1;if(!l.isModifierOn(i)&&-1!==d.indexOf(c))return g.visible?c===o?(g.selectNext(),s=!0):c===a?(g.selectPrior(),s=!0):c===r?(g.reset(),s=!0):(c===n||c===t)&&(s=e.addSuggestion()):c===o&&e.options.loadOnDownArrow&&(g.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),c=r.prop("scrollTop");c>i?r.prop("scrollTop",i):i+a>o+c&&r.prop("scrollTop",i+a-o)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),c=o.getOptions();n.$$template=c.template,n.$index=n.$parent.$index,n.$highlight=function(n){return c.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[c.displayProperty||c.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,c=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+c+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",(function(e){i.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,c){var s=function(){return!0};a.options={},angular.forEach(c,(function(c,u){var l,d,g,p,f,m;l=c[0],d=c[1],g=c[2]||s,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:d},m=function(e){a.options[u]=e&&g(e)?p(e):f()},t[n]&&t[n][u]?o.$observe(u,(function(e){m(e),a.events.trigger("option-change",{name:u,newValue:e})})):m(o[u]&&r(o[u])(a.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(a=e,!0):void 0})),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},93:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,283,284],{270:function(e,t){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);function n(e){return{getStatus:function(){return e.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return e.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return e.get("rest/rdfrank/filtering")},toggleFiltering:function(t){return e.post("rest/rdfrank/filtering?enabled="+t)},filter:function(t){return e.get("rest/rdfrank/filtering/"+t)},updateFilter:function(t,n){return e.put("rest/rdfrank/filtering/"+t,n)},deleteFilter:function(t,n){return e.delete("rest/rdfrank/filtering/"+t,{data:n,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return e.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(t){return e.post("rest/rdfrank/include-explicit?enabled="+t)},includeImplicit:function(){return e.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(t){return e.post("rest/rdfrank/include-implicit?enabled="+t)},compute:function(){return e.post("rest/rdfrank/compute")},computeIncremental:function(){return e.post("rest/rdfrank/compute-incremental")},interrupt:function(){return e.post("rest/rdfrank/interrupt")}}}n.$inject=["$http"]},352:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(35),n(270),n(534);var r=n(92),i=n(0);angular.module("graphdb.framework.rdfrank",["ngRoute","ngTagsInput","graphdb.framework.utils.uriutils","graphdb.framework.rest.rdfrank.service"]).controller("RDFRankCtrl",["$scope","$rootScope","$interval","toastr","$repositories","$licenseService","$timeout","ClassInstanceDetailsService","UriUtils","RDF4JRepositoriesRestService","RdfRankRestService","$translate",function(e,t,n,a,o,c,s,u,l,d,g,p){let f;function m(){f&&n.cancel(f)}e.pluginName="rdfrank",e.setPluginIsActive=function(t){e.pluginIsActive=t};const h=function(){g.getStatus().success((function(t){e.currentRankStatus=t})).error((function(e){a.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),g.checkRdfRankPluginEnabled().success((function(t){e.pluginFound=!0===t,e.pluginFound?(d.getNamespaces(o.getActiveRepository()).then(r.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);a.error(t,p.instant("error.getting.namespaces.for.repo"))}),h(),v(),T()):e.loading=!1})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const v=function(){g.checkFilteringEnabled().success((function(t){e.filteringEnabled=t})).error((function(e){a.error(getError(e))}))},T=function(){Object.values(e.filterLists).forEach((function(e){g.filter(e.predicate).success((function(t){return e.elements=t})).error((function(e){a.error(getError(e))}))})),g.includeExplicit().success((function(t){e.includeExplicit=t})).error((function(e){a.error(getError(e))})),g.includeImplicit().success((function(t){e.includeImplicit=t})).error((function(e){a.error(getError(e))}))};e.rdfStatus={CANCELED:"CANCELED",COMPUTED:"COMPUTED",COMPUTING:"COMPUTING",EMPTY:"EMPTY",ERROR:"ERROR",OUTDATED:"OUTDATED",CONFIG_CHANGED:"CONFIG_CHANGED"},e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}},e.setLoader=function(t,n){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.computeRank=function(){e.setLoader(!0,p.instant("rdfrank.full.computation")),g.compute().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.computeIncrementalRank=function(){e.setLoader(!0,p.instant("rdfrank.incremental.computation")),g.computeIncremental().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptComputation=function(){e.setLoader(!0,p.instant("index.interrupt")),g.interrupt().success((function(){h()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return o.getDegradedReason()},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())})),e.toggleFiltering=function(){g.toggleFiltering(!e.filteringEnabled).success((function(){h(),v(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeExplicit=function(){g.toggleIncludeExplicit(!e.includeExplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeImplicit=function(){g.toggleIncludeImplicit(!e.includeImplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};e.addToList=function(t,n){let r=n.text.toString();if(r=l.expandPrefix(r,e.namespaces),l.isValidIri(n,r)&&""!==r)!function(e,t){const n={iri:t};g.updateFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e)),T()}))}(t,r);else{T();const e=Object(i.decodeHTML)(p.instant("not.valid.iri",{value:n.text.toString()}));a.error(e)}};e.deleteFromList=function(t,n){!function(e,t){const n={iri:t};g.deleteFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e))}))}(t,n.text,e.namespaces)};const y=function(){f=n((function(){e.$broadcast("checkIsActive"),e.pluginFound&&h()}),5e3)},x=t.$on("$translateChangeSuccess",()=>{e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}}});e.$on("$destroy",(function(){x(),m()}));c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())}])},534:function(e,t){
|
|
2
|
+
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,a=38,o=40,c=37,s=39,u=46,l=188,d=9007199254740991,g=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,a,o,p,f){function m(e,t,n,r){var i,a,c,s,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},a=function(t,n){t[e.displayProperty]=n},c=function(t){var r=i(t),a=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return o.when(a&&n({$tag:t})).then(f.promisifyValue)},s=function(e){return o.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return a(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),a(n,r),c(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return s(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==g.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,d],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,d],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,d,g,p){var m,h,v=[n,l,i,e,u,c,s],T=o.tagList,y=o.events,x=o.options,$=d.find("input"),k=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!x.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[x.keyProperty||x.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),g.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=d[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):a.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==k.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){d.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(o.newTag.text()),d.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,a,d,g,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],a=(p===e||p===u)&&T.selected,g=p===e&&0===o.newTag.text().length&&x.enableEditingLastTag,d=(p===e||p===c||p===s)&&0===o.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(o.newTag.text()):g?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[x.displayProperty])}))):a?T.removeSelected():d&&(p===c||p===e?T.selectPrior():p===s&&T.selectNext()),(r||d||a||g)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,c,s,u,l){function d(e,t,n){var r,i,a,o={};return a=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,a(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},o.reset=function(){i=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=l.debounce((function(n,c){o.query=n;var u=s.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,a()),e=r(e,c),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new d(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,c,s){var u,d=[n,t,r,a,o],g=e.suggestionList,p=s.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){g.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return g.selected&&(p.addTag(angular.copy(g.selected)),g.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===g.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){g.reset()})).on("input-change",(function(e){u(e)?g.load(e,p.getTags()):g.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&g.load(e,p.getTags())})).on("input-keydown",(function(i){var c=i.keyCode,s=!1;if(!l.isModifierOn(i)&&-1!==d.indexOf(c))return g.visible?c===o?(g.selectNext(),s=!0):c===a?(g.selectPrior(),s=!0):c===r?(g.reset(),s=!0):(c===n||c===t)&&(s=e.addSuggestion()):c===o&&e.options.loadOnDownArrow&&(g.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),c=r.prop("scrollTop");c>i?r.prop("scrollTop",i):i+a>o+c&&r.prop("scrollTop",i+a-o)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),c=o.getOptions();n.$$template=c.template,n.$index=n.$parent.$index,n.$highlight=function(n){return c.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[c.displayProperty||c.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,c=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+c+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",(function(e){i.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,c){var s=function(){return!0};a.options={},angular.forEach(c,(function(c,u){var l,d,g,p,f,m;l=c[0],d=c[1],g=c[2]||s,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:d},m=function(e){a.options[u]=e&&g(e)?p(e):f()},t[n]&&t[n][u]?o.$observe(u,(function(e){m(e),a.events.trigger("option-change",{name:u,newValue:e})})):m(o[u]&&r(o[u])(a.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(a=e,!0):void 0})),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},92:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{194:function(e,t,n){"use strict";n.r(t);n(11),n(195);var o=n(103),r=n(30),a=n(94);let s=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,l,u,d,f,g){return{restrict:"E",scope:{clusterModel:"="},link:function(p,h){const m=angular.element(e),_=[];let w,C,y,v,E,k=D(),b=O(),A=Math.min(k,b)/2-100,S=k/2,M=b/2;function N(){const e=g.getClusterViewD3Container();k=D(),b=O(),e.attr("width",k),e.attr("height",b),U()}function L(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=u.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&L(r,o)})}function D(){const o="collapsedMenu"===t.get(n.MENU_STATE);return s=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-s)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function j(){o.updateClusterZoneLabels(C,y,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function T(){A=Math.min(k,b)/2-100,S=k/2,M=b/2,o.moveElement(y,S,M),y.select(".cluster-zone").attr("r",A)}function R(e){p.$emit(a.CLICK_IN_VIEW,e.target)}function U(){T(),C!==p.clusterModel.hasCluster&&(C=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,y,i,w),!e&&w&&y.on("mouseup",()=>{p.$emit(a.CREATE_CLUSTER)})}(C));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=l.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=u.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=v.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(a.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,S,M,A)}(e);!function(e,t){const n=E.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return k},p.height=function(){return b};p.$on("$destroy",(function(){m.unbind("resize",N),m.unbind("mousedown",R),o.removeEventListeners(),_.forEach(e=>e())})),w=d.isAdmin(),m.bind("resize",N),m.bind("mousedown",R),_.push(f.$on("$translateChangeSuccess",(function(){L(i),j()}))),_.push(p.$on(a.MODEL_UPDATED,(function(){U()}))),L(i),function(e){const t=o.createClusterSvgElement(h[0]).attr("width",k).attr("height",b);y=o.createClusterZone(t,e),E=t.append("g").attr("id","links-group"),v=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),g.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},197:function(e,t,n){"use strict";n.r(t);var o=n(94);function r(e,t,n,r,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{a.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(o.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(o.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",r),r.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},294:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(281),n(194),n(197),n(32),n(498),n(279);angular.module("graphdb.framework.clustermanagement",["ngAnimate","toastr","graphdb.framework.clustermanagement.controllers.cluster-management","graphdb.framework.clustermanagement.directives.cluster-graphical-view","graphdb.framework.clustermanagement.directives.cluster-configuration"])},498:function(e,t,n){var o,r;o=[n(508)],void 0===(r=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var o in e)n.attr(o,e[o])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(508)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,o))||(e.exports=r)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,137,259,260],{266:function(e,a,n){"use strict";n.r(a);n(7),n(33),n(32),n(40);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},267:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},344:function(e,a,n){"use strict";n.r(a);n(7),n(31),n(32),n(266),n(267),n(96),n(613);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])},96:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,a,n){return{link:function(e,s){const t=()=>{const a=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);s.html(a)};t();const c=a.$on("$translateChangeSuccess",t);e.$on("$destroy",c)}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[54,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[54,280],{130:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},229:function(e,t,n){"use strict";n.r(t);var r=n(512);n(130);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},498:function(e,t,n){var r,a;r=[n(508)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(508)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},512:function(e,t,n){"use strict";n(498);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{221:function(t,e,r){"use strict";r.r(e);var n=r(510),a=r(509);r(11);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.8.0-TR7");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},496:function(t,e,r){var n,a;n=[r(506)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(506)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},509:function(t,e,r){"use strict";r(496);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},510:function(t,e,r){"use strict";r(496);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{226:function(t,e,r){"use strict";r.r(e);var n=r(512),a=r(511);r(11);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.8.0-TR9");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},498:function(t,e,r){var n,a;n=[r(508)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(508)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},511:function(t,e,r){"use strict";r(498);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},512:function(t,e,r){"use strict";r(498);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[56,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[56,171,191,309],{159:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},247:function(e,o,r){"use strict";r.r(o);r(159);var t=r(73),s=r(81);function a(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:o=>{o.ImportResourceStatus=t.ImportResourceStatus,o.toTitleCase=e=>s.toTitleCase(e),o.showMessage=o=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return o?o.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",a),a.$inject=["$uibModal"]},73:function(e,o,r){"use strict";r.r(o),r.d(o,"ImportResourceStatus",(function(){return t}));const t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},81:function(e,o,r){"use strict";r.r(o),r.d(o,"removeSpecialChars",(function(){return s})),r.d(o,"toBoolean",(function(){return a})),r.d(o,"toTitleCase",(function(){return i}));var t=r(30);const s=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(t.upperFirst)(e.toLowerCase()):e}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[57,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[57,98,191,192],{132:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(73),i=s(30);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},249:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(89),i=s(132),o=s(73);const c=30,n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-file");const a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-upload"),a.set(r.ImportResourceType.URL,"icon-link"),a.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new i.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let o;o=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,o);if(t.isFile()){const e=new i.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?a.get(e.importResource.type):n.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.UPLOADED&&e.status!==o.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},73:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},89:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[58,102,185,300],{209:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentFormModel",(function(){return n})),s.d(e,"ExtractionMethodsFormModel",(function(){return o})),s.d(e,"ExtractionMethodFormModel",(function(){return a})),s.d(e,"AdditionalExtractionMethodsFormModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodFormModel",(function(){return l})),s.d(e,"AgentInstructionsFormModel",(function(){return d}));var i=s(74),r=s(79);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 a({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 a({method:r.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new a({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 a({method:r.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new i.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})),new o(t)}getDefaultAdditionalExtractionMethod(){const t=[];return t.push(new l({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 o{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)}}class a{constructor(t){this._selected=t.selected||!1,this._method=t.method,this._sparqlOption=t.sparqlOption,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._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 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 l{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 d{constructor(t){this._systemInstruction=t.systemInstruction,this._systemInstructionCopy=t.systemInstruction,this._userInstruction=t.userInstruction,this._userInstructionCopy=t.userInstruction}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}}},74: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}}},79:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentModel",(function(){return n})),s.d(e,"AgentInstructionsModel",(function(){return o})),s.d(e,"ExtractionMethodModel",(function(){return a})),s.d(e,"AdditionalExtractionMethodsModel",(function(){return h})),s.d(e,"AdditionalExtractionMethodModel",(function(){return l})),s.d(e,"AgentListModel",(function(){return d})),s.d(e,"ExtractionMethod",(function(){return u})),s.d(e,"AdditionalExtractionMethod",(function(){return c})),s.d(e,"AgentListFilterModel",(function(){return _}));var i=s(30),r=s(80);class n{constructor(t,e){this.hashGenerator=e,this._isDeleted=!1,this._id=t.id,this._name=t.name,this._repositoryId=t.repositoryId,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 o{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 a{constructor(t){this._method=t.method,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 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 l{constructor(t){this._method=t.method}get method(){return this._method}set method(t){this._method=t}}class d{constructor(t=[]){this._agents=t,this._filterableAgents=Object(i.cloneDeep)(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}}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}}},80:function(t,e,s){"use strict";s.r(e),s.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return i})),s.d(e,"AGENT_OPERATION",(function(){return r}));const i="ALL",r={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,189,191,192],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,189,191,192],{118:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportParsingSettings",(function(){return r}));class r{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},157:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResource",(function(){return a}));var r=s(73),i=s(118),o=s(89);class a{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:r.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},73:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},89:function(t,e,s){"use strict";s.r(e),s.d(e,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[6,46,62,76,103,104,255,256,257],{115:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatAnswerModel",(function(){return a}));class a{constructor(e={}){this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[]}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get chatName(){return this._chatName}set chatName(e){this._chatName=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}get messages(){return this._messages}set messages(e){this._messages=e}}},129:function(e,t,s){"use strict";s.r(t),s.d(t,"chatMessageModelListMapper",(function(){return i})),s.d(t,"chatItemsModelMapper",(function(){return o})),s.d(t,"chatMessageModelMapper",(function(){return h})),s.d(t,"chatAnswerModelMapper",(function(){return d}));var a=s(71),n=s(75),r=s(115);const i=e=>e?e.map(e=>h(e)):[],o=(e=[])=>{const t=[];let s;return e.forEach(e=>{if(a.CHAT_MESSAGE_ROLE.USER===e.role){s&&t.push(s);const a=e.conversationId;s=new n.ChatItemModel(a,h(e))}else s.answers.push(h(e)),s.agentId=e.agentId}),s&&t.push(s),new n.ChatItemsListModel(t)},h=e=>{if(e)return new a.ChatMessageModel({id:e.id,role:e.role,message:e.message,timestamp:e.timestamp,data:e})},d=e=>{if(e)return new r.ChatAnswerModel({chatId:e.id,chatName:e.name,timestamp:e.timestamp,messages:i(e.messages)})}},150:function(e,t,s){"use strict";s.r(t);var a=s(207),n=(s(208),s(129)),r=s(152),i=s(210);function o(e){return{getConversation:t=>e.getConversation(t).then(e=>Object(a.chatModelMapper)(e.data)),renameConversation:t=>e.renameConversation(t.id,t.toRenameRequestPayload()).then(e=>Object(a.chatModelMapper)(e.data)),exportConversation:t=>e.exportConversation(t).then((function(e){const t=e.data,s=e.headers()["content-disposition"];let a="chat-export";return s&&(a=s.split("filename=")[1],a=a.substring(0,a.length)),{data:t,filename:a}})),askQuestion:t=>e.askQuestion(t.toAskRequestPayload()).then(e=>Object(n.chatAnswerModelMapper)(e.data)),getConversations:(t,s)=>e.getConversations().then(e=>Object(a.chatsListMapper)(e.data)),deleteConversation:t=>e.deleteConversation(t),createConversation:t=>e.createConversation(t.toCreateChatRequestPayload()).then(e=>Object(n.chatAnswerModelMapper)(e.data)),getAgents:()=>e.getAgents().then(e=>Object(r.agentListMapper)(e.data)),getAgent:t=>e.getAgent(t).then(e=>Object(r.agentModelMapper)(e.data)),createAgent:t=>e.createAgent(t).then(e=>Object(r.agentModelMapper)(e.data)),editAgent:t=>e.editAgent(t).then(e=>Object(r.agentModelMapper)(e.data)),deleteAgent:t=>e.deleteAgent(t),explainResponse:(t,s)=>e.explainResponse(t.toExplainResponsePayload(s)).then(e=>Object(i.explainResponseMapper)(e.data)),getDefaultAgent:()=>e.getAgentDefaultValues().then(e=>Object(r.agentModelMapper)(e.data))}}angular.module("graphdb.framework.core.services.ttyg-service",["graphdb.framework.rest.ttyg.service"]).factory("TTYGService",o),o.$inject=["TTYGRestService"]},151:function(e,t,s){"use strict";s.r(t),s.d(t,"TtygRestServiceFakeBackend",(function(){return r}));var a=s(30),n=s(71);s(79);class r{constructor(){this.conversations=[...i]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(a.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(a.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const s=this.conversations.find(t=>t.id===e);return s&&(s.name=t.name),Promise.resolve({data:Object(a.cloneDeep)(s)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:n.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},s=this.conversations.find(t=>t.id===e.conversationId),a={id:e.conversationId,name:s?s.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' Han Solo is a character in the Star Wars universe.`,timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:n.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return s&&(s.messages.push(...a.messages),s.messages.push(t)),new Promise(e=>setTimeout(()=>e({data:a}),2e3))}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const s=Object(a.cloneDeep)(e);return s.conversationId=t.id,this.askQuestion(s)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...o]}),2e3))}getAgent(e){return Promise.resolve({data:Object(a.cloneDeep)(o.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(o=o.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return o=o.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:h})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:"Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"retrieval_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"},{name:"iri_discovery",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}"}]}})}}const i=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let o=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:null,instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null}];const h={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},153:function(e,t,s){"use strict";s.r(t),s.d(t,"ExplainResponseModel",(function(){return a})),s.d(t,"ExplainQueryMethodsListModel",(function(){return n})),s.d(t,"ExplainQueryMethodModel",(function(){return r}));class a{constructor(e={}){this._chatId=e.chatId,this._answerId=e.answerId,this._queryMethods=e.queryMethods,this._expanded=void 0===e.expanded||e.expanded}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get answerId(){return this._answerId}set answerId(e){this._answerId=e}get queryMethods(){return this._queryMethods}set queryMethods(e){this._queryMethods=e}get expanded(){return this._expanded}set expanded(e){this._expanded=e}}class n{constructor(e={}){this._queryMothods=e.queryMethods||[]}get queryMothods(){return this._queryMothods}set queryMothods(e){this._queryMothods=e}}class r{constructor(e={}){this._name=e._name,this._rawQuery=e._rawQuery,this._query=e._query}get name(){return this._name}set name(e){this._name=e}get rawQuery(){return this._rawQuery}set rawQuery(e){this._rawQuery=e}get query(){return this._query}set query(e){this._query=e}}},207:function(e,t,s){"use strict";s.r(t),s.d(t,"chatsListMapper",(function(){return h})),s.d(t,"chatModelMapper",(function(){return d}));var a=s(85),n=s(16),r=s(129),i=s(75);const o=Object(n.md5HashGenerator)(),h=e=>{if(!e)return new a.ChatsListModel;const t=e.map(e=>d(e));return new a.ChatsListModel(t)},d=e=>{if(e)return new a.ChatModel({id:e.id,name:e.name,timestamp:e.timestamp,chatHistory:e.messages&&e.messages.length?Object(r.chatItemsModelMapper)(e.messages.reverse()):new i.ChatItemsListModel},o)}},208:function(e,t,s){"use strict";s.r(t);var a=s(151);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",n),n.$inject=["$http"];function n(e){new a.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,s)=>e.put("rest/chat/conversations/"+t,s),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default")}}},210:function(e,t,s){"use strict";s.r(t),s.d(t,"explainResponseMapper",(function(){return n})),s.d(t,"explainQueryMethodsListMapper",(function(){return r})),s.d(t,"explainQueryMethodMapper",(function(){return i}));var a=s(153);const n=e=>new a.ExplainResponseModel({chatId:e.conversationId,answerId:e.answerId,queryMethods:e.queryMethods}),r=(e=[])=>e.map(i),i=e=>new a.ExplainQueryMethodModel(e)},71:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessageModel",(function(){return a})),s.d(t,"CHAT_MESSAGE_ROLE",(function(){return n}));class a{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const n={USER:"user",ASSISTANT:"assistant"}},75:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatItemModel",(function(){return n})),s.d(t,"ChatItemsListModel",(function(){return r}));var a=s(71);class n{constructor(e,t){this._chatId=e,this._agentId=void 0,this._question=t,this._answers=[]}get chatId(){return this._chatId}set chatId(e){this._chatId=e}get agentId(){return this._agentId}set agentId(e){this._agentId=e}get question(){return this._question}set question(e){this._question=e}get answers(){return this._answers}set answers(e){this._answers=e}setQuestionMessage(e){this._question||(this._question=new a.ChatMessageModel({role:a.CHAT_MESSAGE_ROLE.USER})),this._question.message=e}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}toExplainResponsePayload(e){return{conversationId:this._chatId,answerId:e}}}class r{constructor(e=[]){this._items=e}isEmpty(){return 0===this._items.length}appendItem(e){this._items.push(e)}get items(){return this._items}set items(e){this._items=e||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}},85:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatModel",(function(){return n})),s.d(t,"ChatByDayModel",(function(){return r})),s.d(t,"ChatsListModel",(function(){return i}));var a=s(75);class n{constructor(e,t){this.hashGenerator=t,this._id=e.id,this._name=e.name,this._timestamp=e.timestamp,this._chatHistory=e.chatHistory||new a.ChatItemsListModel,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this.generateHash(),this._name=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}get chatHistory(){return this._chatHistory}set chatHistory(e){this._chatHistory=e||new a.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}class r{constructor(e){this._day=e.day,this._timestamp=e.timestamp,this._chats=e.chats}get day(){return this._day}set day(e){this._day=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}get chats(){return this._chats}set chats(e){this._chats=e}}class i{constructor(e){this._chats=e||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((e,t)=>t.timestamp-e.timestamp)}deleteChat(e){this._chats=this._chats.filter(t=>t.id!==e.id),this.sortByTime(),this.updateChatsByDay()}updateChatsByDay(){this._chatsByDay=[],this._chats.forEach(e=>{const t=new Date(1e3*e.timestamp).toDateString(),s=this._chatsByDay.find(e=>e.day===t);s?s.chats.push(e):this._chatsByDay.push(new r({day:t,timestamp:1e3*e.timestamp,chats:[e]}))})}appendChat(e){this._chats.push(e),this.sortByTime(),this.updateChatsByDay()}replaceChat(e,t){this._chats=this._chats.map(s=>s.id===t.id?e:s),this.sortByTime(),this.updateChatsByDay()}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(e=>{e.selected=!1})}selectChat(e){this.deselectAll(),this._chats.forEach(t=>{t.selected=t.id===e.id})}getChat(e){return this._chats.find(t=>t.id===e)}getNonPersistedChat(){return this._chats.find(e=>!e.id)}renameChat(e){const t=this._chats.find(t=>t.id===e.id);t&&(t.name=e.name)}get chats(){return this._chats}set chats(e){this._chats=e}get chatsByDay(){return this._chatsByDay}set chatsByDay(e){this._chatsByDay=e}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[60,75,242,243],{76:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},77:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[60,75,242,243],{76:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},77:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},84:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(76),a=s(77);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}},90:function(t,i,s){"use strict";s.r(i),s.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return a}));var e=s(84);const a=t=>t.map(t=>{const i=new e.SimilarityIndex;return i.type=t.type,i.stopList=t.stopList,i.status=t.status,i.selectQuery=t.selectQuery,i.searchQuery=t.searchQuery,i.sameAs=t.sameAs,i.options=t.options,i.name=t.name,i.infer=t.infer,i.analyzer=t.analyzer,i.analogicalQuery=t.analogicalQuery,i})}}]);
|