graphdb-workbench 2.6.0-TR2 → 2.6.0-TR3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{0.4ddeb8379f96458f632e.bundle.js → 0.91024b1c0fa4aa5cd259.bundle.js} +3 -3
- package/dist/{1.46d9ecd4119bac145f3b.bundle.js → 1.deaa8d3dede6cdcafb0c.bundle.js} +1 -1
- package/dist/{9.abf23c64b5f041197641.bundle.js → 10.6ed58d9999e5738c17b9.bundle.js} +1 -1
- package/dist/{102.a98125e7cbe44cf536e2.bundle.js → 102.4f78eeab62aac245879e.bundle.js} +1 -1
- package/dist/{103.4d162f7df14c8d81157b.bundle.js → 103.f38f3cd69ff610955aaf.bundle.js} +1 -1
- package/dist/{104.f0696d49ede65b342317.bundle.js → 104.2e21f1462021dca17db1.bundle.js} +1 -1
- package/dist/{105.097830cf884ff7d82859.bundle.js → 105.76381cb7984bcbc9ba9a.bundle.js} +1 -1
- package/dist/{106.2e488f1a9b4b22ad4026.bundle.js → 106.23e14c6b280756d04533.bundle.js} +1 -1
- package/dist/{107.0495c9673045f1f68bdf.bundle.js → 107.75e40619cb45972dc39f.bundle.js} +1 -1
- package/dist/{108.20ec9347815ab00c4f28.bundle.js → 108.f09444e990531d27e0be.bundle.js} +1 -1
- package/dist/{109.9699fc25bc788fe01bb3.bundle.js → 109.ef97393181ee534042d8.bundle.js} +1 -1
- package/dist/{10.9b05de3fe8a117488185.bundle.js → 11.6148652a635b9ee26228.bundle.js} +1 -1
- package/dist/{110.f101a1762899931179a6.bundle.js → 110.d59b8565d2255a282669.bundle.js} +1 -1
- package/dist/{111.782fffba201a2ef304d0.bundle.js → 111.fff9f089f65f01013923.bundle.js} +1 -1
- package/dist/{112.529d6e279b6d0bbaff2e.bundle.js → 112.5bd3fcd7c37f1024fe26.bundle.js} +1 -1
- package/dist/{113.94c8128e0dc2ff349d42.bundle.js → 113.2fa29eca15d32deb3320.bundle.js} +1 -1
- package/dist/{114.2fa7a38692c626887bfe.bundle.js → 114.d78615087abe68db7b2f.bundle.js} +1 -1
- package/dist/115.8f90e89fb972eacc5c33.bundle.js +1 -1
- package/dist/{116.dd7d9db80081251674c2.bundle.js → 116.577aab1d9bafd0053623.bundle.js} +1 -1
- package/dist/{117.4d04f878d3c445436ca8.bundle.js → 117.c20f037799328c931eba.bundle.js} +1 -1
- package/dist/{118.617f073c1c06392bd6c0.bundle.js → 118.675e10cdafdfeb1bfd13.bundle.js} +1 -1
- package/dist/{119.19ee7b3ae143f817c5b1.bundle.js → 119.6718e504789935e36d6d.bundle.js} +1 -1
- package/dist/{11.0fc995ac096734b915c6.bundle.js → 12.a89b7654ad44046eb8f7.bundle.js} +1 -1
- package/dist/{120.b944d5e63424d4307fc8.bundle.js → 120.d5eec427231b31d4b96c.bundle.js} +1 -1
- package/dist/{121.3a8954e4c885c56a9817.bundle.js → 121.92e8472c84a39e239615.bundle.js} +1 -1
- package/dist/{122.71a8cf0330504672fffc.bundle.js → 122.cdb75fa59db45a834ad8.bundle.js} +1 -1
- package/dist/123.308c9c8c105865be3496.bundle.js +1 -0
- package/dist/124.e07a9209a0a1ab22e15d.bundle.js +1 -0
- package/dist/{125.abd9c932b04bf1918f0a.bundle.js → 125.6516230e26b531d8e080.bundle.js} +1 -1
- package/dist/{127.90d1975083eef3d4a715.bundle.js → 127.5d1a1ff580c87eb1e8f8.bundle.js} +1 -1
- package/dist/{128.544f1a82e19dd245c7de.bundle.js → 128.11335c69c284c09ca5d8.bundle.js} +1 -1
- package/dist/{129.64ec11449e0c734500c2.bundle.js → 129.3f466ad5920ca8bb3a3d.bundle.js} +1 -1
- package/dist/{12.398d835e04b0488b2ed8.bundle.js → 13.08488cd54f3126131d21.bundle.js} +1 -1
- package/dist/{131.4868fc3a837277c30273.bundle.js → 131.e668deb7b6f9578ef24e.bundle.js} +1 -1
- package/dist/{133.f87e1685dd5ed920f9b5.bundle.js → 133.4065e7a35f7871bf2ad1.bundle.js} +1 -1
- package/dist/{134.8998ff724a077ecff2ce.bundle.js → 134.c9171ea1baa72b39cc24.bundle.js} +1 -1
- package/dist/{136.2b898a27e978ab15bc3e.bundle.js → 136.1822d9f3df6f72a6a877.bundle.js} +1 -1
- package/dist/{137.8262ca9736e9818284cd.bundle.js → 137.5c9d4fe0a69be8ac8688.bundle.js} +1 -1
- package/dist/{139.97ee12e7a3c05be03456.bundle.js → 139.426f2b73f601d90afca5.bundle.js} +1 -1
- package/dist/{13.def661d2d5c02515c46c.bundle.js → 14.43754eafe4983c20b361.bundle.js} +1 -1
- package/dist/{140.f76f2bc779661b218a98.bundle.js → 140.f2bc5160272ff3fe0735.bundle.js} +1 -1
- package/dist/{141.4981056237955a34b2e2.bundle.js → 141.bdc267124fef4cae784d.bundle.js} +1 -1
- package/dist/144.a3543083726b8d6fe9b7.bundle.js +1 -0
- package/dist/{144.eb8b50eebf16a7196b12.bundle.js → 145.b42081944fa436904ec3.bundle.js} +1 -1
- package/dist/{145.9281069e9e77978b640a.bundle.js → 146.2dac296305e5e7ff53f0.bundle.js} +1 -1
- package/dist/{146.29a91af34c64ed2fe1e3.bundle.js → 147.092d2da5b2882e38fc35.bundle.js} +1 -1
- package/dist/{147.54016549674d35bc2869.bundle.js → 148.2579ddec2300b7ca97c6.bundle.js} +1 -1
- package/dist/{148.9042ca5db63f1ab3fb40.bundle.js → 149.0a9dbf850b40436c7c8a.bundle.js} +1 -1
- package/dist/{14.1dfee181edb0d04c106b.bundle.js → 15.da4b1185dcc5e36dfb53.bundle.js} +4 -4
- package/dist/{149.3880824512c5fa745836.bundle.js → 150.fbcc1b166d3c3fc40ad2.bundle.js} +1 -1
- package/dist/{150.4db7163e83efe461fc24.bundle.js → 151.69eeb4c064fcd89c0d63.bundle.js} +1 -1
- package/dist/{151.a3d78e05b8802fb4db40.bundle.js → 152.a481a5894c9f1fb9852d.bundle.js} +1 -1
- package/dist/{152.2e1aa910a68f0086825b.bundle.js → 153.fc896707e831c52cdfa5.bundle.js} +1 -1
- package/dist/{153.7a64973115bdaec26406.bundle.js → 154.ca581f5396a7b4661a95.bundle.js} +1 -1
- package/dist/{154.5938248b52830d0a80a2.bundle.js → 155.56fc34c07121e758a919.bundle.js} +1 -1
- package/dist/{155.691eea60dddb31013b32.bundle.js → 156.3d7695163ff43881fab2.bundle.js} +1 -1
- package/dist/{156.bbcaf52acb0cecbc6257.bundle.js → 157.71b354fa9b2450601c23.bundle.js} +1 -1
- package/dist/{157.51181d03518519f84b5e.bundle.js → 158.5de57bdcecbfb95931b0.bundle.js} +1 -1
- package/dist/{158.640e412f6002ee1d7341.bundle.js → 159.a41ae8467ebc2b285091.bundle.js} +1 -1
- package/dist/{15.9e572627540e9ccd1274.bundle.js → 16.60f19263a8b6b7ddb8c8.bundle.js} +1 -1
- package/dist/{159.10457cbb053c1315d93a.bundle.js → 160.80f0c73acf7288f437b3.bundle.js} +1 -1
- package/dist/{160.c46bfdf09357a4c62a53.bundle.js → 161.0347a5a6fbb7376821de.bundle.js} +1 -1
- package/dist/{161.0f35ee11981f0ea0455f.bundle.js → 162.2e56a2c808c8d61379fa.bundle.js} +1 -1
- package/dist/{162.fef28120701e7d200b01.bundle.js → 163.83bf96a0d8aa815019dc.bundle.js} +1 -1
- package/dist/{163.38565d40ac5f71d1c875.bundle.js → 164.55965a7bb464a5dd93aa.bundle.js} +1 -1
- package/dist/{164.b2116f472aa847618aee.bundle.js → 165.35c062486938401d4216.bundle.js} +1 -1
- package/dist/{168.2d4b5a75da5430c73efc.bundle.js → 169.e2b5bd6f32a8c612ca37.bundle.js} +1 -1
- package/dist/{16.942efd726d9ff25c0ed7.bundle.js → 17.046136152dbf3de31677.bundle.js} +1 -1
- package/dist/{169.6897f56896e3664e8b53.bundle.js → 170.7a48ec88fa3afc0f6ac6.bundle.js} +1 -1
- package/dist/{170.d5c0d475c5b6ad84ef77.bundle.js → 171.6cd527ee83cbf29a19e4.bundle.js} +1 -1
- package/dist/{171.60cdc91b2bf682a20911.bundle.js → 172.c92b81434bf3f43fbe1e.bundle.js} +1 -1
- package/dist/{172.1fb9ead3e508a7cfa5f3.bundle.js → 173.52ef0edfc987c92301b9.bundle.js} +1 -1
- package/dist/{173.95602c81a2692624a015.bundle.js → 174.25aaed5f3403352f28cc.bundle.js} +1 -1
- package/dist/{174.aac1982e67b5ca1731c1.bundle.js → 175.fcb951dd12d5b2a8bd96.bundle.js} +1 -1
- package/dist/{175.5e49a28397900168f816.bundle.js → 176.474c810385dd0e2cfa85.bundle.js} +1 -1
- package/dist/{176.2e6d1a9f4eac4fdd8422.bundle.js → 177.dabb4c550210e44d5793.bundle.js} +1 -1
- package/dist/{177.3b6aabf3c4db8519ea74.bundle.js → 178.d8521043016885e499fe.bundle.js} +1 -1
- package/dist/{178.e10370553beb5c6bb839.bundle.js → 179.d13d6085b43e1a0e84b7.bundle.js} +1 -1
- package/dist/{17.a5217a46072ac762cb3b.bundle.js → 18.2aea9620d21094bb40ef.bundle.js} +1 -1
- package/dist/{179.784cbd536b8e636c1272.bundle.js → 180.a7b36af0ecacadab7683.bundle.js} +1 -1
- package/dist/{180.d37db50f3ce1b3a04a65.bundle.js → 181.6fadbb16dd20a70cdd86.bundle.js} +1 -1
- package/dist/{181.f307cabdc4ed7a10ff64.bundle.js → 182.35890a8bc157b3658fff.bundle.js} +1 -1
- package/dist/{182.e8fe148e90fcd334b9b9.bundle.js → 183.7b0a09bfe9f010e9541d.bundle.js} +1 -1
- package/dist/{183.a086e00d4dc3c7855611.bundle.js → 184.e4440d47446e0db4b3f5.bundle.js} +1 -1
- package/dist/{184.ff8a39692d0ff666c9e6.bundle.js → 185.653f962a11ce7a90f427.bundle.js} +1 -1
- package/dist/{185.8b9f0b866e848f8a1aac.bundle.js → 186.46e6b33ce8d161b6a6eb.bundle.js} +1 -1
- package/dist/{186.798880846274da7033da.bundle.js → 187.65e96444ae129aef13c8.bundle.js} +1 -1
- package/dist/{187.eb92a35d38294bc21703.bundle.js → 188.e49f21bf03f6686efe90.bundle.js} +1 -1
- package/dist/{188.641582484af80415d29a.bundle.js → 189.253436c0ad397b359958.bundle.js} +1 -1
- package/dist/{19.c2a5c3e7a49a4acba486.bundle.js → 19.1b2934a9e8ae9c44b8eb.bundle.js} +2 -2
- package/dist/{189.7ccbb0ef67513ae7001a.bundle.js → 190.05282ca0545f173a8319.bundle.js} +1 -1
- package/dist/{190.a3609218c5d8e873a46f.bundle.js → 191.8372c1985071b31a3526.bundle.js} +1 -1
- package/dist/192.0907f979c7b02280ce03.bundle.js +1 -0
- package/dist/{191.4c817606bf66c16d9ad1.bundle.js → 193.0be085ad07b1cf71350d.bundle.js} +1 -1
- package/dist/{192.21f366a1ea7e6905f120.bundle.js → 194.c7c11070d724fa3b5a19.bundle.js} +1 -1
- package/dist/{193.4d40b788bd7ddcf16788.bundle.js → 195.e25cda3ecc8ee2dce0c6.bundle.js} +1 -1
- package/dist/{194.0170093f1daf20e82b5f.bundle.js → 196.2d76871b1f90acdde69c.bundle.js} +1 -1
- package/dist/{195.d7d8af61458f9416878f.bundle.js → 197.8e4fe44ca4c70988af1a.bundle.js} +1 -1
- package/dist/{196.6e6b7589cd1342a0b2b5.bundle.js → 198.43f7ee145c56e1a5b08a.bundle.js} +1 -1
- package/dist/{197.c071fa1fe9e081a3b053.bundle.js → 199.25f2dce1297a35e19bdd.bundle.js} +1 -1
- package/dist/{2.78b4e53269171c9c08a5.bundle.js → 2.4547822778f89e0f1b4d.bundle.js} +1 -1
- package/dist/{20.a767f3f92d8510e602d4.bundle.js → 20.754a69bb7c10e8862956.bundle.js} +1 -1
- package/dist/{198.3c5ca9ac5a745b4b23a1.bundle.js → 200.7b4a082084e3e55ecaba.bundle.js} +1 -1
- package/dist/{199.00ac5221a334189ea09a.bundle.js → 201.2b4b03df947fb51a40cd.bundle.js} +1 -1
- package/dist/{200.aa3f4dcf9cf98409dbf5.bundle.js → 202.64b671ed6bf003f7c812.bundle.js} +1 -1
- package/dist/{201.ec71ced13a1fefb48ac2.bundle.js → 203.8bb6288c9280676d1002.bundle.js} +1 -1
- package/dist/{202.20e71b18f57e7d234ff0.bundle.js → 204.f6be24d3d0984f2fe175.bundle.js} +1 -1
- package/dist/{203.0219c2ba2d4fe4881af2.bundle.js → 205.334863c88dc4c51220ce.bundle.js} +1 -1
- package/dist/{204.cc169603e18b84e7e65b.bundle.js → 206.ba12d617bafd9473a68a.bundle.js} +1 -1
- package/dist/{205.99fb3c89cd9b9183ddbf.bundle.js → 207.09d423857e3bc97b7a7f.bundle.js} +1 -1
- package/dist/{206.43b04d2170165e13353c.bundle.js → 208.8c867da91b1b92ca808a.bundle.js} +1 -1
- package/dist/{207.798c195e1d7d3f301131.bundle.js → 209.3cac79bf5d322720b184.bundle.js} +1 -1
- package/dist/{21.8209c5bb8d6226be6ea6.bundle.js → 21.f11b10b25ff953f42e35.bundle.js} +1 -1
- package/dist/{208.34f042066a757f4fd8c0.bundle.js → 210.a3a942ad3b0d71f9c658.bundle.js} +1 -1
- package/dist/{209.288844c6a42ff4d5685a.bundle.js → 211.c8608d4b5c8aa6f61ba8.bundle.js} +1 -1
- package/dist/{210.1ac38e393ca959703d4b.bundle.js → 212.fdf97058f3953784a368.bundle.js} +1 -1
- package/dist/{211.d2721b9785e609e2f817.bundle.js → 213.aba83d2b6e23e0ea161c.bundle.js} +1 -1
- package/dist/{212.b6b19c939f21132b451c.bundle.js → 214.88670845bbcb42c98ebb.bundle.js} +1 -1
- package/dist/{213.5a5116f764e6357e53ab.bundle.js → 215.4b2efa44ae1d65de9203.bundle.js} +1 -1
- package/dist/{214.a2640be51c42d820bb83.bundle.js → 216.ef1ec203a621c3590137.bundle.js} +1 -1
- package/dist/{215.209396a71f130477e2b3.bundle.js → 217.6e38672031d3ffd4103c.bundle.js} +1 -1
- package/dist/{216.16e2e982acc750b4045a.bundle.js → 218.63612d60efeb33a21d8f.bundle.js} +1 -1
- package/dist/{217.8540eb1d1a0946e72dbf.bundle.js → 219.65ef955595f983c0baa2.bundle.js} +1 -1
- package/dist/{22.9d339503774f4f6c0a8b.bundle.js → 22.a186cb4f1aa8a0b19de1.bundle.js} +1 -1
- package/dist/{218.ef33580c82d20f39f75f.bundle.js → 220.5a26043ac5382c844f09.bundle.js} +1 -1
- package/dist/{219.1652bc940cdd0088dc18.bundle.js → 221.eae64071b498c2c7c4df.bundle.js} +1 -1
- package/dist/{220.f8f9c348b1fc0cc72bd6.bundle.js → 222.8e090fd58648b6b54f92.bundle.js} +1 -1
- package/dist/223.67229159e219c6fdb1ff.bundle.js +1 -0
- package/dist/224.4cdc3898689e3ccb5404.bundle.js +1 -0
- package/dist/{23.e3de3e200d80d72afe02.bundle.js → 23.c9352d983b496e4cf72c.bundle.js} +1 -1
- package/dist/{24.057349cb66120daf4c4e.bundle.js → 24.8af3321f0960ae7bc014.bundle.js} +1 -1
- package/dist/{25.9299f9388d96ed4b97be.bundle.js → 25.74c3c01ba902d095525e.bundle.js} +1 -1
- package/dist/{26.7ddc010c3aa4c7a3f0eb.bundle.js → 26.ed66267122fa09792667.bundle.js} +1 -1
- package/dist/{27.5152c2a1f3b1369e21b0.bundle.js → 27.4102aa3ff38a307955c8.bundle.js} +1 -1
- package/dist/{28.833c206dedf826927b2e.bundle.js → 28.03239823b4ed3948015b.bundle.js} +1 -1
- package/dist/{29.bea28befc9ef8e1f184d.bundle.js → 29.69290c155f4bf9100eb0.bundle.js} +1 -1
- package/dist/{3.cf89087c137e759ecd19.bundle.js → 3.d8befc52a43ec8078374.bundle.js} +3 -3
- package/dist/{30.030d90c9357b6a09a423.bundle.js → 30.ab2c07caee2290d98b25.bundle.js} +1 -1
- package/dist/{31.ce2be87bd69611496fdf.bundle.js → 31.0a29136e1c23ec7154a2.bundle.js} +1 -1
- package/dist/{32.6725d94946764db833b8.bundle.js → 32.3a1c9256bad632b4caf4.bundle.js} +1 -1
- package/dist/{33.4946380f783ad92bf587.bundle.js → 33.240fd8a4a69e90fce599.bundle.js} +1 -1
- package/dist/{35.c6277b1733bb56ebb77f.bundle.js → 35.c6f60c48ea0405a7fb0e.bundle.js} +1 -1
- package/dist/{36.72e6e6001da4167c42fc.bundle.js → 36.68674659a3ecb401f03c.bundle.js} +1 -1
- package/dist/{37.15eb38b5e7c67604d2df.bundle.js → 37.19019691d1431eb88695.bundle.js} +1 -1
- package/dist/38.6055e1ecf3cc4897c7d6.bundle.js +1 -0
- package/dist/{4.17e90cc8791b3078f7f2.bundle.js → 4.57abfb8d1de487e8f511.bundle.js} +1 -1
- package/dist/{40.309ec5212fd53fe696bb.bundle.js → 40.21372bd68edacaf0d97a.bundle.js} +1 -1
- package/dist/{41.aba092368b9345fe062a.bundle.js → 41.3870740f1d24570cb415.bundle.js} +1 -1
- package/dist/{42.3d78a3aa611c675962fb.bundle.js → 42.b926c2c8620df5c7ed6d.bundle.js} +1 -1
- package/dist/{43.144a809e888a9f3e6035.bundle.js → 43.9711b97425fed66fcb07.bundle.js} +1 -1
- package/dist/47.880868f91c27cecdea66.bundle.js +1 -0
- package/dist/{47.19d84d51353da324399f.bundle.js → 48.9ae37ab1a9aa2980b55c.bundle.js} +1 -1
- package/dist/{5.7cfbc07050f137932ffe.bundle.js → 5.35f6805d105921183452.bundle.js} +1 -1
- package/dist/{50.d8c0fe9c4a8bbf8cbf58.bundle.js → 50.eb4cb8a99088a0664e65.bundle.js} +1 -1
- package/dist/{51.4f3e41ab41b59f359e84.bundle.js → 51.4c4429a81a7695c3abc7.bundle.js} +1 -1
- package/dist/{52.ed08d9de32fbb03170a1.bundle.js → 52.a4ec4caf20b8e2a5f12e.bundle.js} +1 -1
- package/dist/{53.0e96b9739e67da831aeb.bundle.js → 53.1cdfc4b961aa469c5d08.bundle.js} +1 -1
- package/dist/{54.220668833b7f4732d146.bundle.js → 54.c19864da119cee02c86e.bundle.js} +1 -1
- package/dist/{55.917f9fc02948849b1185.bundle.js → 55.9e634b513450dea1ed32.bundle.js} +1 -1
- package/dist/{56.d0fe2e2f05bb3e45c0b7.bundle.js → 56.6c40368d6c059ff9f6a1.bundle.js} +1 -1
- package/dist/{57.f3097d895908a5c14d56.bundle.js → 57.80864423e067951d31ae.bundle.js} +1 -1
- package/dist/{58.ff2b52ebb6d6bb67b9f6.bundle.js → 58.cbabbf3652d8020042a7.bundle.js} +1 -1
- package/dist/{59.11001f666650393fdaf8.bundle.js → 59.631690c6a816add6dd88.bundle.js} +1 -1
- package/dist/{6.c5eea752e1f541f494e8.bundle.js → 6.701036f61807b9eeaef8.bundle.js} +1 -1
- package/dist/{60.7e65a6c5670a1ac562e2.bundle.js → 60.cf78e3ad4241e140dbbc.bundle.js} +1 -1
- package/dist/{61.3ba84cc3819eb17de234.bundle.js → 61.2f1d9d0b8b02623f2bd8.bundle.js} +1 -1
- package/dist/{62.2d331d4634959f64f7ce.bundle.js → 62.34c0e8599062cbef01d4.bundle.js} +1 -1
- package/dist/{63.96b16e7916f446e1a74d.bundle.js → 63.7fa193f258fec84699d6.bundle.js} +1 -1
- package/dist/{64.fdd90fedc8a5dc3cacaf.bundle.js → 64.5a7221a3708505138ab8.bundle.js} +1 -1
- package/dist/{65.385dff0daed228cead67.bundle.js → 65.3b10c3760564d8cd3329.bundle.js} +1 -1
- package/dist/{66.49324c26c968bb61453b.bundle.js → 66.ce9cf374ed346d63778a.bundle.js} +1 -1
- package/dist/{67.cd23d15626be33cc84c7.bundle.js → 67.4bb2b4c6a751aa18a150.bundle.js} +1 -1
- package/dist/{69.1255e8072e739c4b3486.bundle.js → 69.c5561c83fe410ea9a908.bundle.js} +1 -1
- package/dist/{7.14f008aaac190939acd3.bundle.js → 7.2a02ac01a3433e8f59be.bundle.js} +1 -1
- package/dist/{70.fe6fbd7331d2373c8a24.bundle.js → 70.f2557c225be5923bab24.bundle.js} +1 -1
- package/dist/{72.6e8d51e0d240af360ab5.bundle.js → 72.0780a8424293909f94a4.bundle.js} +1 -1
- package/dist/{74.042e0bb0fcc0661d32b0.bundle.js → 74.48e90caf0b5ecd351f1d.bundle.js} +1 -1
- package/dist/{78.569dd71e4cc7ac3a4383.bundle.js → 78.66f3e9630550f20287ff.bundle.js} +1 -1
- package/dist/{79.29d39a29721f936ae688.bundle.js → 79.f8265414aa73f55b18a2.bundle.js} +1 -1
- package/dist/8.7984d6b8a1d3298057e8.bundle.js +2 -0
- package/dist/{83.a59d34bc50cf323af43d.bundle.js → 83.ce08b97156258913f3d9.bundle.js} +1 -1
- package/dist/{87.7efe382329921dae6a63.bundle.js → 87.b76338a62297ad83960b.bundle.js} +1 -1
- package/dist/{89.560e5a053d8dcbaca38a.bundle.js → 89.90bb1cf65f183ecce47c.bundle.js} +1 -1
- package/dist/{8.1893fcb7fc2f0fc7c83e.bundle.js → 9.f943a135cabbb0c939a2.bundle.js} +2 -2
- package/dist/{91.08b1de35f973e0283974.bundle.js → 91.2437dfc2ea1bc89f53f3.bundle.js} +1 -1
- package/dist/{99.a89c13f7abc4e0374809.bundle.js → 99.6360b70da56083cd76fe.bundle.js} +1 -1
- package/dist/{bundle.3b4bcf1d306742531790.bundle.js → bundle.7828b6aa95f6fc2405b0.bundle.js} +8 -8
- package/dist/i18n/locale-en.json +9 -0
- package/dist/i18n/locale-fr.json +9 -0
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/export/templates/exportSettingsModal.html +57 -0
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/{main.948c3b96766ce09e145b.bundle.js → main.92b5bcc6bf8ef935fa9f.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +1 -1
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +4 -4
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +20 -2
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +11 -11
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +1 -1
- package/dist/pages/jdbc-create.html +5 -5
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-template-create.html +5 -5
- package/dist/pages/sparql.html +3 -3
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger/index.html +27 -27
- package/dist/{vendor.7b6ede99ef82acd3dcf5.bundle.js → vendor.ab04453a43d2b687f422.bundle.js} +3 -3
- package/package.json +1 -1
- package/dist/123.c6957ecb441d8a09932a.bundle.js +0 -1
- package/dist/124.27e85a0284e2ebeb7d6e.bundle.js +0 -1
- package/dist/18.8351ac2380235200c997.bundle.js +0 -2
- package/dist/221.b18a92f0ba880edaebbf.bundle.js +0 -1
- package/dist/222.a52ebecd1d5201437ebe.bundle.js +0 -1
- package/dist/38.fc172c7b0d24ab0f8a35.bundle.js +0 -1
- package/dist/48.5334aa76217b85ac729a.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{142:function(t,e,n){"use strict";n.r(e);n(7),n(25);const r="UPLOADING",i="PENDING",s="ERROR",a="DONE",o="NONE",l=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.uriutils","graphdb.framework.guides.services"]);l.controller("CommonCtrl",["$scope","$http","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService",function(t,e,n,r,i,o,l,c,u,p,f,m,d){t.files=[],t.fileChecked={},t.checkAll=!1,t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileQuery="",t.getAppData=function(){f.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let n=0;n<e.length;n++)t.appData.properties[e[n].key]={source:e[n].source,value:e[n].value};t.maxUploadFileSizeMB=t.appData.properties["graphdb.workbench.maxUploadSize"].value/1048576})).error((function(t){const e=getError(t);n.error(e,p.instant("common.error"))}))},t.getAppData(),t.fileFormats=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];{const e=_.map(t.fileFormats,(function(t){return"."+t+".gz"})),n=_.map(t.fileFormats,(function(t){return"."+t}));t.fileFormatsExtended=_.reduce(_.union(e,n,[".zip"]),(function(t,e){return t+", "+e})),t.fileFormatsHuman=_.reduce(n,(function(t,e){return t+" "+e}))+p.instant("import.gz.zip"),t.textFileFormatsHuman=_.reduce(_.filter(n,(function(t){return".brf"!==t})),(function(t,e){return t+" "+e}))}t.updateListHttp=function(r){e({method:"GET",url:t.getBaseUrl()}).success((function(e){0===t.files.length||r?(t.files=e,_.forEach(t.files,(function(e){e.type||(e.type=t.defaultType)})),t.rebatch()):t.files.forEach((function(n){const r=_.find(e,_.matches({name:n.name}));n.status&&r&&_.assign(n,r),n.type||(n.type=t.defaultType)})),r&&"user"===t.viewType&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status}))),t.showClearStatuses=_.filter(t.files,(function(t){return t.status===a||t.status===s})).length>0,t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),t.loader=!1})).error((function(e){n.warning(p.instant("import.error.could.not.get.files",{data:getError(e)})),t.loader=!1}))},t.$watch((function(){return $(t.tabId).is(":visible")}),(function(){$(t.tabId).is(":visible")&&(t.updateListHttp(!1),u.hash(t.viewType))})),t.updateList=function(e){t.canWriteActiveRepo()&&$(t.tabId).is(":visible")&&t.updateListHttp(e)},t.init=function(){t.setRestricted(),t.isRestricted||(t.updateList(!0),t.getSettings())},t.$on("repositoryIsSet",t.init),t.pullList=function(){const e=r((function(){t.updating||t.updateList(!1)}),4e3);t.$on("$destroy",(function(){r.cancel(e)}))},t.getVisibleFiles=function(){return l("filter")(t.files,{name:t.fileQuery,type:t.getTypeFilter()})},t.getTypeFilter=function(){return"server"!==t.viewType||"file"!==t.showItems&&"directory"!==t.showItems?"":t.showItems},t.selectAllFiles=function(){t.getVisibleFiles().forEach((function(e){t.fileChecked[e.name]=t.checkAll&&t.importable(e)}))},t.getSettingsFor=function(e,n){return n||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?_.cloneDeep(t.defaultSettings):t.savedSettings[e]},t.setSettingsFor=function(e,n){t.settingsFor=e,t.settings=t.getSettingsFor(e,n),t.settings.isJSONLDFile=e.endsWith("jsonld");const r={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalCtrl",resolve:{settings:function(){return _.cloneDeep(t.settings)},hasParserSettings:t.isLocalLocation,defaultSettings:function(){return t.defaultSettings},isMultiple:function(){return!e}},size:"lg"};m.isActive()&&(r.backdrop="static",r.keyboard=!1);o.open(r).result.then((function(e){t.settings=e,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)}),(function(e){t.settings=e}))},t.updateImport=function(e,n){t.settingsFor=e,t.settings=t.getSettingsFor(e,n),t.importFile(e,!1)},t.stopImport=function(r){e({method:"DELETE",url:t.getBaseUrl(),params:{name:r.name,type:r.type}}).success((function(){t.updateList()})).error((function(t){n.warning(p.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.importable=function(){return!0},t.hasImportable=function(){return _.filter(t.files,(function(e){return t.importable(e)})).length>0},t.showTable=function(){const e=t.files.length>0&&("user"===t.viewType||"server"===t.viewType);return t.checkAll&&t.switchBatch(!0),e},t.switchBatch=function(e){e?t.selectAllFiles():t.checkAll&&(t.checkAll=!1),t.batch=_.map(_.filter(t.files,(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name").length>0},t.rebatch=function(){const e={};t.batch=!1,_.each(t.files,(function(n){e[n.name]=t.fileChecked[n.name],t.batch|=t.fileChecked[n.name]})),t.batch||(t.checkAll=!1),t.fileChecked=e},t.getSelectedFiles=function(){return _.map(_.filter(t.getVisibleFiles(),(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name")},t.importSelected=function(e){const n=t.getSelectedFiles(),r=function(){const i=n.shift();i&&(e&&(t.settings=t.getSettingsFor(i)),t.importFile(i,!0,r))};r()};const g=function(r,i){e({method:"DELETE",url:t.getBaseUrl()+"/status",params:{remove:i},data:r,headers:{"Content-type":"application/json;charset=utf-8"}}).success((function(){t.updateList(!0)})).error((function(t){n.warning(p.instant("import.error.could.not.clear",{data:getError(t)}))}))};t.resetStatus=function(t){g(t,!1)},t.resetStatusSelected=function(){t.resetStatus(t.getSelectedFiles())},t.removeEntry=function(t=[]){d.openConfirmation(p.instant("common.confirm"),p.instant("import.remove.confirm.msg",{name:t.join(", ")}),()=>{g(t,!0)})},t.removeEntrySelected=function(){t.removeEntry(t.getSelectedFiles())},t.isLocalLocation=function(){const t=i.getActiveLocation();return t&&t.local},t.filterSettings=function(e){let n=_.omitBy(t.savedSettings[e],_.isNull);return n=_.omit(n,["repoLocationHash","status","message","name","data","type","format","fileNames","$$hashKey"]),_.map(_.keys(n),(function(t){return[t,n[t]]}))},t.getSettings=function(){t.canWriteActiveRepo()&&e({method:"GET",url:"rest/repositories/"+i.getActiveRepository()+"/import/settings/default"}).success((function(e){t.defaultSettings=e})).error((function(t){n.warning(p.instant("import.error.default.settings",{data:getError(t)}))}))},t.getBaseUrl=function(){return"rest/repositories/"+i.getActiveRepository()+"/import/"+t.viewUrl},t.pritifySettings=function(t){return JSON.stringify(t,null," ")},t.toTitleCase=function(t){return t?_.upperFirst(t.toLowerCase()):t}}]),l.controller("ImportCtrl",["$scope","$http","toastr","$controller","$translate",function(t,e,n,r,i){t.loader=!0,angular.extend(this,r("CommonCtrl",{$scope:t})),t.viewUrl="server",t.defaultType="server",t.tabId="#import-server",t.showItems="all",t.pullList();const s=function(r,s){t.canWriteActiveRepo()&&e({method:"POST",url:t.getBaseUrl(),data:{importSettings:s?null:t.settings,fileNames:r}}).success((function(){t.updateList(),t.batch=!1,t.fileChecked={}})).error((function(t){n.error(i.instant("import.could.not.send.file",{data:getError(t)}))}))};t.importSelected=function(e){const n=t.getSelectedFiles();s(n,e)},t.importFile=function(t){s([t])},t.init()}]),l.controller("UploadCtrl",["$scope","Upload","$http","toastr","$controller","$uibModal","$translate",function(t,e,n,a,l,c,u){t.loader=!0,angular.extend(this,l("CommonCtrl",{$scope:t})),t.viewUrl="upload",t.defaultType="file",t.tabId="#import-user",t.pullList(),t.currentFiles=[],t.importable=function(){return!0},t.fileSelected=function(t,e,n,r,i){i.length>0&&i.forEach((function(t){a.warning(u.instant("import.large.file",{name:t.name,size:Math.floor(t.size/1048576)}))}))},t.$watchCollection("currentFiles",(function(){t.currentFiles&&t.currentFiles.forEach((function(e){if("bz2"===e.name.substr(e.name.lastIndexOf(".")+1)){const n=t.currentFiles.indexOf(e);n>-1&&t.currentFiles.splice(n,1),a.error(u.instant("import.could.not.upload",{name:e.name}))}})),t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),_.each(t.currentFiles,(function(e){t.updateImport(e.name)}))})),t.importFile=function(o,l,c){const p=_.findIndex(t.files,{name:o});if(p<0)a.warning(u.instant("import.no.such.file",{name:o}));else{const o=t.files[p];if("text"===o.type)t.settings.name=o.name,t.settings.type=o.type,t.settings.data=o.data,t.settings.format=o.format,o.status=i,n({method:"POST",url:t.getBaseUrl()+(l?"":"/update")+"/text",data:t.settings}).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.send.data",{data:getError(t)})),o.status=s,o.message=getError(t)})).finally(c||function(){});else if("url"===o.type)t.settings.name=o.name,t.settings.type=o.type,t.settings.data=o.data,t.settings.format=o.format,o.status=i,n({method:"POST",url:t.getBaseUrl()+(l?"":"/update")+"/url",data:t.settings}).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.send.url",{data:getError(t)}))})).finally(c||function(){});else{let n;t.settings.name=o.name,n=o.file?{file:o.file,importSettings:e.jsonBlob(t.settings)}:{importSettings:e.jsonBlob(t.settings)},e.upload({url:t.getBaseUrl()+(l?"":"/update")+"/file",data:n}).progress((function(t){if(o.file?(o.file=null,o.status=r):o.status!==r&&(o.status=i),o.status===r){const e=parseInt(100*t.loaded/t.total);o.message=e+"% uploaded"}})).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.upload.file",{data:getError(t)})),o.status=s,o.message=getError(t)})).finally(c||function(){})}}},t.updateTextImport=function(e){t.updating=!0,n({method:"POST",url:t.getBaseUrl()+"/update/text",data:e}).success((function(t){})).error((function(t){a.error(u.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},t.pastedDataIdx=1;const p=function(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")};t.pasteData=function(e){e&&e.data;c.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"TextCtrl",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then((function(n){e?(e.data===n.text&&e.format===n.format||e.status===o||(e.status=o,e.message=u.instant("import.text.snippet.not.imported")),e.data=n.text,e.format=n.format,t.updateTextImport(e)):(e={type:"text",name:"Text snippet "+p(),format:n.format,data:n.text},t.files.unshift(e),t.updateImport(e.name)),n.startImport&&t.setSettingsFor(e.name)}))},t.rdfDataFromURL=function(){c.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"UrlCtrl",scope:t}).result.then((function(e){const n=_.find(t.files,{type:"url",name:e.url});n?n.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0),e.startImport&&t.setSettingsFor(e.url,!0)}))},t.init()}]),l.controller("UrlCtrl",["$scope","$uibModalInstance","toastr",function(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}]),l.controller("TextCtrl",["$scope","$uibModalInstance","text","format",function(t,e,n,r){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=n,t.importFormat=_.find(t.importFormats,{type:r}),t.startImport=!0,t.setFormat=function(e){t.importFormat=e},t.cancel=function(){e.dismiss()},t.ok=function(){e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}]),l.controller("TabCtrl",["$scope","$location",function(t,e){t.viewType=e.hash(),"user"!==t.viewType&&"server"!==t.viewType&&(t.viewType="user"),t.isCollapsed=!1,"user"===t.viewType?t.templateUrl="js/angular/import/templates/uploadInfo.html":t.templateUrl="js/angular/import/templates/importInfo.html",t.changeHelpTemplate=function(e){t.templateUrl="js/angular/import/templates/"+e},t.commonUrl="js/angular/import/templates/commonInfo.html"}]),l.controller("SettingsModalCtrl",["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","$translate",function(t,e,n,r,i,s,a,o,l){t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.settings=i,t.hasParserSettings=s,t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data",t.isMultiple=o,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length);const c=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(c(),e.close(t.settings))},t.cancel=function(){c(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(a),t.target="data"},t.addReplaceGraph=function(e){let i=!0;"default"!==e&&(i=r.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",i),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):n.warning(l.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,n){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(n))},t.showAdvancedSettings=!1,t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings}}])}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{143:function(t,e,n){"use strict";n.r(e);n(7),n(25);const r="UPLOADING",i="PENDING",s="ERROR",a="DONE",o="NONE",l=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.uriutils","graphdb.framework.guides.services"]);l.controller("CommonCtrl",["$scope","$http","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService",function(t,e,n,r,i,o,l,c,u,p,f,m,d){t.files=[],t.fileChecked={},t.checkAll=!1,t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileQuery="",t.getAppData=function(){f.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let n=0;n<e.length;n++)t.appData.properties[e[n].key]={source:e[n].source,value:e[n].value};t.maxUploadFileSizeMB=t.appData.properties["graphdb.workbench.maxUploadSize"].value/1048576})).error((function(t){const e=getError(t);n.error(e,p.instant("common.error"))}))},t.getAppData(),t.fileFormats=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];{const e=_.map(t.fileFormats,(function(t){return"."+t+".gz"})),n=_.map(t.fileFormats,(function(t){return"."+t}));t.fileFormatsExtended=_.reduce(_.union(e,n,[".zip"]),(function(t,e){return t+", "+e})),t.fileFormatsHuman=_.reduce(n,(function(t,e){return t+" "+e}))+p.instant("import.gz.zip"),t.textFileFormatsHuman=_.reduce(_.filter(n,(function(t){return".brf"!==t})),(function(t,e){return t+" "+e}))}t.updateListHttp=function(r){e({method:"GET",url:t.getBaseUrl()}).success((function(e){0===t.files.length||r?(t.files=e,_.forEach(t.files,(function(e){e.type||(e.type=t.defaultType)})),t.rebatch()):t.files.forEach((function(n){const r=_.find(e,_.matches({name:n.name}));n.status&&r&&_.assign(n,r),n.type||(n.type=t.defaultType)})),r&&"user"===t.viewType&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status}))),t.showClearStatuses=_.filter(t.files,(function(t){return t.status===a||t.status===s})).length>0,t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),t.loader=!1})).error((function(e){n.warning(p.instant("import.error.could.not.get.files",{data:getError(e)})),t.loader=!1}))},t.$watch((function(){return $(t.tabId).is(":visible")}),(function(){$(t.tabId).is(":visible")&&(t.updateListHttp(!1),u.hash(t.viewType))})),t.updateList=function(e){t.canWriteActiveRepo()&&$(t.tabId).is(":visible")&&t.updateListHttp(e)},t.init=function(){t.setRestricted(),t.isRestricted||(t.updateList(!0),t.getSettings())},t.$on("repositoryIsSet",t.init),t.pullList=function(){const e=r((function(){t.updating||t.updateList(!1)}),4e3);t.$on("$destroy",(function(){r.cancel(e)}))},t.getVisibleFiles=function(){return l("filter")(t.files,{name:t.fileQuery,type:t.getTypeFilter()})},t.getTypeFilter=function(){return"server"!==t.viewType||"file"!==t.showItems&&"directory"!==t.showItems?"":t.showItems},t.selectAllFiles=function(){t.getVisibleFiles().forEach((function(e){t.fileChecked[e.name]=t.checkAll&&t.importable(e)}))},t.getSettingsFor=function(e,n){return n||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?_.cloneDeep(t.defaultSettings):t.savedSettings[e]},t.setSettingsFor=function(e,n){t.settingsFor=e,t.settings=t.getSettingsFor(e,n),t.settings.isJSONLDFile=e.endsWith("jsonld");const r={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalCtrl",resolve:{settings:function(){return _.cloneDeep(t.settings)},hasParserSettings:t.isLocalLocation,defaultSettings:function(){return t.defaultSettings},isMultiple:function(){return!e}},size:"lg"};m.isActive()&&(r.backdrop="static",r.keyboard=!1);o.open(r).result.then((function(e){t.settings=e,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)}),(function(e){t.settings=e}))},t.updateImport=function(e,n){t.settingsFor=e,t.settings=t.getSettingsFor(e,n),t.importFile(e,!1)},t.stopImport=function(r){e({method:"DELETE",url:t.getBaseUrl(),params:{name:r.name,type:r.type}}).success((function(){t.updateList()})).error((function(t){n.warning(p.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.importable=function(){return!0},t.hasImportable=function(){return _.filter(t.files,(function(e){return t.importable(e)})).length>0},t.showTable=function(){const e=t.files.length>0&&("user"===t.viewType||"server"===t.viewType);return t.checkAll&&t.switchBatch(!0),e},t.switchBatch=function(e){e?t.selectAllFiles():t.checkAll&&(t.checkAll=!1),t.batch=_.map(_.filter(t.files,(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name").length>0},t.rebatch=function(){const e={};t.batch=!1,_.each(t.files,(function(n){e[n.name]=t.fileChecked[n.name],t.batch|=t.fileChecked[n.name]})),t.batch||(t.checkAll=!1),t.fileChecked=e},t.getSelectedFiles=function(){return _.map(_.filter(t.getVisibleFiles(),(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name")},t.importSelected=function(e){const n=t.getSelectedFiles(),r=function(){const i=n.shift();i&&(e&&(t.settings=t.getSettingsFor(i)),t.importFile(i,!0,r))};r()};const g=function(r,i){e({method:"DELETE",url:t.getBaseUrl()+"/status",params:{remove:i},data:r,headers:{"Content-type":"application/json;charset=utf-8"}}).success((function(){t.updateList(!0)})).error((function(t){n.warning(p.instant("import.error.could.not.clear",{data:getError(t)}))}))};t.resetStatus=function(t){g(t,!1)},t.resetStatusSelected=function(){t.resetStatus(t.getSelectedFiles())},t.removeEntry=function(t=[]){d.openConfirmation(p.instant("common.confirm"),p.instant("import.remove.confirm.msg",{name:t.join(", ")}),()=>{g(t,!0)})},t.removeEntrySelected=function(){t.removeEntry(t.getSelectedFiles())},t.isLocalLocation=function(){const t=i.getActiveLocation();return t&&t.local},t.filterSettings=function(e){let n=_.omitBy(t.savedSettings[e],_.isNull);return n=_.omit(n,["repoLocationHash","status","message","name","data","type","format","fileNames","$$hashKey"]),_.map(_.keys(n),(function(t){return[t,n[t]]}))},t.getSettings=function(){t.canWriteActiveRepo()&&e({method:"GET",url:"rest/repositories/"+i.getActiveRepository()+"/import/settings/default"}).success((function(e){t.defaultSettings=e})).error((function(t){n.warning(p.instant("import.error.default.settings",{data:getError(t)}))}))},t.getBaseUrl=function(){return"rest/repositories/"+i.getActiveRepository()+"/import/"+t.viewUrl},t.pritifySettings=function(t){return JSON.stringify(t,null," ")},t.toTitleCase=function(t){return t?_.upperFirst(t.toLowerCase()):t}}]),l.controller("ImportCtrl",["$scope","$http","toastr","$controller","$translate",function(t,e,n,r,i){t.loader=!0,angular.extend(this,r("CommonCtrl",{$scope:t})),t.viewUrl="server",t.defaultType="server",t.tabId="#import-server",t.showItems="all",t.pullList();const s=function(r,s){t.canWriteActiveRepo()&&e({method:"POST",url:t.getBaseUrl(),data:{importSettings:s?null:t.settings,fileNames:r}}).success((function(){t.updateList(),t.batch=!1,t.fileChecked={}})).error((function(t){n.error(i.instant("import.could.not.send.file",{data:getError(t)}))}))};t.importSelected=function(e){const n=t.getSelectedFiles();s(n,e)},t.importFile=function(t){s([t])},t.init()}]),l.controller("UploadCtrl",["$scope","Upload","$http","toastr","$controller","$uibModal","$translate",function(t,e,n,a,l,c,u){t.loader=!0,angular.extend(this,l("CommonCtrl",{$scope:t})),t.viewUrl="upload",t.defaultType="file",t.tabId="#import-user",t.pullList(),t.currentFiles=[],t.importable=function(){return!0},t.fileSelected=function(t,e,n,r,i){i.length>0&&i.forEach((function(t){a.warning(u.instant("import.large.file",{name:t.name,size:Math.floor(t.size/1048576)}))}))},t.$watchCollection("currentFiles",(function(){t.currentFiles&&t.currentFiles.forEach((function(e){if("bz2"===e.name.substr(e.name.lastIndexOf(".")+1)){const n=t.currentFiles.indexOf(e);n>-1&&t.currentFiles.splice(n,1),a.error(u.instant("import.could.not.upload",{name:e.name}))}})),t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),_.each(t.currentFiles,(function(e){t.updateImport(e.name)}))})),t.importFile=function(o,l,c){const p=_.findIndex(t.files,{name:o});if(p<0)a.warning(u.instant("import.no.such.file",{name:o}));else{const o=t.files[p];if("text"===o.type)t.settings.name=o.name,t.settings.type=o.type,t.settings.data=o.data,t.settings.format=o.format,o.status=i,n({method:"POST",url:t.getBaseUrl()+(l?"":"/update")+"/text",data:t.settings}).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.send.data",{data:getError(t)})),o.status=s,o.message=getError(t)})).finally(c||function(){});else if("url"===o.type)t.settings.name=o.name,t.settings.type=o.type,t.settings.data=o.data,t.settings.format=o.format,o.status=i,n({method:"POST",url:t.getBaseUrl()+(l?"":"/update")+"/url",data:t.settings}).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.send.url",{data:getError(t)}))})).finally(c||function(){});else{let n;t.settings.name=o.name,n=o.file?{file:o.file,importSettings:e.jsonBlob(t.settings)}:{importSettings:e.jsonBlob(t.settings)},e.upload({url:t.getBaseUrl()+(l?"":"/update")+"/file",data:n}).progress((function(t){if(o.file?(o.file=null,o.status=r):o.status!==r&&(o.status=i),o.status===r){const e=parseInt(100*t.loaded/t.total);o.message=e+"% uploaded"}})).success((function(){t.updateList()})).error((function(t){a.error(u.instant("import.could.not.upload.file",{data:getError(t)})),o.status=s,o.message=getError(t)})).finally(c||function(){})}}},t.updateTextImport=function(e){t.updating=!0,n({method:"POST",url:t.getBaseUrl()+"/update/text",data:e}).success((function(t){})).error((function(t){a.error(u.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},t.pastedDataIdx=1;const p=function(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")};t.pasteData=function(e){e&&e.data;c.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"TextCtrl",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then((function(n){e?(e.data===n.text&&e.format===n.format||e.status===o||(e.status=o,e.message=u.instant("import.text.snippet.not.imported")),e.data=n.text,e.format=n.format,t.updateTextImport(e)):(e={type:"text",name:"Text snippet "+p(),format:n.format,data:n.text},t.files.unshift(e),t.updateImport(e.name)),n.startImport&&t.setSettingsFor(e.name)}))},t.rdfDataFromURL=function(){c.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"UrlCtrl",scope:t}).result.then((function(e){const n=_.find(t.files,{type:"url",name:e.url});n?n.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0),e.startImport&&t.setSettingsFor(e.url,!0)}))},t.init()}]),l.controller("UrlCtrl",["$scope","$uibModalInstance","toastr",function(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}]),l.controller("TextCtrl",["$scope","$uibModalInstance","text","format",function(t,e,n,r){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=n,t.importFormat=_.find(t.importFormats,{type:r}),t.startImport=!0,t.setFormat=function(e){t.importFormat=e},t.cancel=function(){e.dismiss()},t.ok=function(){e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}]),l.controller("TabCtrl",["$scope","$location",function(t,e){t.viewType=e.hash(),"user"!==t.viewType&&"server"!==t.viewType&&(t.viewType="user"),t.isCollapsed=!1,"user"===t.viewType?t.templateUrl="js/angular/import/templates/uploadInfo.html":t.templateUrl="js/angular/import/templates/importInfo.html",t.changeHelpTemplate=function(e){t.templateUrl="js/angular/import/templates/"+e},t.commonUrl="js/angular/import/templates/commonInfo.html"}]),l.controller("SettingsModalCtrl",["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","$translate",function(t,e,n,r,i,s,a,o,l){t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.settings=i,t.hasParserSettings=s,t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data",t.isMultiple=o,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length);const c=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(c(),e.close(t.settings))},t.cancel=function(){c(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(a),t.target="data"},t.addReplaceGraph=function(e){let i=!0;"default"!==e&&(i=r.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",i),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):n.warning(l.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,n){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(n))},t.showAdvancedSettings=!1,t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{194:function(e,l){PluginRegistry.add("route",{url:"/plugins",module:"graphdb.framework.plugins",path:"plugins/app",chunk:"plugins",controller:"PluginsCtrl",templateUrl:"pages/plugins.html",title:"menu.plugins.label",helpInfo:"view.plugins.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:"Plugins",labelKey:"menu.plugins.label",href:"plugins",order:25,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-plugins"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{196:function(e,r){PluginRegistry.add("route",{url:"/monitor/queries",module:"graphdb.framework.jmx.queries",path:"queries/app",chunk:"monitor-queries",controller:"QueriesCtrl",templateUrl:"pages/monitor/queries.html",title:"view.query.and.update.monitoring.title",helpInfo:"view.query.and.update.monitoring.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Monitor",labelKey:"menu.monitor.label",href:"#",order:3,role:"ROLE_USER",icon:"icon-monitoring",guideSelector:"menu-monitor"},{label:"Queries and Updates",labelKey:"menu.queries.and.updates.label",href:"monitor/queries",order:1,parent:"Monitor",guideSelector:"sub-menu-queries-and-updates"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{198:function(e,r){PluginRegistry.add("route",{url:"/rdfrank",module:"graphdb.framework.rdfrank",path:"rdfrank/app",chunk:"rdfrank",controller:"RDFRankCtrl",templateUrl:"pages/rdfrank.html",title:"view.rdf.rank.title",helpInfo:"view.rdf.rank.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:"RDF Rank",labelKey:"view.rdf.rank.title",href:"rdfrank",order:45,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-rdf-rank"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{139:function(e,t,r){"use strict";r.r(t);var o=r(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{139:function(e,t,r){"use strict";r.r(t);var o=r(73);const a={OBDA:"obdaFile",OWL:"owlFile",CONSTRAINT:"constraintFile",LENSES:"lensesFile",DB_METADATA:"dbMetadataFile"};class n{constructor(e="generic"){this.driverType=e,this.hostName="",this.port=void 0,this.databaseName="",this.username="",this.password="",this.driverClass="",this.url="",this.urlUserInput=""}}class i{constructor(e,t=!1){this.type=e,this.fileName="",this.loading=!1,this.required=t}}class s extends Error{}const l="generic",p="dremio",c="databricks",d="snowflake";class m{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(e){return e===l}static isSnowflakeDriver(e){return e===d}}function f(e,t,r,f,u){return{restrict:"E",scope:!1,templateUrl:"js/angular/repositories/templates/ontop-repo.html",link:function(v){v.isGenericDriver=!0,v.defaultUrlTemplate="jdbc:database://localhost:port/database_name",v.ontopProperiesLink="https://ontop-vkg.org/guide/advanced/configuration.html",v.ontopFileType=a,v.selectedDriver=new m,v.supportedDriversData=[],v.formData={connectionInformation:new n,settings:{additionalProperties:"",ontopFiles:[]}},v.selectDriver=e=>{v.selectedDriver=v.supportedDriversData.find(t=>t.driverType===e),v.isGenericDriver=m.isGenericDriver(v.selectedDriver.driverType),v.editRepoPage&&v.currentOntopRepoInfo&&v.currentOntopRepoInfo.connectionInformation.driverType===e?v.formData=_.cloneDeep(v.currentOntopRepoInfo):(k(),v.formData.connectionInformation.driverType=v.selectedDriver.driverType),v.formData.connectionInformation.driverClass=v.selectedDriver.driverClass,v.updateUrl()},v.getOntopFileInfo=e=>v.formData.settings.ontopFiles.find(t=>e===t.type),v.getHostNameLabel=()=>{const e=m.isSnowflakeDriver(v.selectedDriver.driverType)?"ontop.repo.database.snowflake.host_name":"ontop.repo.database.host_name";return u.instant(e)+"*"},v.getDatabaseNameLabel=()=>{let e="";switch(v.selectedDriver.driverType){case d:e="ontop.repo.database.warehouse.database_name";break;case c:e="ontop.repo.database.http_path.database_name";break;case p:e="ontop.repo.database.schema.database_name";break;default:e="ontop.repo.database.database_name"}return u.instant(e)},v.updateUrl=()=>{const e=h()||"";v.formData.connectionInformation.url=e+v.formData.connectionInformation.urlUserInput},v.isTestConnectionDisabled=()=>{const e=v.formData.connectionInformation,t=v.selectedDriver;return!(e.driverClass&&e.url&&(!t.portRequired||e.port))||!(m.isGenericDriver(t.driverType)||e.hostName&&e.databaseName)},v.testConnection=()=>{w().then(R).then(T).then(P).then(F).then(b).then(()=>t.validateOntopPropertiesConnection(v.repositoryInfo)).then(()=>r.success(u.instant("ontop.repo.successful.connection.msg"))).catch(e=>{e instanceof s?r.error(e.message):N(u.instant("ontop.repo.failed.to.connect"),e)})},v.editFile=r=>{const a=v.repositoryInfo.params[r.type].label,n=u.instant("update.file.edit.content.header",{fileName:a});e.open({templateUrl:"js/angular/templates/modal/editRepoFile.html",controller:"EditRepositoryFileCtrl",windowClass:"update-ontop-repo-dialog",resolve:{file:()=>{const e=v.repositoryInfo.params[r.type];return e?e.value:""},dialogTitle:()=>n}}).result.then(e=>{t.updateRepositoryFileContent(e.fileLocation,e.content,v.repositoryInfo.location).success(e=>{r.fileName=Object(o.getFileName)(e.fileLocation),v.repositoryInfo.params[r.type].value=e.fileLocation}).error(e=>{N(u.instant("common.error"),e)})})},v.uploadOntopFile=(e,t)=>{if(e&&e.length){const o=e[0];t.loading=!0;const a={url:"rest/repositories/file/upload",data:{file:o,location:v.repositoryInfo.location}};f.upload(a).success(e=>{e.success?(t.fileName=o.name,v.repositoryInfo.params[t.type].value=e.fileLocation):r.error(e.errorMessage)}).error(e=>{N(u.instant("common.error"),e),v.uploadFile=""}).finally(()=>{t.loading=!1})}},v.updateOntopRepo=()=>{const e=v.editRepoPage?v.editRepository:v.createRepo;O().then(w).then(R).then(T).then(P).then(F).then(C).then(b).then(e).catch(e=>{e instanceof s?r.error(e.message):console.log(e)})},v.onKeyDownInUrlInput=e=>{const t=e.keyCode;if(37===t||39===t||36===t||35===t)return;const r=h();if(!r)return;const o=e.ctrlKey||e.metaKey;if(o&&65===t||o&&67===t)return;const a=e.target.selectionStart;8===t&&a-1<r.length&&(e.preventDefault(),e.stopPropagation()),a<r.length&&(e.preventDefault(),e.stopPropagation())},v.onKeyUpInUrlInput=()=>{D()};const D=()=>{const e=h();e&&v.formData.connectionInformation.url.startsWith(e)?v.formData.connectionInformation.urlUserInput=v.formData.connectionInformation.url.substring(e.length):v.formData.connectionInformation.urlUserInput=v.formData.connectionInformation.url},h=()=>m.isSnowflakeDriver(v.selectedDriver.driverType)?I():g(),I=()=>{let e=v.selectedDriver.urlTemplate;const t=v.formData.connectionInformation;return t.hostName&&(e=e.replace("{identifier}",t.hostName)),t.port&&(e=e.replace(".snowflakecomputing.com/?",`.snowflakecomputing.com:${t.port}/?`)),t.databaseName&&(e=e.replace("{database}",t.databaseName)),e},g=()=>{let e=v.selectedDriver.urlTemplate;const t=v.formData.connectionInformation;return t.hostName&&(e=t.port?e.replace("{hostport}",`${t.hostName}:${t.port}`):e.replace("{hostport}",""+t.hostName)),t.databaseName&&(e=e.replace("{database}",t.databaseName)),e},y=e=>{v.formData.settings.ontopFiles.forEach(t=>{t.loading=e})},b=()=>{y(!0);const e=v.formData.connectionInformation,r={hostName:e.hostName,port:e.port,databaseName:e.databaseName,userName:e.username,password:e.password,driverClass:e.driverClass,url:e.url,additionalProperties:v.formData.settings.additionalProperties};return t.updatePropertiesFile(v.repositoryInfo.params.propertiesFile.value,r,v.repositoryInfo.location,v.selectedDriver.driverType).success(e=>{v.repositoryInfo.params.propertiesFile.value=e.fileLocation}).error(e=>{N(u.instant("common.error"),e)}).finally(()=>y(!1))},N=(e,t)=>{const o=getError(t);r.error(o,e)},w=()=>m.isGenericDriver(v.selectedDriver.driverType)||v.formData.connectionInformation.hostName?Promise.resolve():Promise.reject(new s(u.instant("missing.required.field",{fieldName:u.instant("ontop.repo.database.host_name")}))),T=()=>m.isGenericDriver(v.selectedDriver.driverType)||v.formData.connectionInformation.databaseName?Promise.resolve():Promise.reject(new s(u.instant("missing.required.field",{fieldName:u.instant("ontop.repo.database.database_name")}))),P=()=>v.formData.connectionInformation.driverClass?Promise.resolve():Promise.reject(new s(u.instant("missing.required.field",{fieldName:u.instant("ontop.repo.database.driver_class")}))),F=()=>v.formData.connectionInformation.url?Promise.resolve():Promise.reject(new s(u.instant("missing.required.field",{fieldName:u.instant("ontop.repo.database.url")}))),O=()=>v.repositoryInfo.id?Promise.resolve():Promise.reject(new s(u.instant("empty.repoid.warning"))),C=()=>v.getOntopFileInfo(a.OBDA).fileName?Promise.resolve():Promise.reject(new s(u.instant("ontop.repo.missing.required.file",{fileName:v.repositoryInfo.params[a.OBDA].label}))),R=()=>v.selectedDriver.portRequired&&!v.formData.connectionInformation.port?Promise.reject(new s(u.instant("missing.required.field",{fieldName:u.instant("ontop.repo.database.port")}))):Promise.resolve(),k=()=>{v.formData={connectionInformation:new n,settings:{additionalProperties:"",ontopFiles:[]}},Object.values(a).forEach(e=>{const t=new i(e);v.formData.settings.ontopFiles.push(t)}),v.getOntopFileInfo(a.OBDA).required=!0};t.getSupportedDriversData(v.repositoryInfo).success(e=>{v.supportedDriversData=e}).error(e=>{N(u.instant("common.error"),e)}).then(()=>{v.editRepoPage?(y(!0),t.loadPropertiesFile(v.repositoryInfo.params.propertiesFile.value,v.repositoryInfo.location,v.selectedDriver.driverType).success(e=>{let t=v.supportedDriversData.find(t=>t.driverClass===e.driverClass);t&&e.hostName||(t=v.supportedDriversData.find(e=>m.isGenericDriver(e.driverType))),v.selectDriver(t.driverType),v.formData.connectionInformation.driverType=t.driverType,v.formData.connectionInformation.driverClass=e.driverClass,v.formData.connectionInformation.password=e.password,v.formData.connectionInformation.username=e.userName,v.formData.connectionInformation.url=e.url,v.formData.settings.additionalProperties=e.additionalProperties,m.isGenericDriver(t.driverType)||(v.formData.connectionInformation.hostName=e.hostName,v.formData.connectionInformation.databaseName=e.databaseName,v.formData.connectionInformation.port=e.port?parseInt(e.port,10):void 0),D(),v.updateUrl(),Object.values(a).forEach(e=>{const t=v.repositoryInfo.params[e],r=v.getOntopFileInfo(e);t&&(r.fileName=Object(o.getFileName)(t.value))}),v.currentOntopRepoInfo=_.cloneDeep(v.formData)}).error(e=>{N(u.instant("common.error"),e)}).finally(()=>{y(!1)})):v.selectDriver(l)})}}}angular.module("graphdb.framework.repositories.ontop-repo.directive",[]).directive("ontopRepo",f),f.$inject=["$uibModal","RepositoriesRestService","toastr","Upload","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{200:function(e,r){PluginRegistry.add("route",[{url:"/repository",module:"graphdb.framework.repositories",path:"repositories/app",chunk:"repositories",controller:"LocationsAndRepositoriesCtrl",templateUrl:"pages/repositories.html",title:"menu.repositories.label",helpInfo:"view.repositories.helpInfo"},{url:"/repository/create",module:"graphdb.framework.repositories",path:"repositories/app",chunk:"repositories",controller:"ChooseRepositoryCtrl",templateUrl:"pages/choose-repository-type.html",title:"view.choose.repo.title"},{url:"/repository/create/:repositoryType",module:"graphdb.framework.repositories",path:"repositories/app",chunk:"repositories",controller:"AddRepositoryCtrl",templateUrl:"pages/repository.html",title:"Create Repository"},{url:"/repository/edit/:repositoryId",module:"graphdb.framework.repositories",path:"repositories/app",chunk:"repositories",controller:"EditRepositoryCtrl",templateUrl:"pages/repository.html",title:"Edit Repository"}]),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:"Repositories",labelKey:"menu.repositories.label",href:"repository",order:1,role:"ROLE_REPO_MANAGER",parent:"Setup",children:[{href:"repository/create",children:[]}],guideSelector:"sub-menu-repositories"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{56:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{56:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(312);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([[13],{143:function(e,r,t){"use strict";t.r(r);t(7),t(24),t(37),t(38);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,p){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,p,d){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=p.instant(d)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=p.instant("security.confirm.password")):(r.passwordError=p.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.addCustomRole=function(e){return e.text=e.text.toUpperCase(),e}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,p,d){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=d.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=d.instant("view.create.user.title"),e.passwordPlaceholder=d.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.create.admin"),message:d.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(d.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,d.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=d.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=d.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=d.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,p,d,l,E){angular.extend(this,p("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){d.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?l.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,d.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,p,d,l,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=l.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.saveButtonText=d.instant("common.save.btn"),e.pageTitle=d.instant("view.settings.title"),e.passwordPlaceholder=d.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=l.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.save.admin.settings"),message:d.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(d.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,d.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){l.toggleThemeMode(e.workbenchSettings.mode)},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,l.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();l.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{144:function(e,r,t){"use strict";t.r(r);t(7),t(24),t(37),t(38);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,p){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,p,d){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=p.instant(d)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=p.instant("security.confirm.password")):(r.passwordError=p.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.addCustomRole=function(e){return e.text=e.text.toUpperCase(),e}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,p,d){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=d.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=d.instant("view.create.user.title"),e.passwordPlaceholder=d.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.create.admin"),message:d.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(d.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,d.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=d.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=d.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=d.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,p,d,l,E){angular.extend(this,p("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){d.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?l.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,d.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,p,d,l,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=l.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.saveButtonText=d.instant("common.save.btn"),e.pageTitle=d.instant("view.settings.title"),e.passwordPlaceholder=d.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=l.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.save.admin.settings"),message:d.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(d.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,d.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){l.toggleThemeMode(e.workbenchSettings.mode)},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,l.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();l.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{133:function(e,t,n){"use strict";n.r(t);var r=n(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{133:function(e,t,n){"use strict";n.r(t);var r=n(312);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(t,n){let c;const a=e.$on("$translateChangeSuccess",()=>{t.chart.translateLabels(),c.setOption(t.chart.chartOptions)});function s(){c.setOption(t.chart.chartOptions),t.chart.updateRange(t.chart.dataHolder),c.hideLoading()}function o(e){t.chart.setSelectedSeries(e.selected)}function i(){c.resize()}t.$watch("chart",(function(){c=r.a(n[0],null,{renderer:"svg"}),c.setOption(t.chart.chartOptions),c.showLoading(),c.on("legendselectchanged",o),t.chart.registerRefreshHandler(s),window.addEventListener("resize",i)})),t.$on("$destroy",(function(){c.on("legendselectchanged"),c.dispose(),t.chart.unregisterRefreshHandler(s),a(),window.removeEventListener("resize",i)}))}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{202:function(e,r){PluginRegistry.add("route",{url:"/monitor/system",module:"graphdb.framework.jmx.resources",path:"resources/app",chunk:"resources",controller:"ResourcesCtrl",templateUrl:"pages/monitor/resources.html",title:"view.resource.monitoring.title",helpInfo:"view.resource.monitoring.helpInfo",reloadOnSearch:!1}),PluginRegistry.add("main.menu",{items:[{label:"Monitor",labelKey:"menu.monitor.label",href:"#",order:3,role:"ROLE_MONITORING",icon:"icon-monitoring",guideSelector:"menu-monitor"},{label:"Resources",labelKey:"menu.resources.label",href:"monitor/system",role:"ROLE_MONITORING",order:3,parent:"Monitor",guideSelector:"sub-menu-resources"}]})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{95:function(e,t){angular.module("graphdb.framework.rest.export.service",[]).factory("ExportRestService",n),n.$inject=["$http","$repositories","$translate"];function n(e,t,n){return{getExportedStatementsAsJSONLD:function(t,n,o,i,r,a){let s=`repositories/${o.id}/statements?infer=false`;s+=n?"&"+t:t?`&context=${i[t.value].exportUri}&location=${encodeURIComponent(o.location)}`:"&location="+encodeURIComponent(o.location);r&&(s=s+"&authToken="+encodeURIComponent(r));void 0===a.link&&(a.link="");return e({url:s,method:"GET",headers:{Accept:a.accept,Link:a.link},responseType:"blob"}).then((function(e){const t=e.data;let n=e.headers()["content-disposition"].split("filename=")[1];return n=n.substring(0,n.length),{data:t,filename:n}}))}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{100:function(e,r){angular.module("graphdb.framework.rest.graphconfig.service",[]).factory("GraphConfigRestService",n);function n(e){return{getGraphConfigs:function(){return e.get("rest/explore-graph/config")},getGraphConfigSamples:function(){return e.get("rest/explore-graph/samples")},loadGraphForConfig:function(r,n,o,t){return e.get(`rest/explore-graph/config/graph/${encodeURIComponent(r.id)}?includeInferred=${n}&linksLimit=${o}&sameAsState=${t}`)},getConfig:function(r){return e.get("rest/explore-graph/config/"+encodeURIComponent(r))},createGraphConfig:function(r){return e.post("rest/explore-graph/config",r)},updateGraphConfig:function(r){return e.put("rest/explore-graph/config/"+encodeURIComponent(r.id),r)},deleteGraphConfig:function(r){return e.delete("rest/explore-graph/config/"+encodeURIComponent(r.id))},validateQuery:function(r,n,o,t,p){return e({method:"POST",url:"rest/explore-graph/validate",data:{query:r,queryType:n,params:o,all:t,oneOf:p}})}}}n.$inject=["$http"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{71:function(e,a){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",t),t.$inject=["$http"];function t(e){return{getClassHierarchyData:function(a){return e.get("rest/class-hierarchy",{params:{graphURI:a}})},reloadClassHierarchy:function(a){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:a}})},getClassInstances:function(a){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:a}})},getDomainRangeData:function(a,t){return e.get("rest/domain-range",{params:{targetUri:a,collapsed:t}})},checkDomainRangeData:function(a){return e.head("rest/domain-range",{params:{targetUri:a}})},getRelationshipsData:function(a,t,r){return e.get("rest/dependencies/matrix",{params:{mode:t,classes:_.map(a,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(a,t){return e.get("rest/dependencies/classes",{params:{mode:a,graphURI:t}})},getRelationshipsStatus:function(a){return e.get("rest/dependencies/status",{params:{graphURI:a}})},calculateRelationships:function(a){return e.get("rest/dependencies/update",{params:{graphURI:a}})},getPredicates:function(a,t,r){return e.get("rest/dependencies/predicates",{params:{from:a,to:t,mode:"all",graphURI:r}})},getInstanceNode:function(a){return e.get("rest/explore-graph/node",{params:{iri:a}})},getInstanceNodeLinks:function(a){return e.get("rest/explore-graph/links",{params:{iri:a}})},getRdfsLabelAndComment:function(a,t,r){const n=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(n,{uri:a,languages:t}),headers:{Accept:"application/json"}})}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{125:function(e,t){angular.module("graphdb.framework.rest.jdbc.service",[]).factory("JdbcRestService",n),n.$inject=["$http","$repositories","$translate"];function n(e,t){return{getJdbcConfigurations:function(){return e.get("rest/sql-views/tables")},getJdbcConfiguration:function(t){return e.get("rest/sql-views/tables/"+t)},createNewJdbcConfiguration:function(e){return n("POST","",e)},updateJdbcConfiguration:function(e){return n("PUT",e.name,e)},deleteJdbcConfiguration:function(t){return e.delete("rest/sql-views/tables/"+t)},getColumnNames:function(t){return e.post("rest/sql-views/columns",t,{headers:{Accept:"application/json","Content-Type":"text/plain"}})},getColumnsTypeSuggestion:function(n,r){if(!Array.isArray(r))throw new Error(t.instant("jdbc.column.names.constraint"));return e({method:"POST",url:"rest/sql-views/types",data:{query:n,column_names:r}})},getExistingSqlTablePreview:function(e,t){return $.ajax({method:"GET",url:"rest/sql-views/preview/"+e,params:{limit:t}})},getNewSqlTablePreview:function(e,t){return $.ajax({method:"POST",url:"rest/sql-views/preview",contentType:"application/json; charset=utf-8",dataType:"json",data:e,params:{limit:t},headers:{Accept:"application/sparql-results+json"}})}};function n(t,n,r){return e({method:t,url:"rest/sql-views/tables/"+n,noCancelOnRouteChange:!0,data:{name:r.name,query:r.query,columns:r.columns||[]}})}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{59:function(e,a,n){"use strict";n.r(a),n.d(a,"mapNamespacesResponse",(function(){return s}));const s=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[149],{130:function(t,n){angular.module("graphdb.framework.rest.rdfrank.service",[]).factory("RdfRankRestService",e);function e(t){return{getStatus:function(){return t.get("rest/rdfrank/status")},checkRdfRankPluginEnabled:function(){return t.get("rest/rdfrank/plugin-found")},checkFilteringEnabled:function(){return t.get("rest/rdfrank/filtering")},toggleFiltering:function(n){return t.post("rest/rdfrank/filtering?enabled="+n)},filter:function(n){return t.get("rest/rdfrank/filtering/"+n)},updateFilter:function(n,e){return t.put("rest/rdfrank/filtering/"+n,e)},deleteFilter:function(n,e){return t.delete("rest/rdfrank/filtering/"+n,{data:e,headers:{"Content-Type":"application/json;charset=utf-8"}})},includeExplicit:function(){return t.get("rest/rdfrank/include-explicit")},toggleIncludeExplicit:function(n){return t.post("rest/rdfrank/include-explicit?enabled="+n)},includeImplicit:function(){return t.get("rest/rdfrank/include-implicit")},toggleIncludeImplicit:function(n){return t.post("rest/rdfrank/include-implicit?enabled="+n)},compute:function(){return t.post("rest/rdfrank/compute")},computeIncremental:function(){return t.post("rest/rdfrank/compute-incremental")},interrupt:function(){return t.post("rest/rdfrank/interrupt")}}}e.$inject=["$http"]}}]);
|