graphdb-workbench 2.6.3 → 2.7.0-TR10
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.b898c3406542a5e6be73.bundle.js +25 -0
- package/dist/1.83d7b41436d8fe6bf83d.bundle.js +1 -0
- package/dist/10.e5aadb1a68179c6973bb.bundle.js +1 -0
- package/dist/100.c32c7be9559e7e00bbef.bundle.js +1 -0
- package/dist/101.dfbe4209b085043fede5.bundle.js +1 -0
- package/dist/102.ec2f3a84e49ac9410146.bundle.js +1 -0
- package/dist/103.bdcd265e9cc76a3875bb.bundle.js +1 -0
- package/dist/104.f35e0345f8b1d4917857.bundle.js +1 -0
- package/dist/105.e55293f0a32d5902b091.bundle.js +1 -0
- package/dist/106.491b8125d8860c082182.bundle.js +1 -0
- package/dist/107.c8c377c72d1345df31d6.bundle.js +1 -0
- package/dist/108.f06cee70190ce7ff2983.bundle.js +1 -0
- package/dist/109.1ee25fbf9354c94ed95f.bundle.js +1 -0
- package/dist/11.775443f8264f53f3ec48.bundle.js +2 -0
- package/dist/110.89e39ac19c8912335436.bundle.js +1 -0
- package/dist/{100.534f37dd58edf9a6d699.bundle.js → 111.c176447e735eda5c3b01.bundle.js} +1 -1
- package/dist/112.b193332bfbc9f069bed3.bundle.js +1 -0
- package/dist/{102.a57d02f54d23e39ab220.bundle.js → 113.d42a59074d4e8dbf60b1.bundle.js} +1 -1
- package/dist/{103.6edf5a9611097aac7b0e.bundle.js → 114.3ef742068d2e08c4ade2.bundle.js} +1 -1
- package/dist/{104.30887712ab9f944ce3b5.bundle.js → 115.b2a09c0e848ede735dfa.bundle.js} +1 -1
- package/dist/{105.8e0d511b2790a2c7a1f5.bundle.js → 116.8f57ddc9552646608906.bundle.js} +1 -1
- package/dist/{106.dfa270c46faceb444b3a.bundle.js → 117.58d3bbc8da10c5420b2e.bundle.js} +1 -1
- package/dist/{107.7e47259d1a1e92cc684a.bundle.js → 118.2ff6674a4142e83976a0.bundle.js} +1 -1
- package/dist/{108.9d2fca01799579fd246a.bundle.js → 119.2844810ce307cfc8a5e0.bundle.js} +1 -1
- package/dist/12.859332b3b23ff9f66076.bundle.js +1 -0
- package/dist/{109.41cc535019ec49b7a449.bundle.js → 120.3b448cdd9453243cd9d2.bundle.js} +1 -1
- package/dist/{110.087f1045498ced6386ac.bundle.js → 121.eb94f9e04c9ddac482f3.bundle.js} +1 -1
- package/dist/{111.d77e3e60f2db63fcd713.bundle.js → 122.125b271876522097693c.bundle.js} +1 -1
- package/dist/{112.6b5fac36fea6ec10ccf7.bundle.js → 123.fd565228d6d4b958e09d.bundle.js} +1 -1
- package/dist/{113.85c3c663f3681b21e49d.bundle.js → 124.3253d8edbd50afecd754.bundle.js} +1 -1
- package/dist/{114.635dc2e74009c95bf91e.bundle.js → 125.c09f44ff44420782dc98.bundle.js} +1 -1
- package/dist/{115.47fe6316b11ce761e8d3.bundle.js → 126.580a121883ffe972ab95.bundle.js} +1 -1
- package/dist/{116.511ed0fc7766ce1c5dbe.bundle.js → 127.4a93f1f67273f68eda71.bundle.js} +1 -1
- package/dist/{117.ff4f162729afc19137ca.bundle.js → 128.bc5045009267c7ff203d.bundle.js} +1 -1
- package/dist/{118.ce4cb2610bcae2cec5b4.bundle.js → 129.cf64d2c491f4b1668372.bundle.js} +1 -1
- package/dist/13.a68d691497d09f6ffada.bundle.js +1 -0
- package/dist/130.9925824a2ff17842cb12.bundle.js +1 -0
- package/dist/{120.3be53a400b5e5d0b8bbf.bundle.js → 131.485a052c493a473a79aa.bundle.js} +1 -1
- package/dist/{121.4493eca5616735378bb8.bundle.js → 132.d825b93c36d676fad595.bundle.js} +1 -1
- package/dist/133.b084e0988fe05643c9c5.bundle.js +1 -0
- package/dist/134.fd8ba21d1699ee443984.bundle.js +1 -0
- package/dist/135.c7a97d5237540532e2e5.bundle.js +1 -0
- package/dist/136.b244a1682ddd97d8defb.bundle.js +1 -0
- package/dist/137.6659fb9e87f2bf500005.bundle.js +1 -0
- package/dist/138.e65f09169d61464888b6.bundle.js +1 -0
- package/dist/139.a6a424ba45478a2893b7.bundle.js +1 -0
- package/dist/{13.6e2d206f55eeb2c58b2b.bundle.js → 14.668f62d8a3c47070c3cf.bundle.js} +1 -1
- package/dist/{129.c8071eddb4e6ac450d14.bundle.js → 140.dbb1d5403a85016f2279.bundle.js} +1 -1
- package/dist/{130.4ef543acc845d7dfcc8d.bundle.js → 141.d5277bcbe59ca6e4bc29.bundle.js} +1 -1
- package/dist/142.a56bd366d27b323dd3f1.bundle.js +1 -0
- package/dist/143.dd2b4deff681e106d2c9.bundle.js +1 -0
- package/dist/144.9ced4dbf2321bbc9ef5a.bundle.js +1 -0
- package/dist/145.e8622f5a0f0ce9b8140d.bundle.js +1 -0
- package/dist/146.82aaae7c0f15a190b692.bundle.js +1 -0
- package/dist/147.975837795deedd44f466.bundle.js +1 -0
- package/dist/148.d60ea045afd9dcb11254.bundle.js +1 -0
- package/dist/149.ce551c0a10ebc805fcd2.bundle.js +1 -0
- package/dist/{15.81ca8fb02469ee14c5e4.bundle.js → 15.fd3b7c29ed359f47ea62.bundle.js} +1 -1
- package/dist/150.21d1f1de6ebf9678cfb8.bundle.js +1 -0
- package/dist/{133.cb22542677a1fde54231.bundle.js → 151.af61812f79d737d09e14.bundle.js} +1 -1
- package/dist/152.b829d2aaed7adb6c31f1.bundle.js +1 -0
- package/dist/{134.16abd209e3e07d89821b.bundle.js → 153.442ff2f492c23512f12e.bundle.js} +1 -1
- package/dist/154.422e37c8deba8226ea0a.bundle.js +1 -0
- package/dist/155.284c59d13e8736f41ba9.bundle.js +1 -0
- package/dist/{135.e71755f6f0278b2943d0.bundle.js → 156.d6528cc8898657d680a5.bundle.js} +1 -1
- package/dist/{136.81439d8a1b2d7dfed6c7.bundle.js → 157.a742234dcb9a5195d454.bundle.js} +1 -1
- package/dist/158.4d8cfd79cc127535599a.bundle.js +1 -0
- package/dist/159.47f878c5481c4e032dff.bundle.js +1 -0
- package/dist/16.97479eecded3911a474e.bundle.js +3 -0
- package/dist/160.bb7c067aa42af523a9ca.bundle.js +1 -0
- package/dist/161.56bacecf2c75a68f3037.bundle.js +1 -0
- package/dist/162.bdd0753e62eba04b059b.bundle.js +1 -0
- package/dist/163.eec1f723d6fef3c4b702.bundle.js +1 -0
- package/dist/164.d963de6f52d33f8a14b9.bundle.js +1 -0
- package/dist/165.00e006e1c26b200db2d1.bundle.js +1 -0
- package/dist/166.5daada7be78f3313afcc.bundle.js +1 -0
- package/dist/{137.ae6fae38c2b6fd89a566.bundle.js → 167.6b1d7f0611d737ce4350.bundle.js} +1 -1
- package/dist/{138.8885afc315c221adb64b.bundle.js → 168.1267283db5fd0ac8a686.bundle.js} +1 -1
- package/dist/{139.f02901e6087085176dc7.bundle.js → 169.ca46c7f813fecc8c329c.bundle.js} +1 -1
- package/dist/17.15fcf5de3110b1531b2e.bundle.js +3 -0
- package/dist/{140.f0e54b9511ca99865d9d.bundle.js → 170.400bcfed1be6b9d52073.bundle.js} +1 -1
- package/dist/{141.46aad99634d1bfe2b58a.bundle.js → 171.d0c1fe99c69aca082a53.bundle.js} +1 -1
- package/dist/{142.d2aaa85171c7449f2f85.bundle.js → 172.b73f5e91567e774f2a0d.bundle.js} +1 -1
- package/dist/{143.802e7b37a5e69e8637a2.bundle.js → 173.098a628c8d9ca36c9736.bundle.js} +1 -1
- package/dist/{144.5f21450a9ba89abcb82f.bundle.js → 174.d40be6b879b0a07ef417.bundle.js} +1 -1
- package/dist/{145.2ea88cbccd93fc9fa454.bundle.js → 175.f7b9595ccd600dcec3b2.bundle.js} +1 -1
- package/dist/{146.e7b99166958dc75f43e7.bundle.js → 176.502568937723fb45f2b2.bundle.js} +1 -1
- package/dist/{147.7abb3c6ae63a13eb61a5.bundle.js → 177.9c5174e234a68378041d.bundle.js} +1 -1
- package/dist/{148.b9aa2392ff5063d92341.bundle.js → 178.5f94399ed2474fb176f9.bundle.js} +1 -1
- package/dist/179.c710403537cc8ac04dc0.bundle.js +1 -0
- package/dist/18.450eb7c3e98d0f628ac9.bundle.js +2 -0
- package/dist/{150.c1303d8109786b40d21a.bundle.js → 180.4fa14c1d5036979d5263.bundle.js} +1 -1
- package/dist/181.1cef448de3c0f1136a20.bundle.js +1 -0
- package/dist/182.4fabc3cf739b9c4e3b2a.bundle.js +1 -0
- package/dist/183.9ee4e46cf1e1368e86ed.bundle.js +1 -0
- package/dist/184.f1ae34e8254a9683b4d8.bundle.js +1 -0
- package/dist/185.6ed725999b50da70e228.bundle.js +1 -0
- package/dist/186.4b4d5e35064b4067b208.bundle.js +1 -0
- package/dist/187.90162eddabd6aff17165.bundle.js +1 -0
- package/dist/{159.41a2a6b6b485989a9412.bundle.js → 188.81a820d72b99c6d2feaf.bundle.js} +1 -1
- package/dist/189.470563d6cbace5f1a687.bundle.js +1 -0
- package/dist/{18.a18e024d172531f968fa.bundle.js → 19.330de50e55c216ec7dfa.bundle.js} +1 -1
- package/dist/190.e981b1883942821aeda7.bundle.js +1 -0
- package/dist/191.b411571959305e3646e6.bundle.js +1 -0
- package/dist/192.608b0f502e0f77bc8f23.bundle.js +1 -0
- package/dist/193.f46005959249d366ec9f.bundle.js +1 -0
- package/dist/194.4ef4ca126a1b6c37f32a.bundle.js +1 -0
- package/dist/195.b8c5e9f217902accb057.bundle.js +1 -0
- package/dist/196.7ea52062f0a2531b65b0.bundle.js +1 -0
- package/dist/{166.92928a8fa8ec48d00349.bundle.js → 197.3a1d5b907b9b62f02db2.bundle.js} +1 -1
- package/dist/{167.b38a507dbcfd6329cf8c.bundle.js → 198.b3187d611303cfd5f2d8.bundle.js} +1 -1
- package/dist/199.776cdb50bdeae7835801.bundle.js +1 -0
- package/dist/2.e09c71dbfa6dfebc2757.bundle.js +2 -0
- package/dist/20.e59c16c9a2153da5e783.bundle.js +1 -0
- package/dist/200.1dd2fbe2abce07bb84e1.bundle.js +1 -0
- package/dist/{170.8baf5e20de2271caf978.bundle.js → 201.8a5d7d64fc7316e1b337.bundle.js} +1 -1
- package/dist/{171.a46d6b00949dbdbbc38e.bundle.js → 202.d66c4d84e46a836a4b50.bundle.js} +1 -1
- package/dist/203.61cc829c171e8e7aa147.bundle.js +1 -0
- package/dist/{173.d3bbff40e6f45969410d.bundle.js → 204.a01e01506c368a71a029.bundle.js} +1 -1
- package/dist/{174.6d17f7732045b6f182a0.bundle.js → 205.e7e864744862c278e876.bundle.js} +1 -1
- package/dist/{175.7bc87231bd4677800c77.bundle.js → 206.20e5abdf6999532e8566.bundle.js} +1 -1
- package/dist/{176.f7a1a4fdd12ad86f3d08.bundle.js → 207.7c8d1e7c6b6da5fc7f31.bundle.js} +1 -1
- package/dist/208.09a414a2ac2ef1acf3d4.bundle.js +1 -0
- package/dist/209.4b36023a3cf9357801ec.bundle.js +1 -0
- package/dist/21.11250f0d8a3141858ae2.bundle.js +1 -0
- package/dist/{179.e4bea06f7e407436dce7.bundle.js → 210.73f2aa6c32cfd9f0d81f.bundle.js} +1 -1
- package/dist/{180.bd3f5149f861a2586ffb.bundle.js → 211.53298f2082f1ac779980.bundle.js} +1 -1
- package/dist/212.b73670639a5b505b073a.bundle.js +1 -0
- package/dist/213.b1eae389535375ecc22f.bundle.js +1 -0
- package/dist/{183.2f7def34c47fd1bc38b3.bundle.js → 214.12d791a4d260889f55ef.bundle.js} +1 -1
- package/dist/{184.a71cd41118f14e2c123f.bundle.js → 215.6881462a6baa9fe06e42.bundle.js} +1 -1
- package/dist/{185.31a5c2ddc3afdffdc9e5.bundle.js → 216.3d582471e90044064feb.bundle.js} +1 -1
- package/dist/217.8ad4f49e1b28497aa1fc.bundle.js +1 -0
- package/dist/{187.4b22405c17194851a1e1.bundle.js → 218.9bc314388f4460eccc71.bundle.js} +1 -1
- package/dist/{188.bce7651d7bd1e88d7689.bundle.js → 219.1924e53424a4161187d0.bundle.js} +1 -1
- package/dist/22.ba0ef02c3892ab37d750.bundle.js +1 -0
- package/dist/220.16a156466d6f7dab727f.bundle.js +1 -0
- package/dist/{190.d758ca3d4a14b7273bab.bundle.js → 221.ff8eb48656cc101d7e33.bundle.js} +1 -1
- package/dist/222.00e664206b410ce1a048.bundle.js +1 -0
- package/dist/{191.8c31e698a482ba52ca82.bundle.js → 223.0187a4814287190e0c65.bundle.js} +1 -1
- package/dist/{192.944cc89f4d31c0fd8f79.bundle.js → 224.f31ed52925643add979d.bundle.js} +1 -1
- package/dist/{193.fad67143e7b911118459.bundle.js → 225.7d38096cb545f623016b.bundle.js} +1 -1
- package/dist/226.520de4563b3728ee1cd0.bundle.js +1 -0
- package/dist/227.f620b0e5bafe665823b9.bundle.js +1 -0
- package/dist/{195.7f8774fd8da98c5897a1.bundle.js → 228.8221c2d8cddadb36d2ab.bundle.js} +1 -1
- package/dist/{196.3ab76ea57aaa91d34511.bundle.js → 229.6931ab40e0d8c35e75ea.bundle.js} +1 -1
- package/dist/23.d93f2de42e09db07882b.bundle.js +1 -0
- package/dist/{197.9bbab0d7f35c2b58914f.bundle.js → 230.12ef5263f39744f26047.bundle.js} +1 -1
- package/dist/{198.813986f24f2f7887e738.bundle.js → 231.89118f5d51f516bd4b6a.bundle.js} +1 -1
- package/dist/{199.246f0549d7bdf7c18215.bundle.js → 232.2834abac0f0ba6bc4695.bundle.js} +1 -1
- package/dist/{200.20f4846b9ed97b60def3.bundle.js → 233.907e20a9cd1cc3ec896e.bundle.js} +1 -1
- package/dist/{201.768937613e43caedd9fc.bundle.js → 234.fb60af5c6606f09944a7.bundle.js} +1 -1
- package/dist/{202.0d38d4ec1e39e8ca91b7.bundle.js → 235.2ffad84d273648d6accc.bundle.js} +1 -1
- package/dist/{203.a78dd70f65b08ecb58d2.bundle.js → 236.81bdfa2a43f3f589593f.bundle.js} +1 -1
- package/dist/{204.e1f61ba757fbc813e6d4.bundle.js → 237.94611bb64b51e8ff8c23.bundle.js} +1 -1
- package/dist/{205.cc2c5786dff7bf31b08c.bundle.js → 238.a56f7066af417b21d5e7.bundle.js} +1 -1
- package/dist/{206.dadf18fb31b0533b1696.bundle.js → 239.ae0228158e9c1548fe73.bundle.js} +1 -1
- package/dist/24.7b46cc29619d0f99bd31.bundle.js +1 -0
- package/dist/{207.44dbc18bb4c8fa07cc66.bundle.js → 240.10f889cb2f9c25a0e729.bundle.js} +1 -1
- package/dist/{208.dda72c8e3795ba716704.bundle.js → 241.63d5ab9c48eae290c947.bundle.js} +1 -1
- package/dist/{209.7f8b6e8e2869b51c554c.bundle.js → 242.fad550e2082e77d55c78.bundle.js} +1 -1
- package/dist/{210.6d601b172d76d9bc2c98.bundle.js → 243.0220a2a9bf46645c616d.bundle.js} +1 -1
- package/dist/{211.ad09e493e9be031887e9.bundle.js → 244.6a78c547a7752e62735b.bundle.js} +1 -1
- package/dist/{212.364965f963bcd6331e6f.bundle.js → 245.741e89ce094712db25ed.bundle.js} +1 -1
- package/dist/{213.6c5b540986e7b24a338a.bundle.js → 246.437e610897eb7e6e3bb1.bundle.js} +1 -1
- package/dist/247.26ec449a35a63083d754.bundle.js +1 -0
- package/dist/248.ada296e9a8a5456816fa.bundle.js +1 -0
- package/dist/{215.a95cf561d38004eff071.bundle.js → 249.02e6909a0e5737c5fc7f.bundle.js} +1 -1
- package/dist/{24.498f1aefa71ceb33d2f8.bundle.js → 25.6aa5745e99ab45755022.bundle.js} +1 -1
- package/dist/250.a3a98184634e3bb735a4.bundle.js +1 -0
- package/dist/{216.acdd4ee62af663ab18a1.bundle.js → 251.22b0f401980a218701ce.bundle.js} +1 -1
- package/dist/{217.38ab6d3450c36fe8104f.bundle.js → 252.8d99177128dd1aa6ca8c.bundle.js} +1 -1
- package/dist/{218.66399da8a64421df67c1.bundle.js → 253.01675f1a92fd1fea8ca5.bundle.js} +1 -1
- package/dist/{219.05c3d5e61c9bb4752e5f.bundle.js → 254.6f2f418d35f273d36d46.bundle.js} +1 -1
- package/dist/{220.069190d187dfc576daed.bundle.js → 255.e308094c763d876e4132.bundle.js} +1 -1
- package/dist/{221.3553362f556124c787a8.bundle.js → 256.4ad009ccb12ec2a4cde6.bundle.js} +1 -1
- package/dist/{222.5ec7607217a3cb97b293.bundle.js → 257.2069e26865e17c1e9034.bundle.js} +1 -1
- package/dist/{223.37d133ce14e20b0efe2d.bundle.js → 258.77f2903c80c9722a3dd6.bundle.js} +1 -1
- package/dist/{224.acc9afbc9e926356519a.bundle.js → 259.c6a3eafb9d0da6527250.bundle.js} +1 -1
- package/dist/26.c226d79ff8a6003f470d.bundle.js +1 -0
- package/dist/{225.ba9860341f9eba2c1f2d.bundle.js → 260.2f2a959cf89d85530508.bundle.js} +1 -1
- package/dist/261.77656553a16ccd6e8e02.bundle.js +1 -0
- package/dist/262.ac627ceb0b8c3013a59a.bundle.js +1 -0
- package/dist/{228.21cb62126a898299b993.bundle.js → 263.b97a799c419d5e60186d.bundle.js} +1 -1
- package/dist/{229.227a956358ad27627e2c.bundle.js → 264.6bdf59072c7362ac0a13.bundle.js} +1 -1
- package/dist/{230.215c4242d4a205df5b8e.bundle.js → 265.68675b443038775d019c.bundle.js} +1 -1
- package/dist/{231.fd7222ca89363294fe39.bundle.js → 266.ec9ae3a110b2d141fb10.bundle.js} +1 -1
- package/dist/267.4b10cf116d30cfe6bf17.bundle.js +1 -0
- package/dist/268.44594cca6afd06932687.bundle.js +1 -0
- package/dist/269.ec0476f3a4ff069df041.bundle.js +1 -0
- package/dist/27.f979984f701cd7d90a09.bundle.js +1 -0
- package/dist/{233.007908cb7a913f1554ed.bundle.js → 270.8382b28dfa7be0c3214d.bundle.js} +1 -1
- package/dist/{234.de1618094d091408fd6d.bundle.js → 271.941c057dbbbbccfeda0a.bundle.js} +1 -1
- package/dist/272.22f1df2edcdc7881e3dc.bundle.js +1 -0
- package/dist/{236.ec2ada8b5f2aec3204f5.bundle.js → 273.275b580c72746e8fb52f.bundle.js} +1 -1
- package/dist/279.960043ae1eda74b30e8f.bundle.js +1 -0
- package/dist/28.9cc2b0769a41c49847bd.bundle.js +1 -0
- package/dist/280.21386ccc87abdb6fed19.bundle.js +1 -0
- package/dist/{244.526affae61c05ae944d3.bundle.js → 281.7ab705aa5cc6cba6389d.bundle.js} +1 -1
- package/dist/{245.feedc08d977143faa08e.bundle.js → 282.3b496007b4d510d35307.bundle.js} +1 -1
- package/dist/{246.136fac3b1ce27662490d.bundle.js → 283.a435d1824493e8bd35f0.bundle.js} +1 -1
- package/dist/{247.71aeac059bcf9ed9b392.bundle.js → 284.f841217b20d073341ae4.bundle.js} +1 -1
- package/dist/{248.94d8fea9b5ce15519623.bundle.js → 285.ba897fa98eceb647de5c.bundle.js} +1 -1
- package/dist/{249.234cb407b6a647179cf2.bundle.js → 286.aef2def45e9a7273979d.bundle.js} +1 -1
- package/dist/{250.3ed03b7e55905888d992.bundle.js → 287.58048ca04858f2cb11ee.bundle.js} +1 -1
- package/dist/288.05aff11dab36eb7e65da.bundle.js +1 -0
- package/dist/289.6cf76205fe19969066b6.bundle.js +1 -0
- package/dist/29.c4b0485448a758b61a70.bundle.js +1 -0
- package/dist/{251.efa949bd1ee44f4290ed.bundle.js → 290.a4fc424ffce505eca00a.bundle.js} +1 -1
- package/dist/{252.5705d631c738e4d8e996.bundle.js → 291.1c1fd66cc88ac8fd852b.bundle.js} +1 -1
- package/dist/{253.8752156b82db62eb4c92.bundle.js → 292.415bc8d92308d7e1f3ad.bundle.js} +1 -1
- package/dist/{254.986c95170a74cc76c5e5.bundle.js → 293.5ebd16be629383441ea5.bundle.js} +1 -1
- package/dist/{255.53ff457cdf06dc0de427.bundle.js → 294.2ec499aae4b89c7cc846.bundle.js} +1 -1
- package/dist/{256.52e7acbbd3e7dde0df9f.bundle.js → 295.3bc01f3a57bea0ee1bdb.bundle.js} +1 -1
- package/dist/296.63aafd90c02111daacca.bundle.js +1 -0
- package/dist/297.1bdc6a3832d57eb81bac.bundle.js +1 -0
- package/dist/{258.db5554df6956ecfc7dec.bundle.js → 298.38b5cc9aa9ee74a45495.bundle.js} +1 -1
- package/dist/299.282284f1dfdae76e16e8.bundle.js +1 -0
- package/dist/3.67bffc43ebc99521ba44.bundle.js +1 -0
- package/dist/30.ae05099edf532f9a1d23.bundle.js +1 -0
- package/dist/300.50b90ddcd4a3e62127bf.bundle.js +1 -0
- package/dist/301.103a2b39a148c9635b34.bundle.js +1 -0
- package/dist/{262.3b9c687ab8c9b9282f5a.bundle.js → 302.1ddd487def2666da1d57.bundle.js} +1 -1
- package/dist/{263.9c4ce329ffd095c5d1c6.bundle.js → 303.91415df6782da51d1efa.bundle.js} +1 -1
- package/dist/{264.0504ff98a1b50e9d2486.bundle.js → 304.7fa4e994c91a57064b2c.bundle.js} +1 -1
- package/dist/{265.a0af2676b1495c6231cc.bundle.js → 305.13219f08d74f9c5738ab.bundle.js} +1 -1
- package/dist/{266.31dcc9c203106832e08a.bundle.js → 306.81e8fcd5d13c4ccb6d80.bundle.js} +1 -1
- package/dist/{267.3befe4deb9b75cd5d7ba.bundle.js → 307.a92e589aa50e968135b0.bundle.js} +1 -1
- package/dist/{268.c7dc883261346f81be82.bundle.js → 308.3cf9a601458ca46f9727.bundle.js} +1 -1
- package/dist/{269.601d4fc4300f4553d75c.bundle.js → 309.6cea900cb2ad38a678ae.bundle.js} +1 -1
- package/dist/31.7b3b1415e9c1ff633dc8.bundle.js +1 -0
- package/dist/{270.e9d338a5cf954fbc1f4c.bundle.js → 310.4b95beeb128aa1816d8f.bundle.js} +1 -1
- package/dist/{271.a88eeff63bbc87791af0.bundle.js → 311.85ad1d7b33a0aba3933b.bundle.js} +1 -1
- package/dist/{272.ddacc590a66bdb0fa651.bundle.js → 312.82c64f47539742951e0d.bundle.js} +1 -1
- package/dist/{273.d45db281162abbe864ae.bundle.js → 313.cad3da8c59f59d4b1d97.bundle.js} +1 -1
- package/dist/{274.eca3da80ab4f0b4a3263.bundle.js → 314.e6c51164d979731bd692.bundle.js} +1 -1
- package/dist/{275.509ea766eda3bbcf1562.bundle.js → 315.80c1231a1f4cb11474a0.bundle.js} +1 -1
- package/dist/316.6cd6fe2b79c90f80e07f.bundle.js +1 -0
- package/dist/317.6ff1dd15b95c8a5adf6a.bundle.js +1 -0
- package/dist/318.d4f13752cf4126d356a7.bundle.js +1 -0
- package/dist/319.f6eb08787490a3d8aba8.bundle.js +1 -0
- package/dist/32.8253ca9b40e1d4193b9c.bundle.js +1 -0
- package/dist/320.bc0f015170a4fa1cace0.bundle.js +1 -0
- package/dist/321.9bd901a587359aa4ba86.bundle.js +1 -0
- package/dist/322.ff576da0177978510867.bundle.js +1 -0
- package/dist/323.1766a5aa0a39900f276c.bundle.js +1 -0
- package/dist/{283.bf3ea5f6f6b8406e5401.bundle.js → 324.61ac9ff2175a10e9946f.bundle.js} +1 -1
- package/dist/{284.3f34606cfbcefb0a1a47.bundle.js → 325.f57a2b8d771afe930d16.bundle.js} +1 -1
- package/dist/{285.4e95ca9e283ddd26fcbf.bundle.js → 326.4fdf453bbe24df2a5c01.bundle.js} +1 -1
- package/dist/{286.8c8f50e9844881f0b028.bundle.js → 327.bd0ee34db7b26ceb16a4.bundle.js} +1 -1
- package/dist/{287.23b580771ee0d5e65d41.bundle.js → 328.4a50d7206f3774767c4b.bundle.js} +1 -1
- package/dist/329.9cce24674845ac56ceae.bundle.js +1 -0
- package/dist/33.abf40b9ea1b82a72e6f6.bundle.js +1 -0
- package/dist/{289.c47fa5cd7d5468dce45f.bundle.js → 330.a61b1cca686c79077fb7.bundle.js} +1 -1
- package/dist/{290.b9baf8eed99b4447f086.bundle.js → 331.597ce4546f700a8b1a5f.bundle.js} +1 -1
- package/dist/{291.1e7bf6b667f7698ac645.bundle.js → 332.353e9d695ed951dd3de2.bundle.js} +1 -1
- package/dist/{292.44bcf6642bd3fac703b4.bundle.js → 333.e15b164295e3d43321eb.bundle.js} +1 -1
- package/dist/{293.184eb39d3229ef066269.bundle.js → 334.ab88623e248798de0421.bundle.js} +1 -1
- package/dist/{294.338c276decc123976f73.bundle.js → 335.bdcff1ac2d7ccc7c5229.bundle.js} +1 -1
- package/dist/{295.72eea8b2cf594acd85e6.bundle.js → 336.cb84d7d05bbe2ad7963f.bundle.js} +1 -1
- package/dist/{296.8f11a500bce671ed75db.bundle.js → 337.e0d97bb414475f5acf31.bundle.js} +1 -1
- package/dist/{297.71b96380e1103cd792d9.bundle.js → 338.f3ff1282bd122f8895dc.bundle.js} +1 -1
- package/dist/{298.39626a266f47903126bf.bundle.js → 339.dc583162bf40db42f98c.bundle.js} +1 -1
- package/dist/34.53650f24bc27bb447042.bundle.js +1 -0
- package/dist/340.e87c0b7b38142d3bcaaf.bundle.js +1 -0
- package/dist/341.5de4c95d3823d02c73af.bundle.js +1 -0
- package/dist/{301.e9495589c306b342c312.bundle.js → 342.d3e60335359cf30f5d7c.bundle.js} +1 -1
- package/dist/{302.d16e044e23278bf1e922.bundle.js → 343.41b6eb3c8ada0074fa40.bundle.js} +1 -1
- package/dist/{303.85715cdc00dfd6ef1521.bundle.js → 344.5c47c24e8393855b5752.bundle.js} +1 -1
- package/dist/{304.e055e669c9bad5898984.bundle.js → 345.67816d82cc6ce60f092d.bundle.js} +1 -1
- package/dist/35.f5adcb2804a769d6e607.bundle.js +1 -0
- package/dist/36.a638a897d306c39fef75.bundle.js +1 -0
- package/dist/{36.780bcf12c8d8b5742eac.bundle.js → 37.dfda030a3eb4983ca017.bundle.js} +2 -2
- package/dist/38.2d524d1a24b744c60e22.bundle.js +1 -0
- package/dist/39.31d5b3f29bba2cda6e0e.bundle.js +1 -0
- package/dist/{4.fe432ceb2b88c03018b3.bundle.js → 4.abe003bb801754dc7cd2.bundle.js} +1 -1
- package/dist/{38.0edff4c7b76c9652f664.bundle.js → 40.c6f5edb0a5a8e70ce25b.bundle.js} +1 -1
- package/dist/{39.f691f87a4527e58da4a2.bundle.js → 41.87195b5f78afed9d8d6b.bundle.js} +1 -1
- package/dist/42.ef4ef5d14a8edc140ea2.bundle.js +1 -0
- package/dist/43.59200054efbd58d38667.bundle.js +1 -0
- package/dist/{41.5a0ecbdf78c48ddce365.bundle.js → 44.1e91e31fceee509e8e09.bundle.js} +1 -1
- package/dist/45.6dbb865ec06fe26f6d63.bundle.js +2 -0
- package/dist/{42.6a677110f335d516813b.bundle.js → 46.3a320a99e1990e0c881f.bundle.js} +1 -1
- package/dist/47.ed92464465cbc5a497b8.bundle.js +1 -0
- package/dist/48.547c3d5475b68f1678dd.bundle.js +1 -0
- package/dist/49.185f2ff6f818bdcc38ee.bundle.js +1 -0
- package/dist/{6.0685b09a3646005a1521.bundle.js → 5.888aafb8f32951db3676.bundle.js} +1 -1
- package/dist/50.f77a0ba3fd5190780577.bundle.js +1 -0
- package/dist/{45.001b1bcbff1d7c9b3288.bundle.js → 51.8f40006fa45a6a705a91.bundle.js} +1 -1
- package/dist/52.24b13fb10fdb3560574b.bundle.js +1 -0
- package/dist/{47.7e030d52af57062c6527.bundle.js → 53.47a25b8c06da8beff37b.bundle.js} +1 -1
- package/dist/{48.669aedf81599ca0aee35.bundle.js → 54.faf688626cef4e5d0cf5.bundle.js} +1 -1
- package/dist/{49.319507fd2417a71a157e.bundle.js → 55.56db2af2f1e66282fbbe.bundle.js} +1 -1
- package/dist/{50.91efd0f7c94e635eb31b.bundle.js → 56.3477cdd52c6196a4b059.bundle.js} +1 -1
- package/dist/57.f8798405f5b3f25ab00c.bundle.js +1 -0
- package/dist/{52.37332ab2c0675e0a802c.bundle.js → 58.84ebaf94ac4d10d55f58.bundle.js} +1 -1
- package/dist/{53.967c8f3d2a9f33fcfc27.bundle.js → 59.bb7515772be8ad2db3ef.bundle.js} +1 -1
- package/dist/6.bcb20986dab6bada1d9c.bundle.js +1 -0
- package/dist/{54.07a064723a033340c51b.bundle.js → 60.4370065cecaefbe2b598.bundle.js} +1 -1
- package/dist/61.70a6242f09440cf479da.bundle.js +1 -0
- package/dist/62.1ecdd2ca72862a8ac3df.bundle.js +1 -0
- package/dist/63.303ee35259434d0df4f9.bundle.js +1 -0
- package/dist/64.c74b75507bb7291b2c73.bundle.js +1 -0
- package/dist/65.8d14706a397d6546823d.bundle.js +1 -0
- package/dist/66.990ef81cb85c5f796a83.bundle.js +1 -0
- package/dist/67.a770af717c94833acf0e.bundle.js +1 -0
- package/dist/68.002b27d57c1614bd2922.bundle.js +1 -0
- package/dist/{60.dd84d15683316fe6c548.bundle.js → 69.b84b0ffa66a0ab6bb961.bundle.js} +1 -1
- package/dist/7.200513c84108455e46da.bundle.js +73 -0
- package/dist/{62.3cda5cf1c8a74f8bccc6.bundle.js → 70.8e4e6f85093249fab2ce.bundle.js} +1 -1
- package/dist/71.19d58211babce55c8ee1.bundle.js +1 -0
- package/dist/72.175e331fb3526b99f853.bundle.js +1 -0
- package/dist/73.368f6e87cb6ebb33f0de.bundle.js +1 -0
- package/dist/{64.0b46f2876921c15c0f4d.bundle.js → 74.a8c9d46b292ab65e87b3.bundle.js} +1 -1
- package/dist/75.8c274af6622ab923193d.bundle.js +1 -0
- package/dist/{65.4c044f55fb8e826c87a0.bundle.js → 76.9c1b8c834c1c7439824a.bundle.js} +1 -1
- package/dist/{68.b4bf34276a3cab5e48bf.bundle.js → 77.9fb2ee434cd4994ed6cb.bundle.js} +1 -1
- package/dist/78.c574c8d0ffa27ca1d697.bundle.js +1 -0
- package/dist/{70.e04eced6ee3b7d712377.bundle.js → 79.3a055bf2f3d1ffb128d0.bundle.js} +1 -1
- package/dist/8.0427d691cab399f63f1f.bundle.js +1 -0
- package/dist/{71.0fbdedcc573e4e38ff6a.bundle.js → 80.f4b86f06d863f12fff9f.bundle.js} +1 -1
- package/dist/{72.e71caf5330e0c1cece04.bundle.js → 81.f8ee0f1e0e77a60ab016.bundle.js} +1 -1
- package/dist/{73.298162fe9ad207efe8a5.bundle.js → 82.5de8b54338e9d0521fb3.bundle.js} +1 -1
- package/dist/{74.b57c202b34d9d8effbcb.bundle.js → 83.9ccf7ba813fe67a3ae72.bundle.js} +1 -1
- package/dist/{75.8be72a221b92aa667da7.bundle.js → 84.2c1bbe132f7dc6171b08.bundle.js} +1 -1
- package/dist/{76.0f45a150d03cf8aeeb9d.bundle.js → 85.02a5c90bb66b9c3a0210.bundle.js} +1 -1
- package/dist/{77.257e393d86a8fb9f2102.bundle.js → 86.759b10132a74c1c52aea.bundle.js} +1 -1
- package/dist/{78.83432ef1cff39b57aa50.bundle.js → 87.40a28699e5d31b16dfed.bundle.js} +1 -1
- package/dist/{79.74e2421bfb8f6c563a99.bundle.js → 88.4810b7f7da1dc42dbc26.bundle.js} +1 -1
- package/dist/{80.53a2f5637376be338bb5.bundle.js → 89.3f0624230921056f0ccd.bundle.js} +1 -1
- package/dist/9.c5c7e5b72bd07e73216a.bundle.js +1 -0
- package/dist/{81.a48e2d16edd121965d2f.bundle.js → 90.f933ab129b7efa14e848.bundle.js} +1 -1
- package/dist/{82.bde6d42f833167581069.bundle.js → 91.a1454fa255d38c8d5337.bundle.js} +1 -1
- package/dist/{83.4bb7fb45433f0902ba64.bundle.js → 92.219d302970a4991eab4c.bundle.js} +1 -1
- package/dist/{84.3fe74c343dd811256a58.bundle.js → 93.c9207a467ce3a134f7f5.bundle.js} +1 -1
- package/dist/94.73ac09f9545deffdab92.bundle.js +1 -0
- package/dist/{86.b6a6584bb48c2eba7793.bundle.js → 95.ca97050b2921be9c00a0.bundle.js} +1 -1
- package/dist/{87.66c82919414d84bf1c91.bundle.js → 96.a9a1d3ee056e27b0a3a4.bundle.js} +1 -1
- package/dist/{88.a54c809c84dbef177321.bundle.js → 97.d0a3cb1253f907d2c80a.bundle.js} +1 -1
- package/dist/{89.08dc723465581d17e18c.bundle.js → 98.b9407155a078776f9a21.bundle.js} +1 -1
- package/dist/{90.82bdd586c3a8e362fd99.bundle.js → 99.27185f1312c466a7edec.bundle.js} +1 -1
- package/dist/bundle.98ff8de196a02f0d8285.bundle.js +95 -0
- package/dist/css/clustermanagement.css +120 -113
- package/dist/css/import-resource-tree.css +196 -0
- package/dist/css/import.css +36 -1
- package/dist/css/lib/ontotext-yasgui-web-component.css +4 -0
- package/dist/css/ux-test1.css +29 -0
- package/dist/i18n/locale-en.json +237 -110
- package/dist/i18n/locale-fr.json +243 -110
- 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.html +44 -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 +1 -1
- package/dist/license-checker.json +269 -26
- package/dist/main.98c547eac0aca6db48bb.css +1 -0
- package/dist/{main.d3e9ca1041e746ba3275.bundle.js → main.b5511edb9b2b1180e086.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +17 -111
- 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 +102 -37
- 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.75a8a5aa37ac381540a9.bundle.js} +1 -1
- package/dist/res/swagger5/favicon-16x16.png +0 -0
- package/dist/res/swagger5/favicon-32x32.png +0 -0
- package/dist/res/swagger5/index.css +157 -0
- package/dist/res/swagger5/index.html +47 -0
- package/dist/res/swagger5/oauth2-redirect.html +79 -0
- package/dist/res/swagger5/swagger-initializer.js +49 -0
- package/dist/res/swagger5/swagger-ui-bundle.js +3 -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 +3 -0
- package/dist/res/swagger5/swagger-ui-es-bundle.js.map +1 -0
- package/dist/res/swagger5/swagger-ui-standalone-preset.js +3 -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.8c00bf84687c9deda249.bundle.js} +4 -4
- package/dist/vendor.c3e18291118da6a85719.css +20 -0
- package/dist/{vendors~polyfills-core-js.efe4b0ec258663b8b247.bundle.js → vendors~polyfills-core-js.dec7859f2b9ed62ca3b7.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/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.af6bc53be819045291bd.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.8bd9dc57add455291ab8.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/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.112cbad7864c8da551d3.bundle.js +0 -1
- package/dist/8.df1e59fdf8864051f4b0.bundle.js +0 -2
- package/dist/85.e34e2854ea217304bf69.bundle.js +0 -1
- package/dist/9.3890e642c0ae619d2c59.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.cc2c4a7518fd3674ba58.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/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/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/onto-theme.css +0 -0
- /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
- /package/dist/res/{swagger → swagger5}/lib/backbone-min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/es5-shim.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/handlebars.min-v4.7.3.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/highlight.9.1.0.pack.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/highlight.9.1.0.pack_extended.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/jquery-3.4.1.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/jquery-migrate-1.4.1.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/jquery.ba-bbq.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/jquery.slideto.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/jquery.wiggle.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/js-yaml.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/jsoneditor.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/lodash.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/marked.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/object-assign-pollyfill.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/sanitize-html.min.js +0 -0
- /package/dist/res/{swagger → swagger5}/lib/swagger-oauth.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,31,43,71,72,73,75,142,143,144,145,150,158,159,161,162,163,165,166,250,267,269,272],{101:function(e,t,r){"use strict";r.r(t),r.d(t,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const t=e.lastIndexOf(".");return{filename:e.substring(0,t),extension:e.substring(t+1)}}}},102:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceTreeElement",(function(){return s}));class s{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=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new s,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)}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())),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 r=t.getResourceByName(e);if(r)return r}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))}}},103:function(e,t,r){"use strict";r.r(t),r.d(t,"SortingType",(function(){return s}));const s={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},124:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportViewPersistence",(function(){return s}));class s{constructor(e={}){this._isHelpVisible=void 0===e.isHelpVisible||e.isHelpVisible}get isHelpVisible(){return this._isHelpVisible}set isHelpVisible(e){this._isHelpVisible=e}toggleHelpVisibility(){this._isHelpVisible=!this._isHelpVisible}toJSON(){return{isHelpVisible:this._isHelpVisible}}}},125:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResource",(function(){return n}));var s=r(66),i=r(98),o=r(81);class n{constructor(e){this.name=e?e.name:void 0,this.status=e?e.status:s.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.contextLink=e?e.contextLink:void 0,this.parserSettings=e?e.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},190:function(e,t){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",s),s.$inject=["$http"];const r="rest/repositories";function s(e){return{getDefaultSettings:function(t){return e.get(`${r}/${t}/import/settings/default`)},getUploadedFiles:function(t){return e.get(`${r}/${t}/import/upload`)},getServerFiles:function(t){return e.get(`${r}/${t}/import/server`)},importServerFiles:function(t,s){return e.post(`${r}/${t}/import/server`,s)},importTextSnippet:function(t,s){return e.post(`${r}/${t}/import/upload/text`,s)},updateTextSnippet:function(t,s){return e.post(`${r}/${t}/import/upload/update/text`,s)},importFromUrl:function(t,s){return e.post(`${r}/${t}/import/upload/url`,s)},updateFromUrl:function(t,s){return e.post(`${r}/${t}/import/upload/update/url`,s)},stopImport:function(t,s){return e.delete(`${r}/${t}/import/upload`,{params:s})},resetServerFileStatus:function(t,s,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/server/status`,params:{remove:i},data:s,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(t,s,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/upload/status`,params:{remove:i},data:s,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},191:function(e,t,r){"use strict";r.r(t);var s=r(66);angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",i),i.$inject=["$http","Upload","$translate"];function i(e,t,r){return{createUploadPayload:function(e,r){let s;s=e.file?{file:e.file,importSettings:t.jsonBlob(r)}:{importSettings:t.jsonBlob(r)};return s},uploadUserDataFile:function(e,r,s){return t.upload({url:`rest/repositories/${e}/import/upload/file`,data:s}).progress(e=>i(e,r))},updateUserDataFile:function(e,r,s){return t.upload({url:`rest/repositories/${e}/import/upload/update/file`,data:s}).progress(e=>i(e,r))}};function i(e,t){if(t.file?(t.file=null,t.status=s.ImportResourceStatus.UPLOADING):t.status!==s.ImportResourceStatus.UPLOADING&&(t.status=s.ImportResourceStatus.PENDING),t.status===s.ImportResourceStatus.UPLOADING){const s=parseInt(100*e.loaded/e.total);t.message=r.instant("import.file.upload.progress",{progress:s})}}}},192:function(e,t,r){"use strict";r.r(t);var s=r(124);function i(e,t){const r=new s.ImportViewPersistence,i=()=>{let i=e.get(t.IMPORT_VIEW);return i||(i=r),new s.ImportViewPersistence(i)};return{initImportViewSettings:()=>{e.get(t.IMPORT_VIEW)||e.set(t.IMPORT_VIEW,r)},getImportViewSettings:i,toggleHelpVisibility:()=>{const r=i();r.toggleHelpVisibility(),e.set(t.IMPORT_VIEW,r.toJSON())},setHelpVisibility:r=>{const s=i();s.isHelpVisible=r,e.set(t.IMPORT_VIEW,s.toJSON())}}}angular.module("graphdb.framework.import.services.importviewstorageservice",[]).factory("ImportViewStorageService",i),i.$inject=["LocalStorageAdapter","LSKeys"]},193:function(e,t,r){"use strict";r.r(t);var s=r(97);function i(e,t,r,i){let o=!0;e.isHelpVisible=!0,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html",e.openTab=e=>{i.updateActiveTabId(e)},e.toggleHelp=()=>{const t=r.getImportViewSettings();r.toggleHelpVisibility(),e.isHelpVisible=!t.isHelpVisible};const n=[];n.push(i.onActiveTabIdUpdated(r=>{e.activeTabId=r,t.hash(e.activeTabId)})),n.push(i.onFilesUpdated(t=>{o&&0===t.length&&(r.setHelpVisibility(!0),o=!1);const s=r.getImportViewSettings();let i=s.isHelpVisible;0===t.length&&s.isHelpVisible?i=!0:0!==t.length||s.isHelpVisible?s.isHelpVisible?i=!0:s.isHelpVisible||(i=!1):i=!1,r.setHelpVisibility(i),e.isHelpVisible=i}));e.$on("$destroy",()=>n.forEach(e=>e()));const a=t.hash()||s.TABS.USER;e.openTab(a)}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",i),i.$inject=["$scope","$location","ImportViewStorageService","ImportContextService"]},194:function(e,t){function r(e,t,r,s,i,o,n,a,l){e.settings=i,e.hasParserSettings=o,e.isMultiple=a,e.enableReplace=!(!e.settings.replaceGraphs||!e.settings.replaceGraphs.length),e.showAdvancedSettings=!1,e.hasError=function(e,t){return _.find(e,(function(e){return t===e.$name}))},e.ok=function(){e.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),e.settingsForm.$valid&&(c(),t.close(e.settings))},e.cancel=function(){c(),t.dismiss(e.settings)},e.reset=function(){e.settings=_.cloneDeep(n),e.target="data"},e.addReplaceGraph=function(t){let i=!0;"default"!==t&&(i=s.isValidIri(t,t.toString())),e.settingsForm.replaceGraph.$setTouched(),e.settingsForm.replaceGraph.$setValidity("replaceGraph",i),e.settingsForm.replaceGraph.$valid&&(e.settings.replaceGraphs=e.settings.replaceGraphs||[],-1===_.indexOf(e.settings.replaceGraphs,t)?(e.replaceGraph="",e.settings.replaceGraphs.push(t)):r.warning(l.instant("import.graph.already.in.list")))},e.checkEnterReplaceGraph=function(t,r){13===t.keyCode&&(t.preventDefault(),e.addReplaceGraph(r))},e.switchParserSettings=function(){e.showAdvancedSettings=!e.showAdvancedSettings};const c=function(){"default"===e.target?e.settings.context="default":"data"===e.target&&(e.settings.context=""),e.enableReplace?"default"!==e.target&&"named"!==e.target||(e.settings.replaceGraphs=[e.settings.context]):e.settings.replaceGraphs=[]};e.settings.context?"default"===e.settings.context?(e.target="default",e.settings.context=""):e.target="named":e.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"]},195:function(e,t){function r(e,t){e.importFormat={name:"Auto",type:""},e.startImport=!0,e.cancel=function(){t.dismiss()},e.ok=function(){t.close({url:e.dataUrl,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},196:function(e,t){function r(e,t,r,s){e.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"}],e.rdfText=r,e.importFormat=e.importFormats.find(e=>e.type===s),e.startImport=!0,e.sizeLimit=4e3,e.setFormat=t=>{e.importFormat=t},e.cancel=()=>{t.dismiss()},e.ok=()=>{t.close({text:e.rdfText,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},197:function(e,t,r){"use strict";r.r(t);var s=r(0);function i(e,t,r,i,o){e.message=i.trustAsHtml(Object(s.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:o}))),e.cancel=()=>{t.dismiss()},e.keepBoth=()=>{t.close({overwrite:!1})},e.overwrite=()=>{t.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",i),i.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},198:function(e,t,r){"use strict";r.r(t),r.d(t,"FILE_FORMATS",(function(){return s})),r.d(t,"FileFormats",(function(){return i}));const s=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class i{static getGZS(){return s.map(e=>`.${e}.gz`)}static getBasics(){return s.map(e=>"."+e)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(e=>".brf"!==e).join(" ")}}},199:function(e,t,r){"use strict";r.r(t),r.d(t,"DateUtils",(function(){return s}));class s{static formatCurrentDateTime(){const e=new Date;return e.getFullYear()+"-"+_.padStart(e.getMonth()+1,2,"0")+"-"+_.padStart(e.getDate(),2,"0")+" "+_.padStart(e.getHours(),2,"0")+":"+_.padStart(e.getMinutes(),2,"0")+":"+_.padStart(e.getSeconds(),2,"0")+"."+_.padStart(e.getMilliseconds(),3,"0")}}},200:function(e,t,r){"use strict";r.r(t),r.d(t,"toImportResource",(function(){return a})),r.d(t,"INDENT",(function(){return l})),r.d(t,"toImportUserDataResource",(function(){return u})),r.d(t,"toImportServerResource",(function(){return d}));var s=r(102),i=r(125),o=r(66),n=r(81);const a=e=>e.map(e=>new i.ImportResource(e)),l=30,c=new Map;c.set(n.ImportResourceType.DIRECTORY,"icon-folder"),c.set(n.ImportResourceType.FILE,"icon-file");const p=new Map;p.set(n.ImportResourceType.DIRECTORY,"icon-folder"),p.set(n.ImportResourceType.FILE,"icon-upload"),p.set(n.ImportResourceType.URL,"icon-link"),p.set(n.ImportResourceType.TEXT,"icon-sparql");const u=e=>{const t=new s.ImportResourceTreeElement;return e.toSorted((e,t)=>t.modifiedOn-e.modifiedOn).forEach(e=>{m(t,e).iconClass=p.get(e.type)}),h(t),I(t),t},d=e=>{const t=new s.ImportResourceTreeElement;return e.forEach(e=>{m(t,e).iconClass=c.get(e.type)}),h(t),I(t),t},m=(e,t)=>{const r=g(t);let i;i=t.isDirectory()?r:r.slice(0,r.length-1);const o=f(e,i);if(t.isFile()){const e=new s.ImportResourceTreeElement;return e.parent=o,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],o.addResource(e),e}return o.importResource=t,o},f=(e,t)=>{let r=e;return t.forEach(e=>{const t=r.getOrCreateDirectory(e);t.parent=r,r=t}),r},g=e=>{if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]},h=e=>{e.indent=8+b(e)*l+"px",e.directories.forEach(e=>h(e)),e.files.forEach(e=>h(e))},I=e=>{e.isRoot()||(e.isImportable=y(e.importResource),e.hasOngoingImport=v(e.importResource),e.canResetStatus=T(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),R(e),S(e),F(e)),e.directories.forEach(e=>I(e)),e.files.forEach(e=>I(e))},R=e=>{const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))},S=e=>{const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))},F=e=>{const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}},y=e=>e.isFile()&&e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING,v=e=>e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING,T=e=>e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR,b=e=>{let t=0;if(void 0===e.parent)return t;let r=e.parent;for(;r;)r=r.parent,t++;return t-1}},201:function(e,t,r){"use strict";r.r(t),r.d(t,"FilePrefixRegistry",(function(){return i}));var s=r(101);class i{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const t=s.FileUtils.getFilenameAndExtension(e.name).filename,r=t.lastIndexOf("-");let i=r<0?0:t.substring(r+1),o=t.substring(0,r);if(r<0?(i=0,o=t):(i=t.substring(r+1),o=t.substring(0,r)),i){i=parseInt(i);const e=this.filesPrefixRegistry[o]||0;this.filesPrefixRegistry[o]=e<i?i:e}else this.filesPrefixRegistry[o]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:t,extension:r}=s.FileUtils.getFilenameAndExtension(e.name),i=`${t}-${this.getIndexForFile(t)}.${r}`;return new File([e],i,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let t=this.filesPrefixRegistry[e];return void 0!==t?t++:t=0,this.filesPrefixRegistry[e]=t,t}}},241:function(e,t,r){"use strict";r.r(t);r(7),r(28),r(190),r(191);var s=r(97),i=(r(192),r(193),r(194),r(195),r(196),r(197),r(198)),o=r(70),n=r(101),a=r(199),l=r(200),c=r(102),p=r(0),u=r(201),d=r(103),m=r(66);const f=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.import.services.importviewstorageservice","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"]),g="file",h="text",I="url";f.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService","ImportViewStorageService",function(e,t,r,a,u,m,f,g,h,I,R,S,F,y,v){const T=[];let b=null;e.files=[],e.fileChecked={},e.activeTabId=y.getActiveTabId(),e.selectedForImportFiles={},e.popoverTemplateUrl="settingsPopoverTemplate.html",e.fileFormatsExtended=i.FileFormats.getFileFormatsExtended(),e.fileFormatsHuman=i.FileFormats.getFileFormatsHuman()+h.instant("import.gz.zip"),e.textFileFormatsHuman=i.FileFormats.getTextFileFormatsHuman(),e.maxUploadFileSizeMB=0,e.SORTING_TYPES=d.SortingType,e.toTitleCase=e=>o.toTitleCase(e),e.pollList=()=>{b=r(()=>{e.updating||e.updateList(!1)},4e3)},e.setSettingsFor=(t,r,s,i=(()=>{}))=>{e.settingsFor=t,e.settings=w(t,r),""===t||"application/ld+json"===s||"application/x-ld+ndjson"===s||t.endsWith("jsonld")||t.endsWith("zip")||t.endsWith("gz")||"directory"===e.settings.type?(e.settings.hasContextLink=!0,e.defaultSettings.hasContextLink=!0):(e.settings.hasContextLink=!1,e.defaultSettings.hasContextLink=!1);const o={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",resolve:{settings:function(){return _.cloneDeep(e.settings)},hasParserSettings:e.isLocalLocation,defaultSettings:function(){return e.defaultSettings},isMultiple:function(){return!t}},size:"lg"};R.isActive()&&(o.backdrop="static",o.keyboard=!1),u.open(o).result.then(t=>{e.settings=t,""===e.settingsFor?e.importSelected():e.importFile(e.settingsFor,!0)},t=>{e.settings=t,i&&i()})},e.updateImport=(t,r,s)=>{e.settingsFor=t,e.settings=w(t,r),e.importFile(t,s)},e.getSelectedFiles=()=>y.getResources().getAllSelectedFilesNames(),e.importSelected=t=>{const r=new Set([...Object.keys(e.selectedForImportFiles),...e.getSelectedFiles()]),s=Array.from(r),i=()=>{const r=s.shift();r&&(t&&(e.settings=w(r)),e.importFile(r,!0,i))};i()},e.isLocalLocation=()=>{const e=a.getActiveLocation();return e&&e.local},e.updateList=t=>{e.canWriteActiveRepo()&&$(e.tabId).is(":visible")&&e.updateListHttp(t)},e.onRepositoryChange=()=>{e.setRestricted(),e.isRestricted||(e.updateList(!0),E())},e.onImport=t=>{e.setSettingsFor(t.importResource.name,!1,t.importResource.format)},e.onStopImport=r=>{const s=r.importResource;F.stopImport(a.getActiveRepository(),{name:s.name,type:s.type}).success((function(){e.updateList()})).error((function(e){t.warning(h.instant("import.error.could.not.stop",{data:getError(e)}))}))},e.onRemove=e=>{const t=e.map(e=>e.name);x(t)},e.onReset=e=>{U(e,!1)},e.importAll=(t,r)=>{if(t.filter(e=>e.isFile()).forEach(t=>{e.selectedForImportFiles[t.path]=!0}),r)e.importSelected(t,r);else{let s="";1===t.length&&(s=t[0].importResource.name),e.setSettingsFor(s,r,void 0)}},e.onEditResource=t=>{t.importResource.isText()&&e.openTextSnippetDialog(t.importResource)};const E=()=>{e.canWriteActiveRepo()&&F.getDefaultSettings(a.getActiveRepository()).success((function(t){e.defaultSettings=t})).error((function(e){t.warning(h.instant("import.error.default.settings",{data:getError(e)}))}))},x=(e=[])=>{const t="<br/>"+e.join("<br/>"),r=Object(p.decodeHTML)(h.instant("import.remove.confirm.msg",{name:t}));S.openConfirmation(h.instant("common.confirm"),r,()=>{U(e,!0)})},w=(t,r)=>r||_.isEmpty(t)||_.isEmpty(e.savedSettings[t])?_.cloneDeep(e.defaultSettings):e.savedSettings[t];e.updateListHttp=r=>{(e.activeTabId===s.TABS.USER?F.getUploadedFiles:F.getServerFiles)(a.getActiveRepository()).success((function(t){s.TABS.SERVER===e.activeTabId?y.updateResources(Object(l.toImportServerResource)(Object(l.toImportResource)(t))):s.TABS.USER===e.activeTabId&&y.updateResources(Object(l.toImportUserDataResource)(Object(l.toImportResource)(t))),0===e.files.length||r?(e.files=t,y.updateFiles(e.files),e.files.forEach((function(t){t.type||(t.type=e.defaultType)}))):e.files.forEach((function(r){const s=_.find(t,_.matches({name:r.name}));r.status&&s&&_.assign(r,s),r.type||(r.type=e.defaultType)})),r&&s.TABS.USER===e.activeTabId&&(e.files=_.filter(e.files,(function(e){return void 0!==e.status})),y.updateFiles(e.files)),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name")})).error((function(e){t.warning(h.instant("import.error.could.not.get.files",{data:getError(e)}))}))};const U=(r,i)=>{if(!r||r.length<1)return;(e.activeTabId===s.TABS.USER?F.resetUserDataStatus:F.resetServerFileStatus)(a.getActiveRepository(),r,i).success((function(){e.updateList(!0)})).error((function(e){t.warning(h.instant("import.error.could.not.clear",{data:getError(e)}))}))},O=()=>{T.forEach(e=>e())};T.push(e.$on("repositoryIsSet",e.onRepositoryChange)),T.push(e.$on("$destroy",()=>r.cancel(b))),T.push(y.onActiveTabIdUpdated(t=>{e.activeTabId=t,y.updateResources(new c.ImportResourceTreeElement),e.updateListHttp(!0)})),e.$on("$destroy",O),I.getInfo().success((function(t){e.appData={},e.appData.properties={};for(let r=0;r<t.length;r++)e.appData.properties[t[r].key]={source:t[r].source,value:t[r].value};e.maxUploadFileSizeMB=n.FileUtils.convertBytesToMegabytes(e.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(e){const r=getError(e);t.error(r,h.instant("common.error"))})),v.initImportViewSettings()}]),f.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(e,t,r,s,i,o,n){e.loader=!0,angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType="server",e.tabId="#import-server",e.importSelected=t=>{const r=Object.keys(e.selectedForImportFiles);a(r,t)},e.importFile=function(e){a([e])};const a=function(r,n){e.canWriteActiveRepo()&&o.importServerFiles(i.getActiveRepository(),{importSettings:n?null:e.settings,fileNames:r}).success((function(){e.updateList(),e.fileChecked={}})).error((function(e){t.error(s.instant("import.could.not.send.file",{data:getError(e)}))}))};!function(){e.pollList(),e.onRepositoryChange();const t=n.onResourcesUpdated(()=>{e.loader=!1,t()})}()}]),f.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(e,t,r,s,i,o,l,c,p,d,f){const R=new u.FilePrefixRegistry,S=[];e.loader=!0,angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType=g,e.tabId="#import-user",e.currentFiles=[];let F=!1;e.pastedDataIdx=1,e.fileSelected=function(t,r,s,i,o){const n={files:s,cancel:!1};f.emit("filesForUploadSelected",n,t=>{if(!t.cancel){y(o);const t=s||[];x(t);const r=[],i=[];t.forEach(t=>{e.files.some(e=>e.name===t.name)?r.push(t):i.push(t)}),r.length>0?w(r,i):(e.currentFiles=[...t],F=!0)}})},e.importFile=(r,s,o)=>{const n=e.files.find(e=>e.name===r);n?n.type===h?v(n,s,o):n.type===I?b(n,s,o):E(n,s,o):t.warning(i.instant("import.no.such.file",{name:r}))},e.openTextSnippetDialog=t=>{t&&t.data;s.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return t?t.data:""},format:function(){return t?t.format:"text/turtle"}}}).result.then(r=>{t?(t.data===r.text&&t.format===r.format||t.status===m.ImportResourceStatus.NONE||(t.status=m.ImportResourceStatus.NONE,t.message=i.instant("import.text.snippet.not.imported")),t.data=r.text,t.format=r.format,T(t)):(t={type:"text",name:"Text snippet "+a.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},e.files.unshift(t),e.updateImport(t.name,!1,!1)),r.startImport&&e.setSettingsFor(t.name,!1,t.format)})},e.rdfDataFromURL=()=>{s.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:e}).result.then((function(t){const r=_.find(e.files,{type:"url",name:t.url});r?r.format=t.format:e.files.unshift({type:"url",name:t.url,format:t.format,data:t.url}),e.updateImport(t.url,!0,!1),t.startImport&&e.setSettingsFor(t.url,!0,t.format)}))};const y=e=>{e.length>0&&e.forEach((function(e){t.warning(i.instant("import.large.file",{name:e.name,size:n.FileUtils.convertBytesToMegabytes(e.size)}))}))},v=(r,s,n)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(s?l.importTextSnippet:l.updateTextSnippet)(o.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(i.instant("import.could.not.send.data",{data:getError(e)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(e)})).finally(n||function(){})},T=r=>{e.updating=!0,l.updateTextSnippet(o.getActiveRepository(),r).success((function(e){})).error((function(e){t.error(i.instant("import.could.not.update.text",{data:getError(e)}))})).finally((function(){e.updating=!1}))},b=(r,s,n)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(s?l.importFromUrl:l.updateFromUrl)(o.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(i.instant("import.could.not.send.url",{data:getError(e)}))})).finally(n||function(){})},E=(r,s,n)=>{e.settings.name=r.name;const a=c.createUploadPayload(r,e.settings);(s?c.uploadUserDataFile:c.updateUserDataFile)(o.getActiveRepository(),r,a).then(()=>{e.updateList()}).catch(e=>{t.error(i.instant("import.could.not.upload.file",{data:getError(e)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(e)}).finally(n||function(){})},x=e=>{e.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const s=e.indexOf(r);s>-1&&e.splice(s,1),t.error(i.instant("import.could.not.upload",{name:r.name}))}}))},w=(t,r)=>{const i=t.map(e=>e.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(s=>{if(s.overwrite)e.currentFiles.length?e.currentFiles=[...t,...r]:e.currentFiles.push(...t,...r),F=!0;else{const s=R.prefixDuplicates(t);e.currentFiles=[...e.currentFiles,...s,...r],F=!0}})},U=()=>{Object.keys(e.fileChecked).forEach(t=>{e.fileChecked[t]=!1}),e.selectedForImportFiles={}};S.push(e.$watchCollection("currentFiles",()=>{if(e.files=_.uniqBy(_.union(_.map(e.currentFiles,(function(e){return{name:e.name,type:"file",file:e}})),e.files),(function(e){return e.name})),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"),F&&e.currentFiles.length>0){U(),e.currentFiles.forEach(t=>{e.fileChecked[t.name]=!0,e.selectedForImportFiles[t.name]=!0});let t="";1===e.currentFiles.length&&(t=e.currentFiles[0].name),e.setSettingsFor(t,!1,void 0,()=>{e.currentFiles.forEach(t=>{e.updateImport(t.name,!1,!1),e.selectedForImportFiles={}})})}})),e.$on("$destroy",()=>{S.forEach(e=>e())});!function(){e.pollList(),e.onRepositoryChange(),S.push(d.onFilesUpdated(e=>{R.buildPrefixesRegistry(e)}));const t=d.onResourcesUpdated(()=>{e.loader=!1,t()})}()}])},66:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return s}));const s={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},70:function(e,t,r){"use strict";r.r(t),r.d(t,"removeSpecialChars",(function(){return i})),r.d(t,"toBoolean",(function(){return o})),r.d(t,"toTitleCase",(function(){return n}));var s=r(65);const i=e=>e.replace(/[()']/g,""),o=e=>"string"==typeof e?"true"===e:Boolean(e),n=e=>e?Object(s.upperFirst)(e.toLowerCase()):e},81:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return s}));const s={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},97:function(e,t,r){"use strict";r.r(t),r.d(t,"TABS",(function(){return i}));var s=r(65);const i={USER:"user",SERVER:"server"};function o(e){let t=i.USER,r=void 0,o=[];return{updateActiveTabId:function(r){t=r,e.emit("activeTabIdUpdated",n())},getActiveTabId:n,onActiveTabIdUpdated:function(t){return e.subscribe("activeTabIdUpdated",()=>t(n()))},getFiles:a,addFile:function(t){o.push(t),e.emit("fileAdded",Object(s.cloneDeep)(t))},updateFiles:function(t){o=t,e.emit("filesUpdated",a())},onFilesUpdated:function(t){return e.subscribe("filesUpdated",()=>t(a()))},updateResources:function(t){r=t,e.emit("resourcesUpdated",l())},getResources:l,onResourcesUpdated:function(t){return e.subscribe("resourcesUpdated",()=>t(l()))}};function n(){return t}function a(){return Object(s.cloneDeep)(o)}function l(){return Object(s.cloneDeep)(r)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",o),o.$inject=["EventEmitterService"]},98:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportParsingSettings",(function(){return s}));class s{constructor(){this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[80,235],{227:function(e,t,o){"use strict";o.r(t);o(7),o(27);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")}}])},311:function(e,t,o){"use strict";o.r(t);o(7),o(24),o(227);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([[81,242],{232:function(e,r,t){"use strict";t.r(r);var n=t(442);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)}))}}}])},317:function(e,r,t){"use strict";t.r(r);t(7),t(24),t(141),t(25),t(442),t(232);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([[82,241],{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(442);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([[83,241],{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(442);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([[84,241],{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(442);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([[85,241],{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(442);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,241],{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(442);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,241],{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(442);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,241],{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(442);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,241],{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(442);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,47,61,62,63,101,102,103,104,106,107,245],{149: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"]},150: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"]},151: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"]},152: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"]},153: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"]},154: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"]},155:function(e,t,o){"use strict";o.r(t);o(77);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"]},156:function(e,t,o){"use strict";o.r(t);o(69),o(77);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"]},239:function(e,t,o){"use strict";o.r(t);o(69),o(77),o(149),o(150),o(151),o(152),o(153),o(154),o(155),o(156);var n=o(65),r=o(73),s=o(78);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.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=>{404===t.status&&(e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null)}),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=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{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())}));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")}}}},77: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"]},78: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,241],{104: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(442);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,258],{140:function(e,t,n){"use strict";n.r(t);n(7),n(26);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"]},231:function(e,t,n){"use strict";n.r(t);n(7),n(24),n(15),n(140),n(37),n(38),n(26),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([[92,271],{163:function(e,n,r){"use strict";r.r(n);var o=r(91);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("")}}))},91: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([[93],{145: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)}))}}}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[94],{99:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return l})),s.d(t,"StatementACRuleModel",(function(){return r})),s.d(t,"PluginACRuleModel",(function(){return c})),s.d(t,"ClearGraphACRuleModel",(function(){return n})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var o=s(65);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,o,i,l,r,c,n){const u=a.createRule(e,t,s,o,i,l,r,c,n);this._aclRules.has(e)||this._aclRules.set(e,[]),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const o=this._aclRules.get(e);o&&o.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(o.isEqual)(s,e))}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),o=s[t-1];s[t-1]=s[t],s[t]=o}moveDown(e,t){const s=this._aclRules.get(e),o=s[t+1];s[t+1]=s[t],s[t]=o}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class l{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}toJSON(){}}class r extends l{constructor(e,t,s,o,i,l,r){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=o||"*",this._object=i||"*",this._context=l||"*",this._operation=r||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context}}}class c extends l{constructor(e,t,s,o){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=o||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin}}}class n extends l{constructor(e,t,s,o){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=o||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context}}}class u extends l{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation}}}class a{static createRule(e,t,s,o,i,l,a,p,h){switch(e){case _.STATEMENT:return new r(s,t,i,l,a,p,o);case _.PLUGIN:return new c(s,t,h,o);case _.CLEAR_GRAPH:return new n(s,t,p);case _.SYSTEM:return new u(s,t,o);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{248:function(e,a){PluginRegistry.add("route",{url:"/aclmanagement",module:"graphdb.framework.aclmanagement",path:"aclmanagement/app",chunk:"aclmanagement",controller:"AclManagementCtrl",templateUrl:"pages/aclmanagement.html",title:"view.aclmanagement.title",helpInfo:"view.aclmanagement.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"ACL Management",labelKey:"menu.aclmanagement.label",href:"aclmanagement",order:6,parent:"Setup",role:"ROLE_ADMIN",guideSelector:"sub-menu-aclmanagement"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[96],{250:function(e,t){PluginRegistry.add("route",{url:"/autocomplete",module:"graphdb.framework.autocomplete",path:"autocomplete/app",chunk:"autocomplete",controller:"AutocompleteCtrl",templateUrl:"pages/autocomplete.html",title:"view.autocomplete.title",helpInfo:"view.autocomplete.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Autocomplete",labelKey:"menu.autocomplete.label",href:"autocomplete",order:40,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-autocomplete"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[97],{147:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const i=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),i(),a=e(()=>i(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[98],{252:function(e,r){PluginRegistry.add("route",{url:"/monitor/backup-and-restore",module:"graphdb.framework.monitoring.backupandrestore",path:"backup-and-restore/app",chunk:"monitor-backup-and-restore",controller:"BackupAndRestoreCtrl",templateUrl:"pages/monitor/backup-and-restore.html",title:"view.monitoring.backup_and_restore.title",helpInfo:"view.monitoring.backup_and_restore.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Backup and Restore",labelKey:"menu.backup_and_restore.label",href:"monitor/backup-and-restore",order:2,parent:"Monitor",guideSelector:"sub-menu-backup-and-restore"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[99],{148:function(t,e){angular.module("graphdb.framework.chatgpt.controllers",["toastr","graphdb.framework.utils.localstorageadapter"]).controller("ChatGptCtrl",o).controller("ChatGptSettingsCtrl",n),o.$inject=["$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter"];function o(t,e,o,n,r,s,i,a,c){function l(){o(()=>{document.getElementById("messages-scrollable").scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},0)}function u(){t.history=[],t.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5};const e=c.get("ttyg"),o=s.getActiveRepository();if(e&&e[o]){const n=e[o];n.history&&(t.history=n.history),t.connectorID=n.connectorID,n.askSettings&&(t.askSettings=n.askSettings)}l()}function g(){const e=c.get("ttyg")||{};e[s.getActiveRepository()]={history:t.history,connectorID:t.connectorID,askSettings:t.askSettings},c.set("ttyg",e)}t.helpTemplateUrl="js/angular/chatgpt/templates/chatInfo.html",t.getIcon=function(t){return"question"===t?"user":"assistant"===t?"data":"help"},t.ask=function(){if(!t.question.trim())return;const o=t.history.filter(t=>!t.error),n={connectorID:t.connectorID,question:t.question,askSettings:t.askSettings,history:o},r={role:"question",content:t.question};e.post("rest/chat/retrieval?repositoryID="+s.getActiveRepository(),n).then(e=>{t.history.pop(),e.data.forEach(e=>t.history.push(e))}).catch(t=>{r.error=!0,i.error(getError(t,0,100))}).finally(()=>{t.loader=!1,l(),g()}),t.history.push(r),t.loader=!0,l(),t.question=""},t.clear=function(){a.openSimpleModal({title:n.instant("common.confirm"),message:n.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){t.history=[],g()}))},t.openSettings=function(){r.open({templateUrl:"js/angular/chatgpt/templates/modal/settings.html",controller:"ChatGptSettingsCtrl",size:"lg",resolve:{data:function(){return{askSettings:t.askSettings,connectorID:t.connectorID}}}}).result.then((function(e){t.connectorID=e.connectorID,t.askSettings=e.askSettings,g()}))},t.$on("repositoryIsSet",(function(){u()})),s.getActiveRepository()&&u()}function n(t,e,o,n){t.dialogTitle=e.instant("ttyg.settings.title"),t.save=function(){if(t.form.$valid){const e={queryTemplate:JSON.parse(t.queryTemplate),groundTruths:t.groundTruths.split("\n"),topK:t.topK,echoVectorQuery:t.echoVectorQuery};o.close({askSettings:e,connectorID:t.connectorID})}},t.cancel=function(){o.dismiss("cancel")},t.connectorID=n.connectorID,t.queryTemplate=JSON.stringify(n.askSettings.queryTemplate,null," "),t.topK=n.askSettings.topK,t.echoVectorQuery=n.askSettings.echoVectorQuery,t.groundTruths=n.askSettings.groundTruths.map(t=>t.trim()).filter(t=>""!==t).join("\n")}n.$inject=["$scope","$translate","$uibModalInstance","data"]}}]);
|