graphdb-workbench 2.8.0-TR4 → 2.8.0-Test
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.b771c387eb20bde9a6ea.bundle.js → 0.0a1170a45e17382e4a5d.bundle.js} +3 -3
- package/dist/1.c30be489ed39606b2f05.bundle.js +1 -0
- package/dist/10.72feb8642673ff99c3da.bundle.js +1 -0
- package/dist/100.ac947bd8c6a4ddb921a3.bundle.js +1 -0
- package/dist/101.bf0fde51522a5d10b6ce.bundle.js +1 -0
- package/dist/102.93de8da2b05854b7a2f6.bundle.js +1 -0
- package/dist/103.ec756e552ca154fe9249.bundle.js +1 -0
- package/dist/104.5aedd8bbdec3f65d8075.bundle.js +1 -0
- package/dist/{100.7f26323156afd3feba54.bundle.js → 105.efa7f6ae768f558255da.bundle.js} +1 -1
- package/dist/{101.17b056cee15358cbc0a7.bundle.js → 106.1c2686a7db08aa33e094.bundle.js} +1 -1
- package/dist/{102.8a0ce8ba413e7ea86257.bundle.js → 107.05c1fa57812c93dee908.bundle.js} +1 -1
- package/dist/{103.6ae9591418ef71bbb36d.bundle.js → 108.158be0de3faa959ea085.bundle.js} +1 -1
- package/dist/{104.dc01d9de825caa974509.bundle.js → 109.832fa2db484029ae6ac1.bundle.js} +1 -1
- package/dist/11.1322d3e0bab99b918c7f.bundle.js +1 -0
- package/dist/{105.c7c1ae143ee3a8dd99f2.bundle.js → 110.83bcc3c2b65bdf035da7.bundle.js} +1 -1
- package/dist/{106.ea5c53069820d041c2cf.bundle.js → 111.f12532c15e219c23d5a1.bundle.js} +1 -1
- package/dist/{107.9c76b13718754b7183b5.bundle.js → 112.4ff0e8c2ac67ad5cd08e.bundle.js} +1 -1
- package/dist/{108.fdebacb3ded74d19301d.bundle.js → 113.a00cdcd090f2985d4f29.bundle.js} +1 -1
- package/dist/{109.9a8dd93a3ea7e7110f5f.bundle.js → 114.d195868566828742895a.bundle.js} +1 -1
- package/dist/{110.88abaf0bf128a31fe04f.bundle.js → 115.fdc4bfe30f11c8ddf59f.bundle.js} +1 -1
- package/dist/{111.e8a5b4b837c49f1c50e9.bundle.js → 116.6b7edf5d23952ca4ace3.bundle.js} +1 -1
- package/dist/{112.6c477f41f1ebb640b827.bundle.js → 117.4910ccbeaf6fd451b718.bundle.js} +1 -1
- package/dist/118.fa3d881d5580e05dbd05.bundle.js +1 -0
- package/dist/119.e7b8ff4c3358263cddb0.bundle.js +1 -0
- package/dist/{11.df90fccb3ff14cb166d8.bundle.js → 12.8462b9d8fa51db60a50d.bundle.js} +11 -11
- package/dist/{115.65816bf004a5688da482.bundle.js → 120.881ed5b94615ce5aed9c.bundle.js} +1 -1
- package/dist/{116.966292071b4061aa61d3.bundle.js → 121.3af3488244cafeabadb1.bundle.js} +1 -1
- package/dist/{117.713664012b6dfd281e0d.bundle.js → 122.d33f91e410e0fd02775b.bundle.js} +1 -1
- package/dist/{118.1342e18ec64449b19f6a.bundle.js → 123.e5da21362b19df85f596.bundle.js} +1 -1
- package/dist/{119.cad78d6d421057850b36.bundle.js → 124.0fd77686faa2740e8e15.bundle.js} +1 -1
- package/dist/{120.1ea37f7c308bcd1d3e3d.bundle.js → 125.e582125b0bc248be36b9.bundle.js} +1 -1
- package/dist/{121.d8cd4bdf5336330ad171.bundle.js → 126.e3c07992a8c2297ab3ba.bundle.js} +1 -1
- package/dist/{122.10dfb4139bd5b1fc0994.bundle.js → 127.9c54fa4bd2fdb0b95cd8.bundle.js} +1 -1
- package/dist/{123.4076684ffef33bbf0d4b.bundle.js → 128.83168f47ace99f55b749.bundle.js} +1 -1
- package/dist/{124.1d2113ee6e00c6a13c91.bundle.js → 129.7ecff8ecf2d2d5d574e0.bundle.js} +1 -1
- package/dist/{12.1c8de7c348eb25c8164b.bundle.js → 13.4ad80d43dfe8b11cd336.bundle.js} +1 -1
- package/dist/{125.88574f352ebbc5799e78.bundle.js → 130.d61c14cf75b26f176fa5.bundle.js} +1 -1
- package/dist/{126.2b01a012a14a746753a6.bundle.js → 131.a092d31500571d5559a2.bundle.js} +1 -1
- package/dist/{127.099000071b2c1e40bd35.bundle.js → 132.252aa274f5441069e887.bundle.js} +1 -1
- package/dist/133.e7dff3c968b909c3f14a.bundle.js +1 -0
- package/dist/{129.4bfaa1c1d7e341a1ed06.bundle.js → 134.795ce48dfe5c42858b5c.bundle.js} +1 -1
- package/dist/135.d8459891aab457980f3d.bundle.js +1 -0
- package/dist/{131.d620cb87c7bce0386b4f.bundle.js → 136.a2e66dd7c1802cf71923.bundle.js} +1 -1
- package/dist/{132.c5faf2429dd401f2ef0a.bundle.js → 137.cd0bd3c852d91cd52039.bundle.js} +1 -1
- package/dist/138.392e19b553d396d3abf8.bundle.js +1 -0
- package/dist/{133.678a2ade8fb91b5497d7.bundle.js → 139.c06fdfc66490871efcba.bundle.js} +1 -1
- package/dist/{13.59de37f004085772ef6c.bundle.js → 14.e52beb145d6035144888.bundle.js} +1 -1
- package/dist/{134.b1cefe8fe02520d788c2.bundle.js → 140.aa3fc67ac98214208518.bundle.js} +1 -1
- package/dist/{135.219d64990a02f7c93c9c.bundle.js → 141.1b6a2011d56c43aacbb0.bundle.js} +1 -1
- package/dist/{136.40b90ddc2d688af4c33f.bundle.js → 142.36b7fef40b5e09859bd6.bundle.js} +1 -1
- package/dist/{137.379a388eba6b32d996ee.bundle.js → 143.79fab644a1361180938a.bundle.js} +1 -1
- package/dist/{138.aa7a34b1e2fec5ea652d.bundle.js → 144.8877519f3bd8ea7c0568.bundle.js} +1 -1
- package/dist/{139.cc7ae06c97f6b630db4a.bundle.js → 145.10fbb7d25cd97d85fef2.bundle.js} +1 -1
- package/dist/146.7b84006e2a961f6f023b.bundle.js +1 -0
- package/dist/{141.12a35752b5cebfafb18a.bundle.js → 147.34fbf0960a2ce820c415.bundle.js} +1 -1
- package/dist/{142.cb26db2d36bcddb783d7.bundle.js → 148.9c73e275c18413fe3efe.bundle.js} +1 -1
- package/dist/{143.ccd119624a493bb1cb42.bundle.js → 149.97d1aa6bc64585e2e23d.bundle.js} +1 -1
- package/dist/15.90d54ab745b4267b8cf1.bundle.js +2 -0
- package/dist/{144.274b18f4ce93e3fc5fd0.bundle.js → 150.df6d28b1b46ca0bf38ef.bundle.js} +1 -1
- package/dist/{145.ef704ce34d4873d7571e.bundle.js → 151.dff3fca027d218f50ed4.bundle.js} +1 -1
- package/dist/{146.06ec94074395141ca9ea.bundle.js → 152.4a999af7f3dc9e6c159f.bundle.js} +1 -1
- package/dist/{147.b96cf3fdb22423f27fb6.bundle.js → 153.2dc0877cab53cb924cde.bundle.js} +1 -1
- package/dist/{148.a2f96bd51dc88c690e46.bundle.js → 154.26d1e0d5308232e88b69.bundle.js} +1 -1
- package/dist/{149.23ba51de78896cd3bd25.bundle.js → 155.e86fa748e7554cf097e3.bundle.js} +1 -1
- package/dist/{150.2a6eeac996eb6221b925.bundle.js → 156.e5172964d1412cefad39.bundle.js} +1 -1
- package/dist/{151.dac623f30a505b8f48f9.bundle.js → 157.5a7f61f966b5a2eb4420.bundle.js} +1 -1
- package/dist/{152.0ff58e14a1559a4c5f5f.bundle.js → 158.b2f1c58bc01dd26ca852.bundle.js} +1 -1
- package/dist/{153.ecf1c83a52cfffa6c26f.bundle.js → 159.80badfff4ffdfbcd46a7.bundle.js} +1 -1
- package/dist/{15.0b152cd39a88fc6856bc.bundle.js → 16.49e725b3eb1bd20c2ff5.bundle.js} +1 -1
- package/dist/{154.b0701c5daa0497e176e7.bundle.js → 160.326fff68c80e555d90e7.bundle.js} +1 -1
- package/dist/{155.f27f0a946702a5076313.bundle.js → 161.dd36d91f4beb933e2c9d.bundle.js} +1 -1
- package/dist/{156.fba8b767ced422f459a2.bundle.js → 162.d0dbc522f3c9dc56bc28.bundle.js} +1 -1
- package/dist/{157.a0f3360e0b6082486c12.bundle.js → 163.d0c210b5a5ea1868d1ed.bundle.js} +1 -1
- package/dist/{158.029fb4e807d37a3e5329.bundle.js → 164.ee0515a0cc9a0f2a552f.bundle.js} +1 -1
- package/dist/{159.0b667773afee1890caa5.bundle.js → 165.0f4bc8028ad240b067fa.bundle.js} +1 -1
- package/dist/{160.2aa35b2e5d2a0c988459.bundle.js → 166.def18fe351170a84e86a.bundle.js} +1 -1
- package/dist/{161.869e0c7ce82f35dbb91c.bundle.js → 167.30a2775fe78753b6ab44.bundle.js} +1 -1
- package/dist/{162.693032a729e709d1deac.bundle.js → 168.82cc64f579f71efa0f87.bundle.js} +1 -1
- package/dist/{163.932e1cbe6c7ca46b2cc4.bundle.js → 169.d21d5f6b6634970890a0.bundle.js} +1 -1
- package/dist/{16.d382f943f0121874fd1e.bundle.js → 17.fa580868599e0c3532f8.bundle.js} +1 -1
- package/dist/{164.c1e08572ede9625177a0.bundle.js → 170.ef2dd1938db8d42f4170.bundle.js} +1 -1
- package/dist/{165.11214d1c15cd00f920b4.bundle.js → 171.741ac4f6bd1f8720e3e3.bundle.js} +1 -1
- package/dist/{166.b5f3f6286f197b5d7dfc.bundle.js → 172.7daa5ea2d11254243b09.bundle.js} +1 -1
- package/dist/173.7679a569b2856271d02c.bundle.js +1 -0
- package/dist/{168.f04bc0534788c07907c6.bundle.js → 174.6290a7e043902d841a22.bundle.js} +1 -1
- package/dist/{169.322c21e85b3a434daad6.bundle.js → 175.ab734ac53eda1ba41ccc.bundle.js} +1 -1
- package/dist/{170.f28ed2ea2bd3d484a998.bundle.js → 176.df8dc30bb3371efb0b84.bundle.js} +1 -1
- package/dist/{171.e825625eee38003a9c09.bundle.js → 177.89fd2896caf754387b73.bundle.js} +1 -1
- package/dist/{172.4048014207111dd465a8.bundle.js → 178.b6538a0f9bf804cd2bc7.bundle.js} +1 -1
- package/dist/{173.7c1c7d7e43a83800bcc5.bundle.js → 179.ad8a1782d49cb8e8c026.bundle.js} +1 -1
- package/dist/{17.c3a499e5391e06c764e8.bundle.js → 18.d2a66ede807651fc37ed.bundle.js} +1 -1
- package/dist/{174.6cd463bcab68410bad02.bundle.js → 180.160549bca59487c2a43d.bundle.js} +1 -1
- package/dist/{175.372886e33b57422185a4.bundle.js → 181.ed2632b1f8ac34b94659.bundle.js} +1 -1
- package/dist/{176.7e0c9b5eb6fd1dbb9359.bundle.js → 182.778b4e67bc23fd060af4.bundle.js} +1 -1
- package/dist/183.8e6b64734d649c39f021.bundle.js +1 -0
- package/dist/{178.11f2eb8a371403f292b3.bundle.js → 184.6c98d7df343301d1d4b6.bundle.js} +1 -1
- package/dist/{179.5b90d2e399a2fdac1c25.bundle.js → 185.25ba9c0786d908ccdc50.bundle.js} +1 -1
- package/dist/{180.c448596c4e028ad5bdf3.bundle.js → 186.d15421a31f7f10340da4.bundle.js} +1 -1
- package/dist/{181.30a474897d97b2d02822.bundle.js → 187.904bd80a98ad539b2592.bundle.js} +1 -1
- package/dist/{182.dc7920a78d0d736d4f4e.bundle.js → 188.a56f0936629ccab35ca2.bundle.js} +1 -1
- package/dist/{183.19aabd1e5e39cc8e83dc.bundle.js → 189.873d9aa43dfe811ffa48.bundle.js} +1 -1
- package/dist/{18.9d2448dd2d3ec3631580.bundle.js → 19.569028a02a8d77dd69cc.bundle.js} +1 -1
- package/dist/{184.540e1daa09ad0bf278c3.bundle.js → 190.86ce0d4c0b0dc1a1fb23.bundle.js} +1 -1
- package/dist/{185.16b5a5bd58ff9bedcc7a.bundle.js → 191.03abff482589f32b7f9c.bundle.js} +1 -1
- package/dist/{186.f9689bf33815bda7ac3c.bundle.js → 192.a19f5585db9597f4f820.bundle.js} +1 -1
- package/dist/{187.9e42da5cdc1bf9ebb96e.bundle.js → 193.33bf94da78d90312eef3.bundle.js} +1 -1
- package/dist/{188.b80e869e07dca3da01a7.bundle.js → 194.9707760a814efb506855.bundle.js} +1 -1
- package/dist/{189.cb382ef7332d62a304c2.bundle.js → 195.104b381eda0ef9277da7.bundle.js} +1 -1
- package/dist/{190.2c27b901c1e33c268e1b.bundle.js → 196.f11dd3333bb0445de17e.bundle.js} +1 -1
- package/dist/{191.36cb3368edee2fd7fabd.bundle.js → 197.6cf1498dbcfc760fd06d.bundle.js} +1 -1
- package/dist/{192.f345d24a0bf15aeb0b62.bundle.js → 198.be8084629b80b14d4023.bundle.js} +1 -1
- package/dist/{193.35391d9216d14ac0bf3e.bundle.js → 199.f2512e7b856b4e78dd1f.bundle.js} +1 -1
- package/dist/2.5a076be9e6117cea6484.bundle.js +2 -0
- package/dist/{19.70b96c19d7848640dbb9.bundle.js → 20.3d9c36dfa41a39fde200.bundle.js} +1 -1
- package/dist/{194.62ccc8391956bbf0d069.bundle.js → 200.e31d71adfe8af5b7bda5.bundle.js} +1 -1
- package/dist/{195.8652779019d20199ee0e.bundle.js → 201.c5c4eb20d791aa5a03ce.bundle.js} +1 -1
- package/dist/{196.c22cb6fdb66bea1455c4.bundle.js → 202.4d12ae7a521ec4ecb697.bundle.js} +1 -1
- package/dist/{197.5abc2b7e62e56bf86060.bundle.js → 203.a149b7b9b48294d1a568.bundle.js} +1 -1
- package/dist/{198.d9bbf27bcb13c5dd78d1.bundle.js → 204.0f6c56736301d078f872.bundle.js} +1 -1
- package/dist/205.5964d31ea49f335e2153.bundle.js +1 -0
- package/dist/{200.e6d409c5925a76e58e72.bundle.js → 206.15d1de79787c216601a7.bundle.js} +1 -1
- package/dist/{201.9d82b44c237290e04aea.bundle.js → 207.b26bfd5bb6c5c8d1c9ff.bundle.js} +1 -1
- package/dist/{202.3dfb4af2249898ed3fc9.bundle.js → 208.4a9c880a284a4e4fb40f.bundle.js} +1 -1
- package/dist/{203.2da0c27b1d0ab513e4e7.bundle.js → 209.e0891ad459f70f205eee.bundle.js} +1 -1
- package/dist/21.bed2d6df5d871e6e3c59.bundle.js +3 -0
- package/dist/{204.9b4c2de63ab9028d7d97.bundle.js → 210.a6bdca00a853c90fbe7f.bundle.js} +1 -1
- package/dist/{205.c58772214c94ed3afea3.bundle.js → 211.32e20a7e58bdb271853a.bundle.js} +1 -1
- package/dist/{206.e7c97cc504ac442c75bc.bundle.js → 212.41276ef98d3d5f6afd71.bundle.js} +1 -1
- package/dist/{207.00de0a8515de06ef0fb7.bundle.js → 213.6759f7210457cb0d5146.bundle.js} +1 -1
- package/dist/{208.a72a2586de056c048102.bundle.js → 214.9604307091b5f5ba76ed.bundle.js} +1 -1
- package/dist/{209.9dea550a4bf6f086cad1.bundle.js → 215.fbb8b24f1b8c038182ca.bundle.js} +1 -1
- package/dist/{210.050643db12705405adcc.bundle.js → 216.c97eb34eec625c81ba23.bundle.js} +1 -1
- package/dist/{211.9d7c7e9982c0561da76f.bundle.js → 217.886f3692cc9aa3a53e70.bundle.js} +1 -1
- package/dist/{212.5a2ba04f1d462a112657.bundle.js → 218.071a38664321f618ab1e.bundle.js} +1 -1
- package/dist/{213.db0539f7cf1f77976f20.bundle.js → 219.a08f6ea1d2038595bcd8.bundle.js} +1 -1
- package/dist/22.6ed49c9ec5c4f8bef98f.bundle.js +2 -0
- package/dist/{214.f674735412e7fdfd871f.bundle.js → 220.7b80583065875f30bdbb.bundle.js} +1 -1
- package/dist/{215.e780ea6c4aadb41aef3c.bundle.js → 221.ffaddce1d0ae75b2f1c0.bundle.js} +1 -1
- package/dist/{216.734785a55884f809069a.bundle.js → 222.1a3aa503cc56d775dace.bundle.js} +1 -1
- package/dist/{217.a0bfba5b23d72aad2861.bundle.js → 223.286fa893af9f9afd8c92.bundle.js} +1 -1
- package/dist/{218.d1c1a80db4bfb412c6c7.bundle.js → 224.1121f671e1b6a08ec6b2.bundle.js} +1 -1
- package/dist/225.12f1d1f6d09186dbeea7.bundle.js +1 -0
- package/dist/{220.d00c6328f9fe29da03d5.bundle.js → 226.2115665b253bb7d033b4.bundle.js} +1 -1
- package/dist/227.a4eb17ab2119a9a1c2e1.bundle.js +1 -0
- package/dist/{222.b064e1013cc5c12917cc.bundle.js → 228.597753e80634d51c71a6.bundle.js} +1 -1
- package/dist/{223.d3032b152d950ff8967b.bundle.js → 229.cc462aed4d32c542a22f.bundle.js} +1 -1
- package/dist/23.5b4b7b30a9ee54898bbb.bundle.js +2 -0
- package/dist/{224.c28b4c3d0b2d55b6f023.bundle.js → 230.beb30a748147d535f158.bundle.js} +1 -1
- package/dist/{225.8bf0aec084863fc95414.bundle.js → 231.c276c9532f44836654dc.bundle.js} +1 -1
- package/dist/{226.9de98c97cf870a77efbf.bundle.js → 232.62da43fcb09f04e81c7c.bundle.js} +1 -1
- package/dist/{227.a7ae559b03897d292b39.bundle.js → 233.eaf04175e1ae92919f88.bundle.js} +1 -1
- package/dist/{228.f8555ecfdf9f553c7845.bundle.js → 234.15deae35fbee401c5de1.bundle.js} +1 -1
- package/dist/{229.a2d575f36de5f1763342.bundle.js → 235.0364f71fb697fe6001f4.bundle.js} +1 -1
- package/dist/{230.4d5c3a00d39fbdd6d152.bundle.js → 236.6164dde1d14a9958dbe3.bundle.js} +1 -1
- package/dist/{231.434597b10f9e7fb259df.bundle.js → 237.f4167bccb6cc3098acf4.bundle.js} +1 -1
- package/dist/238.c1d9ecf1f009436e1cd9.bundle.js +1 -0
- package/dist/239.750828c356c342abd9b0.bundle.js +1 -0
- package/dist/24.ef0d7437101e6a30dec7.bundle.js +2 -0
- package/dist/{234.863ddddb8449ed7c0ee1.bundle.js → 240.259c7aba5490d8f0b801.bundle.js} +1 -1
- package/dist/{235.956f01dae59a47f998b5.bundle.js → 241.ed67df23a8438bd541fc.bundle.js} +1 -1
- package/dist/{236.36baaaeee73e76c481c7.bundle.js → 242.80b4c1062c39d124482d.bundle.js} +1 -1
- package/dist/{237.5bce30c4e82980e9754f.bundle.js → 243.2797e72f076d2d531556.bundle.js} +1 -1
- package/dist/{238.331be8ca0bb118630e24.bundle.js → 244.f957102de9568bd62a52.bundle.js} +1 -1
- package/dist/{239.db5085cb5625931497c1.bundle.js → 245.af726a643fd5f141e2ad.bundle.js} +1 -1
- package/dist/246.11aa5e8c3a5cf4db5f89.bundle.js +1 -0
- package/dist/{241.5f31e65b530c9c673af3.bundle.js → 247.9edfeccd89601ad98fe2.bundle.js} +1 -1
- package/dist/248.5a4d7374460366d79c15.bundle.js +1 -0
- package/dist/{243.39f5289044a150487acb.bundle.js → 249.50b3d12ac980097c58c7.bundle.js} +1 -1
- package/dist/{21.39dffe7ceff8f6658a56.bundle.js → 25.46a7eb669f635d567ce7.bundle.js} +2 -2
- package/dist/{244.3e3b0217ad8558015878.bundle.js → 250.50810c6bf9afb6732b26.bundle.js} +1 -1
- package/dist/{245.12f6b1e768771000f1f3.bundle.js → 251.36c1c2df005d2ed6d5d4.bundle.js} +1 -1
- package/dist/252.50b98b9146e2383548db.bundle.js +1 -0
- package/dist/{247.be423d9800ef044d2a33.bundle.js → 253.44a6bda88d9ad7686933.bundle.js} +1 -1
- package/dist/{248.6fb8d92b19677312ec2f.bundle.js → 254.468c9ecc6b0c55102133.bundle.js} +1 -1
- package/dist/{249.361380fd0c4d2710e06b.bundle.js → 255.c64487f249acf9172524.bundle.js} +1 -1
- package/dist/{250.9cc0025717bda9ff85ac.bundle.js → 256.2a4dcf964f8f9823ea87.bundle.js} +1 -1
- package/dist/{251.7bd7c734de38e195da15.bundle.js → 257.d972f52e0e7c5734f508.bundle.js} +1 -1
- package/dist/{252.8afa7a1e2a6e4c5a926d.bundle.js → 258.1e4fa1c21f15bcd2a299.bundle.js} +1 -1
- package/dist/{253.b9409aa29124da201410.bundle.js → 259.33e72474b9fb5dd79259.bundle.js} +1 -1
- package/dist/26.1c83ef992fffd73d1243.bundle.js +2 -0
- package/dist/{254.42a241c6856d1a55afa8.bundle.js → 260.01b159571d499cfabd40.bundle.js} +1 -1
- package/dist/{255.a0c66c6f832d20e3397e.bundle.js → 261.2e7e0eb588a47182ac0e.bundle.js} +1 -1
- package/dist/{256.a8fd6ef683a6fb3742db.bundle.js → 262.62b11c3cee19afce2e3f.bundle.js} +1 -1
- package/dist/{257.44e7db279a0efb0018ff.bundle.js → 263.41501892e03f9cdd31be.bundle.js} +1 -1
- package/dist/{258.d79f5ef6319cb30b0118.bundle.js → 264.4e93f511f8124added0e.bundle.js} +1 -1
- package/dist/{259.8a37906084ccf1911e30.bundle.js → 265.cb8b76c9b36537e854a2.bundle.js} +1 -1
- package/dist/{260.75e33fe1306bc28415b9.bundle.js → 266.fded0594ff94fbf19b96.bundle.js} +1 -1
- package/dist/{261.87ee58d6687591dbc53d.bundle.js → 267.628a25b11f7a33fcff24.bundle.js} +1 -1
- package/dist/{262.53c026834f1a7c31cff4.bundle.js → 268.ff64ff06004b62b5611d.bundle.js} +1 -1
- package/dist/{263.ac0888e10472290fd5cd.bundle.js → 269.791351b99216622cb145.bundle.js} +1 -1
- package/dist/{24.d59101c362ac2970a6b9.bundle.js → 27.dc5c95d1588f782e31d0.bundle.js} +1 -1
- package/dist/{264.4206d53ab8da96bc5375.bundle.js → 270.7443decd8c92834274fc.bundle.js} +1 -1
- package/dist/{265.ca35e25f40cc557e9326.bundle.js → 271.f513ed4052f334fc5d1a.bundle.js} +1 -1
- package/dist/{266.549fcc29307b61d6b427.bundle.js → 272.6b7242f3f4f40b4d32e9.bundle.js} +1 -1
- package/dist/{267.e5b8430e17b550a89458.bundle.js → 273.767c40d9ab0683794017.bundle.js} +1 -1
- package/dist/{268.f9bbc4810ebb192a1432.bundle.js → 274.b145270cefa7deeabfba.bundle.js} +1 -1
- package/dist/{269.f8aba27c315f1a1b4484.bundle.js → 275.fdc05b1c15c963298172.bundle.js} +1 -1
- package/dist/{270.f4c88d06faa70fe73cd9.bundle.js → 276.7f7e05c659737293c5d6.bundle.js} +1 -1
- package/dist/{271.398aaa6c01600df61c6b.bundle.js → 277.aeefb2e2230751d0a6cd.bundle.js} +1 -1
- package/dist/{272.414a02980b8cb5dc2380.bundle.js → 278.ea9f1652476f591efc66.bundle.js} +1 -1
- package/dist/{273.13cc72edc9ab16311f3a.bundle.js → 279.d67759d35a409e74a6cf.bundle.js} +1 -1
- package/dist/{25.199fc623310cefd2f4ad.bundle.js → 28.15f63a47c5b1011c2888.bundle.js} +1 -1
- package/dist/{274.5683e1f4c2c1f6902888.bundle.js → 280.2a6a92493c2b8eb53de7.bundle.js} +1 -1
- package/dist/{275.fff6b0befb4b17f37eda.bundle.js → 281.8ca4dfc70e6d75eaa25e.bundle.js} +1 -1
- package/dist/{276.99cdf1dff924b1f9c64c.bundle.js → 282.31327afb93e1b52f8f19.bundle.js} +1 -1
- package/dist/283.0a03f90fa1c267819ffa.bundle.js +1 -0
- package/dist/{278.22ea31506084cf22b1d2.bundle.js → 284.13eea8bdd7b3c7ca401b.bundle.js} +1 -1
- package/dist/{279.a84df2f197ed43f54e65.bundle.js → 285.a1fc5f7cbd7cc6d3a7c2.bundle.js} +1 -1
- package/dist/{280.f1354e40d7a16b412e88.bundle.js → 286.178d6ec580c5530e7c35.bundle.js} +1 -1
- package/dist/{281.5683a8f152dcc8f75e4d.bundle.js → 287.ba6c7aff6284d841fdee.bundle.js} +1 -1
- package/dist/{282.4aae3dba3b35ea673c13.bundle.js → 288.4b34882ffa5fe1232b20.bundle.js} +1 -1
- package/dist/{283.ce463e4cfa59e37d607b.bundle.js → 289.82e1c2c605fdbb38ce8e.bundle.js} +1 -1
- package/dist/{26.ddaf300ca3cebd842a06.bundle.js → 29.da95f87aaa34ccf8f98f.bundle.js} +1 -1
- package/dist/290.e7c552655449d0a6ee1f.bundle.js +1 -0
- package/dist/{285.a1fd5a729eebc9586f96.bundle.js → 291.0254bcc0cd338b6e1fac.bundle.js} +1 -1
- package/dist/{286.b4d04aefb9c8758eb72c.bundle.js → 292.d912c7464e852a5dded1.bundle.js} +1 -1
- package/dist/{287.869b9eda721edd0d7042.bundle.js → 293.73aaa9854fde9946364e.bundle.js} +1 -1
- package/dist/{288.c079bcb1e2518d4b2813.bundle.js → 294.6a1f0eeb8cfdef3192d4.bundle.js} +1 -1
- package/dist/{289.71c26b5ffaa393ece793.bundle.js → 295.05f3f0f4fa85e5b141d9.bundle.js} +1 -1
- package/dist/296.868f14b9bd1b53a16a11.bundle.js +1 -0
- package/dist/{292.c20bfd9c5c2dc21cbfe5.bundle.js → 297.e9b1c12ce25cc7be2d72.bundle.js} +1 -1
- package/dist/298.d40774bcdba10c5d2ebc.bundle.js +1 -0
- package/dist/299.8dda014cab35ba1815b1.bundle.js +1 -0
- package/dist/3.1677b68c47f7c79c00ff.bundle.js +8 -0
- package/dist/{27.b6ec15df0eb1e0c65f9b.bundle.js → 30.bba4de583145f2ece8c0.bundle.js} +1 -1
- package/dist/300.4245627536cbeede19bf.bundle.js +1 -0
- package/dist/{296.214f47f8d04f8172325a.bundle.js → 301.476fd3a75e03f03860ac.bundle.js} +1 -1
- package/dist/{297.150d2e735d97469bc97a.bundle.js → 302.a565cb68a40f87aebea0.bundle.js} +1 -1
- package/dist/{298.e0fe45df8f4d8971c381.bundle.js → 303.699b6974d96a62873716.bundle.js} +1 -1
- package/dist/{299.3499097fbb66b52fc421.bundle.js → 304.49f2e7808825a9be05ee.bundle.js} +1 -1
- package/dist/{300.39de47db08587229ef0e.bundle.js → 305.b1bb41c32f7fe619cba1.bundle.js} +1 -1
- package/dist/{301.1343a9b079798562aa6a.bundle.js → 306.507664ee51d0379932c2.bundle.js} +1 -1
- package/dist/{302.750cbc741f3c77e99e81.bundle.js → 307.fa58fde8655a882f9ccb.bundle.js} +1 -1
- package/dist/{303.e44f63ffeda3cbf7ae16.bundle.js → 308.69a7f26516c5629c2288.bundle.js} +1 -1
- package/dist/{304.2d3ac502aa624081b1e5.bundle.js → 309.709585a817666bd3ea97.bundle.js} +1 -1
- package/dist/{28.af295559f3ec77d40839.bundle.js → 31.f6e59c66649edd6a264c.bundle.js} +1 -1
- package/dist/315.52f392ef91a926596c8d.bundle.js +1 -0
- package/dist/{311.9874544df1bbafd10692.bundle.js → 316.8a37b5419fe1a8c09942.bundle.js} +1 -1
- package/dist/{312.e1b40283b695dcb101b0.bundle.js → 317.b3355e812e0dbe84bbaa.bundle.js} +1 -1
- package/dist/{313.d9cca6e410a0f1a448bb.bundle.js → 318.985516a21ddb304f613e.bundle.js} +1 -1
- package/dist/{314.f597d0c2a2be830776de.bundle.js → 319.08ac1b3691b48bd285a1.bundle.js} +1 -1
- package/dist/32.81c457d2ad85a3237199.bundle.js +1 -0
- package/dist/{315.58bc5637ceb47626bde3.bundle.js → 320.5a7c42a73bb68d70657b.bundle.js} +1 -1
- package/dist/{316.4f9a18e26bbe0f0adbe6.bundle.js → 321.f8ef6de623edd9d04b8e.bundle.js} +1 -1
- package/dist/{317.979f24ed265641b8ddc1.bundle.js → 322.f08dac69268b076c2919.bundle.js} +1 -1
- package/dist/{318.f5c05dd1599c529762e4.bundle.js → 323.a044b7f7803f1f95826d.bundle.js} +1 -1
- package/dist/{319.cccd7fb2eaa18f65e716.bundle.js → 324.2489213c43a115ec4a8e.bundle.js} +1 -1
- package/dist/{320.0d9f2f2aeda450f2f0a7.bundle.js → 325.82bd9fe7a732eb08cf8a.bundle.js} +1 -1
- package/dist/{321.2f817913ca2f9cd27812.bundle.js → 326.2b85a4ad715fb78944d6.bundle.js} +1 -1
- package/dist/{322.ad2b9395bfbc385119fe.bundle.js → 327.bb3ddb0f4af2e3b1d2e5.bundle.js} +1 -1
- package/dist/{323.7b979063981cd58478be.bundle.js → 328.98db2f4529a6eee55b55.bundle.js} +1 -1
- package/dist/{324.37c3249317427c3878c6.bundle.js → 329.58f4110367458a8f506c.bundle.js} +1 -1
- package/dist/{30.83358047fbcc339d474f.bundle.js → 33.fbf5953513194ec3f2dc.bundle.js} +1 -1
- package/dist/330.3e70a1666dd0786bc6fa.bundle.js +1 -0
- package/dist/{326.e5ce686fb321b3922da0.bundle.js → 331.5122cfbe626e52fd02d1.bundle.js} +1 -1
- package/dist/{327.40d5727ccb824f68ecd1.bundle.js → 332.a273f6816278db249098.bundle.js} +1 -1
- package/dist/333.7797033996e875cef5e4.bundle.js +1 -0
- package/dist/334.f39f43aa65127d86c0de.bundle.js +1 -0
- package/dist/335.bdf002d5311bbafa3b6b.bundle.js +1 -0
- package/dist/{331.8e2eed9790d553e91940.bundle.js → 336.046bf6011f6f55306f7d.bundle.js} +1 -1
- package/dist/{332.6b6043fc84aa75c59a29.bundle.js → 337.f52bb6c2a48bfbae3e5d.bundle.js} +1 -1
- package/dist/{333.1629c955f4780836ba1e.bundle.js → 338.9fd4917b8b109b611a9d.bundle.js} +1 -1
- package/dist/{334.820bf9aa8aca42035920.bundle.js → 339.c1a491da5ccc1dda2d1a.bundle.js} +1 -1
- package/dist/{31.44a332e103ab9b33000d.bundle.js → 34.48c99bc7d0f5bcde9141.bundle.js} +1 -1
- package/dist/{335.441f2c1b005bf4da9da9.bundle.js → 340.a2230a350b08b31e9dcc.bundle.js} +1 -1
- package/dist/{336.2e620911b9848d22d0bc.bundle.js → 341.6d7d6e2c347a5f7183ff.bundle.js} +1 -1
- package/dist/{337.dd96b11f66d00f3c11d8.bundle.js → 342.cec8ff30ba1b2f0db64c.bundle.js} +1 -1
- package/dist/{338.31ccf952930ab1a64141.bundle.js → 343.39f84908d8aeac04de37.bundle.js} +1 -1
- package/dist/{339.8e581416b7b86cfd8829.bundle.js → 344.32f2947e868b2ca1cf7c.bundle.js} +1 -1
- package/dist/{340.2a9bbb58af2ebd5eaad8.bundle.js → 345.9519a0c1e8610d921507.bundle.js} +1 -1
- package/dist/{341.2e30539f06783590237c.bundle.js → 346.a234d0d7ab110f944600.bundle.js} +1 -1
- package/dist/{342.881d5df270fb6891b5aa.bundle.js → 347.89e881a6a192dd983f60.bundle.js} +1 -1
- package/dist/{343.a197d3c62465378339aa.bundle.js → 348.14ae3944ca71fc347833.bundle.js} +1 -1
- package/dist/{344.03eeb3da1ab8be45223d.bundle.js → 349.606184ff5d01acc3e6b6.bundle.js} +1 -1
- package/dist/35.ea0dce5bc217da95a8e4.bundle.js +1 -0
- package/dist/{345.5f48e10965bfdaca076a.bundle.js → 350.9c44a2eddf2008a38a00.bundle.js} +1 -1
- package/dist/{346.222128167abd9e37a506.bundle.js → 351.23289a06b4697246ce9e.bundle.js} +1 -1
- package/dist/{347.a43c655bcfb27aebf21f.bundle.js → 352.3046ed1ee36a576d5c93.bundle.js} +1 -1
- package/dist/{348.fc0a1d8a9f0c832aa8ab.bundle.js → 353.af973c793bfa22e15fac.bundle.js} +1 -1
- package/dist/{349.6fffb3cae65ee940693a.bundle.js → 354.fa248513f541c160e67c.bundle.js} +1 -1
- package/dist/{350.46496fb9ac596d87a6dd.bundle.js → 355.f524cdb727598e6d4fc3.bundle.js} +1 -1
- package/dist/{351.c0d2293d07f7b3fe2e1e.bundle.js → 356.0482816218131d48de41.bundle.js} +1 -1
- package/dist/{352.ce177c6de5a67a54fa09.bundle.js → 357.c4f789b05483439e31bf.bundle.js} +1 -1
- package/dist/{353.062e7407b1897bf7cc94.bundle.js → 358.d057bdfaaf7136305108.bundle.js} +1 -1
- package/dist/{354.f93c5a2afd738d69c647.bundle.js → 359.9e68265babe6c3029901.bundle.js} +1 -1
- package/dist/36.72b60f0dadcb9a3602c3.bundle.js +1 -0
- package/dist/{355.1f8e35f904433628b5f6.bundle.js → 360.6644ba58cb7fa55434a1.bundle.js} +1 -1
- package/dist/{356.ec6765fff7de228d9851.bundle.js → 361.346b783405475ff949b3.bundle.js} +1 -1
- package/dist/{357.080f7f0713070c48821d.bundle.js → 362.e2dea4b91c16395af08b.bundle.js} +1 -1
- package/dist/{358.0f1231c8453e8a211b66.bundle.js → 363.03cc3e776f5e7d936e62.bundle.js} +1 -1
- package/dist/{359.5e4939ee985e5ee4aa08.bundle.js → 364.2b194c33842b7293286f.bundle.js} +1 -1
- package/dist/365.4b5c136170ff6bd5cfa5.bundle.js +1 -0
- package/dist/{361.7d22ee4c5cc1f0f62847.bundle.js → 366.fb289ab7e21ccebf2e81.bundle.js} +1 -1
- package/dist/{362.1bacdbc961d8d9340b05.bundle.js → 367.c2fdbfd858869b8cfa02.bundle.js} +1 -1
- package/dist/{363.d56197d81f8b906de505.bundle.js → 368.88e91f9d577e4a24c393.bundle.js} +1 -1
- package/dist/{364.f7d8a7e79c6918701b69.bundle.js → 369.42cd152c380da070e17d.bundle.js} +1 -1
- package/dist/{32.be13f368fa0460e227a7.bundle.js → 37.979dafa06b4ac706175f.bundle.js} +1 -1
- package/dist/{365.e75d8e89ce4fbe893c53.bundle.js → 370.9854cfd406fdb9a960d1.bundle.js} +1 -1
- package/dist/{366.4a672b01bd6827f8fb5b.bundle.js → 371.162dd124d4ba999559f2.bundle.js} +1 -1
- package/dist/{367.c7afbfe177106f5da484.bundle.js → 372.7ef0b402b34de8fa7de3.bundle.js} +1 -1
- package/dist/{368.c422af78aedc9c0aa9fb.bundle.js → 373.9d1186f68be57f69bf19.bundle.js} +1 -1
- package/dist/{369.36c2e57f36dbbdb0244d.bundle.js → 374.fcf294a736f3cbfb2abd.bundle.js} +1 -1
- package/dist/{370.323b8d44f600bf312ca8.bundle.js → 375.61bfa3705d0a5b5e130f.bundle.js} +1 -1
- package/dist/376.bac4c4a317961264a74e.bundle.js +1 -0
- package/dist/377.9e726e205a4febd06881.bundle.js +1 -0
- package/dist/378.50b7c82a6f2ba7f7f1a0.bundle.js +1 -0
- package/dist/379.4a16971091276efef7ea.bundle.js +1 -0
- package/dist/38.6c4d98e2f8d52004ee09.bundle.js +1 -0
- package/dist/380.29ecd94330c14efa4786.bundle.js +1 -0
- package/dist/{375.3273381131fe2a8a2d6a.bundle.js → 381.1c5879a7d41b1fc0811c.bundle.js} +1 -1
- package/dist/{376.4abc77ce350e98e61006.bundle.js → 382.2e8bbae9cb4f64322dd7.bundle.js} +1 -1
- package/dist/383.3291512a191c74755806.bundle.js +1 -0
- package/dist/{378.13c8331f50dd6a1792d7.bundle.js → 384.ac1029daf540d96ab1ba.bundle.js} +1 -1
- package/dist/385.dcf0f30562fec30d81ae.bundle.js +1 -0
- package/dist/386.b0dcb641d78184c9cd9a.bundle.js +1 -0
- package/dist/387.53c1171594a47e46d973.bundle.js +1 -0
- package/dist/388.5fc49decfc830a511eef.bundle.js +1 -0
- package/dist/{383.233b1f1c05d6a41ca667.bundle.js → 389.3a0b6965084e6963a174.bundle.js} +1 -1
- package/dist/39.df1815db4cd3cf39819f.bundle.js +1 -0
- package/dist/{384.8974dcb54aa79ecfa41d.bundle.js → 390.5c30dfdf6beb8fc1cfc5.bundle.js} +1 -1
- package/dist/{385.991354ffdbbbef4b03cd.bundle.js → 391.5e23157e8a90a7fc552f.bundle.js} +1 -1
- package/dist/{386.fb346c88e1a04097ea31.bundle.js → 392.55fd2759761bf0209940.bundle.js} +1 -1
- package/dist/{3.bf5407fd4f31a2fb73fb.bundle.js → 4.aff67673cf6b0533d362.bundle.js} +1 -1
- package/dist/40.63661029e5734fd5562f.bundle.js +1 -0
- package/dist/{36.e08e03897ba4766efbb2.bundle.js → 41.0d3377c5004cb06d9ec5.bundle.js} +1 -1
- package/dist/{37.cfe4a522de85d5c655e4.bundle.js → 42.22de61ed85fccbb2f70f.bundle.js} +1 -1
- package/dist/{38.5454bca277ba64dc0b9c.bundle.js → 43.134daf93e10cc14378bf.bundle.js} +1 -1
- package/dist/44.987d20d3ac6c478ae000.bundle.js +1 -0
- package/dist/45.e78d204e8b77f6c8378b.bundle.js +1 -0
- package/dist/{41.6d31d16cd2e148da0781.bundle.js → 46.4d533b484c1b03410eb3.bundle.js} +1 -1
- package/dist/{42.48329e6d142b4e520134.bundle.js → 47.094ce29352480a54c186.bundle.js} +1 -1
- package/dist/48.68c92758daa2e09f72ed.bundle.js +1 -0
- package/dist/{44.00252a53efa0a86deb44.bundle.js → 49.528a09f441b28bf08064.bundle.js} +2 -2
- package/dist/5.1aa40b3ef6411ef4e8bb.bundle.js +1 -0
- package/dist/50.bf792163b8764b926168.bundle.js +1 -0
- package/dist/{46.a801a28fe2168e6c723c.bundle.js → 51.a90d10cc476db680948c.bundle.js} +1 -1
- package/dist/{47.059fd9cc3b179ebed65d.bundle.js → 52.2823d09c200882322ae5.bundle.js} +1 -1
- package/dist/{48.54707551ab8a11198afc.bundle.js → 53.96f2ad442baa9f720c6a.bundle.js} +1 -1
- package/dist/54.86a25a049a434243e725.bundle.js +1 -0
- package/dist/{50.c4d3b40295500a0c33ad.bundle.js → 55.5a1aa4dcdd6933de413b.bundle.js} +1 -1
- package/dist/{51.8fa369af0c8b5e11d04c.bundle.js → 56.59d91178e564f8808d62.bundle.js} +1 -1
- package/dist/{52.29052e36a74030d9e41a.bundle.js → 57.26d7d4f33d5f226943c6.bundle.js} +1 -1
- package/dist/{53.a61647e9e6eac009a7ae.bundle.js → 58.e6cbcfea71d0f5dc97d8.bundle.js} +1 -1
- package/dist/{55.2807daccad98b7aa15f2.bundle.js → 59.421ee2b1ea2721dedac8.bundle.js} +2 -2
- package/dist/{5.ebb8b6aea672c64029b1.bundle.js → 6.22d45d855c48545f09aa.bundle.js} +1 -1
- package/dist/{56.7452b2314534830e98ad.bundle.js → 60.da92690cb0d953cab0a1.bundle.js} +1 -1
- package/dist/{57.a23e424da1d5d3b5ae86.bundle.js → 61.b538e6950ca149a7e75b.bundle.js} +1 -1
- package/dist/{59.351c47755bb06aaa8331.bundle.js → 62.e7161db8cb36f588edaf.bundle.js} +1 -1
- package/dist/{60.3df0dcd9af2fa4c7ce34.bundle.js → 63.259cba761b15f620a198.bundle.js} +1 -1
- package/dist/64.56aea2ad2c856287190c.bundle.js +1 -0
- package/dist/{62.b927e1ec0b1ff61e718b.bundle.js → 65.98acc51a9d5dd9a86665.bundle.js} +1 -1
- package/dist/{63.fdf8c8063ae9069e4f52.bundle.js → 66.7f4aa7b917ae36e0bae9.bundle.js} +1 -1
- package/dist/67.3160625ff03b48f4188d.bundle.js +1 -0
- package/dist/68.ad5a293f3cca442615c0.bundle.js +1 -0
- package/dist/{65.1fe55cdf3db59639e085.bundle.js → 69.7d308309b390704d1493.bundle.js} +1 -1
- package/dist/7.a51db761d9c64e0ce870.bundle.js +1 -0
- package/dist/{66.56fb556d0519aa95d8f4.bundle.js → 70.d1b703ea44c96894d09e.bundle.js} +1 -1
- package/dist/{67.e6fb2cb180cf6dbadef7.bundle.js → 71.db1b70da8f6fefccf527.bundle.js} +1 -1
- package/dist/72.b5e64cea3d34ce9cfdd4.bundle.js +1 -0
- package/dist/73.a21b5393676f3e1707a2.bundle.js +1 -0
- package/dist/74.620c1813dfcb15bbbc24.bundle.js +1 -0
- package/dist/{71.1d860f6f8ae3d0192c80.bundle.js → 75.c1c8c7e9c459e0ee60c2.bundle.js} +1 -1
- package/dist/{72.a4d0ad3506f133140cec.bundle.js → 76.53ea6c6f22d3681f8837.bundle.js} +1 -1
- package/dist/{73.403c9b3c8405eae5d293.bundle.js → 77.6611d9338986b1a12868.bundle.js} +1 -1
- package/dist/{74.246979b1c0e7a79cbb85.bundle.js → 78.f6e3f127ae7da2f57ac3.bundle.js} +1 -1
- package/dist/{75.dc785f04f93ebfbe0f30.bundle.js → 79.1d3d629022ded5fbd984.bundle.js} +1 -1
- package/dist/8.101df7c69717778e920f.bundle.js +1 -0
- package/dist/{76.8a8f93d40dcf4291240b.bundle.js → 80.cc0811a26bf10316f9c7.bundle.js} +1 -1
- package/dist/{77.9cb29b89a66fd100e00b.bundle.js → 81.4d6864805c077f3a633f.bundle.js} +1 -1
- package/dist/{78.783bd0d21bd685c73354.bundle.js → 82.252c34f7f437d36937c0.bundle.js} +1 -1
- package/dist/{79.dbd2c812fd44a8c1ea2e.bundle.js → 83.fcffee43e09e1e76cc7d.bundle.js} +1 -1
- package/dist/{80.0dce75d76715811e2a2d.bundle.js → 84.d72d91884ff43e148b7b.bundle.js} +1 -1
- package/dist/85.97eaab6abd1ed466fc88.bundle.js +1 -0
- package/dist/86.5a49f7e16001eb9e3c71.bundle.js +1 -0
- package/dist/{83.8225300dc7f6501d3272.bundle.js → 87.a091d78e666c7408fc90.bundle.js} +1 -1
- package/dist/{84.61195a0da3027c477514.bundle.js → 88.a4d1f06b166b6572a071.bundle.js} +1 -1
- package/dist/89.53fc565430f4836f7f2c.bundle.js +1 -0
- package/dist/{7.a93531535990ecc25f07.bundle.js → 9.d5f26ca3c7c77b6cc0ac.bundle.js} +1 -1
- package/dist/{86.a2249c525b967ba8b763.bundle.js → 90.56c33a7601972e3e67d6.bundle.js} +1 -1
- package/dist/91.bd0add73fd8dfcaaf5e7.bundle.js +1 -0
- package/dist/{87.5aec7ee5fcb238104d38.bundle.js → 92.85cd3847caf6206077c7.bundle.js} +1 -1
- package/dist/{88.55adafc6fc56ada49607.bundle.js → 93.9e44d8527d129ad3acf1.bundle.js} +1 -1
- package/dist/{89.b6489d83523f9191b801.bundle.js → 94.b2ff0d4f0f1446e34048.bundle.js} +1 -1
- package/dist/95.49ca08a06e31cad93026.bundle.js +1 -0
- package/dist/{91.1df650208fadeee9f58b.bundle.js → 96.034bd4c7e0e8c36d076f.bundle.js} +1 -1
- package/dist/{92.06409c8e211adeee4d3e.bundle.js → 97.b898cf5aacd5400a7410.bundle.js} +1 -1
- package/dist/{93.b392be47708365adb665.bundle.js → 98.200bfd438d2ea40e05e0.bundle.js} +1 -1
- package/dist/{94.78366351a9e8b6118152.bundle.js → 99.aa44f325807ab43663ef.bundle.js} +1 -1
- package/dist/{bundle.202db8517acfc0d257cd.bundle.js → bundle.6d55f24bf710dc734eaf.bundle.js} +14 -14
- package/dist/css/ttyg/agent-list.css +5 -0
- package/dist/css/ttyg/agent-select-menu.css +5 -0
- package/dist/css/ttyg/chat-list.css +5 -0
- package/dist/css/ttyg/chat-panel.css +65 -6
- package/dist/css/ttyg/ttyg.css +22 -3
- package/dist/i18n/locale-en.json +22 -5
- package/dist/i18n/locale-fr.json +22 -5
- 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 +5 -3
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +30 -0
- package/dist/js/angular/ttyg/templates/chat-list.html +2 -2
- package/dist/js/angular/ttyg/templates/chat-panel.html +16 -36
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +27 -13
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +15 -22
- package/dist/license-checker.json +150 -4
- package/dist/{main.269962097c8301c719bd.bundle.js → main.9383f2ad934cf3bacb79.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 +2 -2
- 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.05a7770bb435a0b38fc6.bundle.js → polyfills-dom.f5c2e0835a269ea70ac8.bundle.js} +1 -1
- package/dist/res/swagger5/README.md +1 -1
- package/dist/res/swagger5/index.css +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/res/swagger5/oauth2-redirect.html +6 -6
- package/dist/res/swagger5/swagger-initializer.js +5 -0
- package/dist/res/swagger5/swagger-ui-bundle.js +1 -1
- package/dist/res/swagger5/swagger-ui-es-bundle-core.js +1 -1
- package/dist/res/swagger5/swagger-ui-es-bundle-core.js.map +1 -1
- package/dist/res/swagger5/swagger-ui-es-bundle.js +1 -1
- package/dist/res/swagger5/swagger-ui-standalone-preset.js +1 -1
- package/dist/res/swagger5/swagger-ui.js +1 -1
- package/dist/res/swagger5/swagger-ui.js.map +1 -1
- package/dist/{vendor.70a25ea39bd7c73a002b.bundle.js → vendor.30a6591bfdc394bd3913.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.82092a0fe7a70177b16e.bundle.js → vendors~polyfills-core-js.e7feaf41f75b46b008db.bundle.js} +1 -1
- package/package.json +4 -3
- package/dist/1.1a45680f3bec35238550.bundle.js +0 -1
- package/dist/10.bd27851334b1c8d91900.bundle.js +0 -1
- package/dist/113.6e2337d9644091e29855.bundle.js +0 -1
- package/dist/114.bf357cd566fb0d7f6ff0.bundle.js +0 -1
- package/dist/128.4fea7408f39af1661363.bundle.js +0 -1
- package/dist/130.e0e72d4ecf9667ad5882.bundle.js +0 -1
- package/dist/14.14d3683da668325381d3.bundle.js +0 -2
- package/dist/140.09159c313ee474b77d9d.bundle.js +0 -1
- package/dist/167.d4b7fc5fa09527e47466.bundle.js +0 -1
- package/dist/177.7a137d51259ef61ce5e5.bundle.js +0 -1
- package/dist/199.51811bb9e2e77cf4d2ea.bundle.js +0 -1
- package/dist/2.9770846cbe686a33e4f8.bundle.js +0 -2
- package/dist/20.6f75ff85c57c42f30433.bundle.js +0 -3
- package/dist/219.695162958f2fd3fd1cdd.bundle.js +0 -1
- package/dist/22.3c4fa5af09169a47d8a2.bundle.js +0 -1
- package/dist/221.72958b03d597ceecfe50.bundle.js +0 -1
- package/dist/23.9d9bea64ee0f22ec8159.bundle.js +0 -2
- package/dist/232.8815712672db26258aa6.bundle.js +0 -1
- package/dist/233.f3bb4e8d76549cfabee1.bundle.js +0 -1
- package/dist/240.fecfcc8370363c1b7687.bundle.js +0 -1
- package/dist/242.1e45789ff34bf3d1d6ec.bundle.js +0 -1
- package/dist/246.f10a2aae2e116152dc7c.bundle.js +0 -1
- package/dist/277.f02152d211fea267e0ed.bundle.js +0 -1
- package/dist/284.1ce80efe24b24204cb01.bundle.js +0 -1
- package/dist/29.dea0307e0502c61e2610.bundle.js +0 -1
- package/dist/290.83a1baddc302c385a207.bundle.js +0 -1
- package/dist/291.e69fc89f2f1c20f53684.bundle.js +0 -1
- package/dist/293.90f1abeb090649362253.bundle.js +0 -1
- package/dist/294.2d7d4a8da28fc02d3ba0.bundle.js +0 -1
- package/dist/295.0c580d314b031753d9b5.bundle.js +0 -1
- package/dist/310.82c1148db42192c0090c.bundle.js +0 -1
- package/dist/325.993f7143c5d5592ab355.bundle.js +0 -1
- package/dist/328.c8475579baf28af54890.bundle.js +0 -1
- package/dist/329.29a283ec1f3ceb4adb26.bundle.js +0 -1
- package/dist/33.34c20158a0c7476d953f.bundle.js +0 -1
- package/dist/330.4e27caee2a547aeaf45b.bundle.js +0 -1
- package/dist/34.cec479590af17a5f1b17.bundle.js +0 -1
- package/dist/35.2d8679e695ed60ffd6cb.bundle.js +0 -1
- package/dist/360.c02645ba0f7ccc709bd3.bundle.js +0 -1
- package/dist/371.4ac7a2c3459079f9fb6a.bundle.js +0 -1
- package/dist/372.8c2b50c5a331ae2b9c70.bundle.js +0 -1
- package/dist/373.9ed7674129588e479e21.bundle.js +0 -1
- package/dist/374.b8ba6d28714210a3468b.bundle.js +0 -1
- package/dist/377.ae7fb3655af86acf9cd8.bundle.js +0 -1
- package/dist/379.cee485c49fe7cbbf1b00.bundle.js +0 -1
- package/dist/380.19a7d7b2178f303269b4.bundle.js +0 -1
- package/dist/381.342f1effca225442db3a.bundle.js +0 -1
- package/dist/382.df1f73b97648ec3852ed.bundle.js +0 -1
- package/dist/39.6f313b421b3223b413e9.bundle.js +0 -1
- package/dist/4.3aa2978368a7d1c55d97.bundle.js +0 -1
- package/dist/40.8d1fe07eea5143d01072.bundle.js +0 -1
- package/dist/43.5bbca603ca6ec5a5068e.bundle.js +0 -1
- package/dist/45.d5bab5f557f0839e6056.bundle.js +0 -1
- package/dist/49.1d0155d2196c26d66a02.bundle.js +0 -1
- package/dist/54.1a6e4ada1e69a58b2b52.bundle.js +0 -1
- package/dist/58.463fc66ca234d1129da3.bundle.js +0 -1
- package/dist/6.2cf11b39c0980889d446.bundle.js +0 -1
- package/dist/61.e8a681d3549fc169ec69.bundle.js +0 -1
- package/dist/64.79f5587fd87a655b6f69.bundle.js +0 -1
- package/dist/68.e7d9be16a37b8887a931.bundle.js +0 -1
- package/dist/69.107d812cd5ebbf60fc94.bundle.js +0 -1
- package/dist/70.05fb2a311f0b1542c9e3.bundle.js +0 -1
- package/dist/8.7f0f98ff96fac525fd5a.bundle.js +0 -1
- package/dist/81.f11e24e42a58eddb7cbc.bundle.js +0 -1
- package/dist/82.2388472786ba09a073ac.bundle.js +0 -1
- package/dist/85.d4f4cc98d3ff4c390902.bundle.js +0 -1
- package/dist/9.385a4c21f00bcb09a7bc.bundle.js +0 -1
- package/dist/90.10abbbaca2bb8d1a79fe.bundle.js +0 -1
- package/dist/95.d4c56863599ed79076dd.bundle.js +0 -1
- package/dist/96.63d23375f0483dd84c16.bundle.js +0 -1
- package/dist/97.e18facc2d4c43d1ce376.bundle.js +0 -1
- package/dist/98.8db4998c638e9a3d3566.bundle.js +0 -1
- package/dist/99.5a00b0fcadc5efe1407e.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[40,100,210,218,219,249,251,306],{103:function(e,n,r){"use strict";r.r(n),r.d(n,"EventDataType",(function(){return t}));const t={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},109:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return t}));const t={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},110:function(e,n,r){"use strict";r.r(n),r.d(n,"TabQueryModel",(function(){return t}));class t{constructor(e,n,r,t=!0){this.queryName=e,this.query=n,this.owner=r,this.isPublic=t}}},111:function(e,n,r){"use strict";r.r(n),r.d(n,"QueryType",(function(){return t}));const t={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},112:function(e,n,r){"use strict";r.r(n),r.d(n,"VIEW_SPARQL_EDITOR",(function(){return t}));const t="graphdb-workbench-sparql-editor"},136:function(e,n,r){"use strict";r.r(n),r.d(n,"buildQueryModel",(function(){return u})),r.d(n,"savedQueriesResponseMapper",(function(){return a})),r.d(n,"savedQueryResponseMapper",(function(){return o})),r.d(n,"queryPayloadFromEvent",(function(){return s}));var t=r(110);const u=(e,n,r,u)=>new t.TabQueryModel(n,e,r,u),a=e=>e&&e.data?e.data.map?e.data.map(e=>u(e.body,e.name,e.owner,e.shared)):[u(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],o=e=>{const n=a(e);return n.length?n[0]:null},s=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[41,220,224,225,228,230],{146:function(t,i,s){"use strict";s.r(i),s.d(i,"YasrPluginName",(function(){return e}));const e={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}},256:function(t,i,s){"use strict";s.r(i),s.d(i,"YasguiOrientation",(function(){return e}));const e={VERTICAL:"orientation-vertical",HORIZONTAL:"orientation-horizontal"}},257:function(t,i,s){"use strict";s.r(i),s.d(i,"YasguiQueryHttpMethod",(function(){return e}));const e={POST:"POST",GET:"GET"}},328:function(t,i,s){"use strict";s.r(i),s.d(i,"OntotextYasguiConfig",(function(){return u}));var e=s(72),o=s(256),n=s(257),r=s(78),a=s(146);class u{constructor(){this.render=e.RenderingMode.YASGUI,this.orientation=o.YasguiOrientation.VERTICAL,this.showEditorTabs=!0,this.showResultTabs=!0,this.showResultInfo=!0,this.showToolbar=!0,this.showControlBar=!0,this.showQueryButton=!0,this.showQueryLoader=!0,this.endpoint="",this.i18n=void 0,this.method=n.YasguiQueryHttpMethod.GET,this.headers=void 0,this.infer=void 0,this.immutableInfer=void 0,this.sameAs=void 0,this.immutableSameAs=void 0,this.clearState=!1,this.copyEndpointOnNewTab=!0,this.componentId=void 0,this.yasqeMode=r.YasqeMode.WRITE,this.query=void 0,this.initialQuery=void 0,this.defaultTabNameLabelKey=void 0,this.yasqeActionButtons=void 0,this.createShareableLink=null,this.populateFromUrl=!1,this.prefixes=void 0,this.defaultPlugin=a.YasrPluginName.EXTENDED_TABLE,this.pluginOrder=[a.YasrPluginName.EXTENDED_TABLE,a.YasrPluginName.RAW_RESPONSE],this.pluginsConfigurations=void 0,this.pageSize=1e3,this.paginationOn=!0,this.downloadAsOn=!0,this.maxPersistentResponseSize=5e5,this.yasqeAutocomplete=void 0,this.isVirtualRepository=void 0,this.beforeUpdateQuery=void 0,this.getRepositoryStatementsCount=void 0,this.onQueryAborted=void 0,this.yasrToolbarPlugins=void 0,this.getCellContent=(t,i)=>"",this.sparqlResponse=void 0}}},72:function(t,i,s){"use strict";s.r(i),s.d(i,"RenderingMode",(function(){return e}));const e={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},78:function(t,i,s){"use strict";s.r(i),s.d(i,"YasqeMode",(function(){return e}));const e={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[42,220,228,246,247,304],{167:function(e,t,r){"use strict";r.r(t),r.d(t,"SparqlTemplateError",(function(){return a}));class a extends Error{}},168:function(e,t,r){"use strict";r.r(t),r.d(t,"DEFAULT_SPARQL_QUERY",(function(){return a})),r.d(t,"SparqlTemplateInfo",(function(){return n}));const a="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX ex: <http://example.com#>\nDELETE {\n ?subject ex:myPredicate ?oldValue .\n} INSERT {\n ?subject ex:myPredicate ?newValue .\n} WHERE {\n ?id rdf:type ex:MyType .\n ?subject ex:isRelatedTo ?id .\n}\n";class n{constructor(e=a,t=!0,r){this.query=e,this.templateID=r,this.isNewTemplate=t,this.templateExist=!1,this.isValidTemplateId=!0,this.isValidQuery=!0,this.isValidQueryMode=!0}}},273:function(e,t,r){"use strict";r.r(t);r(7),r(32),r(34),r(79),r(35),r(17);var a=r(0),n=r(168),s=r(167),i=r(78),o=r(72),l=r(15);function p(e,t,r,a,n,s,i){e.pluginName="sparql-template",e.setPluginIsActive=function(t){e.pluginIsActive=t},e.getSparqlTemplates=function(){s.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()?r.getSparqlTemplates(t.getActiveRepository()).success((function(t){e.sparqlTemplateIds=t})).error((function(e){const t=getError(e);a.error(t,i.instant("sparql.template.get.templates.error"))})):e.sparqlTemplateIds=[]},e.$watch((function(){return t.getActiveRepository()}),(function(){e.getSparqlTemplates()})),e.deleteTemplate=function(s){n.openSimpleModal({title:i.instant("common.warning"),message:i.instant("sparql.template.delete.template.warning",{templateID:s}),warning:!0}).result.then((function(){r.deleteSparqlTemplate(s,t.getActiveRepository()).success((function(){a.success(s,i.instant("sparql.template.delete.template.success")),e.getSparqlTemplates()})).error((function(e){a.error(getError(e),i.instant("sparql.template.delete.template.failure",{templateID:s}))}))}))}}function c(e,t,r,p,c,m,u,d,f,g,T,q,h,I,y,E){e.initialQuery=n.DEFAULT_SPARQL_QUERY,e.sparqlTemplateInfo=new n.SparqlTemplateInfo(e.initialQuery),e.title="",e.saveOrUpdateExecuted=!1,e.isDirty=!1,e.language=E.getLanguage(),e.canEditActiveRepo=!1;let w=!0;e.saveTemplate=function(){e.saveOrUpdateExecuted=!0,A()||Y();const t=e.sparqlTemplateInfo.isNewTemplate?S:b;M(e.sparqlTemplateInfo).then(Q).then(D).then(x).then(t).then(V).catch(e=>{e instanceof s.SparqlTemplateError||console.log(e)})},e.isTemplateIdValid=e=>T.isValidIri(e,e.toString()),e.markDirty=()=>{e.isDirty=!0},e.markPristine=()=>{e.isDirty=!1};const v=(t,r=n.DEFAULT_SPARQL_QUERY)=>{e.sparqlTemplateInfo.query=r,e.sparqlTemplateInfo.templateID=j(),e.sparqlTemplateInfo.isNewTemplate=!e.sparqlTemplateInfo.templateID,U(),e.yasguiConfig={showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showYasqeResizer:!1,yasqeActionButtons:l.DISABLE_YASQE_BUTTONS_CONFIGURATION,showQueryButton:!1,initialQuery:e.sparqlTemplateInfo.query,componentId:"sparql-template",prefixes:t,render:o.RenderingMode.YASQE,maxPersistentResponseSize:0,yasqeMode:e.canEditActiveRepo?i.YasqeMode.WRITE:i.YasqeMode.PROTECTED}},S=e=>R(e).then($).then(P),R=t=>f.getSparqlTemplates(c.getActiveRepository()).then((function(r){return t.templateExist=r.data.find(t=>t===e.sparqlTemplateInfo.templateID),t})).catch((function(e){const t=getError(e);return p.error(t,h.instant("sparql.template.get.templates.error")),Promise.reject(new s.SparqlTemplateError("Failed to retrieve sparql templates."))})),D=e=>L().isQueryValid().then(t=>(e.isValidQuery=t,e.isValidQuery?e:Promise.reject(new s.SparqlTemplateError("Invalid query.")))),A=()=>e.sparqlTemplateInfo.isNewTemplate||e.isDirty,$=e=>new Promise((t,r)=>{if(e.templateExist){const n=Object(a.decodeHTML)(h.instant("sparql.template.existing.template.error",{templateID:e.templateID})),i=h.instant("common.confirm.save");C(i,n,()=>t(e),()=>r(new s.SparqlTemplateError("Save not confirmed.")))}else t(e)});function P(t){return f.createSparqlTemplate(t,c.getActiveRepository()).then((function(){return t.isNewTemplate=!1,e.markPristine(),p.success(t.templateID,h.instant("save.sparql.template.success.msg")),t})).catch((function(e){const r=getError(e);return p.error(r,h.instant("save.sparql.template.failure.msg",{templateID:t.templateID})),Promise.reject(new s.SparqlTemplateError("Failed to save the new template: "+t.templateID))}))}const b=t=>f.updateSparqlTemplate(t,c.getActiveRepository()).then((function(){return t.isNewTemplate=!1,e.markPristine(),p.success(e.sparqlTemplateInfo.templateID,h.instant("update.sparql.template.success.msg")),t})).catch((function(e){const r=getError(e);return p.error(r,h.instant("save.sparql.template.failure.msg",{templateID:t.templateID})),Promise.reject(new s.SparqlTemplateError("Failed to update the template: "+t.templateID))})),Q=e=>L().getQuery().then(t=>(e.query=t,e)),x=e=>L().getQueryMode().then(t=>(e.isValidQueryMode="update"===t,e.isValidQueryMode?e:Promise.reject(new s.SparqlTemplateError("Query mode is not valid.")))),M=t=>new Promise((r,a)=>{t.templateID?(t.isValidTemplateId=e.isTemplateIdValid(t.templateID),t.isValidTemplateId?r(t):a(new s.SparqlTemplateError("Template identifier is not valid."))):a(new s.SparqlTemplateError("A required template identifier is missing."))}),V=()=>{setTimeout((function(){Y()}),1e3)},j=()=>{const e=r.hash()||"";return(r.search().templateID||"")+(e?"#"+e:"")},U=()=>{e.title=(e.sparqlTemplateInfo.templateID?h.instant("edit"):h.instant("common.create.btn"))+" "+h.instant("view.sparql.template.title")},Y=()=>{r.url("/sparql-templates")},k=(t,r)=>{e.queryIsRunning=t,e.loaderMessage=e.queryIsRunning?r:""},L=()=>l.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),C=(e,t,r,a)=>{q.openSimpleModal({title:e,message:t,warning:!0}).result.then((function(){angular.isFunction(r)&&r()}),(function(){angular.isFunction(a)&&a()}))},F=()=>{window.removeEventListener("beforeunload",N),O.forEach(e=>e())},N=t=>{e.isDirty&&(t.returnValue=!0)},O=[];O.push(e.$on("queryChanged",(t,r)=>{r.dirty?e.markDirty():e.markPristine()})),O.push(t.$on("$translateChangeSuccess",()=>{e.language=E.getLanguage(),U()})),O.push(e.$on("$locationChangeStart",(t,a)=>{if(e.isDirty){t.preventDefault();const e=h.instant("common.confirm"),n=h.instant("jdbc.warning.unsaved.changes");C(e,n,()=>{F();const e=r.absUrl().length-r.url().length,t=a.substring(e);r.path(t)})}else F()})),O.push(y.subscribe("repositoryWillChangeEvent",t=>new Promise((function(r){if(e.sparqlTemplateInfo.isNewTemplate)return void r(t);const a=()=>{e.isDirty=!1,Y(),r(t)};if(e.isDirty){const e=()=>{t.cancel=!0,r(t)},n=h.instant("common.confirm"),s=h.instant("jdbc.warning.unsaved.changes");C(n,s,a,e)}else a()})))),O.push(e.$on("$destroy",F)),window.addEventListener("beforeunload",N);const _=()=>{const t=`${h.instant("common.refreshing.namespaces")}. ${h.instant("common.extra.message")}`;k(!0,t),e.sparqlTemplateInfo.templateID=j();const r=c.getActiveRepository();e.sparqlTemplateInfo.templateID?Promise.all([c.getPrefixes(r),f.getSparqlTemplate(e.sparqlTemplateInfo.templateID,r)]).then(([e,t])=>v(e,t.data)).finally(()=>k(!1)):c.getPrefixes(r).then(e=>v(e)).finally(()=>k(!1))};O.push(e.$watch(e.getActiveRepositoryObject,t=>{t&&(e.canEditActiveRepo=e.canWriteActiveRepo(),w?(_(),w=!1):Y())}))}angular.module("graphdb.framework.sparql-template.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","toastr","graphdb.framework.utils.event-emitter-service"],["graphdb.framework.utils.notifications"]).controller("SparqlTemplatesCtrl",p).controller("SparqlTemplateCreateCtrl",c),p.$inject=["$scope","$repositories","SparqlTemplatesRestService","toastr","ModalService","$licenseService","$translate"],c.$inject=["$scope","$rootScope","$location","toastr","$repositories","$window","$timeout","$interval","SparqlTemplatesRestService","RDF4JRepositoriesRestService","UriUtils","ModalService","$translate","$q","EventEmitterService","$languageService"]},72:function(e,t,r){"use strict";r.r(t),r.d(t,"RenderingMode",(function(){return a}));const a={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},78:function(e,t,r){"use strict";r.r(t),r.d(t,"YasqeMode",(function(){return a}));const a={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},79:function(e,t){function r(e,t){return{showToastMessageWithDelay:function(r){return new Promise(a=>{e.success(t.instant(r)),setTimeout(a,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",r),r.$inject=["toastr","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[43,71,220,240,241,242],{131:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return s}));const s={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},259:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var s=t(81),r=t(131),a=t(72);const n=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new s.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=r.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=a.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;r.SimilarityQueryType.DATA!==t?r.SimilarityQueryType.SEARCH!==t?r.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case r.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case r.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case r.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;r.SimilarityQueryType.DATA!==t?r.SimilarityQueryType.SEARCH!==t?r.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;r.SimilarityQueryType.DATA!==t?r.SimilarityQueryType.SEARCH!==t?r.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 r.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return r.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return r.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 n.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return a.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return a.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}}},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return s}));const s={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 s}));const s={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>s.TEXT===e,isTextLiteralType:e=>s.TEXT_LITERAL===e,isPredicationType:e=>s.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return s}));const s={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>s.CREATING===e,isBuildingStatus:e=>s.BUILDING===e,isBuiltStatus:e=>s.BUILT===e,isRebuildingStatus:e=>s.REBUILDING===e,isOutdatedStatus:e=>s.OUTDATED===e,isInterruptedStatus:e=>s.INTERRUPTED===e,isObsoleteStatus:e=>s.OBSOLETE===e,isFailedStatus:e=>s.FAILED===e}},81:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return a}));var s=t(76),r=t(77);class a{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=s.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return s.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return s.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return s.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[44,99,243,244,283],{114:function(e,i){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",t),t.$inject=["$http","$repositories"];function t(e){return{getIndexes:function(){return e.get("rest/similarity")},getSearchQueries:function(){return e.get("rest/similarity/config")},rebuildIndex:function(e){return i("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(i){return e.delete("rest/similarity?name="+i.name)},createIndex:i,getSamples:function(){return e.get("rest/similarity/samples")},getQuery:function(i){return e.get("rest/similarity/query",{params:{name:i.indexName,options:i.indexOptions,stopList:i.indexStopList,selectQuery:i.query,infer:i.queryInference,sameAs:i.querySameAs,type:i.viewType,analyzer:i.indexAnalyzer}})},saveSearchQuery:function(i){return e({method:"put",url:"rest/similarity/search-query",data:i})}};function i(i,t,r,a,s,c,n,l,o,y,p){return e({method:i,url:"rest/similarity",noCancelOnRouteChange:!0,data:{name:t,options:r,selectQuery:a,stopList:n,infer:l,sameAs:o,type:y,analyzer:p,searchQuery:s,analogicalQuery:c}})}}},165:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityResultType",(function(){return r}));const r={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:e=>r.DOCUMENT_RESULT===e,isResultTermType:e=>r.TERM_RESULT===e}},166:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilaritySearch",(function(){return a}));var r=t(99);class a{constructor(){this.type=r.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return r.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return r.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return r.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return r.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return r.SimilaritySearchType.isSearchDocumentType(this.type)}}},272:function(e,i,t){"use strict";t.r(i);var r=t(0),a=t(99),s=t(165),c=t(77),n=t(76),l=t(90),o=t(166),y=t(72);function p(e,i,t,p,u,S,d,m,h,T,g,R,x,I){const E="http://www.ontotext.com/graphdb/similarity/",A="http://www.ontotext.com/graphdb/similarity/psi/",b=A+"any";e.pluginName="similarity",e.pluginIsActive=!0,e.isLoading=!1,e.selectedSimilarityIndex=void 0,e.similarityIndexStatus=c.SimilarityIndexStatus,e.similarityIndexType=n.SimilarityIndexType,e.similaritySearchType=a.SimilaritySearchType,e.searchType=a.SimilaritySearchType.SEARCH_TERM,e.similarityResultType=s.SimilarityResultType,e.resultType=s.SimilarityResultType.TERM_RESULT,e.info=g,e.isGraphDBRepository=void 0,e.canEditRepo=e.canWriteActiveRepo(),e.loadSimilarityIndexesTimer=void 0,e.loadSimilarityIndexes=()=>{e.isGraphDBRepository&&e.pluginIsActive&&h.getIndexes().success(i=>e.similarityIndexes=Object(l.mapIndexesResponseToSimilarityIndex)(i)).error(e=>t.error(getError(e),x.instant("similarity.could.not.get.indexes.error")))},e.reloadSimilarityIndexes=()=>{e.loadSimilarityIndexes(),e.loadSimilarityIndexesTimer||(e.loadSimilarityIndexesTimer=i((function(){e.$broadcast("checkIsActive"),"false"!==$("#indexes-table").attr("aria-expanded")&&e.loadSimilarityIndexes()}),5e3))},e.goToSimilarityIndex=i=>{(i.isBuiltStatus()||i.isOutdatedStatus()||i.isRebuildingStatus())&&(e.empty=!0,e.selectedSimilarityIndex!==i&&(e.lastSearch=void 0,e.selectedSimilarityIndex=i),i.isTextType()?e.searchType=a.SimilaritySearchType.SEARCH_TERM:i.isPredicationType()&&(e.searchType=a.SimilaritySearchType.SEARCH_ENTITY),(i.isTextType()||i.isPredicationType())&&$("#indexes-table").collapse("hide"))},e.performSearch=(i,r,a,s,c)=>{e.isLoading=!0,M(a,r);const n=q(i,r,a,s,c);I.getQueryResult(p.getActiveRepository(),n,"application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8").then(e=>H(e)).catch(e=>t.error(getError(e.data),x.instant("similarity.get.resource.error"))).finally(()=>e.isLoading=!1)},e.viewSearchQuery=()=>{let i;i=e.lastSearch.isSearchAnalogicalType()?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type];let t=[],r="";t=i.match(/[a-zA-Z0-9-]+:<http:\/\/www.ontotext.com\/graphdb\/similarity\/instance\/>/),r=null==t?"similarity-index":t[0].substring(0,t[0].indexOf(":"));const s=i.replace("?index",r+":"+e.selectedSimilarityIndex.name).replace("?query",e.lastSearch.termOrSubject).replace("?searchType",(e.selectedSimilarityIndex.isTextType()?":":"psi:")+(e.lastSearch.isSearchEntityPredicateType()?a.SimilaritySearchType.SEARCH_ENTITY:e.lastSearch.type)).replace("?resultType",e.selectedSimilarityIndex.isTextType()?":"+e.resultType:"psi:entityResult").replace("?parameters",Q(e.searchParameters?e.searchParameters:"")).replace("?psiPredicate",e.lastSearch.predicate?C(e.lastSearch.predicate):C(b)).replace("?givenSubject",C(e.analogicalSubject)).replace("?givenObject",C(e.analogicalObject)).replace("?searchSubject",C(e.searchSubject));m.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:()=>s}})},e.deleteSimilarityIndex=i=>{d.openSimpleModal({title:x.instant("common.confirm"),message:x.instant("similarity.delete.index.warning",{name:i.name}),warning:!0}).result.then((function(){h.deleteIndex(i).then(()=>e.loadSimilarityIndexes()).catch(e=>t.error(getError(e)))}))},e.viewCreateQuery=e=>{h.getQuery({indexName:e.name,indexOptions:e.options,query:e.selectQuery,indexStopList:e.stopList,queryInference:e.infer,querySameAs:e.sameAs,viewType:e.type,indexAnalyzer:e.analyzer}).success(e=>{m.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:()=>e}})})},e.rebuildIndex=i=>{i.searchQuery||(i.searchQuery=i.type?e.searchQueries[i.type]:e.searchQueries.text),d.openSimpleModal({title:x.instant("common.confirm"),message:Object(r.decodeHTML)(x.instant("similarity.rebuild.index.warning",{name:i.name})),warning:!0}).result.then(()=>{i.status=c.SimilarityIndexStatus.REBUILDING,h.rebuildIndex(i).catch(e=>t.error(getError(e)))})},e.setPluginIsActive=i=>{e.pluginIsActive=i},e.encodeURIComponent=e=>encodeURIComponent(e),e.copyToClipboardResult=e=>{d.openCopyToClipboardModal(e)},e.trimIRI=e=>_.trim(e,"<>"),e.updateSearchType=i=>{e.searchType=i},e.updateResultType=i=>{e.resultType=i},e.editSimilarityIndex=e=>{f(e)},e.cloneSimilataryIndex=e=>{f(e,!0)},e.setPsiSubject=i=>{e.psiSubject=i},e.setAnalogicalSubject=i=>{e.analogicalSubject=i},e.setAnalogicalObject=i=>{e.analogicalObject=i};const f=(e,i=!1)=>{const t={selectQuery:e.selectQuery,options:e.options,name:e.name,editSearchQuery:!i,infer:e.infer,sameAs:e.sameAs,stopList:e.stopList,type:e.type,analyzer:e.analyzer,searchQuery:e.searchQuery?e.searchQuery:"",analogicalQuery:e.analogicalQuery?e.analogicalQuery:""};S.path("similarity/index/create").search(t)},w=()=>{const i=e.getActiveRepository();i&&e.activeRepository!==i&&(e.canEditRepo=e.canWriteActiveRepo(),e.activeRepository=i,e.isGraphDBRepository=j(),e.isGraphDBRepository&&(u.isLicenseValid()&&e.reloadSimilarityIndexes(),v()))},v=()=>{h.getSearchQueries().success(i=>e.searchQueries=i).error(e=>t.error(getError(e),x.instant("similarity.could.not.get.search.queries.error")))},Q=e=>'"'+e+'"',C=e=>void 0===e||e.startsWith("<<")&&e.endsWith(">>")?e:"<"+e+">",j=()=>e.getActiveRepository()&&!e.isActiveRepoOntopType()&&!e.isActiveRepoFedXType(),L=[];L.push(e.$on("repositoryIsSet",w));e.$on("$destroy",()=>{O(),e.loadSimilarityIndexesTimer&&i.cancel(e.loadSimilarityIndexesTimer)});const O=()=>{L.forEach(e=>e())};L.push(e.$on("autocompleteStatus",()=>{u.isLicenseValid()&&(e.getAutocompletePromise=T.checkAutocompleteStatus())}));L.push(e.$watch("searchType",()=>{e.empty=!0}));const P=e.$watch(e.getActiveRepositoryObject,e=>{e&&(w(),P())}),q=(i,t,r,c,n)=>{const l={query:N(e.lastSearch.type),$index:C("http://www.ontotext.com/graphdb/similarity/instance/"+i.name),$query:e.lastSearch.termOrSubject,$searchType:C((e.selectedSimilarityIndex.isTextType()?E:A)+(a.SimilaritySearchType.isSearchEntityPredicateType(r)?a.SimilaritySearchType.SEARCH_ENTITY:r)),$resultType:C(e.selectedSimilarityIndex.isTextType()?E+c:A+s.SimilarityResultType.ENTITY_RESULT),$parameters:Q(n)};return a.SimilaritySearchType.isSearchEntityPredicateType(r)&&(l.$psiPredicate=e.lastSearch.predicate?C(e.lastSearch.predicate):C(b)),a.SimilaritySearchType.isSearchAnalogicalType(r)&&(e.searchSubject=t,l.$givenSubject=C(e.analogicalSubject),l.$givenObject=C(e.analogicalObject),l.$searchSubject=C(t)),l},M=(i,t)=>{e.lastSearch=new o.SimilaritySearch,e.lastSearch.type=i,a.SimilaritySearchType.isSearchEntityPredicateType(i)&&(e.lastSearch.predicate=t),e.lastSearch.termOrSubject=D(e.lastSearch.type,t,e.psiSubject)},N=i=>{let t;return t=a.SimilaritySearchType.isSearchAnalogicalType(i)?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type],t},D=(e,i,t)=>{let r=i;return r=a.SimilaritySearchType.isSearchEntityPredicateType(e)?t:a.SimilaritySearchType.isSearchTermType(e)?Q(r):C(r),r},H=i=>{e.yasguiConfig={showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,componentId:"similarity-list-component",maxPersistentResponseSize:0,render:y.RenderingMode.YASR,sparqlResponse:i.data}}}angular.module("graphdb.framework.similarity.controllers.list",[]).controller("SimilarityCtrl",p),p.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$location","ModalService","$uibModal","SimilarityRestService","AutocompleteRestService","productInfo","RDF4JRepositoriesRestService","$translate","SparqlRestService"]},357:function(e,i,t){"use strict";t.r(i);t(7),t(31),t(37),t(114),t(272),t(280),t(108);angular.module("graphdb.framework.similarity",["graphdb.framework.core.controllers","graphdb.framework.core.directives","graphdb.framework.rest.similarity.service","graphdb.framework.similarity.controllers.create","graphdb.framework.similarity.controllers.list","graphdb.framework.core.directives.yasgui-component"])},99:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilaritySearchType",(function(){return r}));const r={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>r.SEARCH_TERM===e,isSearchAnalogicalType:e=>r.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>r.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>r.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>r.SEARCH_DOCUMENT===e}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[45,95,183,184,274],{113:function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectorTypesListModel",(function(){return s})),n.d(t,"ConnectorTypeModel",(function(){return r})),n.d(t,"ConnectorListModel",(function(){return o})),n.d(t,"ConnectorModel",(function(){return c})),n.d(t,"ConnectorSettingsModel",(function(){return i}));class s{constructor(e={}){this._connectors=e.connectors||[]}getConnectorByName(e){return this._connectors.find(t=>t.name===e)}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class r{constructor(e){this._name=e.name,this._prefix=e.prefix}get name(){return this._name}set name(e){this._name=e}get prefix(){return this._prefix}set prefix(e){this._prefix=e}}class o{constructor(e=[]){this._connectors=e.connectors}get connectors(){return this._connectors}set connectors(e){this._connectors=e}}class c{constructor(e){this._name=e.name,this._settings=new i(e)}get settings(){return this._settings}set settings(e){this._settings=e}get name(){return this._name}set name(e){this._name=e}}class i{constructor(e){this._settings=e.values||{}}get settings(){return this._settings}set settings(e){this._settings=e}}},147:function(e,t,n){"use strict";n.r(t),n.d(t,"connectorTypesListMapper",(function(){return r})),n.d(t,"connectorsMapper",(function(){return o}));var s=n(113);const r=e=>{const t=new s.ConnectorTypesListModel;return e?(t.connectors=Object.keys(e).map(t=>new s.ConnectorTypeModel({name:t,prefix:e[t]})),t):t},o=e=>{const t=new s.ConnectorListModel;return e?(t.connectors=e.map(e=>new s.ConnectorModel(e)),t):t}},199:function(e,t,n){"use strict";n.r(t);n(84);var s=n(147),r=n(75);function o(e){const t=()=>e.getConnectors().then(e=>Object(s.connectorTypesListMapper)(e.data)),n=t=>e.hasConnector(encodeURIComponent(t)).then(e=>Object(s.connectorsMapper)(e.data));return{getConnectorTypes:t,getConnectorsByType:n,getConnectorPrefixByName:e=>t().then(t=>{const n=t.getConnectorByName(e);return n?n.prefix:null}),getConnectorsByTypeAsSelectMenuOptions:e=>n(e).then(e=>e.connectors.map(e=>new r.SelectMenuOptionsModel({value:e.name,label:e.name})))}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",o),o.$inject=["ConnectorsRestService"]},75:function(e,t,n){"use strict";n.r(t),n.d(t,"SelectMenuOptionsModel",(function(){return s})),n.d(t,"TextFieldModel",(function(){return r})),n.d(t,"NumericRangeModel",(function(){return o}));class s{constructor({label:e,value:t,selected:n=!1,data:s={}}){this._label=e,this._value=t,this._selected=n,this._data=s}get label(){return this._label}set label(e){this._label=e}get value(){return this._value}set value(e){this._value=e}get selected(){return this._selected}set selected(e){this._selected=e}get data(){return this._data}set data(e){this._data=e}}class r{constructor(e){this._value=e.value,this._minLength=e.minLength,this._maxLength=e.maxLength}get value(){return this._value}set value(e){this._value=e}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e}get minLength(){return this._minLength}set minLength(e){this._minLength=e}}class o{constructor(e){this._value=e.value,this._minValue=e.minValue,this._maxValue=e.maxValue,this._step=e.step}get value(){return this._value}set value(e){this._value=e}get minValue(){return this._minValue}set minValue(e){this._minValue=e}get maxValue(){return this._maxValue}set maxValue(e){this._maxValue=e}get step(){return this._step}set step(e){this._step=e}}},84:function(e,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",n),n.$inject=["$http"];function n(e){return{getConnectors:function(){return e.get("rest/connectors")},initConnector:function(t){return e.get("rest/connectors/options?prefix="+t)},hasConnector:function(t){return e.get("rest/connectors/existing?prefix="+t)},checkConnector:function(t){return e.post("rest/connectors/check",t,{headers:{"Content-Type":"text/plain"}})}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[46,94,189,190,192,307],{155:function(e,t,n){"use strict";n.r(t),n.d(t,"SortingType",(function(){return o}));const o={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},73:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return o}));const o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},83:function(e,t,n){"use strict";n.r(t),n.d(t,"removeSpecialChars",(function(){return r})),n.d(t,"toBoolean",(function(){return c})),n.d(t,"toTitleCase",(function(){return s}));var o=n(30);const r=e=>e.replace(/[()']/g,""),c=e=>"string"==typeof e?"true"===e:Boolean(e),s=e=>e?Object(o.upperFirst)(e.toLowerCase()):e},89:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceType",(function(){return o}));const o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},91:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return c}));var o=n(30),r=n(73);const c={USER:"user",SERVER:"server"};function s(e){let t=c.USER,n=[],s=[],u=[],i=!0,d=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",f())},getActiveTabId:f,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:R,addFile:function(t){const n=R();n.push(t),l(n),e.emitSync("fileAdded",Object(o.cloneDeep)(t))},updateFiles:l,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:m,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",m()),e.emitSync("resourcesUpdated",U())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:U,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){i=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){d=Object(o.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=O(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);E(t)},getResourceForUpload:function(e){return Object(o.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:E,getResourcesForUpload:O,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(o.cloneDeep)(d)}function p(){return i}function f(){return t}function l(t){u=Object(o.cloneDeep)(t),e.emitSync("filesUpdated",R())}function R(){return Object(o.cloneDeep)(u)}function m(){return Object(o.cloneDeep)(n)||[]}function U(){const e=m();let t=O();const n=[],o=[];return e.forEach(({name:e})=>{const c=t.find(({name:t})=>t===e);c&&(c.status===r.ImportResourceStatus.UPLOADED?n.push(c):o.push(c))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),E(t,!1)),e.filter(({name:e})=>!o.some(t=>e===t)).concat(t)}function E(t,n=!0){s=Object(o.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",O()),n&&e.emitSync("resourcesUpdated",U())}function O(){return Object(o.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[47,57,187,189,190],{117:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportParsingSettings",(function(){return r}));class r{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},154:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResource",(function(){return n}));var r=s(73),i=s(117),o=s(89);class n{constructor(e,t){this.hash=t(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:r.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},236:function(e,t,s){"use strict";s.r(t),s.d(t,"toImportResource",(function(){return o})),s.d(t,"fileToImportResource",(function(){return n})),s.d(t,"filesToImportResource",(function(){return a}));var r=s(154),i=s(16);const o=e=>{const t=Object(i.md5HashGenerator)();return e.map(e=>new r.ImportResource(e,t))},n=e=>{const t=Object(i.md5HashGenerator)();return new r.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:e.lastModified,file:e},t)},a=(e,t)=>{const s=Object(i.md5HashGenerator)();return e.map(e=>new r.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:void 0,file:e,status:t},s))}},73:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},89:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[48,72,73,102,254],{126:function(t,s,e){"use strict";e.r(s),e.d(s,"chatMessageModelListMapper",(function(){return h})),e.d(s,"chatItemsModelMapper",(function(){return n})),e.d(s,"chatMessageModelMapper",(function(){return r}));var a=e(71),i=e(74);const h=t=>t?t.map(t=>r(t)):[],n=(t=[])=>{const s=[];let e;return t.forEach(t=>{if(a.CHAT_MESSAGE_ROLE.USER===t.role){e&&s.push(e);const a=t.conversationId,h=t.agentId;e=new i.ChatItemModel(a,h,t)}else e.answer=t}),e&&s.push(e),new i.ChatItemsListModel(s)},r=t=>{if(t)return new a.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})}},201:function(t,s,e){"use strict";e.r(s),e.d(s,"chatsListMapper",(function(){return o})),e.d(s,"chatModelMapper",(function(){return c}));var a=e(82),i=e(16),h=e(126),n=e(74);const r=Object(i.md5HashGenerator)(),o=t=>{if(!t)return new a.ChatsListModel;const s=t.map(t=>c(t));return new a.ChatsListModel(s)},c=t=>{if(t)return new a.ChatModel({id:t.id,name:t.name,timestamp:t.timestamp,chatHistory:t.messages&&t.messages.length?Object(h.chatItemsModelMapper)(t.messages.reverse()):new n.ChatItemsListModel},r)}},71:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return a})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return i}));class a{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const i={USER:"user",ASSISTANT:"assistant"}},74:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return i})),e.d(s,"ChatItemsListModel",(function(){return h}));var a=e(71);class i{constructor(t,s,e,a){this._chatId=t,this._agentId=s,this._question=e,this._answer=a}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answer(){return this._answer}set answer(t){this._answer=t}setQuestionMessage(t){this._question||(this._question=new a.ChatMessageModel({role:a.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}}class h{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}}},82:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return i})),e.d(s,"ChatByDayModel",(function(){return h})),e.d(s,"ChatsListModel",(function(){return n}));var a=e(74);class i{constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory||new a.ChatItemsListModel,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this.generateHash(),this._name=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chatHistory(){return this._chatHistory}set chatHistory(t){this._chatHistory=t||new a.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}class h{constructor(t){this._day=t.day,this._timestamp=t.timestamp,this._chats=t.chats}get day(){return this._day}set day(t){this._day=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chats(){return this._chats}set chats(t){this._chats=t}}class n{constructor(t){this._chats=t||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((t,s)=>s.timestamp-t.timestamp)}updateChatsByDay(){this._chatsByDay=[],this._chats.forEach(t=>{const s=new Date(1e3*t.timestamp).toDateString(),e=this._chatsByDay.find(t=>t.day===s);e?e.chats.push(t):this._chatsByDay.push(new h({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}appendChat(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(t=>{t.selected=!1})}selectChat(t){this.deselectAll(),this._chats.forEach(s=>{s.selected=s.id===t.id})}getChat(t){return this._chats.find(s=>s.id===t)}renameChat(t){const s=this._chats.find(s=>s.id===t.id);s&&(s.name=t.name)}get chats(){return this._chats}set chats(t){this._chats=t}get chatsByDay(){return this._chatsByDay}set chatsByDay(t){this._chatsByDay=t}}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
2
|
-
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,a=38,o=40,c=37,s=39,u=46,l=188,d=9007199254740991,g=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,a,o,p,f){function m(e,t,n,r){var i,a,c,s,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},a=function(t,n){t[e.displayProperty]=n},c=function(t){var r=i(t),a=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return o.when(a&&n({$tag:t})).then(f.promisifyValue)},s=function(e){return o.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return a(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),a(n,r),c(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return s(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==g.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,d],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,d],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,d,g,p){var m,h,v=[n,l,i,e,u,c,s],T=o.tagList,y=o.events,x=o.options,$=d.find("input"),k=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!x.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[x.keyProperty||x.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),g.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=d[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):a.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==k.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){d.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(o.newTag.text()),d.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,a,d,g,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],a=(p===e||p===u)&&T.selected,g=p===e&&0===o.newTag.text().length&&x.enableEditingLastTag,d=(p===e||p===c||p===s)&&0===o.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(o.newTag.text()):g?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[x.displayProperty])}))):a?T.removeSelected():d&&(p===c||p===e?T.selectPrior():p===s&&T.selectNext()),(r||d||a||g)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,c,s,u,l){function d(e,t,n){var r,i,a,o={};return a=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,a(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},o.reset=function(){i=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=l.debounce((function(n,c){o.query=n;var u=s.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,a()),e=r(e,c),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new d(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,c,s){var u,d=[n,t,r,a,o],g=e.suggestionList,p=s.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){g.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return g.selected&&(p.addTag(angular.copy(g.selected)),g.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===g.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){g.reset()})).on("input-change",(function(e){u(e)?g.load(e,p.getTags()):g.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&g.load(e,p.getTags())})).on("input-keydown",(function(i){var c=i.keyCode,s=!1;if(!l.isModifierOn(i)&&-1!==d.indexOf(c))return g.visible?c===o?(g.selectNext(),s=!0):c===a?(g.selectPrior(),s=!0):c===r?(g.reset(),s=!0):(c===n||c===t)&&(s=e.addSuggestion()):c===o&&e.options.loadOnDownArrow&&(g.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),c=r.prop("scrollTop");c>i?r.prop("scrollTop",i):i+a>o+c&&r.prop("scrollTop",i+a-o)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),c=o.getOptions();n.$$template=c.template,n.$index=n.$parent.$index,n.$highlight=function(n){return c.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[c.displayProperty||c.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,c=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+c+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",(function(e){i.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,c){var s=function(){return!0};a.options={},angular.forEach(c,(function(c,u){var l,d,g,p,f,m;l=c[0],d=c[1],g=c[2]||s,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:d},m=function(e){a.options[u]=e&&g(e)?p(e):f()},t[n]&&t[n][u]?o.$observe(u,(function(e){m(e),a.events.trigger("option-change",{name:u,newValue:e})})):m(o[u]&&r(o[u])(a.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(a=e,!0):void 0})),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},89:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[49,280,281],{266:function(e,t){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",n);function n(e){return{getStatus:function(){return e.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return e.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return e.get("rest/rdfrank/filtering")},toggleFiltering:function(t){return e.post("rest/rdfrank/filtering?enabled="+t)},filter:function(t){return e.get("rest/rdfrank/filtering/"+t)},updateFilter:function(t,n){return e.put("rest/rdfrank/filtering/"+t,n)},deleteFilter:function(t,n){return e.delete("rest/rdfrank/filtering/"+t,{data:n,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return e.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(t){return e.post("rest/rdfrank/include-explicit?enabled="+t)},includeImplicit:function(){return e.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(t){return e.post("rest/rdfrank/include-implicit?enabled="+t)},compute:function(){return e.post("rest/rdfrank/compute")},computeIncremental:function(){return e.post("rest/rdfrank/compute-incremental")},interrupt:function(){return e.post("rest/rdfrank/interrupt")}}}n.$inject=["$http"]},348:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(35),n(266),n(530);var r=n(92),i=n(0);angular.module("graphdb.framework.rdfrank",["ngRoute","ngTagsInput","graphdb.framework.utils.uriutils","graphdb.framework.rest.rdfrank.service"]).controller("RDFRankCtrl",["$scope","$rootScope","$interval","toastr","$repositories","$licenseService","$timeout","ClassInstanceDetailsService","UriUtils","RDF4JRepositoriesRestService","RdfRankRestService","$translate",function(e,t,n,a,o,c,s,u,l,d,g,p){let f;function m(){f&&n.cancel(f)}e.pluginName="rdfrank",e.setPluginIsActive=function(t){e.pluginIsActive=t};const h=function(){g.getStatus().success((function(t){e.currentRankStatus=t})).error((function(e){a.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),g.checkRdfRankPluginEnabled().success((function(t){e.pluginFound=!0===t,e.pluginFound?(d.getNamespaces(o.getActiveRepository()).then(r.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);a.error(t,p.instant("error.getting.namespaces.for.repo"))}),h(),v(),T()):e.loading=!1})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const v=function(){g.checkFilteringEnabled().success((function(t){e.filteringEnabled=t})).error((function(e){a.error(getError(e))}))},T=function(){Object.values(e.filterLists).forEach((function(e){g.filter(e.predicate).success((function(t){return e.elements=t})).error((function(e){a.error(getError(e))}))})),g.includeExplicit().success((function(t){e.includeExplicit=t})).error((function(e){a.error(getError(e))})),g.includeImplicit().success((function(t){e.includeImplicit=t})).error((function(e){a.error(getError(e))}))};e.rdfStatus={CANCELED:"CANCELED",COMPUTED:"COMPUTED",COMPUTING:"COMPUTING",EMPTY:"EMPTY",ERROR:"ERROR",OUTDATED:"OUTDATED",CONFIG_CHANGED:"CONFIG_CHANGED"},e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}},e.setLoader=function(t,n){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.computeRank=function(){e.setLoader(!0,p.instant("rdfrank.full.computation")),g.compute().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.computeIncrementalRank=function(){e.setLoader(!0,p.instant("rdfrank.incremental.computation")),g.computeIncremental().success((function(){e.currentRankStatus=e.rdfStatus.COMPUTING})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptComputation=function(){e.setLoader(!0,p.instant("index.interrupt")),g.interrupt().success((function(){h()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return o.getDegradedReason()},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())})),e.toggleFiltering=function(){g.toggleFiltering(!e.filteringEnabled).success((function(){h(),v(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeExplicit=function(){g.toggleIncludeExplicit(!e.includeExplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIncludeImplicit=function(){g.toggleIncludeImplicit(!e.includeImplicit).success((function(){h(),T()})).error((function(e){a.error(getError(e))})).finally((function(){e.setLoader(!1)}))};e.addToList=function(t,n){let r=n.text.toString();if(r=l.expandPrefix(r,e.namespaces),l.isValidIri(n,r)&&""!==r)!function(e,t){const n={iri:t};g.updateFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e)),T()}))}(t,r);else{T();const e=Object(i.decodeHTML)(p.instant("not.valid.iri",{value:n.text.toString()}));a.error(e)}};e.deleteFromList=function(t,n){!function(e,t){const n={iri:t};g.deleteFilter(e.predicate,n).success((function(){h(),T()})).error((function(e){a.error(getError(e))}))}(t,n.text,e.namespaces)};const y=function(){f=n((function(){e.$broadcast("checkIsActive"),e.pluginFound&&h()}),5e3)},x=t.$on("$translateChangeSuccess",()=>{e.filterLists={INCLUDED_PREDICATES:{name:"Included Predicates",predicate:"includedPredicates",placeholderKey:"rdfrank.include.predicates",fieldNameKey:"rdfrank.include.label"},INCLUDED_GRAPHS:{name:"Included Graphs",predicate:"includedGraphs",placeholderKey:"rdfrank.include.graphs",fieldNameKey:"rdfrank.include.label"},EXCLUDED_PREDICATES:{name:"Excluded Predicates",predicate:"excludedPredicates",placeholderKey:"rdfrank.exclude.predicates",fieldNameKey:"rdfrank.exclude.label"},EXCLUDED_GRAPHS:{name:"Excluded Graphs",predicate:"excludedGraphs",placeholderKey:"rdfrank.exclude.graphs",fieldNameKey:"rdfrank.exclude.label"}}});e.$on("$destroy",(function(){x(),m()}));c.isLicenseValid()&&o.getActiveRepository()&&!o.isActiveRepoOntopType()&&!o.isActiveRepoFedXType()&&(e.checkForPlugin(),y())}])},530:function(e,t){
|
|
2
|
+
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,a=38,o=40,c=37,s=39,u=46,l=188,d=9007199254740991,g=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,a,o,p,f){function m(e,t,n,r){var i,a,c,s,u={};return i=function(t){return f.safeToString(t[e.displayProperty])},a=function(t,n){t[e.displayProperty]=n},c=function(t){var r=i(t),a=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(u.items,t,e.keyProperty||e.displayProperty);return o.when(a&&n({$tag:t})).then(f.promisifyValue)},s=function(e){return o.when(r({$tag:e})).then(f.promisifyValue)},u.items=[],u.addText=function(e){var t={};return a(t,e),u.add(t)},u.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),a(n,r),c(n).then((function(){u.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},u.remove=function(e){var n=u.items[e];return s(n).then((function(){return u.items.splice(e,1),u.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e]},u.selectPrior=function(){u.select(--u.index)},u.selectNext=function(){u.select(++u.index)},u.removeSelected=function(){return u.remove(u.index)},u.clearSelection=function(){u.selected=null,u.index=-1},u.getItems=function(){return e.useStrings?u.items.map(i):u.items},u.clearSelection(),u}function h(e){return-1!==g.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,d],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,d],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,d,g,p){var m,h,v=[n,l,i,e,u,c,s],T=o.tagList,y=o.events,x=o.options,$=d.find("input"),k=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=x.maxTags),p.$setValidity("minTags",T.items.length>=x.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!x.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){$[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[x.keyProperty||x.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,x.displayProperty),x.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),g.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===$[0],n=d[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):a.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==k.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){d.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){x.addOnBlur&&!x.addFromAutocompleteOnly&&T.addText(o.newTag.text()),d.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,a,d,g,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=x.addOnEnter,m[l]=x.addOnComma,m[i]=x.addOnSpace,r=!x.addFromAutocompleteOnly&&m[p],a=(p===e||p===u)&&T.selected,g=p===e&&0===o.newTag.text().length&&x.enableEditingLastTag,d=(p===e||p===c||p===s)&&0===o.newTag.text().length&&!x.enableEditingLastTag,r?T.addText(o.newTag.text()):g?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[x.displayProperty])}))):a?T.removeSelected():d&&(p===c||p===e?T.selectPrior():p===s&&T.selectNext()),(r||d||a||g)&&t.preventDefault())})).on("input-paste",(function(e){if(x.addOnPaste){var t=e.getTextData().split(x.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,c,s,u,l){function d(e,t,n){var r,i,a,o={};return a=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,a(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},o.reset=function(){i=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=l.debounce((function(n,c){o.query=n;var u=s.when(e({$query:n}));i=u,u.then((function(e){u===i&&(e=l.makeObjectArray(e.data||e,a()),e=r(e,c),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),u.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new d(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,c,s){var u,d=[n,t,r,a,o],g=e.suggestionList,p=s.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),u=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){g.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return g.selected&&(p.addTag(angular.copy(g.selected)),g.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===g.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){g.reset()})).on("input-change",(function(e){u(e)?g.load(e,p.getTags()):g.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&u(e)&&g.load(e,p.getTags())})).on("input-keydown",(function(i){var c=i.keyCode,s=!1;if(!l.isModifierOn(i)&&-1!==d.indexOf(c))return g.visible?c===o?(g.selectNext(),s=!0):c===a?(g.selectPrior(),s=!0):c===r?(g.reset(),s=!0):(c===n||c===t)&&(s=e.addSuggestion()):c===o&&e.options.loadOnDownArrow&&(g.load(p.getCurrentTagText(),p.getTags()),s=!0),s?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),c=r.prop("scrollTop");c>i?r.prop("scrollTop",i):i+a>o+c&&r.prop("scrollTop",i+a-o)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),c=o.getOptions();n.$$template=c.template,n.$index=n.$parent.$index,n.$highlight=function(n){return c.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[c.displayProperty||c.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,c=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+c+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",(function(e){i.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,c){var s=function(){return!0};a.options={},angular.forEach(c,(function(c,u){var l,d,g,p,f,m;l=c[0],d=c[1],g=c[2]||s,p=i[l],f=function(){var t=e[n]&&e[n][u];return angular.isDefined(t)?t:d},m=function(e){a.options[u]=e&&g(e)?p(e):f()},t[n]&&t[n][u]?o.$observe(u,(function(e){m(e),a.events.trigger("option-change",{name:u,newValue:e})})):m(o[u]&&r(o[u])(a.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(a=e,!0):void 0})),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},92:function(e,t,n){"use strict";n.r(t),n.d(t,"mapNamespacesResponse",(function(){return r}));const r=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,67,101,184,253,298],{104:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentModel",(function(){return n})),s.d(e,"AgentInstructionsModel",(function(){return o})),s.d(e,"ExtractionMethodModel",(function(){return a})),s.d(e,"AdditionalExtractionMethodsModel",(function(){return l})),s.d(e,"AdditionalExtractionMethodModel",(function(){return d})),s.d(e,"AgentListModel",(function(){return h})),s.d(e,"ExtractionMethod",(function(){return u})),s.d(e,"AdditionalExtractionMethod",(function(){return c})),s.d(e,"AgentListFilterModel",(function(){return m}));var r=s(30),i=s(87);class n{constructor(t,e){this.hashGenerator=e,this._isDeleted=!1,this._id=t.id,this._name=t.name,this._repositoryId=t.repositoryId,this._model=t.model,this._temperature=t.temperature,this._topP=t.topP,this._seed=t.seed,this._instructions=t.instructions,this._assistantExtractionMethods=t.assistantExtractionMethods,this._additionalExtractionMethods=t.additionalExtractionMethods}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class o{constructor(t){this._systemInstruction=t.systemInstruction,this._userInstruction=t.userInstruction}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}}class a{constructor(t){this._method=t.method,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance}get method(){return this._method}set method(t){this._method=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}}class l{constructor(t){this._additionalExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class d{constructor(t){this._method=t.method}get method(){return this._method}set method(t){this._method=t}}class h{constructor(t=[]){this._agents=t,this._filterableAgents=Object(r.cloneDeep)(t)}isEmpty(){return 0===this._agents.length}filterByRepository(t){this._filterableAgents=this._agents.filter(e=>t===i.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0))}get agents(){return this._agents}set agents(t){this._agents=t}get filterableAgents(){return this._filterableAgents}set filterableAgents(t){this._filterableAgents=t}}const u={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},c={IRI_DISCOVERY_SEARCH:"iri_discovery_search"};class m{constructor(t,e,s=!1){this._key=t,this._label=e,this._selected=s}get key(){return this._key}set key(t){this._key=t}get label(){return this._label}set label(t){this._label=t}get selected(){return this._selected}set selected(t){this._selected=t}}},149:function(t,e,s){"use strict";s.r(e),s.d(e,"newAgentFormModelProvider",(function(){return d})),s.d(e,"agentFormModelMapper",(function(){return h})),s.d(e,"agentListMapper",(function(){return m})),s.d(e,"agentModelMapper",(function(){return _}));var r=s(104),i=s(203),n=s(75),o=s(16),a=s(30);const l={name:"",repositoryId:"",model:"gpt-4o",temperature:new n.NumericRangeModel({value:.7,minValue:0,maxValue:2,step:.1}),topP:new n.NumericRangeModel({value:1,minValue:0,maxValue:1,step:.1}),seed:1,instructions:new i.AgentInstructionsFormModel({systemInstruction:"",userInstruction:""}),assistantExtractionMethods:new i.ExtractionMethodsFormModel([new i.ExtractionMethodFormModel({method:r.ExtractionMethod.SPARQL,ontologyGraph:"http://example.com/swgraph",sparqlQuery:new n.TextFieldModel({value:"select ?s ?p ?o where {?s ?p ?o .}",minLength:1,maxLength:2380}),selected:!1}),new i.ExtractionMethodFormModel({method:r.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1}),new i.ExtractionMethodFormModel({method:r.ExtractionMethod.SIMILARITY,similarityIndex:null,similarityIndexThreshold:new n.NumericRangeModel({value:.6,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:null,selected:!1}),new i.ExtractionMethodFormModel({method:r.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new n.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})]),additionalExtractionMethods:new i.AdditionalExtractionMethodsFormModel([new i.AdditionalExtractionMethodFormModel({method:r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH})])},d=(t={})=>new i.AgentFormModel(Object.assign({},Object(a.cloneDeep)(l),t)),h=t=>{if(!t)return;const e=d();return e.id=t.id,e.name=t.name,e.repositoryId=t.repositoryId,e.model=t.model,e.temperature.value=void 0!==t.temperature?t.temperature:l.temperature.value,e.topP.value=void 0!==t.topP?t.topP:l.topP.value,e.seed=t.seed,e.instructions=u(t.instructions),c(e,t.assistantExtractionMethods),e.additionalExtractionMethods.additionalExtractionMethods.forEach(e=>{e.selected=t.additionalExtractionMethods&&t.additionalExtractionMethods.some(t=>t.method===e.method)}),e},u=t=>{if(t)return new i.AgentInstructionsFormModel({systemInstruction:t.systemInstruction,userInstruction:t.userInstruction})},c=(t,e=[])=>{e.forEach(e=>{let s="";e.sparqlQuery?s="sparqlQuery":e.ontologyGraph&&(s="ontologyGraph");const r=new i.ExtractionMethodFormModel({selected:!0,method:e.method,sparqlOption:s,ontologyGraph:e.ontologyGraph,sparqlQuery:e.sparqlQuery&&new n.TextFieldModel({value:e.sparqlQuery,minLength:1,maxLength:2380}),similarityIndex:e.similarityIndex,similarityIndexThreshold:e.similarityIndexThreshold&&new n.NumericRangeModel({value:e.similarityIndexThreshold,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:e.maxNumberOfTriplesPerCall,queryTemplate:e.queryTemplate&&new n.TextFieldModel({value:e.queryTemplate,minLength:1,maxLength:2380}),retrievalConnectorInstance:e.retrievalConnectorInstance});t.assistantExtractionMethods.setExtractionMethod(r)})},m=t=>{if(!t)return new r.AgentListModel;const e=t.map(t=>_(t));return new r.AgentListModel(e)},_=t=>{if(!t)return;const e=Object(o.md5HashGenerator)();return new r.AgentModel({id:t.id,name:t.name,repositoryId:t.repositoryId,model:t.model,temperature:t.temperature,topP:t.topP,seed:t.seed,instructions:I(t.instructions),assistantExtractionMethods:p(t.assistantExtractionMethods),additionalExtractionMethods:y(t.additionalExtractionMethods)},e)},p=t=>{if(t)return t.map(t=>x(t))},x=t=>{if(t)return new r.ExtractionMethodModel({method:t.method,ontologyGraph:t.ontologyGraph,sparqlQuery:t.sparqlQuery,similarityIndex:t.similarityIndex,similarityIndexThreshold:t.similarityIndexThreshold,maxNumberOfTriplesPerCall:t.maxNumberOfTriplesPerCall,queryTemplate:t.queryTemplate,retrievalConnectorInstance:t.retrievalConnectorInstance})},y=t=>{if(t)return t.map(t=>g(t))},g=t=>{if(t)return new r.AdditionalExtractionMethodModel({method:t.method})},I=t=>{if(t)return new r.AgentInstructionsModel({systemInstruction:t.systemInstruction,userInstruction:t.userInstruction})}},203:function(t,e,s){"use strict";s.r(e),s.d(e,"AgentFormModel",(function(){return r})),s.d(e,"ExtractionMethodsFormModel",(function(){return i})),s.d(e,"ExtractionMethodFormModel",(function(){return n})),s.d(e,"AdditionalExtractionMethodsFormModel",(function(){return o})),s.d(e,"AdditionalExtractionMethodFormModel",(function(){return a})),s.d(e,"AgentInstructionsFormModel",(function(){return l}));class r{constructor(t){this._id=t.id,this._name=t.name,this._repositoryId=t.repositoryId,this._model=t.model,this._temperature=t.temperature,this._topP=t.topP,this._seed=t.seed,this._instructions=t.instructions,this._assistantExtractionMethods=t.assistantExtractionMethods,this._additionalExtractionMethods=t.additionalExtractionMethods}toPayload(){return{id:this.id,name:this._name,repositoryId:this._repositoryId,model:this._model,temperature:this._temperature.value,topP:this._topP.value,seed:this._seed,assistantsInstructions:this._instructions.toPayload(),assistantExtractionMethods:this._assistantExtractionMethods.toPayload(),additionalExtractionMethods:this._additionalExtractionMethods.toPayload()}}hasExtractionMethodSelected(){return this._assistantExtractionMethods.extractionMethods.some(t=>t.selected)}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this._name=t}get repositoryId(){return this._repositoryId}set repositoryId(t){this._repositoryId=t}get model(){return this._model}set model(t){this._model=t}get temperature(){return this._temperature}set temperature(t){this._temperature=t}get topP(){return this._topP}set topP(t){this._topP=t}get seed(){return this._seed}set seed(t){this._seed=t}get instructions(){return this._instructions}set instructions(t){this._instructions=t}get assistantExtractionMethods(){return this._assistantExtractionMethods}set assistantExtractionMethods(t){this._assistantExtractionMethods=t}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class i{constructor(t){this._extractionMethods=t}toPayload(){return this._extractionMethods.filter(t=>t.selected).map(t=>t.toPayload())}findExtractionMethodIndex(t){return this._extractionMethods.findIndex(e=>e.method===t)}setExtractionMethod(t){const e=this.findExtractionMethodIndex(t.method);-1!==e&&(this._extractionMethods[e]=t)}get extractionMethods(){return this._extractionMethods}set extractionMethods(t){this._extractionMethods=t}}class n{constructor(t){this._selected=t.selected||!1,this._method=t.method,this._sparqlOption=t.sparqlOption,this._ontologyGraph=t.ontologyGraph,this._sparqlQuery=t.sparqlQuery,this._maxNumberOfTriplesPerCall=t.maxNumberOfTriplesPerCall,this._similarityIndex=t.similarityIndex,this._similarityIndexThreshold=t.similarityIndexThreshold,this._queryTemplate=t.queryTemplate,this._retrievalConnectorInstance=t.retrievalConnectorInstance}toPayload(){const t={};return t.method=this._method?this._method:null,"ontologyGraph"===this._sparqlOption?t.ontologyGraph=this._ontologyGraph?this._ontologyGraph:null:"sparqlQuery"===this._sparqlOption&&(t.constructQuery=this._sparqlQuery?this._sparqlQuery.value:null),this._maxNumberOfTriplesPerCall&&(t.maxNumberOfTriplesPerCall=this._maxNumberOfTriplesPerCall),this._similarityIndex&&(t.similarityIndex=this._similarityIndex),this._similarityIndexThreshold&&this._similarityIndexThreshold.value&&(t.similarityIndexThreshold=parseFloat(this._similarityIndexThreshold.value)),this._queryTemplate&&this._queryTemplate.value&&(t.queryTemplate=this._queryTemplate.value),this._retrievalConnectorInstance&&(t.retrievalConnectorInstance=this._retrievalConnectorInstance),t}get selected(){return this._selected}set selected(t){this._selected=t}get method(){return this._method}set method(t){this._method=t}get sparqlOption(){return this._sparqlOption}set sparqlOption(t){this._sparqlOption=t}get sparqlQuery(){return this._sparqlQuery}set sparqlQuery(t){this._sparqlQuery=t}get ontologyGraph(){return this._ontologyGraph}set ontologyGraph(t){this._ontologyGraph=t}get maxNumberOfTriplesPerCall(){return this._maxNumberOfTriplesPerCall}set maxNumberOfTriplesPerCall(t){this._maxNumberOfTriplesPerCall=t}get similarityIndex(){return this._similarityIndex}set similarityIndex(t){this._similarityIndex=t}get similarityIndexThreshold(){return this._similarityIndexThreshold}set similarityIndexThreshold(t){this._similarityIndexThreshold=t}get queryTemplate(){return this._queryTemplate}set queryTemplate(t){this._queryTemplate=t}get retrievalConnectorInstance(){return this._retrievalConnectorInstance}set retrievalConnectorInstance(t){this._retrievalConnectorInstance=t}}class o{constructor(t){this._additionalExtractionMethods=t}toPayload(){return this._additionalExtractionMethods.filter(t=>t.selected).map(t=>t.toPayload())}get additionalExtractionMethods(){return this._additionalExtractionMethods}set additionalExtractionMethods(t){this._additionalExtractionMethods=t}}class a{constructor(t){this._selected=t.selected||!1,this._method=t.method}toPayload(){return{method:this._method}}get selected(){return this._selected}set selected(t){this._selected=t}get method(){return this._method}set method(t){this._method=t}}class l{constructor(t){this._systemInstruction=t.systemInstruction,this._userInstruction=t.userInstruction}toPayload(){return{systemInstruction:this._systemInstruction,userInstruction:this._userInstruction}}get systemInstruction(){return this._systemInstruction}set systemInstruction(t){this._systemInstruction=t}get userInstruction(){return this._userInstruction}set userInstruction(t){this._userInstruction=t}}},75:function(t,e,s){"use strict";s.r(e),s.d(e,"SelectMenuOptionsModel",(function(){return r})),s.d(e,"TextFieldModel",(function(){return i})),s.d(e,"NumericRangeModel",(function(){return n}));class r{constructor({label:t,value:e,selected:s=!1,data:r={}}){this._label=t,this._value=e,this._selected=s,this._data=r}get label(){return this._label}set label(t){this._label=t}get value(){return this._value}set value(t){this._value=t}get selected(){return this._selected}set selected(t){this._selected=t}get data(){return this._data}set data(t){this._data=t}}class i{constructor(t){this._value=t.value,this._minLength=t.minLength,this._maxLength=t.maxLength}get value(){return this._value}set value(t){this._value=t}get maxLength(){return this._maxLength}set maxLength(t){this._maxLength=t}get minLength(){return this._minLength}set minLength(t){this._minLength=t}}class n{constructor(t){this._value=t.value,this._minValue=t.minValue,this._maxValue=t.maxValue,this._step=t.step}get value(){return this._value}set value(t){this._value=t}get minValue(){return this._minValue}set minValue(t){this._minValue=t}get maxValue(){return this._maxValue}set maxValue(t){this._maxValue=t}get step(){return this._step}set step(t){this._step=t}}},87:function(t,e,s){"use strict";s.r(e),s.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return r})),s.d(e,"AGENT_OPERATION",(function(){return i}));const r="ALL",i={CREATE:"create",EDIT:"edit",CLONE:"clone"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{188:function(e,t,n){"use strict";n.r(t);n(11),n(189);var o=n(101),r=n(30),a=n(94);let s=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,l,u,d,f,g){return{restrict:"E",scope:{clusterModel:"="},link:function(p,h){const m=angular.element(e),_=[];let w,C,y,v,E,k=D(),b=O(),A=Math.min(k,b)/2-100,S=k/2,M=b/2;function N(){const e=g.getClusterViewD3Container();k=D(),b=O(),e.attr("width",k),e.attr("height",b),U()}function L(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=u.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&L(r,o)})}function D(){const o="collapsedMenu"===t.get(n.MENU_STATE);return s=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-s)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function j(){o.updateClusterZoneLabels(C,y,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function T(){A=Math.min(k,b)/2-100,S=k/2,M=b/2,o.moveElement(y,S,M),y.select(".cluster-zone").attr("r",A)}function R(e){p.$emit(a.CLICK_IN_VIEW,e.target)}function U(){T(),C!==p.clusterModel.hasCluster&&(C=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,y,i,w),!e&&w&&y.on("mouseup",()=>{p.$emit(a.CREATE_CLUSTER)})}(C));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=l.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=u.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=v.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(a.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,S,M,A)}(e);!function(e,t){const n=E.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return k},p.height=function(){return b};p.$on("$destroy",(function(){m.unbind("resize",N),m.unbind("mousedown",R),o.removeEventListeners(),_.forEach(e=>e())})),w=d.isAdmin(),m.bind("resize",N),m.bind("mousedown",R),_.push(f.$on("$translateChangeSuccess",(function(){L(i),j()}))),_.push(p.$on(a.MODEL_UPDATED,(function(){U()}))),L(i),function(e){const t=o.createClusterSvgElement(h[0]).attr("width",k).attr("height",b);y=o.createClusterZone(t,e),E=t.append("g").attr("id","links-group"),v=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),g.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},191:function(e,t,n){"use strict";n.r(t);var o=n(94);function r(e,t,n,r,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{a.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(o.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(o.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",r),r.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},290:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(276),n(188),n(191),n(32),n(494),n(274);angular.module("graphdb.framework.clustermanagement",["ngAnimate","toastr","graphdb.framework.clustermanagement.controllers.cluster-management","graphdb.framework.clustermanagement.directives.cluster-graphical-view","graphdb.framework.clustermanagement.directives.cluster-configuration"])},494:function(e,t,n){var o,r;o=[n(504)],void 0===(r=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var o in e)n.attr(o,e[o])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(504)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,o))||(e.exports=r)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,136,256,257],{262:function(e,a,n){"use strict";n.r(a);n(7),n(33),n(32),n(38);const s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),t=function(){const e="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]",a="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]";return new RegExp("^(?:"+e+")(?:(?:"+a+"|\\.)*(?:"+a+"))?$")}();s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,a,n,s,c,r,i,o,p){function l(a,t){let c;c="object"==typeof a?a.prefix:a,o.deleteNamespacePrefix(n.getActiveRepository(),c).success((function(){t&&t.length>0?l(a=t.shift(),t):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===t?s.success(p.instant("namespace.prefix.deleted.successfully",{prefix:c}),""):s.success(p.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))}function m(e,a){return function(e){return""===e||e.match(t)}(e)?!angular.isUndefined(a)&&""!==a||(s.error(p.instant("namespace.warning.provide.namespace"),p.instant("common.error")),!1):(s.error(p.instant("namespace.invalid.prefix",{prefix:e},p.instant("common.error"))),!1)}e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){n.getActiveRepository()&&(e.loader=!0,e.namespaces={},o.getNamespaces(n.getActiveRepository()).success((function(a){e.namespaces=a.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,a){const n=e.prefix.toUpperCase(),s=a.prefix.toUpperCase();return n<s?-1:n>s?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(a){const n=getError(a);s.error(n),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(a){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",a&&(e.getNamespaces(),e.pageSize=a)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return n.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],e.deselectAll(),e.filterResults()},e.filterResults=function(){angular.forEach(e.namespaces,(function(a){-1===a.namespace.indexOf(e.searchNamespaces)&&-1===a.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(a)}))},e.saveNamespace=function(a,t){return e.loader=!0,o.updateNamespacePrefix(n.getActiveRepository(),t,a).success((function(){e.getNamespaces(),s.success(p.instant("namespace.saved")),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.editPrefix=function(a,t){e.loader=!0,i.getPrefix(n.getActiveRepository(),{from:a,to:t,location:n.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(a){const n=getError(a);s.error(n,p.instant("common.error")),e.loader=!1}))},e.confirmReplace=function(e,a){r.openSimpleModal({title:p.instant("namespace.confirm.replace"),message:p.instant("namespace.already.exists.msg"),warning:!0}).result.then(e,a)},e.editPrefixAndNamespace=function(a,n,s){if(angular.isUndefined(a)&&(a=""),!m(a,n))return"";let t=!1;const c=s.prefix;angular.forEach(e.namespaces,(function(e){e.prefix===a&&c!==a&&(t=!0)})),t?e.confirmReplace((function(){e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))}),(function(){e.getNamespaces()})):angular.isDefined(t)&&e.saveNamespace(c,n).then((function(){c!==a&&e.editPrefix(c,a)}))},e.addNamespace=function(){if(angular.isUndefined(e.namespace.prefix)&&(e.namespace.prefix=""),!m(e.namespace.prefix,e.namespace.namespace))return;e.selectedAll=!1;let a=!1;for(let n=0;n<e.namespaces.length;n++)e.namespaces[n].prefix===e.namespace.prefix&&(a=!0);a?e.confirmReplace((function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()})})):(e.saveNamespace(e.namespace.prefix,e.namespace.namespace),e.namespace.namespace="",e.namespace.prefix="",setTimeout(()=>{e.form.$setUntouched(),e.form.$setPristine()}))},e.removeNamespace=function(e){r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){l(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(a){a.selected=e.selectedAll}))},e.deleteSelected=function(){let a=!1;angular.forEach(e.displayedNamespaces,(function(n){a||n.selected&&(a=!0,r.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;const a=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&a.push(e)})),l(a.shift(),a),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))},e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(a){a.selected&&(e.haveSelected=!0)}))},e.deselectAll=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,a){e.ok=function(){a.close(!0)},e.cancel=function(){a.dismiss("cancel")}}])},263:function(e,a){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(a){a.$last&&e((function(){a.$parent.loader=!1}),0)}}])},340:function(e,a,n){"use strict";n.r(a);n(7),n(31),n(32),n(262),n(263),n(96),n(609);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])},96:function(e,a){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,a,n){return{link:function(e,s){const t=()=>{const a=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);s.html(a)};t();const c=a.$on("$translateChangeSuccess",t);e.$on("$destroy",c)}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[47,87,138,268],{145:function(n,e,t){"use strict";t.r(e);t(38),t(82);function o(n){const e=[];return Object.keys(n).forEach((function(t){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]))})),e.join("&")}function r(n,e){return _.reduce(n,(function(n,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(e.instant("externalsync.empty.value.key.error",{value:t.value}));if(n.hasOwnProperty(t.key))throw new Error(e.instant("externalsync.duplicate.key.error",{key:t.key}));n[t.key]=t.value}return n}),{})}function i(n,e){for(let o=0;o<e.length;o++){const r=e[o];if("StringArray"===r.__type)n[r.__name]||(n[r.__name]=[""]);else if("OptionArray"===r.__type)if(n[r.__name])for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];if("Boolean"===t.__type)for(let e=0;e<n[r.__name].length;e++){const o=n[r.__name][e];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{n[r.__name]=[];const e={};for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];"StringArray"===t.__type?e[t.__name]=[""]:e[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}n[r.__name].push(e)}else"Map"===r.__type?n[r.__name]?n[r.__name]=(t=n[r.__name],_.map(t,(function(n,e){return{key:e,value:n}}))):n[r.__name]=[]:"JsonString"===r.__type?!n[r.__name]||n[r.__name]instanceof String||"string"==typeof n[r.__name]||(n[r.__name]=angular.toJson(n[r.__name],2)):angular.isUndefined(n[r.__name])&&(n[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return n}function c(n,e,t){return n.post("repositories/"+e,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function a(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const c=function n(e,t){const o={};return _.each(t,(function(t){angular.isDefined(e[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(e[t.__name],(function(e){o[t.__name].push(n(e,t.__childOptions))}))):o[t.__name]=_.cloneDeep(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?c[o[n].__name]=r(c[o[n].__name],$translate):"JsonString"===o[n].__type&&(c[o[n].__name]=angular.fromJson(c[o[n].__name]))}catch(e){return i(o[n].__label,e.message),null}!function n(e){Array.isArray(e)&&(e=_.filter(e,(function(n){return null!==n&&(!n.trim||""!==n.trim())})));return Object.keys(e).forEach((function(t){""!==e[t]&&null!=e[t]||!1===e[t]?"object"==typeof e[t]&&(e[t]=n(e[t])):delete e[t]})),e}(c);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+a(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(c,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,f,p,d,g){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:a(e)+t,name:t,inline:!1,doneCallback:function(){n.beingBuiltConnector.modalInstance.dismiss("cancel")}}),n.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:n}),n.beingBuiltConnector.modalInstance}function C(e,r,i){const c=y(e.value,r.name,!1);p.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(g.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){c.dismiss("cancel")}))}n.loader=!1,n.controllers=[],n.existing={},n.definitions={},n.getLoaderMessage=function(){const e=(Date.now()-n.loaderStartTime)/1e3,t=n.getHumanReadableSeconds(e);let o="";return o=n.progressMessage?n.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),n.extraMessage&&e>10&&(o+="\n"+n.extraMessage),o},n.setLoader=function(e,t,o){e?(n.loader=!0,n.loaderStartTime=Date.now(),n.progressMessage=t,n.extraMessage=o):(n.loader=!1,n.progressMessage="",n.extraMessage="")},n.initConnector=function(e){return d.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),f.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return c(e,t.getActiveRepository(),n)}(o).then((function(e){const t=function(n){if(n.bindings)for(let e=0;e<n.bindings.length;e++)try{const t=JSON.parse(n.bindings[e].status.value);if("BUILDING"===t.status)return{connector:n.bindings[e].connector.value,status:t}}catch(n){console.error(n)}return{}}(e.data.results);if(t.connector){const e=t.connector.split(/#/);e[0]=e[0].replace(/\/instance$/,"#"),o=e[0],r=e[1],m(),$.extend(n.beingBuiltConnector,{iri:a(o)+r,name:r,inline:!0,doneCallback:function(){n.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){n.setLoader(!1)})):n.setLoader(!1)}))})).catch((function(e){n.setLoader(!1),l.error(getError(e),g.instant("externalsync.could.not.get.connectors.error"))})),n.existing={})},n.getOptions=function(e){return n.definitions[e.key]},n.isEmpty=function(n){return angular.isObject(n)&&0===Object.keys(n).length},n.toPrettyJson=function(n){return angular.toJson(n,2)},n.$watch((function(){return t.getActiveRepository()}),n.getConnectors),n.$watch((function(){return t.getActiveLocation()}),n.getConnectors),n.copyConnector=function(e,t){let o;angular.isUndefined(t)||(o=_.cloneDeep(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.newConnector=function(e,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.repair=function(e,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),c=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+a(u)+s+'> prefix:repairConnector ""\n}');var s,u;p.addStatements(t.getActiveRepository(),o({update:c})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(g.instant("externalsync.repair.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){i.dismiss("cancel")}))}))},n.delete=function(e,i){const c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:e.name}),g.instant("externalsync.extra.message.warning"));const a=function(n,e,t){const o=e.substring(0,e.length-1)+"/instance#";return"PREFIX prefix:<"+e+">\nINSERT DATA {\n\t<"+o+n+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(e.name,i.value,r);p.addStatements(t.getActiveRepository(),o({update:a})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(g.instant("externalsync.delete.force.success.msg",{name:e.name})),c&&l.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(g.instant("externalsync.delete.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){n.setLoader(!1)}))}))},n.viewQuery=function(e,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=n.getOptions(e);return s(t.name,e.value,i(t.values,o),o)}}})}}function u(n,e,t){n.force=!1,n.popoverMsg=t,n.ok=function(){e.close(n.force)},n.cancel=function(){e.dismiss()}}function f(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=_.cloneDeep(n.defaultValues[t][0]);n.values[t].splice(e+1,0,o)},n.addOption=function(n,e){e.splice(n+1,0,"")},n.deleteOption=function(n,e){e.splice(n,1)},n.addMapOption=function(n,e){e.splice(n+1,0,{key:"",value:""})},n.deleteMapOption=function(n,e){e.splice(n,1)},n.ok=function(){if(n.form.$valid){const t=i();t&&e.close({name:n.name,values:n.values,options:n.options,query:t})}},n.viewQuery=function(){const n=i();n&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},n.cancel=function(){e.dismiss("cancel")}}function p(n,e,t,o,r,c,a,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:c})),n.values=a.values,n.options=s,n.name=a.name,a.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=_.cloneDeep(n.values)}function d(n,e,t,o,r){function i(){const i=function(n){const e=n.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+n+"> <"+e+"> ?status",t+="\n}",t}(n.beingBuiltConnector.iri);n.beingBuiltConnector.iri=null,n.progressInterval=e((function(){(function(n){return c(t,o.getActiveRepository(),n)})(i).then((function(t){const o=function(n){if(n.bindings&&n.bindings.length>0)try{return JSON.parse(n.bindings[0].status.value)}catch(n){console.error(n)}return{}}(t.data.results);"BUILDING"===o.status?(n.beingBuiltConnector.status=o,n.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),n.beingBuiltConnector.eta=n.getHumanReadableSeconds(o.etaSeconds),n.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),n.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||n.beingBuiltConnector.waitOnRepairStartOnce||(e.cancel(n.progressInterval),n.beingBuiltConnector.doneCallback&&n.beingBuiltConnector.doneCallback())}))}),1e3),n.$on("$destroy",(function(){e.cancel(n.progressInterval)}))}n.beingBuiltConnector=n.beingBuiltConnector||{},!n.beingBuiltConnector.inline&&n.beingBuiltConnector.iri&&i(),n.$watch("beingBuiltConnector.iri",(function(e){n.beingBuiltConnector.inline&&e&&i()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",l).controller("ExtendNewConnectorCtrl",f).controller("CreateConnectorCtrl",p).controller("CreateProgressCtrl",d).controller("DeleteConnectorCtrl",u).filter("ceil",(function(){return function(n){return Math.ceil(n)}})),l.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","popoverMsg"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],p.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},196:function(n,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"}}))},293:function(n,e,t){"use strict";t.r(e);t(7),t(31),t(37),t(145),t(196);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(n){return angular.isUndefined(n)?n:n.replace(/ies$/,"y").replace(/s$/,"")}}))},82:function(n,e){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(n){return{getConnectors:function(){return n.get("rest/connectors")},initConnector:function(e){return n.get("rest/connectors/options?prefix="+e)},hasConnector:function(e){return n.get("rest/connectors/existing?prefix="+e)},checkConnector:function(e){return n.post("rest/connectors/check",e,{headers:{"Content-Type":"text/plain"}})}}}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[52,92,144,274],{153:function(n,e,t){"use strict";t.r(e);t(38),t(84);function o(n){const e=[];return Object.keys(n).forEach((function(t){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n[t]))})),e.join("&")}function r(n,e){return _.reduce(n,(function(n,t){if(""===t.key&&""===t.value);else{if(""===t.key)throw new Error(e.instant("externalsync.empty.value.key.error",{value:t.value}));if(n.hasOwnProperty(t.key))throw new Error(e.instant("externalsync.duplicate.key.error",{key:t.key}));n[t.key]=t.value}return n}),{})}function i(n,e){for(let o=0;o<e.length;o++){const r=e[o];if("StringArray"===r.__type)n[r.__name]||(n[r.__name]=[""]);else if("OptionArray"===r.__type)if(n[r.__name])for(let e=0;e<r.__childOptions.length;e++){const t=r.__childOptions[e];if("Boolean"===t.__type)for(let e=0;e<n[r.__name].length;e++){const o=n[r.__name][e];!o.hasOwnProperty([t.__name])&&angular.isDefined(t.__defaultValue)&&(o[t.__name]=t.__defaultValue)}}else{n[r.__name]=[];const e={};for(let n=0;n<r.__childOptions.length;n++){const t=r.__childOptions[n];"StringArray"===t.__type?e[t.__name]=[""]:e[t.__name]=angular.isUndefined(t.__defaultValue)?"":t.__defaultValue}n[r.__name].push(e)}else"Map"===r.__type?n[r.__name]?n[r.__name]=(t=n[r.__name],_.map(t,(function(n,e){return{key:e,value:n}}))):n[r.__name]=[]:"JsonString"===r.__type?!n[r.__name]||n[r.__name]instanceof String||"string"==typeof n[r.__name]||(n[r.__name]=angular.toJson(n[r.__name],2)):angular.isUndefined(n[r.__name])&&(n[r.__name]=angular.isUndefined(r.__defaultValue)?"":r.__defaultValue)}var t;return n}function c(n,e,t){return n.post("repositories/"+e,o({query:t}),{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/sparql-results+json","X-GraphDB-Local-Consistency":"updating"}})}function a(n){return n.substring(0,n.length-1)+"/instance#"}function s(n,e,t,o,i){const c=function n(e,t){const o={};return _.each(t,(function(t){angular.isDefined(e[t.__name])&&("OptionArray"===t.__type?(o[t.__name]=[],_.each(e[t.__name],(function(e){o[t.__name].push(n(e,t.__childOptions))}))):o[t.__name]=_.cloneDeep(e[t.__name]))})),o}(t,o);for(let n=0;n<o.length;n++)try{"Map"===o[n].__type?c[o[n].__name]=r(c[o[n].__name],$translate):"JsonString"===o[n].__type&&(c[o[n].__name]=angular.fromJson(c[o[n].__name]))}catch(e){return i(o[n].__label,e.message),null}!function n(e){Array.isArray(e)&&(e=_.filter(e,(function(n){return null!==n&&(!n.trim||""!==n.trim())})));return Object.keys(e).forEach((function(t){""!==e[t]&&null!=e[t]||!1===e[t]?"object"==typeof e[t]&&(e[t]=n(e[t])):delete e[t]})),e}(c);let s="";s+="PREFIX :<"+e+">\n";return s+="PREFIX inst:<"+a(e)+">\n",s+="INSERT DATA {\n",s+="\tinst:"+n+" :createConnector '''\n",s+=angular.toJson(c,2),s+="\n''' .\n}\n",s=s.replace(/\\/g,"\\\\\\"),s}function l(n,e,t,r,l,u,f,p,d,g){function m(e){n.beingBuiltConnector={percentDone:0,status:{processedEntities:0,estimatedEntities:0,indexedEntities:0,entitiesPerSecond:0},actionName:e?g.instant("externalsync.repairing"):g.instant("externalsync.creating"),waitOnRepairStartOnce:!!e,eta:"-",inline:!1,iri:null}}function y(e,t,o){return m(o),$.extend(n.beingBuiltConnector,{iri:a(e)+t,name:t,inline:!1,doneCallback:function(){n.beingBuiltConnector.modalInstance.dismiss("cancel")}}),n.beingBuiltConnector.modalInstance=r.open({templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",size:"lg",backdrop:"static",scope:n}),n.beingBuiltConnector.modalInstance}function C(e,r,i){const c=y(e.value,r.name,!1);p.addStatements(t.getActiveRepository(),o({update:r.query})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))})),l.success(g.instant("created.connector",{name:r.name}))}),(function(n){l.error(getError(n)),i()})).finally((function(){c.dismiss("cancel")}))}n.loader=!1,n.controllers=[],n.existing={},n.definitions={},n.getLoaderMessage=function(){const e=(Date.now()-n.loaderStartTime)/1e3,t=n.getHumanReadableSeconds(e);let o="";return o=n.progressMessage?n.progressMessage+"... "+t:g.instant("common.running.operation",{timeHuman:t}),n.extraMessage&&e>10&&(o+="\n"+n.extraMessage),o},n.setLoader=function(e,t,o){e?(n.loader=!0,n.loaderStartTime=Date.now(),n.progressMessage=t,n.extraMessage=o):(n.loader=!1,n.progressMessage="",n.extraMessage="")},n.initConnector=function(e){return d.initConnector(encodeURIComponent(e.value)).then((function(t){return n.definitions[e.key]=t.data,d.hasConnector(encodeURIComponent(e.value)).then((function(t){n.existing[e.key]=t.data}))}))},n.getConnectors=function(){n.isLicenseValid()&&n.canWriteActiveRepo()&&(n.setLoader(!0,g.instant("externalsync.fetching.connectors"),g.instant("common.extra.message")),d.getConnectors().then((function(o){n.connectors=Object.keys(o.data).map((function(n){return{key:n,value:o.data[n]}})),f.all(_.map(n.connectors,(function(e){return n.initConnector(e)}))).finally((function(){m();const o=function(n){const e=_.map(n,(function(n){return"<"+n.value+"connectorStatus>"})).join("|");return e?"SELECT ?connector ?status { ?connector "+e+" ?status }":null}(n.connectors);o?function(n){return c(e,t.getActiveRepository(),n)}(o).then((function(e){const t=function(n){if(n.bindings)for(let e=0;e<n.bindings.length;e++)try{const t=JSON.parse(n.bindings[e].status.value);if("BUILDING"===t.status)return{connector:n.bindings[e].connector.value,status:t}}catch(n){console.error(n)}return{}}(e.data.results);if(t.connector){const e=t.connector.split(/#/);e[0]=e[0].replace(/\/instance$/,"#"),o=e[0],r=e[1],m(),$.extend(n.beingBuiltConnector,{iri:a(o)+r,name:r,inline:!0,doneCallback:function(){n.beingBuiltConnector.inline=!1}})}var o,r})).finally((function(){n.setLoader(!1)})):n.setLoader(!1)}))})).catch((function(e){n.setLoader(!1),l.error(getError(e),g.instant("externalsync.could.not.get.connectors.error"))})),n.existing={})},n.getOptions=function(e){return n.definitions[e.key]},n.isEmpty=function(n){return angular.isObject(n)&&0===Object.keys(n).length},n.toPrettyJson=function(n){return angular.toJson(n,2)},n.$watch((function(){return t.getActiveRepository()}),n.getConnectors),n.$watch((function(){return t.getActiveLocation()}),n.getConnectors),n.copyConnector=function(e,t){let o;angular.isUndefined(t)||(o=_.cloneDeep(t),o.name=o.name+"-copy");r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(o)?{name:"",values:{}}:o},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.newConnector=function(e,t){r.open({templateUrl:"pages/createConnector.html",controller:"CreateConnectorCtrl",size:"lg",backdrop:"static",resolve:{connector:function(){return e},values:function(){return angular.isUndefined(t)?{name:"",values:{}}:t},options:function(){return n.getOptions(e)}}}).result.then((function(t){C(e,t,(function(){t.skipConversion=!0,n.newConnector(e,t)}))}))},n.repair=function(e,r){u.openSimpleModal({title:g.instant("externalsync.confirm.repair"),message:g.instant("externalsync.repair.warning.msg"),warning:!0}).result.then((function(){const i=y(r.value,e.name,!0),c=(s=e.name,"PREFIX prefix:<"+(u=r.value)+">\nINSERT DATA {\n\t<"+a(u)+s+'> prefix:repairConnector ""\n}');var s,u;p.addStatements(t.getActiveRepository(),o({update:c})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(r.value)).then((function(e){n.existing[r.key]=e.data}))})),l.success(g.instant("externalsync.repair.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){i.dismiss("cancel")}))}))},n.delete=function(e,i){const c=i.key.indexOf("Elastic")>=0||i.key.indexOf("Solr")>=0;r.open({templateUrl:"js/angular/externalsync/templates/deleteConnector.html",controller:"DeleteConnectorCtrl",resolve:{popoverMsg:function(){return c?g.instant("delete.connector.conditional",{type:i.key}):""}}}).result.then((function(r){n.setLoader(!0,g.instant("externalsync.delete.progress.msg",{name:e.name}),g.instant("externalsync.extra.message.warning"));const a=function(n,e,t){const o=e.substring(0,e.length-1)+"/instance#";return"PREFIX prefix:<"+e+">\nINSERT DATA {\n\t<"+o+n+'> prefix:dropConnector "'+(t?"force":"")+'"\n}'}(e.name,i.value,r);p.addStatements(t.getActiveRepository(),o({update:a})).then((function(){d.getConnectors().then((function(){d.hasConnector(encodeURIComponent(i.value)).then((function(e){n.existing[i.key]=e.data}))})),r?(l.success(g.instant("externalsync.delete.force.success.msg",{name:e.name})),c&&l.warning(g.instant("externalsync.delete.remote.warning",{key:i.key}))):l.success(g.instant("externalsync.delete.success.msg",{name:e.name}))}),(function(n){l.error(getError(n))})).finally((function(){n.setLoader(!1)}))}))},n.viewQuery=function(e,t){r.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){const o=n.getOptions(e);return s(t.name,e.value,i(t.values,o),o)}}})}}function u(n,e,t){n.force=!1,n.popoverMsg=t,n.ok=function(){e.close(n.force)},n.cancel=function(){e.dismiss()}}function f(n,e,t,o,r){function i(){return s(n.name,t.value,n.values,n.options,(function(n,e){r.error(e,n)}))}n.connector=t,n.addField=function(e,t){const o=_.cloneDeep(n.defaultValues[t][0]);n.values[t].splice(e+1,0,o)},n.addOption=function(n,e){e.splice(n+1,0,"")},n.deleteOption=function(n,e){e.splice(n,1)},n.addMapOption=function(n,e){e.splice(n+1,0,{key:"",value:""})},n.deleteMapOption=function(n,e){e.splice(n,1)},n.ok=function(){if(n.form.$valid){const t=i();t&&e.close({name:n.name,values:n.values,options:n.options,query:t})}},n.viewQuery=function(){const n=i();n&&o.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},n.cancel=function(){e.dismiss("cancel")}}function p(n,e,t,o,r,c,a,s){angular.extend(this,e("ExtendNewConnectorCtrl",{$scope:n,$uibModalInstance:o,connector:r,$uibModal:c})),n.values=a.values,n.options=s,n.name=a.name,a.skipConversion||(n.values=i(n.values,n.options)),n.defaultValues=_.cloneDeep(n.values)}function d(n,e,t,o,r){function i(){const i=function(n){const e=n.replace(/\/instance#.+$/,"#connectorStatus");let t="";return t+="SELECT ?status {\n",t+="\t<"+n+"> <"+e+"> ?status",t+="\n}",t}(n.beingBuiltConnector.iri);n.beingBuiltConnector.iri=null,n.progressInterval=e((function(){(function(n){return c(t,o.getActiveRepository(),n)})(i).then((function(t){const o=function(n){if(n.bindings&&n.bindings.length>0)try{return JSON.parse(n.bindings[0].status.value)}catch(n){console.error(n)}return{}}(t.data.results);"BUILDING"===o.status?(n.beingBuiltConnector.status=o,n.beingBuiltConnector.percentDone=(100*o.processedEntities/o.estimatedEntities).toFixed(0),n.beingBuiltConnector.eta=n.getHumanReadableSeconds(o.etaSeconds),n.beingBuiltConnector.actionName=o.repair?r.instant("externalsync.repairing"):r.instant("externalsync.creating"),n.beingBuiltConnector.waitOnRepairStartOnce=!1):"BUILT"!==o.status||n.beingBuiltConnector.waitOnRepairStartOnce||(e.cancel(n.progressInterval),n.beingBuiltConnector.doneCallback&&n.beingBuiltConnector.doneCallback())}))}),1e3),n.$on("$destroy",(function(){e.cancel(n.progressInterval)}))}n.beingBuiltConnector=n.beingBuiltConnector||{},!n.beingBuiltConnector.inline&&n.beingBuiltConnector.iri&&i(),n.$watch("beingBuiltConnector.iri",(function(e){n.beingBuiltConnector.inline&&e&&i()}))}angular.module("graphdb.framework.externalsync.controllers",["graphdb.framework.rest.rdf4j.repositories.service","graphdb.framework.rest.connectors.service"]).controller("ConnectorsCtrl",l).controller("ExtendNewConnectorCtrl",f).controller("CreateConnectorCtrl",p).controller("CreateProgressCtrl",d).controller("DeleteConnectorCtrl",u).filter("ceil",(function(){return function(n){return Math.ceil(n)}})),l.$inject=["$scope","$http","$repositories","$uibModal","toastr","ModalService","$q","RDF4JRepositoriesRestService","ConnectorsRestService","$translate"],u.$inject=["$scope","$uibModalInstance","popoverMsg"],f.$inject=["$scope","$uibModalInstance","connector","$uibModal","toastr"],p.$inject=["$scope","$controller","$http","$uibModalInstance","connector","$uibModal","values","options"],d.$inject=["$scope","$interval","$http","$repositories","$translate"]},208:function(n,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"}}))},296:function(n,e,t){"use strict";t.r(e);t(7),t(31),t(37),t(153),t(208);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(n){return angular.isUndefined(n)?n:n.replace(/ies$/,"y").replace(/s$/,"")}}))},84:function(n,e){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",t),t.$inject=["$http"];function t(n){return{getConnectors:function(){return n.get("rest/connectors")},initConnector:function(e){return n.get("rest/connectors/options?prefix="+e)},hasConnector:function(e){return n.get("rest/connectors/existing?prefix="+e)},checkConnector:function(e){return n.post("rest/connectors/check",e,{headers:{"Content-Type":"text/plain"}})}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,277],{127:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},222:function(e,t,n){"use strict";n.r(t);var r=n(508);n(127);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},494:function(e,t,n){var r,a;r=[n(504)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(504)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},508:function(e,t,n){"use strict";n(494);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
|