graphdb-workbench 2.7.1-RC2 → 2.7.2-RC1
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/{10.b578a931354c66da5421.bundle.js → 10.1aa770d7f1e7124afe38.bundle.js} +1 -1
- package/dist/{106.e5a060ed01c6159adbba.bundle.js → 106.f34d41aa335a1a1c4d38.bundle.js} +1 -1
- package/dist/{109.118654b6355bb0e9daae.bundle.js → 109.7befd38d683a7d38c650.bundle.js} +1 -1
- package/dist/{11.786cb1f629c5c7a70043.bundle.js → 11.5ac6f570d5d9addd9325.bundle.js} +2 -2
- package/dist/{110.0874d2482d370e16d419.bundle.js → 110.d6dd4580333cc5874d3c.bundle.js} +1 -1
- package/dist/112.9a2f16b0bb3599c14751.bundle.js +1 -0
- package/dist/{113.eb9d1c1c2f0dc26a03d2.bundle.js → 113.27b113aa87f5120f3214.bundle.js} +1 -1
- package/dist/{115.4105806b5f46baf5afb3.bundle.js → 115.b8d4948e91bc87af25f6.bundle.js} +1 -1
- package/dist/{12.d6c4500594aa36f119f4.bundle.js → 12.578e8ea044e8b40a94ee.bundle.js} +1 -1
- package/dist/{13.fb659cef28f20887f1bf.bundle.js → 13.5c9ab846d6b784ce3825.bundle.js} +1 -1
- package/dist/14.14fc4d8859366e46cf8e.bundle.js +1 -0
- package/dist/148.28bebc68de5695208221.bundle.js +1 -1
- package/dist/{152.20c3f763a395b9058895.bundle.js → 152.ee6121b3ed275c8e2e96.bundle.js} +1 -1
- package/dist/{154.3dc268bef3e631b1ed24.bundle.js → 154.1a185f1296920a9bf4f8.bundle.js} +1 -1
- package/dist/{156.e7ffc37f18a10ada269f.bundle.js → 156.cbdb3e315d0152425838.bundle.js} +1 -1
- package/dist/{157.a5a2fcf86cd4591328e2.bundle.js → 157.90de0b1ea209ff696c9e.bundle.js} +1 -1
- package/dist/{159.9f9a14177b39fc786c17.bundle.js → 159.6736108c1fa2b4eafd4f.bundle.js} +1 -1
- package/dist/{16.5696bf90cca7837fd958.bundle.js → 16.5a4f7749c7625c7f6f28.bundle.js} +1 -1
- package/dist/{161.15776c41c7bef18471c2.bundle.js → 161.39f87c352f42106bacaf.bundle.js} +1 -1
- package/dist/{163.5b6954cd7f4e6780f9ad.bundle.js → 163.a2dadd41b54ec7cf64c3.bundle.js} +1 -1
- package/dist/{164.365d82382389763c06cb.bundle.js → 164.d4542931bcfc40f30b0b.bundle.js} +1 -1
- package/dist/{17.6b19268cbe8c346e7bf5.bundle.js → 17.4cbad7cd0c476b9a4ec4.bundle.js} +2 -2
- package/dist/{175.9bf4ed4661ce23369008.bundle.js → 175.2f2a140f48766e99c704.bundle.js} +1 -1
- package/dist/{18.8a4cdfd22f89998035c6.bundle.js → 18.a7609828cd2fd3058d18.bundle.js} +2 -2
- package/dist/{181.c32f974811a0f7981f66.bundle.js → 181.1cef448de3c0f1136a20.bundle.js} +1 -1
- package/dist/{182.5ebf0088e618b051c3ca.bundle.js → 182.56348d343ee5cf092e0d.bundle.js} +1 -1
- package/dist/{183.aa6f174131ec505e1558.bundle.js → 183.9ee4e46cf1e1368e86ed.bundle.js} +1 -1
- package/dist/{184.ace70d1863766c247819.bundle.js → 184.41ee6066caff3af33283.bundle.js} +1 -1
- package/dist/{185.4c4899c943e63e459b71.bundle.js → 185.6ed725999b50da70e228.bundle.js} +1 -1
- package/dist/{187.700b96957b7ce13f06aa.bundle.js → 187.90162eddabd6aff17165.bundle.js} +1 -1
- package/dist/{19.85f1a48b7913642b239e.bundle.js → 19.6789bda5aa81fc5846c0.bundle.js} +2 -2
- package/dist/{190.84f9b166a3172c8380b9.bundle.js → 190.e981b1883942821aeda7.bundle.js} +1 -1
- package/dist/{191.f675a9f80821189f4093.bundle.js → 191.b411571959305e3646e6.bundle.js} +1 -1
- package/dist/{192.6c8735065e5aae308f88.bundle.js → 192.25a8b9411da49d711c94.bundle.js} +1 -1
- package/dist/{193.5842ef44bb495779bd5d.bundle.js → 193.fd8099b7720c4dd43846.bundle.js} +1 -1
- package/dist/{194.1cdbcab776271f82f87f.bundle.js → 194.899581165008ec35c6f2.bundle.js} +1 -1
- package/dist/{195.4e232c360fb6238e2a29.bundle.js → 195.b8c5e9f217902accb057.bundle.js} +1 -1
- package/dist/{196.bbab8da6250f250d4d71.bundle.js → 196.7ea52062f0a2531b65b0.bundle.js} +1 -1
- package/dist/{2.b7e2fecca27c68a4d45c.bundle.js → 2.f061edb2896b6301bec7.bundle.js} +2 -2
- package/dist/{20.2d0e2bc48bb3add4c410.bundle.js → 20.4de171699394fd8bdbef.bundle.js} +1 -1
- package/dist/{202.b29662d51d4b69cc106d.bundle.js → 202.10ce39fbc37365892b07.bundle.js} +1 -1
- package/dist/{204.6c9f2420ffb5476c64d5.bundle.js → 204.c9577ddc3e4f2eff1518.bundle.js} +1 -1
- package/dist/{209.a909bddd992adb645378.bundle.js → 209.1a590652b60bd1ebd56f.bundle.js} +1 -1
- package/dist/{21.4021b4280d12f1035088.bundle.js → 21.04a1f4a0bc7a1dd81657.bundle.js} +1 -1
- package/dist/{210.dcaca652dbeddbe76f5c.bundle.js → 210.852e87d929308f655026.bundle.js} +1 -1
- package/dist/{212.61aa0851afd554f1664a.bundle.js → 212.ad7c8b87e4c22b15d1a7.bundle.js} +1 -1
- package/dist/{215.a87f6c254886bd68e417.bundle.js → 215.0f06504928b6f322bab7.bundle.js} +1 -1
- package/dist/{216.94b3381b7cd8e0138bb6.bundle.js → 216.810bc408538d4895dd7c.bundle.js} +1 -1
- package/dist/{217.6241d254997cfcff623b.bundle.js → 217.7a480940f353ee16c96b.bundle.js} +1 -1
- package/dist/{219.bb11177e6ef666d29196.bundle.js → 219.1ba4630d28ea5f7e0413.bundle.js} +1 -1
- package/dist/{22.0962174b028cbb81e430.bundle.js → 22.043a7aaf571339cd5488.bundle.js} +1 -1
- package/dist/{224.2caf1554341ad2e8460b.bundle.js → 224.809f30bbd6538d4146d4.bundle.js} +1 -1
- package/dist/{226.407f311c6109060d1d6d.bundle.js → 226.3f67931e10b3e8e973f7.bundle.js} +1 -1
- package/dist/{229.c9c2706fb27ba8996a18.bundle.js → 229.90996a69b404a8d7adf2.bundle.js} +1 -1
- package/dist/{23.37f61551920695a9df19.bundle.js → 23.214659b8307a8b526c4a.bundle.js} +1 -1
- package/dist/{234.d0049a53f16bbeffe7dd.bundle.js → 234.7fcbaa0c655372e5239f.bundle.js} +1 -1
- package/dist/{236.86c994131100615bfc35.bundle.js → 236.64ad84e5e5cf8420e3d3.bundle.js} +1 -1
- package/dist/{24.a91ab44f223c1b6b1070.bundle.js → 24.a4b4d14d58787aae2bb3.bundle.js} +1 -1
- package/dist/{241.448bd8d79ed9f2fb47c2.bundle.js → 241.7ac34ebc61bc5efa7c63.bundle.js} +1 -1
- package/dist/{242.2c8176c8ae8001076202.bundle.js → 242.37a6d363be1218b79b96.bundle.js} +1 -1
- package/dist/{246.3473fb9938755ad38591.bundle.js → 246.8bec7af8d65ea7e892e4.bundle.js} +1 -1
- package/dist/{247.254d4892ab8e070d7611.bundle.js → 247.f0de1976dd01f512815c.bundle.js} +1 -1
- package/dist/{248.f746c243d7da64076e3f.bundle.js → 248.e9f35b7e2bd6a8c93445.bundle.js} +1 -1
- package/dist/{25.d61ef2611d221a63b93f.bundle.js → 25.07157a5754026ebfca68.bundle.js} +1 -1
- package/dist/{250.28a75ddd2e63710683fc.bundle.js → 250.85855003c5c3a888f410.bundle.js} +1 -1
- package/dist/{251.9d9eda020997543d10a2.bundle.js → 251.fc18aaf41dc94a94970e.bundle.js} +1 -1
- package/dist/{253.bb1bd65d3e6c61a6f5d6.bundle.js → 253.5565201a8a2d5904d59f.bundle.js} +1 -1
- package/dist/{26.e89a3edf1799aec575ad.bundle.js → 26.69b15d62bbc31dda14a9.bundle.js} +1 -1
- package/dist/{260.f63804cd9bd0ea074168.bundle.js → 260.5d8f798ceab03ffd005e.bundle.js} +1 -1
- package/dist/{263.194c2168467b206f3365.bundle.js → 263.2aa1ef932b9751fcfb15.bundle.js} +1 -1
- package/dist/{27.2c3c2cf50952851ca7ff.bundle.js → 27.53acb4e8dbb891f6f608.bundle.js} +1 -1
- package/dist/{270.bd49673c97f4bb96f8c8.bundle.js → 270.64089e07bc299884bcbc.bundle.js} +1 -1
- package/dist/{271.5e2535f5056b9ea67104.bundle.js → 271.a3c76fa258d0ed1c68de.bundle.js} +1 -1
- package/dist/{273.926007fe684295c91376.bundle.js → 272.fc74d1eaa74ffe3cbed8.bundle.js} +1 -1
- package/dist/{274.972a42a2fa48be2fc765.bundle.js → 273.363c48cd824d9b16511d.bundle.js} +1 -1
- package/dist/{275.f1211f3e4ef13669b6d3.bundle.js → 274.09dd817db059d1e2027b.bundle.js} +1 -1
- package/dist/{276.5e90ab7063831bc35934.bundle.js → 275.1d433118168273895d76.bundle.js} +1 -1
- package/dist/{28.9085645e020f2ffa41ae.bundle.js → 28.aad16b51f82fef579d6f.bundle.js} +1 -1
- package/dist/{282.2050919043366f7a299a.bundle.js → 281.2c5c1a5308b7d1b13676.bundle.js} +1 -1
- package/dist/{283.26d8957e2ad89aa165fa.bundle.js → 282.21b470589ebf50a754ca.bundle.js} +1 -1
- package/dist/{284.279980fb5c23a345de84.bundle.js → 283.961a0723a6dd6d6d20a7.bundle.js} +1 -1
- package/dist/{285.2f72f19009b7ecc33401.bundle.js → 284.3bcff740d5abd555442c.bundle.js} +1 -1
- package/dist/{286.45e80221620c4e9c22b6.bundle.js → 285.d0c6c3b0f4c16444ebfe.bundle.js} +1 -1
- package/dist/{287.7b22c231b1d46de39afe.bundle.js → 286.7d732e8410d0dd046fb1.bundle.js} +1 -1
- package/dist/{288.3cff5f62f13ca50d18d4.bundle.js → 287.f8db56b77fbb5c6dd38a.bundle.js} +1 -1
- package/dist/{289.28702ce35ff1b38eb7c3.bundle.js → 288.8832d23379c6281a398f.bundle.js} +1 -1
- package/dist/{290.01dca2e117009414cca7.bundle.js → 289.c7d6f3a82e31d17e2011.bundle.js} +1 -1
- package/dist/29.15213e151364f5ecfcd5.bundle.js +1 -1
- package/dist/290.67cc2dcf2cef8f4c33c3.bundle.js +1 -0
- package/dist/{292.8d4187053b4b294cac20.bundle.js → 291.038fdef3df3ba7f946c2.bundle.js} +1 -1
- package/dist/{293.70b8a172454be55d934b.bundle.js → 292.301d98f1f2a43b128b8e.bundle.js} +1 -1
- package/dist/{294.1a2995e88e44e8cfc675.bundle.js → 293.4e1ffa1e4b20c2d7af2a.bundle.js} +1 -1
- package/dist/{295.77931288193c43b9553d.bundle.js → 294.696e31444cc6256fe321.bundle.js} +1 -1
- package/dist/{296.8d45796ceae0c6bee738.bundle.js → 295.dca318e4078b71328e54.bundle.js} +1 -1
- package/dist/{297.48c7bcec883dd64f3c56.bundle.js → 296.241452bb8b8fd4eed62a.bundle.js} +1 -1
- package/dist/{298.8acfa2c57b8ee59b9b91.bundle.js → 297.238b4a2efa3e2d6d322f.bundle.js} +1 -1
- package/dist/{299.e6c3dca243930e459640.bundle.js → 298.29db4e667a0e9192e362.bundle.js} +1 -1
- package/dist/{300.cef8eccb11324bcfdb36.bundle.js → 299.d171525eeacb4ec26228.bundle.js} +1 -1
- package/dist/{31.e78e222d7d47059845ad.bundle.js → 30.fd0ba22c1f4947d37d89.bundle.js} +1 -1
- package/dist/{301.3f57183ed5f7435dc4c8.bundle.js → 300.27089ba45aae8a39db45.bundle.js} +1 -1
- package/dist/{302.7a5d2ba28bd6479a77be.bundle.js → 301.713cc2fd062d43c3924c.bundle.js} +1 -1
- package/dist/{303.e817b957f010153de97a.bundle.js → 302.cf691f0d425977e8328f.bundle.js} +1 -1
- package/dist/{304.fd2e766c67cd966f6751.bundle.js → 303.0a23ae41f14d004ed155.bundle.js} +1 -1
- package/dist/{305.efcc46990fa1eaf33302.bundle.js → 304.0df49527d28d35eb6f06.bundle.js} +1 -1
- package/dist/{306.b91bcc28ab82991706be.bundle.js → 305.adef0eecfe234f6359af.bundle.js} +1 -1
- package/dist/{307.01896312daa103074967.bundle.js → 306.ccca6079d073f11ae483.bundle.js} +1 -1
- package/dist/{308.aa64afad16520593c3cb.bundle.js → 307.78134fdf4ce7f304d79d.bundle.js} +1 -1
- package/dist/{309.b740a138d610f3ecc8ac.bundle.js → 308.2d5e878851fc4567d5ce.bundle.js} +1 -1
- package/dist/{310.a0facb5c474ed00faa72.bundle.js → 309.63676f552ab143b004d3.bundle.js} +1 -1
- package/dist/{32.018fbf8e5cf019b9ca99.bundle.js → 31.4afb7a17e968b99fcc25.bundle.js} +1 -1
- package/dist/{311.179fc05c974e534f0b3e.bundle.js → 310.7eff60bf98ff29da94d5.bundle.js} +1 -1
- package/dist/{312.7bed00fa6da9f34a200e.bundle.js → 311.d6f992aaa4599c7f6b42.bundle.js} +1 -1
- package/dist/{313.bbfd0481b9d7916061b2.bundle.js → 312.27caf9d771a4f5d5cdbf.bundle.js} +1 -1
- package/dist/{314.1098f208f4369aeffbef.bundle.js → 313.77ebadf4913583d2069f.bundle.js} +1 -1
- package/dist/{315.6be86d6c5fa08f25391b.bundle.js → 314.5a8f07eeb97707c9cd2b.bundle.js} +1 -1
- package/dist/{316.e399550194cb14ea97fb.bundle.js → 315.3d0aafcd00e3e9d660e3.bundle.js} +1 -1
- package/dist/{317.745c344fb0123b866691.bundle.js → 316.387a38dbdc74b473b37a.bundle.js} +1 -1
- package/dist/{318.451e46818432dd01c8c4.bundle.js → 317.4b482d92ec2bbd0a8383.bundle.js} +1 -1
- package/dist/{319.04599c775a6928137e1c.bundle.js → 318.b03fc767ed888eb5ccbd.bundle.js} +1 -1
- package/dist/{320.3d8e2fa758f49e682109.bundle.js → 319.8139aa7532c46c09869f.bundle.js} +1 -1
- package/dist/{33.1e6ea88364cfa8fc05ba.bundle.js → 32.075fe8754ea97e7f7fc3.bundle.js} +1 -1
- package/dist/{321.4c84a408218abc25d649.bundle.js → 320.6ddd2b8b745f5e3b70da.bundle.js} +1 -1
- package/dist/{322.8933652e5daf83c24378.bundle.js → 321.877a11cd71bbc9a5dbe5.bundle.js} +1 -1
- package/dist/{323.148866d081938614070f.bundle.js → 322.372c2b047b1ec2f9647d.bundle.js} +1 -1
- package/dist/{324.6db5e50972124f9c757c.bundle.js → 323.b7e2a28dfb5bb7aaf51b.bundle.js} +1 -1
- package/dist/{325.f1c7d3c71d42eceec2b7.bundle.js → 324.bbf14b2fef309ada6ac2.bundle.js} +1 -1
- package/dist/{326.c1a4a25bc2c84932656c.bundle.js → 325.3b562f5f4176555acfb8.bundle.js} +1 -1
- package/dist/{327.bbc29c40294c2c21fd45.bundle.js → 326.05d1c554dadf34e04b48.bundle.js} +1 -1
- package/dist/{328.e26d548d2b145033b068.bundle.js → 327.0dd17f14774a689cf0bd.bundle.js} +1 -1
- package/dist/{329.815fbe5d926e0abd72bc.bundle.js → 328.13ae52c236489e97275e.bundle.js} +1 -1
- package/dist/{330.0d46e506e428bac029f7.bundle.js → 329.1808839ae9d31a459f7d.bundle.js} +1 -1
- package/dist/{34.7da8829290e069aff037.bundle.js → 33.ef6d9b8af90ededb7e35.bundle.js} +1 -1
- package/dist/{331.dcb59ef954e8107551b2.bundle.js → 330.3aaf9ed3666747f7f263.bundle.js} +1 -1
- package/dist/{332.76cc6e5378d0543502bc.bundle.js → 331.ea30174370df9cd558e7.bundle.js} +1 -1
- package/dist/{333.9f051c77b4c6747b320c.bundle.js → 332.bd5a639fb04d7a2e2157.bundle.js} +1 -1
- package/dist/{334.da0264965f7333f3a4b4.bundle.js → 333.97d00b72175a54fb68d3.bundle.js} +1 -1
- package/dist/{335.99789e8308a408fe173c.bundle.js → 334.431ce8a7110d6ae618a3.bundle.js} +1 -1
- package/dist/{336.9a10da6ea9e4d8e2fabc.bundle.js → 335.2e3ee5cb8b39555151a9.bundle.js} +1 -1
- package/dist/{337.bf9bab37069a41e14b6d.bundle.js → 336.e976f5b51fbfea25e124.bundle.js} +1 -1
- package/dist/{338.17dcc925449ebf22c5e1.bundle.js → 337.a0979969efa50dcfeaef.bundle.js} +1 -1
- package/dist/{339.71410d58db5ed9abd346.bundle.js → 338.831b8a324346f1599e2b.bundle.js} +1 -1
- package/dist/{340.49087fd95051d04734f4.bundle.js → 339.323e045a35d3220fe9f0.bundle.js} +1 -1
- package/dist/{35.5b97af00fcdeaf41ef2d.bundle.js → 34.4efc8e27610045aedb48.bundle.js} +1 -1
- package/dist/{341.f6054b3fa699d92daefe.bundle.js → 340.935a1c1f9a35a1c129bb.bundle.js} +1 -1
- package/dist/{342.69f49187341e9eb1749a.bundle.js → 341.109d7474283fe68d444a.bundle.js} +1 -1
- package/dist/{343.f058949d789f13202685.bundle.js → 342.449f34216f5e52c0b080.bundle.js} +1 -1
- package/dist/343.884ced397fe008596b42.bundle.js +1 -0
- package/dist/344.da30ac0d8a3f8c47338a.bundle.js +1 -0
- package/dist/{346.db062a6ace83b3b3f638.bundle.js → 345.1a95e7094a69ee0c9613.bundle.js} +1 -1
- package/dist/{347.1a90e8991a8b6795cd3e.bundle.js → 346.60cf78940db162ca9bc9.bundle.js} +1 -1
- package/dist/{348.34ef7da31e5d065e776a.bundle.js → 347.7753176037d17327265e.bundle.js} +1 -1
- package/dist/{349.273da95e61ccec1fe506.bundle.js → 348.08c1df47fb00d7777c89.bundle.js} +1 -1
- package/dist/{36.f2916aa7e189af87eb98.bundle.js → 35.730709a36118182f408e.bundle.js} +1 -1
- package/dist/36.bc56e91f8a7dc45ea2b8.bundle.js +1 -0
- package/dist/{37.bc9a367f1e8abe224f75.bundle.js → 37.5bc958ea98f658c74e6f.bundle.js} +2 -2
- package/dist/{38.08c4827025253b675149.bundle.js → 38.fe5507949994d9c14c96.bundle.js} +1 -1
- package/dist/{39.dffeef1d0efdff3888b1.bundle.js → 39.a2bfad8b4215d48674d6.bundle.js} +1 -1
- package/dist/{4.18e40a8064dc2848c5cf.bundle.js → 4.13e9d9d6478d01002907.bundle.js} +1 -1
- package/dist/{40.9df624642eaddfc28d27.bundle.js → 40.48503b9b69c049bf1b70.bundle.js} +1 -1
- package/dist/{41.07d25aa487b2f2691052.bundle.js → 41.fed402c17d066982fb57.bundle.js} +1 -1
- package/dist/42.52befbab22e69bb433f4.bundle.js +1 -1
- package/dist/{43.972408cc953fde122a4e.bundle.js → 43.61da2053811c0f3ee46b.bundle.js} +1 -1
- package/dist/{44.b5e94a5cd39e9f568868.bundle.js → 44.c9660924b9c53a3f835f.bundle.js} +1 -1
- package/dist/{45.4ca8ccc2869c69541bd2.bundle.js → 45.a478b3b8def2e18361f2.bundle.js} +1 -1
- package/dist/{46.c99d54d49a3a8c8c74fb.bundle.js → 46.987b895714eacb59cda9.bundle.js} +1 -1
- package/dist/{48.c190963649677f14948f.bundle.js → 48.1dbc4f311d388c5e860e.bundle.js} +1 -1
- package/dist/{49.12f733ac94997b7a6587.bundle.js → 49.2f503ecb8b6c6ef4a783.bundle.js} +1 -1
- package/dist/{5.834bf14d2e3cfafc675c.bundle.js → 5.30cc562dd4e36c8fff5f.bundle.js} +1 -1
- package/dist/{50.ed1e3b0ecae76b0ab157.bundle.js → 50.77842af2f9c8bb5f870b.bundle.js} +1 -1
- package/dist/{51.9f47ca86da95b07bc239.bundle.js → 51.3f22305963e051eecbe3.bundle.js} +1 -1
- package/dist/{52.e4d04f36ee8c9d6397f5.bundle.js → 52.4e8a1d6b1fd0fca771bf.bundle.js} +1 -1
- package/dist/{53.ad8b904f0110eb3cb50d.bundle.js → 53.2c81a8eff9870cc15147.bundle.js} +1 -1
- package/dist/{54.c03f9ac261bd787b2126.bundle.js → 54.a0732a95394329590499.bundle.js} +1 -1
- package/dist/{55.0b7694fbe2d3c1947d92.bundle.js → 55.7469e86d5a762a26fa2a.bundle.js} +1 -1
- package/dist/{56.597362dd8e4081fba52d.bundle.js → 56.4b10b9c5ccf4b1303cf2.bundle.js} +1 -1
- package/dist/{57.21a042b29a36836b6228.bundle.js → 57.146a187effd26fa6177d.bundle.js} +1 -1
- package/dist/{58.e23c2e17e61a04fdfda3.bundle.js → 58.a8c536c0056134028712.bundle.js} +1 -1
- package/dist/59.308f6dc1cc293202893e.bundle.js +1 -0
- package/dist/6.fdcbc61573eb92aaeb18.bundle.js +1 -0
- package/dist/{60.78d043009a5172d0a640.bundle.js → 60.93b697b695b2d4db8f94.bundle.js} +1 -1
- package/dist/{63.13b28570a2f93a801b50.bundle.js → 63.c6ace2bddfc73e9f19b6.bundle.js} +1 -1
- package/dist/{64.1e6f8e5031fbcaf27688.bundle.js → 64.a2480d961d60435044c1.bundle.js} +1 -1
- package/dist/{65.e32394c9aceee4326409.bundle.js → 65.d10dd3cb67f53d99a6ca.bundle.js} +1 -1
- package/dist/{66.d39d14eb328ff5e2a05d.bundle.js → 66.50df6f012d7cc308b9f2.bundle.js} +1 -1
- package/dist/{67.17f7adfaefac8cdff3f0.bundle.js → 67.3fda2c5db81d96431b4b.bundle.js} +1 -1
- package/dist/{68.0026d091b11af569c3f5.bundle.js → 68.869c1e7064c11322ef03.bundle.js} +1 -1
- package/dist/69.39a8350e9361d0a438f8.bundle.js +1 -0
- package/dist/{70.63abbfa8ca74c2863f71.bundle.js → 70.c7cf4ef0824344f073d8.bundle.js} +1 -1
- package/dist/{71.fc7386d6deacc20a4fcc.bundle.js → 71.971c2ea4f2da7b2aa01d.bundle.js} +1 -1
- package/dist/{72.1330d8ae6fdd10a20396.bundle.js → 72.bd8f94a264a113a4a0f1.bundle.js} +1 -1
- package/dist/{73.f109f3577c6474e0c9fb.bundle.js → 73.d8ce553b26bf8f2daff1.bundle.js} +1 -1
- package/dist/{74.b21ca5f5ef0407d7e1c2.bundle.js → 74.d37bdd8d93965209533b.bundle.js} +1 -1
- package/dist/{75.3d45cc4984cfa9972806.bundle.js → 75.5a0f20e2ff76016b90c4.bundle.js} +1 -1
- package/dist/{76.fe25268d76b0f0a7875b.bundle.js → 76.1da8486d8e34aba63aaa.bundle.js} +1 -1
- package/dist/{77.244a02903dee73260510.bundle.js → 77.5603a2f42c03e9a60bca.bundle.js} +1 -1
- package/dist/{78.2a1cb6d68bcde87b0f0a.bundle.js → 78.cb21ce486a2e7103a5d9.bundle.js} +1 -1
- package/dist/{79.497206ebb2ad072db9b1.bundle.js → 79.81913abe8d72f0fd2243.bundle.js} +1 -1
- package/dist/8.469126564c7b691ccb33.bundle.js +1 -0
- package/dist/{80.1fe57145fdbb67e5f9f1.bundle.js → 80.326e0b168888bbe1157b.bundle.js} +1 -1
- package/dist/{81.884f598d1b995fa0ed96.bundle.js → 81.8f7d84e5a0aa9eea1aab.bundle.js} +1 -1
- package/dist/{82.39fbe5a05657a14a7263.bundle.js → 82.0f6218f01e4e4f955834.bundle.js} +1 -1
- package/dist/{83.306e0c2b20b3d0da3b39.bundle.js → 83.17521cbbe57dbdab16b6.bundle.js} +1 -1
- package/dist/{84.46b05025b3f4739139b0.bundle.js → 84.6f326eb774b0838c8784.bundle.js} +1 -1
- package/dist/{85.ec7aa4be6a8e01457621.bundle.js → 85.0e228c6e29f15f2b8dbc.bundle.js} +1 -1
- package/dist/{86.e05f38c7e151fff0c020.bundle.js → 86.b2f0c3fc2ffba505c48b.bundle.js} +1 -1
- package/dist/{87.d63dad9244b738d59e07.bundle.js → 87.55d246dbb0a855f3eb14.bundle.js} +1 -1
- package/dist/{88.0c72409e91172e285bcf.bundle.js → 88.7e2a621ad5c10ef09398.bundle.js} +1 -1
- package/dist/{89.0b04f312a873a2e189ae.bundle.js → 89.b3cb104714565da76323.bundle.js} +1 -1
- package/dist/{9.6e07267fe82ceac615ba.bundle.js → 9.0d37b940f46679eaca4b.bundle.js} +1 -1
- package/dist/{90.1e43395de7efcaead64d.bundle.js → 90.12322edd4effa5656b59.bundle.js} +1 -1
- package/dist/{91.f1b001eab83f572e6d8f.bundle.js → 91.1a262c491ff1bbcf5078.bundle.js} +1 -1
- package/dist/{92.f088b23db69edc7353fe.bundle.js → 92.ed70e3b240a28d971d54.bundle.js} +1 -1
- package/dist/{93.2a3cdaac2838164951a8.bundle.js → 93.5ac89f8d41a46819e59c.bundle.js} +1 -1
- package/dist/{94.988cc1669cd64f980cd4.bundle.js → 94.1d8b4e9bd2a96f832dd7.bundle.js} +1 -1
- package/dist/96.a505124be8dac6401c11.bundle.js +1 -0
- package/dist/{bundle.a595c1dc6fb86b4ee041.bundle.js → bundle.5f04ab4edede61219a23.bundle.js} +21 -21
- package/dist/css/clustermanagement.css +5 -0
- package/dist/css/sparql-templates.css +5 -0
- package/dist/i18n/locale-en.json +1 -0
- package/dist/i18n/locale-fr.json +1 -0
- package/dist/index.html +3 -3
- package/dist/js/angular/clustermanagement/templates/cluster-configuration.html +2 -2
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +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 +2 -2
- 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 +2 -2
- 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 +2 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/{polyfills-dom.7743e3f46a2b61057149.bundle.js → polyfills-dom.43664e8ce3b2d7d3959f.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.f6d3e64e5b5efe1e1f48.bundle.js → vendor.2bc8e327262ee85afa52.bundle.js} +2 -2
- package/dist/{vendors~polyfills-core-js.2ccf42a4e726efd70e15.bundle.js → vendors~polyfills-core-js.18202545fd5e7ab0712d.bundle.js} +1 -1
- package/package.json +2 -2
- package/dist/112.1c5db75d50250a44853e.bundle.js +0 -1
- package/dist/14.e34dcd427582926b289d.bundle.js +0 -1
- package/dist/272.9fc896f7f0650e076843.bundle.js +0 -1
- package/dist/291.e9dd88227bb4f2925388.bundle.js +0 -1
- package/dist/30.4514f5f4afe415b37880.bundle.js +0 -1
- package/dist/344.10ae353b99728613ba59.bundle.js +0 -1
- package/dist/345.7dd95595bdddf2a1ba1b.bundle.js +0 -1
- package/dist/59.a7318e05c6563a821478.bundle.js +0 -1
- package/dist/6.3cf6c5925ee8369df63d.bundle.js +0 -1
- package/dist/69.0c4685cce4a07d119427.bundle.js +0 -1
- package/dist/8.ad0955f6558601fb56b5.bundle.js +0 -1
- package/dist/96.db918dbecbef9396b01d.bundle.js +0 -1
- /package/dist/{main.9a9ecfe4df696b298d46.bundle.js → main.fa619ec63a04e1a07cd6.bundle.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{243:function(e,r,t){"use strict";t.r(r);t(7),t(28),t(41),t(42);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,d){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,d.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:d.instant("common.confirm.delete"),message:d.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,d.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,d,l){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=d.instant(l)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=d.instant("security.confirm.password")):(r.passwordError=d.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.isRoleValid=!0;r.addCustomRole=function(e){return r.isRoleValid=!0,e.text=e.text.toUpperCase(),e},r.isCustomRoleValid=function(e){return r.isRoleValid=e.text.length>=2,r.isRoleValid},r.checkForBackspace=function(e){8!==e.keyCode&&46!==e.keyCode||(r.isRoleValid=!0)},r.removeErrorOnCut=function(){r.isRoleValid=!0}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,d,l){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=l.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=l.instant("view.create.user.title"),e.passwordPlaceholder=l.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?d.openSimpleModal({title:l.instant("security.create.admin"),message:l.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(l.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,l.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=l.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=l.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=l.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,d,l,p,E){angular.extend(this,d("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){l.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,l.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,d,l,p,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=p.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.selectedThemeMode=e.workbenchSettings.mode,e.saveButtonText=l.instant("common.save.btn"),e.pageTitle=l.instant("view.settings.title"),e.passwordPlaceholder=l.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=p.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?d.openSimpleModal({title:l.instant("security.save.admin.settings"),message:l.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(l.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,l.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;p.toggleThemeMode(e.selectedThemeMode),e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){e.selectedThemeMode=e.workbenchSettings.mode},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,p.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();p.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{243:function(e,r,t){"use strict";t.r(r);t(7),t(29),t(42),t(43);var s=t(6);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,d){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,d.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:d.instant("common.confirm.delete"),message:d.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,d.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,d,l){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=d.instant(l)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=d.instant("security.confirm.password")):(r.passwordError=d.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.isRoleValid=!0;r.addCustomRole=function(e){return r.isRoleValid=!0,e.text=e.text.toUpperCase(),e},r.isCustomRoleValid=function(e){return r.isRoleValid=e.text.length>=2,r.isRoleValid},r.checkForBackspace=function(e){8!==e.keyCode&&46!==e.keyCode||(r.isRoleValid=!0)},r.removeErrorOnCut=function(){r.isRoleValid=!0}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,d,l){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=l.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=l.instant("view.create.user.title"),e.passwordPlaceholder=l.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?d.openSimpleModal({title:l.instant("security.create.admin"),message:l.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(l.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,l.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=l.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=l.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=l.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,d,l,p,E){angular.extend(this,d("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){l.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,l.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,d,l,p,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=p.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.selectedThemeMode=e.workbenchSettings.mode,e.saveButtonText=l.instant("common.save.btn"),e.pageTitle=l.instant("view.settings.title"),e.passwordPlaceholder=l.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=p.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?d.openSimpleModal({title:l.instant("security.save.admin.settings"),message:l.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(l.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,l.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;p.toggleThemeMode(e.selectedThemeMode),e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){e.selectedThemeMode=e.workbenchSettings.mode},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,p.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();p.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[161],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[161],{99:function(n,s,a){"use strict";a.r(s),a.d(s,"ImportParsingSettings",(function(){return t}));class t{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[163],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[163],{67:function(N,I,R){"use strict";R.r(I),R.d(I,"ImportResourceStatus",(function(){return n}));const n={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[164],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[164],{77:function(e,n,o){"use strict";o.r(n),o.d(n,"ImportResourceType",(function(){return t}));const t={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|