graphdb-workbench 2.7.0-TR6 → 2.7.0-TR7

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.
Files changed (412) hide show
  1. package/dist/{0.ed9104b75a9ecc63be07.bundle.js → 0.353ae4f15fdd5e4c221b.bundle.js} +3 -3
  2. package/dist/{1.6542520326947f8e7401.bundle.js → 1.13ac349ee30a7ebbc9d4.bundle.js} +1 -1
  3. package/dist/{10.63e817e8c0da3f21d9d6.bundle.js → 10.3aafada2996d73bf0d78.bundle.js} +2 -2
  4. package/dist/100.b80d82aa958493dde13a.bundle.js +1 -0
  5. package/dist/{100.e65be1edbbcf660c2693.bundle.js → 101.8615a09744ea688ce6a3.bundle.js} +1 -1
  6. package/dist/{101.37fcc9c1f24079f16801.bundle.js → 102.b92cf42288e9d20aa63a.bundle.js} +1 -1
  7. package/dist/{102.713827b14321512b5972.bundle.js → 103.c797385874a9bface517.bundle.js} +1 -1
  8. package/dist/{103.c592539353f82aa3f648.bundle.js → 104.8495139360436ee91c04.bundle.js} +1 -1
  9. package/dist/{104.3bd5c1fc89b46ef10bcb.bundle.js → 105.31cee146fb9a0735cfe7.bundle.js} +1 -1
  10. package/dist/{105.e0d4aae2bf7aa9da0848.bundle.js → 106.30231a3c1864ebfae93e.bundle.js} +1 -1
  11. package/dist/{106.ef8a7c54baca1f66b2ec.bundle.js → 107.ad7f824546194a4bd2fa.bundle.js} +1 -1
  12. package/dist/{107.3e8a13ed1ed542446991.bundle.js → 108.c43c650744d148d7213c.bundle.js} +1 -1
  13. package/dist/{108.b983d0d9fa7db3721756.bundle.js → 109.a20a2add47ff4e7c7f6d.bundle.js} +1 -1
  14. package/dist/{11.2164439cde136b5e1fbd.bundle.js → 11.aeb9ce681741842a1174.bundle.js} +1 -1
  15. package/dist/{109.c9145ceb3a36a2c8a448.bundle.js → 110.91c9a19ef55ca21c115a.bundle.js} +1 -1
  16. package/dist/{110.66e19acf93588614ebd9.bundle.js → 111.f1c357bd31cee9a0acaf.bundle.js} +1 -1
  17. package/dist/{111.f705d15a4d6f8f8d78bb.bundle.js → 112.7186083a2d9a54731135.bundle.js} +1 -1
  18. package/dist/{112.bc4b460bd74e6c83b10b.bundle.js → 113.d229a3ffce98753de180.bundle.js} +1 -1
  19. package/dist/{113.8613ef3903b66d6410f8.bundle.js → 114.78fe5a7affe6f10225b5.bundle.js} +1 -1
  20. package/dist/{114.8b204250cfd7398af583.bundle.js → 115.25f08c7bef9341920c4b.bundle.js} +1 -1
  21. package/dist/{115.a380bc638f415cb43ab4.bundle.js → 116.d4c84c8cd3519830a9e7.bundle.js} +1 -1
  22. package/dist/{116.886a1a73c61a39858bc3.bundle.js → 117.8daf68543d324806fa66.bundle.js} +1 -1
  23. package/dist/{117.3cb5b3d7552f58815564.bundle.js → 118.6a12a6867f5d3440edf0.bundle.js} +1 -1
  24. package/dist/{118.0274019de806b8f05104.bundle.js → 119.bd1bcec9b3497b1ca916.bundle.js} +1 -1
  25. package/dist/{12.dc381f50676b50994acd.bundle.js → 12.dbb01c526456332641be.bundle.js} +1 -1
  26. package/dist/{119.d46d23ef2ef98328c570.bundle.js → 120.ec1cbb02df3cd74859ac.bundle.js} +1 -1
  27. package/dist/{120.86a5103e5eef31e520c7.bundle.js → 121.a98e35afa9db336f4546.bundle.js} +1 -1
  28. package/dist/{121.773629ecbd0d54956dc5.bundle.js → 122.5ef895d4cfe7682269a3.bundle.js} +1 -1
  29. package/dist/{122.93131a064a9f7613aacf.bundle.js → 123.6181fff55664ba48a327.bundle.js} +1 -1
  30. package/dist/{123.25548076a84f622fafb9.bundle.js → 124.affc74a56f652f223184.bundle.js} +1 -1
  31. package/dist/{124.b3e89d4c9bbd082c00fa.bundle.js → 125.ec62d01849b6be2608f7.bundle.js} +1 -1
  32. package/dist/{125.83a39b263ec791354d4c.bundle.js → 126.79fd5077364cfd8dd6c3.bundle.js} +1 -1
  33. package/dist/{126.d8431f94e184ea60ecb5.bundle.js → 127.d1073a24d1c60fa74392.bundle.js} +1 -1
  34. package/dist/{127.9df8a116e23f8e32f096.bundle.js → 128.64069471dc8e931ef39e.bundle.js} +1 -1
  35. package/dist/{128.051eccc02e12ff1fc932.bundle.js → 129.1a9d1004b85f7e209ead.bundle.js} +1 -1
  36. package/dist/{13.8b82152cf0cb6e60dd08.bundle.js → 13.fc3a4d9fab000cd56415.bundle.js} +1 -1
  37. package/dist/{129.41117ce0335248715846.bundle.js → 130.c007b949d4b3e99cb2ff.bundle.js} +1 -1
  38. package/dist/{130.032fd60f61b5fc7ace14.bundle.js → 131.e42e53184aee01a0accf.bundle.js} +1 -1
  39. package/dist/{131.896b81bdcde7bfbc509e.bundle.js → 132.0b31f8fa095fae96039b.bundle.js} +1 -1
  40. package/dist/{132.a0ec4cb4b1920c9baba0.bundle.js → 133.edc1eec98ab4c3fd9957.bundle.js} +1 -1
  41. package/dist/{133.c7e046f05f1c6b6779bd.bundle.js → 134.ce97bc895c638a14fafd.bundle.js} +1 -1
  42. package/dist/{134.0a0faaacda7a166fa37d.bundle.js → 135.1b02ba82064bfc8c20a2.bundle.js} +1 -1
  43. package/dist/{135.9f64d8c297958acc0011.bundle.js → 136.353d7dd40ed412a3bcd2.bundle.js} +1 -1
  44. package/dist/137.b2e6231771715ebb81cf.bundle.js +1 -0
  45. package/dist/138.df09a7acbd25b51fde6f.bundle.js +1 -0
  46. package/dist/139.7f1ea777c04291abf16e.bundle.js +1 -0
  47. package/dist/{14.a789ebfcddd4ed2ff9e1.bundle.js → 14.60cce3a4c939f35a3322.bundle.js} +1 -1
  48. package/dist/140.9d8e09d2223b193a9a41.bundle.js +1 -0
  49. package/dist/141.b86f5daf7b77d4e81c79.bundle.js +1 -0
  50. package/dist/142.062cb7fdd1ad3fb508a5.bundle.js +1 -0
  51. package/dist/{139.62cede18e16b050935f2.bundle.js → 143.e699bbbe2c3ce8028ecd.bundle.js} +1 -1
  52. package/dist/144.e349a87c5f737e1fcb57.bundle.js +1 -0
  53. package/dist/{140.540f25717c7294e6e58b.bundle.js → 145.44900a88a97b953bdf47.bundle.js} +1 -1
  54. package/dist/{141.3068537c7d3a606a2727.bundle.js → 146.f0f282d75b7ca748e4c7.bundle.js} +1 -1
  55. package/dist/{142.c6b3df1138b73fcaf576.bundle.js → 147.c910c315dffc780fdad3.bundle.js} +1 -1
  56. package/dist/{143.80802a07fd2f91f51622.bundle.js → 148.985dee0de8ed81e9e19e.bundle.js} +1 -1
  57. package/dist/{144.9133feecaea49cfabb4b.bundle.js → 149.0df9d117441d3b9147ba.bundle.js} +1 -1
  58. package/dist/{15.d4fc4827a2cf01f0826e.bundle.js → 15.735bc00503614ce3f91c.bundle.js} +1 -1
  59. package/dist/{146.ae433fa61c40b2742c69.bundle.js → 150.b86b5cffdcecdac4387a.bundle.js} +1 -1
  60. package/dist/{147.ec5f862d33396bee9b44.bundle.js → 151.2bd69509a1f91b34baf8.bundle.js} +1 -1
  61. package/dist/{148.486555404bc15fd3424a.bundle.js → 152.287577831ef4264fda72.bundle.js} +1 -1
  62. package/dist/153.49ca6dcaed112a4669ed.bundle.js +1 -0
  63. package/dist/{150.da73079de8e80b6935c2.bundle.js → 154.6c2e7f2c4e358312d0d8.bundle.js} +1 -1
  64. package/dist/{151.b96bfaa32fac477f4c0a.bundle.js → 155.66828e57b16dcc7f6bfd.bundle.js} +1 -1
  65. package/dist/{152.da9a1c31e40d17604d26.bundle.js → 156.5aa472e37bda00d50df6.bundle.js} +1 -1
  66. package/dist/157.46126395d14c607b1335.bundle.js +1 -0
  67. package/dist/{153.d410155d63238cefcc23.bundle.js → 158.b4232f6af87c7caa3ba9.bundle.js} +1 -1
  68. package/dist/{154.8e772663fcbc31b52f02.bundle.js → 159.fb4033b95903787a4c6d.bundle.js} +1 -1
  69. package/dist/{16.d700ae09eee1abbf9981.bundle.js → 16.8f603c0a14e853bcbb63.bundle.js} +2 -2
  70. package/dist/{155.5b444e376b204bcb3035.bundle.js → 160.dbe3c4c09ec978e9580e.bundle.js} +1 -1
  71. package/dist/{156.020957b09c9ffcc47f8c.bundle.js → 161.b96aa18a690e9e618312.bundle.js} +1 -1
  72. package/dist/{157.ca16f005335681870670.bundle.js → 162.a96c1f6e6e1e2e197066.bundle.js} +1 -1
  73. package/dist/{158.57520a5857b947bf6201.bundle.js → 163.749c718546f01ef03e00.bundle.js} +1 -1
  74. package/dist/{159.5df12b8b993a37a5603d.bundle.js → 164.08617e3dc98946441d80.bundle.js} +1 -1
  75. package/dist/{160.3cf48543afd662501698.bundle.js → 165.818ac10cce4677c1a44e.bundle.js} +1 -1
  76. package/dist/{161.5ecb7e7c70a87a874a98.bundle.js → 166.0f59111f70db65ce7377.bundle.js} +1 -1
  77. package/dist/{162.5a2fff86a6654461bfd0.bundle.js → 167.455cf60b4488321f044b.bundle.js} +1 -1
  78. package/dist/{163.24c886b590385e661603.bundle.js → 168.d39ebe3f9a05e80cfcb0.bundle.js} +1 -1
  79. package/dist/{164.003a82b67003ee6a0ec2.bundle.js → 169.424f412a8000f13bda62.bundle.js} +1 -1
  80. package/dist/{17.d0f8a39f6eda5fe817ca.bundle.js → 17.2b29b3997cb464c92726.bundle.js} +1 -1
  81. package/dist/170.3a70022acba534b3f421.bundle.js +1 -0
  82. package/dist/{166.533cea3cfa0cfda50e9c.bundle.js → 171.53f681689e37bee860bf.bundle.js} +1 -1
  83. package/dist/{167.09f3215b22673b8f8fea.bundle.js → 172.ef93601cf4840d374b74.bundle.js} +1 -1
  84. package/dist/{168.5253174921a720508303.bundle.js → 173.0da3ec9ab06b2879e62b.bundle.js} +1 -1
  85. package/dist/{169.e0492a14b654bb0cce58.bundle.js → 174.36738425414773730a9d.bundle.js} +1 -1
  86. package/dist/{170.9a3e0bb0dbd41ab77975.bundle.js → 175.da42894a44de8f2cb858.bundle.js} +1 -1
  87. package/dist/{171.aaa51f657e0f425f229e.bundle.js → 176.1040a6aaee7d06f523ee.bundle.js} +1 -1
  88. package/dist/{172.4488d65706884034844a.bundle.js → 177.e4790b3eb162dda92255.bundle.js} +1 -1
  89. package/dist/{173.8f1dc239374cd115d1ff.bundle.js → 178.e6846abb0cd39416f7fd.bundle.js} +1 -1
  90. package/dist/{174.0f1a82c55ad2ba609453.bundle.js → 179.c8ec982b2935ecdd95ae.bundle.js} +1 -1
  91. package/dist/{18.647b947d7860790c9686.bundle.js → 18.2a20fcd771de8fff8ccb.bundle.js} +2 -2
  92. package/dist/{175.2e118a307a1c16417486.bundle.js → 180.39b20f10022bf843816f.bundle.js} +1 -1
  93. package/dist/{176.cf7899036ce89758aa00.bundle.js → 181.5ec61cb36a5e5b8e1344.bundle.js} +1 -1
  94. package/dist/{177.c1c8b678aa8eed799cc6.bundle.js → 182.e6c5217c5099ab6a6dda.bundle.js} +1 -1
  95. package/dist/{178.5ecc28bc55d3e902ad75.bundle.js → 183.0e853018277d51f520cb.bundle.js} +1 -1
  96. package/dist/{179.a19ff398b743505b3635.bundle.js → 184.49aded07c7b0634699b0.bundle.js} +1 -1
  97. package/dist/{180.c50709a74190b1345780.bundle.js → 185.f542def447f8cf8a4230.bundle.js} +1 -1
  98. package/dist/{181.af2de5fcba45e11a7211.bundle.js → 186.b8868a5713978849d384.bundle.js} +1 -1
  99. package/dist/{182.f88a2e0d823f08898a4b.bundle.js → 187.4a19e86ae44d778db098.bundle.js} +1 -1
  100. package/dist/{183.7524fe737ea0aceb77f8.bundle.js → 188.278b5c227dbf5ed8de31.bundle.js} +1 -1
  101. package/dist/{184.f7480ef1f43d6c1a9000.bundle.js → 189.d1a561505cc7ef0a3fac.bundle.js} +1 -1
  102. package/dist/{19.01906b41d42fda63dcdf.bundle.js → 19.69ffee32b7afe035bd0f.bundle.js} +1 -1
  103. package/dist/190.fce3570230e805bec890.bundle.js +1 -0
  104. package/dist/191.5863bb1287b46c1ccc6d.bundle.js +1 -0
  105. package/dist/{187.738c15ba94be4dfea5fb.bundle.js → 192.054c7c5c4307e11c86fe.bundle.js} +1 -1
  106. package/dist/{188.a21868816f6e9127920e.bundle.js → 193.1a9776aee6dd66bb822e.bundle.js} +1 -1
  107. package/dist/{189.b28177313dbd4e2c5ba5.bundle.js → 194.e844a3e8b9242ebee40d.bundle.js} +1 -1
  108. package/dist/{190.5082d499b971a15b75db.bundle.js → 195.731b2f862077658bd574.bundle.js} +1 -1
  109. package/dist/{191.3cccafa87c21887cb8c5.bundle.js → 196.3c67ae0950c0a38f8f8a.bundle.js} +1 -1
  110. package/dist/{192.f0465e8849ab5041c902.bundle.js → 197.5ca363e8ba1710734e92.bundle.js} +1 -1
  111. package/dist/{193.0cf5ae570d197267785f.bundle.js → 198.808a3384b28bb0fb4c9c.bundle.js} +1 -1
  112. package/dist/{194.be1a2cf527f0d6481797.bundle.js → 199.08feb297644752134ccb.bundle.js} +1 -1
  113. package/dist/{2.a8b44d964ad7a1d98bad.bundle.js → 2.9580f159ee3cb959eac9.bundle.js} +2 -2
  114. package/dist/{20.ceb8f62543793b1a412d.bundle.js → 20.1d004f07e8495ad67ac7.bundle.js} +1 -1
  115. package/dist/{195.bc27173ce9146cdb6912.bundle.js → 200.2393950ec886d9a4c992.bundle.js} +1 -1
  116. package/dist/{196.1907de91459d42fe23b6.bundle.js → 201.d637d728541fa46d9301.bundle.js} +1 -1
  117. package/dist/{197.8202985db948fae7659e.bundle.js → 202.8ae099f158dcb6c3b230.bundle.js} +1 -1
  118. package/dist/203.7a2a206e4718bc04afd0.bundle.js +1 -0
  119. package/dist/204.656de3827de27874f31d.bundle.js +1 -0
  120. package/dist/{200.2f9431a3126cbd4822ad.bundle.js → 205.6198a5351f21369fe2b7.bundle.js} +1 -1
  121. package/dist/{201.98a28049a13f7370aafb.bundle.js → 206.5ebfcccd3479f9089c20.bundle.js} +1 -1
  122. package/dist/{202.459a1af9dbe6a392750f.bundle.js → 207.be9e3970758756dde9b4.bundle.js} +1 -1
  123. package/dist/{203.4e1e775b271badd5b7a0.bundle.js → 208.b7898df9307fbe1002fe.bundle.js} +1 -1
  124. package/dist/{204.0c54824ba5379dcf786b.bundle.js → 209.b605c84abb4c6b5641d2.bundle.js} +1 -1
  125. package/dist/{21.55981fcd01c4af6b0eaf.bundle.js → 21.4620d68f8fa705ef2c64.bundle.js} +1 -1
  126. package/dist/{205.494e54760de1d765a3da.bundle.js → 210.7336b46ed4b0e310b8ed.bundle.js} +1 -1
  127. package/dist/211.e9aa3a91008ff11d6d9d.bundle.js +1 -0
  128. package/dist/{207.2156c5ea87cfeb082367.bundle.js → 212.4e5d322cfa7d34ec8b7d.bundle.js} +1 -1
  129. package/dist/213.fe355bdd8b675247b9a3.bundle.js +1 -0
  130. package/dist/{209.3fb5541ecf2f1f7398e3.bundle.js → 214.c23c8e6c49c5be882664.bundle.js} +1 -1
  131. package/dist/{210.2c886af832777acde212.bundle.js → 215.903f1cd899969fd9611c.bundle.js} +1 -1
  132. package/dist/{211.2911b5fedfdc4f2f5547.bundle.js → 216.4c3e5d9cf3edb0713a61.bundle.js} +1 -1
  133. package/dist/217.ab6e9a90af1b129d4e92.bundle.js +1 -0
  134. package/dist/{213.4b6548e321a8b1e033c4.bundle.js → 218.ed40079b67428117a97e.bundle.js} +1 -1
  135. package/dist/{214.479b7e2e37cfdb6be3ca.bundle.js → 219.319ca86926b79ba9467d.bundle.js} +1 -1
  136. package/dist/{22.292405fee3fc85ef2a68.bundle.js → 22.97c58c88d245eedc9884.bundle.js} +1 -1
  137. package/dist/{215.d37512ef9d841d75a977.bundle.js → 220.469fd65fbce47be71190.bundle.js} +1 -1
  138. package/dist/{216.95a791227df738b31b70.bundle.js → 221.31dc77c074f0bbd08dc1.bundle.js} +1 -1
  139. package/dist/{217.04551dbc595dedd33c64.bundle.js → 222.c3a01a77593ca3ea3a97.bundle.js} +1 -1
  140. package/dist/{218.f815d28456016723d3f5.bundle.js → 223.9362f05cc16440b39fca.bundle.js} +1 -1
  141. package/dist/{219.c2a4164070da1b4a62fc.bundle.js → 224.82468268a3600a76281f.bundle.js} +1 -1
  142. package/dist/{220.9aeaf9ed16e83fa5905e.bundle.js → 225.952dfa5f3609478e985b.bundle.js} +1 -1
  143. package/dist/{221.3ab467a44fcabd9a2ddc.bundle.js → 226.84ed2c85d02464f0a61e.bundle.js} +1 -1
  144. package/dist/{222.fef2de97d0c3ed9c0b6f.bundle.js → 227.850b1208d8758504c020.bundle.js} +1 -1
  145. package/dist/{223.c38e05106af0f91351e2.bundle.js → 228.d475a21da9f497b4c0b1.bundle.js} +1 -1
  146. package/dist/{224.1506cd61f849704e8db9.bundle.js → 229.5233323a3d276417918b.bundle.js} +1 -1
  147. package/dist/{23.f501d57cb9c24e0b5374.bundle.js → 23.496fb5c26f7ecf15847d.bundle.js} +1 -1
  148. package/dist/{225.0858644ae85c8540271d.bundle.js → 230.b1458a52c42f319edb65.bundle.js} +1 -1
  149. package/dist/{226.5df8bee461b7ce345128.bundle.js → 231.181cdc1b2c812bc32fc9.bundle.js} +1 -1
  150. package/dist/{227.764503526cbe98c5e5d9.bundle.js → 232.bb1e29d93ba027c5c197.bundle.js} +1 -1
  151. package/dist/{228.d33ea7a4f3216c12fa1b.bundle.js → 233.4f982b90fb94aaadb7a6.bundle.js} +1 -1
  152. package/dist/{229.1fa8d61d374b77e199a4.bundle.js → 234.eb96e8b4491f30f453a9.bundle.js} +1 -1
  153. package/dist/{230.7c9241e11b6cefa4d81d.bundle.js → 235.a76d94928d7e60cce43d.bundle.js} +1 -1
  154. package/dist/{231.b32fb3dffacc1c717900.bundle.js → 236.da4884bcdfb58815e40e.bundle.js} +1 -1
  155. package/dist/{232.69bffd6579451f938c80.bundle.js → 237.baa42087f28c1c847187.bundle.js} +1 -1
  156. package/dist/{233.ff230773db36b14d0cd4.bundle.js → 238.b2880eac7814cd549129.bundle.js} +1 -1
  157. package/dist/{234.622298acd35a4d92ee73.bundle.js → 239.7f55d13fefec70092119.bundle.js} +1 -1
  158. package/dist/{24.fdb04a3e0e7bd2648ee9.bundle.js → 24.bd24da5dba9c4c547055.bundle.js} +1 -1
  159. package/dist/{235.cdce2600addaaa2959dd.bundle.js → 240.dd81861efb7bd21c3459.bundle.js} +1 -1
  160. package/dist/{236.6b646746354f90eccc7b.bundle.js → 241.2c02998ecbab48c53e8a.bundle.js} +1 -1
  161. package/dist/{237.89fe3b9b98a94643065c.bundle.js → 242.76e22236044f30b2ed9a.bundle.js} +1 -1
  162. package/dist/{238.21185d8bdadc795600ec.bundle.js → 243.501f26a90bfb419a7b6c.bundle.js} +1 -1
  163. package/dist/{239.4529de4a5895643e1646.bundle.js → 244.457d005b37a6043bd723.bundle.js} +1 -1
  164. package/dist/{240.22c8a9eea504bf9860fd.bundle.js → 245.2eb56da9175fa0b49068.bundle.js} +1 -1
  165. package/dist/{241.6d2dca2197e42d9899db.bundle.js → 246.0ed99903758c516679b8.bundle.js} +1 -1
  166. package/dist/{242.0a98254e631f7acec773.bundle.js → 247.d49f82813de9859d3a44.bundle.js} +1 -1
  167. package/dist/{243.6fc6b9949d9792d23caa.bundle.js → 248.6e6110b7ddd2eaf06f17.bundle.js} +1 -1
  168. package/dist/{244.846ceacd26963cc54610.bundle.js → 249.3bed5e1cec98e4352919.bundle.js} +1 -1
  169. package/dist/{25.cae3de924e57a3626193.bundle.js → 25.a628e2975afbb1ca732f.bundle.js} +1 -1
  170. package/dist/{245.c95a75c65763ad63a763.bundle.js → 250.64e60a3d0070df44f33b.bundle.js} +1 -1
  171. package/dist/{246.442621e461590e50b592.bundle.js → 251.9b7196c1859ea66a171d.bundle.js} +1 -1
  172. package/dist/252.3c1cc2643b7958c54dd3.bundle.js +1 -0
  173. package/dist/{248.322f35c97a03e61e75e2.bundle.js → 253.f09ee398785ef04098bd.bundle.js} +1 -1
  174. package/dist/{249.9820e23ccfc8281911de.bundle.js → 254.fc1584342ea7dfc974b9.bundle.js} +1 -1
  175. package/dist/{250.6c3d6f8880b791c8b804.bundle.js → 255.0d85dc7b4115c3a539fb.bundle.js} +1 -1
  176. package/dist/{251.525249db1454e1e7abcb.bundle.js → 256.0747d91f8e5639526218.bundle.js} +1 -1
  177. package/dist/{252.35304a64d48e109f8277.bundle.js → 257.92d3025c07712b25d46a.bundle.js} +1 -1
  178. package/dist/{253.50e22be44ab870ff0040.bundle.js → 258.205179aa78ede2c8e1a3.bundle.js} +1 -1
  179. package/dist/{254.04100e2ae66216f3fd29.bundle.js → 259.bd1ca354db37062f017d.bundle.js} +1 -1
  180. package/dist/{26.e78ac166736fd4b7149e.bundle.js → 26.459968c63407d72b0cf2.bundle.js} +1 -1
  181. package/dist/{255.bbababb10d21e975adf1.bundle.js → 260.35adbb71fe882e4953b8.bundle.js} +1 -1
  182. package/dist/{256.e89722b728354238cc3b.bundle.js → 261.02561b26372c195c71a6.bundle.js} +1 -1
  183. package/dist/{257.dd21d9b6424bdb71b26c.bundle.js → 262.bf8bc31ebda0eae527d5.bundle.js} +1 -1
  184. package/dist/{258.5a1c16231e09cd9b0a08.bundle.js → 263.dca72131c0b2af881e13.bundle.js} +1 -1
  185. package/dist/{259.fef007ec90e3635757cb.bundle.js → 264.9041e5756271b545f844.bundle.js} +1 -1
  186. package/dist/{27.d77a98199b2b7e7928c7.bundle.js → 27.01f4b0043a55038abce7.bundle.js} +1 -1
  187. package/dist/{265.cf7eaa76d17dce8ad068.bundle.js → 270.4e45225e0fe3f54166ef.bundle.js} +1 -1
  188. package/dist/{266.73bf0eb96d50f86507ac.bundle.js → 271.59e1d4ed781c7a29bdf9.bundle.js} +1 -1
  189. package/dist/{267.30f5b70390872f659589.bundle.js → 272.6a9665a7d2440b6b42d2.bundle.js} +1 -1
  190. package/dist/{268.f7d1f97d1ce9436bf9ea.bundle.js → 273.c0a4f6f3ac8d27ff1ae4.bundle.js} +1 -1
  191. package/dist/{269.7eda84a8fffeccafd4a6.bundle.js → 274.ce7ff6e8de5ce48d97dd.bundle.js} +1 -1
  192. package/dist/{270.c3082d2d2ad8b4713c30.bundle.js → 275.26e814974958a34f784d.bundle.js} +1 -1
  193. package/dist/{271.4316d7e7f0402a2f2986.bundle.js → 276.2d76ce29c6e027f6eeb7.bundle.js} +1 -1
  194. package/dist/{272.0aaf1835d8abf207b769.bundle.js → 277.eebcc7811264465eb7fc.bundle.js} +1 -1
  195. package/dist/{273.bc56492d8d917476bf43.bundle.js → 278.611add14706190a66b10.bundle.js} +1 -1
  196. package/dist/{274.d0d5111c6d1a8c06d799.bundle.js → 279.33eb74085a355f9154d0.bundle.js} +1 -1
  197. package/dist/{28.5e5546d6afa62d709276.bundle.js → 28.8f29655b64b026d5fe5b.bundle.js} +1 -1
  198. package/dist/{275.8d1c10ba8ee150630c5a.bundle.js → 280.645c8f6aff9ef5997230.bundle.js} +1 -1
  199. package/dist/{276.c3faa707bf71acfcad02.bundle.js → 281.b0d4998239913b722b64.bundle.js} +1 -1
  200. package/dist/{277.ad9032f9db0c7608a0d1.bundle.js → 282.8dd7883e6c3fb76ae435.bundle.js} +1 -1
  201. package/dist/{278.176cc39c1a9fa3c10401.bundle.js → 283.5f37bfdf4cc64075d490.bundle.js} +1 -1
  202. package/dist/{279.c568d226fc177babce2c.bundle.js → 284.444dbb86eb77e997a246.bundle.js} +1 -1
  203. package/dist/{280.8b75f0af3dfbf2eb1326.bundle.js → 285.88adef005993f33deab9.bundle.js} +1 -1
  204. package/dist/{281.9787eef812192b9e1e26.bundle.js → 286.d141531bdfa74fbf0158.bundle.js} +1 -1
  205. package/dist/{282.8090e00ffdf4a30d4d76.bundle.js → 287.7d2347ff2c3fe4f6addb.bundle.js} +1 -1
  206. package/dist/{283.f6680f2a1d8cbdf570f0.bundle.js → 288.b74bad2a14b1d42cc640.bundle.js} +1 -1
  207. package/dist/{284.583000da19e4d411f827.bundle.js → 289.e128ce9ac952c64b4e87.bundle.js} +1 -1
  208. package/dist/29.380aa332d60b5034a0f5.bundle.js +1 -0
  209. package/dist/{285.17823daca45d40b41e34.bundle.js → 290.3cf5c1b4b3c3cc834d2b.bundle.js} +1 -1
  210. package/dist/{286.1b249e1d9de93a310cc7.bundle.js → 291.496f132296841a6acbda.bundle.js} +1 -1
  211. package/dist/{287.9fa69a3246f3ba799e25.bundle.js → 292.133b8d6d116a3d60dfd1.bundle.js} +1 -1
  212. package/dist/{288.d6fe33445ee39d63c278.bundle.js → 293.151d759adc59246f93dd.bundle.js} +1 -1
  213. package/dist/{289.ef5629890471c5a06e4e.bundle.js → 294.15eaca99f56992eed628.bundle.js} +1 -1
  214. package/dist/{290.2cc5267bcf592cdbcab2.bundle.js → 295.d6be86522848260fdef0.bundle.js} +1 -1
  215. package/dist/{291.bff1507b0f7773ac384a.bundle.js → 296.b85a86ad0f0c6410d4b8.bundle.js} +1 -1
  216. package/dist/{292.bda0a1731117fd1bcc2b.bundle.js → 297.f18a8d368fa529e33b34.bundle.js} +1 -1
  217. package/dist/{293.98c77d74da5033d9ccf8.bundle.js → 298.0496d954ad1edaa01c5c.bundle.js} +1 -1
  218. package/dist/{294.7db685faf719d57755a7.bundle.js → 299.7174d7dcee6bc3633d46.bundle.js} +1 -1
  219. package/dist/{3.9a49a272eea10e7e5dd1.bundle.js → 3.459d8044de1980ded7b6.bundle.js} +1 -1
  220. package/dist/30.6e365e7402a166e3d3f6.bundle.js +1 -0
  221. package/dist/{295.871527930e2cf1140190.bundle.js → 300.834b5773970b69c2f677.bundle.js} +1 -1
  222. package/dist/{296.33578f5be9485fc7869c.bundle.js → 301.ff3b4d35f80280ff524e.bundle.js} +1 -1
  223. package/dist/{297.abe47f42dd124d837c5c.bundle.js → 302.ee0d123079521a3d9aa3.bundle.js} +1 -1
  224. package/dist/{298.3c558fa8d55074c63cae.bundle.js → 303.eba8696e4910c4a7eae5.bundle.js} +1 -1
  225. package/dist/{299.6f64f41c54d0cec76627.bundle.js → 304.8624c9b841349818047a.bundle.js} +1 -1
  226. package/dist/{300.5c5855399afa8726111c.bundle.js → 305.fd28dd6dd392752b1bd6.bundle.js} +1 -1
  227. package/dist/306.5a94d77dcd55f3d2a0ed.bundle.js +1 -0
  228. package/dist/{302.2630b4ca1e97c21d399b.bundle.js → 307.240e94a08b6f85f7408b.bundle.js} +1 -1
  229. package/dist/308.e337b823b8cbd61797ed.bundle.js +1 -0
  230. package/dist/309.d5cf65e81b68ba94e2f1.bundle.js +1 -0
  231. package/dist/31.50b819a63ad079e82525.bundle.js +1 -0
  232. package/dist/{305.7cd3e232f273f0fb45dc.bundle.js → 310.6049a837c9c142785d1f.bundle.js} +1 -1
  233. package/dist/311.1e7a3a50639a6808f73d.bundle.js +1 -0
  234. package/dist/{307.ce51a72f73605ba7d87b.bundle.js → 312.469d2cbbe308dfe47aab.bundle.js} +1 -1
  235. package/dist/{308.bb369aa99078b35bc5e4.bundle.js → 313.3b24c88cba6229714b91.bundle.js} +1 -1
  236. package/dist/{309.f4a64f143e98eebcc47e.bundle.js → 314.7268040e7953839608c6.bundle.js} +1 -1
  237. package/dist/{310.2835f6f45c0c874d7489.bundle.js → 315.845826ec4b461bdb8151.bundle.js} +1 -1
  238. package/dist/{311.2e762f7b45e795942a9c.bundle.js → 316.800809dd795621ae4f89.bundle.js} +1 -1
  239. package/dist/{312.8cdbed03997f74ad2d0a.bundle.js → 317.1339b5d0de093d7d6a48.bundle.js} +1 -1
  240. package/dist/{313.0e5cfffe92f2de032b01.bundle.js → 318.13503cab939b6638d9a5.bundle.js} +1 -1
  241. package/dist/{314.48abb9d12cdc71df0728.bundle.js → 319.a235d80bb1d250b03773.bundle.js} +1 -1
  242. package/dist/{30.524ebd6d5b8d190503bf.bundle.js → 32.953ac16e169750337326.bundle.js} +1 -1
  243. package/dist/{315.8c88da570042d278c0c0.bundle.js → 320.e29265962c13880f1068.bundle.js} +1 -1
  244. package/dist/{316.38b8ccd0743845357730.bundle.js → 321.dad6665734f631450795.bundle.js} +1 -1
  245. package/dist/{317.82f14559fe07fc93e039.bundle.js → 322.bb5b2c445bb74780f95b.bundle.js} +1 -1
  246. package/dist/{318.0033815bcb95a1002e45.bundle.js → 323.62e4d065f13ff3d72834.bundle.js} +1 -1
  247. package/dist/{319.aac96415548cc7bf1c51.bundle.js → 324.07d536caa0b6e90c90a4.bundle.js} +1 -1
  248. package/dist/{320.3d0cdcd8cd307f51fd00.bundle.js → 325.bf284f3e297fa264eea4.bundle.js} +1 -1
  249. package/dist/{321.a1056ed3d9a6effd7e5d.bundle.js → 326.2da81c1272d23401ed28.bundle.js} +1 -1
  250. package/dist/{322.93410eab36cbb7efad07.bundle.js → 327.eb540665685e77e832f8.bundle.js} +1 -1
  251. package/dist/{323.569713a611ace53c920b.bundle.js → 328.9eb5c903e4a6d2299db1.bundle.js} +1 -1
  252. package/dist/{324.1cfd78c51b5a2cbe1f5c.bundle.js → 329.fe9c1cd6729fd5451975.bundle.js} +1 -1
  253. package/dist/{31.16d2eb040bdc69fe9fc3.bundle.js → 33.7ead0cded2ba66a117f7.bundle.js} +1 -1
  254. package/dist/{325.c3d03ce14bf5e774697f.bundle.js → 330.3d999ab0c8eb9db184bd.bundle.js} +1 -1
  255. package/dist/331.c325edc09da98846f316.bundle.js +1 -0
  256. package/dist/332.cfbcbe547e23c7a96700.bundle.js +1 -0
  257. package/dist/{328.6620dee9c8f4adb2bccd.bundle.js → 333.30d4f47eb21c921145e8.bundle.js} +1 -1
  258. package/dist/{329.82a4897656145f5fcae7.bundle.js → 334.f473504bcc6ac0d68725.bundle.js} +1 -1
  259. package/dist/{330.1c559bedef039a16c0da.bundle.js → 335.fb57c1f7507b5b6aec98.bundle.js} +1 -1
  260. package/dist/{331.1d7c58078292ef1a36b5.bundle.js → 336.d5645426baf45e538ebf.bundle.js} +1 -1
  261. package/dist/{32.b4ed311c56afbf1cd55f.bundle.js → 34.f57601b470cae3c1583f.bundle.js} +1 -1
  262. package/dist/{33.a1be5e37ef93cb31b138.bundle.js → 35.1a8c02cd2251e4c10baf.bundle.js} +1 -1
  263. package/dist/{34.104f53bcb6f7ca501c7c.bundle.js → 36.5581b902c1cf0d021f2d.bundle.js} +1 -1
  264. package/dist/{37.5a3ab7e40ab342a416e3.bundle.js → 37.a7c64a8d44cfe90dd9cb.bundle.js} +1 -1
  265. package/dist/{38.9812e5f4c0ed39c1b595.bundle.js → 38.c270da2fca4c0f94bfec.bundle.js} +1 -1
  266. package/dist/{39.5d576bc8d6787de8eb76.bundle.js → 39.4ae895ce567a9e266bdd.bundle.js} +1 -1
  267. package/dist/{4.f599923303eb562ea97e.bundle.js → 4.51ee17eec171dae19987.bundle.js} +1 -1
  268. package/dist/{40.a3c7b20ee2fd2050dcb9.bundle.js → 40.28559e61a1ca32c5601b.bundle.js} +1 -1
  269. package/dist/{41.c4515987e6feca025a25.bundle.js → 41.ab3e29b60b7373194d5a.bundle.js} +1 -1
  270. package/dist/42.9a7968db61ad5e4c17d6.bundle.js +1 -0
  271. package/dist/{43.47ca61a651dc3d7b4a57.bundle.js → 43.d365defe4dc962564c6d.bundle.js} +1 -1
  272. package/dist/{44.2e33c1c71307c1c0a984.bundle.js → 44.3b4c8afe35d8869625d5.bundle.js} +2 -2
  273. package/dist/{45.5e16b9d1a3d732f06529.bundle.js → 45.4674c00f3966e8ad8edf.bundle.js} +1 -1
  274. package/dist/{46.607aa4eb00425565b646.bundle.js → 46.6766258a215b8d1aeca6.bundle.js} +1 -1
  275. package/dist/{47.1d64337714b99ddd74b0.bundle.js → 47.0aea700c89b44bdcb2f1.bundle.js} +1 -1
  276. package/dist/48.9adcd9b2cdad14abcf7c.bundle.js +1 -0
  277. package/dist/{49.e845bf4aec7fb862891b.bundle.js → 49.1a55608dddc9ad175605.bundle.js} +1 -1
  278. package/dist/{5.a141de7286949ebab2c0.bundle.js → 5.ed48d58292c6058c9b2b.bundle.js} +1 -1
  279. package/dist/{50.38067511d62d4139cd43.bundle.js → 50.0f9ffbff820b547390ad.bundle.js} +1 -1
  280. package/dist/{51.161e530f7f797db7dece.bundle.js → 51.b05444108460961fab2e.bundle.js} +1 -1
  281. package/dist/{52.bf2e9af7bda577c1f801.bundle.js → 52.ed159cf67b5ceb39de3d.bundle.js} +1 -1
  282. package/dist/{53.32e78161a0bd30c554a4.bundle.js → 53.06eb55e92a2be00976a8.bundle.js} +1 -1
  283. package/dist/{54.d56916b4f9225da185cb.bundle.js → 54.46b81b8540a7d377eba6.bundle.js} +1 -1
  284. package/dist/{55.d7510c5bbe2b1645477c.bundle.js → 55.018659b544f4a582d879.bundle.js} +1 -1
  285. package/dist/{56.2f67f70187a2a4805cf7.bundle.js → 56.e6205ecfc83ffac20768.bundle.js} +1 -1
  286. package/dist/{57.1232ddbe8a69f601ce88.bundle.js → 57.9870eeb47a1d5b2928a4.bundle.js} +1 -1
  287. package/dist/{58.0096a2a5f01817c86dbe.bundle.js → 58.0ad8b5dffdcffafc4002.bundle.js} +1 -1
  288. package/dist/{59.04940ea7c95bd52e182e.bundle.js → 59.48a9636ffc4050653db0.bundle.js} +1 -1
  289. package/dist/{6.87521e96605d239c2ed5.bundle.js → 6.3ef0a6cd800508def86d.bundle.js} +1 -1
  290. package/dist/{60.1626c819d3a7411a7997.bundle.js → 60.99a87d99ed238468e3c0.bundle.js} +1 -1
  291. package/dist/{61.16c994452889fb1bd370.bundle.js → 61.6f6db4ea3f9b26bc2d83.bundle.js} +1 -1
  292. package/dist/{62.efdfd77ea9ee7a2c6ad4.bundle.js → 62.04cf829c76616d9cec40.bundle.js} +1 -1
  293. package/dist/{63.39538271cc01a55bf532.bundle.js → 63.65be79713ff638f4d015.bundle.js} +1 -1
  294. package/dist/{64.269ab466a3837c0a457d.bundle.js → 64.080226e195d333b4d385.bundle.js} +1 -1
  295. package/dist/{65.d5aa90fecdc1c4ef65ed.bundle.js → 65.fccd3cae49a688beeff2.bundle.js} +1 -1
  296. package/dist/{66.30637157c378d453d65f.bundle.js → 66.3d5a305849ab692d9d0d.bundle.js} +1 -1
  297. package/dist/67.7f6b0b78c3765c3a9b40.bundle.js +1 -0
  298. package/dist/{67.6b6e5b5eefa75f8392c0.bundle.js → 68.5e4606551cf4668d9b3d.bundle.js} +1 -1
  299. package/dist/{68.cb5d2f7ad9f035fb3cc0.bundle.js → 69.743621610c922956b49d.bundle.js} +1 -1
  300. package/dist/{7.aaeb8bf1aeaa1708d8ea.bundle.js → 7.3b830cc400337ccfeae0.bundle.js} +11 -11
  301. package/dist/{69.6d5b917f623b806a341c.bundle.js → 70.52883c0c5c4c7ab45f96.bundle.js} +1 -1
  302. package/dist/71.d965a1902e45ed19ae49.bundle.js +1 -0
  303. package/dist/{71.7627079b790298411349.bundle.js → 72.016e01695de4c71f1fe3.bundle.js} +1 -1
  304. package/dist/{72.4657d01c1f4aa6071089.bundle.js → 73.b5c243c0f237d2d20409.bundle.js} +1 -1
  305. package/dist/{73.4b55a2f15b1b022a7eda.bundle.js → 74.d77599c51dc06653f58e.bundle.js} +1 -1
  306. package/dist/{74.c9df03089322e653b5c2.bundle.js → 75.678b852550fe8e7bfe32.bundle.js} +1 -1
  307. package/dist/{75.8b0a8886505d703e8a26.bundle.js → 76.cfae09d6e8c4b269c2f0.bundle.js} +1 -1
  308. package/dist/{76.c223d0a8e54de46e8e72.bundle.js → 77.f3adec2fb9279f4ac9ab.bundle.js} +1 -1
  309. package/dist/{77.5427e462d1af02e23d3c.bundle.js → 78.5e17979b4a3077958d0e.bundle.js} +1 -1
  310. package/dist/{78.9e5abaac28af2fc459f7.bundle.js → 79.09cd92ac886198643a6f.bundle.js} +1 -1
  311. package/dist/8.dc8ed268435f0edc4e8b.bundle.js +1 -0
  312. package/dist/{79.3786efe06f93c5798f86.bundle.js → 80.88df9b430ca97a246891.bundle.js} +1 -1
  313. package/dist/{80.97f199289e5f990b57ed.bundle.js → 81.b67b238ab81b6890d8f6.bundle.js} +1 -1
  314. package/dist/{81.054e44797b08909f1dc4.bundle.js → 82.a65b7a58820aa4be0a86.bundle.js} +1 -1
  315. package/dist/{82.1eface7e8133300705df.bundle.js → 83.3998ea5caad0be07c766.bundle.js} +1 -1
  316. package/dist/{83.4645557984b0561a17bf.bundle.js → 84.ab0256102f0425483618.bundle.js} +1 -1
  317. package/dist/{84.a8b6eeaab1dd93e114d3.bundle.js → 85.79ff2cc2efe921639529.bundle.js} +1 -1
  318. package/dist/{85.fbf7b73e5f0618c3490c.bundle.js → 86.79d9c6c14b57e2cbb504.bundle.js} +1 -1
  319. package/dist/{86.58260abe386e035b914f.bundle.js → 87.8f83796ef79f0ff73fac.bundle.js} +1 -1
  320. package/dist/{87.aaf184c1e16e85db80d0.bundle.js → 88.40716b9e5bb4f08212dd.bundle.js} +1 -1
  321. package/dist/{88.2ca73168ec01ca2a759b.bundle.js → 89.0a31d59011f50e9ac44d.bundle.js} +1 -1
  322. package/dist/{9.3282c0dc99853978e694.bundle.js → 9.38bb25b6de9ca52bf5db.bundle.js} +1 -1
  323. package/dist/{89.c2089bc29cfb7193782c.bundle.js → 90.490e7cbda1126f644ccc.bundle.js} +1 -1
  324. package/dist/{90.903b4551186a3f574fb0.bundle.js → 91.52b4095b7d9defe2453b.bundle.js} +1 -1
  325. package/dist/{91.2afe43ba6816429534e1.bundle.js → 92.cbd510129d4f9c43b1e7.bundle.js} +1 -1
  326. package/dist/{92.cbab9d838987be115041.bundle.js → 93.84470866f59f15626499.bundle.js} +1 -1
  327. package/dist/{93.6cb83dccdf95f48a42cc.bundle.js → 94.070b16f3fd0ae1f3e10a.bundle.js} +1 -1
  328. package/dist/{94.15e4fe346c58cfd2282e.bundle.js → 95.cd9739e49bbac023b528.bundle.js} +1 -1
  329. package/dist/{95.e3b0b37f6c37fbba6723.bundle.js → 96.f8bbd933b442a409bb00.bundle.js} +1 -1
  330. package/dist/{96.df01ec7b8db0a5dab6ad.bundle.js → 97.b4d9a0b56ba66e2d3f23.bundle.js} +1 -1
  331. package/dist/{97.b61a8e1d81485a73a88b.bundle.js → 98.0c6f69dd255d59bf11f2.bundle.js} +1 -1
  332. package/dist/{98.37f56c6532c90bfe83c7.bundle.js → 99.66f31cefd09d0f4e7b8d.bundle.js} +1 -1
  333. package/dist/{bundle.9f9f242ad327b8e01cd4.bundle.js → bundle.3bd17fb75aec103d600c.bundle.js} +13 -13
  334. package/dist/css/import-resource-tree.css +32 -4
  335. package/dist/i18n/locale-en.json +3 -2
  336. package/dist/i18n/locale-fr.json +3 -2
  337. package/dist/index.html +3 -3
  338. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  339. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  340. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  341. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  342. package/dist/js/angular/import/templates/filesTable.html +7 -7
  343. package/dist/js/angular/import/templates/import-resource-status-info.html +3 -3
  344. package/dist/js/angular/import/templates/import-resource-tree.html +74 -39
  345. package/dist/js/angular/import/templates/settingsModal.html +21 -20
  346. package/dist/js/angular/security/templates/user.html +1 -1
  347. package/dist/license-checker.json +2 -2
  348. package/dist/{main.76f659240970ae83eb6d.bundle.js → main.51be3c62b284bf8cdde2.bundle.js} +1 -1
  349. package/dist/pages/aclmanagement.html +2 -2
  350. package/dist/pages/autocomplete.html +1 -1
  351. package/dist/pages/choose-repository-type.html +1 -1
  352. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  353. package/dist/pages/create-index.html +1 -1
  354. package/dist/pages/dependencies.html +1 -1
  355. package/dist/pages/domainRangeInfo.html +2 -2
  356. package/dist/pages/edit.html +1 -1
  357. package/dist/pages/explore.html +1 -1
  358. package/dist/pages/export.html +1 -1
  359. package/dist/pages/find.html +1 -1
  360. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  361. package/dist/pages/graphs-visualizations.html +7 -7
  362. package/dist/pages/guides.html +1 -1
  363. package/dist/pages/import.html +17 -13
  364. package/dist/pages/jdbc-create.html +1 -1
  365. package/dist/pages/monitor/backup-and-restore.html +1 -1
  366. package/dist/pages/monitor/queries.html +1 -1
  367. package/dist/pages/monitor/resources.html +1 -1
  368. package/dist/pages/namespaces.html +2 -2
  369. package/dist/pages/plugins.html +1 -1
  370. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  371. package/dist/pages/rdfrank.html +2 -2
  372. package/dist/pages/repositories.html +1 -1
  373. package/dist/pages/repository.html +1 -1
  374. package/dist/pages/similarity-indexes.html +1 -1
  375. package/dist/pages/sparql-editor.html +1 -1
  376. package/dist/pages/sparql-template-create.html +1 -1
  377. package/dist/pages/ux-test1.html +2 -2
  378. package/dist/pages/webapi.html +2 -2
  379. package/dist/{polyfills-dom.3b39f4f2cc2a24a8ee6d.bundle.js → polyfills-dom.53d2bfaab368a5c1c94c.bundle.js} +1 -1
  380. package/dist/res/swagger5/index.css +1 -1
  381. package/dist/res/swagger5/index.html +29 -29
  382. package/dist/{vendor.756b3dc4564a64c24aa9.bundle.js → vendor.28add64dc899b84882a0.bundle.js} +4 -4
  383. package/dist/{vendors~polyfills-core-js.a2be0df5f856f5364259.bundle.js → vendors~polyfills-core-js.1395691ef6eb73bdafe0.bundle.js} +1 -1
  384. package/package.json +1 -1
  385. package/dist/136.c98a30d047e20acd82d1.bundle.js +0 -1
  386. package/dist/137.09b88a790c9dce1ed098.bundle.js +0 -1
  387. package/dist/138.61deb22261d942a05ed2.bundle.js +0 -1
  388. package/dist/145.554874019e4bac2bc44a.bundle.js +0 -1
  389. package/dist/149.276a50fa37aad12bdd53.bundle.js +0 -1
  390. package/dist/165.e1ffc7bce628813d41da.bundle.js +0 -1
  391. package/dist/185.a35cd273c0ffca1e3c08.bundle.js +0 -1
  392. package/dist/186.432954f029ffac893142.bundle.js +0 -1
  393. package/dist/198.f05fc35da7d83e811bf7.bundle.js +0 -1
  394. package/dist/199.de480b6478a2b08230bf.bundle.js +0 -1
  395. package/dist/206.a2c86def7fa57edd6b97.bundle.js +0 -1
  396. package/dist/208.70bb3a3922fd04ab962b.bundle.js +0 -1
  397. package/dist/212.d3655c036b8929eccc33.bundle.js +0 -1
  398. package/dist/247.06e72ccb21477cc24283.bundle.js +0 -1
  399. package/dist/29.ee2c2b74ccbf16eb11c0.bundle.js +0 -1
  400. package/dist/301.0b78ce92aba412fc35cf.bundle.js +0 -1
  401. package/dist/303.d5fa19dccafadbe0d361.bundle.js +0 -1
  402. package/dist/304.13fc58f0774b6eef292f.bundle.js +0 -1
  403. package/dist/306.f575d24fc2dfd0a0d21e.bundle.js +0 -1
  404. package/dist/326.5196fc22a20eb221df3a.bundle.js +0 -1
  405. package/dist/327.6b10987c5d0a3573dcd5.bundle.js +0 -1
  406. package/dist/35.f1b6f9930457c031277e.bundle.js +0 -1
  407. package/dist/36.318423a4558378da2eb4.bundle.js +0 -1
  408. package/dist/42.7c35c485473df7dbcf47.bundle.js +0 -1
  409. package/dist/48.d4f598026b96d6d8c2d3.bundle.js +0 -1
  410. package/dist/70.65cc120c74169587e442.bundle.js +0 -1
  411. package/dist/8.eadebf813f80251d4f69.bundle.js +0 -1
  412. package/dist/99.74d8909fe495a4ee1123.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[69,143],{73: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}}},84: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(73);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[70,148],{73: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}}},84: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(73);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))}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[71,152],{184:function(t,e,r){"use strict";r.r(e);var o=r(66);angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",s),s.$inject=["$http","Upload","$translate"];function s(t,e,r){return{createUploadPayload:function(t,r){let o;o=t.file?{file:t.file,importSettings:e.jsonBlob(r)}:{importSettings:e.jsonBlob(r)};return o},uploadUserDataFile:function(t,r,o){return e.upload({url:`rest/repositories/${t}/import/upload/file`,data:o}).progress(t=>s(t,r))},updateUserDataFile:function(t,r,o){return e.upload({url:`rest/repositories/${t}/import/upload/update/file`,data:o}).progress(t=>s(t,r))}};function s(t,e){if(e.file?(e.file=null,e.status=o.ImportResourceStatus.UPLOADING):e.status!==o.ImportResourceStatus.UPLOADING&&(e.status=o.ImportResourceStatus.PENDING),e.status===o.ImportResourceStatus.UPLOADING){const o=parseInt(100*t.loaded/t.total);e.message=r.instant("import.file.upload.progress",{progress:o})}}}},66:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return o}));const o={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[71,161],{128:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(79);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}}},79: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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[72,166],{129:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(79);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}}},79: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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[72,204],{133:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(80);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)}}},80: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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[73,209],{134:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(80);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)}}},80: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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[73,211],{105: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(88);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})},88: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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[74,216],{106: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(88);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})},88: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 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[74,219],{213:function(n,e,i){"use strict";i.r(e);i(34);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"]},296:function(n,e,i){"use strict";i.r(e);i(213);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[75,224],{218:function(n,e,i){"use strict";i.r(e);i(34);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"]},301:function(n,e,i){"use strict";i.r(e);i(218);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[75,221],{214:function(e,t,o){"use strict";o.r(t);o(7),o(28);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")}}])},298:function(e,t,o){"use strict";o.r(t);o(7),o(24),o(214);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[76,226],{219:function(e,t,o){"use strict";o.r(t);o(7),o(27);const n=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);n.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate","AuthTokenService",function(e,t,o,n,r,i,s,u,a,c){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;const l=document.createElement("a");e.parseNode=function(e){if(null==e)return null;let t="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){l.href=e;let o=l.hostname;(function(e){const t=e.split(".");for(let e=0,o=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?o++:o=0,4===o)return!0;return!1})(l.hostname)||(o=l.hostname.split(".")[0]),t=o+":"+l.port}const o=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[o[2],t,o[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!r.getActiveRepository()||(e.getQueriesRunning=!0,u.monitorQuery(r.getActiveRepository()).success((function(t){const o=t;e.noQueries=0===o.length,e.queries={};for(let t=0;t<o.length;t++)o[t].parsedNode=e.parseNode(o[t].node),e.queries[o[t].trackId]=o[t];e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(t){e.error=getError(t),e.loader=!1,e.getQueriesRunning=!1})))};const d=n((function(){r.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){n.cancel(d)})),e.deleteQueryHttp=function(t){e.loader=!0,u.deleteQuery(t,r.getActiveRepository()).success((function(){o.success(a.instant("abort.request.sent.msg")),e.loader=!1})).error((function(t){const n=getError(t);o.error(n,a.instant("common.error")),e.loader=!1}))},e.abortQuery=function(t){s.openSimpleModal({title:a.instant("confirm.abort"),message:a.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.downloadQuery=function(e){const t="query_"+e+".rq";let o="/rest/monitor/repository/"+r.getActiveRepository()+"/query/download?query="+encodeURIComponent(e)+"&filename="+encodeURIComponent(t);i.isAuthenticated()&&(o=o+"&authToken="+encodeURIComponent(c.getAuthToken())),window.open(o,"_blank")},e.toggleQueryExpanded=function(t){e.expanded[t]=!e.expanded[t]}}]),n.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")}}])},303:function(e,t,o){"use strict";o.r(t);o(7),o(24),o(219);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[76,228],{219:function(e,r,t){"use strict";t.r(r);var n=t(429);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let o;const s=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),o.setOption(r.chart.chartOptions)});function a(){o.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),o.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){o.resize()}r.$watch("chart",(function(){o=n.a(t[0],null,{renderer:"svg"}),o.setOption(r.chart.chartOptions),o.showLoading(),o.on("legendselectchanged",c),r.chart.registerRefreshHandler(a),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){o.on("legendselectchanged"),o.dispose(),r.chart.unregisterRefreshHandler(a),s(),window.removeEventListener("resize",i)}))}}}])},304:function(e,r,t){"use strict";t.r(r);t(7),t(24),t(137),t(25),t(429),t(219);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[77,233],{224:function(e,r,t){"use strict";t.r(r);var n=t(434);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let o;const s=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),o.setOption(r.chart.chartOptions)});function a(){o.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),o.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){o.resize()}r.$watch("chart",(function(){o=n.a(t[0],null,{renderer:"svg"}),o.setOption(r.chart.chartOptions),o.showLoading(),o.on("legendselectchanged",c),r.chart.registerRefreshHandler(a),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){o.on("legendselectchanged"),o.dispose(),r.chart.unregisterRefreshHandler(a),s(),window.removeEventListener("resize",i)}))}}}])},309:function(e,r,t){"use strict";t.r(r);t(7),t(24),t(138),t(25),t(434),t(224);angular.module("graphdb.framework.jmx.resources",["toastr","ui.bootstrap","graphdb.framework.jmx.resources.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.resources.directives"])}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[77,227],{199:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(63);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:s,data:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;this.latestData={nodesInSync:s.nodesInCluster,nodesOutOfSync:s.nodesOutOfSync,nodesDisconnected:s.nodesDisconnected,nodesSyncing:s.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},r.data.push({value:[e,s.nodesInSync]}),n.data.push({value:[e,s.nodesOutOfSync]}),l.data.push({value:[e,s.nodesDisconnected]}),i.data.push({value:[e,s.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[t,e,a,s]=this.dataHolder;t.name=this.translateService.instant("resources.cluster_health.in_sync"),e.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),s.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(t,e){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const t=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));var s=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[78,232],{204:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(63);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:s,data:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;this.latestData={nodesInSync:s.nodesInCluster,nodesOutOfSync:s.nodesOutOfSync,nodesDisconnected:s.nodesDisconnected,nodesSyncing:s.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},r.data.push({value:[e,s.nodesInSync]}),n.data.push({value:[e,s.nodesOutOfSync]}),l.data.push({value:[e,s.nodesDisconnected]}),i.data.push({value:[e,s.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[t,e,a,s]=this.dataHolder;t.name=this.translateService.instant("resources.cluster_health.in_sync"),e.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),s.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(t,e){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const t=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));var s=a(434);class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[r.cssVar("--secondary-color"),r.cssVar("--primary-color"),r.cssVar("--tertiary-color"),r.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,s){this.filter=s,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((s,r)=>{if(Array.isArray(s.value)&&!s.value.length)return;const i=Array.isArray(s.value)?s.value.join("/"):s.value;a+=`{a|${s.label}}`,void 0!==i&&(a+=`{b|${i}}`),r+1<t.length&&(a+=e>0&&(r+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,s){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=r.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:r.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:r.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return s.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:r.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:r.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:r.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>r.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let s;s=Array.isArray(t)?r.getMaxValueFromDataHolder(t,a):r.getMaxValueForDataSeries(t);const i=Math.ceil(s*(e||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[s,i]=r.calculateMaxChartValueAndDivisions(t,e,a);return[s,i]}static formatBytesValue(t,e,a){let s=t;e&&(s=r.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(s)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[78,227],{198:function(t,e,a){"use strict";a.r(e),a.d(e,"ConnectionsChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.connections.active"),e.name=this.translateService.instant("resource.connections.open")}addNewData(t,e,a){const[r,s]=t,{activeTransactions:i,openConnections:n}=a.performanceData;r.data.push({value:[e,i]}),s.data.push({value:[e,n]})}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[79,232],{203:function(t,e,a){"use strict";a.r(e),a.d(e,"ConnectionsChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.connections.active"),e.name=this.translateService.instant("resource.connections.open")}addNewData(t,e,a){const[r,s]=t,{activeTransactions:i,openConnections:n}=a.performanceData;r.data.push({value:[e,i]}),s.data.push({value:[e,n]})}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[8,31,42,67,68,69,71,137,138,139,144,149,150,152,153,154,156,157,241,258,260,263],{100:function(t,e,r){"use strict";r.r(e),r.d(e,"SortingType",(function(){return s}));const s={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},121:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportViewPersistence",(function(){return s}));class s{constructor(t={}){this._isHelpVisible=void 0===t.isHelpVisible||t.isHelpVisible}get isHelpVisible(){return this._isHelpVisible}set isHelpVisible(t){this._isHelpVisible=t}toggleHelpVisibility(){this._isHelpVisible=!this._isHelpVisible}toJSON(){return{isHelpVisible:this._isHelpVisible}}}},122:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return n}));var s=r(66),i=r(94),o=r(95);class n{constructor(t){this.name=t?t.name:void 0,this.status=t?t.status:s.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.timestamp:void 0,this.importedOn=t?t.timestamp:void 0,this.size=void 0,this.contextLink=t?t.contextLink:void 0,this.parserSettings=t?t.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},183:function(t,e){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",s),s.$inject=["$http"];const r="rest/repositories";function s(t){return{getDefaultSettings:function(e){return t.get(`${r}/${e}/import/settings/default`)},getUploadedFiles:function(e){return t.get(`${r}/${e}/import/upload`)},getServerFiles:function(e){return t.get(`${r}/${e}/import/server`)},importServerFiles:function(e,s){return t.post(`${r}/${e}/import/server`,s)},importTextSnippet:function(e,s){return t.post(`${r}/${e}/import/upload/text`,s)},updateTextSnippet:function(e,s){return t.post(`${r}/${e}/import/upload/update/text`,s)},importFromUrl:function(e,s){return t.post(`${r}/${e}/import/upload/url`,s)},updateFromUrl:function(e,s){return t.post(`${r}/${e}/import/upload/update/url`,s)},stopImport:function(e,s){return t.delete(`${r}/${e}/import/upload`,{params:s})},resetServerFileStatus:function(e,s,i=!0){return t({method:"DELETE",url:`${r}/${e}/import/server/status`,params:{remove:i},data:s,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(e,s,i=!0){return t({method:"DELETE",url:`${r}/${e}/import/upload/status`,params:{remove:i},data:s,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},184:function(t,e,r){"use strict";r.r(e);var s=r(66);angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",i),i.$inject=["$http","Upload","$translate"];function i(t,e,r){return{createUploadPayload:function(t,r){let s;s=t.file?{file:t.file,importSettings:e.jsonBlob(r)}:{importSettings:e.jsonBlob(r)};return s},uploadUserDataFile:function(t,r,s){return e.upload({url:`rest/repositories/${t}/import/upload/file`,data:s}).progress(t=>i(t,r))},updateUserDataFile:function(t,r,s){return e.upload({url:`rest/repositories/${t}/import/upload/update/file`,data:s}).progress(t=>i(t,r))}};function i(t,e){if(e.file?(e.file=null,e.status=s.ImportResourceStatus.UPLOADING):e.status!==s.ImportResourceStatus.UPLOADING&&(e.status=s.ImportResourceStatus.PENDING),e.status===s.ImportResourceStatus.UPLOADING){const s=parseInt(100*t.loaded/t.total);e.message=r.instant("import.file.upload.progress",{progress:s})}}}},185:function(t,e,r){"use strict";r.r(e);var s=r(121);function i(t,e){const r=new s.ImportViewPersistence,i=()=>{let i=t.get(e.IMPORT_VIEW);return i||(i=r),new s.ImportViewPersistence(i)};return{initImportViewSettings:()=>{t.get(e.IMPORT_VIEW)||t.set(e.IMPORT_VIEW,r)},getImportViewSettings:i,toggleHelpVisibility:()=>{const r=i();r.toggleHelpVisibility(),t.set(e.IMPORT_VIEW,r.toJSON())},setHelpVisibility:r=>{const s=i();s.isHelpVisible=r,t.set(e.IMPORT_VIEW,s.toJSON())}}}angular.module("graphdb.framework.import.services.importviewstorageservice",[]).factory("ImportViewStorageService",i),i.$inject=["LocalStorageAdapter","LSKeys"]},186:function(t,e,r){"use strict";r.r(e);var s=r(93);function i(t,e,r,i){let o=!0;t.isHelpVisible=!0,t.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html",t.openTab=t=>{i.updateActiveTabId(t)},t.changeHelpTemplate=function(e){t.templateUrl="js/angular/import/templates/"+e},t.toggleHelp=()=>{const e=r.getImportViewSettings();r.toggleHelpVisibility(),t.isHelpVisible=!e.isHelpVisible};const n=[];n.push(i.onActiveTabIdUpdated(r=>{t.activeTabId=r,e.hash(t.activeTabId),s.TABS.USER===t.activeTabId?t.templateUrl="js/angular/import/templates/uploadInfo.html":t.templateUrl="js/angular/import/templates/importInfo.html"})),n.push(i.onFilesUpdated(e=>{o&&0===e.length&&(r.setHelpVisibility(!0),o=!1);const s=r.getImportViewSettings();let i=s.isHelpVisible;0===e.length&&s.isHelpVisible?i=!0:0!==e.length||s.isHelpVisible?s.isHelpVisible?i=!0:s.isHelpVisible||(i=!1):i=!1,r.setHelpVisibility(i),t.isHelpVisible=i}));t.$on("$destroy",()=>n.forEach(t=>t()));const a=e.hash()||s.TABS.USER;t.openTab(a)}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",i),i.$inject=["$scope","$location","ImportViewStorageService","ImportContextService"]},187:function(t,e){function r(t,e,r,s,i,o,n,a,l){t.settings=i,t.hasParserSettings=o,t.isMultiple=a,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length),t.showAdvancedSettings=!1,t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(c(),e.close(t.settings))},t.cancel=function(){c(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(n),t.target="data"},t.addReplaceGraph=function(e){let i=!0;"default"!==e&&(i=s.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",i),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):r.warning(l.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,r){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(r))},t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings};const c=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data"}angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",r),r.$inject=["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","$translate"]},188:function(t,e){function r(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},189:function(t,e){function r(t,e,r,s){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=r,t.importFormat=_.find(t.importFormats,{type:s}),t.startImport=!0,t.setFormat=function(e){t.importFormat=e},t.cancel=function(){e.dismiss()},t.ok=function(){e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},190:function(t,e,r){"use strict";r.r(e),r.d(e,"FILE_FORMATS",(function(){return s})),r.d(e,"FileFormats",(function(){return i}));const s=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class i{static getGZS(){return s.map(t=>`.${t}.gz`)}static getBasics(){return s.map(t=>"."+t)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(t=>".brf"!==t).join(" ")}}},191:function(t,e,r){"use strict";r.r(e),r.d(e,"DateUtils",(function(){return s}));class s{static formatCurrentDateTime(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")}}},192:function(t,e,r){"use strict";r.r(e),r.d(e,"toImportResource",(function(){return n})),r.d(e,"INDENT",(function(){return a})),r.d(e,"toImportUserDataResource",(function(){return l})),r.d(e,"toImportServerResource",(function(){return c}));var s=r(99),i=r(122),o=r(66);const n=t=>t.map(t=>new i.ImportResource(t)),a=30,l=t=>{const e=new s.ImportResourceTreeElement;return t.toSorted((t,e)=>e.modifiedOn-t.modifiedOn).forEach(t=>p(e,t)),d(e),f(e),e},c=t=>{const e=new s.ImportResourceTreeElement;return t.forEach(t=>p(e,t)),d(e),f(e),e},p=(t,e)=>{const r=m(e);let i;i=e.isDirectory()?r:r.slice(0,r.length-1);const o=u(t,i);if(e.isFile()){const t=new s.ImportResourceTreeElement;t.parent=o,t.importResource=e,t.path=r.join("/"),t.name=r[r.length-1],o.addResource(t)}else o.importResource=e},u=(t,e)=>{let r=t;return e.forEach(t=>{const e=r.getOrCreateDirectory(t);e.parent=r,r=e}),r},m=t=>{if(t.isURL())return[t.name];const e=/[/\\]/;return e.test(t.name)?t.name.split(e):[t.name]},d=t=>{t.indent=8+y(t)*a+"px",t.directories.forEach(t=>d(t)),t.files.forEach(t=>d(t))},f=t=>{t.isRoot()||(t.isImportable=I(t.importResource),t.hasOngoingImport=S(t.importResource),t.canResetStatus=R(t.importResource),t.hasStatusInfo="DONE"===t.importResource.status||"ERROR"===t.importResource.status,t.isEditable=t.importResource.isText(),h(t),g(t)),t.directories.forEach(t=>f(t)),t.files.forEach(t=>f(t))},h=t=>{const e=t.importResource?t.importResource.context:"";e.length>63&&(t.shorthedContext=e.substring(0,30)+"..."+e.substring(e.length-30))},g=t=>{const e=t.importResource;if(e){if(e.importedOn===e.modifiedOn)return;t.isImportedBiggerThanModified=e.importedOn>e.modifiedOn,t.isModifiedBiggerThanImported=!t.isImportedBiggerThanModified}},I=t=>t.isFile()&&t.status!==o.ImportResourceStatus.IMPORTING&&t.status!==o.ImportResourceStatus.UPLOADING&&t.status!==o.ImportResourceStatus.PENDING&&t.status!==o.ImportResourceStatus.INTERRUPTING,S=t=>t.status===o.ImportResourceStatus.IMPORTING||t.status===o.ImportResourceStatus.UPLOADING||t.status===o.ImportResourceStatus.PENDING||t.status===o.ImportResourceStatus.INTERRUPTING,R=t=>t.status===o.ImportResourceStatus.DONE||t.status===o.ImportResourceStatus.ERROR,y=t=>{let e=0;if(void 0===t.parent)return e;let r=t.parent;for(;r;)r=r.parent,e++;return e-1}},193:function(t,e,r){"use strict";r.r(e),r.d(e,"FilePrefixRegistry",(function(){return i}));var s=r(98);class i{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(t){t.filter(t=>"file"===t.type).forEach(t=>{const e=s.FileUtils.getFilenameAndExtension(t.name).filename,r=e.lastIndexOf("-");let i=r<0?0:e.substring(r+1),o=e.substring(0,r);if(r<0?(i=0,o=e):(i=e.substring(r+1),o=e.substring(0,r)),i){i=parseInt(i);const t=this.filesPrefixRegistry[o]||0;this.filesPrefixRegistry[o]=t<i?i:t}else this.filesPrefixRegistry[o]=0})}prefixDuplicates(t){return t.map(t=>{const{filename:e,extension:r}=s.FileUtils.getFilenameAndExtension(t.name),i=`${e}-${this.getIndexForFile(e)}.${r}`;return new File([t],i,{type:t.type,lastModified:t.lastModified})})}getIndexForFile(t){let e=this.filesPrefixRegistry[t];return void 0!==e?e++:e=0,this.filesPrefixRegistry[t]=e,e}}},233:function(t,e,r){"use strict";r.r(e);r(7),r(28),r(183),r(184);var s=r(93),i=(r(185),r(186),r(187),r(188),r(189),r(190)),o=r(70),n=r(98),a=r(191),l=r(192),c=r(99),p=r(0),u=r(193),m=r(100),d=r(66);const f=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.import.services.importviewstorageservice","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet"]),h="file",g="text",I="url";f.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService","ImportViewStorageService",function(t,e,r,a,u,f,h,g,I,S,R,y,b,F,T){const v=[];let E=null;t.files=[],t.fileChecked={},t.activeTabId=F.getActiveTabId(),t.selectedForImportFiles={},t.checkAll=!1,t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileQuery="",t.fileFormatsExtended=i.FileFormats.getFileFormatsExtended(),t.fileFormatsHuman=i.FileFormats.getFileFormatsHuman()+I.instant("import.gz.zip"),t.textFileFormatsHuman=i.FileFormats.getTextFileFormatsHuman(),t.maxUploadFileSizeMB=0,t.SORTING_TYPES=m.SortingType,t.toTitleCase=t=>o.toTitleCase(t),t.pollList=()=>{E=r(()=>{t.updating||t.updateList(!1)},4e3)},t.getVisibleFiles=()=>f("filter")(t.files,{name:t.fileQuery,type:t.getTypeFilter()}),t.getTypeFilter=()=>s.TABS.SERVER!==t.activeTabId||"file"!==t.showItems&&"directory"!==t.showItems?"":t.showItems,t.selectAllFiles=()=>{t.getVisibleFiles().forEach((function(e){t.fileChecked[e.name]=t.checkAll&&t.importable(e)}))},t.setSettingsFor=(e,r,s,i=(()=>{}))=>{t.settingsFor=e,t.settings=w(e,r),""===e||"application/ld+json"===s||"application/x-ld+ndjson"===s||e.endsWith("jsonld")||e.endsWith("zip")||e.endsWith("gz")||"directory"===t.settings.type?(t.settings.hasContextLink=!0,t.defaultSettings.hasContextLink=!0):(t.settings.hasContextLink=!1,t.defaultSettings.hasContextLink=!1);const o={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",resolve:{settings:function(){return _.cloneDeep(t.settings)},hasParserSettings:t.isLocalLocation,defaultSettings:function(){return t.defaultSettings},isMultiple:function(){return!e}},size:"lg"};R.isActive()&&(o.backdrop="static",o.keyboard=!1),u.open(o).result.then(e=>{t.settings=e,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)},e=>{t.settings=e,i&&i()})},t.updateImport=(e,r,s)=>{t.settingsFor=e,t.settings=w(e,r),t.importFile(e,s)},t.stopImport=r=>{b.stopImport(a.getActiveRepository(),{name:r.name,type:r.type}).success((function(){t.updateList()})).error((function(t){e.warning(I.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.importable=()=>!0,t.hasImportable=()=>t.files.some(e=>t.importable(e)),t.showTable=()=>{const e=t.files.length>0&&(s.TABS.USER===t.activeTabId||s.TABS.SERVER===t.activeTabId);return t.checkAll&&t.switchBatch(!0),e},t.switchBatch=e=>{e?t.selectAllFiles():t.checkAll&&(t.checkAll=!1),t.batch=_.map(_.filter(t.files,(function(e){return t.fileChecked[e.name]&&t.importable(e)})),"name").length>0},t.rebatch=()=>{const e={};t.batch=!1,_.each(t.files,(function(r){e[r.name]=t.fileChecked[r.name],t.batch|=t.fileChecked[r.name]})),t.batch||(t.checkAll=!1),t.fileChecked=e},t.getSelectedFiles=()=>F.getResources().getAllSelectedFilesNames(),t.importSelected=e=>{const r=new Set([...Object.keys(t.selectedForImportFiles),...t.getSelectedFiles()]),s=Array.from(r),i=()=>{const r=s.shift();r&&(e&&(t.settings=w(r)),t.importFile(r,!0,i))};i()},t.resetStatus=t=>{U(t,!1)},t.isLocalLocation=()=>{const t=a.getActiveLocation();return t&&t.local},t.filterSettings=e=>{let r=_.omitBy(t.savedSettings[e],_.isNull);return r=_.omit(r,["repoLocationHash","status","message","name","data","type","format","fileNames","$$hashKey"]),_.map(_.keys(r),(function(t){return[t,r[t]]}))},t.getSettings=()=>{t.canWriteActiveRepo()&&b.getDefaultSettings(a.getActiveRepository()).success((function(e){t.defaultSettings=e})).error((function(t){e.warning(I.instant("import.error.default.settings",{data:getError(t)}))}))},t.pritifySettings=t=>JSON.stringify(t,null," "),t.updateList=e=>{t.canWriteActiveRepo()&&$(t.tabId).is(":visible")&&t.updateListHttp(e)},t.onRepositoryChange=()=>{t.setRestricted(),t.isRestricted||(t.updateList(!0),t.getSettings())},t.onImport=e=>{t.setSettingsFor(e.importResource.name,!1,e.importResource.format)},t.onStopImport=e=>{t.stopImport(e.importResource)},t.onRemove=t=>{const e=t.map(t=>t.name);x(e)},t.onReset=t=>{U(t,!1)},t.importAll=(e,r)=>{e.filter(t=>t.isFile()).forEach(e=>{t.selectedForImportFiles[e.path]=!0}),r?t.importSelected(e,r):t.setSettingsFor("",r,void 0)},t.onEditResource=e=>{e.importResource.isText()&&t.openTextSnippetDialog(e.importResource)};const x=(t=[])=>{const e="<br/>"+t.join("<br/>"),r=Object(p.decodeHTML)(I.instant("import.remove.confirm.msg",{name:e}));y.openConfirmation(I.instant("common.confirm"),r,()=>{U(t,!0)})},w=(e,r)=>r||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?_.cloneDeep(t.defaultSettings):t.savedSettings[e];t.updateListHttp=r=>{(t.activeTabId===s.TABS.USER?b.getUploadedFiles:b.getServerFiles)(a.getActiveRepository()).success((function(e){s.TABS.SERVER===t.activeTabId?F.updateResources(Object(l.toImportServerResource)(Object(l.toImportResource)(e))):s.TABS.USER===t.activeTabId&&F.updateResources(Object(l.toImportUserDataResource)(Object(l.toImportResource)(e))),0===t.files.length||r?(t.files=e,F.updateFiles(t.files),t.files.forEach((function(e){e.type||(e.type=t.defaultType)})),t.rebatch()):t.files.forEach((function(r){const s=_.find(e,_.matches({name:r.name}));r.status&&s&&_.assign(r,s),r.type||(r.type=t.defaultType)})),r&&s.TABS.USER===t.activeTabId&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status})),F.updateFiles(t.files)),t.showClearStatuses=_.filter(t.files,(function(t){return t.status===d.ImportResourceStatus.DONE||t.status===d.ImportResourceStatus.ERROR})).length>0,t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name")})).error((function(t){e.warning(I.instant("import.error.could.not.get.files",{data:getError(t)}))}))};const U=(r,i)=>{if(!r||r.length<1)return;(t.activeTabId===s.TABS.USER?b.resetUserDataStatus:b.resetServerFileStatus)(a.getActiveRepository(),r,i).success((function(){t.updateList(!0)})).error((function(t){e.warning(I.instant("import.error.could.not.clear",{data:getError(t)}))}))},O=()=>{v.forEach(t=>t())};v.push(t.$on("repositoryIsSet",t.onRepositoryChange)),v.push(t.$on("$destroy",()=>r.cancel(E))),v.push(F.onActiveTabIdUpdated(e=>{t.activeTabId=e,F.updateResources(new c.ImportResourceTreeElement),t.updateListHttp(!0)})),t.$on("$destroy",O),S.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let r=0;r<e.length;r++)t.appData.properties[e[r].key]={source:e[r].source,value:e[r].value};t.maxUploadFileSizeMB=n.FileUtils.convertBytesToMegabytes(t.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(t){const r=getError(t);e.error(r,I.instant("common.error"))})),T.initImportViewSettings()}]),f.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(t,e,r,s,i,o,n){t.loader=!0,angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType="server",t.tabId="#import-server",t.showItems="all",t.importSelected=e=>{const r=Object.keys(t.selectedForImportFiles);a(r,e)},t.importFile=function(t){a([t])};const a=function(r,n){t.canWriteActiveRepo()&&o.importServerFiles(i.getActiveRepository(),{importSettings:n?null:t.settings,fileNames:r}).success((function(){t.updateList(),t.batch=!1,t.fileChecked={}})).error((function(t){e.error(s.instant("import.could.not.send.file",{data:getError(t)}))}))};!function(){t.pollList(),t.onRepositoryChange();const e=n.onResourcesUpdated(()=>{t.loader=!1,e()})}()}]),f.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService",function(t,e,r,s,i,o,l,c,m,f){t.loader=!0,angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType=h,t.tabId="#import-user",t.currentFiles=[];let S=!1;t.pastedDataIdx=1;const R=new u.FilePrefixRegistry,y=[];t.importable=function(){return!0},t.fileSelected=function(e,r,s,i,o){b(o);const n=s||[];x(n);const a=[],l=[];n.forEach(e=>{t.files.some(t=>t.name===e.name)?a.push(e):l.push(e)}),a.length>0?w(a,l):(t.currentFiles=[...n],S=!0)},t.importFile=(r,s,o)=>{const n=t.files.find(t=>t.name===r);n?n.type===g?F(n,s,o):n.type===I?v(n,s,o):E(n,s,o):e.warning(i.instant("import.no.such.file",{name:r}))},t.openTextSnippetDialog=e=>{e&&e.data;s.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then(r=>{e?(e.data===r.text&&e.format===r.format||e.status===d.ImportResourceStatus.NONE||(e.status=d.ImportResourceStatus.NONE,e.message=i.instant("import.text.snippet.not.imported")),e.data=r.text,e.format=r.format,T(e)):(e={type:"text",name:"Text snippet "+a.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},t.files.unshift(e),t.updateImport(e.name,!1,!1)),r.startImport&&t.setSettingsFor(e.name,!1,e.format)})},t.rdfDataFromURL=function(){s.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:t}).result.then((function(e){const r=_.find(t.files,{type:"url",name:e.url});r?r.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0,!1),e.startImport&&t.setSettingsFor(e.url,!0,e.format)}))};const b=t=>{t.length>0&&t.forEach((function(t){e.warning(i.instant("import.large.file",{name:t.name,size:n.FileUtils.convertBytesToMegabytes(t.size)}))}))},F=(r,s,n)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(s?l.importTextSnippet:l.updateTextSnippet)(o.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(i.instant("import.could.not.send.data",{data:getError(t)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(t)})).finally(n||function(){})},T=r=>{t.updating=!0,l.updateTextSnippet(o.getActiveRepository(),r).success((function(t){})).error((function(t){e.error(i.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},v=(r,s,n)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(s?l.importFromUrl:l.updateFromUrl)(o.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(i.instant("import.could.not.send.url",{data:getError(t)}))})).finally(n||function(){})},E=(r,s,n)=>{t.settings.name=r.name;const a=c.createUploadPayload(r,t.settings);(s?c.uploadUserDataFile:c.updateUserDataFile)(o.getActiveRepository(),r,a).then(()=>{t.updateList()}).catch(t=>{e.error(i.instant("import.could.not.upload.file",{data:getError(t)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(t)}).finally(n||function(){})},x=t=>{t.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const s=t.indexOf(r);s>-1&&t.splice(s,1),e.error(i.instant("import.could.not.upload",{name:r.name}))}}))},w=(e,r)=>{const s=e.map(t=>t.name).join("<br/>");return m.openSimpleModal({title:i.instant("import.user_data.duplicates_confirmation.title"),message:Object(p.decodeHTML)(i.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s})),dialogClass:"confirm-duplicate-files-dialog",warning:!0}).result.then(()=>{t.currentFiles.length?t.currentFiles=[...e,...r]:t.currentFiles.push(...e,...r),S=!0},()=>{const s=R.prefixDuplicates(e);t.currentFiles=[...t.currentFiles,...s,...r],S=!0})},U=()=>{Object.keys(t.fileChecked).forEach(e=>{t.fileChecked[e]=!1}),t.selectedForImportFiles={}};y.push(t.$watchCollection("currentFiles",()=>{t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),S&&t.currentFiles.length>0&&(U(),t.currentFiles.forEach(e=>{t.fileChecked[e.name]=!0,t.selectedForImportFiles[e.name]=!0}),t.setSettingsFor("",!1,void 0,()=>{t.currentFiles.forEach(e=>{t.updateImport(e.name,!1,!1),t.selectedForImportFiles={}})}))})),t.$on("$destroy",()=>{y.forEach(t=>t())});!function(){t.pollList(),t.onRepositoryChange(),y.push(f.onFilesUpdated(t=>{R.buildPrefixesRegistry(t)}));const e=f.onResourcesUpdated(()=>{t.loader=!1,e()})}()}])},66:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return s}));const s={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},70:function(t,e,r){"use strict";r.r(e),r.d(e,"removeSpecialChars",(function(){return i})),r.d(e,"toBoolean",(function(){return o})),r.d(e,"toTitleCase",(function(){return n}));var s=r(65);const i=t=>t.replace(/[()']/g,""),o=t=>"string"==typeof t?"true"===t:Boolean(t),n=t=>t?Object(s.upperFirst)(t.toLowerCase()):t},93:function(t,e,r){"use strict";r.r(e),r.d(e,"TABS",(function(){return i}));var s=r(65);const i={USER:"user",SERVER:"server"};function o(t){let e=i.USER,r=void 0,o=[];return{updateActiveTabId:function(r){e=r,t.emit("activeTabIdUpdated",n())},getActiveTabId:n,onActiveTabIdUpdated:function(e){return t.subscribe("activeTabIdUpdated",()=>e(n()))},getFiles:a,addFile:function(e){o.push(e),t.emit("fileAdded",Object(s.cloneDeep)(e))},updateFiles:function(e){o=e,t.emit("filesUpdated",a())},onFilesUpdated:function(e){return t.subscribe("filesUpdated",()=>e(a()))},updateResources:function(e){r=e,t.emit("resourcesUpdated",l())},getResources:l,onResourcesUpdated:function(e){return t.subscribe("resourcesUpdated",()=>e(l()))}};function n(){return e}function a(){return Object(s.cloneDeep)(o)}function l(){return Object(s.cloneDeep)(r)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",o),o.$inject=["EventEmitterService"]},94:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportParsingSettings",(function(){return s}));class s{constructor(){this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},95:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return s}));const s={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},98:function(t,e,r){"use strict";r.r(e),r.d(e,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(t){return Math.floor(t/1048576)}static getFilenameAndExtension(t){const e=t.lastIndexOf(".");return{filename:t.substring(0,e),extension:t.substring(e+1)}}}},99:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceTreeElement",(function(){return s}));class s{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.path="",this.shorthedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1}addResource(t){if(t.isFile())this.files.push(t);else{if(!t.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(t)}}getOrCreateDirectory(t){let e=this.directories.find(e=>e.name===t);return e||(e=new s,e.name=t,this.directories.push(e)),e}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const t=[];return this.parent&&t.push(this),this.directories.forEach(e=>{t.push(...e.toList())}),t.push(...this.files),t}setSelection(t,e=!0){this.selected=t,this.files.forEach(e=>e.setSelection(t,!1)),this.directories.forEach(e=>e.setSelection(t,!1)),e&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(t=>t.updateSelectionState()),this.parent&&this.isDirectory()){const t=this.hasUnselectedChildren(),e=this.hasSelectedChildren();this.selected=e&&!t,this.partialSelected=e&&t}}hasUnselectedChildren(){return this.files.some(t=>!t.selected)||this.directories.some(t=>!t.selected||t.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(t=>t.selected)||this.directories.some(t=>t.selected||t.hasSelectedChildren())}selectAllWithStatus(t){this.importResource&&t.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(e=>e.selectAllWithStatus(t)),this.directories.forEach(e=>e.selectAllWithStatus(t))}getAllSelected(){const t=[];return!this.isRoot()&&this.selected&&t.push(this),this.files.forEach(e=>t.push(...e.getAllSelected())),this.directories.forEach(e=>t.push(...e.getAllSelected())),t}deselectAll(){this.files.forEach(t=>t.deselectAll()),this.directories.forEach(t=>t.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const t=[];return!this.isRoot()&&this.selected&&t.push(this.importResource),this.files.forEach(e=>t.push(...e.getAllSelectedFiles())),t}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(t=>t.name)}getResourceByName(t){if(this.importResource&&this.importResource.name===t)return this;const e=this.files.find(e=>e.importResource.name===t);if(e)return e;for(const e of this.directories){const r=e.getResourceByName(t);if(r)return r}return null}hasTextInResourcesName(t){return!!this.importResource.name.toLowerCase().includes(t.toLowerCase())||(!!this.files.some(e=>e.importResource.name.toLowerCase().includes(t.toLowerCase()))||this.directories.some(e=>e.hasTextInDirectoriesName(t)))}hasTextInDirectoriesName(t){return!(!this.isDirectory()||!this.name.toLowerCase().includes(t.toLowerCase()))||this.directories.some(e=>e.hasTextInDirectoriesName(t))}hasTextInFilesName(t){return!(!this.isFile()||!this.name.toLowerCase().includes(t.toLowerCase()))||(!!this.files.some(e=>e.importResource.name.toLowerCase().includes(t.toLowerCase()))||this.directories.some(e=>e.hasTextInFilesName(t)))}sort(t){this.directories.sort(t),this.files.sort(t),this.directories.forEach(e=>e.sort(t))}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[79,227],{200:function(t,e,a){"use strict";a.r(e),a.d(e,"EpoolChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.epool.reads"),e.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(t,e,a,r){const s=a.performanceData,[i,o]=t;let n=0,l=0;const h=s.entityPool.epoolReads,c=s.entityPool.epoolWrites;r||(n=h-this.lastestData.reads,l=c-this.lastestData.writes),this.lastestData={reads:h,writes:c},i.data.push({value:[e,n]}),o.data.push({value:[e,l]})}updateRange(t){t.forEach((t,e)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis[e].max=a,this.chartOptions.yAxis[e].minInterval=s})}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[80,232],{205:function(t,e,a){"use strict";a.r(e),a.d(e,"EpoolChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.epool.reads"),e.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(t,e,a,r){const s=a.performanceData,[i,o]=t;let n=0,l=0;const h=s.entityPool.epoolReads,c=s.entityPool.epoolWrites;r||(n=h-this.lastestData.reads,l=c-this.lastestData.writes),this.lastestData={reads:h,writes:c},i.data.push({value:[e,n]}),o.data.push({value:[e,l]})}updateRange(t){t.forEach((t,e)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis[e].max=a,this.chartOptions.yAxis[e].minInterval=s})}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[80,227],{196:function(t,e,a){"use strict";a.r(e),a.d(e,"QueriesChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(t,e,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},t[0].data.push({value:[e,r.length]}),this.configureSubtitle()}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const t=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[81,232],{201:function(t,e,a){"use strict";a.r(e),a.d(e,"QueriesChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(t,e,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},t[0].data.push({value:[e,r.length]}),this.configureSubtitle()}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const t=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[81,227],{194:function(t,e,a){"use strict";a.r(e),a.d(e,"CpuLoadChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>t+"%"},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return t+"%"}}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(t,e,a){t[0].data.push({value:[e,this.formatValue(a.cpuLoad)]})}formatValue(t){return+parseFloat(t).toFixed(4)}updateRange(t){}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[82,232],{199:function(t,e,a){"use strict";a.r(e),a.d(e,"CpuLoadChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>t+"%"},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return t+"%"}}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(t,e,a){t[0].data.push({value:[e,this.formatValue(a.cpuLoad)]})}formatValue(t){return+parseFloat(t).toFixed(4)}updateRange(t){}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[82,227],{195:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){const e={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(t){return(100*t).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(t){return(100*t).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(t,e)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:t}){return(100*t).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.storage.used"),e.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(t,e,a,r){const s=a.storageMemory,[i,o]=t;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const l=s.dataDirUsed+s.dataDirFree,n=s.workDirUsed+s.workDirFree,h=s.logsDirUsed+s.logsDirFree,c=s.dataDirUsed/l,d=s.workDirUsed/n,u=s.logsDirUsed/h,g=s.dataDirFree/l,f=s.workDirFree/n,m=s.logsDirFree/h;i.data.push(u,d,c),o.data.push(m,f,g)}configureSubtitle(){const t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[83,232],{200:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){const e={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(t){return(100*t).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(t){return(100*t).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(t,e)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:t}){return(100*t).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.storage.used"),e.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(t,e,a,r){const s=a.storageMemory,[i,o]=t;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const l=s.dataDirUsed+s.dataDirFree,n=s.workDirUsed+s.workDirFree,h=s.logsDirUsed+s.logsDirFree,c=s.dataDirUsed/l,d=s.workDirUsed/n,u=s.logsDirUsed/h,g=s.dataDirFree/l,f=s.workDirFree/n,m=s.logsDirFree/h;i.data.push(u,d,c),o.data.push(m,f,g)}configureSubtitle(){const t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[83,227],{192:function(t,e,a){"use strict";a.r(e),a.d(e,"FileDescriptorsChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},min:0},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(t,e,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&t[0].data.push({value:[e,a.openFileDescriptors]})}configureSubtitle(){let t;t=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(t)}updateRange(t){super.updateRange(t,2)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[84,232],{197:function(t,e,a){"use strict";a.r(e),a.d(e,"FileDescriptorsChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},min:0},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(t,e,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&t[0].data.push({value:[e,a.openFileDescriptors]})}configureSubtitle(){let t;t=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(t)}updateRange(t){super.updateRange(t,2)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[84,227],{197:function(t,e,a){"use strict";a.r(e),a.d(e,"GlobalCacheChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},minInterval:1},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resources.global_cache.hits"),e.name=this.translateService.instant("resources.global_cache.miss")}addNewData(t,e,a){const[r,s]=t;r.data.push({value:[e,a.cacheHit]}),s.data.push({value:[e,a.cacheMiss]})}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[85,232],{202:function(t,e,a){"use strict";a.r(e),a.d(e,"GlobalCacheChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},minInterval:1},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resources.global_cache.hits"),e.name=this.translateService.instant("resources.global_cache.miss")}addNewData(t,e,a){const[r,s]=t;r.data.push({value:[e,a.cacheHit]}),s.data.push({value:[e,a.cacheMiss]})}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[85,227],{100:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(429);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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[86,232],{101:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(63);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},63:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(434);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[86,244],{136:function(e,t,n){"use strict";n.r(t);n(7),n(26);function r(e,t,n,r,i){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,r.getStatistics().then((function(t){e.settings.statistics="true"===t.data,e.supportsStatistics=!0}),(function(n){if(404===n.status)e.supportsStatistics=!1;else{const e=getError(n.data);t.error(e,i.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,r.toggleStatistics(e.settings.statistics).then((function(){n.close(),t.success(i.instant("saving.settings.success"))}),(function(e){const n=getError(e.data);t.error(n,i.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){n.dismiss("cancel")}}function i(e,t,n,r,i,s,o){e.loadingLicense=function(){return n.loadingLicense},n.checkLicenseStatus(),e.revertToFree=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("revert.to.free.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus()}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;const a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){"Invalid"!==n.licensee?(a.val(e),function(e,n){r.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=a.val());if(e){const n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(){i.error(c.instant("license.register.error"))}))}else i.error(c.instant("no.license.code.error"))}(n)}))}(n,e)):(a.val(""),i.error(n.message))})).error((function(){i.error(c.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){const n=e.currentFile;t.extractFromLicenseFile(n).success((function(e){l(e)})).error((function(){i.error(c.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){s.history.back()}}function o(e,t,n){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")},e.license=n}function c(e){e.loader=!0,e.setLoader=function(t){e.loader=t}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",r).controller("ValidateLicenseModalCtrl",o).controller("LicenseCtrl",i).controller("RegisterLicenseCtrl",s).controller("LoaderSamplesCtrl",c),r.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],i.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},218:function(e,t,n){"use strict";n.r(t);n(7),n(24),n(15),n(136),n(37),n(38),n(26),n(59),n(60);function r(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function i(e,t,n){e.$on("$locationChangeStart",(function(){n.isLicenseHardcoded&&"/license/register"===t.url()&&t.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(r).run(i),r.$inject=["$httpProvider","$routeProvider"],i.$inject=["$rootScope","$location","$licenseService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[87,249],{137:function(e,t,n){"use strict";n.r(t);n(7),n(26);function r(e,t,n,r,i){e.supportsStatistics=!0,e.settings={statistics:!1},e.getSettings=function(){e.loader=!0,r.getStatistics().then((function(t){e.settings.statistics="true"===t.data,e.supportsStatistics=!0}),(function(n){if(404===n.status)e.supportsStatistics=!1;else{const e=getError(n.data);t.error(e,i.instant("error.getting.settings"))}}))},e.getSettings(),e.setSettings=function(){e.loader=!0,r.toggleStatistics(e.settings.statistics).then((function(){n.close(),t.success(i.instant("saving.settings.success"))}),(function(e){const n=getError(e.data);t.error(n,i.instant("saving.settings.error"))}))},e.submitForm=function(){e.setSettings()},e.cancel=function(){n.dismiss("cancel")}}function i(e,t,n,r,i,s,o){e.loadingLicense=function(){return n.loadingLicense},n.checkLicenseStatus(),e.revertToFree=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("revert.to.free.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus()}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;const a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){"Invalid"!==n.licensee?(a.val(e),function(e,n){r.open({templateUrl:"js/angular/settings/modal/validate-license.html",controller:"ValidateLicenseModalCtrl",size:"lg",resolve:{license:function(){return e}}}).result.then((function(){!function(e){e||(e=a.val());if(e){const n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(){i.error(c.instant("license.register.error"))}))}else i.error(c.instant("no.license.code.error"))}(n)}))}(n,e)):(a.val(""),i.error(n.message))})).error((function(){i.error(c.instant("invalid.license"))}))}e.$watch("currentFile",(function(){if(e.currentFile){const n=e.currentFile;t.extractFromLicenseFile(n).success((function(e){l(e)})).error((function(){i.error(c.instant("could.not.upload.file.error"))}))}})),e.getBackToPreviousPage=function(){s.history.back()}}function o(e,t,n){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")},e.license=n}function c(e){e.loader=!0,e.setLoader=function(t){e.loader=t}}angular.module("graphdb.framework.settings.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","toastr"]).controller("ActiveLocationSettingsCtrl",r).controller("ValidateLicenseModalCtrl",o).controller("LicenseCtrl",i).controller("RegisterLicenseCtrl",s).controller("LoaderSamplesCtrl",c),r.$inject=["$scope","toastr","$uibModalInstance","LicenseRestService","$translate"],i.$inject=["$scope","LicenseRestService","$licenseService","toastr","$rootScope","ModalService","$translate"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},223:function(e,t,n){"use strict";n.r(t);n(7),n(24),n(15),n(137),n(37),n(38),n(26),n(59),n(60);function r(e){e.interceptors.push("$unauthorizedInterceptor"),e.interceptors.push("$authenticationInterceptor")}function i(e,t,n){e.$on("$locationChangeStart",(function(){n.isLicenseHardcoded&&"/license/register"===t.url()&&t.path("license")}))}angular.module("graphdb.framework.settings",["toastr","ui.bootstrap","graphdb.framework.rest.license.service","graphdb.framework.settings.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"]).config(r).run(i),r.$inject=["$httpProvider","$routeProvider"],i.$inject=["$rootScope","$location","$licenseService"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[87,257],{155:function(e,n,r){"use strict";r.r(n);var o=r(87);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("")}}))},87: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
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[88,262],{156:function(e,n,r){"use strict";r.r(n);var o=r(87);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("")}}))},87:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return o}));const o={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[88],{141:function(e,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(e,n,r){function t(e,n){if(!e||"*"===e)return e;const r=e.startsWith("!"),t=r?"!CUSTOM_":"CUSTOM_";return n?t+e.replace(/^!/,""):r?"!"+e.replace(t,""):e.replace(t,"")}if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName)&&r.ngModel){const e=n.controller("ngModel");e.$formatters.push((function(e){return t(e,!1)})),e.$parsers.push((function(e){return t(e,!0)}))}}}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[89],{142:function(e,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(e,n,r){function t(e,n){if(!e||"*"===e)return e;const r=e.startsWith("!"),t=r?"!CUSTOM_":"CUSTOM_";return n?t+e.replace(/^!/,""):r?"!"+e.replace(t,""):e.replace(t,"")}if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName)&&r.ngModel){const e=n.controller("ngModel");e.$formatters.push((function(e){return t(e,!1)})),e.$parsers.push((function(e){return t(e,!0)}))}}}}))}}]);