graphdb-workbench 2.8.0-TR8 → 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.fe4729a97f549d99e76c.bundle.js → 0.93d87420a8f6f497a752.bundle.js} +3 -3
- package/dist/{1.7eaaf20521951cc7a34b.bundle.js → 1.1d48970931b02943cf4a.bundle.js} +1 -1
- package/dist/{10.1b9fbe84bc39ee775860.bundle.js → 10.744322001f79eeeebc2f.bundle.js} +1 -1
- package/dist/{100.3c25fd5fbf68ae226f3d.bundle.js → 100.e29b5efe2fbc0bb7a5f4.bundle.js} +1 -1
- package/dist/{101.efee805298ed9cca96df.bundle.js → 101.fe24aecb4730a999e647.bundle.js} +1 -1
- package/dist/{102.ef703a292a5ee7aa66af.bundle.js → 102.63518bce2a8c1c78fe7c.bundle.js} +1 -1
- package/dist/103.7965a437228ca8030cf8.bundle.js +1 -0
- package/dist/{104.93934ce6ee9d1071af34.bundle.js → 104.b780c6c0242f75eab14f.bundle.js} +1 -1
- package/dist/{105.52556dcf30d72aa57237.bundle.js → 105.5dc23ad3a20b69b5c68a.bundle.js} +1 -1
- package/dist/{106.b2e134406918991254c8.bundle.js → 106.10f1e7151b931d781873.bundle.js} +1 -1
- package/dist/{107.ad5741bd760d84cfc5e8.bundle.js → 107.cd7e922cc13ca484361c.bundle.js} +1 -1
- package/dist/{108.5e35a9902a05a571a342.bundle.js → 108.531a56a37c358c7eb716.bundle.js} +1 -1
- package/dist/{109.33f1be47a70db0de4dbb.bundle.js → 109.219fe067efe2c5c13905.bundle.js} +1 -1
- package/dist/{11.f585c7887b0c7058f132.bundle.js → 11.3cbcbb21d886fff027c5.bundle.js} +1 -1
- package/dist/{110.88a666b809893a80ed10.bundle.js → 110.1d8dc2d3db4cc484364a.bundle.js} +1 -1
- package/dist/{111.5795ff600dae99d135b3.bundle.js → 111.7c5283968657e2ef686c.bundle.js} +1 -1
- package/dist/{112.5d580a4e68f29bd96072.bundle.js → 112.bdc85f2a318f69194f55.bundle.js} +1 -1
- package/dist/{113.dc84c0d9d10073168a66.bundle.js → 113.62ca17b2447622176856.bundle.js} +1 -1
- package/dist/{114.9c6c37cccff476323479.bundle.js → 114.52f802379ffc63f04bda.bundle.js} +1 -1
- package/dist/{115.f5db213caf686c4c4bf0.bundle.js → 115.526878d1ad85ef966589.bundle.js} +1 -1
- package/dist/{116.c14833d4340ae24b1add.bundle.js → 116.872724459e1ffba3355f.bundle.js} +1 -1
- package/dist/{117.5769784e4fe7d9b070ee.bundle.js → 117.2254713ace6a2ee1b3e6.bundle.js} +1 -1
- package/dist/{118.5565a6a7e6a6fd913f6c.bundle.js → 118.475538f514784a48c496.bundle.js} +1 -1
- package/dist/{119.71cacd8d5417aacdfee9.bundle.js → 119.3e860b52440fb02b07b1.bundle.js} +1 -1
- package/dist/{12.0312a2d90554c15d3009.bundle.js → 12.9d7774b721e218c0d1a8.bundle.js} +1 -1
- package/dist/{120.cdf6131a41b72d728a14.bundle.js → 120.d0a082faf2c1d48f3d39.bundle.js} +1 -1
- package/dist/{121.493c36d2d1a28d55a109.bundle.js → 121.19e849dc6ee838e394b2.bundle.js} +1 -1
- package/dist/{122.e789cad9a683b5eb05ce.bundle.js → 122.83bc9c335b278ed23f7e.bundle.js} +1 -1
- package/dist/{123.b788446b2f91f3a5904b.bundle.js → 123.225acf6a6b6225a0bdc7.bundle.js} +1 -1
- package/dist/{124.686544ec11c83be3e837.bundle.js → 124.22f485a993d2d5f0c3fe.bundle.js} +1 -1
- package/dist/{125.671763e149e1f0d072c3.bundle.js → 125.a0120c9bbf263871f1f2.bundle.js} +1 -1
- package/dist/{126.dec860491ecb0179a5d6.bundle.js → 126.6c6361f8a794c25f03c3.bundle.js} +1 -1
- package/dist/{127.b9d72edac7300bdf5465.bundle.js → 127.9695ad415ea407a5766d.bundle.js} +1 -1
- package/dist/{128.99cc83ce5b72779f96d1.bundle.js → 128.efaa3c64cc680871c101.bundle.js} +1 -1
- package/dist/{129.2567d1b4e4f8da910706.bundle.js → 129.6e076a0591f2535f20e7.bundle.js} +1 -1
- package/dist/{13.713ba0eb2efb2fae5581.bundle.js → 13.3ceee67e787b33ff65bd.bundle.js} +11 -11
- package/dist/{131.406a0bd6d18805b233bd.bundle.js → 131.1150f3770fcd7254facc.bundle.js} +1 -1
- package/dist/{132.eeb929e6e556a5896695.bundle.js → 132.5b35a91b7faf35ac5fc1.bundle.js} +1 -1
- package/dist/{135.e871091835d86128fdeb.bundle.js → 135.2412e9ff08269c7629e4.bundle.js} +1 -1
- package/dist/{139.49a76322eb779c1eef80.bundle.js → 139.e89c0ccc2363622ad4c7.bundle.js} +1 -1
- package/dist/{14.0a895a968a030eb0581c.bundle.js → 14.d3b8465c006f4a7ce30c.bundle.js} +1 -1
- package/dist/{140.dbac87117c8e9e49228e.bundle.js → 140.0536e559a9baabc76030.bundle.js} +1 -1
- package/dist/{141.054afe20ca27c6c05d43.bundle.js → 141.dfd47bb9fcc11ac8a30b.bundle.js} +1 -1
- package/dist/{142.3ccc1b25778c2c3b5a05.bundle.js → 142.1227bc64cacbe76f16d9.bundle.js} +1 -1
- package/dist/{143.bf5fd5ebf5352923407c.bundle.js → 143.5545959797ea89b40e59.bundle.js} +1 -1
- package/dist/{144.fa80298e34eb03ee93ee.bundle.js → 144.5b140731425a34cf125a.bundle.js} +1 -1
- package/dist/{145.d661c97bb62292f5bb80.bundle.js → 145.28b77f4c246bdc8df93a.bundle.js} +1 -1
- package/dist/{146.518bf4c2d2cf71e19f4e.bundle.js → 146.6fef463bb43f86016d1e.bundle.js} +1 -1
- package/dist/{147.781930c4156e2696be30.bundle.js → 147.815687d4dbe9b1b37b18.bundle.js} +1 -1
- package/dist/{148.093f49fb6e5e1d4df64b.bundle.js → 148.b3b5fa19ce5fa37e87a3.bundle.js} +1 -1
- package/dist/{149.6223eb2c20cab24ecb8d.bundle.js → 149.f0176599fd805fe1c9e3.bundle.js} +1 -1
- package/dist/{15.92b811f2e6eea4754d16.bundle.js → 15.8766865adcae6bca8ef1.bundle.js} +1 -1
- package/dist/{150.efc851a1070bd0fb5a86.bundle.js → 150.6ee46dd0446cd91c5df5.bundle.js} +1 -1
- package/dist/{151.44aa4778a8a0f9da4676.bundle.js → 151.fdeaee5624ebd2eb1ff6.bundle.js} +1 -1
- package/dist/{152.4011d597b045cf49ec04.bundle.js → 152.809817ae7b07996f0e13.bundle.js} +1 -1
- package/dist/{153.91676bcd55e8fa5f4068.bundle.js → 153.f4af131f932f79445edf.bundle.js} +1 -1
- package/dist/{154.82a197ccff717f884416.bundle.js → 154.3b0d779ea269d2e0f964.bundle.js} +1 -1
- package/dist/{155.e5598e56d652d0e734e1.bundle.js → 155.52205389c28320f9201f.bundle.js} +1 -1
- package/dist/{156.caaf5e2dc7ad352e4167.bundle.js → 156.c8b3277de77670d24eee.bundle.js} +1 -1
- package/dist/{157.a9ac969b11cafb114fe6.bundle.js → 157.261634b5278ba4c5eebf.bundle.js} +1 -1
- package/dist/{158.d34c5e566402660056fd.bundle.js → 158.ef35149a736ccb14c53a.bundle.js} +1 -1
- package/dist/{159.37d0c0d38532bce4bd69.bundle.js → 159.a43b2a42dc2a88c0b99f.bundle.js} +1 -1
- package/dist/{16.fdb09f13284c6dc639fb.bundle.js → 16.5c0032b87470da10a81f.bundle.js} +2 -2
- package/dist/{160.1d6d6162b3eb43dcefb3.bundle.js → 160.68a3c092234acef47e77.bundle.js} +1 -1
- package/dist/{161.d771712f872e8f544c18.bundle.js → 161.d1d70b8f86ea38c9ea5c.bundle.js} +1 -1
- package/dist/{162.8429e153861fd2b302bb.bundle.js → 162.d277865cf49b2368c9e2.bundle.js} +1 -1
- package/dist/{163.6e296e35e6932d5daca6.bundle.js → 163.f8f2a84efe4ecc4f954d.bundle.js} +1 -1
- package/dist/{164.d693d8a8bfa464acfc74.bundle.js → 164.a90934fa38d7275dfd80.bundle.js} +1 -1
- package/dist/{165.c01039936fb423ccf51c.bundle.js → 165.d1dba76f79111f728339.bundle.js} +1 -1
- package/dist/{166.3f358f4a87c4378ed5b9.bundle.js → 166.87f1eaff82bc80cc4b2a.bundle.js} +1 -1
- package/dist/{167.42d50892a010d5a75c09.bundle.js → 167.738f243edcf3972dd55f.bundle.js} +1 -1
- package/dist/{168.69f3b3a8a9791e2e5edc.bundle.js → 168.ce724b818621b0bf69cc.bundle.js} +1 -1
- package/dist/{169.a1195cdb8a0e5b2dfecd.bundle.js → 169.3194692379d22d85fe3f.bundle.js} +1 -1
- package/dist/{17.4dbd72d61bcedd36557b.bundle.js → 17.73a7e201cb4694d56da8.bundle.js} +1 -1
- package/dist/{170.1e2a82f30966c069477f.bundle.js → 170.705370e83f0e3976dd91.bundle.js} +1 -1
- package/dist/{171.dbc9f5b2817163416c56.bundle.js → 171.8f776b3339a02d4177f2.bundle.js} +1 -1
- package/dist/{172.946bdd782f0275b9884f.bundle.js → 172.c468ce9c646c173d5a7f.bundle.js} +1 -1
- package/dist/{173.b8b00521f95d4aba2f9f.bundle.js → 173.50adf001265b609010d2.bundle.js} +1 -1
- package/dist/{174.911f8d2b06ca89f8c3a3.bundle.js → 174.1904d8d341c1771fd4e8.bundle.js} +1 -1
- package/dist/{175.f582f57e61e06b61b4b4.bundle.js → 175.2db920b9a065c1000a6b.bundle.js} +1 -1
- package/dist/{176.d9fc0b81b2953b785f9e.bundle.js → 176.e707680bb419334004af.bundle.js} +1 -1
- package/dist/{177.06beada483a3c4530d3e.bundle.js → 177.91c01025d11dbdbd9476.bundle.js} +1 -1
- package/dist/{178.dc278f0da09752d361cb.bundle.js → 178.187817c27b17d9360b0e.bundle.js} +1 -1
- package/dist/{179.f4e42a8c8b9eb5eaeb74.bundle.js → 179.01f66e46cf05d51a33a6.bundle.js} +1 -1
- package/dist/{18.ee45f234dbf94c7e2814.bundle.js → 18.90f671cf3c97c97e5b82.bundle.js} +1 -1
- package/dist/{180.9f2035bda77debb45e2c.bundle.js → 180.ca0e5f5df0a4ad862df1.bundle.js} +1 -1
- package/dist/{183.9a8142d365eab50ab7d6.bundle.js → 183.11c9d0e4592a5c5a2c71.bundle.js} +1 -1
- package/dist/{187.c89f00b398527bee26ea.bundle.js → 187.12693c3384e8c2c1fc65.bundle.js} +1 -1
- package/dist/{188.7e75f9c8409f9d908224.bundle.js → 188.862160c1f5ebd87f09f7.bundle.js} +1 -1
- package/dist/{189.58559840e81404c86872.bundle.js → 189.70422e07b43dab5dbcb6.bundle.js} +1 -1
- package/dist/{19.547ac3d529d4741e0cff.bundle.js → 19.ba0c978148343715a79d.bundle.js} +1 -1
- package/dist/{190.23de1e648923c57c5de9.bundle.js → 190.80daee3e34a56cf67f9b.bundle.js} +1 -1
- package/dist/{193.b5336580d9b1849b12d3.bundle.js → 193.c50bf4da4b6e6eccd7a8.bundle.js} +1 -1
- package/dist/{194.755b8df4b2dd4fc1c5e4.bundle.js → 194.510bceaaed6b6444c598.bundle.js} +1 -1
- package/dist/{195.0928127a9c096b869019.bundle.js → 195.b38c4f61b0af57e81c6b.bundle.js} +1 -1
- package/dist/{196.75b2886d663b05f6e2e4.bundle.js → 196.a1f2fcc36a9897095927.bundle.js} +1 -1
- package/dist/{197.38dcc5af239359644b83.bundle.js → 197.c3c4bb58e8dfde422a21.bundle.js} +1 -1
- package/dist/{198.442356545385965bbd9e.bundle.js → 198.7259b2dd4193106d5448.bundle.js} +1 -1
- package/dist/{199.d0f52eae00e4997299fc.bundle.js → 199.fac7a8faeddb8eb056cf.bundle.js} +1 -1
- package/dist/{2.1045166ecba51c8b93e5.bundle.js → 2.5a1c3220c519d29070ff.bundle.js} +2 -2
- package/dist/{20.3ada5ce82eb84da122f8.bundle.js → 20.a1bdd8399a6a51a601ae.bundle.js} +1 -1
- package/dist/{200.f1b287b032cd4499dd12.bundle.js → 200.12311f99b956ce538a9a.bundle.js} +1 -1
- package/dist/{201.b8d314499cb33b65585e.bundle.js → 201.343f666a1864faac9b81.bundle.js} +1 -1
- package/dist/{202.bf731cba90da2436ac3d.bundle.js → 202.19bb71680d959bb69cc7.bundle.js} +1 -1
- package/dist/{204.f781c5984d8060eb678f.bundle.js → 204.650f7ec1f82a0abe854c.bundle.js} +1 -1
- package/dist/{205.05d4a4ac8e9123c7b500.bundle.js → 205.73d4316aba11f69685a0.bundle.js} +1 -1
- package/dist/{206.6e7b582fb838b410fdeb.bundle.js → 206.87348349d08a30adfe92.bundle.js} +1 -1
- package/dist/207.b4e0ed1bb40e2bcf6cf4.bundle.js +1 -0
- package/dist/{208.61b9626ef8371b3366d6.bundle.js → 208.1cb310372fd5a6561b89.bundle.js} +1 -1
- package/dist/{209.1e83cf061191f60bb5ee.bundle.js → 209.3363d93d2efb2258b90d.bundle.js} +1 -1
- package/dist/{21.7c74d95df583201a0699.bundle.js → 21.8d3e63a2f5875dcfaca7.bundle.js} +1 -1
- package/dist/{210.b5bb325832f83596bccb.bundle.js → 210.e0c3298389d55519c46a.bundle.js} +1 -1
- package/dist/{211.f0b97ccd1215e8dd2f79.bundle.js → 211.2f2086dc512733f834c9.bundle.js} +1 -1
- package/dist/{213.04e0fadfdcb67c1ccc9d.bundle.js → 213.904b87fe88638fa860ae.bundle.js} +1 -1
- package/dist/{214.a761e9dbd6f032b694fa.bundle.js → 214.94246e747ea0f27767d3.bundle.js} +1 -1
- package/dist/{215.ce43c2db6d24089e5603.bundle.js → 215.376ec9fbb7f020cba0c4.bundle.js} +1 -1
- package/dist/{216.7515086f361a6245b09b.bundle.js → 216.73685c47844fac21340c.bundle.js} +1 -1
- package/dist/{217.2e12a90085c042f971ee.bundle.js → 217.4acdfe41f8f508c401a4.bundle.js} +1 -1
- package/dist/{218.31d21222e9978e8085c7.bundle.js → 218.23d5c5b68f6bcde4572b.bundle.js} +1 -1
- package/dist/{219.88d5c34bccaf06fd6d0d.bundle.js → 219.09dc44d1ec255159788b.bundle.js} +1 -1
- package/dist/22.421d4099235c120e3bdf.bundle.js +2 -0
- package/dist/{223.4ceb027f84293f3b2eb9.bundle.js → 223.2241b4a8460e45fe6cde.bundle.js} +1 -1
- package/dist/{224.ee51e5422a1dd53aeee3.bundle.js → 224.d91d61ce4a050ebf5574.bundle.js} +1 -1
- package/dist/{225.b7e040f97b2ebc9a861c.bundle.js → 225.37e61008f9c558fbcb85.bundle.js} +1 -1
- package/dist/{226.154c9b61e401eff99e3f.bundle.js → 226.6f7e28882ff9b5ad7cfe.bundle.js} +1 -1
- package/dist/227.c66d9038f3dbf7f19446.bundle.js +1 -0
- package/dist/{228.3aa01cfaea6432f582c2.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/{231.7e3e47f031029b7a9b6a.bundle.js → 231.07f8b07a6229b7efccf6.bundle.js} +1 -1
- package/dist/{232.8aa23a2eee0888f61b8e.bundle.js → 232.960b33cc7ef460f08872.bundle.js} +1 -1
- package/dist/{233.2d9399a6553b87d292ec.bundle.js → 233.e72cfb683e619f25968a.bundle.js} +1 -1
- package/dist/{234.4fa557a12b75a3baf485.bundle.js → 234.6891f7482bb44454ac60.bundle.js} +1 -1
- package/dist/{235.32264adcbe959a115b68.bundle.js → 235.7a5fc597d268171457c8.bundle.js} +1 -1
- package/dist/{237.399f3d86a51ecbadcd28.bundle.js → 237.fa38be2df8222e03a2ee.bundle.js} +1 -1
- package/dist/{238.0b98592bdbaf79ae0d7a.bundle.js → 238.06a024edf2fb4cf05145.bundle.js} +1 -1
- package/dist/{239.b0dded9896beea2a05cd.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.593bad338bf30575a472.bundle.js → 244.42df15649bf6fbb6ae28.bundle.js} +1 -1
- package/dist/{245.b20863a2ccbb64fe53a6.bundle.js → 245.0d38643706328b1baed8.bundle.js} +1 -1
- package/dist/{247.95963a9c901b345c2a9f.bundle.js → 247.8229753949301befe9d7.bundle.js} +1 -1
- package/dist/248.b16d2d06fefb398ef703.bundle.js +1 -0
- package/dist/{249.52d524f77f6be60d49b0.bundle.js → 249.0a068e835b94e2043bbf.bundle.js} +1 -1
- package/dist/{25.b4ef0514cf67fa14dadd.bundle.js → 25.4283e906c915f232dd2f.bundle.js} +1 -1
- package/dist/250.2254d9c1c0e8a5beed71.bundle.js +1 -0
- package/dist/{252.7635279320eb6a239ca1.bundle.js → 252.f011e1d343e4a00c142c.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.7f5642e727432bd6ff3d.bundle.js → 257.36b881ac4bcf848e28f6.bundle.js} +1 -1
- package/dist/{257.0bc18837a59d02bcb767.bundle.js → 258.8321c950b90a8f15b0a6.bundle.js} +1 -1
- package/dist/{258.468e5be7015024a40c88.bundle.js → 259.b00cb1b126cf8d458c67.bundle.js} +1 -1
- package/dist/{26.b09663905438d5e0e747.bundle.js → 26.73c69a12be6239cf9566.bundle.js} +2 -2
- package/dist/{259.0f461681b6909a59e29f.bundle.js → 260.d03fa5b869b733bea327.bundle.js} +1 -1
- package/dist/{260.9385058fed480ba9030f.bundle.js → 261.67a700b678c8033328fe.bundle.js} +1 -1
- package/dist/{261.b1e1eb194503a210dafd.bundle.js → 262.98b498dab7614d027278.bundle.js} +1 -1
- package/dist/{262.aef3d631f6d18ab2210c.bundle.js → 263.16a41a007b4a7e5ebb22.bundle.js} +1 -1
- package/dist/{263.7a02fde0b7b038003886.bundle.js → 264.470339e4a94ddbb274d4.bundle.js} +1 -1
- package/dist/{264.444a3cf33b22a6b61cb4.bundle.js → 265.990fa5974f1cf58a374b.bundle.js} +1 -1
- package/dist/{265.ca67da93ec8846ee88f9.bundle.js → 266.5f39042b3bf4743d8edf.bundle.js} +1 -1
- package/dist/{266.4af796128f0b3b91ee7e.bundle.js → 267.9ce9c7bb96ffd9d671b9.bundle.js} +1 -1
- package/dist/{267.a440b39768214550147e.bundle.js → 268.5589bbc57e2ebb420a1f.bundle.js} +1 -1
- package/dist/{268.25d03ac949ce6865530d.bundle.js → 269.288caed26aff5b00f6d9.bundle.js} +1 -1
- package/dist/{27.d08a19ce94cd4c6c3d34.bundle.js → 27.b0d33a93fa7077e40ff6.bundle.js} +1 -1
- package/dist/{269.68951622feff78bcb23d.bundle.js → 270.e9ffa72d075b6a58ce94.bundle.js} +1 -1
- package/dist/{270.760735c6f2fb27736669.bundle.js → 271.5e24cf3832610585483f.bundle.js} +1 -1
- package/dist/{271.48ef066c15b89c0ef5fc.bundle.js → 272.454bbf7ef91181f534c5.bundle.js} +1 -1
- package/dist/{272.b245c03cdaa0ad5072e7.bundle.js → 273.9b038599a001d5ac1f31.bundle.js} +1 -1
- package/dist/{273.d9baafa2a8931439fbe3.bundle.js → 274.a95f19ff813366a5ef87.bundle.js} +1 -1
- package/dist/{274.71db0c42104b588a6c4d.bundle.js → 275.364f5b07c2f8474949c0.bundle.js} +1 -1
- package/dist/{275.72a78697cab01477def9.bundle.js → 276.8669778e0f02fbaf1359.bundle.js} +1 -1
- package/dist/{276.79a816a8806d75e88497.bundle.js → 277.d6bcae3d265394d526b3.bundle.js} +1 -1
- package/dist/{277.89f5dd9ccd6e2f821274.bundle.js → 278.4b72240c92be90867667.bundle.js} +1 -1
- package/dist/{278.61662f0bcb1a9671901a.bundle.js → 279.30543bcc71ca936d4340.bundle.js} +1 -1
- package/dist/{28.554c6d5d8a14a1ee7182.bundle.js → 28.5d0ce77be09856232b24.bundle.js} +1 -1
- package/dist/{279.dfb4b85aefb5818824e8.bundle.js → 280.d348199223ecf9cecd79.bundle.js} +1 -1
- package/dist/{280.cf11048fde866074c4f3.bundle.js → 281.8aece5d8599fff8d14ca.bundle.js} +1 -1
- package/dist/{281.840b86089e1b8bd080d8.bundle.js → 282.5d37a44da02faf0fb797.bundle.js} +1 -1
- package/dist/{282.a9a83c1abbe7c2153a49.bundle.js → 283.b340a561c1afa4b3f297.bundle.js} +1 -1
- package/dist/{283.b39b007262985068075e.bundle.js → 284.cbb69a27e9bcded6ba2b.bundle.js} +1 -1
- package/dist/{284.62c192f1563600964bf6.bundle.js → 285.b30a4a122f6c27de6103.bundle.js} +1 -1
- package/dist/{285.b9425f91ce9fb23058ec.bundle.js → 286.f6c62a90e755adc06762.bundle.js} +1 -1
- package/dist/{286.a9ab317f853da1d4333e.bundle.js → 287.8bb14bbe169e89e1b2b6.bundle.js} +1 -1
- package/dist/{287.034b587d54e4ab503952.bundle.js → 288.9345bf900149ec91ab59.bundle.js} +1 -1
- package/dist/{288.7914bd27985475d11f05.bundle.js → 289.b2b24ddffb097ca701c0.bundle.js} +1 -1
- package/dist/{29.91dc63db7647528ebd4e.bundle.js → 29.c5ac5a3feca4eaa518a7.bundle.js} +1 -1
- package/dist/{289.da1df07952674740df5c.bundle.js → 290.2ea84ef2ad86f1c2d863.bundle.js} +1 -1
- package/dist/{290.ac405d3744deb57f4bf0.bundle.js → 291.4d040a1e236e406aa1de.bundle.js} +1 -1
- package/dist/{291.30c6e26ef3089d2a6f87.bundle.js → 292.2a9f08229b90a0427504.bundle.js} +1 -1
- package/dist/{292.21028c9b350fc161d4a8.bundle.js → 293.df46d21552d860c45398.bundle.js} +1 -1
- package/dist/{293.39714683e1f4eacc9325.bundle.js → 294.bdc65413d8e7bcfd697d.bundle.js} +1 -1
- package/dist/{294.907c09b471f72da1d788.bundle.js → 295.a114ad1b8a636323e5d8.bundle.js} +1 -1
- package/dist/{295.45c088acd720897346a0.bundle.js → 296.707abfe8b4d18d3198e2.bundle.js} +1 -1
- package/dist/{296.62c018f482a9330a2831.bundle.js → 297.b000b9d469a624b01215.bundle.js} +1 -1
- package/dist/{297.377ad2cd881b4fe78f45.bundle.js → 298.9d114949fba6dddcc7b7.bundle.js} +1 -1
- package/dist/{298.4698889e39f751d943c7.bundle.js → 299.79c639fcb1b54de984be.bundle.js} +1 -1
- package/dist/{3.46387e7948bf0752336d.bundle.js → 3.72e3071998a5aa3045f3.bundle.js} +2 -2
- package/dist/{30.6c5b49074ac06af91049.bundle.js → 30.de7e273062d0657d01de.bundle.js} +1 -1
- package/dist/{299.fd53c0387b6faa81365f.bundle.js → 300.7afa3a8aa332b422aa1d.bundle.js} +1 -1
- package/dist/{300.e61864e8bc342274abd9.bundle.js → 301.f91cc8bea08c5db19eff.bundle.js} +1 -1
- package/dist/{301.4fb1fb7c212ac5fce386.bundle.js → 302.7445c9a4e8af056b8cc4.bundle.js} +1 -1
- package/dist/{302.eba5cf7f0e5ff20aa3c0.bundle.js → 303.9fdacf8b8c443f7b8217.bundle.js} +1 -1
- package/dist/{303.740a5d2c455be704d879.bundle.js → 304.602469b7a9fec89b3555.bundle.js} +1 -1
- package/dist/{304.6ea4004c6da83008c7f1.bundle.js → 305.7dd9df0bedade69bbd5e.bundle.js} +1 -1
- package/dist/{305.60114e848d959fb56f52.bundle.js → 306.e8f7a45e7fe6afa1a564.bundle.js} +1 -1
- package/dist/{306.c3588aa36cc751742b70.bundle.js → 307.7f35f097388d622dd09c.bundle.js} +1 -1
- package/dist/{307.5cf989e284c672c7e62f.bundle.js → 308.ac64f16ed6c9f65b08f1.bundle.js} +1 -1
- package/dist/{308.8eb6581a6a087cf3beb1.bundle.js → 309.2e406070cb5adf9c2a2e.bundle.js} +1 -1
- package/dist/{31.c314747b9716e4173311.bundle.js → 31.8b63905275172e3ce73c.bundle.js} +1 -1
- package/dist/{309.3b450562045747a430ec.bundle.js → 310.4ed15bd416516b6086a3.bundle.js} +1 -1
- package/dist/{310.a01265d3c0b260c052ff.bundle.js → 311.c07b7d2776bd9b7204c6.bundle.js} +1 -1
- package/dist/317.539a83f222bfb863424b.bundle.js +1 -0
- package/dist/{317.98acd4037581c232c885.bundle.js → 318.50a10e61b351659669a1.bundle.js} +1 -1
- package/dist/{318.a05b290d37087e21d5b9.bundle.js → 319.07b537f2e1fa45daae36.bundle.js} +1 -1
- package/dist/{32.f247c759a308094e52ec.bundle.js → 32.a21378622614124fc023.bundle.js} +1 -1
- package/dist/{319.52d4c899fc21abb073a6.bundle.js → 320.87c72b25fd048e43fd12.bundle.js} +1 -1
- package/dist/{320.5780cd7c15894fb7d5f3.bundle.js → 321.af2e33bfd4a89e90a3b7.bundle.js} +1 -1
- package/dist/{321.ccc9466dd7b50b58efd0.bundle.js → 322.178da090de958969ee95.bundle.js} +1 -1
- package/dist/{322.61882e32cb8ff5d0ac42.bundle.js → 323.88dfb6b03490c60b427e.bundle.js} +1 -1
- package/dist/{323.9cdc521583861ef7d691.bundle.js → 324.cff9069709afaa207cbf.bundle.js} +1 -1
- package/dist/{324.18784e1b5b2d0abe1dd3.bundle.js → 325.0cec7cb7809cfb51b811.bundle.js} +1 -1
- package/dist/{325.0ac20b17a40c08f4d02e.bundle.js → 326.1e041209f2856388aefb.bundle.js} +1 -1
- package/dist/{326.7061b8ac29132fef01e8.bundle.js → 327.9aa83c9626391fdccd0a.bundle.js} +1 -1
- package/dist/{327.5324c193e9a1a272bcef.bundle.js → 328.d3b9ec522db9ea2b40e7.bundle.js} +1 -1
- package/dist/{328.3af1aa532908e1a419c8.bundle.js → 329.76a8c31d1416ff070581.bundle.js} +1 -1
- package/dist/{33.5b384171bc7249b55963.bundle.js → 33.4d10c139640859c6facb.bundle.js} +1 -1
- package/dist/{329.0a924dc3aa47965caed7.bundle.js → 330.17d9fc7092fbb5376ad5.bundle.js} +1 -1
- package/dist/{330.212ca2f0efe3fdff1f28.bundle.js → 331.72550834ebd98825cff4.bundle.js} +1 -1
- package/dist/{331.ccc8a037fb43c77a30a9.bundle.js → 332.baa17fb5d46d9f500d58.bundle.js} +1 -1
- package/dist/{332.987a9a868c50f9f69bc6.bundle.js → 333.8473d9d0e59977006ec1.bundle.js} +1 -1
- package/dist/{333.95634a0b1e95c3da0e5e.bundle.js → 334.63e62f07e83fb55ee3ac.bundle.js} +1 -1
- package/dist/{334.b428358000898f716bb4.bundle.js → 335.b455d0c1e91b7085684b.bundle.js} +1 -1
- package/dist/{335.46132546438846af8acf.bundle.js → 336.2593a403d137da998ab7.bundle.js} +1 -1
- package/dist/{336.cd436b91dab720f38d7f.bundle.js → 337.207acb52f033fcbcc14e.bundle.js} +1 -1
- package/dist/{337.9c1364dcd6ad396b59c5.bundle.js → 338.bd56ea9f343686e8ddfa.bundle.js} +1 -1
- package/dist/{338.d74c5e4cb57553185e16.bundle.js → 339.808f22c90c9535d7d056.bundle.js} +1 -1
- package/dist/{34.a679acf3de6c9a78d4ab.bundle.js → 34.dfde4d36337fd5a7d51a.bundle.js} +1 -1
- package/dist/{339.62834d08f4919fcf0295.bundle.js → 340.427f24f1ff7800e051a6.bundle.js} +1 -1
- package/dist/{340.817b046248f6a225349c.bundle.js → 341.7458c41fa14d5855fed9.bundle.js} +1 -1
- package/dist/{341.0b1619913d91524dc929.bundle.js → 342.baf0064845e5a02f2fa2.bundle.js} +1 -1
- package/dist/{342.bd8fe31e81474008c10c.bundle.js → 343.9264ef42da1a81dc01e2.bundle.js} +1 -1
- package/dist/{343.c8c94af8f79ad5d2e7bd.bundle.js → 344.ea07eff4352299e91792.bundle.js} +1 -1
- package/dist/{344.126a4052cc71aed3c054.bundle.js → 345.c1f98fd181cfc058a674.bundle.js} +1 -1
- package/dist/{345.d06ff51c885469c2f459.bundle.js → 346.e18d15a0d654f7020267.bundle.js} +1 -1
- package/dist/{346.920c2338f0876455d1cd.bundle.js → 347.5ae52ad022076cebc98b.bundle.js} +1 -1
- package/dist/{347.582553a13245778e20e4.bundle.js → 348.e384c1330c6c02a8cbce.bundle.js} +1 -1
- package/dist/{348.c6b1ac8d0432da01864d.bundle.js → 349.ffe280435cb5b4dbc32f.bundle.js} +1 -1
- package/dist/{35.85ac5e22c134d6a84fa6.bundle.js → 35.c2b997ef90bbf4667fcd.bundle.js} +1 -1
- package/dist/{349.e8e86c44622b16114a53.bundle.js → 350.4fe2b334b61ab206a887.bundle.js} +1 -1
- package/dist/{350.8f33af1501b6b6d1608f.bundle.js → 351.238886e694cddbce7a5b.bundle.js} +1 -1
- package/dist/{351.d6c0e13ba99b9def2553.bundle.js → 352.bee54a3fd5eb57170ab5.bundle.js} +1 -1
- package/dist/{352.c75bd217e6af63b9e1db.bundle.js → 353.f2971cb75c24a461587e.bundle.js} +1 -1
- package/dist/{353.8f37a5893488443f2e73.bundle.js → 354.d6ecf14ab2e6a10c974f.bundle.js} +1 -1
- package/dist/{354.7d52606017657766f54e.bundle.js → 355.980c02b324dad42b864e.bundle.js} +1 -1
- package/dist/{355.e8974bc859beb279dae7.bundle.js → 356.0c0cb87286734584dd0f.bundle.js} +1 -1
- package/dist/{356.e847ac0bda9a3d3d6515.bundle.js → 357.57fc6817eb60156ecff9.bundle.js} +1 -1
- package/dist/{357.530b8eab5c9d6ec85bb4.bundle.js → 358.00fbdcb2fbcfa30eb71a.bundle.js} +1 -1
- package/dist/{358.72a45fc49b5af56c8c83.bundle.js → 359.4aca3f259a23b5038ca5.bundle.js} +1 -1
- package/dist/36.9175ff19c49b4e32c6ce.bundle.js +1 -0
- package/dist/{359.74a5aaf1f07331f0fce8.bundle.js → 360.0e250b26c1ab9613559a.bundle.js} +1 -1
- package/dist/{360.5ae2a7fa8276fd593054.bundle.js → 361.0d2df26c4f7cd4aa9736.bundle.js} +1 -1
- package/dist/{361.ee3de77e66f7aeeabbc9.bundle.js → 362.34cc651b36ad9d19ca36.bundle.js} +1 -1
- package/dist/{362.8064f0b57eabe8a22daa.bundle.js → 363.1d19f99bf6a7aaf28776.bundle.js} +1 -1
- package/dist/{363.25d8036dd1c6113142fa.bundle.js → 364.5682c86fb09af3fdbb32.bundle.js} +1 -1
- package/dist/{364.bac4e345df7064c7c831.bundle.js → 365.920400a2703b5ae19133.bundle.js} +1 -1
- package/dist/{365.2b5fb57c8ec547737679.bundle.js → 366.9b618919ae47b957f3a3.bundle.js} +1 -1
- package/dist/{366.6ccd17f983a50aec2a68.bundle.js → 367.6c5ee2773a79a50e226e.bundle.js} +1 -1
- package/dist/{367.bd054621a4d5a14440eb.bundle.js → 368.bc2b4971ab9f3094004d.bundle.js} +1 -1
- package/dist/{368.c6f86cd91f7620d802bc.bundle.js → 369.d60e61d8b761876b6a31.bundle.js} +1 -1
- package/dist/37.eb67d499239c4763932f.bundle.js +1 -0
- package/dist/{369.b3feddd586e2b74bca4d.bundle.js → 370.4fb6df487083484497fe.bundle.js} +1 -1
- package/dist/{370.470582b1e445f6b8452a.bundle.js → 371.b1d4d0c1890966e34395.bundle.js} +1 -1
- package/dist/{371.7af95b0719a21f2a3c5d.bundle.js → 372.af48f00db28f03bc45bc.bundle.js} +1 -1
- package/dist/{372.93c770810fd312a80d57.bundle.js → 373.b3932d31b9ee77c20097.bundle.js} +1 -1
- package/dist/{373.9cd13cc8d3eb6a33cc4e.bundle.js → 374.dd3c6e969a4e504826d0.bundle.js} +1 -1
- package/dist/{374.adecd7b8570e3a9af29a.bundle.js → 375.ba9408df2ede9e451a2e.bundle.js} +1 -1
- package/dist/{375.93939a0b395afc7b8785.bundle.js → 376.f6b57ce0f97aabdc675c.bundle.js} +1 -1
- package/dist/{376.a99027c9da6e16e18ce3.bundle.js → 377.bee6a6edc6750a23a3d3.bundle.js} +1 -1
- package/dist/{377.7c982d01ad6902aa11fe.bundle.js → 378.612178aa3dae146a8871.bundle.js} +1 -1
- package/dist/{378.c83a099fc04d829f42fa.bundle.js → 379.a27466e91e0efd164ce0.bundle.js} +1 -1
- package/dist/{38.deabf19067d9014d2e47.bundle.js → 38.9762682c14dd82db8f90.bundle.js} +1 -1
- package/dist/380.82c22d1d8a846226b974.bundle.js +1 -0
- package/dist/{380.4dbff3c0418f325f225b.bundle.js → 381.48f54c2f85df19f2aa85.bundle.js} +1 -1
- package/dist/{381.272e24d29dfe31967284.bundle.js → 382.e0b470b574035bee27d4.bundle.js} +1 -1
- package/dist/{382.0272ca71acd6c581c12e.bundle.js → 383.3e806a60df03bac9c821.bundle.js} +1 -1
- package/dist/{383.8c65069d2d28c8f447e7.bundle.js → 384.18bd7d8fe60814e473c6.bundle.js} +1 -1
- package/dist/{384.3568a7e387ccb1a1a1e6.bundle.js → 385.8580c2280d17a66f49c5.bundle.js} +1 -1
- package/dist/{385.84d2d363225b87bdad81.bundle.js → 386.1c032e92f5d20915527d.bundle.js} +1 -1
- package/dist/{386.cc46cb544e66bd95ba20.bundle.js → 387.4db8d808a82bb7523f33.bundle.js} +1 -1
- package/dist/{387.4b3c3a13839e8ebffe53.bundle.js → 388.f8aac673dc45a5445e93.bundle.js} +1 -1
- package/dist/389.2b8ec720c6e833befc74.bundle.js +1 -0
- package/dist/{39.74d0147b651a2921bfa5.bundle.js → 39.cc2eab1715e30f1dad71.bundle.js} +1 -1
- package/dist/390.86edacf0ea98943071af.bundle.js +1 -0
- package/dist/{390.f19d6f2c0fa69b846fac.bundle.js → 391.6427098b78a42177c068.bundle.js} +1 -1
- package/dist/{391.df84d8db6f80d1cfce85.bundle.js → 392.8eaa08b34afb9d3c3792.bundle.js} +1 -1
- package/dist/{392.fe2934219941c93e53ab.bundle.js → 393.e58b899fa345dee02ac6.bundle.js} +1 -1
- package/dist/{393.a424b5a07cbc92499695.bundle.js → 394.ae0420fcabd869157187.bundle.js} +1 -1
- package/dist/{4.6874a674be5e66d6010d.bundle.js → 4.7b26ae3c486b50349043.bundle.js} +1 -1
- package/dist/{40.bae4d8b899e2260d4217.bundle.js → 40.ac2205773eaafdbb3563.bundle.js} +1 -1
- package/dist/{41.7f93ef52f04a6a8941a1.bundle.js → 41.6cda4247c4e6cdb6542a.bundle.js} +1 -1
- package/dist/{42.c00198433fd0b776a783.bundle.js → 42.5820b0041a692de4eb8d.bundle.js} +1 -1
- package/dist/{43.81cdf306217a195fe044.bundle.js → 43.afeb12fc559f12e973db.bundle.js} +1 -1
- package/dist/{44.477255f5019965fc8828.bundle.js → 44.f0901e0abe43ea7a898e.bundle.js} +1 -1
- package/dist/{45.276ded2fb0f97d0174a0.bundle.js → 45.27168510290727e3ecdb.bundle.js} +1 -1
- package/dist/46.195e4e42ab64d2430ed5.bundle.js +1 -0
- package/dist/{46.f67ae5c4ee8b09063342.bundle.js → 47.c85867c005fc8903a887.bundle.js} +1 -1
- package/dist/{47.671b2dd510c22032ba65.bundle.js → 48.d5ea8f391640308bbcd8.bundle.js} +1 -1
- package/dist/{48.1ffb25241ca90bfd1074.bundle.js → 49.583b0583a80750253c19.bundle.js} +1 -1
- package/dist/{5.ffb1a5bbbd546de34e62.bundle.js → 5.7b6b14d384cc99866f24.bundle.js} +1 -1
- package/dist/50.6ec1bafbdd1414e0002d.bundle.js +1 -0
- package/dist/{51.238e197f2070ea110ff5.bundle.js → 51.bfd314f2bba3c733d2e7.bundle.js} +1 -1
- package/dist/{52.2d89a2d4e1ef7f0084bb.bundle.js → 52.575b7f0607c0bd7d8f35.bundle.js} +1 -1
- package/dist/{53.e1d2a90d8734099f23fe.bundle.js → 53.4a87b3dcd191cb319ecf.bundle.js} +1 -1
- package/dist/{54.b82f0985932100b7619f.bundle.js → 54.fce153121f81edaaf8c9.bundle.js} +1 -1
- package/dist/{55.06c2948b92d3ea48b30d.bundle.js → 55.d8f0848f95d1dc1224d0.bundle.js} +1 -1
- package/dist/{56.6b4f9d5058cb928a5c1c.bundle.js → 56.3d223ff6a7027aaf4222.bundle.js} +1 -1
- package/dist/{57.046acb83c27892958839.bundle.js → 57.841a76b910f4aeb6d346.bundle.js} +1 -1
- package/dist/{58.280625b370aecc781978.bundle.js → 58.297babf6b2bff44c12d9.bundle.js} +1 -1
- package/dist/{59.326d4c5c932c80e4e517.bundle.js → 59.b110322dea862519c3da.bundle.js} +1 -1
- package/dist/6.357ec507621869997c53.bundle.js +1 -0
- package/dist/{60.d8d342663dadd63c7d28.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.a0e63e0984c332c50110.bundle.js → 63.2f52b8251ea20e7114e4.bundle.js} +2 -2
- package/dist/{63.9cd306ea7fa604dd20e9.bundle.js → 64.fc4b203d6801e8b2cb03.bundle.js} +1 -1
- package/dist/{64.c66a8271861ff3be44dd.bundle.js → 65.bd90f480aaac8ab6a62d.bundle.js} +1 -1
- package/dist/{65.ce24a6b4c331abce8a87.bundle.js → 66.a0165643326bf0fd6e45.bundle.js} +1 -1
- package/dist/{66.7f8a616898e1f7b82bcb.bundle.js → 67.d8ecb3b1cd08f4014bfb.bundle.js} +1 -1
- package/dist/68.aff4a20f5bc96a1419ee.bundle.js +1 -0
- package/dist/{68.e6f360d874e28ec0172c.bundle.js → 69.5a4556693688fa5e26e0.bundle.js} +1 -1
- package/dist/{7.1ab6fd0419611ee43426.bundle.js → 7.678a56ac42543ff54f0f.bundle.js} +1 -1
- package/dist/{69.37b0954aadcebf8d5dd8.bundle.js → 70.a0f8034299faa2f6ab75.bundle.js} +1 -1
- package/dist/{70.661eb20259bb7fc8fb95.bundle.js → 71.cbb57dfb91a6a2e106af.bundle.js} +1 -1
- package/dist/{71.9843c14baa4bb2dde9e2.bundle.js → 72.24a71af9fe0d66223c95.bundle.js} +1 -1
- package/dist/{72.351c12ddb821e76d05c7.bundle.js → 73.0401dbcda81badc90b10.bundle.js} +1 -1
- package/dist/{73.faf0eaf848b09bf956dc.bundle.js → 74.4e59c7982d0dad1714e7.bundle.js} +1 -1
- package/dist/{74.d45f796b9a14f803536e.bundle.js → 75.55b2254ad7d4ceed8959.bundle.js} +1 -1
- package/dist/76.ed7b48a3cc473945ccba.bundle.js +1 -0
- package/dist/{77.5c32ef9bef825ac7a321.bundle.js → 77.f74d7b9c7522c9427b39.bundle.js} +1 -1
- package/dist/{78.c3adcb24a209da6c4cfb.bundle.js → 78.0516889e88c7a0af33bb.bundle.js} +1 -1
- package/dist/{79.27440c831f8bbc3a7b5a.bundle.js → 79.58c2a93aae41ce74fab8.bundle.js} +1 -1
- package/dist/{8.5b802c6713ee7fb07b43.bundle.js → 8.81d8b3bb065afeb08360.bundle.js} +1 -1
- package/dist/{80.f647b339b6ba54089eeb.bundle.js → 80.5e8dae199ab50de40921.bundle.js} +1 -1
- package/dist/{81.c4205dfc9a8892c0de65.bundle.js → 81.ffdf6bc5232d8a241ad6.bundle.js} +1 -1
- package/dist/{82.4b590557f3ba6dad7536.bundle.js → 82.9eb734602aec23f83632.bundle.js} +1 -1
- package/dist/{83.8824ca32a8f597415688.bundle.js → 83.725028846ee253436a03.bundle.js} +1 -1
- package/dist/{84.5a1dd7db83ee83d8c565.bundle.js → 84.032d2e2a4130d57bdb8b.bundle.js} +1 -1
- package/dist/{85.9233857e6859f31c7721.bundle.js → 85.eedc74a4c0c7e98a5e30.bundle.js} +1 -1
- package/dist/{86.df715086cb3c4e8052dc.bundle.js → 86.c85fcd75cbecaef0e936.bundle.js} +1 -1
- package/dist/{87.9064bc5cde8d4fa97f59.bundle.js → 87.59863379688b54dccfaa.bundle.js} +1 -1
- package/dist/{89.82d7ddb3f05a0a5b5b3c.bundle.js → 89.6820e4fc3caf6707d43c.bundle.js} +1 -1
- package/dist/{9.55b9e707a7ef0f82bcd1.bundle.js → 9.1a9f6211a9f06c9ba0df.bundle.js} +1 -1
- package/dist/{90.f6225d1b922aa62816fd.bundle.js → 90.ae10f084b83fd0fd29b4.bundle.js} +1 -1
- package/dist/{91.5226bd9321f33612c966.bundle.js → 91.b845def1c3068aa07148.bundle.js} +1 -1
- package/dist/{92.defe00bf0a1f18255ab6.bundle.js → 92.4d8f669441b95a34ec48.bundle.js} +1 -1
- package/dist/{93.00fbb729c3de32014526.bundle.js → 93.b42cb51b73c930deebfd.bundle.js} +1 -1
- package/dist/{94.7d3d1427a56cecca82d3.bundle.js → 94.00cbe462754df578a9ca.bundle.js} +1 -1
- package/dist/{96.7cc86300aeac5a8128eb.bundle.js → 96.eb73b3aec448bb3e44bc.bundle.js} +1 -1
- package/dist/{98.2905de59c59e79242346.bundle.js → 98.e7ce23f2e26626e8e422.bundle.js} +1 -1
- package/dist/{99.081ae98c7bbd579a54d9.bundle.js → 99.ea41a6b2ea895615b2fb.bundle.js} +1 -1
- package/dist/{bundle.eb7cff0aedbdc947d0e2.bundle.js → bundle.a50b4410f74f90e68cca.bundle.js} +13 -13
- package/dist/css/ttyg/agent-settings-modal.css +4 -2
- package/dist/css/ttyg/chat-item-details.css +2 -2
- package/dist/i18n/locale-en.json +3 -2
- package/dist/i18n/locale-fr.json +3 -2
- package/dist/index.html +3 -3
- 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/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +64 -57
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +25 -24
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/{main.82de0694b7d19a4cab61.bundle.js → main.014ea04a26eb617c4024.bundle.js} +1 -1
- 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.d1843ca566e17b4b1389.bundle.js → polyfills-dom.22135bdcc72573088982.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.04cef52d1346a38cf00c.bundle.js → vendor.8ea54fa36da2ce4394ca.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.61f9dd1f3887c91e25bb.bundle.js → vendors~polyfills-core-js.c4633b3e70914563160a.bundle.js} +1 -1
- package/package.json +2 -2
- package/dist/103.f3f23e844de200847c30.bundle.js +0 -1
- package/dist/207.48cb3bd030543ce08b4d.bundle.js +0 -1
- package/dist/22.7a22f130166bbcfdb732.bundle.js +0 -2
- package/dist/227.3911bd60f0a93164efb7.bundle.js +0 -1
- package/dist/229.a6db6a971efdcd35f9d5.bundle.js +0 -1
- package/dist/23.095ef6bddb907243daba.bundle.js +0 -2
- package/dist/24.ffb4eadf2878e827c89d.bundle.js +0 -2
- package/dist/240.397bbb478ff40d668bc5.bundle.js +0 -1
- package/dist/241.938f0e227f1f3761b18c.bundle.js +0 -1
- package/dist/248.c2aeb2bcdfcb57a23a3f.bundle.js +0 -1
- package/dist/250.8e3d6340175a20a61d25.bundle.js +0 -1
- package/dist/254.5ac93995961700e483f7.bundle.js +0 -1
- package/dist/316.36e1f90aec20170f0aee.bundle.js +0 -1
- package/dist/36.274634c99ad83311ecb5.bundle.js +0 -1
- package/dist/37.29e0bf775d0f5f018502.bundle.js +0 -1
- package/dist/379.6547fe36779f3b2f4a82.bundle.js +0 -1
- package/dist/388.f3794c0b9cc5b82118d9.bundle.js +0 -1
- package/dist/389.b35dc3ef93611e0dd78a.bundle.js +0 -1
- package/dist/49.f72052e5055b2af12b37.bundle.js +0 -1
- package/dist/50.7df502b78e66a8cafea4.bundle.js +0 -1
- package/dist/6.ccda5918e23a9aa6945c.bundle.js +0 -1
- package/dist/61.a294b07bd697d2f31d0c.bundle.js +0 -1
- package/dist/67.b717a0c68a33b11e4418.bundle.js +0 -1
- package/dist/75.23f38593d25799d118cd.bundle.js +0 -1
- package/dist/76.ed46e801207efea41499.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{295:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{186:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{198:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{87:function(r,n,e){"use strict";e.r(n);var t=e(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{87:function(r,n,e){"use strict";e.r(n);var t=e(530),o=e(528),s=e.n(o);const c={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function a(r){const n=Object(t.a)().use(s.a,c);return{renderMarkdown:e=>{try{return r.trustAsHtml((o?Object(t.a)().use(s.a,o):n).render(e))}catch(n){return console.error("Error rendering markdown:",n),r.trustAsHtml(e)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",a),a.$inject=["$sce"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[14,64,83,84,85,127,128,129,130,132,133,275],{185:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},186:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},187:function(e,t,o){"use strict";o.r(t);o(83);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},188:function(e,t,o){"use strict";o.r(t);o(83);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},189:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},190:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},191:function(e,t,o){"use strict";o.r(t);o(93);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},192:function(e,t,o){"use strict";o.r(t);o(83),o(93);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},280:function(e,t,o){"use strict";o.r(t);o(83),o(93),o(185),o(186),o(187),o(188),o(189),o(190),o(191),o(192);var n=o(30),r=o(86),s=o(94);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},83:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},93:function(e,t,o){"use strict";o.r(t);o(38);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},94:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14,65,83,84,85,127,128,129,130,132,133,276],{186:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},187:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},188:function(e,t,o){"use strict";o.r(t);o(83);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},189:function(e,t,o){"use strict";o.r(t);o(83);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},190:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},191:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},192:function(e,t,o){"use strict";o.r(t);o(93);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},193:function(e,t,o){"use strict";o.r(t);o(83),o(93);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},281:function(e,t,o){"use strict";o.r(t);o(83),o(93),o(186),o(187),o(188),o(189),o(190),o(191),o(192),o(193);var n=o(30),r=o(86),s=o(94);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},83:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},93:function(e,t,o){"use strict";o.r(t);o(38);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},94:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{199:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{213:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{297:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{211:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{299:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{215:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{301:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{222:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{221:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[149],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[149],{220:function(e,r,t){"use strict";t.r(r);t(11);function n(e,r,t,n,s,a,o,i,c,l,u,p,d,h,g,f,m){e.classHierarchyData={},e.instancesObj={},e.instancesQueryObj={},e.instancesObj.items=[],e.instancesNotFiltered=[],e.isWarningShowed=!1,e.onopen=e.onclose=()=>angular.noop(),e.currentBrowserLimit=2e3,d.firefox?e.currentBrowserLimit=50:(d.safari||d.msie||d.msedge)&&(e.currentBrowserLimit=400);const C={};let y=0,S=0;r.key="",C.get=function(r,t,n){return c.initLazyList(r,t,n,y,e.instancesObj.items)};let w=allGraphs;const b=function(){if(e.getActiveRepository())return f.resolveGraphs(n.getActiveRepository()).success((function(r){e.graphsInRepo=r.results.bindings.length>1002?r.results.bindings.slice(0,1002):r.results.bindings,R()})).error((function(r){e.repositoryError=getError(r),o.error(getError(r),m.instant("graphexplore.error.getting.graphs"))}))},R=function(){const r=h.get("classHierarchy-selectedGraph-"+n.getActiveRepository());null!==r&&e.graphsInRepo.some(e=>e.contextID.uri===r.contextID.uri)?w=r:h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},v=function(){return e.instancesObj.items.length<1e3?m.instant("graphexplore.search.class.instances"):m.instant("graphexplore.search.first.class.instances")};r.$watch((function(){return r.key}),(function(){y=0,_.each(e.instancesObj.items,(function(e){r.key>e&&y++})),S++})),C.revision=function(){return S},e.adapterContainer={adapter:{remain:!0}};const E=[];E.push(e.$on("goToDomainRangeGraphView",(function(e,r){I(r)}))),E.push(e.$on("classCount",x)),E.push(e.$on("repositoryIsSet",(function(){if(!s.isLicenseValid())return;if(D===n.getActiveRepository())return;D=n.getActiveRepository();if(e.repositoryError=null,!D)return;w=allGraphs,b().then(O)}))),E.push(r.$on("$translateChangeSuccess",()=>{e.instancesSearchPlaceholder=v()}));function x(r,t,n){e.classCountSlider.options&&e.classCountSlider.options.ceil!==t&&(e.classCountSlider={});var s;e.classCountSlider.value||(e.showExternalElements=!0,e.classCountSlider={value:t,options:{floor:1,ceil:t,vertical:!0,showSelectionBar:!0,onChange:function(){u(L,100,!0)}}},null===h.get(g.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE)&&t>e.currentBrowserLimit&&(s=e.currentBrowserLimit,d.chrome?o.warning(m.instant("graphexplore.disabling.animations",{classLimit:s}),m.instant("graphexplore.reducing.visual.effects")):o.warning(m.instant("graphexplore.browser.performance",{browser:d.name,classLimit:s}),m.instant("graphexplore.reducing.visual.effects"))));const a=h.get(g.CLASS_HIERARCHY_SWITCH_PREFIXES);null!=a&&"true"!==a&&(e.showExternalElements=!0),n?e.classCountSlider.value=n:t>=1500&&(e.classCountSlider.value=1500,o.warning(m.instant("graphexplore.class.count.slider",{count:1500}),m.instant("graphexplore.reducing.class.count"))),t>=25&&!window.ActiveXObject&&"ActiveXObject"in window&&!e.isWarningShowed&&(e.classCountSlider.value=25,e.isWarningShowed=!0,o.warning(m.instant("graphexplore.class.count.browser",{count:25}),m.instant("graphexplore.reducing.class.count"))),u((function(){e.$broadcast("reCalcViewDimensions");const r=document.getElementById("rzslider");let t=0;r.addEventListener("wheel",(function(r){r.preventDefault(),r.stopPropagation();const n=(new Date).getTime();if(!(n-t>100))return;t=n;let s=e.classCountSlider.value;const a=e.classCountSlider.options.step||1;r.deltaY<=-1?s+=a:r.deltaY>=1&&(s-=a),s=Math.max(e.classCountSlider.options.floor,Math.min(e.classCountSlider.options.ceil,s)),s!==e.classCountSlider.value&&e.$apply((function(){e.classCountSlider.value=s,u(L,100,!0)}))}))}),200),L()}function L(){e.currentSliderValue=e.classCountSlider.value}function I(e){const r=e.data.fullName,n=e.data.name;i.checkDomainRangeData(r).success((function(e,s){204===s?o.warning(m.instant("graphexplore.no.domain.range",{name:n})):(h.set(g.CLASS_HIERARCHY_LAST_SELECTED_CLASS,t.hash()),t.hash("").path("domain-range-graph").search("uri",r).search("name",n))})).error((function(){o.error(m.instant("graphexplore.error.request.failed",{name:n}))}))}function A(){t.replace().hash("1"),e.instancesObj.items=[],e.showExternalElements=!1,e.showClassInfoPanel=!1,h.clearClassHieararchyState(),e.hidePrefixes="true"===h.get(g.CLASS_HIERARCHY_HIDE_PREFIXES),e.currentSliderValue=void 0,e.classHierarchyData={},r.$broadcast("angucomplete-alt:clearInput")}function H(){e.hasClassHierarchy()&&u((function(){$("#toolbar").removeClass("ng-hide")}),0)}E.push(e.$on("$destroy",()=>{E.forEach(e=>e())})),e.datasource=C,e.goToDomainRangeGraphView=I,e.toggleClassInfoSidePanel=function(){e.showClassInfoPanel=!e.showClassInfoPanel,r.$broadcast("sidePanelClosed")},e.getActiveRepositoryNoError=function(){if(!e.repositoryError)return n.getActiveRepository()},e.isSystemRepository=function(){return n.isSystemRepository()},e.confirmReloadClassHierarchy=function(){p.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.hierarchy"),warning:!0}).result.then((function(){A(),e.loader=!0,e.hierarchyError=!1,i.reloadClassHierarchy(w.contextID.uri).success((function(r){e.loader=!1,e.classHierarchyData=r,H(),x()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))}))}))},e.focusOnRoot=function(){e.$broadcast("rootFocus")},e.copyToClipboard=function(e){p.openCopyToClipboardModal(e)},e.searchedClassCallback=function(e){if(e){const t={name:e.title};r.$broadcast("searchedClass",t)}},e.instancesQueryObj.query="",e.instancesFilterFunc=function(r){return r.resolvedUri.toLowerCase().indexOf(e.instancesQueryObj.query.toLowerCase())>=0},b(),e.$watch("instancesObj.items",(function(){e.instancesObj.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedClass",(function(){e.showClassInfoPanel&&function(r){const t=r.data.fullName;let n=r.data.name;if(n===t){const e=n.lastIndexOf("#");n=n.substring(e+1)}e.encodedUri=encodeURIComponent(t);const s=encodeURIComponent("prefix onto:<http://www.ontotext.com/>\nselect ?s {\n ?s a <"+t+"> .\n}");e.viewInstancesUri="sparql?name="+n+"&infer=true&sameAs=false&query="+s+"&execute=true",i.getRdfsLabelAndComment(t).success((function(r){e.rdfsLabel=r.label,e.rdfsComment=r.comment,e.expanded=!1})).error((function(){o.error("Error getting rdfs:label and rdfs:comment")})),e.instancesQueryObj.query="",e.instancesLoader=!0,i.getClassInstances(t).success((function(r){e.instancesObj.items=[],_.each(r,(function(r,t){const n={};n.type=r.startsWith("<<")&&r.endsWith(">>")?"triple":"uri",n.absUri=encodeURIComponent(r),n.absUriNonEncoded=r,n.resolvedUri=t,e.instancesObj.items.push(n)})),e.instancesLoader=!1,e.instancesSearchPlaceholder=v(),e.instancesNotFiltered=e.instancesObj.items})).error((function(){o.error(m.instant("graphexplore.error.instances.request"))}))}(e.selectedClass)})),$(document).ready((function(){$(".prefix-toggle").click((function(){$(".tooltip").hide()}))}));let D=n.getActiveRepository();function O(){A(),!e.isSystemRepository()&&e.isLicenseValid()&&(e.hierarchyError=!1,e.loader=!0,i.getClassHierarchyData(w.contextID.uri).success((function(r,t){e.showExternalElements=!0,e.loader=!1,e.classHierarchyData=r,207===t&&o.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed")),H()})).error((function(r){e.loader=!1,e.hierarchyError=getError(r),o.error(getError(r),m.instant("graphexplore.error.rdf.class.request"))})))}e.hasClassHierarchy=function(){return e.classHierarchyData.classCount&&e.getActiveRepositoryNoError()&&!e.isSystemRepository()},e.isLicenseValid=function(){return s.isLicenseValid()},e.chosenGraph=function(e){w=e,O(),h.set("classHierarchy-selectedGraph-"+n.getActiveRepository(),w)},e.getSelGraphValue=function(){return w.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelGraphValue()}}angular.module("graphdb.framework.graphexplore.controllers.class",["pageslide-directive","ngAnimate","ui.scroll.jqlite","ui.scroll","angucomplete-alt","rzSlider","toastr","graphdb.framework.utils.localstorageadapter"]).controller("RdfClassHierarchyCtlr",n),n.$inject=["$scope","$rootScope","$location","$repositories","$licenseService","$window","toastr","GraphDataRestService","UiScrollService","RdfsLabelCommentService","$timeout","ModalService","bowser","LocalStorageAdapter","LSKeys","RDF4JRepositoriesRestService","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[15,44,60,74,222,230,241,242,243,244,247,305],{133:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},262:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},263:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(84),n=t(133),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},264:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},284:function(e,i,t){"use strict";t.r(i);t(82),t(11),t(17);var r=t(90),n=t(15),s=t(72),a=t(78),y=t(264),o=t(133),l=t(76),d=t(262),u=t(106),c=t(263);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},78:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},82:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},84:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},90:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(84);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[15,44,60,75,222,230,241,242,243,244,247,306],{134:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},263:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},264:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(84),n=t(134),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},265:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},285:function(e,i,t){"use strict";t.r(i);t(82),t(11),t(17);var r=t(90),n=t(15),s=t(72),a=t(78),y=t(265),o=t(134),l=t(76),d=t(263),u=t(106),c=t(264);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},78:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},82:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},84:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},90:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(84);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[150],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[150],{230:function(e,t){function r(){return{restrict:"AE",scope:{filterQueryObj:"=",filterFunction:"&",listItemsObj:"=",listItemsNotFiltered:"=",searchPlaceholder:"@"},templateUrl:"js/angular/graphexplore/templates/listItemsSearchFilterTemplate.html",link:function(e){e.filterFunction=e.filterFunction(),e.$watch("filterQueryObj.query",(function(){var t,r,i,l;e.listItemsObj.items=(t=e.filterQueryObj.query,r=e.listItemsObj.items,i=e.listItemsNotFiltered,l=e.filterFunction,t.length>0?_.filter(i,l):r.length!==i.length?i:r)}))}}}angular.module("graphdb.framework.graphexplore.directives.searchfilter",[]).directive("listItemsSearchFilter",r),r.$inject=[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[151],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[151],{228:function(e,n){function t(e){return{restrict:"AE",scope:{rdfsLabel:"=",rdfsComment:"=",expanded:"=",alwaysExpanded:"="},templateUrl:"js/angular/graphexplore/templates/rdfsCommentLabelTemplate.html",link:function(n,t){n.stringLimit=e,n.scrollToTop=function(){t[0].getElementsByClassName("rdfs-comment")[0].scrollTop=0},n.checkCommentLength=function(){return t[0].getElementsByClassName("rdfs-comment-text")[0].innerText.length<e},n.equalHeights=function(){const e=t[0].getElementsByClassName("rdfs-comment-text")[0].innerHeight;e<250&&n.expanded&&(t[0].getElementsByClassName("rdfs-comment")[0].innerHeight=e)},n.toggleFullComment=function(){n.expanded=!n.expanded},n.$watch("expanded || alwaysExpanded",(function(t){n.stringLimit=t?n.rdfsComment.length:e}))}}}angular.module("graphdb.framework.graphexplore.directives.rdfsdetails",[]).directive("rdfsCommentLabel",t).constant("SHORT_COMMENT_LENGTH",100),t.$inject=["SHORT_COMMENT_LENGTH"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[152],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[152],{231:function(e,n){function c(e,n){return{restrict:"AE",scope:{searchData:"=",searchFields:"@",titleField:"@",searchPlaceholder:"@",initialValue:"=",searchedObjCallback:"&"},templateUrl:"js/angular/graphexplore/templates/searchIconInputTemplate.html",link:function(c,s){c.searchedObjCallback=c.searchedObjCallback(),c.performSearchActionOnEnter=function(){e.$broadcast("onEnterKeypressSearchAction")},c.showInput=function(){$("#selectGraphDropdown").hide(),s.find("#search_input #search_input_value")[0].value="",s.find(".search-icon").addClass("animated bounceOut").css("z-index","-1"),s.find("#search_input .angucomplete-holder").css("display","block"),n((function(){s.find("#search_input .angucomplete-holder").css("width","250px").css("left","-215px"),n((function(){s.find(".close-icon").css("display","block").addClass("animated bounceIn").css("z-index","3"),s.find("#search_input #search_input_value").focus()}),200)}),1)},c.hideInput=function(){s.find("#search_input #search_input_value")[0].value="",s.find("#search_input .angucomplete-holder").css("width","0px").css("left","35px"),n((function(){s.find("#search_input .angucomplete-holder").css("display","none"),$("#selectGraphDropdown").show()}),250),s.find(".close-icon").addClass("animated bounceOut").removeClass("bounceOut").css("z-index","-1").css("display","none").click((function(){$(".tooltip").hide()})),n((function(){s.find(".search-icon").css("display","inline-block").removeClass("bounceOut").addClass("bounceIn").css("z-index","3")}),200)}}}}angular.module("graphdb.framework.graphexplore.directives.searchcontrols",[]).directive("searchIconInput",c),c.$inject=["$rootScope","$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[153],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[153],{227:function(e,r){function o(e,r){return{restrict:"A",scope:{},templateUrl:"js/angular/graphexplore/templates/systemRepoWarningTemplate.html",link:function(o){o.isSystemRepository=function(){return"SYSTEM"===e.getActiveRepository()},o.hasPermission=function(){return r.hasPermission()}}}}angular.module("graphdb.framework.graphexplore.directives.sysrepo",["graphdb.framework.graphexplore.controllers.class"]).directive("systemRepoWarning",o),o.$inject=["$repositories","$rootScope"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{303:function(e,a){PluginRegistry.add("route",[{url:"/hierarchy",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"hierarchy",controller:"RdfClassHierarchyCtlr",templateUrl:"pages/rdfClassHierarchyInfo.html",title:"view.class.hierarchy.title",reloadOnSearch:!1,helpInfo:"view.class.hierarchy.helpInfo"},{url:"/domain-range-graph",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"domain-range-graph",controller:"DomainRangeGraphCtlr",templateUrl:"pages/domainRangeInfo.html",title:"view.domain.range.graph.title",helpInfo:"view.domain.range.graph.helpInfo"},{url:"/relationships",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"relationships",controller:"DependenciesChordCtrl",templateUrl:"pages/dependencies.html",title:"view.class.relationships.title",helpInfo:"view.class.relationships.helpInfo"},{url:"/graphs-visualizations",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graphs-visualizations",controller:"GraphsVisualizationsCtrl",templateUrl:"pages/graphs-visualizations.html",title:"visual.graph.label",reloadOnSearch:!1,helpInfo:"view.visual.graph.helpInfo"},{url:"/graphs-visualizations/config/save/:configName?",module:"graphdb.framework.graphexplore",path:"graphexplore/app",chunk:"graph-config",controller:"GraphConfigCtrl",templateUrl:"pages/graph-config/saveGraphConfig.html",title:"view.create.visual.graph.title",helpInfo:"view.create.visual.graph.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Class relationships",labelKey:"menu.class.relationships.label",href:"relationships",order:2,parent:"Explore",guideSelector:"sub-menu-class-relationships"},{label:"Class hierarchy",labelKey:"menu.class.hierarchy.label",href:"hierarchy",order:1,parent:"Explore",guideSelector:"menu-class-hierarchy"},{label:"Visual graph",labelKey:"visual.graph.label",href:"graphs-visualizations",order:5,parent:"Explore",children:[{href:"graphs-visualizations/config/save",children:[]}],guideSelector:"sub-menu-visual-graph"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[155],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[155],{217:function(e,n){angular.module("graphdb.framework.graphexplore.services.rdfsdetails",[]).factory("RdfsLabelCommentService",(function(){return{processAndFilterLabelAndComment:function(e){function n(e){const n={};for(let r in e)if(e.hasOwnProperty(r)){let a=r;r.indexOf(":")>-1&&(a=r,r=r.split(":")[1].toLowerCase()),n[r]=e[a]}return n}const r=e.results.bindings,a=[],t=[];_.each(r,(function(e){let r;angular.isUndefined(e.label)||(r=n(e.label),a.push(r)),angular.isUndefined(e.comment)||(r=n(e.comment),t.push(r))}));const l=function(e){return"en"===e.lang||"de"===e.lang},o=$.grep(a,l)[0],i=$.grep(t,l)[0],s=angular.isUndefined(o)?a.length>0?a[0].value:void 0:o.value,d=angular.isUndefined(i)?t.length>0?t[0].value:void 0:i.value;return{rdfsLabel:s,rdfsComment:d}}}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[156],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[156],{216:function(n,i){function r(n){return{initLazyList:function(i,r,e,o,t){return n((function(){const n=i+o-1,c=Math.max(0-o,n),a=Math.min(n+r-1,t.length);c>a?e([]):$.isArray(t)&&e(t.slice(c,a+1))}),100,!0)}}}angular.module("graphdb.framework.graphexplore.services.uiscroll",[]).factory("UiScrollService",r),r.$inject=["$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[157],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[157],{305:function(e,i){PluginRegistry.add("route",[{url:"/guides",module:"graphdb.framework.guides",path:"guides/app",templateUrl:"pages/guides.html",title:"view.guides.title",controller:"GuidesCtrl",helpInfo:"view.guides.helpInfo"}]),PluginRegistry.add("main.menu",{items:[{label:"Guides",labelKey:"menu.guides.label",order:0,parent:"Help",icon:"paste",href:"guides",role:"ROLE_USER",guideSelector:"sub-menu-guide"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[158],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[158],{306:function(e,t){const n=(e,t)=>(e.$location.path("/hierarchy").search({}),e.GuideUtils.waitFor(t,3).then(()=>(e.GuideUtils.classHierarchyFocus(t),e.GuideUtils.deferredShow(500)())));PluginRegistry.add("guide.step",[{guideBlockName:"class-hierarchy",getSteps:(e,t)=>{const n=t.GuideUtils;e.mainAction="class-hierarchy";const l=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"class-hierarchy",showIntro:!0},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class_hierarchy_intro.content",url:"/hierarchy",elementSelector:"#classChart",placement:"left"},e)}];return e.introExtraContent&&l.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"",extraContent:e.introExtraContent,url:"/hierarchy",elementSelector:"#classChart #main-group",class:"clas-hierarchy-intro-guide-dialog",placement:"left"},e)}),angular.isArray(e.zoomIris)&&e.zoomIris.forEach(t=>{const i=n.getGuideElementSelector("class-"+t.iri);l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class_hierarchy_zoom.content",url:"/hierarchy",placement:"left",elementSelector:i,class:"class-hierarchy-zoom-content-guide-dialog",onNextClick:(e,t)=>{n.classHierarchyZoom(t.elementSelector),e.next()}},e,t)}),t.postExtraContent&&l.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"",extraContent:t.postExtraContent,url:"/hierarchy",placement:"left",beforeShowPromise:n.deferredShow(800),elementSelector:i,class:"class-hierarchy-instances-guide-dialog"},e)})}),l}},{guideBlockName:"class-hierarchy-instances",getSteps:(e,t)=>{const l=t.GuideUtils,i=t.$location,a=t.$route;e.title="guide.step_plugin.class-hierarchy-instances.title";const s=l.getGuideElementSelector("close-info-panel"),c=l.getGuideElementSelector("class-"+e.iri),o=[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances.content",url:"/hierarchy",elementSelector:c,class:"class-hierarchy-instance-guide-dialog",placement:"top",onNextClick:e=>{l.classHierarchyFocus(c),e.next()},initPreviousStep:()=>l.isVisible(s)?Promise.resolve():n({$location:i,$route:a,GuideUtils:l},c)},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-side-panel.content",url:"/hierarchy",elementSelector:".rdf-info-side-panel div",class:"class-hierarchy-side-panel-info-guide-dialog",canBePaused:!1,placement:"left",beforeShowPromise:l.deferredShow(800),onPreviousClick:()=>new Promise((function(e){l.waitFor(s,1).then(()=>$(s).trigger("click")),e()}))},e)}];angular.isArray(e.focusInstances)&&e.focusInstances.forEach(t=>{angular.isObject(t)||(t={instance:t}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-focus.content",url:"/hierarchy",canBePaused:!1,elementSelector:l.getGuideElementSelector("instance-"+t.instance),class:"class-hierarchy-side-bar-instance-info-guide-dialog",focusInstance:t.instance,extraContent:t.message},e)})});const r=l.getGuideElementSelector("instances-count");return e.followCountLink&&(o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-count.content",url:"/hierarchy",canBePaused:!1,elementSelector:r,class:"class-hierarchy-side-panel-instances-count-guide-dialog",onNextClick:(e,t)=>{l.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")),e.next()}},e)}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-query.content",url:"/sparql",elementSelector:l.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,beforeShowPromise:()=>l.waitFor(l.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,3).then(()=>l.deferredShow(500)()),class:"class-hierarchy-instances-query-guide-dialog",scrollToHandler:l.scrollToTop},e)}),o.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-results.content",extraContent:!1!==e.showExtraCommentSparql?"guide.step_plugin.class-hierarchy-instances-results.extraContent":null,url:"/sparql",placement:"top",elementSelector:l.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,class:"class-hierarchy-instances-results-guide-dialog",fileName:e.fileName,scrollToHandler:l.scrollToTop,onNextClick:e=>{window.history.back(),e.next()},initPreviousStep:()=>Promise.resolve()},e)})),o.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.class-hierarchy-instances-side-panel-close.content",url:"/hierarchy",canBePaused:!1,elementSelector:s,class:"class-hierarchy-side-panel-close-guide-dialog",placement:"left",beforeShowPromise:e.followCountLink?l.deferredShow(1500):Promise.resolve(),advanceOn:{selector:s,event:"click"},onNextClick:()=>l.waitFor(s,3).then(()=>$(s).trigger("click")),initPreviousStep:(t,s)=>t.ShepherdService.getCurrentStepId()===s&&e.followCountLink?l.waitFor(r,3).then(()=>($(r).trigger("click"),l.waitFor(l.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,3).then(()=>l.deferredShow(50)()))):n({$location:i,$route:a,GuideUtils:l},c)},e)}),o}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[159],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[159],{307:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"create-repository",getSteps:(e,t)=>{const o=t.GuideUtils;e.mainAction="create-repository";const r=o.getGuideElementSelector("graphDBRepositoryIdInput"),i=e.repositoryId,n=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"repositories",showIntro:!0},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.create_repository_button.content",class:"create-repository-guide-dialog",url:"/repository",elementSelector:o.getGuideElementSelector("createRepository"),onNextClick:e=>o.clickOnGuideElement("createRepository")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.graph_db_repository.content",class:"create-gdb-repository-guide-dialog",url:"/repository/create",elementSelector:o.getGuideElementSelector("createGraphDBRepository"),onNextClick:o.clickOnGuideElement("createGraphDBRepository")},e)},{guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.repository_id.content",class:"gdb-repository-id-input-guide-dialog",url:"/repository/create/graphdb",elementSelector:r,onNextValidate:()=>Promise.resolve(o.validateTextInput(r,i))},e)}];return e.rulesetName&&n.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.ruleset_dropdown.content",url:"/repository/create/graphdb",class:"gdb-repository-ruleset-select-guide-dialog",elementSelector:o.getGuideElementSelector("graphDBRepositoryRulesetSelect"),show:()=>()=>{o.validateTextInput(r,i)},rulesetName:e.rulesetName},e)}),n.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.create_repository.save_button.content",url:"/repository/create/graphdb",class:"create-repository-button-guide-dialog",elementSelector:o.getGuideElementSelector("graphDBRepositoryCrateButton"),show:()=>()=>{o.validateTextInput(r,i)},onNextClick:o.clickOnGuideElement("graphDBRepositoryCrateButton")},e)}),n}}])}}]);
|