graphdb-workbench 2.7.4-GA2 → 2.7.4-RC2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{0.7ba3421ba82073572033.bundle.js → 0.7740a14c971ea1d2eba0.bundle.js} +1 -1
- package/dist/{10.8cff804c47d8c4db6c02.bundle.js → 10.cde4715aee111520ab10.bundle.js} +1 -1
- package/dist/{100.881d39b605ca379e8f88.bundle.js → 100.468b84c65c7b8c06657d.bundle.js} +1 -1
- package/dist/{101.fd46805a418b7665d7f3.bundle.js → 101.67724d1c5eab0229cbe8.bundle.js} +1 -1
- package/dist/{102.2354578620f04f29711f.bundle.js → 102.73ff72236ce70b195ca5.bundle.js} +1 -1
- package/dist/{103.0b3fb88d513e9395edae.bundle.js → 103.1cf434c1865ad9ca7f7e.bundle.js} +1 -1
- package/dist/{104.756784c24e39a6c749c8.bundle.js → 104.c90b212514e1bb149d36.bundle.js} +1 -1
- package/dist/{105.f791474156a0e648a86b.bundle.js → 105.9ddd0bff6272f563749a.bundle.js} +1 -1
- package/dist/{107.2c5ae0dafed4736d35c3.bundle.js → 107.9501561f24a33fd8ac99.bundle.js} +1 -1
- package/dist/{108.198ca6e897966cc03350.bundle.js → 108.4c18340aa198d13ff031.bundle.js} +1 -1
- package/dist/{11.b5a1c5cac78e2460e879.bundle.js → 11.d6074d5e8b21f93140ef.bundle.js} +1 -1
- package/dist/{111.8dcb73cee60c2c11b49a.bundle.js → 111.c69116afc8952402b94b.bundle.js} +1 -1
- package/dist/{114.2184f7cfd9c6385256cd.bundle.js → 114.11d025f071059a96e016.bundle.js} +1 -1
- package/dist/{115.c37982ff70fc9895ee96.bundle.js → 115.271c8849214e9cb68b82.bundle.js} +1 -1
- package/dist/{116.bfd4e908b33522d2b221.bundle.js → 116.44bbe19c8267478cfe47.bundle.js} +1 -1
- package/dist/{117.e52cd1ac0401c08c0c05.bundle.js → 117.dc5863c0ad28647bd5ff.bundle.js} +1 -1
- package/dist/{118.cbd6c4f2bec4769e4e87.bundle.js → 118.90d7cffadf0edb7dab22.bundle.js} +1 -1
- package/dist/{119.70f2429f721218ba1e7e.bundle.js → 119.49fbd4f9fa7814dcf524.bundle.js} +1 -1
- package/dist/{12.ba5b4805ab4e717bc444.bundle.js → 12.d77cbf85a04c13416797.bundle.js} +1 -1
- package/dist/{120.cca57412d590d1c2b413.bundle.js → 120.3d0da2f33c1998e15059.bundle.js} +1 -1
- package/dist/{121.9ee4c54959d81a5dacaf.bundle.js → 121.5cfe2a629531fff5f8bb.bundle.js} +1 -1
- package/dist/{122.f8b84d6e29d89d3214a8.bundle.js → 122.cfc9eb38b4d4206d3b0f.bundle.js} +1 -1
- package/dist/{123.42076f73f2463e363dcd.bundle.js → 123.e47b9543e88b7a66d926.bundle.js} +1 -1
- package/dist/{124.99f40a5692c9ebc16bc2.bundle.js → 124.ac495e52eeb93db1c258.bundle.js} +1 -1
- package/dist/{125.9641c7850b3a49bb2124.bundle.js → 125.39798647d6fc59af6daa.bundle.js} +1 -1
- package/dist/{126.93016fb0f0aafb8c956a.bundle.js → 126.4c0939dcafeb3e016c9a.bundle.js} +1 -1
- package/dist/{127.75da14f64bf881261344.bundle.js → 127.cc107d2f31dab809d124.bundle.js} +1 -1
- package/dist/{128.39ef9e057eb2b8c491c5.bundle.js → 128.31535237e77713023ab3.bundle.js} +1 -1
- package/dist/{129.099749044011a98e5719.bundle.js → 129.14133cf026c08e488e9e.bundle.js} +1 -1
- package/dist/{14.17726bd63ee4f9ba9ed3.bundle.js → 13.9d8d961a482d42349b33.bundle.js} +1 -1
- package/dist/{130.727179f1928b41cc3a5c.bundle.js → 130.83ca4bfc89844018c61f.bundle.js} +1 -1
- package/dist/{131.bc960d78f443c6f14ab3.bundle.js → 131.f6aec556f49c78da8665.bundle.js} +1 -1
- package/dist/{132.ad1ec30eef46f423be72.bundle.js → 132.bda2e1408a049ad349b2.bundle.js} +1 -1
- package/dist/{133.788f5053106174f4029f.bundle.js → 133.f9aae73e47de861bb86e.bundle.js} +1 -1
- package/dist/{134.07f94242ea08bb8bd96b.bundle.js → 134.a5c33a40d2b84ab5b624.bundle.js} +1 -1
- package/dist/{135.fcde96f8d92371b36428.bundle.js → 135.e3e8ff0d0cce2e980f9b.bundle.js} +1 -1
- package/dist/{136.aa095855b487919b0d55.bundle.js → 136.49d2a1a7cfb9325f793a.bundle.js} +1 -1
- package/dist/{137.81a35506a9534e297b01.bundle.js → 137.c66ea292a9fd631984e5.bundle.js} +1 -1
- package/dist/{138.92a41683f5bffaa018e2.bundle.js → 138.cb759fc495f9ce8e21ce.bundle.js} +1 -1
- package/dist/{139.d280f64f2d782ca06a3d.bundle.js → 139.7537655f500bab3e9c21.bundle.js} +1 -1
- package/dist/14.443c28ad7cefb54afbc3.bundle.js +1 -0
- package/dist/{140.8dda83e675a1f09e5d8a.bundle.js → 140.74aba9df15b050c129d9.bundle.js} +1 -1
- package/dist/{141.acba915987a77950fd5a.bundle.js → 141.60071851020a1bc11595.bundle.js} +1 -1
- package/dist/{142.70f4a7debb7fa9811e58.bundle.js → 142.8906dd00536438b339df.bundle.js} +1 -1
- package/dist/{143.e148d9ae15f03e5d6605.bundle.js → 143.b1a2222304f8efe71776.bundle.js} +1 -1
- package/dist/{144.286d4d56c0290998cb74.bundle.js → 144.f82ff50a8d2c08295627.bundle.js} +1 -1
- package/dist/{146.5c2c712b7966bd8fc570.bundle.js → 146.9b3518b9d896bf47382d.bundle.js} +1 -1
- package/dist/{147.095e1fe02675495ccbcb.bundle.js → 147.e311377785362269579e.bundle.js} +1 -1
- package/dist/{148.8cc53c56e4cfe52cc92a.bundle.js → 148.254a642917f6b6c15d61.bundle.js} +1 -1
- package/dist/{149.e1679d4abdeb37739d9d.bundle.js → 149.8a2de058d7b72f417791.bundle.js} +1 -1
- package/dist/15.6cdd681f18f8cccb36e3.bundle.js +1 -0
- package/dist/{150.c5d269fda0add808b0b3.bundle.js → 150.b9d376ab86b1f17e4f78.bundle.js} +1 -1
- package/dist/{151.802ee6c1041bc29967ef.bundle.js → 151.ebeb15de6f8b7ab9ea57.bundle.js} +1 -1
- package/dist/{152.983e59a2db23180043c0.bundle.js → 152.ed9387e19d9cc69953db.bundle.js} +1 -1
- package/dist/{154.22ae6aff7fe460027daa.bundle.js → 154.a008e16c56c63f25799f.bundle.js} +1 -1
- package/dist/{157.38bad4f830ac13ce67ea.bundle.js → 157.800a7154e719650d7925.bundle.js} +1 -1
- package/dist/{159.5d7cf90588f9c5137bd4.bundle.js → 159.f87835a57d2af1de4121.bundle.js} +1 -1
- package/dist/{161.662c70da741c4c08294f.bundle.js → 161.476f62c4922a9d145220.bundle.js} +1 -1
- package/dist/{164.df720a2fb532855bcde6.bundle.js → 164.9d468fabae7dd09d9f97.bundle.js} +1 -1
- package/dist/{166.b614de49dd8adb76fde1.bundle.js → 166.65286425804ad7dfe2e9.bundle.js} +1 -1
- package/dist/{17.d76bdb8a1fd2fb6bf39e.bundle.js → 17.0b74a9a8282301a807bb.bundle.js} +1 -1
- package/dist/{170.385bb3200ee09c47c000.bundle.js → 170.0eb13b2a619662203972.bundle.js} +1 -1
- package/dist/{171.184d9a12e0cf9519c827.bundle.js → 171.689e5189a68b5d712f1d.bundle.js} +1 -1
- package/dist/{172.d8f671325bd29e884201.bundle.js → 172.24bac3c88732b6bc72f9.bundle.js} +1 -1
- package/dist/{173.78bd9f9e0ff8da161b86.bundle.js → 173.c0b3e63eb4c2b828a1b6.bundle.js} +1 -1
- package/dist/{179.a0658dde26d40cc551a4.bundle.js → 179.fe1f4ff6cae23c056538.bundle.js} +1 -1
- package/dist/{18.2077eb251d5717e42b81.bundle.js → 18.5ec8d8bedc5900dd9987.bundle.js} +1 -1
- package/dist/{185.b43d67454fe9670babfd.bundle.js → 185.66708cd7a879a4eae697.bundle.js} +1 -1
- package/dist/{187.26f73c395e452f270e87.bundle.js → 187.7f30c4e08e34208a39e0.bundle.js} +1 -1
- package/dist/{188.4716aa48c85e0ff370e7.bundle.js → 188.532c781e1ef597c73e67.bundle.js} +1 -1
- package/dist/{19.52b4c1de58ec36914bb1.bundle.js → 19.8c07889227bc39cae000.bundle.js} +1 -1
- package/dist/{196.2bf06aaaafc2ecab7961.bundle.js → 196.49c3671b0ba069dc7ef1.bundle.js} +1 -1
- package/dist/{197.19545b0f86ed444c5008.bundle.js → 197.d90b1f3a6fa0fa5c8e71.bundle.js} +1 -1
- package/dist/198.bc0d8a5bcd304f288f29.bundle.js +1 -0
- package/dist/{199.75d147a9bc01afb59c63.bundle.js → 199.91ebfd371cf7bf6f5c4f.bundle.js} +1 -1
- package/dist/{2.3711dbb764ce2c3fc2f7.bundle.js → 2.f1a215f762fbc9060ff8.bundle.js} +2 -2
- package/dist/{20.36cd60fa318ac7b1a43a.bundle.js → 20.b7b67f324565878b78fb.bundle.js} +1 -1
- package/dist/200.d51dae4d7a098dbdf4fe.bundle.js +1 -0
- package/dist/{202.668dfd8cecebde7061f9.bundle.js → 202.8edcdbed3861f93e2b9c.bundle.js} +1 -1
- package/dist/{204.9dac131aa317165ba9a7.bundle.js → 204.54e15792c8c1c60b49d6.bundle.js} +1 -1
- package/dist/{205.451e6f39e33b3cc72a5c.bundle.js → 205.a9ec4a6ed99007eade40.bundle.js} +1 -1
- package/dist/{206.43524e0451383b0215ad.bundle.js → 206.b8ea895d33805498670e.bundle.js} +1 -1
- package/dist/{207.430258f4efcfccded98c.bundle.js → 207.a7009c479f89c28c2b35.bundle.js} +1 -1
- package/dist/{21.2663c286d350b0bf7c8a.bundle.js → 21.f3e03a35598e574d1088.bundle.js} +1 -1
- package/dist/{210.3d0a1742ccaa5f1fdfd5.bundle.js → 210.0e1ac9a13cec02b2e00f.bundle.js} +1 -1
- package/dist/212.578f5adf8b5c02e176a9.bundle.js +1 -0
- package/dist/213.bf39c553daaec0e3a17d.bundle.js +1 -0
- package/dist/{219.061bf2b3a5ecf6ac0e61.bundle.js → 219.42d2968dff17a1cb197e.bundle.js} +1 -1
- package/dist/{22.ace61c1bd42d5c865b4d.bundle.js → 22.ca2ee125533414af6b44.bundle.js} +1 -1
- package/dist/222.a98f48c0726553a3e27f.bundle.js +1 -0
- package/dist/{224.e77d8a29fc9a2e7e60b2.bundle.js → 224.30c6fb78c4913479a4fb.bundle.js} +1 -1
- package/dist/226.d41bd3bd54d68a488d00.bundle.js +1 -0
- package/dist/{227.46ca1e93a7479ea2fcbd.bundle.js → 227.987d372a187ed7979252.bundle.js} +1 -1
- package/dist/{228.105d7ca663c25cda7ebe.bundle.js → 228.d4601448c9799d1c6538.bundle.js} +1 -1
- package/dist/{229.08a6b6f0bfe77da1b4d7.bundle.js → 229.61c97977e7032772ecb4.bundle.js} +1 -1
- package/dist/{23.7d18bac6193feac8a5e8.bundle.js → 23.352eec217c0d24b98b14.bundle.js} +1 -1
- package/dist/{230.e49359dc83211b3315e2.bundle.js → 230.cb819039e67a93a34541.bundle.js} +1 -1
- package/dist/{231.58f82a3be2b50c54fbcc.bundle.js → 231.f60b94ce332af52008aa.bundle.js} +1 -1
- package/dist/{232.fed686e4c4a9454b382f.bundle.js → 232.1d6fb6e62d8fc62ea10a.bundle.js} +1 -1
- package/dist/{233.601a61a1093f3670f097.bundle.js → 233.dbe5dc7cf2503ca5c591.bundle.js} +1 -1
- package/dist/{234.0b93d2f6c9b1db7a00f6.bundle.js → 234.50f38ed9c15d7485e98e.bundle.js} +1 -1
- package/dist/{235.5cc2efc519264969383a.bundle.js → 235.36eea53474e198ed9f8e.bundle.js} +1 -1
- package/dist/{236.798401103f46879ea730.bundle.js → 236.d0119bc798c924cfae70.bundle.js} +1 -1
- package/dist/{237.f8ad3d698e5fb96d4c1c.bundle.js → 237.d115baad2682f050b642.bundle.js} +1 -1
- package/dist/{238.0cb93188eb64d6f8e3df.bundle.js → 238.98486ccd2b7ee258fcc4.bundle.js} +1 -1
- package/dist/{239.6a04a354e625842e91cc.bundle.js → 239.8c68b3f9d15a13a5da0b.bundle.js} +1 -1
- package/dist/{24.5c4996f957ba9ae4d809.bundle.js → 24.79bd905f69d00f38ce5a.bundle.js} +1 -1
- package/dist/{242.be906dcc6493f539ca0d.bundle.js → 242.3a73c867bf57d3fbb810.bundle.js} +1 -1
- package/dist/{243.92b1fd980f1513069c9b.bundle.js → 243.1973d7431d7a17936443.bundle.js} +1 -1
- package/dist/{248.a67e776376d17a767bd8.bundle.js → 248.ada296e9a8a5456816fa.bundle.js} +1 -1
- package/dist/{25.8b3e983ca8429c150dc0.bundle.js → 25.600e8bbf7fc20af9e673.bundle.js} +1 -1
- package/dist/{250.528eb249c56e14ce98b0.bundle.js → 250.551ab6039ac308b37046.bundle.js} +1 -1
- package/dist/{251.f79eee893df671c5c8c4.bundle.js → 251.c50beffac4a15fcd6cc4.bundle.js} +1 -1
- package/dist/{253.ba99c36579045faadc01.bundle.js → 253.cacce88991f3565ccbc5.bundle.js} +1 -1
- package/dist/{254.9376bfaf23066b62837a.bundle.js → 254.6f2f418d35f273d36d46.bundle.js} +1 -1
- package/dist/{255.8ad2d7b316b6bafc3f5b.bundle.js → 255.440b872b6108a6ccdbca.bundle.js} +1 -1
- package/dist/{256.7285991fc8725d0fe430.bundle.js → 256.5299aff146bff9106694.bundle.js} +1 -1
- package/dist/{257.752d39ac6910f9ed1260.bundle.js → 257.edeb2160403986002b6a.bundle.js} +1 -1
- package/dist/{258.90c8e33fc740257eed50.bundle.js → 258.5e948ed7fb4ad5b044b9.bundle.js} +1 -1
- package/dist/{26.5024e9e0b0d117e2a341.bundle.js → 26.a46725dccee91696a0ba.bundle.js} +1 -1
- package/dist/{260.cde0af67fbcd215f5e58.bundle.js → 260.0ef916c69b120f308964.bundle.js} +1 -1
- package/dist/{261.f1ead7c90969bc828f4f.bundle.js → 261.225137d2ad99664d6161.bundle.js} +1 -1
- package/dist/262.c9a141390f2ea8b03a0f.bundle.js +1 -0
- package/dist/{263.ffd7edf1da0e4409bd42.bundle.js → 263.ca7df4aba7e4f945ad36.bundle.js} +1 -1
- package/dist/{264.3bdbc783af6edbdd538e.bundle.js → 264.a03e17d70d78681e1891.bundle.js} +1 -1
- package/dist/{265.8ac45ee22b80c188889b.bundle.js → 265.74666bb6329431145ee6.bundle.js} +1 -1
- package/dist/{266.23460f9b26290c9adb50.bundle.js → 266.c313c81618050f779d0a.bundle.js} +1 -1
- package/dist/{267.3df0c88507f26a90cc69.bundle.js → 267.1615e2999c584ba47a3f.bundle.js} +1 -1
- package/dist/{268.b305ad9d5baac291754e.bundle.js → 268.4537af5084595364571e.bundle.js} +1 -1
- package/dist/{27.fbb998a4888f0f4295c1.bundle.js → 27.6f188fed594aabd1b602.bundle.js} +1 -1
- package/dist/{272.dd269d976a76841da54f.bundle.js → 272.7046c61a75b544baf99b.bundle.js} +1 -1
- package/dist/{28.63d28184982aeb5df3ee.bundle.js → 28.c11269f1bfdea632cc8c.bundle.js} +1 -1
- package/dist/{29.8f944d441820bd09c363.bundle.js → 29.9e82fddb3191a1d492ef.bundle.js} +1 -1
- package/dist/299.6bc38539ac3a1f688515.bundle.js +1 -1
- package/dist/301.311927a5091e698dcfed.bundle.js +1 -1
- package/dist/302.07e63f56f579a56c5ea0.bundle.js +1 -1
- package/dist/303.0cc447af82c7337dc639.bundle.js +1 -1
- package/dist/{31.1d6415d6f463dab162d8.bundle.js → 31.fb4f5161b4a6772d5070.bundle.js} +1 -1
- package/dist/{32.1f92c98c110daadf1ec2.bundle.js → 32.d8891b8f8b38d373d766.bundle.js} +1 -1
- package/dist/{33.b2c2d0617e855dd250da.bundle.js → 33.2f0f674804db0b6e1285.bundle.js} +1 -1
- package/dist/{332.37b65270a39c5a3aac10.bundle.js → 332.218235e77c873ac2a107.bundle.js} +1 -1
- package/dist/{34.84fcb0fcae9fba7e6029.bundle.js → 34.3664a756f3a6545525cb.bundle.js} +1 -1
- package/dist/{36.313458d23bab244aec86.bundle.js → 36.fd1ab27926210be8ab74.bundle.js} +1 -1
- package/dist/{37.d422daefa5aea8d24f83.bundle.js → 37.a13e60850a9a07c446dc.bundle.js} +1 -1
- package/dist/{38.200f6422de3b04092332.bundle.js → 38.f722999a96d03d283e5d.bundle.js} +1 -1
- package/dist/{39.ca4712ef35555f43c398.bundle.js → 39.a871b7027a2a298b4299.bundle.js} +1 -1
- package/dist/{4.4583856334b5c45de0b8.bundle.js → 4.f801e3f2505057b5fe87.bundle.js} +1 -1
- package/dist/{40.c917a4758188c8f12038.bundle.js → 40.2209efb6cf9a445aaf72.bundle.js} +1 -1
- package/dist/{41.b87bb5591f3476d51e8a.bundle.js → 41.2c9a2d3442452650eb05.bundle.js} +1 -1
- package/dist/{42.be5e7a9ec3ebd415f51c.bundle.js → 42.c1055d3f77e831a0feee.bundle.js} +1 -1
- package/dist/{43.4ae3e7ca11928eae1023.bundle.js → 43.f3516933e9fc7c240588.bundle.js} +1 -1
- package/dist/{44.4d3b69418a18993629a8.bundle.js → 44.ae510f5df386fbbebef2.bundle.js} +1 -1
- package/dist/{48.564c6cc51b0eccfee2d4.bundle.js → 48.3c991adc332749c3acdd.bundle.js} +1 -1
- package/dist/{49.adeafb17af41fd50841c.bundle.js → 49.8889b00d2203095c3a93.bundle.js} +1 -1
- package/dist/{5.4f4fe8af5b9896eddd24.bundle.js → 5.4dc4c9e2cc7f47eebc6d.bundle.js} +1 -1
- package/dist/{50.cc25f013eb1fc2dc1f2e.bundle.js → 50.367ae07d769401becd85.bundle.js} +1 -1
- package/dist/{51.0b18a3223a6fe5f40456.bundle.js → 51.5f93e26d33e6f8276243.bundle.js} +1 -1
- package/dist/{52.2e06c87754b19442ac3b.bundle.js → 52.d0576a9b8e77887a0256.bundle.js} +1 -1
- package/dist/{53.7543d75d249557907e36.bundle.js → 53.755b81d1c2a1a4996ead.bundle.js} +1 -1
- package/dist/{54.71c442d84db314d41d11.bundle.js → 54.d121d14b8519ccfbcb89.bundle.js} +1 -1
- package/dist/{57.676d0e792330df7ffbe7.bundle.js → 57.4af71143d20ef8319653.bundle.js} +1 -1
- package/dist/{58.236f7977ecc75f747aa5.bundle.js → 58.69b21edd46a707e2b7a4.bundle.js} +1 -1
- package/dist/59.cd0020e8e69a551f3ce7.bundle.js +1 -0
- package/dist/{6.34674986cb4e77c6b0d4.bundle.js → 6.6cb08e9e9ad072cbfc81.bundle.js} +1 -1
- package/dist/60.c1d4a6e7b7db06eb5cf0.bundle.js +1 -0
- package/dist/{61.b759e99f9e72bac48cfa.bundle.js → 61.98a3ef4ed5c339daddb8.bundle.js} +1 -1
- package/dist/{62.c289ae284ec879c946ba.bundle.js → 62.d8e356c03ac8411adbc1.bundle.js} +1 -1
- package/dist/{63.9b5ffdb27ce461f8cf7a.bundle.js → 63.8e37fba90bde83bd2f3f.bundle.js} +1 -1
- package/dist/{64.ea1464e7f39d938a28da.bundle.js → 64.6a6aa6434a66542efffa.bundle.js} +1 -1
- package/dist/{65.3444c4d61c216823833e.bundle.js → 65.6941c78bf1dc89a30b9f.bundle.js} +1 -1
- package/dist/{66.b5fcdd2fbe8ded07e009.bundle.js → 66.b0e1523c5ffaef2e7332.bundle.js} +1 -1
- package/dist/{67.2df05bfc7c6eb11f6679.bundle.js → 67.2e0c784b7da674617bbb.bundle.js} +1 -1
- package/dist/{68.40364fa00405d6b28a8b.bundle.js → 68.7b133326e3a06d04bde1.bundle.js} +1 -1
- package/dist/{7.c327ca027edc25b31517.bundle.js → 7.ee0f4f4648f8fc3ce108.bundle.js} +1 -1
- package/dist/{70.a18ec2af81812b60bb95.bundle.js → 70.829438eff9c2658951c2.bundle.js} +1 -1
- package/dist/{71.7ee7dee93067f3d36793.bundle.js → 71.e62a381e89828b1c6313.bundle.js} +1 -1
- package/dist/{72.c059cbcba3e5f0bfe107.bundle.js → 72.bc7fc2aaf3a8e8ec1c41.bundle.js} +1 -1
- package/dist/{74.ffdf57382d65ab0dbc23.bundle.js → 74.79caa682c1fb91f0cba7.bundle.js} +1 -1
- package/dist/{81.0e27687af29eb1b82700.bundle.js → 81.c8d004888156470c3aad.bundle.js} +1 -1
- package/dist/{82.415f6493734758df5aad.bundle.js → 82.45eb346dc80bc3d07b7b.bundle.js} +1 -1
- package/dist/{83.c788068307a6d64d6d6f.bundle.js → 83.d34173500de6f79f117d.bundle.js} +1 -1
- package/dist/{84.99b0ac9496b5c7e59e62.bundle.js → 84.bd622caf3a67cf0911ac.bundle.js} +1 -1
- package/dist/{85.09cfafbdbc1bffbd63f4.bundle.js → 85.9cb089f63b89d8e7d4b8.bundle.js} +1 -1
- package/dist/{86.884ec67e4551c960f3b1.bundle.js → 86.4693b1e6a0732bdd10ab.bundle.js} +1 -1
- package/dist/{87.c469f6a1a130ffff1f20.bundle.js → 87.8c703c24e6940c7c322c.bundle.js} +1 -1
- package/dist/{88.58a884d3efe21c66f8e5.bundle.js → 88.d5d55f2a585edc6ca23c.bundle.js} +1 -1
- package/dist/{89.34e7be33a5ae0a624c69.bundle.js → 89.73e31db425e7bdd57694.bundle.js} +1 -1
- package/dist/{9.caddc64677d9dbe3315c.bundle.js → 9.41a5f9b1f94054ff21b4.bundle.js} +1 -1
- package/dist/{90.46b46b644b4e37353e3f.bundle.js → 90.677903cb383d54b99bb3.bundle.js} +1 -1
- package/dist/{91.af341cad628a3022d2ea.bundle.js → 91.3f0a70d1f461d707733a.bundle.js} +1 -1
- package/dist/{93.f21d65c2d3cc2f4ae9fc.bundle.js → 93.c7ffdd12d101f0759f50.bundle.js} +1 -1
- package/dist/{94.7e7c2cfe70ffe6fd9aff.bundle.js → 94.ef149157cec71e8c6727.bundle.js} +1 -1
- package/dist/95.481f9941f7c5102fd02a.bundle.js +1 -0
- package/dist/96.963fb705cf41d4813f5f.bundle.js +1 -0
- package/dist/{97.34b9b6aa091f931616dd.bundle.js → 97.885a73aa0360fd138b06.bundle.js} +1 -1
- package/dist/{98.8f62e39668710616369c.bundle.js → 98.4682c01b8beedb7ee99f.bundle.js} +1 -1
- package/dist/{99.d60610eca4f63a2d842b.bundle.js → 99.15cb2b4dc8cf54d6c473.bundle.js} +1 -1
- package/dist/{bundle.d48071a0e1e42df1a48d.bundle.js → bundle.b2cc5d5363ad5d9e12ec.bundle.js} +6 -6
- package/dist/css/aclmanagement.css +17 -3
- package/dist/i18n/locale-en.json +1 -1
- package/dist/i18n/locale-fr.json +1 -1
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +6 -5
- package/dist/license-checker.json +2 -2
- package/dist/pages/aclmanagement.html +117 -75
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +12 -12
- package/package.json +1 -1
- package/dist/13.46f3f20794437de46112.bundle.js +0 -1
- package/dist/15.fd05e61df603fc290366.bundle.js +0 -1
- package/dist/198.7b5520ca25ef6f3bca16.bundle.js +0 -1
- package/dist/200.08df0fdb2ee9d5c9ea2a.bundle.js +0 -1
- package/dist/212.ad2810e7d45a4a0f2f6b.bundle.js +0 -1
- package/dist/213.a4fa1dce2f11e7639c4a.bundle.js +0 -1
- package/dist/222.096e388bee0aedcf8c83.bundle.js +0 -1
- package/dist/226.78238186d89dcee0447e.bundle.js +0 -1
- package/dist/262.375484e2c528734f6df0.bundle.js +0 -1
- package/dist/59.77fc1be965b8563d6119.bundle.js +0 -1
- package/dist/60.bccfde27f9cbe4a5eac5.bundle.js +0 -1
- package/dist/95.418350fd905302d0eb62.bundle.js +0 -1
- package/dist/96.7dccce2eb20a3f43d706.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[41,249],{102:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[41,249],{102:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];function n(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,n){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:n}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,n,r){return e.get("rest/dependencies/matrix",{params:{mode:n,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,n){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:n}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,n,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:n,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let n={headers:{"Content-Type":"application/json"}};return n=Object.assign(n,t),e.post("rest/explore-graph/graph",n)},getRdfsLabelAndComment:function(t,n,r){const a=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(a,{uri:t,languages:n}),headers:{Accept:"application/json"}})}}}},186:function(e,t,n){"use strict";n.r(t);var r=n(457);n(102);function a(e,t){return{restrict:"A",template:'<div id="dependencies-chord"></div>',scope:{dependenciesData:"="},link:function(n){n.$watch("dependenciesData",(function(){if(n.dependenciesData){const a=n.dependenciesData;!function(a,s){if(function(){let e=!0;for(const t of a){if(t.some(e=>0!==e)){e=!1;break}}return e}())return;const o=d3.scaleOrdinal(d3.schemeCategory10),i=d3.select("body").append("div").attr("class","tooltip").style("opacity",0);d3.select("body").on("click",(function(){i.style("opacity",0)}));const c=Math.min(800,800)/2.8,d=c-24,p=d3.arc().innerRadius(d).outerRadius(c),l=d3.chord().padAngle(.04).sortSubgroups(d3.descending).sortChords(d3.ascending),u=d3.ribbon().radius(d),g=d3.select("#dependencies-chord").append("svg").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").style("font","10px sans-serif").append("g").attr("id","circle").attr("transform","translate(400,400)");g.append("circle").attr("r",c).style("fill","none");const f=l(a),h=g.selectAll(".group").data(f.groups).enter().append("g").attr("class","group").on("mouseover",(function(){const e=h.nodes().indexOf(this);m.classed("fade",(function(t){return t.source.index!==e&&t.target.index!==e}))}));h.append("title").text((function(e,t){return s[t]})),h.append("path").attr("id",(function(e,t){return"group"+t})).attr("d",p).style("fill",(function(e,t){return o(t)})),h.append("text").each((function(e){e.angle=(e.startAngle+e.endAngle)/2})).attr("dy",".35em").attr("transform",(function(e){return"rotate("+(180*e.angle/Math.PI-90)+")translate("+(d+26)+")"+(e.angle>Math.PI?"rotate(180)":"")})).style("text-anchor",(function(e){return e.angle>Math.PI?"end":null})).text((function(e){return s[e.index]}));const m=g.selectAll(".chord").data(f).enter().append("path").attr("class","chord").style("fill",(function(e){return o(e.target.index)})).style("fill-opacity",".67").style("stroke","#000").style("stroke-width",".25px").style("cursor","pointer").attr("d",u);m.on("mouseover",(function(){d3.select(this).style("fill-opacity","1")})),m.on("mouseout",(function(){d3.select(this).style("fill-opacity",".67")})),m.on("click",(function(e,r){const a=s[r.source.index],o=s[r.target.index],c=e.pageX,d=e.pageY;t.getPredicates(a,o,n.selectedGraph&&n.selectedGraph.contextID.uri).success((function(e){let t="<div class='dependencies-tooltip'>"+("<div class='row'>"+a+" <i class='fa fa-exchange'></i> "+o+"</div>")+_.map(e.slice(0,10),(function(e){const t=" <i class='fa fa-long-arrow-"+("out"===e.direction?"right":"left")+"'></i>";return"<div class='row'>"+e.predicate+" : "+e.weight+t+" </div>"})).join("");e.length>10?t=t+"<div class='pull-right'>And "+(e.length-10).toString()+" more...</div></div>":t+="</div>",i.html(t).style("left",c+"px").style("top",d+"px")})),i.transition().duration(200).style("opacity",1)})),d3.select("#circle").on("mouseleave",(function(){g.selectAll(".chord").classed("fade",!1)})),d3.select("#download-svg").on("mouseover",(function(){const t=r.a.Export.generateBase64ImageSource(".dependencies-chord svg");d3.select(this).attrs({href:t,download:"dependencies-"+e.getActiveRepository()+".svg"})}))}(a.matrix,a.nodes,a.direction)}}))}}}angular.module("graphdb.framework.graphexplore.directives.dependencies",["graphdb.framework.graphexplore.controllers.dependencies","graphdb.framework.rest.graphexplore.data.service"]).directive("dependenciesChord",a),a.$inject=["$repositories","GraphDataRestService"]},446:function(e,t,n){var r,a;r=[n(454)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(454)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},457:function(e,t,n){"use strict";n(446);var r=r||{};r.Export={getCSSRules:function(e){const t=$('link[href="'+e+'"]')[0].sheet.rules;let n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");const t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{184:function(t,e,r){"use strict";r.r(e);var n=r(457),a=r(456);r(10);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.7.4-GA2");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},446:function(t,e,r){var n,a;n=[r(454)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(454)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},456:function(t,e,r){"use strict";r(446);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},457:function(t,e,r){"use strict";r(446);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{183:function(t,e,r){"use strict";r.r(e);var n=r(457),a=r(456);r(10);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.7.4-RC2");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},446:function(t,e,r){var n,a;n=[r(454)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(454)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},456:function(t,e,r){"use strict";r(446);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},457:function(t,e,r){"use strict";r(446);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[43,145,162,274],{128:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[43,145,162,274],{128:function(e,o){function r(e,o,r,t,s){e.message=s,e.close=()=>{o.dismiss()},e.copyToClipboard=()=>{navigator.clipboard.writeText(e.message).then(()=>{t.success(r.instant("import.help.messages.copied_to_clipboard")),e.close()},e=>{console.error("Could not copy text: ",e)})}}angular.module("graphdb.framework.impex.import.controllers.import-resource-message-dialog",[]).controller("ImportResourceMessageDialogController",r),r.$inject=["$scope","$uibModalInstance","$translate","toastr","message"]},204:function(e,o,r){"use strict";r.r(o);r(128);var t=r(68),s=r(73);function a(e){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-message.html",scope:{resource:"="},link:o=>{o.ImportResourceStatus=t.ImportResourceStatus,o.toTitleCase=e=>s.toTitleCase(e),o.showMessage=o=>{e.open({templateUrl:"js/angular/import/templates/import-resource-message-dialog.html",controller:"ImportResourceMessageDialogController",size:"lg",windowClass:"import-resource-message-dialog",backdrop:"static",resolve:{message:function(){return o?o.importResource.message:""}}})}}}}angular.module("graphdb.framework.import.directives.import-resource-message",["graphdb.framework.impex.import.controllers.import-resource-message-dialog"]).directive("importResourceMessage",a),a.$inject=["$uibModal"]},68:function(e,o,r){"use strict";r.r(o),r.d(o,"ImportResourceStatus",(function(){return t}));const t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},73:function(e,o,r){"use strict";r.r(o),r.d(o,"removeSpecialChars",(function(){return s})),r.d(o,"toBoolean",(function(){return a})),r.d(o,"toTitleCase",(function(){return i}));var t=r(27);const s=e=>e.replace(/[()']/g,""),a=e=>"string"==typeof e?"true"===e:Boolean(e),i=e=>e?Object(t.upperFirst)(e.toLowerCase()):e}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[44,77,162,163],{104:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(68),i=s(27);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[44,77,162,163],{104:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var r=s(68),i=s(27);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(i.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(i.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===r.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},206:function(e,t,s){"use strict";s.r(t),s.d(t,"INDENT",(function(){return c})),s.d(t,"serverImportResourceTypeToIconMapping",(function(){return n})),s.d(t,"userImportResourceTypeToIconMapping",(function(){return a})),s.d(t,"ImportResourceTreeService",(function(){return u}));var r=s(77),i=s(104),o=s(68);const c=30,n=new Map;n.set(r.ImportResourceType.DIRECTORY,"icon-folder"),n.set(r.ImportResourceType.FILE,"icon-file");const a=new Map;a.set(r.ImportResourceType.DIRECTORY,"icon-folder"),a.set(r.ImportResourceType.FILE,"icon-upload"),a.set(r.ImportResourceType.URL,"icon-link"),a.set(r.ImportResourceType.TEXT,"icon-sparql");class u{static toImportResourceTree(e,t){const s=new i.ImportResourceTreeElement;return e.forEach(e=>{u.addResourceToTree(s,e,t)}),s}static mergeResourceTree(e,t,s){e.getRoot().toList().forEach(e=>{t.find(t=>t.name===e.importResource.name)||e.remove()}),t.forEach(t=>{const r=e.getResourceByName(t.name);r?r.importResource=t:u.addResourceToTree(e,t,s)})}static addResourceToTree(e,t,s){const r=u.getPath(t);let o;o=t.isDirectory()?r:r.slice(0,r.length-1);const c=u.getOrCreateParent(e,o);if(t.isFile()){const e=new i.ImportResourceTreeElement;return e.parent=c,e.importResource=t,e.path=r.join("/"),e.name=r[r.length-1],c.addResource(e),u.setIcon(e,s),e}return c.importResource=t,c.path=r.join("/"),u.setIcon(c,s),c}static setIcon(e,t){e.iconClass=t?a.get(e.importResource.type):n.get(e.importResource.type)}static getOrCreateParent(e,t){let s=e;return t.forEach(e=>{const t=s.getOrCreateDirectory(e);t.parent=s,s=t}),s}static getPath(e){if(e.isURL())return[e.name];const t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}static calculateElementIndent(e){e.indent=8+u.getParentsCount(e)*c+"px",e.directories.forEach(e=>u.calculateElementIndent(e)),e.files.forEach(e=>u.calculateElementIndent(e))}static setupAfterTreeInitProperties(e){e.isRoot()||(e.isImportable=u.isImportable(e.importResource),e.hasOngoingImport=u.hasOngoingImport(e.importResource),e.canResetStatus=u.canResetStatus(e.importResource),e.hasStatusInfo="DONE"===e.importResource.status||"ERROR"===e.importResource.status,e.isEditable=e.importResource.isText(),u.setupShortenedMessage(e),u.setupShortenedContext(e),u.setupShortenedName(e),u.setupImportedAndModifiedComparableProperties(e)),e.directories.forEach(e=>u.setupAfterTreeInitProperties(e)),e.files.forEach(e=>u.setupAfterTreeInitProperties(e))}static setupShortenedMessage(e){const t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}static setupShortenedContext(e){const t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupShortenedName(e){const t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}static setupImportedAndModifiedComparableProperties(e){const t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}static isImportable(e){return e.status!==o.ImportResourceStatus.IMPORTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.PENDING&&e.status!==o.ImportResourceStatus.INTERRUPTING&&e.status!==o.ImportResourceStatus.UPLOADING&&e.status!==o.ImportResourceStatus.UPLOADED&&e.status!==o.ImportResourceStatus.UPLOAD_ERROR}static hasOngoingImport(e){return e.status===o.ImportResourceStatus.IMPORTING||e.status===o.ImportResourceStatus.UPLOADING||e.status===o.ImportResourceStatus.PENDING||e.status===o.ImportResourceStatus.INTERRUPTING}static canResetStatus(e){return e.status===o.ImportResourceStatus.DONE||e.status===o.ImportResourceStatus.ERROR}static getParentsCount(e){let t=0;if(void 0===e.parent)return t;let s=e.parent;for(;s;)s=s.parent,t++;return t-1}}},68:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return r}));const r={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},77:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceType",(function(){return r}));const r={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[48,61,252],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[48,61,252],{146:function(e,t,o){"use strict";o.r(t);o(38);var n=o(80),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(R(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const h=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),h())}));const R=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),h())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},251:function(e,t,o){"use strict";o.r(t);o(146);angular.module("graphdb.framework.autocomplete",["ngRoute","graphdb.framework.autocomplete.controllers"])},80:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=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([[49,109,245],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[49,109,245],{156:function(e,t,o){"use strict";o.r(t);o(71),o(81);function n(e,t,o,n,r,s,c,a,l){let d,i;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{l.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;d=_.cloneDeep(s.clusterModel),e.clusterNodes=d.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),i=e.clusterNodes.map(e=>e.endpoint),e.locations=d.locations.filter(e=>!i.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},71:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},81:function(e,t,o){"use strict";o.r(t);o(36);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,240],{108:function(e,t,o){"use strict";o.r(t),o.d(t,"getFileName",(function(){return r}));var i=o(92),n=o(0);const r=function(e){let t=e.lastIndexOf("/");-1===t&&(t=e.lastIndexOf("\\"));let o=e;return-1!==t&&(o=o.substring(t+1)),o},a=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},s=function(){const e=document.getElementById("shaclOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"},l=function(e,t){e.queryTimeout&&(t.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(t.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),t.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),t.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(t.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),t.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),t.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),t.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},c=function(e,t){return"isInvalidQueryLimit"===e?t.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?t.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?t.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?t.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?t.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?t.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?t.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?t.instant("invalid.bound.join.block.size"):void 0},d=function(e,t){const o=Object.keys(e),i=Object.values(e);for(let e=0;e<o.length;e++)if(i[e])return c(o[e],t);return""},u=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},p=function(e){return e.getLocations().then(e=>e.filter(e=>!e.errorMsg&&!e.degradedReason))};function f(e,t,o,r,a,s,l,c,d,u,p,f,m){e.loader=!0,e.isLocationInactive=function(t){return!t.active||!e.hasActiveLocation()};const v=f.defer();function y(){return a.getLocations(v).then(t=>(e.locations=t,t)).finally(()=>e.loader=!1)}e.hasActiveLocation=function(){return a.hasActiveLocation()},e.getActiveLocation=function(){return a.getActiveLocation()},e.getLocationError=function(){return a.getLocationError()},e.getDegradedReason=function(){return a.getDegradedReason()},e.getRepositories=function(){return a.getRepositories()},e.isRepoActive=function(e){return a.isRepoActive(e)},e.deleteLocation=function(t){s.openSimpleModal({title:p.instant("location.confirm.detach"),message:p.instant("location.confirm.detach.warning",{uri:t}),warning:!0}).result.then((function(){e.loader=!0,a.deleteLocation(t).finally(()=>y())}))},e.addLocationHttp=function(t){e.loader=!0,c.addLocation(t).success((function(){a.init()})).error((function(e){const t=getError(e);r.error(t,p.instant("common.error"))})).finally(()=>y())},e.addLocation=function(){o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationCtrl"}).result.then((function(t){e.addLocationHttp(t)}))},e.editLocationHttp=function(t){e.loader=!0,c.editLocation(t).success((function(){a.init()})).error((function(e){const t=getError(e);r.error(t,p.instant("common.error"))})).finally(()=>y())},e.editLocation=function(t){o.open({templateUrl:"js/angular/templates/modal/edit-location.html",controller:"EditLocationCtrl",resolve:{location:function(){return t}}}).result.then((function(t){e.editLocationHttp(t)}),(function(){}))},e.setRepository=function(e){a.setRepository(e)},e.deleteRepository=function(t){s.openSimpleModal({title:p.instant("common.confirm.delete"),message:Object(n.decodeHTML)(p.instant("delete.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,a.deleteRepository(t).finally(()=>{y(),e.loader=!1}),function(e){const t="dependencies-selectedGraph-"+e.id,o="classHierarchy-selectedGraph-"+e.id;angular.forEach(d.keys(),(function(e){(e.startsWith(o)||e.startsWith(t))&&d.remove(e)}))}(t)}))},e.restartRepository=function(t){s.openSimpleModal({title:p.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(p.instant("confirm.restart.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,a.restartRepository(t).finally(()=>y())}))},e.toggleDefaultRepository=function(t){e.getDefaultRepository()===t?a.setDefaultRepository(null):a.setDefaultRepository(t)},e.getDefaultRepository=function(){return a.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let t=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const o=l.getAuthToken();return o&&(t=`${t}&authToken=${encodeURIComponent(o)}`),t},e.copyToClipboard=function(e){s.openCopyToClipboardModal(e)},e.fromFile=function(){o.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){a.init()}))},e.openActiveLocationSettings=function(){o.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},y();const R=u((function(){m.isActive()&&!t.guidePaused||(a.initQuick(),y())}),5e3);e.$on("$destroy",(function(){u.cancel(R),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return a.getRepositoriesFromLocation(e)}}function m(e,t,o,i,n){e.upload=function(t){t&&t.length&&(e.uploadFile=t[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,o.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,t.close()})).error((function(t){const o=getError(t);i.error(o,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){t.dismiss("cancel")}}function v(e,t,o,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=u(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?t.close(e.newLocation):o.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){t.dismiss("cancel")}}function y(e,t,o,i){e.editedLocation=_.cloneDeep(o),e.docBase=u(i),e.ok=function(){t.close(e.editedLocation)},e.cancel=function(){t.dismiss("cancel")}}function R(e,t){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){t.path(`${t.path()}/${e}`)}}function T(e,t,o,n,r,c,u,f,m,v){function y(e){switch(e){case i.REPOSITORY_TYPES.graphdbRepo:t.pageTitle=v.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:t.pageTitle=v.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:t.pageTitle=v.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var R;t.rulesets=i.STATIC_RULESETS.slice(),t.repositoryTypes=i.REPOSITORY_TYPES,t.params=f,t.repositoryType=f.repositoryType,t.enable=!0,t.loader=!0,t.pageTitle=v.instant("view.create.repo.title"),t.repositoryInfo={id:"",params:{},title:"",type:"",location:""},t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},p(n).then(e=>{t.locations=e}),t.changedLocation=function(){t.$broadcast("changedLocation")},t.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const o=e.data;var i;t.repositoryInfo.params=o.params,t.repositoryInfo.type=o.type,a(t.repositoryInfo.params),(i=t.repositoryInfo.params)&&i.member&&(i.member.value=[]),t.loader=!1,c((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const i=getError(e);o.error(i,v.instant("common.error")),t.loader=!1}))},t.repositoryType&&(function(e){return t.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R=t.repositoryType)||function(e){return!t.isFreeEdition()&&!t.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return t.isFreeEdition()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return e===i.REPOSITORY_TYPES.ontop}(R)||function(e){return e===i.REPOSITORY_TYPES.fedx}(R))?(t.repositoryInfo.type=t.repositoryType,t.getConfig(t.repositoryType),y(t.repositoryType)):r.path("/repository/create"),t.hasActiveLocation=function(){return n.hasActiveLocation()},t.activeLocation=function(){return n.getActiveLocation()};let T=!1;t.uploadRuleset=function(e){e&&e.length&&(t.uploadFile=e[0],t.uploadFileLoader=!0,u.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:t.uploadFile,location:t.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){const o=t.uploadFile.name,i={id:e.fileLocation,name:"Custom: "+o};t.rulesetPie?t.rulesets[0]=i:t.rulesets.unshift(i),t.rulesetPie=e.fileLocation,t.rulesetPieFile=o,t.repositoryInfo.params.ruleset.value=t.rulesetPie}else o.error(e.errorMessage),T=!0;t.uploadFileLoader=!1})).error((function(e){const i=getError(e);o.error(i,v.instant("common.error")),t.uploadFile="",t.uploadFileLoader=!1})))},t.noMembersError=function(){o.error(v.instant("fedx.create.repo.no.members.warning"))},t.goBackToPreviousLocation=function(){angular.isDefined(f.previous)?(delete r.$$search.previous,r.path("/")):r.path("/repository")},t.createRepoHttp=function(){t.loader=!0,m.createRepository(t.repositoryInfo).then((function(){return o.success(v.instant("created.repo.success.msg",{repoId:t.repositoryInfo.id})),n.init()})).then(()=>t.goBackToPreviousLocation()).catch((function(e){const t=getError(e.data);o.error(t,v.instant("common.error"))})).finally(()=>{t.loader=!1})},t.createRepo=function(){if(!t.repositoryInfo.id)return void o.error(v.instant("empty.repoid.warning"));t.isInvalidRepoName=!i.FILENAME_PATTERN.test(t.repositoryInfo.id),l(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,v);T?o.error(v.instant("invalid.ruleset.file.error")):t.isInvalidRepoName?o.error(v.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?o.error(e):t.createRepoHttp()},t.rulesetWarning=function(){const e=t.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?v.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?v.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===t.rulesetPie?v.instant("repoTooltips.rulesetWarnings.customRuleset"):""},t.validateNumberInput=function(){l(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return s()},t.autofocusId="autofocus";const g=e.$on("$translateChangeSuccess",()=>{y(t.repositoryType)});t.$on("$destroy",()=>{g()})}function g(e,t,o,i,n,r,a){e.dialogTitle=a||r.instant("update.file.content.header"),i&&o.getRepositoryFileContent(i).success((function(t){e.fileContent=t})).error((function(e){const t=getError(e);n.error(t,r.instant("common.error"))})),e.ok=function(){t.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){t.dismiss("cancel")}}function I(e,t,o,c,u,f,m,v,y,R){t.rulesets=i.STATIC_RULESETS.slice(),t.repositoryTypes=i.REPOSITORY_TYPES,t.editRepoPage=!0,t.canEditRepoId=!1,t.isRepoInCluster=!0,t.params=o,t.loader=!0,t.repositoryInfo={},t.repositoryInfo.id=t.params.repositoryId,t.repositoryInfo.location=t.params.location,t.repositoryInfo.restartRequested=!1,t.repositoryType="",t.saveRepoId=t.params.repositoryId,t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId}),t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},t.hasActiveLocation=function(){return u.hasActiveLocation()};t.$watch(t.hasActiveLocation,(function(){if(t.hasActiveLocation){let e;p(u).then(e=>(t.locations=e,v.getRepository(t.repositoryInfo))).then(o=>(e=o,R.monitorActiveOperations(t.repositoryInfo.id))).then(e=>{t.isRepoInCluster=e.hasClusterOperation()}).catch(o=>e?Promise.resolve():(t.repositoryInfo=void 0,Promise.reject(o))).then(()=>{(e=>{const o=e.data;if(angular.isDefined(o.params.ruleset)){let e=!1;if(angular.forEach(t.rulesets,(function(t){t.id===o.params.ruleset.value&&(e=!0)})),o.params.ruleset&&!e){const e=r(o.params.ruleset.value);t.rulesets.unshift({id:o.params.ruleset.value,name:"Custom: "+e})}}t.repositoryInfo=o,t.setRepositoryType(o.type),a(t.repositoryInfo.params),t.repositoryInfo.saveId=t.saveRepoId,t.loader=!1})(e)}).catch(e=>{const i=e.data,r=e.status,a=o.repositoryId;let s;s=404===r&&"system"!==a?Object(n.decodeHTML)(y.instant("edit.repo.error.not.exists",{repositoryId:a})):404===r&&"system"===a?Object(n.decodeHTML)(y.instant("edit.system.repo.warning")):getError(i),c.error(s,y.instant("common.error"),{allowHtml:!0}),404===r?setTimeout((function(){t.loader=!1,f.path("repository")}),1e3):t.loader=!1})}})),t.setRepositoryType=function(e){t.repositoryType=e},t.noMembersError=function(){c.error(y.instant("fedx.create.repo.no.members.warning"))},t.editRepoHttp=function(){t.loader=!0,v.editRepository(t.repositoryInfo.saveId,t.repositoryInfo).success((function(){c.success(y.instant("edit.repo.success.msg",{saveId:t.repositoryInfo.saveId})),u.init().finally(()=>t.goBackToPreviousLocation()),t.repositoryInfo.saveId===t.repositoryInfo.id&&t.repositoryInfo.restartRequested&&u.restartRepository(t.repositoryInfo)})).error((function(e){const o=getError(e);c.error(o,y.instant("common.error")),t.loader=!1}))},t.editRepository=function(){t.isInvalidRepoName=!i.FILENAME_PATTERN.test(t.repositoryInfo.id),l(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,y);let o=Object(n.decodeHTML)(y.instant("edit.repo.save.changes.msg",{repoId:t.repositoryInfo.id}));t.repositoryInfo.saveId!==t.repositoryInfo.id?o+=Object(n.decodeHTML)(y.instant("edit.repo.rename.changes.msg")):t.repositoryInfo.restartRequested?o+=Object(n.decodeHTML)(y.instant("edit.repo.restart.requested.msg")):o+=Object(n.decodeHTML)(y.instant("edit.repo.restart.needed.msg")),t.isInvalidRepoName?c.error(y.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?c.error(e):m.openSimpleModal({title:y.instant("common.confirm.save"),message:o,warning:!0}).result.then((function(){t.editRepoHttp()}))},t.editRepositoryId=function(){if(t.isRepoInCluster)return;let e=Object(n.decodeHTML)(y.instant("edit.repo.id.warning.msg"));t.isEnterprise()&&(e+=Object(n.decodeHTML)(y.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:y.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){t.canEditRepoId=!0}))},t.goBackToPreviousLocation=function(){angular.isDefined(o.previous)?(delete f.$$search.previous,f.path("/")):f.path("/repository")},t.validateNumberInput=function(){l(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return s()};const T=e.$on("$translateChangeSuccess",()=>{t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId})});t.$on("$destroy",()=>{T()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload"]).controller("LocationsAndRepositoriesCtrl",f).controller("AddLocationCtrl",v).controller("EditLocationCtrl",y).controller("ChooseRepositoryCtrl",R).controller("AddRepositoryCtrl",T).controller("EditRepositoryCtrl",I).controller("EditRepositoryFileCtrl",g).controller("UploadRepositoryConfigCtrl",m),f.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],m.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],y.$inject=["$scope","$uibModalInstance","location","productInfo"],R.$inject=["$scope","$location"],T.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],g.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle"],I.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},92:function(e,t,o){"use strict";o.r(t),o.d(t,"STATIC_RULESETS",(function(){return i})),o.d(t,"REPOSITORY_TYPES",(function(){return n})),o.d(t,"FILENAME_PATTERN",(function(){return r})),o.d(t,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],n={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},r=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,240],{108:function(e,t,o){"use strict";o.r(t),o.d(t,"getFileName",(function(){return r}));var i=o(92),n=o(0);const r=function(e){let t=e.lastIndexOf("/");-1===t&&(t=e.lastIndexOf("\\"));let o=e;return-1!==t&&(o=o.substring(t+1)),o},a=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},s=function(){const e=document.getElementById("shaclOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"},l=function(e,t){e.queryTimeout&&(t.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(t.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),t.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),t.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(t.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),t.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),t.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),t.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},c=function(e,t){return"isInvalidQueryLimit"===e?t.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?t.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?t.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?t.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?t.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?t.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?t.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?t.instant("invalid.bound.join.block.size"):void 0},d=function(e,t){const o=Object.keys(e),i=Object.values(e);for(let e=0;e<o.length;e++)if(i[e])return c(o[e],t);return""},u=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},p=function(e){return e.getLocations().then(e=>e.filter(e=>!e.errorMsg&&!e.degradedReason))};function f(e,t,o,r,a,s,l,c,d,u,p,f,m){e.loader=!0,e.isLocationInactive=function(t){return!t.active||!e.hasActiveLocation()};const v=f.defer();function y(){return a.getLocations(v).then(t=>(e.locations=t,t)).finally(()=>e.loader=!1)}e.hasActiveLocation=function(){return a.hasActiveLocation()},e.getActiveLocation=function(){return a.getActiveLocation()},e.getLocationError=function(){return a.getLocationError()},e.getDegradedReason=function(){return a.getDegradedReason()},e.getRepositories=function(){return a.getRepositories()},e.isRepoActive=function(e){return a.isRepoActive(e)},e.deleteLocation=function(t){s.openSimpleModal({title:p.instant("location.confirm.detach"),message:p.instant("location.confirm.detach.warning",{uri:t}),warning:!0}).result.then((function(){e.loader=!0,a.deleteLocation(t).finally(()=>y())}))},e.addLocationHttp=function(t){e.loader=!0,c.addLocation(t).success((function(){a.init()})).error((function(e){const t=getError(e);r.error(t,p.instant("common.error"))})).finally(()=>y())},e.addLocation=function(){o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationCtrl"}).result.then((function(t){e.addLocationHttp(t)}))},e.editLocationHttp=function(t){e.loader=!0,c.editLocation(t).success((function(){a.init()})).error((function(e){const t=getError(e);r.error(t,p.instant("common.error"))})).finally(()=>y())},e.editLocation=function(t){o.open({templateUrl:"js/angular/templates/modal/edit-location.html",controller:"EditLocationCtrl",resolve:{location:function(){return t}}}).result.then((function(t){e.editLocationHttp(t)}),(function(){}))},e.setRepository=function(e){a.setRepository(e)},e.deleteRepository=function(t){s.openSimpleModal({title:p.instant("common.confirm.delete"),message:Object(n.decodeHTML)(p.instant("delete.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,a.deleteRepository(t).finally(()=>{y(),e.loader=!1}),function(e){const t="dependencies-selectedGraph-"+e.id,o="classHierarchy-selectedGraph-"+e.id;angular.forEach(d.keys(),(function(e){(e.startsWith(o)||e.startsWith(t))&&d.remove(e)}))}(t)}))},e.restartRepository=function(t){s.openSimpleModal({title:p.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(p.instant("confirm.restart.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,a.restartRepository(t).finally(()=>y())}))},e.toggleDefaultRepository=function(t){e.getDefaultRepository()===t?a.setDefaultRepository(null):a.setDefaultRepository(t)},e.getDefaultRepository=function(){return a.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let t=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const o=l.getAuthToken();return o&&(t=`${t}&authToken=${encodeURIComponent(o)}`),t},e.copyToClipboard=function(e){s.openCopyToClipboardModal(e)},e.fromFile=function(){o.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){a.init()}))},e.openActiveLocationSettings=function(){o.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},y();const R=u((function(){m.isActive()&&!t.guidePaused||(a.initQuick(),y())}),5e3);e.$on("$destroy",(function(){u.cancel(R),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return a.getRepositoriesFromLocation(e)}}function m(e,t,o,i,n){e.upload=function(t){t&&t.length&&(e.uploadFile=t[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,o.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,t.close()})).error((function(t){const o=getError(t);i.error(o,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){t.dismiss("cancel")}}function v(e,t,o,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=u(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?t.close(e.newLocation):o.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){t.dismiss("cancel")}}function y(e,t,o,i){e.editedLocation=_.cloneDeep(o),e.docBase=u(i),e.ok=function(){t.close(e.editedLocation)},e.cancel=function(){t.dismiss("cancel")}}function R(e,t){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){t.path(`${t.path()}/${e}`)}}function T(e,t,o,n,r,c,u,f,m,v){function y(e){switch(e){case i.REPOSITORY_TYPES.graphdbRepo:t.pageTitle=v.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:t.pageTitle=v.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:t.pageTitle=v.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var R;t.rulesets=i.STATIC_RULESETS.slice(),t.repositoryTypes=i.REPOSITORY_TYPES,t.params=f,t.repositoryType=f.repositoryType,t.enable=!0,t.loader=!0,t.pageTitle=v.instant("view.create.repo.title"),t.repositoryInfo={id:"",params:{},title:"",type:"",location:""},t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},p(n).then(e=>{t.locations=e}),t.changedLocation=function(){t.$broadcast("changedLocation")},t.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const o=e.data;var i;t.repositoryInfo.params=o.params,t.repositoryInfo.type=o.type,a(t.repositoryInfo.params),(i=t.repositoryInfo.params)&&i.member&&(i.member.value=[]),t.loader=!1,c((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const i=getError(e);o.error(i,v.instant("common.error")),t.loader=!1}))},t.repositoryType&&(function(e){return t.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R=t.repositoryType)||function(e){return!t.isFreeEdition()&&!t.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return t.isFreeEdition()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return e===i.REPOSITORY_TYPES.ontop}(R)||function(e){return e===i.REPOSITORY_TYPES.fedx}(R))?(t.repositoryInfo.type=t.repositoryType,t.getConfig(t.repositoryType),y(t.repositoryType)):r.path("/repository/create"),t.hasActiveLocation=function(){return n.hasActiveLocation()},t.activeLocation=function(){return n.getActiveLocation()};let T=!1;t.uploadRuleset=function(e){e&&e.length&&(t.uploadFile=e[0],t.uploadFileLoader=!0,u.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:t.uploadFile,location:t.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){T=!1;const o=t.uploadFile.name,i={id:e.fileLocation,name:"Custom: "+o};t.rulesetPie?t.rulesets[0]=i:t.rulesets.unshift(i),t.rulesetPie=e.fileLocation,t.rulesetPieFile=o,t.repositoryInfo.params.ruleset.value=t.rulesetPie}else o.error(e.errorMessage),T=!0,t.uploadFile="";t.uploadFileLoader=!1})).error((function(e){const i=getError(e);o.error(i,v.instant("common.error")),t.uploadFile="",t.uploadFileLoader=!1,T=!0})))},t.noMembersError=function(){o.error(v.instant("fedx.create.repo.no.members.warning"))},t.goBackToPreviousLocation=function(){angular.isDefined(f.previous)?(delete r.$$search.previous,r.path("/")):r.path("/repository")},t.createRepoHttp=function(){t.loader=!0,m.createRepository(t.repositoryInfo).then((function(){return o.success(v.instant("created.repo.success.msg",{repoId:t.repositoryInfo.id})),n.init()})).then(()=>t.goBackToPreviousLocation()).catch((function(e){const t=getError(e.data);o.error(t,v.instant("common.error"))})).finally(()=>{t.loader=!1})},t.createRepo=function(){if(!t.repositoryInfo.id)return void o.error(v.instant("empty.repoid.warning"));t.isInvalidRepoName=!i.FILENAME_PATTERN.test(t.repositoryInfo.id),l(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,v);T?o.error(v.instant("invalid.ruleset.file.error")):t.isInvalidRepoName?o.error(v.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?o.error(e):t.createRepoHttp()},t.rulesetWarning=function(){const e=t.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?v.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?v.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===t.rulesetPie?v.instant("repoTooltips.rulesetWarnings.customRuleset"):""},t.validateNumberInput=function(){l(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return s()},t.autofocusId="autofocus";const g=e.$on("$translateChangeSuccess",()=>{y(t.repositoryType)});t.$on("$destroy",()=>{g()})}function g(e,t,o,i,n,r,a){e.dialogTitle=a||r.instant("update.file.content.header"),i&&o.getRepositoryFileContent(i).success((function(t){e.fileContent=t})).error((function(e){const t=getError(e);n.error(t,r.instant("common.error"))})),e.ok=function(){t.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){t.dismiss("cancel")}}function I(e,t,o,c,u,f,m,v,y,R){t.rulesets=i.STATIC_RULESETS.slice(),t.repositoryTypes=i.REPOSITORY_TYPES,t.editRepoPage=!0,t.canEditRepoId=!1,t.isRepoInCluster=!0,t.params=o,t.loader=!0,t.repositoryInfo={},t.repositoryInfo.id=t.params.repositoryId,t.repositoryInfo.location=t.params.location,t.repositoryInfo.restartRequested=!1,t.repositoryType="",t.saveRepoId=t.params.repositoryId,t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId}),t.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},t.hasActiveLocation=function(){return u.hasActiveLocation()};t.$watch(t.hasActiveLocation,(function(){if(t.hasActiveLocation){let e;p(u).then(e=>(t.locations=e,v.getRepository(t.repositoryInfo))).then(o=>(e=o,R.monitorActiveOperations(t.repositoryInfo.id))).then(e=>{t.isRepoInCluster=e.hasClusterOperation()}).catch(o=>e?Promise.resolve():(t.repositoryInfo=void 0,Promise.reject(o))).then(()=>{(e=>{const o=e.data;if(angular.isDefined(o.params.ruleset)){let e=!1;if(angular.forEach(t.rulesets,(function(t){t.id===o.params.ruleset.value&&(e=!0)})),o.params.ruleset&&!e){const e=r(o.params.ruleset.value);t.rulesets.unshift({id:o.params.ruleset.value,name:"Custom: "+e})}}t.repositoryInfo=o,t.setRepositoryType(o.type),a(t.repositoryInfo.params),t.repositoryInfo.saveId=t.saveRepoId,t.loader=!1})(e)}).catch(e=>{const i=e.data,r=e.status,a=o.repositoryId;let s;s=404===r&&"system"!==a?Object(n.decodeHTML)(y.instant("edit.repo.error.not.exists",{repositoryId:a})):404===r&&"system"===a?Object(n.decodeHTML)(y.instant("edit.system.repo.warning")):getError(i),c.error(s,y.instant("common.error"),{allowHtml:!0}),404===r?setTimeout((function(){t.loader=!1,f.path("repository")}),1e3):t.loader=!1})}})),t.setRepositoryType=function(e){t.repositoryType=e},t.noMembersError=function(){c.error(y.instant("fedx.create.repo.no.members.warning"))},t.editRepoHttp=function(){t.loader=!0,v.editRepository(t.repositoryInfo.saveId,t.repositoryInfo).success((function(){c.success(y.instant("edit.repo.success.msg",{saveId:t.repositoryInfo.saveId})),u.init().finally(()=>t.goBackToPreviousLocation()),t.repositoryInfo.saveId===t.repositoryInfo.id&&t.repositoryInfo.restartRequested&&u.restartRepository(t.repositoryInfo)})).error((function(e){const o=getError(e);c.error(o,y.instant("common.error")),t.loader=!1}))},t.editRepository=function(){t.isInvalidRepoName=!i.FILENAME_PATTERN.test(t.repositoryInfo.id),l(t.repositoryInfo.params,t.invalidValues);const e=d(t.invalidValues,y);let o=Object(n.decodeHTML)(y.instant("edit.repo.save.changes.msg",{repoId:t.repositoryInfo.id}));t.repositoryInfo.saveId!==t.repositoryInfo.id?o+=Object(n.decodeHTML)(y.instant("edit.repo.rename.changes.msg")):t.repositoryInfo.restartRequested?o+=Object(n.decodeHTML)(y.instant("edit.repo.restart.requested.msg")):o+=Object(n.decodeHTML)(y.instant("edit.repo.restart.needed.msg")),t.isInvalidRepoName?c.error(y.instant("wrong.repo.name.error")):"fedx"===t.repositoryType&&0===t.repositoryInfo.params.member.value.length?t.noMembersError():e?c.error(e):m.openSimpleModal({title:y.instant("common.confirm.save"),message:o,warning:!0}).result.then((function(){t.editRepoHttp()}))},t.editRepositoryId=function(){if(t.isRepoInCluster)return;let e=Object(n.decodeHTML)(y.instant("edit.repo.id.warning.msg"));t.isEnterprise()&&(e+=Object(n.decodeHTML)(y.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:y.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){t.canEditRepoId=!0}))},t.goBackToPreviousLocation=function(){angular.isDefined(o.previous)?(delete f.$$search.previous,f.path("/")):f.path("/repository")},t.validateNumberInput=function(){l(t.repositoryInfo.params,t.invalidValues)},t.getShaclOptionsClass=function(){return s()};const T=e.$on("$translateChangeSuccess",()=>{t.pageTitle=y.instant("view.edit.repo.title",{repositoryId:t.params.repositoryId})});t.$on("$destroy",()=>{T()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload"]).controller("LocationsAndRepositoriesCtrl",f).controller("AddLocationCtrl",v).controller("EditLocationCtrl",y).controller("ChooseRepositoryCtrl",R).controller("AddRepositoryCtrl",T).controller("EditRepositoryCtrl",I).controller("EditRepositoryFileCtrl",g).controller("UploadRepositoryConfigCtrl",m),f.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],m.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],y.$inject=["$scope","$uibModalInstance","location","productInfo"],R.$inject=["$scope","$location"],T.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],g.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle"],I.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},92:function(e,t,o){"use strict";o.r(t),o.d(t,"STATIC_RULESETS",(function(){return i})),o.d(t,"REPOSITORY_TYPES",(function(){return n})),o.d(t,"FILENAME_PATTERN",(function(){return r})),o.d(t,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],n={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},r=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[50,71,112],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[50,71,112],{189:function(e,i,a){"use strict";a.r(i);a(39),a(83);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},267:function(e,i,a){"use strict";a.r(i);a(189);angular.module("graphdb.framework.guides",["ui.bootstrap","graphdb.framework.guides.controllers"])},83:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,148,150],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,148,150],{202:function(r,i){function e(r){return{restrict:"A",require:"ngModel",link:function(i,e,t,o){o.$parsers.unshift((function(i){const e=r.isValidIri(i,i.toString());return o.$setValidity("validateUri",e),i}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},203:function(r,i){function e(){return{link:function(r,i,e){r.$watch("file.status",(function(){"IMPORTING"!==r.file.status&&"UPLOADING"!==r.file.status||!$(i).has("object").length>0&&$(i).append('<object width="'+e.size+'" height="'+e.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.4-RC2">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},281:function(r,i,e){"use strict";e.r(i);e(7),e(28),e(190),e(202),e(203),e(243),e(29),e(62),e(63);angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.directives","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[52,75,162],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[52,75,162],{193:function(e,t,i){"use strict";i.r(t);var n=i(78);function s(e,t,i){let s;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const c=()=>{if(s.isPristine(e.activeTabId)){const t=i.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=s.isHelpVisible(e.activeTabId)};e.openTab=e=>{i.updateActiveTabId(e)},e.toggleHelp=()=>{s.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),c()};const r=[];r.push(i.onActiveTabIdUpdated(i=>{e.activeTabId=i,t.hash(e.activeTabId),c()})),r.push(i.onResourcesUpdated(c));e.$on("$destroy",()=>r.forEach(e=>e())),(()=>{s=new o;const i=t.hash()||n.TABS.USER;e.openTab(i),c()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",s),s.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[n.TABS.USER]:{isHelpVisible:void 0},[n.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},68:function(e,t,i){"use strict";i.r(t),i.d(t,"ImportResourceStatus",(function(){return n}));const n={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},78:function(e,t,i){"use strict";i.r(t),i.d(t,"TABS",(function(){return o}));var n=i(27),s=i(68);const o={USER:"user",SERVER:"server"};function c(e){let t=o.USER,i=[],c=[],r=[],a=!0,d=[];return{updateActiveTabId:function(i){t=i,e.emitSync("activeTabIdUpdated",p())},getActiveTabId:p,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const i=f();i.push(t),b(i),e.emitSync("fileAdded",Object(n.cloneDeep)(t))},updateFiles:b,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:m,updateImportedResources:function(t){i=t,e.emitSync("importedResourcesUpdated",m()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){a=t,e.emitSync("showLoaderUpdated",l())},getShowLoader:l,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){d=Object(n.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",u())},getSelectedFilesNames:u,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),i=t.find(({name:t})=>t===e.name);i?Object.assign(i,e):t.push(e);U(t)},getResourceForUpload:function(e){return Object(n.cloneDeep)(c.find(({name:t})=>t===e))},updateResourcesForUpload:U,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function u(){return Object(n.cloneDeep)(d)}function l(){return a}function p(){return t}function b(t){r=Object(n.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(n.cloneDeep)(r)}function m(){return Object(n.cloneDeep)(i)||[]}function R(){const e=m();let t=S();const i=[],n=[];return e.forEach(({name:e})=>{const o=t.find(({name:t})=>t===e);o&&(o.status===s.ImportResourceStatus.UPLOADED?i.push(o):n.push(o))}),i.length>0&&(t=t.filter(({name:e})=>!i.some(({name:t})=>t===e)),U(t,!1)),e.filter(({name:e})=>!n.some(t=>e===t)).concat(t)}function U(t,i=!0){c=Object(n.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),i&&e.emitSync("resourcesUpdated",R())}function S(){return Object(n.cloneDeep)(c)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",c),c.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,153,155,156],{110:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,153,155,156],{110:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},159:function(e,_,t){"use strict";t.r(_),t.d(_,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return s}));var N=t(110),n=t(75);const s={getLegendNodes:function(){const e=[];return e.push({nodeState:N.NodeState.LEADER,customText:"node_state_leader"}),e.push({nodeState:N.NodeState.FOLLOWER,customText:"node_state_follower"}),e.push({nodeState:N.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),e.forEach((e,_)=>e.id=_),e},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",icon:""}],getLegendLinks:function(){const e=[];return e.push({status:n.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),e.push({status:n.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),e.push({status:n.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),e.push({status:n.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),e.forEach((e,_)=>e.id=_),e},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},75:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N})),t.d(_,"RecoveryState",(function(){return n})),t.d(_,"LinkState",(function(){return s}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},n={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},s={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[54,76,158],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[54,76,158],{176:function(e,r,t){"use strict";t.r(r);var s=t(91);angular.module("graphdb.framework.rest.graphconfig.service",[]).factory("GraphConfigRestService",i);function i(e){return{getGraphConfigs:function(){return e.get("rest/explore-graph/config")},getGraphConfigSamples:function(){return e.get("rest/explore-graph/samples")},loadGraphForConfig:function(r,t,s,i){return e.get(`rest/explore-graph/config/graph/${encodeURIComponent(r.id)}?includeInferred=${t}&linksLimit=${s}&sameAsState=${i}`)},getConfig:function(r){return e.get("rest/explore-graph/config/"+encodeURIComponent(r)).then(e=>Object(s.mapGraphsConfigResponseToModel)(e.data))},createGraphConfig:function(r){return e.post("rest/explore-graph/config",r)},updateGraphConfig:function(r){return console.log("rest update",r),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,t,s,i,a){return e({method:"POST",url:"rest/explore-graph/validate",data:{query:r,queryType:t,params:s,all:i,oneOf:a}})}}}i.$inject=["$http"]},76:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,n=!0,u,o,p,h,c,d,y,Q,l,g,_,I,f,m,D){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=n,this._startGraphQuery=u,this._startIRI=o,this._startIRILabel=p,this._expandQuery=h,this._resourceQuery=c,this._predicateLabelQuery=d,this._resourcePropertiesQuery=y,this._shared=Q,this._description=l,this._hint=g,this._startGraphQueryDescription=_,this._expandQueryDescription=I,this._resourceQueryDescription=f,this._predicateLabelQueryDescription=m,this._resourcePropertiesQueryDescription=D}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},91:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return n}));var s=t(76);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),n=e=>e.map(e=>a(e))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[57,92,241],{105:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[57,92,241],{105:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},208:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(105);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}parseData(t){return t.nonHeapMemoryUsage}}},66:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(447);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,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{322:function(e,t,n){"use strict";n.r(t);n(7),n(28),n(244),n(30),n(480);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"])},480:function(e,t){
|
|
2
2
|
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,i=27,a=32,r=38,o=40,s=37,u=39,l=46,c=188,g=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,i,r,o,p,f){function m(e,t,n,i){var a,r,s,u,l={};return a=function(t){return f.safeToString(t[e.displayProperty])},r=function(t,n){t[e.displayProperty]=n},s=function(t){var i=a(t),r=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!f.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return o.when(r&&n({$tag:t})).then(f.promisifyValue)},u=function(e){return o.when(i({$tag:e})).then(f.promisifyValue)},l.items=[],l.addText=function(e){var t={};return r(t,e),l.add(t)},l.add=function(n){var i=a(n);return e.replaceSpacesWithDashes&&(i=f.replaceSpacesWithDashes(i)),r(n,i),s(n).then((function(){l.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){i&&t.trigger("invalid-tag",{$tag:n})}))},l.remove=function(e){var n=l.items[e];return u(n).then((function(){return l.items.splice(e,1),l.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e]},l.selectPrior=function(){l.select(--l.index)},l.selectNext=function(){l.select(++l.index)},l.removeSelected=function(){return l.remove(l.index)},l.clearSelection=function(){l.selected=null,l.index=-1},l.getItems=function(){return e.useStrings?l.items.map(a):l.items},l.clearSelection(),l}function h(e){return-1!==d.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,g],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,g],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,g,d,p){var m,h,v=[n,c,a,e,l,s,u],T=o.tagList,y=o.events,$=o.options,x=g.find("input"),b=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=$.maxTags),p.$setValidity("minTags",T.items.length>=$.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!$.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){x[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[$.keyProperty||$.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,$.displayProperty),$.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),d.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=i.prop("activeElement"),t=e===x[0],n=g[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):r.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==b.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){g.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){$.addOnBlur&&!$.addFromAutocompleteOnly&&T.addText(o.newTag.text()),g.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var i,r,g,d,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=$.addOnEnter,m[c]=$.addOnComma,m[a]=$.addOnSpace,i=!$.addFromAutocompleteOnly&&m[p],r=(p===e||p===l)&&T.selected,d=p===e&&0===o.newTag.text().length&&$.enableEditingLastTag,g=(p===e||p===s||p===u)&&0===o.newTag.text().length&&!$.enableEditingLastTag,i?T.addText(o.newTag.text()):d?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[$.displayProperty])}))):r?T.removeSelected():g&&(p===s||p===e?T.selectPrior():p===u&&T.selectNext()),(i||g||r||d)&&t.preventDefault())})).on("input-paste",(function(e){if($.addOnPaste){var t=e.getTextData().split($.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,i,a){var r=a.registerTagItem(),o=r.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){r.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,a,s,u,l,c){function g(e,t,n){var i,a,r,o={};return r=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter((function(e){return!c.findInObjectArray(n,e,r(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=c.replaceSpacesWithDashes(e),n=c.replaceSpacesWithDashes(n)),c.defaultComparer(e,n)}))}))},o.reset=function(){a=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=c.debounce((function(n,s){o.query=n;var l=u.when(e({$query:n}));a=l,l.then((function(e){l===a&&(e=c.makeObjectArray(e.data||e,r()),e=i(e,s),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=c.simplePubSub(),l.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new g(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,a,s,u){var l,g=[n,t,i,r,o],d=e.suggestionList,p=u.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),l=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){d.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return d.selected&&(p.addTag(angular.copy(d.selected)),d.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var i=t===d.selected;return[e.matchClass({$match:t,$index:n,$selected:i}),{selected:i}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){d.reset()})).on("input-change",(function(e){l(e)?d.load(e,p.getTags()):d.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&l(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(a){var s=a.keyCode,u=!1;if(!c.isModifierOn(a)&&-1!==g.indexOf(s))return d.visible?s===o?(d.selectNext(),u=!0):s===r?(d.selectPrior(),u=!0):s===i?(d.reset(),u=!0):(s===n||s===t)&&(u=e.addSuggestion()):s===o&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),u=!0),u?(a.preventDefault(),a.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),a=n.prop("offsetTop"),r=n.prop("offsetHeight"),o=i.prop("clientHeight"),s=i.prop("scrollTop");s>a?i.prop("scrollTop",a):a+r>o+s&&i.prop("scrollTop",a+r-o)}(a,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,i,a,r){var o=r.registerAutocompleteMatch(),s=o.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,i,a){a((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,a){var r,o,s=e.getTextAutosizeThreshold();(r=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(r),o=function(e){var t,a=e;return angular.isString(a)&&0===a.length&&(a=i.placeholder),a&&(r.text(a),r.css("display",""),t=r.prop("offsetWidth"),r.css("display","none")),n.css("width",t?t+s+"px":""),e},a.$parsers.unshift(o),a.$formatters.unshift(o),i.$observe("placeholder",(function(e){a.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(i){var a={};return a[String]=function(e){return e},a[Number]=function(e){return parseInt(e,10)},a[Boolean]=function(e){return"true"===e.toLowerCase()},a[RegExp]=function(e){return new RegExp(e)},{load:function(n,r,o,s){var u=function(){return!0};r.options={},angular.forEach(s,(function(s,l){var c,g,d,p,f,m;c=s[0],g=s[1],d=s[2]||u,p=a[c],f=function(){var t=e[n]&&e[n][l];return angular.isDefined(t)?t:g},m=function(e){r.options[l]=e&&d(e)?p(e):f()},t[n]&&t[n][l]?o.$observe(l,(function(e){m(e),r.events.trigger("option-change",{name:l,newValue:e})})):m(o[l]&&i(o[l])(r.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var a=arguments;e.cancel(i),i=e((function(){t.apply(null,a)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var i={};i[t]=e,n.push(i)})),n},findInObjectArray:function(e,t,i,a){var r=null;return a=a||n.defaultComparer,e.some((function(e){return a(e[i],t[i])?(r=e,!0):void 0})),r},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var i=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(i,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,i){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(i?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,i){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(i)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,95],{109:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,e,n){const t=[];function a(r,e){if(!r||"*"===r)return r;const n=r.startsWith("!"),t=n?"!CUSTOM_":"CUSTOM_";return e?t+r.replace(/^!/,""):n?"!"+r.replace(t,""):r.replace(t,"")}function o(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const s="tags-input"===e[0].nodeName.toLowerCase();if(("INPUT"===e[0].tagName||"TEXTAREA"===e[0].tagName||s)&&n.ngModel){const i=e.controller("ngModel");s?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>o(r))),r})),t.push(r.$watch(n.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>o(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!o(r)),r})),i.$formatters.push((function(r){return a(r,!1)})),i.$parsers.push((function(r){return a(r,!0)})))}t.push(r.$on("$destroy",()=>{t.forEach(r=>r())}))}}}))},249:function(r,e,n){"use strict";n.r(e);n(7),n(28),n(34),n(108),n(240),n(29),n(109);angular.module("graphdb.framework.aclmanagement",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.aclmanagement.directives","graphdb.framework.aclmanagement.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers"])}}]);
|