graphdb-workbench 2.7.5 → 2.8.0-TR10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{0.7740a14c971ea1d2eba0.bundle.js → 0.82c215fdd16c5900b7a8.bundle.js} +3 -3
- package/dist/1.419ead35eb780287bf9c.bundle.js +1 -0
- package/dist/{73.9db238b1b899b65fd024.bundle.js → 10.84c92cce7ac26f335dd1.bundle.js} +1 -1
- package/dist/100.3d74de00f030601e9489.bundle.js +1 -0
- package/dist/101.04ecbbc205f9cce449e2.bundle.js +1 -0
- package/dist/102.0f9a64ceb323e719fb9e.bundle.js +1 -0
- package/dist/103.84c5d0bdf2fa4ff9685b.bundle.js +1 -0
- package/dist/104.c6fa28ded1a4c26bc1a2.bundle.js +1 -0
- package/dist/105.1f6013e09a913230f5a0.bundle.js +1 -0
- package/dist/106.db2a24b8b831a9a41730.bundle.js +1 -0
- package/dist/107.76a892fb4131d6fb5c6a.bundle.js +1 -0
- package/dist/108.7a39aa3986990c9bc06e.bundle.js +1 -0
- package/dist/109.18521afaac87e23d62ea.bundle.js +1 -0
- package/dist/11.347714ca41cef8ea7f1e.bundle.js +1 -0
- package/dist/110.71422bb1caac727bd0c4.bundle.js +1 -0
- package/dist/111.84862f34f55bb6cec824.bundle.js +1 -0
- package/dist/112.baf2c6d007a08478a804.bundle.js +1 -0
- package/dist/113.369a13b945a53583435f.bundle.js +1 -0
- package/dist/114.0128afab6d33aeeb83a9.bundle.js +1 -0
- package/dist/115.00463bdf22f67357201c.bundle.js +1 -0
- package/dist/{86.4693b1e6a0732bdd10ab.bundle.js → 116.16bd8152b9c10786507a.bundle.js} +1 -1
- package/dist/117.42fed680165f9ea2a8a2.bundle.js +1 -0
- package/dist/118.6ab3f8f724a06905c5cf.bundle.js +1 -0
- package/dist/119.2f144c11c33a3bbeda21.bundle.js +1 -0
- package/dist/12.208a25d54fad54ce23f5.bundle.js +1 -0
- package/dist/120.f0485ac0a0b36e8bf1b8.bundle.js +1 -0
- package/dist/121.3947519b104ccc66e63f.bundle.js +1 -0
- package/dist/122.10eda802eaaa781ea566.bundle.js +1 -0
- package/dist/123.1548ca1c0632bc3dcfeb.bundle.js +1 -0
- package/dist/124.05248e4fa4e72076f8e1.bundle.js +1 -0
- package/dist/125.117e9b10046dea563e1b.bundle.js +1 -0
- package/dist/126.f1a86f86018b7c58852d.bundle.js +1 -0
- package/dist/{100.468b84c65c7b8c06657d.bundle.js → 127.0124928e6c0f7cf3f6c4.bundle.js} +1 -1
- package/dist/{103.1cf434c1865ad9ca7f7e.bundle.js → 128.fa3084ee3aa636a6943d.bundle.js} +1 -1
- package/dist/{104.c90b212514e1bb149d36.bundle.js → 129.3e71e14cf51fed8b7fb8.bundle.js} +1 -1
- package/dist/{8.32be4128f570c447549e.bundle.js → 13.ea0cf47cc4141827ba71.bundle.js} +11 -11
- package/dist/{105.9ddd0bff6272f563749a.bundle.js → 130.70c607ca456d4d3e4425.bundle.js} +1 -1
- package/dist/{106.7dcd770aee236e1e4b9e.bundle.js → 131.45f6c9b55329c691d5eb.bundle.js} +1 -1
- package/dist/{107.9501561f24a33fd8ac99.bundle.js → 132.423a880945adb530ff42.bundle.js} +1 -1
- package/dist/{108.4c18340aa198d13ff031.bundle.js → 133.d59607c90abb5c88f92c.bundle.js} +1 -1
- package/dist/{109.c5a77ee8cc5ca77d1a24.bundle.js → 134.95838ee457c1daabe365.bundle.js} +1 -1
- package/dist/135.2c26864970bac0810793.bundle.js +1 -0
- package/dist/{111.c69116afc8952402b94b.bundle.js → 136.9320c511cc2742542367.bundle.js} +1 -1
- package/dist/137.365af441e64339f760a1.bundle.js +1 -0
- package/dist/138.493415731a796a2f0fb6.bundle.js +1 -0
- package/dist/139.6738727d298cb82cdd13.bundle.js +1 -0
- package/dist/14.50fce7384e1b3706c9ce.bundle.js +1 -0
- package/dist/{113.23ff31977d4a2f51e366.bundle.js → 140.8aec03c5b38c631d6c1e.bundle.js} +1 -1
- package/dist/141.32117cd8775dbe8fcbae.bundle.js +1 -0
- package/dist/142.15e37af8c96cf9dc3e7f.bundle.js +1 -0
- package/dist/{114.11d025f071059a96e016.bundle.js → 143.fdd4fcbb5282cd2dd46b.bundle.js} +1 -1
- package/dist/{115.271c8849214e9cb68b82.bundle.js → 144.7cb8a8402955c6168ecb.bundle.js} +1 -1
- package/dist/{116.44bbe19c8267478cfe47.bundle.js → 145.3fa30ed06e9163633a2e.bundle.js} +1 -1
- package/dist/{117.dc5863c0ad28647bd5ff.bundle.js → 146.68ce65959f5884311fde.bundle.js} +1 -1
- package/dist/{118.90d7cffadf0edb7dab22.bundle.js → 147.ed592ab631dcbf041ddf.bundle.js} +1 -1
- package/dist/{119.49fbd4f9fa7814dcf524.bundle.js → 148.97728d94afb4d290c123.bundle.js} +1 -1
- package/dist/{120.3d0da2f33c1998e15059.bundle.js → 149.1201e5f6027054c6193b.bundle.js} +1 -1
- package/dist/15.1fef7c75d6d3884c7477.bundle.js +1 -0
- package/dist/{121.a9905fd2f001942970c3.bundle.js → 150.c93958d2d24c3a9df09c.bundle.js} +1 -1
- package/dist/{122.cfc9eb38b4d4206d3b0f.bundle.js → 151.18c5954b695558d8a75a.bundle.js} +1 -1
- package/dist/{123.537690673829efc8d449.bundle.js → 152.d6af0cde3e1dd9fc8c1d.bundle.js} +1 -1
- package/dist/{124.ac495e52eeb93db1c258.bundle.js → 153.eea3436e5f2ed6af5805.bundle.js} +1 -1
- package/dist/{125.39798647d6fc59af6daa.bundle.js → 154.43b33419d000ca35797f.bundle.js} +1 -1
- package/dist/{126.4c0939dcafeb3e016c9a.bundle.js → 155.8d7e2682ad34c9270fe0.bundle.js} +1 -1
- package/dist/{127.cc107d2f31dab809d124.bundle.js → 156.c27889fee0b5465eb925.bundle.js} +1 -1
- package/dist/{128.31535237e77713023ab3.bundle.js → 157.a9267e161a99f7c397f0.bundle.js} +1 -1
- package/dist/{129.14133cf026c08e488e9e.bundle.js → 158.19fb300f24fd7a14210a.bundle.js} +1 -1
- package/dist/{130.83ca4bfc89844018c61f.bundle.js → 159.ceb87dd0c514721e6f26.bundle.js} +1 -1
- package/dist/16.bd171e40126f074bf5d9.bundle.js +2 -0
- package/dist/{131.f6aec556f49c78da8665.bundle.js → 160.2eade0d127800de8d588.bundle.js} +1 -1
- package/dist/{132.bda2e1408a049ad349b2.bundle.js → 161.294da81ed3f45c1250a1.bundle.js} +1 -1
- package/dist/{133.f9aae73e47de861bb86e.bundle.js → 162.a75b63430f79142fcc5d.bundle.js} +1 -1
- package/dist/{134.a5c33a40d2b84ab5b624.bundle.js → 163.c1a4bf8dab21603362fb.bundle.js} +1 -1
- package/dist/{135.e3e8ff0d0cce2e980f9b.bundle.js → 164.17088ebd990ca168d11d.bundle.js} +1 -1
- package/dist/{136.49d2a1a7cfb9325f793a.bundle.js → 165.9d560c84a71954a90956.bundle.js} +1 -1
- package/dist/{137.c66ea292a9fd631984e5.bundle.js → 166.4da4ef4df1cd67bf395a.bundle.js} +1 -1
- package/dist/{138.cb759fc495f9ce8e21ce.bundle.js → 167.c132aacfb909005eccc6.bundle.js} +1 -1
- package/dist/{139.7537655f500bab3e9c21.bundle.js → 168.a4c723a0068a42dad17b.bundle.js} +1 -1
- package/dist/{140.74aba9df15b050c129d9.bundle.js → 169.06b8e5fedae202dcff73.bundle.js} +1 -1
- package/dist/{13.9d8d961a482d42349b33.bundle.js → 17.68b542dd822f35968787.bundle.js} +1 -1
- package/dist/{141.60071851020a1bc11595.bundle.js → 170.26d8ef1cedc67545299a.bundle.js} +1 -1
- package/dist/{142.8906dd00536438b339df.bundle.js → 171.fd8a4420cd7a4b283b3f.bundle.js} +1 -1
- package/dist/{143.b1a2222304f8efe71776.bundle.js → 172.a8bd733aa0e091a38664.bundle.js} +1 -1
- package/dist/{144.f82ff50a8d2c08295627.bundle.js → 173.d3a4eb2812be244a1d32.bundle.js} +1 -1
- package/dist/{145.0f1b69f230a46b4de5f6.bundle.js → 174.d794bc6b1c46138c6613.bundle.js} +1 -1
- package/dist/{146.9b3518b9d896bf47382d.bundle.js → 175.5e8c384818bb17dd9aab.bundle.js} +1 -1
- package/dist/{147.e311377785362269579e.bundle.js → 176.746d6385829d2a680cd1.bundle.js} +1 -1
- package/dist/177.86021de382ed87019173.bundle.js +1 -0
- package/dist/{149.8a2de058d7b72f417791.bundle.js → 178.b7569fc8228e2ef12525.bundle.js} +1 -1
- package/dist/{150.b9d376ab86b1f17e4f78.bundle.js → 179.631668faa65967a635b9.bundle.js} +1 -1
- package/dist/18.953ec403f684734e2311.bundle.js +1 -0
- package/dist/{151.ebeb15de6f8b7ab9ea57.bundle.js → 180.6551aa17a9e417574db2.bundle.js} +1 -1
- package/dist/{152.ed9387e19d9cc69953db.bundle.js → 181.5f8b15d991de41170b3c.bundle.js} +1 -1
- package/dist/{153.8d702923e48b57442b55.bundle.js → 182.465ef1426af8ff195fac.bundle.js} +1 -1
- package/dist/{154.a008e16c56c63f25799f.bundle.js → 183.569215a21a4c1546760c.bundle.js} +1 -1
- package/dist/{155.49c4d893ed30c28e6302.bundle.js → 184.805cf439b2adef6bb8a7.bundle.js} +1 -1
- package/dist/{156.9b98cd7f44f0ed2dd7cb.bundle.js → 185.83602499d7b5740b0232.bundle.js} +1 -1
- package/dist/{157.800a7154e719650d7925.bundle.js → 186.d27f62884853006d8614.bundle.js} +1 -1
- package/dist/187.35cfddfd9308fabd0798.bundle.js +1 -0
- package/dist/188.06eac6a609764fbac382.bundle.js +1 -0
- package/dist/{158.5cb23287d8549b4c51ba.bundle.js → 189.b0bac492836f82dcdfc8.bundle.js} +1 -1
- package/dist/19.09865b8ff553217fec92.bundle.js +1 -0
- package/dist/190.cb6275ca394d76ef427c.bundle.js +1 -0
- package/dist/{159.f87835a57d2af1de4121.bundle.js → 191.2f9468f433dd256b830d.bundle.js} +1 -1
- package/dist/{160.033025b2f36a7ef831d4.bundle.js → 192.bbc4db61fa1c83810958.bundle.js} +1 -1
- package/dist/{161.476f62c4922a9d145220.bundle.js → 193.13de0802dc61815adb36.bundle.js} +1 -1
- package/dist/{162.12011000dea3e7ebd49a.bundle.js → 194.cad267ee805777bb53f0.bundle.js} +1 -1
- package/dist/{163.b275d2dc30b13e3ccc59.bundle.js → 195.3d16b1e1b1d2dafd9cc4.bundle.js} +1 -1
- package/dist/{164.9d468fabae7dd09d9f97.bundle.js → 196.aa2f65a02303df09f869.bundle.js} +1 -1
- package/dist/{165.e2ecb64983939a96f129.bundle.js → 197.d9ad911f2f09ee7f4c44.bundle.js} +1 -1
- package/dist/{166.65286425804ad7dfe2e9.bundle.js → 198.8cf96a77ff98047b56d4.bundle.js} +1 -1
- package/dist/{167.c6c6cc46fcc2b8583175.bundle.js → 199.46d552230fd3b9a277c8.bundle.js} +1 -1
- package/dist/2.0d59ab629b316a74f299.bundle.js +2 -0
- package/dist/{16.bdd4a67077a1dfa0aefc.bundle.js → 20.570db04dfd68538d4a39.bundle.js} +1 -1
- package/dist/{168.315ff506ef157f2dd68d.bundle.js → 200.e8bd925fee20f081e0d8.bundle.js} +1 -1
- package/dist/{169.a8137f6bfee189645694.bundle.js → 201.38a5e9c920da6c674bb2.bundle.js} +1 -1
- package/dist/{170.0eb13b2a619662203972.bundle.js → 202.60995e2807007fdefbbc.bundle.js} +1 -1
- package/dist/{171.689e5189a68b5d712f1d.bundle.js → 203.09062b200e16b561e992.bundle.js} +1 -1
- package/dist/{172.24bac3c88732b6bc72f9.bundle.js → 204.cea7c3f2fe05cd173b26.bundle.js} +1 -1
- package/dist/{173.c0b3e63eb4c2b828a1b6.bundle.js → 205.69be86aebcd45d957b1e.bundle.js} +1 -1
- package/dist/206.092c305505663ce80fac.bundle.js +1 -0
- package/dist/{175.1b8efcb27b17dd75d62f.bundle.js → 207.8ab144e114ccc93a2c94.bundle.js} +1 -1
- package/dist/{176.a782be4f5035dbcf47f3.bundle.js → 208.27d350ea98a8bc335a7d.bundle.js} +1 -1
- package/dist/{177.4f0582fedc8fda87babb.bundle.js → 209.2c79024b41dfac14c3f9.bundle.js} +1 -1
- package/dist/21.36475dc68b05a7616c09.bundle.js +3 -0
- package/dist/210.0f6c9ebcadbffaa8531e.bundle.js +1 -0
- package/dist/{179.fe1f4ff6cae23c056538.bundle.js → 211.aca395e80f5e6a48e0de.bundle.js} +1 -1
- package/dist/{180.1182b4fec70a9597c7ec.bundle.js → 212.36953c7f97cd6507d2d6.bundle.js} +1 -1
- package/dist/{181.badd2e06a003c34308fd.bundle.js → 213.7804fa487e6278a29e53.bundle.js} +1 -1
- package/dist/{182.107bd28df28bef4c2909.bundle.js → 214.c886d5ef7eec1e676930.bundle.js} +1 -1
- package/dist/215.5b427a823993da06a4ec.bundle.js +1 -0
- package/dist/{184.67a82fc3d401ed71e42d.bundle.js → 216.f02f8bcf96f472f5b84d.bundle.js} +1 -1
- package/dist/{185.66708cd7a879a4eae697.bundle.js → 217.4f7c1f106d34fe29303c.bundle.js} +1 -1
- package/dist/{186.108c237753ea448dc4d3.bundle.js → 218.cd8f1c38958f6da4610e.bundle.js} +1 -1
- package/dist/{187.7f30c4e08e34208a39e0.bundle.js → 219.195dfdb05aa457e0ffad.bundle.js} +1 -1
- package/dist/22.d596716afd3c7b45cbf9.bundle.js +2 -0
- package/dist/{188.532c781e1ef597c73e67.bundle.js → 220.359062c67e1ac99041a0.bundle.js} +1 -1
- package/dist/{189.05e267b32af8242bbb08.bundle.js → 221.489ed1f3b133ae83f38e.bundle.js} +1 -1
- package/dist/{190.1d35ed6c3463117d673a.bundle.js → 222.ac5be57c1ecf47951587.bundle.js} +1 -1
- package/dist/223.12ba4921db0a80a7f6ec.bundle.js +1 -0
- package/dist/224.6601a180974115a39936.bundle.js +1 -0
- package/dist/{193.a1bdfd421997c6409184.bundle.js → 225.573bc79a0dd932a2676f.bundle.js} +1 -1
- package/dist/{194.11dce90246b57ec587b7.bundle.js → 226.c4bc92b0728fa5defa97.bundle.js} +1 -1
- package/dist/{195.bf6f340f6c26325f8a68.bundle.js → 227.653e1bf41320c331f905.bundle.js} +1 -1
- package/dist/{196.49c3671b0ba069dc7ef1.bundle.js → 228.c4b21051d5d8f71835dd.bundle.js} +1 -1
- package/dist/{197.d90b1f3a6fa0fa5c8e71.bundle.js → 229.855b8ace3ff3b2e00c6c.bundle.js} +1 -1
- package/dist/23.0adf50d63d8e28f1e792.bundle.js +2 -0
- package/dist/230.0488e3db5b97f2f0718e.bundle.js +1 -0
- package/dist/{199.91ebfd371cf7bf6f5c4f.bundle.js → 231.ab1564ef24bd5560bff9.bundle.js} +1 -1
- package/dist/232.563f877ad8cb57bd7ae9.bundle.js +1 -0
- package/dist/{201.6b142495658006864d07.bundle.js → 233.a5556c9c0ab666b2ba78.bundle.js} +1 -1
- package/dist/{202.8edcdbed3861f93e2b9c.bundle.js → 234.367169c455d8820a807c.bundle.js} +1 -1
- package/dist/{203.3e57e9c58ea07a5c557b.bundle.js → 235.2f2d4c37affc808fa971.bundle.js} +1 -1
- package/dist/{204.54e15792c8c1c60b49d6.bundle.js → 236.35e1180ad2c8ce70ad4b.bundle.js} +1 -1
- package/dist/{205.a9ec4a6ed99007eade40.bundle.js → 237.83c53e7e4e46c2d64368.bundle.js} +1 -1
- package/dist/{206.b8ea895d33805498670e.bundle.js → 238.eb9903b3fdd36c43571f.bundle.js} +1 -1
- package/dist/239.7847b00aedc190fd0c6a.bundle.js +1 -0
- package/dist/24.502346cd50a23ebc05a4.bundle.js +2 -0
- package/dist/240.d65f43e1dbace7d8d7d3.bundle.js +1 -0
- package/dist/{210.0e1ac9a13cec02b2e00f.bundle.js → 241.28390930afd91ed8d816.bundle.js} +1 -1
- package/dist/{211.c66166dfc9bef130f11a.bundle.js → 242.9509806f8a01d26bdf83.bundle.js} +1 -1
- package/dist/243.f903930bec14e06ab93c.bundle.js +1 -0
- package/dist/244.6220325e47e556f08596.bundle.js +1 -0
- package/dist/{214.f8a7783d8a401220f40b.bundle.js → 245.51569c5abc67f65be79e.bundle.js} +1 -1
- package/dist/{215.4c7d4e26060bc4fa665e.bundle.js → 246.816cec67bc81bab4371f.bundle.js} +1 -1
- package/dist/{216.d4576c9401e162281c05.bundle.js → 247.f993b0c29022d6f15136.bundle.js} +1 -1
- package/dist/{217.6153ee468e30b8b3f4f6.bundle.js → 248.511260c598cc125e71e4.bundle.js} +1 -1
- package/dist/249.bcb3610366e645f33995.bundle.js +1 -0
- package/dist/25.678921570976233c7289.bundle.js +3 -0
- package/dist/{219.42d2968dff17a1cb197e.bundle.js → 250.4ca0ea98b21c22156982.bundle.js} +1 -1
- package/dist/251.010f27656deea8b99ebc.bundle.js +1 -0
- package/dist/{221.8a9bb83e2ca80c71aa0f.bundle.js → 252.14189833165f412a68cd.bundle.js} +1 -1
- package/dist/253.b13d8c3004ab84305e69.bundle.js +1 -0
- package/dist/254.6875897bff77b6222c2a.bundle.js +1 -0
- package/dist/{224.30c6fb78c4913479a4fb.bundle.js → 255.44cb00a2b9e6a891daa1.bundle.js} +1 -1
- package/dist/256.b1032d9d6cc12cc90281.bundle.js +1 -0
- package/dist/257.cd5f9fcbaa21f8e9f2db.bundle.js +1 -0
- package/dist/258.109ff997ac0412172236.bundle.js +1 -0
- package/dist/259.e063188721ef545ef935.bundle.js +1 -0
- package/dist/26.7c6e89eb56f77f636771.bundle.js +2 -0
- package/dist/260.8b4d34bd5f8771440f83.bundle.js +1 -0
- package/dist/261.1cef385e5bc9a0120cab.bundle.js +1 -0
- package/dist/{227.987d372a187ed7979252.bundle.js → 262.ac373be4e20b215d4005.bundle.js} +1 -1
- package/dist/{228.d4601448c9799d1c6538.bundle.js → 263.3335aaa1b90fea9ad424.bundle.js} +1 -1
- package/dist/{229.61c97977e7032772ecb4.bundle.js → 264.508024327c7e15863b03.bundle.js} +1 -1
- package/dist/{230.cb819039e67a93a34541.bundle.js → 265.e47f5f16cca0f82cdec5.bundle.js} +1 -1
- package/dist/{231.f60b94ce332af52008aa.bundle.js → 266.7fe249a8dd58496edd5a.bundle.js} +1 -1
- package/dist/{232.1d6fb6e62d8fc62ea10a.bundle.js → 267.813c52fac5e3a4c10bec.bundle.js} +1 -1
- package/dist/{233.dbe5dc7cf2503ca5c591.bundle.js → 268.35a3fd52026094e7d15b.bundle.js} +1 -1
- package/dist/{234.50f38ed9c15d7485e98e.bundle.js → 269.6fac51bdfdcd247f48ad.bundle.js} +1 -1
- package/dist/27.c42f609759f76ec9a0b1.bundle.js +1 -0
- package/dist/{235.36eea53474e198ed9f8e.bundle.js → 270.9db5f5e3f78875e3220c.bundle.js} +1 -1
- package/dist/{236.d0119bc798c924cfae70.bundle.js → 271.9b9fede86283fadfb193.bundle.js} +1 -1
- package/dist/{237.d115baad2682f050b642.bundle.js → 272.adde63f600ed911c15a8.bundle.js} +1 -1
- package/dist/{238.98486ccd2b7ee258fcc4.bundle.js → 273.1e58a14bc482f37dae02.bundle.js} +1 -1
- package/dist/{239.8c68b3f9d15a13a5da0b.bundle.js → 274.4c4b5c33f1e88d517c3d.bundle.js} +1 -1
- package/dist/275.9dc2c9482c53353e2567.bundle.js +1 -0
- package/dist/{241.a90f93cdf6b718f8ccf9.bundle.js → 276.9c964d4fad7d64de9dd0.bundle.js} +1 -1
- package/dist/{242.3a73c867bf57d3fbb810.bundle.js → 277.0c31b0aaf8afedffd739.bundle.js} +1 -1
- package/dist/{243.1973d7431d7a17936443.bundle.js → 278.2e0c8e3aaa8bfbec0561.bundle.js} +1 -1
- package/dist/{244.8444f98a8ec24b7c37e2.bundle.js → 279.cf588b3c41cebbbddbc8.bundle.js} +1 -1
- package/dist/28.070e1e29848334dc9ebb.bundle.js +1 -0
- package/dist/{245.9636cf7f6606068cb3a6.bundle.js → 280.7a1fff29dbaae2ab91a2.bundle.js} +1 -1
- package/dist/281.68715e3756b54db92deb.bundle.js +1 -0
- package/dist/{247.4955851755c875c53533.bundle.js → 282.a0559bbcbfe9c92ffd76.bundle.js} +1 -1
- package/dist/{248.ada296e9a8a5456816fa.bundle.js → 283.172f7328e455cb38f8ad.bundle.js} +1 -1
- package/dist/{249.92cb46db35d013e374e4.bundle.js → 284.6a0d07f30f21f0f4be50.bundle.js} +1 -1
- package/dist/{250.551ab6039ac308b37046.bundle.js → 285.f0e41adb7ba7e938d5ec.bundle.js} +1 -1
- package/dist/{251.c50beffac4a15fcd6cc4.bundle.js → 286.0eee3de95ff80d120e02.bundle.js} +1 -1
- package/dist/{252.9c49ec3e8e6216666f72.bundle.js → 287.5a566c1270bd784a7f51.bundle.js} +1 -1
- package/dist/{253.cacce88991f3565ccbc5.bundle.js → 288.a32072eeac9eccbb5698.bundle.js} +1 -1
- package/dist/{254.6f2f418d35f273d36d46.bundle.js → 289.fbfa6ce0a5f1d15259b4.bundle.js} +1 -1
- package/dist/29.a86d9d0af0b450c51ec6.bundle.js +1 -0
- package/dist/290.490de8b61f494279836a.bundle.js +1 -0
- package/dist/{256.5299aff146bff9106694.bundle.js → 291.da9edfebb6940cbaee70.bundle.js} +1 -1
- package/dist/{257.edeb2160403986002b6a.bundle.js → 292.9e4d468765ee6b3db189.bundle.js} +1 -1
- package/dist/{258.5e948ed7fb4ad5b044b9.bundle.js → 293.00eee1c8630942feed6e.bundle.js} +1 -1
- package/dist/294.e6c10040aa02069c1e05.bundle.js +1 -0
- package/dist/{260.0ef916c69b120f308964.bundle.js → 295.95030365ac036cda2e5f.bundle.js} +1 -1
- package/dist/{261.225137d2ad99664d6161.bundle.js → 296.a80e29fc4de1a421231b.bundle.js} +1 -1
- package/dist/{263.ca7df4aba7e4f945ad36.bundle.js → 297.829ef1630b4e75540813.bundle.js} +1 -1
- package/dist/{264.a03e17d70d78681e1891.bundle.js → 298.6b1a667d8bcbe6d3821d.bundle.js} +1 -1
- package/dist/{265.74666bb6329431145ee6.bundle.js → 299.fe9ca43f790c155799d6.bundle.js} +1 -1
- package/dist/3.8428e684412876d7abd1.bundle.js +1 -0
- package/dist/30.1f68f17a4430a7df9cd9.bundle.js +1 -0
- package/dist/{266.c313c81618050f779d0a.bundle.js → 300.8f9582a9f4bfbf07c7ba.bundle.js} +1 -1
- package/dist/{267.1615e2999c584ba47a3f.bundle.js → 301.387501285ac0b2f557ca.bundle.js} +1 -1
- package/dist/302.cd7dfab197ea83fddc62.bundle.js +1 -0
- package/dist/303.941ff2a734bdce0b6d1c.bundle.js +1 -0
- package/dist/304.671e1670f088e209a4e6.bundle.js +1 -0
- package/dist/305.19e9c095f3a4da9b063c.bundle.js +1 -0
- package/dist/306.9f15b59b9f4b9a1c4255.bundle.js +1 -0
- package/dist/307.fce2ff46fc55d2fe75c7.bundle.js +1 -0
- package/dist/{268.4537af5084595364571e.bundle.js → 308.5acbd03acf472e20ae08.bundle.js} +1 -1
- package/dist/309.5b1e827b31e736a31f04.bundle.js +1 -0
- package/dist/{22.ca2ee125533414af6b44.bundle.js → 31.c1cda21566969e913a57.bundle.js} +1 -1
- package/dist/{270.1d56637b5e881e9d574c.bundle.js → 310.a44534336e78f61eb546.bundle.js} +1 -1
- package/dist/{271.db31c78b09a0419559e1.bundle.js → 311.edb2960e58f2ab6cf72f.bundle.js} +1 -1
- package/dist/{272.7046c61a75b544baf99b.bundle.js → 312.f9ae518b97765ab230a4.bundle.js} +1 -1
- package/dist/313.f65b42bd83ed3ecd090e.bundle.js +1 -0
- package/dist/{274.12bae4619afa0b2e4562.bundle.js → 314.aa017fbf0412dc642dec.bundle.js} +1 -1
- package/dist/315.b56535ccf659e0dc2b00.bundle.js +1 -0
- package/dist/{275.b813e0c8f34990596f78.bundle.js → 316.04cf972c06c0c069e03d.bundle.js} +1 -1
- package/dist/32.5b1d35866a8521c0ddd8.bundle.js +1 -0
- package/dist/322.7c4db969edcd5ded15fa.bundle.js +1 -0
- package/dist/{282.e5f5ef3b1fb929634ba9.bundle.js → 323.d4666997f49a2f813fc2.bundle.js} +1 -1
- package/dist/{283.1704806f1c3bda8bb708.bundle.js → 324.020e9c4d1e9873cd9e3e.bundle.js} +1 -1
- package/dist/{284.fd607e6497c2eb2331cd.bundle.js → 325.52a67b5eb37e212db794.bundle.js} +1 -1
- package/dist/{285.818720039f4ecc77b3e7.bundle.js → 326.73f77ba8f2c8871554a0.bundle.js} +1 -1
- package/dist/{286.fd8efdecce8cbe19c230.bundle.js → 327.32ff9cb46eabb5d4a953.bundle.js} +1 -1
- package/dist/{290.abc3688c658e9720c2b9.bundle.js → 328.a976af34cedf2fa2f704.bundle.js} +1 -1
- package/dist/{291.2f19d0eb3d7fb55c9ac4.bundle.js → 329.12cfb97185cd3f19ec78.bundle.js} +1 -1
- package/dist/{24.79bd905f69d00f38ce5a.bundle.js → 33.6f0a59e5fd188a8ce2fc.bundle.js} +1 -1
- package/dist/{292.9a208c01122fe17410b9.bundle.js → 330.54d08af7ae2a1b1543d4.bundle.js} +1 -1
- package/dist/{293.360da392346e3f8076ff.bundle.js → 331.7ad05387c5ea80f14b3b.bundle.js} +1 -1
- package/dist/{294.1e0134fafd669378ec10.bundle.js → 332.290a55c149676f8b12bc.bundle.js} +1 -1
- package/dist/{295.9b2955a638a6336dc6e5.bundle.js → 333.c68c64b311929e005970.bundle.js} +1 -1
- package/dist/{296.c688f2b1a4361ca938df.bundle.js → 334.b18e698ff9268dd2f3c0.bundle.js} +1 -1
- package/dist/{297.10723db0cfa2ca3d7e9d.bundle.js → 335.283607f4b4419c912c3a.bundle.js} +1 -1
- package/dist/{298.2df50a85d79650a27a56.bundle.js → 336.85b41400f26a45c913d2.bundle.js} +1 -1
- package/dist/337.be3ec594318206dc00e8.bundle.js +1 -0
- package/dist/338.915990e8e5e0ee62b4d1.bundle.js +1 -0
- package/dist/{300.0cfb3d0b14a74af64e82.bundle.js → 339.b0202e92037aba9cb17d.bundle.js} +1 -1
- package/dist/34.f5a79845264515ae6574.bundle.js +1 -0
- package/dist/340.90a0259ff21debda0ed7.bundle.js +1 -0
- package/dist/341.6f383e4e7b8992f8aea6.bundle.js +1 -0
- package/dist/342.1da6fe384b21e903637d.bundle.js +1 -0
- package/dist/{304.3d83f1dfe533dec88e6c.bundle.js → 343.5d92dd5674501400d188.bundle.js} +1 -1
- package/dist/{305.14891e5939f97cb751ca.bundle.js → 344.43a9237134f205770ce2.bundle.js} +1 -1
- package/dist/{306.20f724177de07f5c890d.bundle.js → 345.01c18050b4be81825691.bundle.js} +1 -1
- package/dist/{307.46fbff297c0287265fd9.bundle.js → 346.cdbb73c02ebb13454de5.bundle.js} +1 -1
- package/dist/{308.88f7a0db8be6837e00fa.bundle.js → 347.def6584542f8f9ad0c18.bundle.js} +1 -1
- package/dist/{309.7b83f6b5a705afff9eab.bundle.js → 348.eb0c9e5cf2e6f0e66bf2.bundle.js} +1 -1
- package/dist/{310.dca6c1bfeb9264e0ab4f.bundle.js → 349.62cda39dc01594143a0b.bundle.js} +1 -1
- package/dist/{25.600e8bbf7fc20af9e673.bundle.js → 35.cb4a1994570fcd048ff3.bundle.js} +1 -1
- package/dist/{311.56cb5e0f1b1dc8b3725e.bundle.js → 350.015bc2bbf9e045ebea7e.bundle.js} +1 -1
- package/dist/{312.3b54b95368a118302e20.bundle.js → 351.fff6d1022304bda921f0.bundle.js} +1 -1
- package/dist/{313.1ce22bfc57424ad1d2fb.bundle.js → 352.5a29fe2cc31e8c3d7b5d.bundle.js} +1 -1
- package/dist/{314.926516bd7e90c67373a3.bundle.js → 353.9c0c64bdfd84177d3c1b.bundle.js} +1 -1
- package/dist/{315.92036aca75b6a9dad60a.bundle.js → 354.cbb2e30901240d068afc.bundle.js} +1 -1
- package/dist/{316.765d133afe5fb97fdd40.bundle.js → 355.92484d90d33cb01731cd.bundle.js} +1 -1
- package/dist/{317.c744f8f1f21fdafc0b78.bundle.js → 356.c9f3f2d892ee4ae0f994.bundle.js} +1 -1
- package/dist/{318.390af989d3ef5f42577d.bundle.js → 357.9ba93f216d695ec04f0e.bundle.js} +1 -1
- package/dist/{319.a625c9ecab007095f599.bundle.js → 358.f54aa69efc0ddeea425d.bundle.js} +1 -1
- package/dist/{320.3889f0a6f5aff873ab7c.bundle.js → 359.7c5836271c880c903e3e.bundle.js} +1 -1
- package/dist/36.6b37b8a1eb9f42181b77.bundle.js +1 -0
- package/dist/{321.e0e2ccb2b30c9a5484a6.bundle.js → 360.fd188c7eb77ecf4bc041.bundle.js} +1 -1
- package/dist/{322.1fe729e77c7a2a33fdcc.bundle.js → 361.38d8e51020cd5de85195.bundle.js} +1 -1
- package/dist/{323.bcf838c211c993cb08a7.bundle.js → 362.dc87ac4c16d14af79658.bundle.js} +1 -1
- package/dist/{324.dc37822abaa94de31d80.bundle.js → 363.1f0c267f2e8149e447d5.bundle.js} +1 -1
- package/dist/{325.8d68453857cbd562cd09.bundle.js → 364.6decef5064677280593e.bundle.js} +1 -1
- package/dist/{326.923de7c364b841c430ee.bundle.js → 365.ab9b6229226d0d8c3c90.bundle.js} +1 -1
- package/dist/{327.31295ecc092f78340f0b.bundle.js → 366.a8401578ca9a025b7bbf.bundle.js} +1 -1
- package/dist/{328.80c4d1297a758ae32c30.bundle.js → 367.476201de3d45ce3d4363.bundle.js} +1 -1
- package/dist/368.1547e3f6478d479da027.bundle.js +1 -0
- package/dist/{329.90bdbda895cddb141603.bundle.js → 369.d3c2d2e8c3127df3db3d.bundle.js} +1 -1
- package/dist/37.13c68d58d163df49bdb4.bundle.js +1 -0
- package/dist/{330.7b52a9acca29f3b211f5.bundle.js → 370.34bec85793d564dbc5ee.bundle.js} +1 -1
- package/dist/{331.9f8f417788cceb622475.bundle.js → 371.d215bb7b41b208637d88.bundle.js} +1 -1
- package/dist/372.c76dbc1f58c39ef9e9c9.bundle.js +1 -0
- package/dist/{333.e85fbde479e1736f7367.bundle.js → 373.d7b80790d7ceeb3e66c8.bundle.js} +1 -1
- package/dist/{334.59a725f3379fb526e9ad.bundle.js → 374.a78220a75a28b71edd15.bundle.js} +1 -1
- package/dist/{335.de41e90d68f183fbd569.bundle.js → 375.ad5936cde217fd1cd24b.bundle.js} +1 -1
- package/dist/{336.890188e781f2276309c9.bundle.js → 376.b56eccfc38f4ff00dcac.bundle.js} +1 -1
- package/dist/{337.8fb07ae44f3b18843fd9.bundle.js → 377.0307f5e28ae10b2e5559.bundle.js} +1 -1
- package/dist/{338.4a5b533a9fb5a3448eb8.bundle.js → 378.8a0d517c55b0350a47a2.bundle.js} +1 -1
- package/dist/{339.b966848214f586787e34.bundle.js → 379.baebd3f64a0c560ac950.bundle.js} +1 -1
- package/dist/38.a8c8099f2e8a4f3c778f.bundle.js +1 -0
- package/dist/{340.043aff0dbbc4295504c2.bundle.js → 380.765f42a738c22bda1042.bundle.js} +1 -1
- package/dist/{341.e3398d4ba3bdd8411fd6.bundle.js → 381.bbf26c624dea07cfb7a8.bundle.js} +1 -1
- package/dist/{342.100cf6659f33171fe28a.bundle.js → 382.d6ca2271ad6cf3b331da.bundle.js} +1 -1
- package/dist/383.53043bc87ea19731b4a6.bundle.js +1 -0
- package/dist/384.ea90d9b7352ddcef14a8.bundle.js +1 -0
- package/dist/385.7d99dca1e888797e863f.bundle.js +1 -0
- package/dist/386.2f621d0ba89b312ca82a.bundle.js +1 -0
- package/dist/387.29da972aa360a0692268.bundle.js +1 -0
- package/dist/{287.aa9e8e2b092c60c7669c.bundle.js → 388.efbe814406005b02e54c.bundle.js} +1 -1
- package/dist/{288.f627ffd85def2677d419.bundle.js → 389.64fbc1cce1d5fee57949.bundle.js} +1 -1
- package/dist/39.c95b44b1252f8486526f.bundle.js +1 -0
- package/dist/390.a8c577456ba6613eb381.bundle.js +1 -0
- package/dist/{289.ac33b97442c69a26dbc3.bundle.js → 391.9ea58d3642d9ee8cc0b1.bundle.js} +1 -1
- package/dist/392.4afcc55b76473416d5ef.bundle.js +1 -0
- package/dist/393.ad0dec66070ed288d61b.bundle.js +1 -0
- package/dist/394.488259a20fcc3f78c877.bundle.js +1 -0
- package/dist/395.6a033799cf93451ad83f.bundle.js +1 -0
- package/dist/{345.617ee68d74a419aa638d.bundle.js → 396.547c7fde7bc12cc9d3db.bundle.js} +1 -1
- package/dist/{346.33b06b8194844c6ac70c.bundle.js → 397.0a97a309be2c1da989ab.bundle.js} +1 -1
- package/dist/{347.c22b11b9399a806611f7.bundle.js → 398.6badaf34f20203bada77.bundle.js} +1 -1
- package/dist/{348.b1f95e9668604c9f1537.bundle.js → 399.f12d38319a9a79933e5a.bundle.js} +1 -1
- package/dist/4.315b68e20ac4cc89b142.bundle.js +1 -0
- package/dist/40.2bae5e74a9d177db15da.bundle.js +1 -0
- package/dist/41.b8d121d5ec004cf9dea1.bundle.js +1 -0
- package/dist/{31.fb4f5161b4a6772d5070.bundle.js → 42.82eacf4859c6cbd5f51f.bundle.js} +1 -1
- package/dist/{32.d8891b8f8b38d373d766.bundle.js → 43.2b4a9d33022e90ac0be2.bundle.js} +1 -1
- package/dist/{33.2f0f674804db0b6e1285.bundle.js → 44.595e88a34ef82254fe25.bundle.js} +1 -1
- package/dist/45.c470ec6048e1039fd0aa.bundle.js +1 -0
- package/dist/46.b49469dd7b92f04a2854.bundle.js +1 -0
- package/dist/47.060a414a4eaf36ed34cb.bundle.js +1 -0
- package/dist/{35.822c7f9fb748934a4408.bundle.js → 48.d5bc567583d5e25547dc.bundle.js} +1 -1
- package/dist/{36.fd1ab27926210be8ab74.bundle.js → 49.6ec3a9dc86537f805bde.bundle.js} +1 -1
- package/dist/{3.1fa42f37ad5bd0e5ccfa.bundle.js → 5.1b5abc3bb39cf8897dc2.bundle.js} +1 -1
- package/dist/50.f80fad019d39f074149e.bundle.js +1 -0
- package/dist/{37.a13e60850a9a07c446dc.bundle.js → 51.6de9a6ab46d8827104d0.bundle.js} +2 -2
- package/dist/52.b8414a9fb196b747d2a6.bundle.js +1 -0
- package/dist/53.bb3c7f37e60f65c29021.bundle.js +1 -0
- package/dist/54.67e090bb4a052816c714.bundle.js +1 -0
- package/dist/{41.2c9a2d3442452650eb05.bundle.js → 55.c55aabd6a1f8b25f2580.bundle.js} +1 -1
- package/dist/56.5e98db705e0a6efb1d07.bundle.js +1 -0
- package/dist/{43.f3516933e9fc7c240588.bundle.js → 57.abc7849d969a76057940.bundle.js} +1 -1
- package/dist/{44.ae510f5df386fbbebef2.bundle.js → 58.50571f2fffe2f1460096.bundle.js} +1 -1
- package/dist/{45.d91d7edbc37142f4f78e.bundle.js → 59.f2dbfcba177233488235.bundle.js} +1 -1
- package/dist/6.14ee1b5204145188133a.bundle.js +1 -0
- package/dist/60.7ad08e1ea896217fdac9.bundle.js +1 -0
- package/dist/61.4ac0ecc72730f82a8f30.bundle.js +1 -0
- package/dist/62.1dc54be1544831eb448b.bundle.js +1 -0
- package/dist/63.4aa2e5a87569d01c0ed7.bundle.js +1 -0
- package/dist/{47.73df3897064e52f7e349.bundle.js → 64.36ebe11edac1da1b0d98.bundle.js} +2 -2
- package/dist/{48.3c991adc332749c3acdd.bundle.js → 65.896a3eaa522be746be60.bundle.js} +1 -1
- package/dist/{49.8889b00d2203095c3a93.bundle.js → 66.f7242d9a5ed559431ea7.bundle.js} +1 -1
- package/dist/67.83356de3de8509b1e165.bundle.js +1 -0
- package/dist/68.270fc7723abcb2e37f46.bundle.js +1 -0
- package/dist/69.a739e488b08255da4565.bundle.js +1 -0
- package/dist/7.45640a1e85a0e58f41d1.bundle.js +1 -0
- package/dist/70.1a91b4a4b85d13a69710.bundle.js +1 -0
- package/dist/{52.d0576a9b8e77887a0256.bundle.js → 71.43ffebf29bde40ba3f77.bundle.js} +1 -1
- package/dist/{53.755b81d1c2a1a4996ead.bundle.js → 72.9f992138ec54216a251f.bundle.js} +1 -1
- package/dist/73.a4e578bf6d5f0d59f75e.bundle.js +1 -0
- package/dist/74.291594bc989e21f2aba6.bundle.js +1 -0
- package/dist/75.676ae7a419fe23e4a872.bundle.js +1 -0
- package/dist/{56.c7c46100fbdfa25645de.bundle.js → 76.f6535b08fc78b47a9c7e.bundle.js} +1 -1
- package/dist/77.ab3c9d589948bbae358e.bundle.js +1 -0
- package/dist/78.2e0eafd8e36d810644c5.bundle.js +1 -0
- package/dist/{58.69b21edd46a707e2b7a4.bundle.js → 79.bfb074733534a6247c06.bundle.js} +1 -1
- package/dist/8.611184e202a99e8c66e2.bundle.js +1 -0
- package/dist/80.cc1cebcc79df1bfccc83.bundle.js +1 -0
- package/dist/81.d8af8695c90555e2969a.bundle.js +1 -0
- package/dist/{61.98a3ef4ed5c339daddb8.bundle.js → 82.79dcf025720340cc80be.bundle.js} +1 -1
- package/dist/83.e40c2ed0a82336d2a200.bundle.js +1 -0
- package/dist/{64.6a6aa6434a66542efffa.bundle.js → 84.564dbdaadac4d8f943e6.bundle.js} +1 -1
- package/dist/{65.6941c78bf1dc89a30b9f.bundle.js → 85.a26dd294cbde346e535a.bundle.js} +1 -1
- package/dist/{66.b0e1523c5ffaef2e7332.bundle.js → 86.a0e03ca9e6b275e5d86c.bundle.js} +1 -1
- package/dist/{67.2e0c784b7da674617bbb.bundle.js → 87.3b21eccdeca424f07078.bundle.js} +1 -1
- package/dist/88.591fff6c8f27d6dada6f.bundle.js +1 -0
- package/dist/89.fd4df0be29181be0c0ea.bundle.js +1 -0
- package/dist/9.ef09c58a5a6d39c69a24.bundle.js +1 -0
- package/dist/90.eec16c54cc9f9015f59f.bundle.js +1 -0
- package/dist/91.1325c47ab1e1bde6f2f4.bundle.js +1 -0
- package/dist/92.9f757b1920f681d4001a.bundle.js +1 -0
- package/dist/93.de6030748b9e71e4f2cb.bundle.js +1 -0
- package/dist/94.8d63afe2e8cf0489199a.bundle.js +1 -0
- package/dist/{74.79caa682c1fb91f0cba7.bundle.js → 95.565e12014a029895a47e.bundle.js} +1 -1
- package/dist/{75.198f1c728a9dc99932dc.bundle.js → 96.43c4ab175d5100f42417.bundle.js} +1 -1
- package/dist/97.2aa9813bb8e2ddcf9e41.bundle.js +1 -0
- package/dist/98.fbabe5fb9ba60ec4359f.bundle.js +1 -0
- package/dist/{77.e510a937a762eecefd8e.bundle.js → 99.3058922e7c3afd38944e.bundle.js} +1 -1
- package/dist/{bundle.e9d033452bd6be1b83f3.bundle.js → bundle.62e20bb1a87767d98a3f.bundle.js} +20 -20
- package/dist/css/bootstrap-graphdb-theme.css +13 -3
- package/dist/css/common.css +10 -0
- package/dist/css/repositories.css +1 -1
- package/dist/css/ttyg/agent-list.css +118 -0
- package/dist/css/ttyg/agent-select-menu.css +47 -0
- package/dist/css/ttyg/agent-settings-modal.css +105 -0
- package/dist/css/ttyg/chat-item-details.css +168 -0
- package/dist/css/ttyg/chat-list.css +99 -0
- package/dist/css/ttyg/chat-panel.css +83 -0
- package/dist/css/ttyg/no-agents-view.css +19 -0
- package/dist/css/ttyg/ttyg.css +151 -0
- package/dist/i18n/locale-en.json +429 -23
- package/dist/i18n/locale-fr.json +442 -54
- package/dist/index.html +7 -4
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html +14 -0
- 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/core/templates/modal/modal-simple.html +1 -1
- package/dist/js/angular/import/templates/import-resource-status-info.html +1 -1
- package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +112 -0
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +73 -0
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +36 -0
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +95 -0
- package/dist/js/angular/ttyg/templates/chat-list.html +55 -0
- package/dist/js/angular/ttyg/templates/chat-panel.html +54 -0
- package/dist/js/angular/{chatgpt/templates/chat.html → ttyg/templates/chat1.html} +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +447 -0
- package/dist/js/angular/ttyg/templates/no-agents-view.html +16 -0
- package/dist/js/angular/ttyg/templates/ttyg.html +134 -0
- package/dist/license-checker-static.json +7 -0
- package/dist/license-checker.json +108 -4
- package/dist/main.4a2c53e12c5400301af1.css +1 -0
- package/dist/{main.d87062391e6bd2af135a.bundle.js → main.bc67010f8efbfa19a87a.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +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 +181 -5
- 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/plugins.js +34 -34
- package/dist/{polyfills-dom.ca5eb32124bc19968252.bundle.js → polyfills-dom.713c6eb5d06e88d29f04.bundle.js} +1 -1
- package/dist/res/swagger5/fonts/custom-icons.woff2 +0 -0
- package/dist/res/swagger5/fonts/fa-regular-400.woff2 +0 -0
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.d77483a768aebf5b9e51.bundle.js → vendor.097ea64a1a6385ba13cb.bundle.js} +4 -4
- package/dist/vendor.0dbd09f6d69e78b19728.css +25 -0
- package/dist/{vendors~polyfills-core-js.3624d97a659a8b5960c6.bundle.js → vendors~polyfills-core-js.96a1bbab5b3376633c87.bundle.js} +1 -1
- package/package.json +4 -2
- package/dist/1.9a8a5a340e17c11643b6.bundle.js +0 -1
- package/dist/10.cde4715aee111520ab10.bundle.js +0 -1
- package/dist/101.67724d1c5eab0229cbe8.bundle.js +0 -1
- package/dist/102.73ff72236ce70b195ca5.bundle.js +0 -1
- package/dist/11.d6074d5e8b21f93140ef.bundle.js +0 -2
- package/dist/110.dd2f5b0811c880673b1c.bundle.js +0 -1
- package/dist/112.7836140f8c321eb4cc92.bundle.js +0 -1
- package/dist/12.d77cbf85a04c13416797.bundle.js +0 -1
- package/dist/14.443c28ad7cefb54afbc3.bundle.js +0 -1
- package/dist/148.254a642917f6b6c15d61.bundle.js +0 -1
- package/dist/15.6cdd681f18f8cccb36e3.bundle.js +0 -1
- package/dist/17.3d7eaaad411633e6bcac.bundle.js +0 -3
- package/dist/174.d8e0820fa9a854ca9bcd.bundle.js +0 -1
- package/dist/178.0957348875d0effa1ef9.bundle.js +0 -1
- package/dist/18.d9d99950a0c1da7f12c6.bundle.js +0 -3
- package/dist/183.d0783efdda9357f3fecf.bundle.js +0 -1
- package/dist/19.b4244c289c3dfc3c09ec.bundle.js +0 -2
- package/dist/191.4a27829ca9f82917c075.bundle.js +0 -1
- package/dist/192.18b48442299e101c94bb.bundle.js +0 -1
- package/dist/198.bc0d8a5bcd304f288f29.bundle.js +0 -1
- package/dist/2.f1a215f762fbc9060ff8.bundle.js +0 -2
- package/dist/20.b7b67f324565878b78fb.bundle.js +0 -1
- package/dist/200.d51dae4d7a098dbdf4fe.bundle.js +0 -1
- package/dist/207.a7009c479f89c28c2b35.bundle.js +0 -1
- package/dist/208.e24574635d546598ed63.bundle.js +0 -1
- package/dist/209.4b9ac5e926fe1fde0941.bundle.js +0 -1
- package/dist/21.f3e03a35598e574d1088.bundle.js +0 -1
- package/dist/212.578f5adf8b5c02e176a9.bundle.js +0 -1
- package/dist/213.bf39c553daaec0e3a17d.bundle.js +0 -1
- package/dist/218.f4c5214b9f608a2835d8.bundle.js +0 -1
- package/dist/220.b5a3c109cb5ae12138e7.bundle.js +0 -1
- package/dist/222.a98f48c0726553a3e27f.bundle.js +0 -1
- package/dist/223.172b2476d760a0afb627.bundle.js +0 -1
- package/dist/225.e4b402662c5f8ecdd969.bundle.js +0 -1
- package/dist/226.d41bd3bd54d68a488d00.bundle.js +0 -1
- package/dist/23.352eec217c0d24b98b14.bundle.js +0 -1
- package/dist/240.bd7eafce1c66bf1c7882.bundle.js +0 -1
- package/dist/246.9f9f0bf8d23dc6f1662c.bundle.js +0 -1
- package/dist/255.440b872b6108a6ccdbca.bundle.js +0 -1
- package/dist/259.ee3a351a443f650ce82e.bundle.js +0 -1
- package/dist/26.a46725dccee91696a0ba.bundle.js +0 -1
- package/dist/262.c9a141390f2ea8b03a0f.bundle.js +0 -1
- package/dist/269.34add7a24cff1727163f.bundle.js +0 -1
- package/dist/27.6f188fed594aabd1b602.bundle.js +0 -1
- package/dist/273.d931a545293c81cc8502.bundle.js +0 -1
- package/dist/28.c11269f1bfdea632cc8c.bundle.js +0 -1
- package/dist/281.e063a110cf1cc6b1ee3c.bundle.js +0 -1
- package/dist/29.9e82fddb3191a1d492ef.bundle.js +0 -1
- package/dist/299.6bc38539ac3a1f688515.bundle.js +0 -1
- package/dist/30.5e637735aba63bdf1dde.bundle.js +0 -1
- package/dist/301.311927a5091e698dcfed.bundle.js +0 -1
- package/dist/302.07e63f56f579a56c5ea0.bundle.js +0 -1
- package/dist/303.0cc447af82c7337dc639.bundle.js +0 -1
- package/dist/332.218235e77c873ac2a107.bundle.js +0 -1
- package/dist/34.3664a756f3a6545525cb.bundle.js +0 -1
- package/dist/343.36326f594b059044bead.bundle.js +0 -1
- package/dist/344.bb213971ae0911fc62a2.bundle.js +0 -1
- package/dist/38.f722999a96d03d283e5d.bundle.js +0 -1
- package/dist/39.a871b7027a2a298b4299.bundle.js +0 -1
- package/dist/4.f801e3f2505057b5fe87.bundle.js +0 -1
- package/dist/40.2209efb6cf9a445aaf72.bundle.js +0 -1
- package/dist/42.c1055d3f77e831a0feee.bundle.js +0 -1
- package/dist/46.7ad1a08290f31fd43400.bundle.js +0 -1
- package/dist/5.4dc4c9e2cc7f47eebc6d.bundle.js +0 -1
- package/dist/50.367ae07d769401becd85.bundle.js +0 -1
- package/dist/51.5f93e26d33e6f8276243.bundle.js +0 -1
- package/dist/54.d121d14b8519ccfbcb89.bundle.js +0 -1
- package/dist/55.03e7d8a381e4675c44d1.bundle.js +0 -1
- package/dist/57.4af71143d20ef8319653.bundle.js +0 -1
- package/dist/59.cd0020e8e69a551f3ce7.bundle.js +0 -1
- package/dist/6.6cb08e9e9ad072cbfc81.bundle.js +0 -1
- package/dist/60.c1d4a6e7b7db06eb5cf0.bundle.js +0 -1
- package/dist/62.d8e356c03ac8411adbc1.bundle.js +0 -1
- package/dist/63.8e37fba90bde83bd2f3f.bundle.js +0 -1
- package/dist/68.7b133326e3a06d04bde1.bundle.js +0 -1
- package/dist/69.efd0918b042b1f398041.bundle.js +0 -1
- package/dist/7.ee0f4f4648f8fc3ce108.bundle.js +0 -1
- package/dist/70.829438eff9c2658951c2.bundle.js +0 -1
- package/dist/71.e62a381e89828b1c6313.bundle.js +0 -1
- package/dist/72.bc7fc2aaf3a8e8ec1c41.bundle.js +0 -1
- package/dist/76.17d0e859ea1d5af3db31.bundle.js +0 -1
- package/dist/78.6f4f90c087c54d245a1f.bundle.js +0 -1
- package/dist/79.f3efb595666ebe8f0914.bundle.js +0 -1
- package/dist/80.dca09d62e752f0cfc49c.bundle.js +0 -1
- package/dist/81.c8d004888156470c3aad.bundle.js +0 -1
- package/dist/82.45eb346dc80bc3d07b7b.bundle.js +0 -1
- package/dist/83.d34173500de6f79f117d.bundle.js +0 -1
- package/dist/84.bd622caf3a67cf0911ac.bundle.js +0 -1
- package/dist/85.9cb089f63b89d8e7d4b8.bundle.js +0 -1
- package/dist/87.8c703c24e6940c7c322c.bundle.js +0 -1
- package/dist/88.d5d55f2a585edc6ca23c.bundle.js +0 -1
- package/dist/89.73e31db425e7bdd57694.bundle.js +0 -1
- package/dist/9.41a5f9b1f94054ff21b4.bundle.js +0 -1
- package/dist/90.677903cb383d54b99bb3.bundle.js +0 -1
- package/dist/91.3f0a70d1f461d707733a.bundle.js +0 -1
- package/dist/92.dcaf435d98ba85bf41d9.bundle.js +0 -1
- package/dist/93.c7ffdd12d101f0759f50.bundle.js +0 -1
- package/dist/94.ef149157cec71e8c6727.bundle.js +0 -1
- package/dist/95.481f9941f7c5102fd02a.bundle.js +0 -1
- package/dist/96.963fb705cf41d4813f5f.bundle.js +0 -1
- package/dist/97.885a73aa0360fd138b06.bundle.js +0 -1
- package/dist/98.4682c01b8beedb7ee99f.bundle.js +0 -1
- package/dist/99.15cb2b4dc8cf54d6c473.bundle.js +0 -1
- package/dist/main.98c547eac0aca6db48bb.css +0 -1
- package/dist/vendor.c3e18291118da6a85719.css +0 -20
- /package/dist/js/angular/{chatgpt → ttyg}/templates/chatInfo.html +0 -0
- /package/dist/js/angular/{chatgpt → ttyg}/templates/modal/settings.html +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[60,96],{101:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return c})),s.d(t,"ClearGraphACRuleModel",(function(){return l})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return f}));var r=s(27);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,c,l){const u=a.createRule(e,t,s,r,i,o,n,c,l);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,p,h){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,p,r);case _.PLUGIN:return new c(s,t,h,r);case _.CLEAR_GRAPH:return new l(s,t,p);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],f=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},145:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(101);const i=e=>{const t=new r.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[62,99],{147:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},253:function(o,e,n){"use strict";n.r(e);n(147);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[63,101],{148:function(t,e){angular.module("graphdb.framework.chatgpt.controllers",["toastr","graphdb.framework.utils.localstorageadapter"]).controller("ChatGptCtrl",o).controller("ChatGptSettingsCtrl",n),o.$inject=["$scope","$http","$timeout","$translate","$uibModal","$repositories","toastr","ModalService","LocalStorageAdapter"];function o(t,e,o,n,r,s,i,a,c){function l(){o(()=>{document.getElementById("messages-scrollable").scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},0)}function u(){t.history=[],t.askSettings={queryTemplate:{query:"string"},groundTruths:[],echoVectorQuery:!1,topK:5};const e=c.get("ttyg"),o=s.getActiveRepository();if(e&&e[o]){const n=e[o];n.history&&(t.history=n.history),t.connectorID=n.connectorID,n.askSettings&&(t.askSettings=n.askSettings)}l()}function g(){const e=c.get("ttyg")||{};e[s.getActiveRepository()]={history:t.history,connectorID:t.connectorID,askSettings:t.askSettings},c.set("ttyg",e)}t.helpTemplateUrl="js/angular/chatgpt/templates/chatInfo.html",t.getIcon=function(t){return"question"===t?"user":"assistant"===t?"data":"help"},t.ask=function(){if(!t.question.trim())return;const o=t.history.filter(t=>!t.error),n={connectorID:t.connectorID,question:t.question,askSettings:t.askSettings,history:o},r={role:"question",content:t.question};e.post("rest/chat/retrieval?repositoryID="+s.getActiveRepository(),n).then(e=>{t.history.pop(),e.data.forEach(e=>t.history.push(e))}).catch(t=>{r.error=!0,i.error(getError(t,0,100))}).finally(()=>{t.loader=!1,l(),g()}),t.history.push(r),t.loader=!0,l(),t.question=""},t.clear=function(){a.openSimpleModal({title:n.instant("common.confirm"),message:n.instant("ttyg.clear.history.confirmation"),warning:!0}).result.then((function(){t.history=[],g()}))},t.openSettings=function(){r.open({templateUrl:"js/angular/chatgpt/templates/modal/settings.html",controller:"ChatGptSettingsCtrl",size:"lg",resolve:{data:function(){return{askSettings:t.askSettings,connectorID:t.connectorID}}}}).result.then((function(e){t.connectorID=e.connectorID,t.askSettings=e.askSettings,g()}))},t.$on("repositoryIsSet",(function(){u()})),s.getActiveRepository()&&u()}function n(t,e,o,n){t.dialogTitle=e.instant("ttyg.settings.title"),t.save=function(){if(t.form.$valid){const e={queryTemplate:JSON.parse(t.queryTemplate),groundTruths:t.groundTruths.split("\n"),topK:t.topK,echoVectorQuery:t.echoVectorQuery};o.close({askSettings:e,connectorID:t.connectorID})}},t.cancel=function(){o.dismiss("cancel")},t.connectorID=n.connectorID,t.queryTemplate=JSON.stringify(n.askSettings.queryTemplate,null," "),t.topK=n.askSettings.topK,t.echoVectorQuery=n.askSettings.echoVectorQuery,t.groundTruths=n.askSettings.groundTruths.map(t=>t.trim()).filter(t=>""!==t).join("\n")}n.$inject=["$scope","$translate","$uibModalInstance","data"]},255:function(t,e,o){"use strict";o.r(e);o(148);angular.module("graphdb.framework.chatgpt",["ngRoute","graphdb.framework.chatgpt.controllers"])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[68,106],{157:function(e,t,n){"use strict";n.r(t);n(10),n(158);var o=n(87),r=n(27),s=n(82);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},82:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[69,155,156],{75:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return r})),n.d(e,"RecoveryState",(function(){return o})),n.d(e,"LinkState",(function(){return a}));const r={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"},o={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"},a={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},87:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return N})),n.d(e,"createClusterZone",(function(){return S})),n.d(e,"setCreateClusterZone",(function(){return f})),n.d(e,"updateClusterZoneLabels",(function(){return h})),n.d(e,"moveElement",(function(){return O})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return A})),n.d(e,"updateLinks",(function(){return R})),n.d(e,"ARROW_CONFIG",(function(){return C})),n.d(e,"addArrowHead",(function(){return m})),n.d(e,"setArrowLink",(function(){return v})),n.d(e,"setLinkColor",(function(){return T})),n.d(e,"setLinkStyle",(function(){return L})),n.d(e,"positionNodesOnClusterZone",(function(){return x})),n.d(e,"createHexagon",(function(){return w})),n.d(e,"removeEventListeners",(function(){return b}));var r=n(75),o=n(27);const a="var(--primary-color)",s="var(--secondary-color)",i="var(--gray-color)",c={[r.LinkState.IN_SYNC]:s,[r.LinkState.SYNCING]:s,[r.LinkState.OUT_OF_SYNC]:i,[r.LinkState.RECEIVING_SNAPSHOT]:s},d={[r.LinkState.IN_SYNC]:"none",[r.LinkState.SYNCING]:"10 10",[r.LinkState.OUT_OF_SYNC]:"10 10",[r.LinkState.RECEIVING_SNAPSHOT]:"10 10"},u="FONT_AWESOME",l="ICOMOON";function N(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function S(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function f(t,e,n,r=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",r),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),r&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",a).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function h(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function O(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function E(t,e,n){const r=t.enter().append("g").attr("id","node-group").classed("legend",n),o=r.merge(t).attr("id","node-group").classed("legend",n);return w(r,e),t.exit().remove(),r.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(r,e),o}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(o.isEmpty)(n.recoveryStatus)?function(t){const e=y[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return _[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===l).classed("fa-d3",e.font===u).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===r.NodeState.LEADER).classed("follower",t=>t.nodeState===r.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===r.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==r.NodeState.LEADER&&t.nodeState!==r.NodeState.FOLLOWER&&t.nodeState!==r.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(o.isEmpty)(t.recoveryStatus))return 0;const r=g(I(t));return e=r.height,n=r.width,n})).attr("height",(function(t){return Object(o.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(o.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return I(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(o.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=I(t),r=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,a=r?n:t.recoveryStatus.message,s=g(n),i=g(t.recoveryStatus.message);e.on(".tooltip",null),r&&function(t,e,n,r,o){t.on("mouseover.tooltip",()=>{t.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${r}</div>`)})}(e,t.recoveryStatus.message,s,a,i),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${a}</div>`)}))}(t)}(t)}const _={[r.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:u},[r.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:l}},y={[r.NodeState.CANDIDATE]:{icon:"",font:l},[r.NodeState.NO_CONNECTION]:{icon:"",font:l},[r.NodeState.OUT_OF_SYNC]:{icon:"",font:l},[r.NodeState.READ_ONLY]:{icon:"",font:l},[r.NodeState.RESTRICTED]:{icon:"",font:l}};function I(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),r=n.height,o=n.width;return document.body.removeChild(e),{height:r,width:o}}function A(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function R(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",T).style("stroke-dasharray",L).style("marker-mid",t=>v(t,C.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),r=e.find(e=>e.address===t.target),o=r.x-n.x,a=r.y-n.y,s=Math.sqrt(o*o+a*a),i=o/s,c=a/s,d=n.x+55*i,u=n.y+55*c,l=r.x-55*i,N=r.y-55*c;return"M"+d+","+u+"L"+(d+l)/2+","+(u+N)/2+"L"+l+","+N}(t,e))}const C={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function m(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function v(t,e){if(t.status===r.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function T(t){return c[t.status]||"none"}function L(t){return d[t.status]||"none"}function x(t,e,n,r){t.attr("transform",(o,a)=>{const s=2*Math.PI*a/t.size(),i=e+Math.cos(s)*r,c=n+Math.sin(s)*r;return o.x=i,o.y=c,`translate(${i}, ${c})`})}function w(t,e){const n=Math.sqrt(3)/2,r=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([r]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function b(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[7,53,69,153,155,156],{110:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},158:function(t,e,n){"use strict";n.r(e);var s=n(159),a=n(87),r=n(75);function o(t,e,n,o){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-legend.html",scope:{},link:N=>{N.hideLegend=!0;const i=[];let c,E,_;N.toggleLegend=()=>{N.hideLegend=!N.hideLegend,c.classed("hidden-legend",N.hideLegend)};const l=()=>{const t=e.getClusterViewD3Container();u(t),A(),T(c),d(),S(),O(),L()},T=t=>{C(t,"cluster_management.cluster_graphical_view.legend_title_node_state");const e=t.selectAll(".node-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendNodes()),n=a.createNodes(e,s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH,!0);a.updateNodes(n);n.attr("transform",(function(t,e){return O(),`translate(${s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT}, ${E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP})`})).append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH).attr("y",3).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.customText)}))},d=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_sync_status");const t=c.selectAll(".sync-statuses-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getSyncStatuses()).enter().append("g").attr("class","sync-statuses-group"),e=new Map;t.append("text").classed("sync-status",!0).attr("class",t=>t.classes).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT-10).attr("y",(function(t,n){const a=n*(20+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP;return e.set(n,a),a})).text((function(t){return t.icon}));const n=(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE-s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE)/2;t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.labelKey)})).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).attr("y",(function(t,s){return e.get(s)-n})).classed("links-statuses",!0)},S=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_link_states");const t=c.selectAll(".link-states-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendLinks()).enter().append("g").attr("class","link-state"),e=new Map;t.append("path").classed("link",!0).attr("stroke-dasharray",a.setLinkStyle).attr("stroke",a.setLinkColor).attr("d",(t,n)=>{const a=n*(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP,o=_/2;let N;if(e.set(n,a),t.status===r.LinkState.RECEIVING_SNAPSHOT){const t=o/2;N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},L${t},${a},L${o},${a}`}else N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},${o},${a}`;return N}).style("marker-mid",t=>a.setArrowLink(t,a.ARROW_CONFIG.SMALL)),t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.linkTypeKey)})).attr("x",_/2+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT).attr("y",(function(t,n){return e.get(n)+4})).classed("links-statuses",!0)},u=t=>{c=t.append("g").classed("hidden-legend",N.hideLegend).classed("cluster-legend-group",!0)},A=()=>{c.append("rect").attr("class","legend-background").attr("fill","#EEEEEE")},O=()=>{c.call(t=>{E=t.node().getBBox().height}),_=I(c)+30},L=()=>{const t=I(c);c.select(".legend-background").attr("height",E+3*s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_TOP).attr("width",t+s.CLUSTER_MANAGEMENT_CONSTANTS.BACKGROUND_PADDING).attr("rx","6")},I=t=>{let e=0;return t.selectAll(":not(.legend-background)").each((function(){const t=this.getBBox();e=Math.max(e,t.width)})),e},C=(t,e)=>t.append("text").attr("class","legend-title").attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_SIZE).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_WEIGHT).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_COLOR).text((function(){return f(this,e)})).attr("y",()=>(O(),E+s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_PADDING_TOP)),f=(e,s)=>(i.push(t.$on("$translateChangeSuccess",()=>{d3.select(e).text(n.instant(s)),L()})),n.instant(s)),h=()=>{N.hideLegend=!0,c.classed("hidden-legend",N.hideLegend)};o.on("keydown",t=>{"Escape"===t.key&&h()}),i.push(e.onClusterViewD3ContainerUpdated(l)),N.$on("$destroy",()=>{o.off("keydown",h),i.forEach(t=>t())}),l()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-legend",[]).directive("clusterLegend",o),o.$inject=["$rootScope","ClusterViewContextService","$translate","$document"]},159:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(110),a=n(75);const r={getLegendNodes:function(){const t=[];return t.push({nodeState:s.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:s.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:s.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t},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 t=[];return t.push({status:a.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:a.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:a.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.push({status:a.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),t.forEach((t,e)=>t.id=e),t},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(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s})),n.d(e,"RecoveryState",(function(){return a})),n.d(e,"LinkState",(function(){return r}));const s={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"},a={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"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},87:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return l})),n.d(e,"createClusterZone",(function(){return T})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return S})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return A})),n.d(e,"updateNodes",(function(){return O})),n.d(e,"createLinks",(function(){return h})),n.d(e,"updateLinks",(function(){return G})),n.d(e,"ARROW_CONFIG",(function(){return y})),n.d(e,"addArrowHead",(function(){return g})),n.d(e,"setArrowLink",(function(){return p})),n.d(e,"setLinkColor",(function(){return M})),n.d(e,"setLinkStyle",(function(){return D})),n.d(e,"positionNodesOnClusterZone",(function(){return R})),n.d(e,"createHexagon",(function(){return m})),n.d(e,"removeEventListeners",(function(){return v}));var s=n(75),a=n(27);const r="var(--primary-color)",o="var(--secondary-color)",N="var(--gray-color)",i={[s.LinkState.IN_SYNC]:o,[s.LinkState.SYNCING]:o,[s.LinkState.OUT_OF_SYNC]:N,[s.LinkState.RECEIVING_SNAPSHOT]:o},c={[s.LinkState.IN_SYNC]:"none",[s.LinkState.SYNCING]:"10 10",[s.LinkState.OUT_OF_SYNC]:"10 10",[s.LinkState.RECEIVING_SNAPSHOT]:"10 10"},E="FONT_AWESOME",_="ICOMOON";function l(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function T(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function d(t,e,n,s=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",s),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),s&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function S(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function A(t,e,n){const s=t.enter().append("g").attr("id","node-group").classed("legend",n),a=s.merge(t).attr("id","node-group").classed("legend",n);return m(s,e),t.exit().remove(),s.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(s,e),a}function O(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(a.isEmpty)(n.recoveryStatus)?function(t){const e=I[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return L[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===_).classed("fa-d3",e.font===E).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===s.NodeState.LEADER).classed("follower",t=>t.nodeState===s.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===s.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==s.NodeState.LEADER&&t.nodeState!==s.NodeState.FOLLOWER&&t.nodeState!==s.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(a.isEmpty)(t.recoveryStatus))return 0;const s=f(C(t));return e=s.height,n=s.width,n})).attr("height",(function(t){return Object(a.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(a.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return C(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(a.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=C(t),s=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,r=s?n:t.recoveryStatus.message,o=f(n),N=f(t.recoveryStatus.message);e.on(".tooltip",null),s&&function(t,e,n,s,a){t.on("mouseover.tooltip",()=>{t.attr("width",a.width).attr("height",a.height).attr("x",-a.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${s}</div>`)})}(e,t.recoveryStatus.message,o,r,N),e.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const L={[s.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:E},[s.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:_}},I={[s.NodeState.CANDIDATE]:{icon:"",font:_},[s.NodeState.NO_CONNECTION]:{icon:"",font:_},[s.NodeState.OUT_OF_SYNC]:{icon:"",font:_},[s.NodeState.READ_ONLY]:{icon:"",font:_},[s.NodeState.RESTRICTED]:{icon:"",font:_}};function C(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function f(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),s=n.height,a=n.width;return document.body.removeChild(e),{height:s,width:a}}function h(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function G(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",M).style("stroke-dasharray",D).style("marker-mid",t=>p(t,y.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),s=e.find(e=>e.address===t.target),a=s.x-n.x,r=s.y-n.y,o=Math.sqrt(a*a+r*r),N=a/o,i=r/o,c=n.x+55*N,E=n.y+55*i,_=s.x-55*N,l=s.y-55*i;return"M"+c+","+E+"L"+(c+_)/2+","+(E+l)/2+"L"+_+","+l}(t,e))}const y={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function g(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function p(t,e){if(t.status===s.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function M(t){return i[t.status]||"none"}function D(t){return c[t.status]||"none"}function R(t,e,n,s){t.attr("transform",(a,r)=>{const o=2*Math.PI*r/t.size(),N=e+Math.cos(o)*s,i=n+Math.sin(o)*s;return a.x=N,a.y=i,`translate(${N}, ${i})`})}function m(t,e){const n=Math.sqrt(3)/2,s=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([s]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function v(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[70,112],{261:function(e,t,o){"use strict";o.r(t);o(7),o(28),o(242),o(83),o(29),o(465);angular.module("graphdb.framework.impex.export",["ui.bootstrap","toastr","ngRoute","ngCookies","graphdb.framework.impex.export.controllers","graphdb.framework.core.directives.paginations","graphdb.framework.core.services.repositories","graphdb.framework.core.directives"]).config(["$uibTooltipProvider",function(e){e.setTriggers({showExportDDTooltip:"showExportDDTooltip"})}])},83:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,o){return{link:function(e,a){const r=()=>{const t=o('<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);a.html(t)};r();const i=t.$on("$translateChangeSuccess",r);e.$on("$destroy",i)}}}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[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"]},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[72,223],{167:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(97);const i="yagui__"+n.VIEW_SPARQL_EDITOR,s="completed",r="rejected",o=function(){const t=()=>({val:{active:null,tabs:[],tabConfig:{}}}),e=(t,e,a=null)=>{t.val.migration={date:(new Date).toISOString(),status:e,error:a}},a=(t,e)=>{t.val.tabs.push(e)},n=(t,e)=>{t.val.tabConfig[e.id]=e},o=t=>{let e=localStorage.getItem(t);if(e)return e=JSON.parse(e),e},l=t=>{t.val.tabs=t.val.tabs.filter(t=>!t.startsWith("_"))},g=t=>{for(const e in t.val.tabConfig)e.startsWith("_")&&delete t.val.tabConfig[e]},c=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},u=(t,e)=>`${e} ${t}`,d=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const t=o(i);let e=!1;return t&&(e=t.val.migration&&(t.val.migration.status===s||t.val.migration.status===r)),!(!localStorage.getItem("ls.tabs-state")||e)},revertMigration:()=>{const t=o(i);l(t),g(t),c(i,t)},migrateYasguiPersistence:r=>{let l=o("ls.tabs-state");l=Object.freeze(l);let g=o(i);g||(g=t()),l.map(t=>({id:t.id,name:t.name,yasqe:{value:t.query,sameAs:t.sameAs,infer:t.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((t,e)=>{t.id="_"+d(),t.name=t.name||u(e,r),a(g,t.id),n(g,t)}),g.val.active=g.val.tabs[0],e(g,s),c(i,g)},rejectMigration:()=>{const t=o(i);e(t,r),c(i,t)}}}()},97:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[76,158],{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,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},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 u}));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),u=e=>e.map(e=>a(e))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[78,174],{133:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(85);class s{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(r){return r===t.JdbcDriverType.GENERIC}static isSnowflakeDriver(r){return r===t.JdbcDriverType.SNOWFLAKE}}},85:function(r,e,i){"use strict";i.r(e),i.d(e,"JdbcDriverType",(function(){return t}));const t={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[79,218],{138:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(86);class c{constructor(){this.type=t.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return t.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return t.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return t.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return t.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return t.SimilaritySearchType.isSearchDocumentType(this.type)}}},86:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearchType",(function(){return t}));const t={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>t.SEARCH_TERM===e,isSearchAnalogicalType:e=>t.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>t.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>t.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>t.SEARCH_DOCUMENT===e}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[80,225],{111:function(e,a,n){"use strict";n.r(a),n.d(a,"buildQueryModel",(function(){return t})),n.d(a,"savedQueriesResponseMapper",(function(){return u})),n.d(a,"savedQueryResponseMapper",(function(){return d})),n.d(a,"queryPayloadFromEvent",(function(){return o}));var r=n(95);const t=(e,a,n,t)=>new r.TabQueryModel(a,e,n,t),u=e=>e&&e.data?e.data.map?e.data.map(e=>t(e.body,e.name,e.owner,e.shared)):[t(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],d=e=>{const a=u(e);return a.length?a[0]:null},o=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})},95:function(e,a,n){"use strict";n.r(a),n.d(a,"TabQueryModel",(function(){return r}));class r{constructor(e,a,n,r=!0){this.queryName=e,this.query=a,this.owner=n,this.isPublic=r}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[81,233],{228:function(n,e,i){"use strict";i.r(e);i(37);function t(n,e,i,t,r,o,s,l){let u;const a=function(){n.clear(),r.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()&&c()};n.clear=function(){n.searchPluginsTerm="",n.plugins=[],n.displayedPlugins=[]};const c=function(){g(),u=e((function(){g()}),5e3)},g=function(){s.getPlugins(n.getActiveRepository()).success((function(e){n.plugins=n.buildPluginsArray(e.results.bindings)})).error((function(n){i.error(getError(n))})).finally((function(){n.filterResults(),n.setLoader(!1)}))};n.buildPluginsArray=function(n){return n.map(n=>({name:n.s.value,enabled:"true"===n.o.value})).filter((function(n){return"plugincontrol"!==n.name&&"literals-index"!==n.name})).sort((function(n,e){const i=n.name.toLowerCase(),t=e.name.toLowerCase();return i<t?-1:i>t?1:0}))},n.filterResults=function(){const e=n.plugins.filter(e=>-1!==e.name.indexOf(n.searchPluginsTerm));f(e)&&n.updateDisplayedPlugins(e)};const f=function(e){if(!n.displayedPlugins||n.displayedPlugins.length!==e.length)return!0;for(const i in e)if(!n.displayedPlugins.find(n=>angular.equals(n,e[i])))return!0;return!1};function d(){u&&e.cancel(u)}n.updateDisplayedPlugins=function(e){n.displayedPlugins=e,setTimeout((function(){n.applyRowStyles()}),0)},n.setLoader=function(e,i){o.cancel(n.loaderTimeout),e?n.loaderTimeout=o((function(){n.loader=e,n.loaderMessage=i}),300):n.loader=!1},n.$on("repositoryIsSet",(function(){d(),a()})),n.$on("$destroy",(function(){d(),$(window).off("resize.plugin")})),$(window).on("resize.plugin",(function(){n.applyRowStyles()})),n.applyRowStyles=function(){const e=$("#wb-plugins-pluginInPlugins").width(),i=$("tr").width(),t=Math.floor(e/i);$(".wb-plugins-row").toArray().forEach((e,i)=>{n.isGreyBackground(t,i)?$(e).addClass("grey-row"):$(e).removeClass("grey-row")})},n.isGreyBackground=function(n,e){const i=(Math.floor(e/n)+1)%2!=1,t=e%2!=0;if(n%2!=0){if(i&&!t||!i&&!t)return!0;if(i&&t||!i&&t)return!1}else{if(i&&!t||!i&&t)return!1;if(i&&t||!i&&!t)return!0}},n.togglePlugin=function(e,t){const r=n.getActiveRepository(),o=t?l.instant("deactivating.plugin",{pluginName:e}):l.instant("activating.plugin",{pluginName:e});n.setLoader(!0,o),s.togglePlugin(r,t,e).error((function(n){i.error(getError(n))})).finally((function(){g(),n.setLoader(!1)}))},n.getLoaderMessage=function(){return n.loaderMessage||l.instant("common.loading")},n.onSearchTermChanged=function(){n.filterResults()},a()}angular.module("graphdb.framework.plugins.controllers",["graphdb.framework.rest.plugins.service"]).controller("PluginsCtrl",t),t.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$timeout","PluginsRestService","$translate"]},312:function(n,e,i){"use strict";i.r(e);i(228);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[82,235],{229:function(e,t,o){"use strict";o.r(t);o(7),o(31);const n=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);n.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate","AuthTokenService",function(e,t,o,n,r,i,s,u,a,c){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;const l=document.createElement("a");e.parseNode=function(e){if(null==e)return null;let t="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){l.href=e;let o=l.hostname;(function(e){const t=e.split(".");for(let e=0,o=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?o++:o=0,4===o)return!0;return!1})(l.hostname)||(o=l.hostname.split(".")[0]),t=o+":"+l.port}const o=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[o[2],t,o[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!r.getActiveRepository()||(e.getQueriesRunning=!0,u.monitorQuery(r.getActiveRepository()).success((function(t){const o=t;e.noQueries=0===o.length,e.queries={};for(let t=0;t<o.length;t++)o[t].parsedNode=e.parseNode(o[t].node),e.queries[o[t].trackId]=o[t];e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(t){e.error=getError(t),e.loader=!1,e.getQueriesRunning=!1})))};const d=n((function(){r.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){n.cancel(d)})),e.deleteQueryHttp=function(t){e.loader=!0,u.deleteQuery(t,r.getActiveRepository()).success((function(){o.success(a.instant("abort.request.sent.msg")),e.loader=!1})).error((function(t){const n=getError(t);o.error(n,a.instant("common.error")),e.loader=!1}))},e.abortQuery=function(t){s.openSimpleModal({title:a.instant("confirm.abort"),message:a.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.downloadQuery=function(e){const t="query_"+e+".rq";let o="rest/monitor/repository/"+r.getActiveRepository()+"/query/download?query="+encodeURIComponent(e)+"&filename="+encodeURIComponent(t);i.isAuthenticated()&&(o=o+"&authToken="+encodeURIComponent(c.getAuthToken())),window.open(o,"_blank")},e.toggleQueryExpanded=function(t){e.expanded[t]=!e.expanded[t]}}]),n.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")}}])},314:function(e,t,o){"use strict";o.r(t);o(7),o(28),o(229);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[83,242],{234:function(e,r,t){"use strict";t.r(r);var n=t(447);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let s;const a=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),s.setOption(r.chart.chartOptions)});function o(){s.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),s.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){s.resize()}r.$watch("chart",(function(){s=n.a(t[0],null,{renderer:"svg"}),s.setOption(r.chart.chartOptions),s.showLoading(),s.on("legendselectchanged",c),r.chart.registerRefreshHandler(o),r.chart.translateLabels(),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){s.on("legendselectchanged"),s.dispose(),r.chart.unregisterRefreshHandler(o),a(),window.removeEventListener("resize",i)}))}}}])},320:function(e,r,t){"use strict";t.r(r);t(7),t(28),t(142),t(29),t(447),t(234);angular.module("graphdb.framework.jmx.resources",["toastr","ui.bootstrap","graphdb.framework.jmx.resources.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.resources.directives"])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[84,241],{214:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(66);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:s,data:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;this.latestData={nodesInSync:s.nodesInCluster,nodesOutOfSync:s.nodesOutOfSync,nodesDisconnected:s.nodesDisconnected,nodesSyncing:s.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},r.data.push({value:[e,s.nodesInSync]}),n.data.push({value:[e,s.nodesOutOfSync]}),l.data.push({value:[e,s.nodesDisconnected]}),i.data.push({value:[e,s.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[t,e,a,s]=this.dataHolder;t.name=this.translateService.instant("resources.cluster_health.in_sync"),e.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),s.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(t,e){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const t=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(t)}}},66:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));var s=a(447);class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[r.cssVar("--secondary-color"),r.cssVar("--primary-color"),r.cssVar("--tertiary-color"),r.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,s){this.filter=s,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((s,r)=>{if(Array.isArray(s.value)&&!s.value.length)return;const i=Array.isArray(s.value)?s.value.join("/"):s.value;a+=`{a|${s.label}}`,void 0!==i&&(a+=`{b|${i}}`),r+1<t.length&&(a+=e>0&&(r+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,s){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=r.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:r.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:r.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return s.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:r.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:r.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:r.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>r.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let s;s=Array.isArray(t)?r.getMaxValueFromDataHolder(t,a):r.getMaxValueForDataSeries(t);const i=Math.ceil(s*(e||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[s,i]=r.calculateMaxChartValueAndDivisions(t,e,a);return[s,i]}static formatBytesValue(t,e,a){let s=t;e&&(s=r.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(s)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,241],{213:function(t,e,a){"use strict";a.r(e),a.d(e,"ConnectionsChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.connections.active"),e.name=this.translateService.instant("resource.connections.open")}addNewData(t,e,a){const[r,s]=t,{activeTransactions:i,openConnections:n}=a.performanceData;r.data.push({value:[e,i]}),s.data.push({value:[e,n]})}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[87,241],{211:function(t,e,a){"use strict";a.r(e),a.d(e,"QueriesChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(t,e,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},t[0].data.push({value:[e,r.length]}),this.configureSubtitle()}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const t=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(t)}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[88,241],{209:function(t,e,a){"use strict";a.r(e),a.d(e,"CpuLoadChart",(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=>t+"%"},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return t+"%"}}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(t,e,a){t[0].data.push({value:[e,this.formatValue(a.cpuLoad)]})}formatValue(t){return+parseFloat(t).toFixed(4)}updateRange(t){}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,241],{210:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){const e={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(t){return(100*t).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(t){return(100*t).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(t,e)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:t}){return(100*t).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.storage.used"),e.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(t,e,a,r){const s=a.storageMemory,[i,o]=t;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const l=s.dataDirUsed+s.dataDirFree,n=s.workDirUsed+s.workDirFree,h=s.logsDirUsed+s.logsDirFree,c=s.dataDirUsed/l,d=s.workDirUsed/n,u=s.logsDirUsed/h,g=s.dataDirFree/l,f=s.workDirFree/n,m=s.logsDirFree/h;i.data.push(u,d,c),o.data.push(m,f,g)}configureSubtitle(){const t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[9,49,64,65,66,103,104,105,106,108,109,245],{149:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},150:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},151:function(e,t,o){"use strict";o.r(t);o(71);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},152:function(e,t,o){"use strict";o.r(t);o(71);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},153:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},154:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},155:function(e,t,o){"use strict";o.r(t);o(81);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},156:function(e,t,o){"use strict";o.r(t);o(71),o(81);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},241:function(e,t,o){"use strict";o.r(t);o(71),o(81),o(149),o(150),o(151),o(152),o(153),o(154),o(155),o(156);var n=o(27),r=o(75),s=o(82);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},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"]},82:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[90,241],{207:function(t,e,a){"use strict";a.r(e),a.d(e,"FileDescriptorsChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},min:0},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(t,e,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&t[0].data.push({value:[e,a.openFileDescriptors]})}configureSubtitle(){let t;t=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(t)}updateRange(t){super.updateRange(t,2)}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[91,241],{212:function(t,e,a){"use strict";a.r(e),a.d(e,"GlobalCacheChart",(function(){return s}));var r=a(66);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},minInterval:1},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resources.global_cache.hits"),e.name=this.translateService.instant("resources.global_cache.miss")}addNewData(t,e,a){const[r,s]=t;r.data.push({value:[e,a.cacheHit]}),s.data.push({value:[e,a.cacheMiss]})}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[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)}}},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 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[93,259],{141:function(e,t,n){"use strict";n.r(t);n(7),n(30);function r(e,t,n,r,i){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,r.getStatistics().then((function(t){e.settings.statistics="true"===t.data,e.supportsStatistics=!0}),(function(n){if(404===n.status)e.supportsStatistics=!1;else{const e=getError(n.data);t.error(e,i.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,r.toggleStatistics(e.settings.statistics).then((function(){n.close(),t.success(i.instant("saving.settings.success"))}),(function(e){const n=getError(e.data);t.error(n,i.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){n.dismiss("cancel")}}function i(e,t,n,r,i,s,o){e.loadingLicense=function(){return n.loadingLicense},n.checkLicenseStatus(),e.revertToFree=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("revert.to.free.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus()}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;const a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){"Invalid"!==n.licensee?(a.val(e),function(e,n){r.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=a.val());if(e){const n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(){i.error(c.instant("license.register.error"))}))}else i.error(c.instant("no.license.code.error"))}(n)}))}(n,e)):(a.val(""),i.error(n.message))})).error((function(){i.error(c.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){const n=e.currentFile;t.extractFromLicenseFile(n).success((function(e){l(e)})).error((function(){i.error(c.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){s.history.back()}}function o(e,t,n){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")},e.license=n}function c(e){e.loader=!0,e.setLoader=function(t){e.loader=t}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",r).controller("ValidateLicenseModalCtrl",o).controller("LicenseCtrl",i).controller("RegisterLicenseCtrl",s).controller("LoaderSamplesCtrl",c),r.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],i.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},233:function(e,t,n){"use strict";n.r(t);n(7),n(28),n(16),n(141),n(40),n(41),n(30),n(62),n(63);function r(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function i(e,t,n){e.$on("$locationChangeStart",(function(){n.isLicenseHardcoded&&"/license/register"===t.url()&&t.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(r).run(i),r.$inject=["$httpProvider","$routeProvider"],i.$inject=["$rootScope","$location","$licenseService"]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[94,273],{163:function(e,n,r){"use strict";r.r(n);var o=r(94);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(n,r){let a=`${e()}?${o.RouteConstants.savedQueryName}=${encodeURIComponent(n)}`;null!=r&&(a+=`&${o.RouteConstants.savedQueryOwner}=${encodeURIComponent(r)}`);return a},createShareQueryLink:function(n){return e()+"?"+$.param({name:n.name,query:n.body,infer:n.inference||!0,sameAs:n.sameAs||!0})}};function e(){return[location.protocol,"//",location.host,location.pathname].join("")}}))},94:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return o}));const o={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{109:function(r,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,n,t){const e=[];function o(r,n){if(!r||"*"===r)return r;const t=r.startsWith("!"),e=t?"!CUSTOM_":"CUSTOM_";return n?e+r.replace(/^!/,""):t?"!"+r.replace(e,""):r.replace(e,"")}function s(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const a="tags-input"===n[0].nodeName.toLowerCase();if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName||a)&&t.ngModel){const i=n.controller("ngModel");a?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>s(r))),r})),e.push(r.$watch(t.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>s(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!s(r)),r})),i.$formatters.push((function(r){return o(r,!1)})),i.$parsers.push((function(r){return o(r,!0)})))}e.push(r.$on("$destroy",()=>{e.forEach(r=>r())}))}}}))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[96],{101:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return l})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return h})),s.d(t,"ACL_OPERATION",(function(){return p})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var r=s(27);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,l,c){const u=a.createRule(e,t,s,r,i,o,n,l,c);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=h.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||p.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||p.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||p.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,h,p){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,h,r);case _.PLUGIN:return new l(s,t,p,r);case _.CLEAR_GRAPH:return new c(s,t,h);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const h={ALLOW:"allow",DENY:"deny"},p={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[97],{250:function(e,a){PluginRegistry.add("route",{url:"/aclmanagement",module:"graphdb.framework.aclmanagement",path:"aclmanagement/app",chunk:"aclmanagement",controller:"AclManagementCtrl",templateUrl:"pages/aclmanagement.html",title:"view.aclmanagement.title",helpInfo:"view.aclmanagement.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"ACL Management",labelKey:"menu.aclmanagement.label",href:"aclmanagement",order:6,parent:"Setup",role:"ROLE_ADMIN",guideSelector:"sub-menu-aclmanagement"}]})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[98],{252:function(e,t){PluginRegistry.add("route",{url:"/autocomplete",module:"graphdb.framework.autocomplete",path:"autocomplete/app",chunk:"autocomplete",controller:"AutocompleteCtrl",templateUrl:"pages/autocomplete.html",title:"view.autocomplete.title",helpInfo:"view.autocomplete.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Autocomplete",labelKey:"menu.autocomplete.label",href:"autocomplete",order:40,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-autocomplete"}]})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[99],{147:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const i=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),i(),a=e(()=>i(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]}}]);
|