graphdb-workbench 2.6.4 → 2.7.0-RC2
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/README.md +1 -1
- package/dist/0.ce392e04e45ca4fad0ce.bundle.js +25 -0
- package/dist/1.b01a382482194b2f51cb.bundle.js +1 -0
- package/dist/10.c2b5d87a7e6f853df225.bundle.js +1 -0
- package/dist/100.468b84c65c7b8c06657d.bundle.js +1 -0
- package/dist/101.37e41d12f25ce7c3b6fc.bundle.js +1 -0
- package/dist/102.73ff72236ce70b195ca5.bundle.js +1 -0
- package/dist/103.40f2dbdccc572f7875b3.bundle.js +1 -0
- package/dist/104.60b9a1f31027d37caf14.bundle.js +1 -0
- package/dist/105.8ec8714c5344f807f679.bundle.js +1 -0
- package/dist/106.a725e69c77071eed016c.bundle.js +1 -0
- package/dist/107.9501561f24a33fd8ac99.bundle.js +1 -0
- package/dist/108.27bef479890bf24da4e2.bundle.js +1 -0
- package/dist/109.6511919579f21ed0f7d0.bundle.js +1 -0
- package/dist/11.019c95d9d3e48f128001.bundle.js +1 -0
- package/dist/110.0874d2482d370e16d419.bundle.js +1 -0
- package/dist/111.7822b8d4ffbfe8ec478c.bundle.js +1 -0
- package/dist/112.e833823d6bff7c377ac6.bundle.js +1 -0
- package/dist/{100.534f37dd58edf9a6d699.bundle.js → 113.632f84d1dfd1d4a6c1bc.bundle.js} +1 -1
- package/dist/114.6a65bbedc013e1309ded.bundle.js +1 -0
- package/dist/{102.a57d02f54d23e39ab220.bundle.js → 115.74fc384b158fa53b2789.bundle.js} +1 -1
- package/dist/{103.6edf5a9611097aac7b0e.bundle.js → 116.44bbe19c8267478cfe47.bundle.js} +1 -1
- package/dist/{104.30887712ab9f944ce3b5.bundle.js → 117.d3d85fee4a3d81b18e15.bundle.js} +1 -1
- package/dist/{105.8e0d511b2790a2c7a1f5.bundle.js → 118.90d7cffadf0edb7dab22.bundle.js} +1 -1
- package/dist/{106.dfa270c46faceb444b3a.bundle.js → 119.25046aae4f906a3b9457.bundle.js} +1 -1
- package/dist/12.3eba2ce927223d6beaae.bundle.js +2 -0
- package/dist/{107.7e47259d1a1e92cc684a.bundle.js → 120.3d0da2f33c1998e15059.bundle.js} +1 -1
- package/dist/{108.9d2fca01799579fd246a.bundle.js → 121.af7399fc572a60de3061.bundle.js} +1 -1
- package/dist/{109.41cc535019ec49b7a449.bundle.js → 122.59b4ea10d7a9b22fc9db.bundle.js} +1 -1
- package/dist/{110.087f1045498ced6386ac.bundle.js → 123.58e05dcc2a75e24f84ff.bundle.js} +1 -1
- package/dist/{111.d77e3e60f2db63fcd713.bundle.js → 124.12578c32900e1dd77742.bundle.js} +1 -1
- package/dist/{112.6b5fac36fea6ec10ccf7.bundle.js → 125.14767fcefae0676044e6.bundle.js} +1 -1
- package/dist/{113.85c3c663f3681b21e49d.bundle.js → 126.0e93fab2297ba7757766.bundle.js} +1 -1
- package/dist/{114.635dc2e74009c95bf91e.bundle.js → 127.7151226dc5c7143c6a7d.bundle.js} +1 -1
- package/dist/{115.47fe6316b11ce761e8d3.bundle.js → 128.31535237e77713023ab3.bundle.js} +1 -1
- package/dist/{116.511ed0fc7766ce1c5dbe.bundle.js → 129.d71a9882363b278a7918.bundle.js} +1 -1
- package/dist/13.d2b2f107c437155c7902.bundle.js +1 -0
- package/dist/{117.ff4f162729afc19137ca.bundle.js → 130.234b58f1812b976eebe0.bundle.js} +1 -1
- package/dist/{118.ce4cb2610bcae2cec5b4.bundle.js → 131.f6aec556f49c78da8665.bundle.js} +1 -1
- package/dist/132.bda2e1408a049ad349b2.bundle.js +1 -0
- package/dist/{120.3be53a400b5e5d0b8bbf.bundle.js → 133.f9aae73e47de861bb86e.bundle.js} +1 -1
- package/dist/{121.4493eca5616735378bb8.bundle.js → 134.a5c33a40d2b84ab5b624.bundle.js} +1 -1
- package/dist/135.e3e8ff0d0cce2e980f9b.bundle.js +1 -0
- package/dist/136.49d2a1a7cfb9325f793a.bundle.js +1 -0
- package/dist/137.c66ea292a9fd631984e5.bundle.js +1 -0
- package/dist/138.cb759fc495f9ce8e21ce.bundle.js +1 -0
- package/dist/139.7537655f500bab3e9c21.bundle.js +1 -0
- package/dist/14.d4c62f427432d74a286e.bundle.js +1 -0
- package/dist/140.74aba9df15b050c129d9.bundle.js +1 -0
- package/dist/141.60071851020a1bc11595.bundle.js +1 -0
- package/dist/{129.c8071eddb4e6ac450d14.bundle.js → 142.8906dd00536438b339df.bundle.js} +1 -1
- package/dist/{130.4ef543acc845d7dfcc8d.bundle.js → 143.b1a2222304f8efe71776.bundle.js} +1 -1
- package/dist/144.bed1362e8e1bf28f2474.bundle.js +1 -0
- package/dist/145.ead9efabb724dfeb0e19.bundle.js +1 -0
- package/dist/146.5c85b4c6e5b066c1b871.bundle.js +1 -0
- package/dist/147.c172219a8a4bd0f6c056.bundle.js +1 -0
- package/dist/148.66760b348f86007056d8.bundle.js +1 -0
- package/dist/149.fa1d474cfaf6b767889b.bundle.js +1 -0
- package/dist/{13.6e2d206f55eeb2c58b2b.bundle.js → 15.22af29a4663786436ba9.bundle.js} +1 -1
- package/dist/150.35beaee434c36b8a57ed.bundle.js +1 -0
- package/dist/151.d7dadb55d3acfd233781.bundle.js +1 -0
- package/dist/152.c4af60ca8a0f67a7bb50.bundle.js +1 -0
- package/dist/153.20647b70a0991741b133.bundle.js +1 -0
- package/dist/{133.cb22542677a1fde54231.bundle.js → 154.3d818c66534811bbd587.bundle.js} +1 -1
- package/dist/155.744b32f45a3739c64df2.bundle.js +1 -0
- package/dist/{134.16abd209e3e07d89821b.bundle.js → 156.b826b561627e04693c93.bundle.js} +1 -1
- package/dist/157.9cb575a263a2173e6305.bundle.js +1 -0
- package/dist/158.63b21a1e9c85348b257b.bundle.js +1 -0
- package/dist/{135.e71755f6f0278b2943d0.bundle.js → 159.2cc2abe5d5aab3e30f88.bundle.js} +1 -1
- package/dist/16.7ce65b3a395658afe6da.bundle.js +1 -0
- package/dist/{136.81439d8a1b2d7dfed6c7.bundle.js → 160.d91a55b2868430da2ab5.bundle.js} +1 -1
- package/dist/161.32c5f65412df68312087.bundle.js +1 -0
- package/dist/162.5e017b7ed61df1b947da.bundle.js +1 -0
- package/dist/163.3e4f72bb09ce009bd9a1.bundle.js +1 -0
- package/dist/164.f423947bfb90cfe80f56.bundle.js +1 -0
- package/dist/165.a479154750b74c124c3a.bundle.js +1 -0
- package/dist/166.d8124626d3bf79ade185.bundle.js +1 -0
- package/dist/167.f4b44e55b9f1ba6f29ec.bundle.js +1 -0
- package/dist/{137.ae6fae38c2b6fd89a566.bundle.js → 168.f07b58314eb17398ce0a.bundle.js} +1 -1
- package/dist/{138.8885afc315c221adb64b.bundle.js → 169.a7a1a463c102a787bd26.bundle.js} +1 -1
- package/dist/17.f97ce9ca8c87ba2dc2f5.bundle.js +3 -0
- package/dist/{139.f02901e6087085176dc7.bundle.js → 170.52b2b3312bf3cc660d86.bundle.js} +1 -1
- package/dist/{140.f0e54b9511ca99865d9d.bundle.js → 171.66786e51baeea990501b.bundle.js} +1 -1
- package/dist/{141.46aad99634d1bfe2b58a.bundle.js → 172.28e4c96daf75eea80ebe.bundle.js} +1 -1
- package/dist/{142.d2aaa85171c7449f2f85.bundle.js → 173.70169be75082552a6f38.bundle.js} +1 -1
- package/dist/{143.802e7b37a5e69e8637a2.bundle.js → 174.f5d8424fd30cdabd48fb.bundle.js} +1 -1
- package/dist/{144.5f21450a9ba89abcb82f.bundle.js → 175.bbc9e5d0a7637ddffb48.bundle.js} +1 -1
- package/dist/{145.2ea88cbccd93fc9fa454.bundle.js → 176.5498e980970c7294e857.bundle.js} +1 -1
- package/dist/{146.e7b99166958dc75f43e7.bundle.js → 177.ddbb3bbd7821e6ea5b19.bundle.js} +1 -1
- package/dist/{147.7abb3c6ae63a13eb61a5.bundle.js → 178.206e43afd1169f6b3b43.bundle.js} +1 -1
- package/dist/{148.b9aa2392ff5063d92341.bundle.js → 179.b917ef9b374cfa28781a.bundle.js} +1 -1
- package/dist/18.fa5f92b1325d6c237490.bundle.js +3 -0
- package/dist/180.95a07bc8d75dcf96fde2.bundle.js +1 -0
- package/dist/{150.c1303d8109786b40d21a.bundle.js → 181.1cbf387c8caf176326d6.bundle.js} +1 -1
- package/dist/182.1694471f63cb379c61b6.bundle.js +1 -0
- package/dist/183.d02eb491d82a20662078.bundle.js +1 -0
- package/dist/184.de22acd6491fc61d0879.bundle.js +1 -0
- package/dist/185.ad65f8cdbc08511d0016.bundle.js +1 -0
- package/dist/186.70bdb627c7e3fc76c4f2.bundle.js +1 -0
- package/dist/187.224d8efe82b066691d8c.bundle.js +1 -0
- package/dist/188.b4fada85a074589c8014.bundle.js +1 -0
- package/dist/{159.41a2a6b6b485989a9412.bundle.js → 189.46eb3adfc986d82bbc3e.bundle.js} +1 -1
- package/dist/19.d25fcec1a634b83a4ab5.bundle.js +2 -0
- package/dist/190.a818d485b6096668956e.bundle.js +1 -0
- package/dist/191.fe8b83097a7068a76e20.bundle.js +1 -0
- package/dist/192.a0201707d0955f55cee9.bundle.js +1 -0
- package/dist/193.5ca7765ecab43455cfdd.bundle.js +1 -0
- package/dist/194.0595be18b25b2f5ff060.bundle.js +1 -0
- package/dist/195.b79966a034a4bde84b69.bundle.js +1 -0
- package/dist/196.ec9ad63d721a93207e3b.bundle.js +1 -0
- package/dist/197.ed04fede33c0d3e78db5.bundle.js +1 -0
- package/dist/{166.92928a8fa8ec48d00349.bundle.js → 198.30768436f4f784d6d944.bundle.js} +1 -1
- package/dist/{167.b38a507dbcfd6329cf8c.bundle.js → 199.d8d94221e3a0539c0ab0.bundle.js} +1 -1
- package/dist/2.29a14f778c53393e96b5.bundle.js +2 -0
- package/dist/{18.a18e024d172531f968fa.bundle.js → 20.8141e5ec14e7d7025409.bundle.js} +1 -1
- package/dist/200.f431744bc266b434e4e4.bundle.js +1 -0
- package/dist/201.bfe7966e603cfdae7ea8.bundle.js +1 -0
- package/dist/202.7503f9f72f5838a91af3.bundle.js +1 -0
- package/dist/{170.8baf5e20de2271caf978.bundle.js → 203.6560a89dc38e752a8151.bundle.js} +1 -1
- package/dist/{171.a46d6b00949dbdbbc38e.bundle.js → 204.94ca0c34c25e23fac8b8.bundle.js} +1 -1
- package/dist/205.b1b032ab00b1f43ebe8e.bundle.js +1 -0
- package/dist/{173.d3bbff40e6f45969410d.bundle.js → 206.cdc530c2e5991fbbe5e3.bundle.js} +1 -1
- package/dist/{174.6d17f7732045b6f182a0.bundle.js → 207.9e82143eec8d7028e8ff.bundle.js} +1 -1
- package/dist/{175.7bc87231bd4677800c77.bundle.js → 208.dc76a108432f0f7fede2.bundle.js} +1 -1
- package/dist/{176.f7a1a4fdd12ad86f3d08.bundle.js → 209.56693a30198130f21dba.bundle.js} +1 -1
- package/dist/21.83559c0ea33f912ece16.bundle.js +1 -0
- package/dist/210.08776212dcac479e8e45.bundle.js +1 -0
- package/dist/211.b9290ea8bf0aabacaa74.bundle.js +1 -0
- package/dist/{179.e4bea06f7e407436dce7.bundle.js → 212.90a04da6e552b583257d.bundle.js} +1 -1
- package/dist/{180.bd3f5149f861a2586ffb.bundle.js → 213.1cbfca65042b2fc2028d.bundle.js} +1 -1
- package/dist/214.ccaa043e69aa63cd6ca4.bundle.js +1 -0
- package/dist/215.fe83decb1b0b9a81f134.bundle.js +1 -0
- package/dist/{183.2f7def34c47fd1bc38b3.bundle.js → 216.1d3f978fc8f89a63cd1d.bundle.js} +1 -1
- package/dist/{184.a71cd41118f14e2c123f.bundle.js → 217.ed6635ecde1fb3937766.bundle.js} +1 -1
- package/dist/{185.31a5c2ddc3afdffdc9e5.bundle.js → 218.a10ead78a182a4e850cb.bundle.js} +1 -1
- package/dist/219.988d446df0a2d0547382.bundle.js +1 -0
- package/dist/22.0fa3c8910376d3560df6.bundle.js +1 -0
- package/dist/{187.4b22405c17194851a1e1.bundle.js → 220.29343ca7761ff4f17202.bundle.js} +1 -1
- package/dist/{188.bce7651d7bd1e88d7689.bundle.js → 221.483fd8c486692cf8a7dd.bundle.js} +1 -1
- package/dist/222.f3db35b4bb1ab14a37ed.bundle.js +1 -0
- package/dist/{190.d758ca3d4a14b7273bab.bundle.js → 223.fc37863ba2ba85ac0f0a.bundle.js} +1 -1
- package/dist/224.2537701a5689274da43b.bundle.js +1 -0
- package/dist/{191.8c31e698a482ba52ca82.bundle.js → 225.382a40401d9afd08e86d.bundle.js} +1 -1
- package/dist/{192.944cc89f4d31c0fd8f79.bundle.js → 226.8d8fb48fcf4b7ab483be.bundle.js} +1 -1
- package/dist/{193.fad67143e7b911118459.bundle.js → 227.62884ab58af84ab0c7c8.bundle.js} +1 -1
- package/dist/228.658b65fb336375af3b68.bundle.js +1 -0
- package/dist/229.497bacae1ab50eba18ae.bundle.js +1 -0
- package/dist/23.f80e6c86fdefaa8beb7b.bundle.js +1 -0
- package/dist/{195.7f8774fd8da98c5897a1.bundle.js → 230.fb44d6b6d1e5f6a01137.bundle.js} +1 -1
- package/dist/{196.3ab76ea57aaa91d34511.bundle.js → 231.3c3c64494b941821f962.bundle.js} +1 -1
- package/dist/{197.9bbab0d7f35c2b58914f.bundle.js → 232.913974b2169e47ba8303.bundle.js} +1 -1
- package/dist/{198.813986f24f2f7887e738.bundle.js → 233.4f7f94736870d2fdd81c.bundle.js} +1 -1
- package/dist/{199.246f0549d7bdf7c18215.bundle.js → 234.7152fce5deceba8113a9.bundle.js} +1 -1
- package/dist/{200.20f4846b9ed97b60def3.bundle.js → 235.40b776ac77da900bae39.bundle.js} +1 -1
- package/dist/{201.768937613e43caedd9fc.bundle.js → 236.97c932e8fe1c73db7be9.bundle.js} +1 -1
- package/dist/{202.0d38d4ec1e39e8ca91b7.bundle.js → 237.63a9b10ddcdba3bc18cb.bundle.js} +1 -1
- package/dist/{203.a78dd70f65b08ecb58d2.bundle.js → 238.e4c5a499452589eff6cb.bundle.js} +1 -1
- package/dist/{204.e1f61ba757fbc813e6d4.bundle.js → 239.4fa5d180f3b89db4218c.bundle.js} +1 -1
- package/dist/24.f18e0c402a2edbe15a21.bundle.js +1 -0
- package/dist/{205.cc2c5786dff7bf31b08c.bundle.js → 240.3472069ee928bad9b35d.bundle.js} +1 -1
- package/dist/{206.dadf18fb31b0533b1696.bundle.js → 241.db491a552498f004ab18.bundle.js} +1 -1
- package/dist/{207.44dbc18bb4c8fa07cc66.bundle.js → 242.d88ed36c4588beb9e54f.bundle.js} +1 -1
- package/dist/{208.dda72c8e3795ba716704.bundle.js → 243.d27572f452a05b380a28.bundle.js} +1 -1
- package/dist/{209.7f8b6e8e2869b51c554c.bundle.js → 244.86eff11cbd068da83622.bundle.js} +1 -1
- package/dist/{210.6d601b172d76d9bc2c98.bundle.js → 245.3795fdb16cef6d43def8.bundle.js} +1 -1
- package/dist/{211.ad09e493e9be031887e9.bundle.js → 246.25ffd7dd24871309bc88.bundle.js} +1 -1
- package/dist/{212.364965f963bcd6331e6f.bundle.js → 247.eb181919d6dc4b9277d2.bundle.js} +1 -1
- package/dist/{213.6c5b540986e7b24a338a.bundle.js → 248.2e9244202f590821aebb.bundle.js} +1 -1
- package/dist/249.d3bd3be6c656ad4596f7.bundle.js +1 -0
- package/dist/25.5883938465085bed6a70.bundle.js +1 -0
- package/dist/250.d94dca4dc34daf520cc9.bundle.js +1 -0
- package/dist/{215.a95cf561d38004eff071.bundle.js → 251.8824e72b115cbad8c52c.bundle.js} +1 -1
- package/dist/252.ca03f0bcb4b5e1fbae25.bundle.js +1 -0
- package/dist/{216.acdd4ee62af663ab18a1.bundle.js → 253.69a04f3cdc05e37ad242.bundle.js} +1 -1
- package/dist/{217.38ab6d3450c36fe8104f.bundle.js → 254.220808d15009ead378de.bundle.js} +1 -1
- package/dist/{218.66399da8a64421df67c1.bundle.js → 255.ca7868637dfc0f1ca4e1.bundle.js} +1 -1
- package/dist/{219.05c3d5e61c9bb4752e5f.bundle.js → 256.84bbda311fb4ece40f32.bundle.js} +1 -1
- package/dist/{220.069190d187dfc576daed.bundle.js → 257.dd637d9aef6f410927d2.bundle.js} +1 -1
- package/dist/{221.3553362f556124c787a8.bundle.js → 258.c814fbc8cdbd63f5d0b2.bundle.js} +1 -1
- package/dist/{222.5ec7607217a3cb97b293.bundle.js → 259.1f263b72f0bcc10f3472.bundle.js} +1 -1
- package/dist/{24.498f1aefa71ceb33d2f8.bundle.js → 26.9d96327b6a589ccca5f4.bundle.js} +1 -1
- package/dist/{223.37d133ce14e20b0efe2d.bundle.js → 260.0982397378caa5bedec3.bundle.js} +1 -1
- package/dist/{224.acc9afbc9e926356519a.bundle.js → 261.cfc91fd6259161171ef8.bundle.js} +1 -1
- package/dist/{225.ba9860341f9eba2c1f2d.bundle.js → 262.bb79058c715d910286de.bundle.js} +1 -1
- package/dist/263.918171936df6aae41cdd.bundle.js +1 -0
- package/dist/264.5dbd1c96b788f865e8a3.bundle.js +1 -0
- package/dist/{228.21cb62126a898299b993.bundle.js → 265.91fe4801d0ae3c7c6013.bundle.js} +1 -1
- package/dist/{229.227a956358ad27627e2c.bundle.js → 266.faf272fe407c865552d5.bundle.js} +1 -1
- package/dist/{230.215c4242d4a205df5b8e.bundle.js → 267.51d61308ef19d0f31ae3.bundle.js} +1 -1
- package/dist/{231.fd7222ca89363294fe39.bundle.js → 268.d4496b954a694a12f563.bundle.js} +1 -1
- package/dist/269.39786de80a65a060ba15.bundle.js +1 -0
- package/dist/27.a2d2a0aeca206f315ff4.bundle.js +1 -0
- package/dist/270.bd49673c97f4bb96f8c8.bundle.js +1 -0
- package/dist/271.5e2535f5056b9ea67104.bundle.js +1 -0
- package/dist/272.9fc896f7f0650e076843.bundle.js +1 -0
- package/dist/{233.007908cb7a913f1554ed.bundle.js → 273.926007fe684295c91376.bundle.js} +1 -1
- package/dist/{234.de1618094d091408fd6d.bundle.js → 274.972a42a2fa48be2fc765.bundle.js} +1 -1
- package/dist/275.52fa7d7d23192c71c15d.bundle.js +1 -0
- package/dist/{236.ec2ada8b5f2aec3204f5.bundle.js → 276.5e90ab7063831bc35934.bundle.js} +1 -1
- package/dist/28.d9a0920f543c599508f7.bundle.js +1 -0
- package/dist/282.9bda539a1ef1de2dab5d.bundle.js +1 -0
- package/dist/283.5746fc7ea5590204dbe5.bundle.js +1 -0
- package/dist/{244.526affae61c05ae944d3.bundle.js → 284.b9048481713e69ecab9d.bundle.js} +1 -1
- package/dist/{245.feedc08d977143faa08e.bundle.js → 285.30720353e6e956a8d6e1.bundle.js} +1 -1
- package/dist/{246.136fac3b1ce27662490d.bundle.js → 286.27f1819fdbfb1c92bd56.bundle.js} +1 -1
- package/dist/{247.71aeac059bcf9ed9b392.bundle.js → 287.7b22c231b1d46de39afe.bundle.js} +1 -1
- package/dist/{248.94d8fea9b5ce15519623.bundle.js → 288.3cff5f62f13ca50d18d4.bundle.js} +1 -1
- package/dist/{249.234cb407b6a647179cf2.bundle.js → 289.28702ce35ff1b38eb7c3.bundle.js} +1 -1
- package/dist/29.15213e151364f5ecfcd5.bundle.js +1 -0
- package/dist/{250.3ed03b7e55905888d992.bundle.js → 290.01dca2e117009414cca7.bundle.js} +1 -1
- package/dist/291.e9dd88227bb4f2925388.bundle.js +1 -0
- package/dist/292.8d4187053b4b294cac20.bundle.js +1 -0
- package/dist/{251.efa949bd1ee44f4290ed.bundle.js → 293.70b8a172454be55d934b.bundle.js} +1 -1
- package/dist/{252.5705d631c738e4d8e996.bundle.js → 294.1a2995e88e44e8cfc675.bundle.js} +1 -1
- package/dist/{253.8752156b82db62eb4c92.bundle.js → 295.77931288193c43b9553d.bundle.js} +1 -1
- package/dist/{254.986c95170a74cc76c5e5.bundle.js → 296.8d45796ceae0c6bee738.bundle.js} +1 -1
- package/dist/{255.53ff457cdf06dc0de427.bundle.js → 297.48c7bcec883dd64f3c56.bundle.js} +1 -1
- package/dist/{256.52e7acbbd3e7dde0df9f.bundle.js → 298.8acfa2c57b8ee59b9b91.bundle.js} +1 -1
- package/dist/299.e6c3dca243930e459640.bundle.js +1 -0
- package/dist/3.004ca7fdd54f69fb403c.bundle.js +1 -0
- package/dist/30.da81fc6adae87760bef3.bundle.js +1 -0
- package/dist/300.cef8eccb11324bcfdb36.bundle.js +1 -0
- package/dist/{258.db5554df6956ecfc7dec.bundle.js → 301.3f57183ed5f7435dc4c8.bundle.js} +1 -1
- package/dist/302.7a5d2ba28bd6479a77be.bundle.js +1 -0
- package/dist/303.e817b957f010153de97a.bundle.js +1 -0
- package/dist/304.fd2e766c67cd966f6751.bundle.js +1 -0
- package/dist/{262.3b9c687ab8c9b9282f5a.bundle.js → 305.efcc46990fa1eaf33302.bundle.js} +1 -1
- package/dist/{263.9c4ce329ffd095c5d1c6.bundle.js → 306.b91bcc28ab82991706be.bundle.js} +1 -1
- package/dist/{264.0504ff98a1b50e9d2486.bundle.js → 307.01896312daa103074967.bundle.js} +1 -1
- package/dist/{265.a0af2676b1495c6231cc.bundle.js → 308.aa64afad16520593c3cb.bundle.js} +1 -1
- package/dist/{266.31dcc9c203106832e08a.bundle.js → 309.b740a138d610f3ecc8ac.bundle.js} +1 -1
- package/dist/31.7291677a3b02925c5619.bundle.js +1 -0
- package/dist/{267.3befe4deb9b75cd5d7ba.bundle.js → 310.a0facb5c474ed00faa72.bundle.js} +1 -1
- package/dist/{268.c7dc883261346f81be82.bundle.js → 311.179fc05c974e534f0b3e.bundle.js} +1 -1
- package/dist/{269.601d4fc4300f4553d75c.bundle.js → 312.7bed00fa6da9f34a200e.bundle.js} +1 -1
- package/dist/{270.e9d338a5cf954fbc1f4c.bundle.js → 313.bbfd0481b9d7916061b2.bundle.js} +1 -1
- package/dist/{271.a88eeff63bbc87791af0.bundle.js → 314.1098f208f4369aeffbef.bundle.js} +1 -1
- package/dist/{272.ddacc590a66bdb0fa651.bundle.js → 315.6be86d6c5fa08f25391b.bundle.js} +1 -1
- package/dist/{273.d45db281162abbe864ae.bundle.js → 316.e399550194cb14ea97fb.bundle.js} +1 -1
- package/dist/{274.eca3da80ab4f0b4a3263.bundle.js → 317.745c344fb0123b866691.bundle.js} +1 -1
- package/dist/{275.509ea766eda3bbcf1562.bundle.js → 318.451e46818432dd01c8c4.bundle.js} +1 -1
- package/dist/319.04599c775a6928137e1c.bundle.js +1 -0
- package/dist/32.1500547152b61817bf4b.bundle.js +1 -0
- package/dist/320.3d8e2fa758f49e682109.bundle.js +1 -0
- package/dist/321.4c84a408218abc25d649.bundle.js +1 -0
- package/dist/322.166a8d15dbebcaad2c0f.bundle.js +1 -0
- package/dist/323.148866d081938614070f.bundle.js +1 -0
- package/dist/324.6db5e50972124f9c757c.bundle.js +1 -0
- package/dist/325.f6a3e4e6432a00d1f8be.bundle.js +1 -0
- package/dist/326.c1a4a25bc2c84932656c.bundle.js +1 -0
- package/dist/327.bbc29c40294c2c21fd45.bundle.js +1 -0
- package/dist/{283.bf3ea5f6f6b8406e5401.bundle.js → 328.b5ee29711483c6cb3648.bundle.js} +1 -1
- package/dist/{284.3f34606cfbcefb0a1a47.bundle.js → 329.815fbe5d926e0abd72bc.bundle.js} +1 -1
- package/dist/33.658b4b7dfd8907299bd2.bundle.js +1 -0
- package/dist/{285.4e95ca9e283ddd26fcbf.bundle.js → 330.0d46e506e428bac029f7.bundle.js} +1 -1
- package/dist/{286.8c8f50e9844881f0b028.bundle.js → 331.dcb59ef954e8107551b2.bundle.js} +1 -1
- package/dist/{287.23b580771ee0d5e65d41.bundle.js → 332.76cc6e5378d0543502bc.bundle.js} +1 -1
- package/dist/333.9f051c77b4c6747b320c.bundle.js +1 -0
- package/dist/{289.c47fa5cd7d5468dce45f.bundle.js → 334.da0264965f7333f3a4b4.bundle.js} +1 -1
- package/dist/{290.b9baf8eed99b4447f086.bundle.js → 335.99789e8308a408fe173c.bundle.js} +1 -1
- package/dist/{291.1e7bf6b667f7698ac645.bundle.js → 336.9a10da6ea9e4d8e2fabc.bundle.js} +1 -1
- package/dist/{292.44bcf6642bd3fac703b4.bundle.js → 337.bf9bab37069a41e14b6d.bundle.js} +1 -1
- package/dist/{293.184eb39d3229ef066269.bundle.js → 338.17dcc925449ebf22c5e1.bundle.js} +1 -1
- package/dist/{294.338c276decc123976f73.bundle.js → 339.71410d58db5ed9abd346.bundle.js} +1 -1
- package/dist/34.b083f40f22c7cba13c9b.bundle.js +1 -0
- package/dist/{295.72eea8b2cf594acd85e6.bundle.js → 340.49087fd95051d04734f4.bundle.js} +1 -1
- package/dist/{296.8f11a500bce671ed75db.bundle.js → 341.f6054b3fa699d92daefe.bundle.js} +1 -1
- package/dist/{297.71b96380e1103cd792d9.bundle.js → 342.69f49187341e9eb1749a.bundle.js} +1 -1
- package/dist/{298.39626a266f47903126bf.bundle.js → 343.f058949d789f13202685.bundle.js} +1 -1
- package/dist/344.10ae353b99728613ba59.bundle.js +1 -0
- package/dist/345.7dd95595bdddf2a1ba1b.bundle.js +1 -0
- package/dist/{301.e9495589c306b342c312.bundle.js → 346.6e70020ca7edeea727be.bundle.js} +1 -1
- package/dist/{302.d16e044e23278bf1e922.bundle.js → 347.16efd9ee41abd6f9f1e5.bundle.js} +1 -1
- package/dist/{303.85715cdc00dfd6ef1521.bundle.js → 348.430c33b3feafbe6f4d0c.bundle.js} +1 -1
- package/dist/{304.e055e669c9bad5898984.bundle.js → 349.0171f3012a3a81bb4aec.bundle.js} +1 -1
- package/dist/35.6e98d4f02ec70ab9c18d.bundle.js +1 -0
- package/dist/36.514b83c5c76d798f194b.bundle.js +1 -0
- package/dist/{36.780bcf12c8d8b5742eac.bundle.js → 37.84d99617e535839cb656.bundle.js} +2 -2
- package/dist/38.ee84d1f49e7b0dd1ab19.bundle.js +1 -0
- package/dist/39.5b42ccebac5d40ef0c46.bundle.js +1 -0
- package/dist/{4.fe432ceb2b88c03018b3.bundle.js → 4.475e4b352dc9c792c416.bundle.js} +1 -1
- package/dist/{38.0edff4c7b76c9652f664.bundle.js → 40.c50518d943c144dd34ef.bundle.js} +1 -1
- package/dist/{39.f691f87a4527e58da4a2.bundle.js → 41.09acac356445cf9bbefd.bundle.js} +1 -1
- package/dist/42.52befbab22e69bb433f4.bundle.js +1 -0
- package/dist/43.aa5e0ebcdf8f97aa89fa.bundle.js +1 -0
- package/dist/44.dfaaad81b2f47956d038.bundle.js +1 -0
- package/dist/45.35f80633b00a33777b62.bundle.js +1 -0
- package/dist/{41.5a0ecbdf78c48ddce365.bundle.js → 46.59cd819edca5b6f72949.bundle.js} +1 -1
- package/dist/47.32904b5b7445c997858b.bundle.js +2 -0
- package/dist/{42.6a677110f335d516813b.bundle.js → 48.1217ce13ac2ed52e8767.bundle.js} +1 -1
- package/dist/49.aa0a9db787ce961bd165.bundle.js +1 -0
- package/dist/{6.0685b09a3646005a1521.bundle.js → 5.414947e88a9489bc7dbd.bundle.js} +1 -1
- package/dist/50.b6bccc40953db549a1bd.bundle.js +1 -0
- package/dist/51.ebafb19025c2f912a73d.bundle.js +1 -0
- package/dist/52.d2c2830c7875e01e1404.bundle.js +1 -0
- package/dist/{45.001b1bcbff1d7c9b3288.bundle.js → 53.bb3c2e2fbe65e9dd533d.bundle.js} +1 -1
- package/dist/54.26d3c626b4ccd5da602f.bundle.js +1 -0
- package/dist/{47.7e030d52af57062c6527.bundle.js → 55.91a21a61b4c946d83ba5.bundle.js} +1 -1
- package/dist/{48.669aedf81599ca0aee35.bundle.js → 56.64c8049f78f861aa2419.bundle.js} +1 -1
- package/dist/{49.319507fd2417a71a157e.bundle.js → 57.349e7326d2230d67b60e.bundle.js} +1 -1
- package/dist/{50.91efd0f7c94e635eb31b.bundle.js → 58.9f4b098efc1fa6145087.bundle.js} +1 -1
- package/dist/59.6f241e911b33e8f887bd.bundle.js +1 -0
- package/dist/6.06c5378d91089fc0d3c0.bundle.js +1 -0
- package/dist/{52.37332ab2c0675e0a802c.bundle.js → 60.6e7c33c9eccf58424d89.bundle.js} +1 -1
- package/dist/{53.967c8f3d2a9f33fcfc27.bundle.js → 61.a617b16ec93bbe525f65.bundle.js} +1 -1
- package/dist/62.42c03cc9243d6571127e.bundle.js +1 -0
- package/dist/63.7567923d3e84023026f5.bundle.js +1 -0
- package/dist/64.fc165e927e6193957d27.bundle.js +1 -0
- package/dist/65.dfd1dc460e2b633c3d21.bundle.js +1 -0
- package/dist/66.4d605c13039281a135b4.bundle.js +1 -0
- package/dist/67.147b4b01815dbf0fb888.bundle.js +1 -0
- package/dist/68.bbb9167b9a325038c4c5.bundle.js +1 -0
- package/dist/69.1b10c7df49efcbce6beb.bundle.js +1 -0
- package/dist/7.0d6b451c3b56ee9d14ba.bundle.js +73 -0
- package/dist/70.9b73a992193f9d98e908.bundle.js +1 -0
- package/dist/{60.dd84d15683316fe6c548.bundle.js → 71.4ba8d14bb95169a5ef98.bundle.js} +1 -1
- package/dist/{62.3cda5cf1c8a74f8bccc6.bundle.js → 72.82001a2b76be62724c3b.bundle.js} +1 -1
- package/dist/73.49f51849b45a708ecef3.bundle.js +1 -0
- package/dist/74.8df75b6e3d1dfabeb5c0.bundle.js +1 -0
- package/dist/{64.0b46f2876921c15c0f4d.bundle.js → 75.50bbc13551fe565e7f60.bundle.js} +1 -1
- package/dist/76.689c7abcb01082bcf286.bundle.js +1 -0
- package/dist/77.c7b14cc19f05c1b661a1.bundle.js +1 -0
- package/dist/{65.4c044f55fb8e826c87a0.bundle.js → 78.e546f8734e039b8d3346.bundle.js} +1 -1
- package/dist/{68.b4bf34276a3cab5e48bf.bundle.js → 79.cb4717cfd1c48b5b4d26.bundle.js} +1 -1
- package/dist/8.02e89c644497d344f233.bundle.js +1 -0
- package/dist/80.3017e9693f3fa36f483b.bundle.js +1 -0
- package/dist/{70.e04eced6ee3b7d712377.bundle.js → 81.8c5f38e3e4453ab9a06d.bundle.js} +1 -1
- package/dist/{71.0fbdedcc573e4e38ff6a.bundle.js → 82.351873d0098ac0a22454.bundle.js} +1 -1
- package/dist/{72.e71caf5330e0c1cece04.bundle.js → 83.3b4add664d238c3a63be.bundle.js} +1 -1
- package/dist/{73.298162fe9ad207efe8a5.bundle.js → 84.fbfb2f77d6d49d9ee6b0.bundle.js} +1 -1
- package/dist/{74.b57c202b34d9d8effbcb.bundle.js → 85.061a04461cc963521051.bundle.js} +1 -1
- package/dist/{75.8be72a221b92aa667da7.bundle.js → 86.63234e89df7adaf0c074.bundle.js} +1 -1
- package/dist/{76.0f45a150d03cf8aeeb9d.bundle.js → 87.a2fd79351dd8689b0edb.bundle.js} +1 -1
- package/dist/{77.257e393d86a8fb9f2102.bundle.js → 88.5fe43d640edc7ee2fa75.bundle.js} +1 -1
- package/dist/{78.83432ef1cff39b57aa50.bundle.js → 89.d3627c71ece81fb972cc.bundle.js} +1 -1
- package/dist/9.843879ddf6bab478ae3d.bundle.js +1 -0
- package/dist/{79.74e2421bfb8f6c563a99.bundle.js → 90.943c3e36b2f824bb9ec1.bundle.js} +1 -1
- package/dist/{80.53a2f5637376be338bb5.bundle.js → 91.0177cb93cc124b69740e.bundle.js} +1 -1
- package/dist/{81.a48e2d16edd121965d2f.bundle.js → 92.397df9e617dec5ac291a.bundle.js} +1 -1
- package/dist/{82.bde6d42f833167581069.bundle.js → 93.91bcf6af4f2cb865f971.bundle.js} +1 -1
- package/dist/{83.4bb7fb45433f0902ba64.bundle.js → 94.988cc1669cd64f980cd4.bundle.js} +1 -1
- package/dist/{84.3fe74c343dd811256a58.bundle.js → 95.afff0a4c33382bd1ed81.bundle.js} +1 -1
- package/dist/96.6a570ad81b7588bffb76.bundle.js +1 -0
- package/dist/{86.b6a6584bb48c2eba7793.bundle.js → 97.885a73aa0360fd138b06.bundle.js} +1 -1
- package/dist/{87.66c82919414d84bf1c91.bundle.js → 98.4682c01b8beedb7ee99f.bundle.js} +1 -1
- package/dist/{88.a54c809c84dbef177321.bundle.js → 99.27862271b2265d287af4.bundle.js} +1 -1
- package/dist/bundle.a0c228dbfde457104657.bundle.js +95 -0
- package/dist/css/clustermanagement.css +120 -113
- package/dist/css/import-resource-tree.css +211 -0
- package/dist/css/import.css +42 -1
- package/dist/css/lib/ontotext-yasgui-web-component.css +17 -0
- package/dist/css/ux-test1.css +29 -0
- package/dist/i18n/locale-en.json +252 -111
- package/dist/i18n/locale-fr.json +283 -111
- package/dist/index.html +5 -5
- package/dist/js/angular/clustermanagement/templates/cluster-configuration.html +89 -0
- package/dist/js/angular/clustermanagement/templates/cluster-legend.html +9 -0
- package/dist/js/angular/core/components/export-settings-modal/controller.js +67 -0
- package/dist/js/angular/core/components/export-settings-modal/exportSettingsModal.html +66 -0
- 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/import/templates/file-override-confirmation.html +18 -0
- package/dist/js/angular/import/templates/fileSizeLimitInfo.html +6 -0
- package/dist/js/angular/import/templates/import-resource-message-dialog.html +29 -0
- package/dist/js/angular/import/templates/import-resource-message.html +48 -0
- package/dist/js/angular/import/templates/import-resource-status-info.html +116 -0
- package/dist/js/angular/import/templates/import-resource-tree.html +235 -0
- package/dist/js/angular/import/templates/settingsModal.html +272 -219
- package/dist/js/angular/import/templates/textSnippet.html +21 -13
- package/dist/js/angular/import/templates/urlImport.html +1 -1
- package/dist/js/angular/security/templates/user.html +9 -3
- package/dist/license-checker.json +269 -26
- package/dist/main.98c547eac0aca6db48bb.css +1 -0
- package/dist/{main.d3e9ca1041e746ba3275.bundle.js → main.9a9ecfe4df696b298d46.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +18 -6
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +18 -112
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +9 -4
- package/dist/pages/export.html +26 -14
- 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 +106 -39
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +2 -2
- 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 +22 -21
- package/dist/pages/sparql-editor.html +1 -9
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +366 -7
- package/dist/pages/webapi.html +3 -3
- package/dist/plugins.js +240 -260
- package/dist/{polyfills-dom.e5e420bcb04603449d09.bundle.js → polyfills-dom.7743e3f46a2b61057149.bundle.js} +1 -1
- package/dist/res/swagger5/README.md +3 -0
- package/dist/res/swagger5/css/onto-theme.css +149 -0
- package/dist/res/swagger5/favicon-16x16.png +0 -0
- package/dist/res/swagger5/favicon-32x32.png +0 -0
- package/dist/res/swagger5/index.css +16 -0
- package/dist/res/swagger5/index.html +28 -0
- package/dist/res/swagger5/oauth2-redirect.html +79 -0
- package/dist/res/swagger5/swagger-initializer.js +51 -0
- package/dist/res/swagger5/swagger-ui-bundle.js +2 -0
- package/dist/res/swagger5/swagger-ui-bundle.js.map +1 -0
- package/dist/res/swagger5/swagger-ui-es-bundle-core.js +3 -0
- package/dist/res/swagger5/swagger-ui-es-bundle-core.js.map +1 -0
- package/dist/res/swagger5/swagger-ui-es-bundle.js +2 -0
- package/dist/res/swagger5/swagger-ui-es-bundle.js.map +1 -0
- package/dist/res/swagger5/swagger-ui-standalone-preset.js +2 -0
- package/dist/res/swagger5/swagger-ui-standalone-preset.js.map +1 -0
- package/dist/res/swagger5/swagger-ui.css +3 -0
- package/dist/res/swagger5/swagger-ui.css.map +1 -0
- package/dist/res/swagger5/swagger-ui.js +2 -0
- package/dist/res/swagger5/swagger-ui.js.map +1 -0
- package/dist/{vendor.32f2a17d79d66db88bba.bundle.js → vendor.4158e85ef261380e9ea5.bundle.js} +4 -4
- package/dist/vendor.c3e18291118da6a85719.css +20 -0
- package/dist/{vendors~polyfills-core-js.efe4b0ec258663b8b247.bundle.js → vendors~polyfills-core-js.2ccf42a4e726efd70e15.bundle.js} +1 -1
- package/package.json +5 -4
- package/dist/0.a3b3bef411c35bdc8be5.bundle.js +0 -25
- package/dist/1.aab0f9b3a664ffdd46a3.bundle.js +0 -1
- package/dist/10.c86a39a390b36ec08b90.bundle.js +0 -1
- package/dist/101.d85136c82944d96009d8.bundle.js +0 -1
- package/dist/11.5146ccccd430bce59f6c.bundle.js +0 -7
- package/dist/119.e2a1ccb260af6cddd91c.bundle.js +0 -1
- package/dist/12.5bf5c46197bb88fade77.bundle.js +0 -1
- package/dist/122.d5d3e1f5e5c8f632795f.bundle.js +0 -1
- package/dist/123.eb8114707f15749a90ae.bundle.js +0 -1
- package/dist/124.66c3ddc58390694a3a98.bundle.js +0 -1
- package/dist/125.48215e946747137bf6c8.bundle.js +0 -1
- package/dist/126.119b23fe77d130cd15f2.bundle.js +0 -1
- package/dist/127.8e57d1e19372e120aeba.bundle.js +0 -1
- package/dist/128.96d9076518cacd42230d.bundle.js +0 -1
- package/dist/131.f41a0b6b9036447b1077.bundle.js +0 -1
- package/dist/132.3666a6511534abe54b6a.bundle.js +0 -1
- package/dist/14.77134ed08934f63cbe92.bundle.js +0 -1
- package/dist/149.c2b7461cdb7018d8a7ac.bundle.js +0 -1
- package/dist/15.81ca8fb02469ee14c5e4.bundle.js +0 -1
- package/dist/151.b909ba9cb2419e0f91dd.bundle.js +0 -1
- package/dist/152.20fec292fccfef232845.bundle.js +0 -1
- package/dist/153.7413dfe6871e27f43788.bundle.js +0 -1
- package/dist/154.19d1b00bfc1e419adc42.bundle.js +0 -1
- package/dist/155.dd57193f58cc7d5262b8.bundle.js +0 -1
- package/dist/156.258d084f62fa73d45ded.bundle.js +0 -1
- package/dist/157.60074b591e62c10a77ed.bundle.js +0 -1
- package/dist/158.742c03d8e739b04df049.bundle.js +0 -1
- package/dist/16.3726f8988b8ca8f2394a.bundle.js +0 -3
- package/dist/160.7616cb8b729cfbe229fb.bundle.js +0 -1
- package/dist/161.cc79ca9a079e616ba9e6.bundle.js +0 -1
- package/dist/162.78a734f7eb6bd4583f17.bundle.js +0 -1
- package/dist/163.5dbf48d936a3c831c9b5.bundle.js +0 -1
- package/dist/164.d3220f317e31f573b335.bundle.js +0 -1
- package/dist/165.4b88e7b3b3a273cb4ed1.bundle.js +0 -1
- package/dist/168.c52d0bbbd4224ddadd7c.bundle.js +0 -1
- package/dist/169.f6823be6839682f8586c.bundle.js +0 -1
- package/dist/17.31f5971e39936437eda8.bundle.js +0 -1
- package/dist/172.9b5d17e5c772c53243e9.bundle.js +0 -1
- package/dist/177.1023531c905d87b8a4ac.bundle.js +0 -1
- package/dist/178.cb8324bb00103fb26cfb.bundle.js +0 -1
- package/dist/181.393af0e6c19d537f775b.bundle.js +0 -1
- package/dist/182.9b7c235aa984ad81ab02.bundle.js +0 -1
- package/dist/186.daffd5d0823f56ba3c54.bundle.js +0 -1
- package/dist/189.4456ac2b4559c9c4e808.bundle.js +0 -1
- package/dist/19.ec4fc8946a6edb7dc7c9.bundle.js +0 -1
- package/dist/194.a4f892be39e071e2552a.bundle.js +0 -1
- package/dist/2.907f954e4f9e0697612c.bundle.js +0 -1
- package/dist/20.b6d679aabf452ffe8369.bundle.js +0 -1
- package/dist/21.72126081137288bb650e.bundle.js +0 -1
- package/dist/214.3c333d59839d2bcd183e.bundle.js +0 -1
- package/dist/22.8ee5985085ab2c4b99f1.bundle.js +0 -2
- package/dist/226.0a305eb2e34c9d3fb3ce.bundle.js +0 -1
- package/dist/227.357506866df2e0ba1ae1.bundle.js +0 -1
- package/dist/23.a5165fa6e171a8db712b.bundle.js +0 -1
- package/dist/232.ddae678620e7c15b8ec4.bundle.js +0 -1
- package/dist/235.97d46a9b6277079ae6cc.bundle.js +0 -1
- package/dist/242.7be67f4aaa4647098043.bundle.js +0 -1
- package/dist/243.36fbc0c96d0a35048949.bundle.js +0 -1
- package/dist/25.5a98f7b1bf5b195fa51f.bundle.js +0 -1
- package/dist/257.943f597bddc0d65103c5.bundle.js +0 -1
- package/dist/259.2c88332b7f1b47935a47.bundle.js +0 -1
- package/dist/26.39e15c5192367e254761.bundle.js +0 -1
- package/dist/260.d745422c537bdd9647bb.bundle.js +0 -1
- package/dist/261.7efff7f93f61f061f5ca.bundle.js +0 -1
- package/dist/27.92bfb161b420732902a3.bundle.js +0 -1
- package/dist/276.f816f19aaa4522373a5f.bundle.js +0 -1
- package/dist/277.6c6b5259fa26936adf41.bundle.js +0 -1
- package/dist/278.bfc453e4fdb94806e6fc.bundle.js +0 -1
- package/dist/279.855b2c767116d91fdc3b.bundle.js +0 -1
- package/dist/28.2e0277168c8f14f9c085.bundle.js +0 -1
- package/dist/280.95394d461866b83c32b7.bundle.js +0 -1
- package/dist/281.fcaf9deb44f93c85ef68.bundle.js +0 -1
- package/dist/282.bede8a18d3e678b7895d.bundle.js +0 -1
- package/dist/288.6cef162ec3cec3cde603.bundle.js +0 -1
- package/dist/29.128101fabb544e88e448.bundle.js +0 -1
- package/dist/299.d3636e77b768f4300e8c.bundle.js +0 -1
- package/dist/3.e877f5e49ef930b8b905.bundle.js +0 -1
- package/dist/30.1ffda412dea3c5f55c24.bundle.js +0 -1
- package/dist/300.c9844b95b03ac7295e4f.bundle.js +0 -1
- package/dist/31.1e6ed4b31ac8c0dc44cd.bundle.js +0 -1
- package/dist/32.08cc7807b71cf869e6e2.bundle.js +0 -1
- package/dist/33.601eab9a8c9d80755599.bundle.js +0 -1
- package/dist/34.b03038da5530dcb82c85.bundle.js +0 -3
- package/dist/35.d337b2f1aeac7bab3100.bundle.js +0 -2
- package/dist/37.2204724b4ae08556283e.bundle.js +0 -1
- package/dist/40.53352fda81f370182e99.bundle.js +0 -1
- package/dist/43.bcf30fa642d63c585962.bundle.js +0 -1
- package/dist/44.f3060f0a04c90bc70a36.bundle.js +0 -1
- package/dist/46.7682ca54e79000d992ab.bundle.js +0 -1
- package/dist/5.f15016e5e47214a9bc88.bundle.js +0 -1
- package/dist/51.9696bc200e07cfc15860.bundle.js +0 -1
- package/dist/54.07a064723a033340c51b.bundle.js +0 -1
- package/dist/55.1f556c49966d089af28e.bundle.js +0 -1
- package/dist/56.0bfd1ac12b2c5f9116e5.bundle.js +0 -1
- package/dist/57.19a0ece12b6fb894221d.bundle.js +0 -1
- package/dist/58.b741d32027a50f883617.bundle.js +0 -1
- package/dist/59.01fd6bb0dea0e31b8c98.bundle.js +0 -1
- package/dist/61.2fdefec6b0e4f2f01dc9.bundle.js +0 -1
- package/dist/63.dbce2c16115eac52fed2.bundle.js +0 -1
- package/dist/66.c8b9472b02654a17b61c.bundle.js +0 -1
- package/dist/67.958136cd17ad37887b60.bundle.js +0 -1
- package/dist/69.68337b9a2e3104600ff6.bundle.js +0 -1
- package/dist/7.e94c63e82c97c775b03a.bundle.js +0 -1
- package/dist/8.df1e59fdf8864051f4b0.bundle.js +0 -2
- package/dist/85.e34e2854ea217304bf69.bundle.js +0 -1
- package/dist/89.08dc723465581d17e18c.bundle.js +0 -1
- package/dist/9.3890e642c0ae619d2c59.bundle.js +0 -1
- package/dist/90.82bdd586c3a8e362fd99.bundle.js +0 -1
- package/dist/91.743cdf86c0680be894c9.bundle.js +0 -1
- package/dist/92.c68c7391efc7d3b46a0d.bundle.js +0 -1
- package/dist/93.daf27be7933412f1637f.bundle.js +0 -1
- package/dist/94.e7ab23159456b757afa9.bundle.js +0 -1
- package/dist/95.522b5e309c1f6989ec42.bundle.js +0 -1
- package/dist/96.a27f80abf5b300312056.bundle.js +0 -1
- package/dist/97.f221163ec5e99caa0668.bundle.js +0 -1
- package/dist/98.1f20ae086eeefbf60b9f.bundle.js +0 -1
- package/dist/99.c4df74a95a465a7bc7e6.bundle.js +0 -1
- package/dist/bundle.a4202dd96a18bfda3fd0.bundle.js +0 -89
- package/dist/js/angular/import/templates/commonInfo.html +0 -6
- package/dist/js/angular/import/templates/filesTable.html +0 -168
- package/dist/js/angular/import/templates/importInfo.html +0 -12
- package/dist/js/angular/import/templates/uploadInfo.html +0 -9
- package/dist/main.b830c2fc237abd684f41.css +0 -1
- package/dist/res/swagger/css/onto-theme.css +0 -8
- package/dist/res/swagger/images/collapse.gif +0 -0
- package/dist/res/swagger/images/expand.gif +0 -0
- package/dist/res/swagger/index.html +0 -137
- package/dist/res/swagger/lib/backbone-min.js +0 -15
- package/dist/res/swagger/lib/es5-shim.js +0 -2065
- package/dist/res/swagger/lib/handlebars.min-v4.7.3.js +0 -29
- package/dist/res/swagger/lib/highlight.9.1.0.pack.js +0 -2
- package/dist/res/swagger/lib/highlight.9.1.0.pack_extended.js +0 -34
- package/dist/res/swagger/lib/jquery-3.4.1.min.js +0 -2
- package/dist/res/swagger/lib/jquery-migrate-1.4.1.min.js +0 -2
- package/dist/res/swagger/lib/jquery.ba-bbq.min.js +0 -18
- package/dist/res/swagger/lib/jquery.slideto.min.js +0 -1
- package/dist/res/swagger/lib/jquery.wiggle.min.js +0 -8
- package/dist/res/swagger/lib/js-yaml.min.js +0 -3
- package/dist/res/swagger/lib/jsoneditor.min.js +0 -11
- package/dist/res/swagger/lib/lodash.min.js +0 -102
- package/dist/res/swagger/lib/marked.js +0 -1272
- package/dist/res/swagger/lib/object-assign-pollyfill.js +0 -23
- package/dist/res/swagger/lib/sanitize-html.min.js +0 -6
- package/dist/res/swagger/lib/swagger-oauth.js +0 -347
- package/dist/res/swagger/o2c.html +0 -20
- package/dist/res/swagger/swagger-ui.js +0 -35337
- package/dist/res/swagger/swagger-ui.min.js +0 -14
- package/dist/vendor.169ed6d7d226ea8551b7.css +0 -20
- /package/dist/res/{swagger → swagger5}/css/print.css +0 -0
- /package/dist/res/{swagger → swagger5}/css/reset.css +0 -0
- /package/dist/res/{swagger → swagger5}/css/screen.css +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/DroidSans-Bold.ttf +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/DroidSans.ttf +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/fontawesome-webfont.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/icons.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-600.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-600.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-600italic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-600italic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-italic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-italic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-regular.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/jetbrains-mono-v12-vietnamese_latin-ext_latin_greek_cyrillic-ext_cyrillic-regular.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300italic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300italic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500italic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500italic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/roboto-v30-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-italic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-italic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-light.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-light.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-lightitalic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-lightitalic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-medium.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-medium.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-mediumitalic.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-mediumitalic.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-regular.woff +0 -0
- /package/dist/res/{swagger → swagger5}/fonts/rubik-regular.woff2 +0 -0
- /package/dist/res/{swagger → swagger5}/images/explorer_icons.png +0 -0
- /package/dist/res/{swagger → swagger5}/images/throbber.gif +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[75,160],{74:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},89:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(74);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[76,164],{102:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return r}));var i=s(66);class r{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new r,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),_.cloneDeep(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===i.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},66:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[77,164],{190:function(t,e,r){"use strict";r.r(e);var o=r(66);angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",s),s.$inject=["$http","Upload","$translate"];function s(t,e,r){return{createUploadPayload:function(t,r){let o;o=t.file?{file:t.file,importSettings:e.jsonBlob(r)}:{importSettings:e.jsonBlob(r)};return o},uploadUserDataFile:function(t,r,o){return e.upload({url:`rest/repositories/${t}/import/upload/file`,data:o}).progress(t=>s(t,r))},updateUserDataFile:function(t,r,o){return e.upload({url:`rest/repositories/${t}/import/upload/update/file`,data:o}).progress(t=>s(t,r))}};function s(t,e){if(e.file?(e.file=null,e.status=o.ImportResourceStatus.UPLOADING):e.status!==o.ImportResourceStatus.UPLOADING&&(e.status=o.ImportResourceStatus.PENDING),e.status===o.ImportResourceStatus.UPLOADING){const o=parseInt(100*t.loaded/t.total);e.message=r.instant("import.file.upload.progress",{progress:o})}}}},66:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return o}));const o={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[78,176],{131:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(83);class s{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(r){return r===t.JdbcDriverType.GENERIC}static isSnowflakeDriver(r){return r===t.JdbcDriverType.SNOWFLAKE}}},83:function(r,e,i){"use strict";i.r(e),i.d(e,"JdbcDriverType",(function(){return t}));const t={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[79,220],{136:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(84);class c{constructor(){this.type=t.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return t.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return t.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return t.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return t.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return t.SimilaritySearchType.isSearchDocumentType(this.type)}}},84:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearchType",(function(){return t}));const t={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>t.SEARCH_TERM===e,isSearchAnalogicalType:e=>t.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>t.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>t.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>t.SEARCH_DOCUMENT===e}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,30,36,45,73,74,77,144,146,147,148,153,161,162,164,165,167,252,269,271,272,275],{101:function(t,e,r){"use strict";r.r(e),r.d(e,"FileUtils",(function(){return i}));class i{static convertBytesToMegabytes(t){return Math.floor(t/1048576)}static getFilenameAndExtension(t){const e=t.lastIndexOf(".");return{filename:t.substring(0,e),extension:t.substring(e+1)}}}},123:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return n}));var i=r(66),s=r(98),o=r(75);class n{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:i.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new s.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},124:function(t,e,r){"use strict";r.r(e),r.d(e,"md5HashGenerator",(function(){return s}));var i=r(6);const s=()=>{const t=new i.KJUR.crypto.MessageDigest({alg:"md5",prov:"cryptojs"});return e=>t.digestString(e)}},125:function(t,e,r){"use strict";r.r(e),r.d(e,"SortingType",(function(){return i}));const i={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},189:function(t,e){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",i),i.$inject=["$http"];const r="rest/repositories";function i(t){return{getDefaultSettings:function(e){return t.get(`${r}/${e}/import/settings/default`)},getUploadedFiles:function(e){return t.get(`${r}/${e}/import/upload`)},getServerFiles:function(e){return t.get(`${r}/${e}/import/server`)},importServerFiles:function(e,i){return t.post(`${r}/${e}/import/server`,i)},importTextSnippet:function(e,i){return t.post(`${r}/${e}/import/upload/text`,i)},updateTextSnippet:function(e,i){return t.post(`${r}/${e}/import/upload/update/text`,i)},importFromUrl:function(e,i){return t.post(`${r}/${e}/import/upload/url`,i)},updateFromUrl:function(e,i){return t.post(`${r}/${e}/import/upload/update/url`,i)},stopImport:function(e,i){return t.delete(`${r}/${e}/import/upload`,{params:i})},resetServerFileStatus:function(e,i,s=!0){return t({method:"DELETE",url:`${r}/${e}/import/server/status`,params:{remove:s},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(e,i,s=!0){return t({method:"DELETE",url:`${r}/${e}/import/upload/status`,params:{remove:s},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},190:function(t,e,r){"use strict";r.r(e);var i=r(66);angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",s),s.$inject=["$http","Upload","$translate"];function s(t,e,r){return{createUploadPayload:function(t,r){let i;i=t.file?{file:t.file,importSettings:e.jsonBlob(r)}:{importSettings:e.jsonBlob(r)};return i},uploadUserDataFile:function(t,r,i){return e.upload({url:`rest/repositories/${t}/import/upload/file`,data:i}).progress(t=>s(t,r))},updateUserDataFile:function(t,r,i){return e.upload({url:`rest/repositories/${t}/import/upload/update/file`,data:i}).progress(t=>s(t,r))}};function s(t,e){if(e.file?(e.file=null,e.status=i.ImportResourceStatus.UPLOADING):e.status!==i.ImportResourceStatus.UPLOADING&&(e.status=i.ImportResourceStatus.PENDING),e.status===i.ImportResourceStatus.UPLOADING){const i=parseInt(100*t.loaded/t.total);e.message=r.instant("import.file.upload.progress",{progress:i})}}}},191:function(t,e,r){"use strict";r.r(e);var i=r(82);function s(t,e,r){let s;t.isHelpVisible=!1,t.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(s.isPristine(t.activeTabId)){let e=r.getResources();t.isHelpVisible=!e||0===e.length}else t.isHelpVisible=s.isHelpVisible(t.activeTabId)};t.openTab=t=>{r.updateActiveTabId(t)},t.toggleHelp=()=>{s.setIsHelpVisible(t.activeTabId,!t.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{t.activeTabId=r,e.hash(t.activeTabId),n()})),a.push(r.onResourcesUpdated(n));t.$on("$destroy",()=>a.forEach(t=>t())),(()=>{s=new o;const r=e.hash()||i.TABS.USER;t.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",s),s.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[i.TABS.USER]:{isHelpVisible:void 0},[i.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(t){return void 0===this._helpVisibility[t].isHelpVisible}setIsHelpVisible(t,e){this._helpVisibility[t].isHelpVisible=e}isHelpVisible(t){return this._helpVisibility[t]&&this._helpVisibility[t].isHelpVisible}}},192:function(t,e){function r(t,e,r,i,s,o,n,a,l){t.settings=s,t.hasParserSettings=o,t.isMultiple=a,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length),t.showAdvancedSettings=!1,t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(p(),e.close(t.settings))},t.cancel=function(){p(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(n),t.target="data"},t.addReplaceGraph=function(e){let s=!0;"default"!==e&&(s=i.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",s),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):r.warning(l.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,r){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(r))},t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings};const p=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data"}angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",r),r.$inject=["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","$translate"]},193:function(t,e){function r(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},194:function(t,e){function r(t,e,r,i){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=r,t.importFormat=t.importFormats.find(t=>t.type===i),t.startImport=!0,t.sizeLimit=1e5,t.setFormat=e=>{t.importFormat=e},t.cancel=()=>{e.dismiss()},t.ok=()=>{e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},195:function(t,e,r){"use strict";r.r(e);var i=r(0);function s(t,e,r,s,o){t.message=s.trustAsHtml(Object(i.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:o}))),t.cancel=()=>{e.dismiss()},t.keepBoth=()=>{e.close({overwrite:!1})},t.overwrite=()=>{e.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",s),s.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},196:function(t,e,r){"use strict";r.r(e),r.d(e,"FILE_FORMATS",(function(){return i})),r.d(e,"FileFormats",(function(){return s}));const i=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class s{static getGZS(){return i.map(t=>`.${t}.gz`)}static getBasics(){return i.map(t=>"."+t)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(t=>".brf"!==t).join(" ")}}},197:function(t,e,r){"use strict";r.r(e),r.d(e,"DateUtils",(function(){return i}));class i{static formatCurrentDateTime(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")}}},198:function(t,e,r){"use strict";r.r(e),r.d(e,"toImportResource",(function(){return o}));var i=r(123),s=r(124);const o=t=>{const e=Object(s.md5HashGenerator)();return t.map(t=>new i.ImportResource(t,e))}},199:function(t,e,r){"use strict";r.r(e),r.d(e,"FilePrefixRegistry",(function(){return s}));var i=r(101);class s{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(t){t.filter(t=>"file"===t.type).forEach(t=>{const e=i.FileUtils.getFilenameAndExtension(t.name).filename,r=e.lastIndexOf("-");let s=r<0?0:e.substring(r+1),o=e.substring(0,r);if(r<0?(s=0,o=e):(s=e.substring(r+1),o=e.substring(0,r)),s){s=parseInt(s);const t=this.filesPrefixRegistry[o]||0;this.filesPrefixRegistry[o]=t<s?s:t}else this.filesPrefixRegistry[o]=0})}prefixDuplicates(t){return t.map(t=>{const{filename:e,extension:r}=i.FileUtils.getFilenameAndExtension(t.name),s=`${e}-${this.getIndexForFile(e)}.${r}`;return new File([t],s,{type:t.type,lastModified:t.lastModified})})}getIndexForFile(t){let e=this.filesPrefixRegistry[t];return void 0!==e?e++:e=0,this.filesPrefixRegistry[t]=e,e}}},242:function(t,e,r){"use strict";r.r(e);r(7),r(29),r(189),r(190);var i=r(82),s=(r(191),r(192),r(193),r(194),r(195),r(196)),o=r(71),n=r(101),a=r(197),l=r(198),p=r(0),c=r(199),u=r(125),d=r(66);const m=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),f="file",g="text",h="url";m.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(t,e,r,a,c,d,m,f,g,h,S,I,v,F){const y=[];let R=null;let b=void 0;t.files=[],t.fileChecked={},t.activeTabId=F.getActiveTabId(),t.selectedForImportFiles={},t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileFormatsExtended=s.FileFormats.getFileFormatsExtended(),t.fileFormatsHuman=s.FileFormats.getFileFormatsHuman()+g.instant("import.gz.zip"),t.textFileFormatsHuman=s.FileFormats.getTextFileFormatsHuman(),t.maxUploadFileSizeMB=0,t.SORTING_TYPES=u.SortingType,t.TAB_IDS=i.TABS,t.toTitleCase=t=>o.toTitleCase(t),t.setSettingsFor=(e,r,i,s=(()=>{}))=>{E(e,r).then(r=>{t.settingsFor=e,t.settings=r,""===e||"application/ld+json"===i||"application/x-ld+ndjson"===i||e.endsWith("jsonld")||e.endsWith("zip")||e.endsWith("gz")||"directory"===t.settings.type?t.settings.hasContextLink=!0:t.settings.hasContextLink=!1;const o=_.cloneDeep(t.settings),n={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",resolve:{settings:function(){return _.cloneDeep(t.settings)},hasParserSettings:t.isLocalLocation,defaultSettings:function(){return o},isMultiple:function(){return!e}},size:"lg"};S.isActive()&&(n.backdrop="static",n.keyboard=!1),c.open(n).result.then(e=>{t.settings=e,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)},e=>{t.settings=e,s&&s()})})},t.updateImport=(e,r,i)=>{E(e,r).then(r=>{t.settingsFor=e,t.settings=r,t.importFile(e,i)})},t.getSelectedFiles=()=>F.getSelectedFilesNames(),t.importSelected=e=>{const r=new Set([...Object.keys(t.selectedForImportFiles),...t.getSelectedFiles()]),i=Array.from(r),s=()=>{const r=i.shift();r&&E(r).then(i=>{e&&(t.settings=i),t.importFile(r,!0,s)})};s()},t.isLocalLocation=()=>{const t=a.getActiveLocation();return t&&t.local},t.updateList=e=>{t.canWriteActiveRepo()&&t.updateListHttp(e)},t.onRepositoryChange=()=>{t.setRestricted(),t.isRestricted||(t.updateList(!0),T())};t.onImport=e=>{t.setSettingsFor(e.importResource.name,!1,e.importResource.format)},t.onStopImport=r=>{const i=r.importResource;v.stopImport(a.getActiveRepository(),{name:i.name,type:i.type}).success((function(){t.updateList()})).error((function(t){e.warning(g.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.onRemove=t=>{const e=t.map(t=>t.name);x(e)},t.onReset=t=>{$(t,!1)},t.importAll=(e,r)=>{if(e.forEach(e=>{t.selectedForImportFiles[e.path]=!0}),r)t.importSelected(e,r);else{let i="";1===e.length&&(i=e[0].importResource.name),t.setSettingsFor(i,r,void 0)}},t.onEditResource=e=>{e.importResource.isText()&&t.openTextSnippetDialog(e.importResource)};const T=()=>(b=void 0,t.canWriteActiveRepo()?v.getDefaultSettings(a.getActiveRepository()).success((function(t){return b=t,b})).error((function(t){e.warning(g.instant("import.error.default.settings",{data:getError(t)}))})):Promise.resolve(b)),x=(t=[])=>{const e="<br/>"+t.join("<br/>"),r=Object(p.decodeHTML)(g.instant("import.remove.confirm.msg",{name:e}));I.openConfirmation(g.instant("common.confirm"),r,()=>{$(t,!0)})},E=(e,r)=>r||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?(b?Promise.resolve(angular.copy(b)):T().then(()=>angular.copy(b))).then(t=>t):Promise.resolve(t.savedSettings[e]);t.updateListHttp=r=>{const s=t.activeTabId===i.TABS.USER?v.getUploadedFiles:v.getServerFiles,o=t.activeTabId;return s(a.getActiveRepository()).success((function(e){o===F.getActiveTabId()&&((i.TABS.SERVER===t.activeTabId||i.TABS.USER===t.activeTabId)&&F.updateResources(Object(l.toImportResource)(e)),0===t.files.length||r?(t.files=e,F.updateFiles(t.files),t.files.forEach((function(e){e.type||(e.type=t.defaultType)}))):t.files.forEach((function(r){const i=_.find(e,_.matches({name:r.name}));r.status&&i&&_.assign(r,i),r.type||(r.type=t.defaultType)})),r&&i.TABS.USER===t.activeTabId&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status})),F.updateFiles(t.files)),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"))})).error((function(t){e.warning(g.instant("import.error.could.not.get.files",{data:getError(t)}))}))};const $=(r,s)=>{if(!r||r.length<1)return;(t.activeTabId===i.TABS.USER?v.resetUserDataStatus:v.resetServerFileStatus)(a.getActiveRepository(),r,s).success((function(){t.updateList(!0)})).error((function(t){e.warning(g.instant("import.error.could.not.clear",{data:getError(t)}))}))},U=()=>{y.forEach(t=>t())},w=e=>{t.activeTabId=e,F.updateResources([]),F.updateShowLoader(!0),t.updateListHttp(!0).finally(()=>F.updateShowLoader(!1))};t.importViewControllerInit=()=>{y.push(t.$on("repositoryIsSet",t.onRepositoryChange)),y.push(t.$on("$destroy",()=>r.cancel(R))),y.push(F.onActiveTabIdUpdated(t=>w(t))),t.$on("$destroy",U),h.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let r=0;r<e.length;r++)t.appData.properties[e[r].key]={source:e[r].source,value:e[r].value};t.maxUploadFileSizeMB=n.FileUtils.convertBytesToMegabytes(t.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(t){const r=getError(t);e.error(r,g.instant("common.error"))})),T(),R=r(()=>{t.updating||t.updateList(!1)},4e3),w(F.getActiveTabId())}}]),m.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(t,e,r,s,o,n,a){t.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType="server",t.tabId="#import-server",t.importSelected=e=>{const r=Object.keys(t.selectedForImportFiles);l(r,e)},t.importFile=function(t){l([t])};const l=function(r,i){t.canWriteActiveRepo()&&n.importServerFiles(o.getActiveRepository(),{importSettings:i?null:t.settings,fileNames:r}).success((function(){t.updateList(),t.fileChecked={}})).error((function(t){e.error(s.instant("import.could.not.send.file",{data:getError(t)}))}))};i.TABS.SERVER===a.getActiveTabId()&&t.importViewControllerInit()}]),m.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(t,e,r,s,o,l,p,u,m,S,I){const v=new c.FilePrefixRegistry,F=[];t.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType=f,t.tabId="#import-user",t.currentFiles=[];let y=!1;t.pastedDataIdx=1,t.fileSelected=function(e,r,i,s,o){const n={files:i,cancel:!1};I.emit("filesForUploadSelected",n,e=>{if(!e.cancel){R(o);const e=i||[];$(e);const r=[],s=[];e.forEach(e=>{t.files.some(t=>t.name===e.name)?r.push(e):s.push(e)}),r.length>0?U(r,s):(t.currentFiles=[...e],y=!0)}})},t.importFile=(r,i,s)=>{const n=t.files.find(t=>t.name===r);n?n.type===g?b(n,i,s):n.type===h?x(n,i,s):E(n,i,s):e.warning(o.instant("import.no.such.file",{name:r}))},t.openTextSnippetDialog=e=>{e&&e.data;s.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then(r=>{e?(e.data===r.text&&e.format===r.format||e.status===d.ImportResourceStatus.NONE||(e.status=d.ImportResourceStatus.NONE,e.message=o.instant("import.text.snippet.not.imported")),e.data=r.text,e.format=r.format,T(e)):(e={type:"text",name:"Text snippet "+a.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},t.files.unshift(e),t.updateImport(e.name,!1,!1)),r.startImport&&t.setSettingsFor(e.name,!1,e.format)})},t.rdfDataFromURL=()=>{s.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:t}).result.then((function(e){const r=_.find(t.files,{type:"url",name:e.url});r?r.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0,!1),e.startImport&&t.setSettingsFor(e.url,!0,e.format)}))};const R=t=>{t.length>0&&t.forEach((function(t){e.warning(o.instant("import.large.file",{name:t.name,size:n.FileUtils.convertBytesToMegabytes(t.size)}))}))},b=(r,i,s)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(i?p.importTextSnippet:p.updateTextSnippet)(l.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(o.instant("import.could.not.send.data",{data:getError(t)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(t)})).finally(s||function(){})},T=r=>{t.updating=!0,p.updateTextSnippet(l.getActiveRepository(),r).success((function(t){})).error((function(t){e.error(o.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},x=(r,i,s)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(i?p.importFromUrl:p.updateFromUrl)(l.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(o.instant("import.could.not.send.url",{data:getError(t)}))})).finally(s||function(){})},E=(r,i,s)=>{t.settings.name=r.name;const n=u.createUploadPayload(r,t.settings);(i?u.uploadUserDataFile:u.updateUserDataFile)(l.getActiveRepository(),r,n).then(()=>{t.updateList()}).catch(t=>{e.error(o.instant("import.could.not.upload.file",{data:getError(t)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(t)}).finally(s||function(){})},$=t=>{t.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const i=t.indexOf(r);i>-1&&t.splice(i,1),e.error(o.instant("import.could.not.upload",{name:r.name}))}}))},U=(e,r)=>{const i=e.map(t=>t.name).join("<br/>");s.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>i}}).result.then(i=>{if(i.overwrite)t.currentFiles.length?t.currentFiles=[...e,...r]:t.currentFiles.push(...e,...r),y=!0;else{const i=v.prefixDuplicates(e);t.currentFiles=[...t.currentFiles,...i,...r],y=!0}})},w=()=>{Object.keys(t.fileChecked).forEach(e=>{t.fileChecked[e]=!1}),t.selectedForImportFiles={}};F.push(t.$watchCollection("currentFiles",()=>{if(t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),y&&t.currentFiles.length>0){w(),t.currentFiles.forEach(e=>{t.fileChecked[e.name]=!0,t.selectedForImportFiles[e.name]=!0});let e="";1===t.currentFiles.length&&(e=t.currentFiles[0].name),t.setSettingsFor(e,!1,void 0,()=>{t.currentFiles.forEach(e=>{t.updateImport(e.name,!1,!1),t.selectedForImportFiles={}})})}})),t.$on("$destroy",()=>{F.forEach(t=>t())});i.TABS.USER===S.getActiveTabId()&&(t.importViewControllerInit(),F.push(S.onFilesUpdated(t=>{v.buildPrefixesRegistry(t)})))}])},66:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},71:function(t,e,r){"use strict";r.r(e),r.d(e,"removeSpecialChars",(function(){return s})),r.d(e,"toBoolean",(function(){return o})),r.d(e,"toTitleCase",(function(){return n}));var i=r(65);const s=t=>t.replace(/[()']/g,""),o=t=>"string"==typeof t?"true"===t:Boolean(t),n=t=>t?Object(i.upperFirst)(t.toLowerCase()):t},75:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return i}));const i={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},82:function(t,e,r){"use strict";r.r(e),r.d(e,"TABS",(function(){return s}));var i=r(65);const s={USER:"user",SERVER:"server"};function o(t){let e=s.USER,r=void 0,o=[],n=!0,a=[];return{updateActiveTabId:function(r){e=r,t.emit("activeTabIdUpdated",c())},getActiveTabId:c,onActiveTabIdUpdated:function(e){return t.subscribe("activeTabIdUpdated",()=>e(c()))},getFiles:u,addFile:function(e){o.push(e),t.emit("fileAdded",Object(i.cloneDeep)(e))},updateFiles:function(e){o=e,t.emit("filesUpdated",u())},onFilesUpdated:function(e){return t.subscribe("filesUpdated",()=>e(u()))},updateResources:function(e){r=e,t.emit("resourcesUpdated",d())},getResources:d,onResourcesUpdated:function(e){return t.subscribe("resourcesUpdated",()=>e(d()))},updateShowLoader:function(e){n=e,t.emit("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(e){return t.subscribe("showLoaderUpdated",()=>e(p()))},updateSelectedFilesNames:function(e){a=e,t.emit("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(e){return t.subscribe("selectedFilesNamesUpdated",()=>e(p()))}};function l(){return a}function p(){return n}function c(){return e}function u(){return Object(i.cloneDeep)(o)}function d(){return Object(i.cloneDeep)(r)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",o),o.$inject=["EventEmitterService"]},98:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportParsingSettings",(function(){return i}));class i{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}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[80,227],{108:function(e,a,n){"use strict";n.r(a),n.d(a,"buildQueryModel",(function(){return t})),n.d(a,"savedQueriesResponseMapper",(function(){return u})),n.d(a,"savedQueryResponseMapper",(function(){return d})),n.d(a,"queryPayloadFromEvent",(function(){return o}));var r=n(93);const t=(e,a,n,t)=>new r.TabQueryModel(a,e,n,t),u=e=>e&&e.data?e.data.map?e.data.map(e=>t(e.body,e.name,e.owner,e.shared)):[t(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],d=e=>{const a=u(e);return a.length?a[0]:null},o=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})},93:function(e,a,n){"use strict";n.r(a),n.d(a,"TabQueryModel",(function(){return r}));class r{constructor(e,a,n,r=!0){this.queryName=e,this.query=a,this.owner=n,this.isPublic=r}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[81,235],{227:function(n,e,i){"use strict";i.r(e);i(34);function t(n,e,i,t,r,o,s,l){let u;const a=function(){n.clear(),r.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()&&c()};n.clear=function(){n.searchPluginsTerm="",n.plugins=[],n.displayedPlugins=[]};const c=function(){g(),u=e((function(){g()}),5e3)},g=function(){s.getPlugins(n.getActiveRepository()).success((function(e){n.plugins=n.buildPluginsArray(e.results.bindings)})).error((function(n){i.error(getError(n))})).finally((function(){n.filterResults(),n.setLoader(!1)}))};n.buildPluginsArray=function(n){return n.map(n=>({name:n.s.value,enabled:"true"===n.o.value})).filter((function(n){return"plugincontrol"!==n.name&&"literals-index"!==n.name})).sort((function(n,e){const i=n.name.toLowerCase(),t=e.name.toLowerCase();return i<t?-1:i>t?1:0}))},n.filterResults=function(){const e=n.plugins.filter(e=>-1!==e.name.indexOf(n.searchPluginsTerm));f(e)&&n.updateDisplayedPlugins(e)};const f=function(e){if(!n.displayedPlugins||n.displayedPlugins.length!==e.length)return!0;for(const i in e)if(!n.displayedPlugins.find(n=>angular.equals(n,e[i])))return!0;return!1};function d(){u&&e.cancel(u)}n.updateDisplayedPlugins=function(e){n.displayedPlugins=e,setTimeout((function(){n.applyRowStyles()}),0)},n.setLoader=function(e,i){o.cancel(n.loaderTimeout),e?n.loaderTimeout=o((function(){n.loader=e,n.loaderMessage=i}),300):n.loader=!1},n.$on("repositoryIsSet",(function(){d(),a()})),n.$on("$destroy",(function(){d(),$(window).off("resize.plugin")})),$(window).on("resize.plugin",(function(){n.applyRowStyles()})),n.applyRowStyles=function(){const e=$("#wb-plugins-pluginInPlugins").width(),i=$("tr").width(),t=Math.floor(e/i);$(".wb-plugins-row").toArray().forEach((e,i)=>{n.isGreyBackground(t,i)?$(e).addClass("grey-row"):$(e).removeClass("grey-row")})},n.isGreyBackground=function(n,e){const i=(Math.floor(e/n)+1)%2!=1,t=e%2!=0;if(n%2!=0){if(i&&!t||!i&&!t)return!0;if(i&&t||!i&&t)return!1}else{if(i&&!t||!i&&t)return!1;if(i&&t||!i&&!t)return!0}},n.togglePlugin=function(e,t){const r=n.getActiveRepository(),o=t?l.instant("deactivating.plugin",{pluginName:e}):l.instant("activating.plugin",{pluginName:e});n.setLoader(!0,o),s.togglePlugin(r,t,e).error((function(n){i.error(getError(n))})).finally((function(){g(),n.setLoader(!1)}))},n.getLoaderMessage=function(){return n.loaderMessage||l.instant("common.loading")},n.onSearchTermChanged=function(){n.filterResults()},a()}angular.module("graphdb.framework.plugins.controllers",["graphdb.framework.rest.plugins.service"]).controller("PluginsCtrl",t),t.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$timeout","PluginsRestService","$translate"]},311:function(n,e,i){"use strict";i.r(e);i(227);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[82,237],{228:function(e,t,o){"use strict";o.r(t);o(7),o(28);const n=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);n.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate","AuthTokenService",function(e,t,o,n,r,i,s,u,a,c){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;const l=document.createElement("a");e.parseNode=function(e){if(null==e)return null;let t="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){l.href=e;let o=l.hostname;(function(e){const t=e.split(".");for(let e=0,o=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?o++:o=0,4===o)return!0;return!1})(l.hostname)||(o=l.hostname.split(".")[0]),t=o+":"+l.port}const o=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[o[2],t,o[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!r.getActiveRepository()||(e.getQueriesRunning=!0,u.monitorQuery(r.getActiveRepository()).success((function(t){const o=t;e.noQueries=0===o.length,e.queries={};for(let t=0;t<o.length;t++)o[t].parsedNode=e.parseNode(o[t].node),e.queries[o[t].trackId]=o[t];e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(t){e.error=getError(t),e.loader=!1,e.getQueriesRunning=!1})))};const d=n((function(){r.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){n.cancel(d)})),e.deleteQueryHttp=function(t){e.loader=!0,u.deleteQuery(t,r.getActiveRepository()).success((function(){o.success(a.instant("abort.request.sent.msg")),e.loader=!1})).error((function(t){const n=getError(t);o.error(n,a.instant("common.error")),e.loader=!1}))},e.abortQuery=function(t){s.openSimpleModal({title:a.instant("confirm.abort"),message:a.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.downloadQuery=function(e){const t="query_"+e+".rq";let o="/rest/monitor/repository/"+r.getActiveRepository()+"/query/download?query="+encodeURIComponent(e)+"&filename="+encodeURIComponent(t);i.isAuthenticated()&&(o=o+"&authToken="+encodeURIComponent(c.getAuthToken())),window.open(o,"_blank")},e.toggleQueryExpanded=function(t){e.expanded[t]=!e.expanded[t]}}]),n.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")}}])},313:function(e,t,o){"use strict";o.r(t);o(7),o(25),o(228);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[83,244],{233:function(e,r,t){"use strict";t.r(r);var n=t(445);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let o;const s=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),o.setOption(r.chart.chartOptions)});function a(){o.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),o.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){o.resize()}r.$watch("chart",(function(){o=n.a(t[0],null,{renderer:"svg"}),o.setOption(r.chart.chartOptions),o.showLoading(),o.on("legendselectchanged",c),r.chart.registerRefreshHandler(a),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){o.on("legendselectchanged"),o.dispose(),r.chart.unregisterRefreshHandler(a),s(),window.removeEventListener("resize",i)}))}}}])},319:function(e,r,t){"use strict";t.r(r);t(7),t(25),t(140),t(26),t(445),t(233);angular.module("graphdb.framework.jmx.resources",["toastr","ui.bootstrap","graphdb.framework.jmx.resources.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.resources.directives"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[84,243],{212:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(63);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:s,data:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;this.latestData={nodesInSync:s.nodesInCluster,nodesOutOfSync:s.nodesOutOfSync,nodesDisconnected:s.nodesDisconnected,nodesSyncing:s.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},r.data.push({value:[e,s.nodesInSync]}),n.data.push({value:[e,s.nodesOutOfSync]}),l.data.push({value:[e,s.nodesDisconnected]}),i.data.push({value:[e,s.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[t,e,a,s]=this.dataHolder;t.name=this.translateService.instant("resources.cluster_health.in_sync"),e.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),s.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(t,e){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const t=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));var s=a(445);class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[r.cssVar("--secondary-color"),r.cssVar("--primary-color"),r.cssVar("--tertiary-color"),r.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,s){this.filter=s,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((s,r)=>{if(Array.isArray(s.value)&&!s.value.length)return;const i=Array.isArray(s.value)?s.value.join("/"):s.value;a+=`{a|${s.label}}`,void 0!==i&&(a+=`{b|${i}}`),r+1<t.length&&(a+=e>0&&(r+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,s){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=r.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:r.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:r.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return s.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:r.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:r.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:r.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>r.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let s;s=Array.isArray(t)?r.getMaxValueFromDataHolder(t,a):r.getMaxValueForDataSeries(t);const i=Math.ceil(s*(e||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[s,i]=r.calculateMaxChartValueAndDivisions(t,e,a);return[s,i]}static formatBytesValue(t,e,a){let s=t;e&&(s=r.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(s)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,243],{211:function(t,e,a){"use strict";a.r(e),a.d(e,"ConnectionsChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.connections.active"),e.name=this.translateService.instant("resource.connections.open")}addNewData(t,e,a){const[r,s]=t,{activeTransactions:i,openConnections:n}=a.performanceData;r.data.push({value:[e,i]}),s.data.push({value:[e,n]})}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[86,243],{213:function(t,e,a){"use strict";a.r(e),a.d(e,"EpoolChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.epool.reads"),e.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(t,e,a,r){const s=a.performanceData,[i,o]=t;let n=0,l=0;const h=s.entityPool.epoolReads,c=s.entityPool.epoolWrites;r||(n=h-this.lastestData.reads,l=c-this.lastestData.writes),this.lastestData={reads:h,writes:c},i.data.push({value:[e,n]}),o.data.push({value:[e,l]})}updateRange(t){t.forEach((t,e)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis[e].max=a,this.chartOptions.yAxis[e].minInterval=s})}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[87,243],{209:function(t,e,a){"use strict";a.r(e),a.d(e,"QueriesChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(t,e,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},t[0].data.push({value:[e,r.length]}),this.configureSubtitle()}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const t=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[88,243],{207:function(t,e,a){"use strict";a.r(e),a.d(e,"CpuLoadChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>t+"%"},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return t+"%"}}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(t,e,a){t[0].data.push({value:[e,this.formatValue(a.cpuLoad)]})}formatValue(t){return+parseFloat(t).toFixed(4)}updateRange(t){}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,243],{208:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){const e={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(t){return(100*t).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(t){return(100*t).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(t,e)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:t}){return(100*t).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.storage.used"),e.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(t,e,a,r){const s=a.storageMemory,[i,o]=t;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const l=s.dataDirUsed+s.dataDirFree,n=s.workDirUsed+s.workDirFree,h=s.logsDirUsed+s.logsDirFree,c=s.dataDirUsed/l,d=s.workDirUsed/n,u=s.logsDirUsed/h,g=s.dataDirFree/l,f=s.workDirFree/n,m=s.logsDirFree/h;i.data.push(u,d,c),o.data.push(m,f,g)}configureSubtitle(){const t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9,49,63,64,65,103,104,105,106,108,109,247],{148:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},149:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},150:function(e,t,o){"use strict";o.r(t);o(69);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},151:function(e,t,o){"use strict";o.r(t);o(69);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},152:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},153:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},154:function(e,t,o){"use strict";o.r(t);o(78);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},155:function(e,t,o){"use strict";o.r(t);o(69),o(78);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},240:function(e,t,o){"use strict";o.r(t);o(69),o(78),o(148),o(149),o(150),o(151),o(152),o(153),o(154),o(155);var n=o(65),r=o(73),s=o(79);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},69:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},78:function(e,t,o){"use strict";o.r(t);o(33);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},79:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[90,243],{205:function(t,e,a){"use strict";a.r(e),a.d(e,"FileDescriptorsChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},min:0},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(t,e,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&t[0].data.push({value:[e,a.openFileDescriptors]})}configureSubtitle(){let t;t=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(t)}updateRange(t){super.updateRange(t,2)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[91,243],{210:function(t,e,a){"use strict";a.r(e),a.d(e,"GlobalCacheChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},minInterval:1},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resources.global_cache.hits"),e.name=this.translateService.instant("resources.global_cache.miss")}addNewData(t,e,a){const[r,s]=t;r.data.push({value:[e,a.cacheHit]}),s.data.push({value:[e,a.cacheMiss]})}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[92,243],{103:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(445);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[93,260],{139:function(e,t,n){"use strict";n.r(t);n(7),n(27);function r(e,t,n,r,i){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,r.getStatistics().then((function(t){e.settings.statistics="true"===t.data,e.supportsStatistics=!0}),(function(n){if(404===n.status)e.supportsStatistics=!1;else{const e=getError(n.data);t.error(e,i.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,r.toggleStatistics(e.settings.statistics).then((function(){n.close(),t.success(i.instant("saving.settings.success"))}),(function(e){const n=getError(e.data);t.error(n,i.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){n.dismiss("cancel")}}function i(e,t,n,r,i,s,o){e.loadingLicense=function(){return n.loadingLicense},n.checkLicenseStatus(),e.revertToFree=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("revert.to.free.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus()}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;const a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){"Invalid"!==n.licensee?(a.val(e),function(e,n){r.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=a.val());if(e){const n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(){i.error(c.instant("license.register.error"))}))}else i.error(c.instant("no.license.code.error"))}(n)}))}(n,e)):(a.val(""),i.error(n.message))})).error((function(){i.error(c.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){const n=e.currentFile;t.extractFromLicenseFile(n).success((function(e){l(e)})).error((function(){i.error(c.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){s.history.back()}}function o(e,t,n){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")},e.license=n}function c(e){e.loader=!0,e.setLoader=function(t){e.loader=t}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",r).controller("ValidateLicenseModalCtrl",o).controller("LicenseCtrl",i).controller("RegisterLicenseCtrl",s).controller("LoaderSamplesCtrl",c),r.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],i.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},232:function(e,t,n){"use strict";n.r(t);n(7),n(25),n(16),n(139),n(37),n(38),n(27),n(59),n(60);function r(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function i(e,t,n){e.$on("$locationChangeStart",(function(){n.isLicenseHardcoded&&"/license/register"===t.url()&&t.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(r).run(i),r.$inject=["$httpProvider","$routeProvider"],i.$inject=["$rootScope","$location","$licenseService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[94,274],{162:function(e,n,r){"use strict";r.r(n);var o=r(92);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(n,r){let a=`${e()}?${o.RouteConstants.savedQueryName}=${encodeURIComponent(n)}`;null!=r&&(a+=`&${o.RouteConstants.savedQueryOwner}=${encodeURIComponent(r)}`);return a},createShareQueryLink:function(n){return e()+"?"+$.param({name:n.name,query:n.body,infer:n.inference||!0,sameAs:n.sameAs||!0})}};function e(){return[location.protocol,"//",location.host,location.pathname].join("")}}))},92:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return o}));const o={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{144:function(e,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(e,n,r){function t(e,n){if(!e||"*"===e)return e;const r=e.startsWith("!"),t=r?"!CUSTOM_":"CUSTOM_";return n?t+e.replace(/^!/,""):r?"!"+e.replace(t,""):e.replace(t,"")}if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName)&&r.ngModel){const e=n.controller("ngModel");e.$formatters.push((function(e){return t(e,!1)})),e.$parsers.push((function(e){return t(e,!0)}))}}}}))}}]);
|