graphdb-workbench 3.0.1 → 3.0.2-RC1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/dist/{1.4557dfdb926ba6471bb3.bundle.js → 1.39c8f2b09d3018e6a9cd.bundle.js} +1 -1
  2. package/dist/{10.8a76ef708b5c69241c68.bundle.js → 10.4f80be12b2cd899d4fc2.bundle.js} +1 -1
  3. package/dist/100.2daf71ab49c93a1c9d40.bundle.js +1 -0
  4. package/dist/{99.a745a27e01490b0d843d.bundle.js → 101.70d205b9691d74539dd7.bundle.js} +1 -1
  5. package/dist/{100.c4aaa3d10f570dba12a9.bundle.js → 102.8b6782cd3c24d47c87d2.bundle.js} +1 -1
  6. package/dist/{101.8f0b38c2e58132599194.bundle.js → 103.ff8e7dd53d94f93552bf.bundle.js} +1 -1
  7. package/dist/{103.96f2287dde7e4fc25c9d.bundle.js → 104.a1b5b2e868eb117b48ac.bundle.js} +1 -1
  8. package/dist/{104.ddeb2cb5758d1ed52b33.bundle.js → 105.0121f779d777d869ce4e.bundle.js} +1 -1
  9. package/dist/{105.e8302c421c3d7b516b4c.bundle.js → 106.55cf93dab531f6120a6e.bundle.js} +1 -1
  10. package/dist/{106.00a983e1594a051a5fe7.bundle.js → 107.c0d5d1b4a12c8a01745e.bundle.js} +1 -1
  11. package/dist/{107.7b548755171f42f06352.bundle.js → 108.9ca7ca14da8593ef91ba.bundle.js} +1 -1
  12. package/dist/{108.160515780d319edefb5c.bundle.js → 109.1c877e801581e1f60bf8.bundle.js} +1 -1
  13. package/dist/11.cc21bcbc41edfd865a48.bundle.js +1 -0
  14. package/dist/{109.1da75239f8e2a5d63b23.bundle.js → 110.3740001dabee596bbf71.bundle.js} +1 -1
  15. package/dist/{110.780a31b32e116f49a75f.bundle.js → 111.f0ae6a0107628aaeef02.bundle.js} +1 -1
  16. package/dist/{111.7e3057275034cb5dc5a6.bundle.js → 112.ed43d212e04e37907453.bundle.js} +1 -1
  17. package/dist/{112.22145690dd697aa9275d.bundle.js → 113.0b94d0e087a818cf9d4c.bundle.js} +1 -1
  18. package/dist/{113.c135232a9177d596406c.bundle.js → 114.88b6c5ce916e956cc2e5.bundle.js} +1 -1
  19. package/dist/{114.b2c0df64a560a8dd5ae0.bundle.js → 115.3a159adc54ebc83243cd.bundle.js} +1 -1
  20. package/dist/{115.543de06ecb5553155522.bundle.js → 116.b75b69c7fe15583deb8a.bundle.js} +1 -1
  21. package/dist/{116.79b9b3abc0b03e8b7924.bundle.js → 117.a3706ff54783c451de62.bundle.js} +1 -1
  22. package/dist/{117.ae87c77380fb7660d9ec.bundle.js → 118.e93de50f0149eb2931a4.bundle.js} +1 -1
  23. package/dist/{118.6756956bb51b3350690d.bundle.js → 119.e5733c827c71ba3106fc.bundle.js} +1 -1
  24. package/dist/12.5d075599ef637022c23c.bundle.js +1 -0
  25. package/dist/{119.c8e77171125b6497990a.bundle.js → 120.346f38c1b8fa9bb399aa.bundle.js} +1 -1
  26. package/dist/{120.1484bac063921edb7a2c.bundle.js → 121.0a271d2bfea3fc050225.bundle.js} +1 -1
  27. package/dist/{121.6a0ffc9dfc3ea14fd0d3.bundle.js → 122.6812fc0e3f6f60eec16d.bundle.js} +1 -1
  28. package/dist/{122.13363b4c4f89776fa1b5.bundle.js → 123.31d75efb53b4049f1b67.bundle.js} +1 -1
  29. package/dist/{123.616625d0908d7e6eab3d.bundle.js → 124.2e17f7bde4612462c957.bundle.js} +1 -1
  30. package/dist/{124.924dce24aad641d1dd23.bundle.js → 125.f74277a2a44949ca0b4c.bundle.js} +1 -1
  31. package/dist/{125.d86cff2a5cc679dc20d9.bundle.js → 126.63677abd348f7f462e66.bundle.js} +1 -1
  32. package/dist/{126.ff5a04a468a8a8d1a99a.bundle.js → 127.41cba8bf8e30ac29ab7e.bundle.js} +1 -1
  33. package/dist/{127.954cf8032872deba10e6.bundle.js → 128.2ec10c750cf6d0f151f4.bundle.js} +1 -1
  34. package/dist/{128.639a495883f611c4691e.bundle.js → 129.7b10d7005f33d6187a4b.bundle.js} +1 -1
  35. package/dist/{13.c904bbb863125c4ff6cc.bundle.js → 13.c1f8c588c7fc852bbe1d.bundle.js} +1 -1
  36. package/dist/{129.5d11264c418527e53342.bundle.js → 130.6eaf3aa6daac5859f7d7.bundle.js} +1 -1
  37. package/dist/{130.82fe31a14b953086bb45.bundle.js → 131.45ae15011beefb1ec398.bundle.js} +1 -1
  38. package/dist/{131.e4be75b25c9eb85db5a8.bundle.js → 132.f675fe2fd349527933b3.bundle.js} +1 -1
  39. package/dist/{132.364bb39217e31f46480f.bundle.js → 133.1efc1419d69e84db2b4b.bundle.js} +1 -1
  40. package/dist/{133.df86fdb8d83ca7237793.bundle.js → 134.01ec95b828ad09fcb1a9.bundle.js} +1 -1
  41. package/dist/{134.33804d658ebadcbc3b55.bundle.js → 135.7d15f409bdb1e8630623.bundle.js} +1 -1
  42. package/dist/{135.797fc168b7a948df2ccb.bundle.js → 136.1ff57ae90902aff352e4.bundle.js} +1 -1
  43. package/dist/{136.5ca50393ed4761535bfe.bundle.js → 137.044a888e82e4ac13cbed.bundle.js} +1 -1
  44. package/dist/{137.d8b48c06ecd279c12ca7.bundle.js → 138.f910e9be040100f08326.bundle.js} +1 -1
  45. package/dist/{138.3bb6b7be471eb2d04c6e.bundle.js → 139.7e7adea811551510d1d4.bundle.js} +1 -1
  46. package/dist/{14.d0ab3c83926b616e7354.bundle.js → 14.d0c7642a1a7041f50137.bundle.js} +1 -1
  47. package/dist/{139.ea151aec614a76870451.bundle.js → 140.3e12b1909d34b2b23d66.bundle.js} +1 -1
  48. package/dist/{140.6583cf41ab8e891ebbb6.bundle.js → 141.022a52911a1fba3e9273.bundle.js} +1 -1
  49. package/dist/{141.af39fc3a6dc1dafdb5ab.bundle.js → 142.9b8ed6c5c8e7a9f5de47.bundle.js} +1 -1
  50. package/dist/{142.c2392a48e4d3a2a16866.bundle.js → 143.81cfe46fdf48ae310839.bundle.js} +1 -1
  51. package/dist/{143.e4511e1698aca68814e3.bundle.js → 144.fbf7737acce465cf274d.bundle.js} +1 -1
  52. package/dist/{144.f58114954e257cb77bde.bundle.js → 145.72459692d3c167aee55e.bundle.js} +1 -1
  53. package/dist/{145.d558ac05737ca5ef00a4.bundle.js → 146.e435b2bdae83a56537f6.bundle.js} +1 -1
  54. package/dist/{146.de12b58d856c54decc0b.bundle.js → 147.f4e3eb741619b49bcc80.bundle.js} +1 -1
  55. package/dist/{147.6faf4e13462207010d38.bundle.js → 148.44ea646c66b6b0e8f996.bundle.js} +1 -1
  56. package/dist/{148.25167c5ae125b23811c9.bundle.js → 149.0c8405d83935b512abfb.bundle.js} +1 -1
  57. package/dist/{15.8ab8b6f8c611ec1dfddc.bundle.js → 15.79a075c0e170b3066b07.bundle.js} +1 -1
  58. package/dist/{149.9629d0dfe4f62aa15bba.bundle.js → 150.fb80c0c92d602a623c36.bundle.js} +1 -1
  59. package/dist/{150.c8bf724fbe76d0e0696d.bundle.js → 151.0b79280f2a959473ff16.bundle.js} +1 -1
  60. package/dist/{151.4970e08b91e9849ae5e3.bundle.js → 152.410c52dad18a5a3961f6.bundle.js} +1 -1
  61. package/dist/{152.8a1ea0a8d04e0873f67b.bundle.js → 153.cb649018e1db6b8c4f1c.bundle.js} +1 -1
  62. package/dist/{153.64e4e15ca8abeb5268e3.bundle.js → 154.a96812700b8b52d10e57.bundle.js} +1 -1
  63. package/dist/160.1e607beff0e4f8e426cf.bundle.js +1 -0
  64. package/dist/{161.228b61b39d936f8fca31.bundle.js → 161.2a41444b94b2db7dd638.bundle.js} +1 -1
  65. package/dist/{163.716d49313f3e196497dd.bundle.js → 163.9c8a1cb6d8692b5347a4.bundle.js} +1 -1
  66. package/dist/{166.31241e54608319e510e2.bundle.js → 166.c08c74fdaa7965adecbc.bundle.js} +1 -1
  67. package/dist/{17.019de109eebe6b7563fe.bundle.js → 17.e163dfcc19d77667295a.bundle.js} +1 -1
  68. package/dist/{173.425381e5433b54da911c.bundle.js → 173.4fb35b26d3b118d10626.bundle.js} +1 -1
  69. package/dist/{175.b94e42f1b1b7479f46ad.bundle.js → 175.ec71d7bdff18c571a78e.bundle.js} +1 -1
  70. package/dist/{179.63500ae70b7715467e79.bundle.js → 179.be20755cb9848e72b319.bundle.js} +1 -1
  71. package/dist/{18.6722328814b9fcee2f6e.bundle.js → 18.b2d04af2d60cc37a5ebe.bundle.js} +1 -1
  72. package/dist/{180.a91ac4fc484a71bd5ed8.bundle.js → 180.a82dac6c561436705ae7.bundle.js} +1 -1
  73. package/dist/{19.a0af0ec7c0e4eb7ab20c.bundle.js → 19.407c7beb11ea143e1f9e.bundle.js} +1 -1
  74. package/dist/{190.431c135250df34322375.bundle.js → 190.4969eb91b83aaa7cd263.bundle.js} +1 -1
  75. package/dist/{2.354e410d4fb45ab44420.bundle.js → 2.842d68f9e1fac66644aa.bundle.js} +1 -1
  76. package/dist/{20.b2e6e5248ede44286621.bundle.js → 20.d9c0a2300fac55616a64.bundle.js} +1 -1
  77. package/dist/{21.6de69abd52835f511f89.bundle.js → 21.db9a15c2ce6264384788.bundle.js} +1 -1
  78. package/dist/{22.035be7329fd099903c2b.bundle.js → 22.1408d06830b72a459d6a.bundle.js} +1 -1
  79. package/dist/{23.f499db643c1d187eefe1.bundle.js → 23.e6835ca70f33d8babcca.bundle.js} +1 -1
  80. package/dist/231.909faa919088245e9988.bundle.js +1 -1
  81. package/dist/{24.057be6f617f4e3f35691.bundle.js → 24.8fbf33e98e7c306e8ea8.bundle.js} +1 -1
  82. package/dist/{242.c2143bfd879222a393dc.bundle.js → 242.2aceac5a4d9f377f3553.bundle.js} +1 -1
  83. package/dist/{243.ed8bd30b9501bcb22fd3.bundle.js → 243.35701551c53ddd41d3e2.bundle.js} +1 -1
  84. package/dist/{248.35714eeadd519aa9dfcf.bundle.js → 248.b1fb4b93555c3f69bc46.bundle.js} +1 -1
  85. package/dist/{25.25d1fdcb1cbeafd51681.bundle.js → 25.6f945a6e26e6daa27763.bundle.js} +1 -1
  86. package/dist/{258.af0b3d78c0f9b4c4b483.bundle.js → 258.fc7172db37e5b0ca1279.bundle.js} +1 -1
  87. package/dist/{26.3aa8a6a7f10039840838.bundle.js → 26.76be6828c642933221c3.bundle.js} +1 -1
  88. package/dist/{264.c6d038d027b8f5579b62.bundle.js → 264.8e759dd1686c37c32b07.bundle.js} +1 -1
  89. package/dist/{287.4f8a30c6c6c72ebafedb.bundle.js → 287.a750fc40fa90418f3d6d.bundle.js} +1 -1
  90. package/dist/{29.33b92413c2f0a708b821.bundle.js → 29.5ec5948f2e30819e6dc8.bundle.js} +1 -1
  91. package/dist/{3.77b848d2eb7fdb2523b0.bundle.js → 3.33dccf88ff294b9ba7cf.bundle.js} +1 -1
  92. package/dist/{30.f818533689767fa3e2ca.bundle.js → 30.a60e3c2ac0de3b37e185.bundle.js} +1 -1
  93. package/dist/31.7452fe0f096c31a9a1f1.bundle.js +2 -0
  94. package/dist/{312.0e853d11527c8a2fc070.bundle.js → 312.c03a255fbafa0d4335b7.bundle.js} +1 -1
  95. package/dist/{32.e14fc108d80a26925f88.bundle.js → 32.14b30077e63f4b1b729a.bundle.js} +1 -1
  96. package/dist/{322.6524ee61a5bbcdc82bad.bundle.js → 322.34c7ffacecadc1dff436.bundle.js} +1 -1
  97. package/dist/{33.fec387c3be8b00368957.bundle.js → 33.da597e608351b4872771.bundle.js} +1 -1
  98. package/dist/{332.2db32da5af5ac8856a0c.bundle.js → 332.eb8ac0b7d982535eb48b.bundle.js} +1 -1
  99. package/dist/{334.2970372fd546db2cd792.bundle.js → 334.85e45ef3709738a8c800.bundle.js} +1 -1
  100. package/dist/{335.b445bf889c4bfaa20ded.bundle.js → 335.5a6a3768096f7e02a5a3.bundle.js} +1 -1
  101. package/dist/{34.61223a86d6cb125fc2c8.bundle.js → 34.51476f9015bca2457953.bundle.js} +1 -1
  102. package/dist/{348.a113e5a47d253a04ee81.bundle.js → 348.da14c1b3111036fe2e02.bundle.js} +1 -1
  103. package/dist/{35.1b457bfdeea08b897d25.bundle.js → 35.dec1963ba9e2a21fdbec.bundle.js} +1 -1
  104. package/dist/{353.8dbc0f6a10d578ed65d8.bundle.js → 353.5ca0dd499b0e4ec5a228.bundle.js} +1 -1
  105. package/dist/{36.54cce0e26c592b832258.bundle.js → 36.5bdd80f32426b30c458d.bundle.js} +1 -1
  106. package/dist/{363.7a3d9b6e636d736c57b1.bundle.js → 363.fe7a10fbfe3ad1a31725.bundle.js} +1 -1
  107. package/dist/{37.be47535106d4b3dbc077.bundle.js → 37.3e74a6a07640c4d8db96.bundle.js} +1 -1
  108. package/dist/{38.79bf8cac11760d2e69be.bundle.js → 38.8819c36a5204129f3dbc.bundle.js} +1 -1
  109. package/dist/{381.aea7ee474ca60accc01b.bundle.js → 381.7705312c8cedfe733a17.bundle.js} +1 -1
  110. package/dist/{382.c69f3647cc33ace74db4.bundle.js → 382.3b6533fe63bb7b89d2a6.bundle.js} +1 -1
  111. package/dist/{385.559499835625e3e755d3.bundle.js → 385.93498ab442f8c50fadbc.bundle.js} +1 -1
  112. package/dist/{39.051d67965709d49db0ab.bundle.js → 39.8be9b0247c3518abbf8b.bundle.js} +1 -1
  113. package/dist/{392.96254712f6158ac44044.bundle.js → 392.fd509c86891257f9777f.bundle.js} +1 -1
  114. package/dist/399.0a3aec07fe2383cc35ba.bundle.js +1 -0
  115. package/dist/{40.9208517ef50b6f8024c6.bundle.js → 40.2747ad0262dc133c782c.bundle.js} +1 -1
  116. package/dist/404.163e08fb2eeea2362f8a.bundle.js +1 -0
  117. package/dist/{41.0d8779a7af2eb26cf157.bundle.js → 41.c6545eb0ce13e63738d2.bundle.js} +1 -1
  118. package/dist/410.b74d59055b7cf830abe5.bundle.js +1 -0
  119. package/dist/416.68f6286f80654cdbe4e4.bundle.js +1 -1
  120. package/dist/417.70adf0a6f0571c394764.bundle.js +1 -1
  121. package/dist/42.baaa159c3b1e81422600.bundle.js +1 -0
  122. package/dist/423.6edb13ec0cf08388c947.bundle.js +1 -1
  123. package/dist/424.725b821051516e73783a.bundle.js +1 -1
  124. package/dist/425.03fcf969da1a4e92fec3.bundle.js +1 -1
  125. package/dist/426.aa6924f6f1192d037009.bundle.js +1 -1
  126. package/dist/427.5c7b72141707b841e8a3.bundle.js +1 -1
  127. package/dist/428.0d471ce7c68654947c04.bundle.js +1 -1
  128. package/dist/{43.96e8540045f061114280.bundle.js → 43.46cf7aa71531400f5ce3.bundle.js} +1 -1
  129. package/dist/{44.45a26f697588279fbc60.bundle.js → 44.ec337831549cfeaab224.bundle.js} +1 -1
  130. package/dist/443.969280af4067a22d1a8b.bundle.js +1 -1
  131. package/dist/444.a5971579184b091ed392.bundle.js +1 -1
  132. package/dist/445.2b20cb9e68a11879f6c4.bundle.js +1 -1
  133. package/dist/446.fe3cf3d6e288c8c4444b.bundle.js +1 -1
  134. package/dist/447.d1d078921f6f28e2fa38.bundle.js +1 -1
  135. package/dist/448.d6c9bed6d99b8b23619f.bundle.js +1 -1
  136. package/dist/{45.8c13732f2859713c90c4.bundle.js → 45.e79cfcb4606177c83d29.bundle.js} +1 -1
  137. package/dist/{46.f04ca39b752caadd9714.bundle.js → 46.db4b433aebdbb6965f9d.bundle.js} +1 -1
  138. package/dist/468.8e259940c62a68ef3055.bundle.js +1 -1
  139. package/dist/{47.5773e1581c385ba39851.bundle.js → 47.89ad9da6a07545789631.bundle.js} +1 -1
  140. package/dist/{48.06454bbe08df5938e67a.bundle.js → 48.8726b8de8055297cec7c.bundle.js} +1 -1
  141. package/dist/480.379bf3b338e0a3224a1f.bundle.js +1 -1
  142. package/dist/481.0387239b174f787e70ea.bundle.js +1 -1
  143. package/dist/483.c81275cb05dd78ce389f.bundle.js +1 -1
  144. package/dist/484.25a82c267c3a705d2a65.bundle.js +1 -1
  145. package/dist/485.91cbfbfd37eccde375c9.bundle.js +1 -1
  146. package/dist/488.a69dcce23066c0dafdf7.bundle.js +1 -1
  147. package/dist/489.a976085b601cccf438d4.bundle.js +1 -1
  148. package/dist/49.ec8921fc54aaae50ca52.bundle.js +1 -0
  149. package/dist/490.d3e0f3e499b5a24f6808.bundle.js +1 -1
  150. package/dist/491.62c185868f9d99dd5713.bundle.js +1 -1
  151. package/dist/5.163df03f5440d982d268.bundle.js +2 -0
  152. package/dist/50.4886e820614f9dadb147.bundle.js +1 -0
  153. package/dist/{51.676e3d8a0e328ad836ed.bundle.js → 51.014f0ee2c2a7ff9ce3ff.bundle.js} +1 -1
  154. package/dist/{52.cfdfa7095a554e758861.bundle.js → 52.85c3ec8030d92959e556.bundle.js} +1 -1
  155. package/dist/{54.c54ba6791e3926ebb553.bundle.js → 54.f1ed20f259011ef082b2.bundle.js} +1 -1
  156. package/dist/{55.fb160be660f713a3d6a1.bundle.js → 55.3262334c9d8a63b347ab.bundle.js} +1 -1
  157. package/dist/{56.a97521bde50d8e02ab1d.bundle.js → 56.f9d140f83b5462444e57.bundle.js} +1 -1
  158. package/dist/{57.ec17cacc850ae1904aeb.bundle.js → 57.fcd6814bee867f2345e7.bundle.js} +1 -1
  159. package/dist/{58.0c8ce6607800bf7ff0ac.bundle.js → 58.914f27e1a230e164d29b.bundle.js} +1 -1
  160. package/dist/{59.47183b72936629232e7f.bundle.js → 59.a7f0559fb46565813cf0.bundle.js} +1 -1
  161. package/dist/{6.33f8c6c7e324640238de.bundle.js → 6.0bfc114054ad3b233305.bundle.js} +1 -1
  162. package/dist/{60.046829a1be3f196bef1c.bundle.js → 60.6c9b4c93b093288c7649.bundle.js} +1 -1
  163. package/dist/{61.f625328fcc0d35aa07a4.bundle.js → 61.424616e10051d7cdbc93.bundle.js} +1 -1
  164. package/dist/{62.842d67b8758eed682f2c.bundle.js → 62.c335ec2480066d4422a9.bundle.js} +1 -1
  165. package/dist/63.e55beded50a778a97299.bundle.js +1 -0
  166. package/dist/{63.c3630cbfa8f6884a417d.bundle.js → 64.7a62b6f780380840f244.bundle.js} +1 -1
  167. package/dist/{64.91ba76d42905a3d9afbe.bundle.js → 65.8d5f1b79d228176db399.bundle.js} +1 -1
  168. package/dist/{65.198a4d69873309746593.bundle.js → 66.75d04ae3be915ecd5afe.bundle.js} +1 -1
  169. package/dist/{66.b7385a74d4f3287237ba.bundle.js → 67.dbc1e4410498f4ceae46.bundle.js} +1 -1
  170. package/dist/{67.3488f2543baf36d3c494.bundle.js → 68.aeae93de29be6d346977.bundle.js} +1 -1
  171. package/dist/{68.4e51b896e74fbd145701.bundle.js → 69.3024e70e93884b7138eb.bundle.js} +1 -1
  172. package/dist/{69.a2244fec1e7110f5aeec.bundle.js → 70.f982fe4a8c44d2ef72a6.bundle.js} +1 -1
  173. package/dist/{70.0b30be583854923aadc1.bundle.js → 71.8ffc1c2036362cf40526.bundle.js} +1 -1
  174. package/dist/{71.24d20933fd9614cf27af.bundle.js → 72.a47d3fdd3239098987a8.bundle.js} +1 -1
  175. package/dist/{72.5d2f018d17e995bc6455.bundle.js → 73.1d8cf985f584d6a29f1b.bundle.js} +1 -1
  176. package/dist/{73.3f407c010a17e4a109b9.bundle.js → 74.70762fed64c1503da986.bundle.js} +1 -1
  177. package/dist/{74.1d496e6a8dc0abfcbe04.bundle.js → 75.e464e055d7b66bf2fc93.bundle.js} +1 -1
  178. package/dist/76.fc1058890354a7ee6abe.bundle.js +1 -0
  179. package/dist/{76.9ca923a9265537ac7be4.bundle.js → 77.bf8560beda63d53b83c2.bundle.js} +1 -1
  180. package/dist/{77.f53fbf119a8b73148a25.bundle.js → 78.eecf35e4f25434df649e.bundle.js} +1 -1
  181. package/dist/{78.933cb90bda144ed95290.bundle.js → 79.074403a4200f684a0945.bundle.js} +1 -1
  182. package/dist/{8.3cf83e59a56858648ad9.bundle.js → 8.e3c3c3676785a030527d.bundle.js} +1 -1
  183. package/dist/{79.6e0224e241895965a9d3.bundle.js → 80.07a80c5fe69c039db15d.bundle.js} +1 -1
  184. package/dist/{80.f7d6d3108e6d18b96cd7.bundle.js → 81.234a3c0b3136c4a55730.bundle.js} +1 -1
  185. package/dist/{81.b79dd505cb205eb7eff0.bundle.js → 82.3e71f24921a2283967c3.bundle.js} +1 -1
  186. package/dist/{82.cd869e55416407b078e0.bundle.js → 83.cf2e3938d315b0470906.bundle.js} +1 -1
  187. package/dist/{83.b085735389d935aa6f42.bundle.js → 84.c1e18d720b266e35aec2.bundle.js} +1 -1
  188. package/dist/{84.7f9377fc605aff3f0d48.bundle.js → 85.7dc677e973a2dfcddfea.bundle.js} +1 -1
  189. package/dist/86.adb4b3504c93eb726fcd.bundle.js +1 -0
  190. package/dist/{85.8a74811c261c635235f7.bundle.js → 87.ddab9647e5ff9f432212.bundle.js} +1 -1
  191. package/dist/{86.c491436398aef8142dc3.bundle.js → 88.e04e9207f68a222a8a64.bundle.js} +1 -1
  192. package/dist/{87.cf9f719c3dd04bc64102.bundle.js → 89.51eac4bd9aa2668b96fb.bundle.js} +1 -1
  193. package/dist/{88.7d844f12b9d68b0be1d7.bundle.js → 90.ac1501d736615a2bc7f6.bundle.js} +1 -1
  194. package/dist/{89.2c1bcd6a70ba8769b6b9.bundle.js → 91.4c80dbc7c0af8d2d07f5.bundle.js} +1 -1
  195. package/dist/{90.b93a0ecac4f5bcfeed0f.bundle.js → 92.69c6a0625b9e94d1a9df.bundle.js} +1 -1
  196. package/dist/{91.44e1598ed46ac2197521.bundle.js → 93.4e0f1104ab14c3dfae71.bundle.js} +1 -1
  197. package/dist/{92.e81e734ef32fe8b56d78.bundle.js → 94.62f609daaeaf1e0b9f63.bundle.js} +1 -1
  198. package/dist/{93.6486890affff9e0f6ca8.bundle.js → 95.2c784e759051491850fb.bundle.js} +1 -1
  199. package/dist/{94.13212f8f2d50c66cb482.bundle.js → 96.22c66e3781a4afc22d1a.bundle.js} +1 -1
  200. package/dist/{95.6fe91e68bef2c41f2645.bundle.js → 97.856052734f379717d4cc.bundle.js} +1 -1
  201. package/dist/{96.4bd66eace72867bf76e1.bundle.js → 98.be86330473bf291530fa.bundle.js} +1 -1
  202. package/dist/{97.4cfafc4c6cedd50e973e.bundle.js → 99.6af4734887301734ebbe.bundle.js} +1 -1
  203. package/dist/{bundle.e7ff3a088b4fc9e2ec9e.bundle.js → bundle.fc37b3e514d7594f55be.bundle.js} +19 -19
  204. package/dist/css/autocomplete.css +5 -0
  205. package/dist/css/clustermanagement.css +10 -7
  206. package/dist/css/rdf-class-hierarchy.css +1 -1
  207. package/dist/i18n/locale-en.json +11 -1
  208. package/dist/i18n/locale-fr.json +11 -1
  209. package/dist/index.html +3 -3
  210. package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
  211. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +16 -7
  212. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  213. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  214. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  215. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  216. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  217. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  218. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  219. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  220. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  221. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  222. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  223. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  224. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  225. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  226. package/dist/js/angular/security/templates/user.html +2 -2
  227. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  228. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  229. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  230. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  231. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  232. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  233. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  234. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  235. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  236. package/dist/license-checker.json +4 -4
  237. package/dist/pages/aclmanagement.html +2 -2
  238. package/dist/pages/autocomplete.html +1 -1
  239. package/dist/pages/choose-repository-type.html +1 -1
  240. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  241. package/dist/pages/create-index.html +1 -1
  242. package/dist/pages/dependencies.html +1 -1
  243. package/dist/pages/domainRangeInfo.html +2 -2
  244. package/dist/pages/edit.html +1 -1
  245. package/dist/pages/explore.html +1 -1
  246. package/dist/pages/export.html +1 -1
  247. package/dist/pages/find.html +1 -1
  248. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  249. package/dist/pages/graphs-visualizations.html +7 -7
  250. package/dist/pages/guides.html +1 -1
  251. package/dist/pages/import.html +2 -2
  252. package/dist/pages/jdbc-create.html +1 -1
  253. package/dist/pages/monitor/backup-and-restore.html +1 -1
  254. package/dist/pages/monitor/queries.html +1 -1
  255. package/dist/pages/monitor/resources.html +1 -1
  256. package/dist/pages/namespaces.html +2 -2
  257. package/dist/pages/plugins.html +1 -1
  258. package/dist/pages/rdfClassHierarchyInfo.html +9 -11
  259. package/dist/pages/rdfrank.html +2 -2
  260. package/dist/pages/repositories.html +1 -1
  261. package/dist/pages/repository.html +1 -1
  262. package/dist/pages/similarity-indexes.html +1 -1
  263. package/dist/pages/sparql-editor.html +1 -1
  264. package/dist/pages/sparql-template-create.html +1 -1
  265. package/dist/pages/ux-test1.html +2 -2
  266. package/dist/pages/webapi.html +2 -2
  267. package/dist/res/swagger5/index.html +12 -12
  268. package/package.json +2 -2
  269. package/dist/102.2b1c8399187ccefe5a4f.bundle.js +0 -1
  270. package/dist/11.7343b4e08a786f0a1eab.bundle.js +0 -1
  271. package/dist/12.3669f82ad6489ffeb12b.bundle.js +0 -1
  272. package/dist/154.89f16e758f1caaae814c.bundle.js +0 -1
  273. package/dist/160.90a42dd6a992307c602d.bundle.js +0 -1
  274. package/dist/31.721783158dcfdee0b882.bundle.js +0 -2
  275. package/dist/399.b13be7ef0c258335c762.bundle.js +0 -1
  276. package/dist/404.00ef41fe988cd9161359.bundle.js +0 -1
  277. package/dist/410.a86d6bdafde1b951e239.bundle.js +0 -1
  278. package/dist/42.0147219d61d3814c266c.bundle.js +0 -1
  279. package/dist/49.6b885bb67696745b1634.bundle.js +0 -1
  280. package/dist/5.045fbb4da4ea6659e905.bundle.js +0 -2
  281. package/dist/50.ee3ed147b2bc2382a0a2.bundle.js +0 -1
  282. package/dist/75.0e43af19262a978d6aab.bundle.js +0 -1
  283. package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[140,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&c(e.prototype,r),a&&c(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},336:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function l(t,e,r){return e=c(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.r(e),r.d(e,"CpuLoadChart",(function(){return f}));var f=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,e,[t,!1,!1])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),r=e,(n=[{key:"chartSetup",value:function(t){var e={yAxis:{axisLabel:{formatter:function(t){return"".concat(t,"%")}},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return"".concat(t,"%")}}};_.merge(t,e)}},{key:"createDataHolder",value:function(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}},{key:"translateLabels",value:function(){a(this.dataHolder,1)[0].name=this.translateService.instant("resource.system.cpu_load.label")}},{key:"addNewData",value:function(t,e,r){t[0].data.push({value:[e,this.formatValue(r.cpuLoad)]})}},{key:"formatValue",value:function(t){return+parseFloat(t).toFixed(4)}},{key:"updateRange",value:function(t){}}])&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(103).ChartData)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[141,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&c(e.prototype,r),a&&c(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},336:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function l(t,e,r){return e=c(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.r(e),r.d(e,"CpuLoadChart",(function(){return f}));var f=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,e,[t,!1,!1])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),r=e,(n=[{key:"chartSetup",value:function(t){var e={yAxis:{axisLabel:{formatter:function(t){return"".concat(t,"%")}},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return"".concat(t,"%")}}};_.merge(t,e)}},{key:"createDataHolder",value:function(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}},{key:"translateLabels",value:function(){a(this.dataHolder,1)[0].name=this.translateService.instant("resource.system.cpu_load.label")}},{key:"addNewData",value:function(t,e,r){t[0].data.push({value:[e,this.formatValue(r.cpuLoad)]})}},{key:"formatValue",value:function(t){return+parseFloat(t).toFixed(4)}},{key:"updateRange",value:function(t){}}])&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(103).ChartData)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[141,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var a=r(636);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,o,i,l=[],s=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(a=o.call(r)).done)&&(l.push(a.value),l.length!==e);s=!0);}catch(t){u=!0,n=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return l}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}function u(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,c(a.key),a)}}function c(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}var f=function(){function t(e,r,a,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=n,this.disableRangeUpdate=r,this.disableOldDataRemoval=a,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,n=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var a=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(a)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,a){var n;n=Array.isArray(e)?t.getMaxValueFromDataHolder(e,a):t.getMaxValueForDataSeries(e);var o=Math.ceil(n*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,a){var n=i(t.calculateMaxChartValueAndDivisions(e,r,a),2);return[n[0],n[1]]}},{key:"formatBytesValue",value:function(e,r,a){var n=e;r&&(n=t.getMaxValueFromDataHolder(r,a));var o=Math.floor(Math.log(n)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(a,n){if(!Array.isArray(a.value)||a.value.length){var o=Array.isArray(a.value)?a.value.join("/"):a.value;r+="{a|".concat(a.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),n+1<t.length&&(r+=e>0&&(n+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,a){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var a=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=a}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return a.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&u(e.prototype,r),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},337:function(t,e,r){"use strict";r.r(e),r.d(e,"DiskStorageChart",(function(){return h}));var a=r(103);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,o,i,l=[],s=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(a=o.call(r)).done)&&(l.push(a.value),l.length!==e);s=!0);}catch(t){u=!0,n=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}function l(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,s(a.key),a)}}function s(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function u(t,e,r){return e=c(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var h=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,[t,!0,!0])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(e,t),r=e,(n=[{key:"chartSetup",value:function(t){var 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)}},{key:"createDataHolder",value:function(){return[this.createDataHolderForItem("resource.storage.used",a.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",a.ChartData.COLORS[0])]}},{key:"createDataHolderForItem",value:function(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:a.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function(t){return(100*t.value).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}},{key:"translateLabels",value:function(){var t=o(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resource.storage.used"),r.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r,a){var n=r.storageMemory,i=o(t,2),l=i[0],s=i[1];this.latestData={data:{used:n.dataDirUsed,free:n.dataDirFree},work:{used:n.workDirUsed,free:n.workDirFree},logs:{used:n.logsDirUsed,free:n.logsDirFree}},this.configureSubtitle();var u=n.dataDirUsed+n.dataDirFree,c=n.workDirUsed+n.workDirFree,f=n.logsDirUsed+n.logsDirFree,h=n.dataDirUsed/u,d=n.workDirUsed/c,y=n.logsDirUsed/f,p=n.dataDirFree/u,v=n.workDirFree/c,m=n.logsDirFree/f;l.data.push(y,d,h),s.data.push(m,v,p)}},{key:"configureSubtitle",value:function(){var t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[e.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),e.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[e.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),e.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[e.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),e.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}])&&l(r.prototype,n),i&&l(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.ChartData)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[142,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var a=r(636);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,o,i,l=[],s=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(a=o.call(r)).done)&&(l.push(a.value),l.length!==e);s=!0);}catch(t){u=!0,n=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return l}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}function u(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,c(a.key),a)}}function c(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}var f=function(){function t(e,r,a,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=n,this.disableRangeUpdate=r,this.disableOldDataRemoval=a,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,n=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var a=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(a)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,a){var n;n=Array.isArray(e)?t.getMaxValueFromDataHolder(e,a):t.getMaxValueForDataSeries(e);var o=Math.ceil(n*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,a){var n=i(t.calculateMaxChartValueAndDivisions(e,r,a),2);return[n[0],n[1]]}},{key:"formatBytesValue",value:function(e,r,a){var n=e;r&&(n=t.getMaxValueFromDataHolder(r,a));var o=Math.floor(Math.log(n)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(a,n){if(!Array.isArray(a.value)||a.value.length){var o=Array.isArray(a.value)?a.value.join("/"):a.value;r+="{a|".concat(a.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),n+1<t.length&&(r+=e>0&&(n+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,a){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var a=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=a}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return a.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&u(e.prototype,r),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},337:function(t,e,r){"use strict";r.r(e),r.d(e,"DiskStorageChart",(function(){return h}));var a=r(103);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,o,i,l=[],s=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(a=o.call(r)).done)&&(l.push(a.value),l.length!==e);s=!0);}catch(t){u=!0,n=t}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw n}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}function l(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,s(a.key),a)}}function s(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function u(t,e,r){return e=c(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var h=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,[t,!0,!0])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(e,t),r=e,(n=[{key:"chartSetup",value:function(t){var 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)}},{key:"createDataHolder",value:function(){return[this.createDataHolderForItem("resource.storage.used",a.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",a.ChartData.COLORS[0])]}},{key:"createDataHolderForItem",value:function(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:a.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function(t){return(100*t.value).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}},{key:"translateLabels",value:function(){var t=o(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resource.storage.used"),r.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r,a){var n=r.storageMemory,i=o(t,2),l=i[0],s=i[1];this.latestData={data:{used:n.dataDirUsed,free:n.dataDirFree},work:{used:n.workDirUsed,free:n.workDirFree},logs:{used:n.logsDirUsed,free:n.logsDirFree}},this.configureSubtitle();var u=n.dataDirUsed+n.dataDirFree,c=n.workDirUsed+n.workDirFree,f=n.logsDirUsed+n.logsDirFree,h=n.dataDirUsed/u,d=n.workDirUsed/c,y=n.logsDirUsed/f,p=n.dataDirFree/u,v=n.workDirFree/c,m=n.logsDirFree/f;l.data.push(y,d,h),s.data.push(m,v,p)}},{key:"configureSubtitle",value:function(){var t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[e.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),e.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[e.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),e.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[e.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),e.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}])&&l(r.prototype,n),i&&l(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(a.ChartData)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[142,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){s=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function c(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&s(e.prototype,r),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},334:function(t,e,r){"use strict";r.r(e),r.d(e,"FileDescriptorsChart",(function(){return p}));var n=r(103);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){s=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}function s(t,e,r){return e=y(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=f(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(arguments.length<3?t:r):a.value}}).apply(null,arguments)}function f(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(t,r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,e,[t,!1,!1,r])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),function(t,e,r){return e&&l(t.prototype,e),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"chartSetup",value:function(t){var e=this,r={yAxis:{axisLabel:{formatter:function(t){return e.formatNumber(t)}},min:0},tooltip:{valueFormatter:function(t){return e.formatNumber(t)}}};_.merge(t,r)}},{key:"createDataHolder",value:function(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:n.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:n.ChartData.COLORS[1],data:[]}]}},{key:"translateLabels",value:function(){o(this.dataHolder,1)[0].name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r){this.latestData={maxFileDescriptors:r.maxFileDescriptors,openFileDescriptors:r.openFileDescriptors},this.configureSubtitle(),r.openFileDescriptors&&t[0].data.push({value:[e,r.openFileDescriptors]})}},{key:"configureSubtitle",value:function(){var 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)}},{key:"updateRange",value:function(t){var r,n,a,o,i;(r=e,n="updateRange",a=this,i=c(y(1&(o=3)?r.prototype:r),n,a),2&o&&"function"==typeof i?function(t){return i.apply(a,t)}:i)([t,2])}}])}(n.ChartData)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[143,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){s=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function c(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&s(e.prototype,r),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},334:function(t,e,r){"use strict";r.r(e),r.d(e,"FileDescriptorsChart",(function(){return p}));var n=r(103);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){s=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}function s(t,e,r){return e=y(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=f(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(arguments.length<3?t:r):a.value}}).apply(null,arguments)}function f(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(t,r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,e,[t,!1,!1,r])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),function(t,e,r){return e&&l(t.prototype,e),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"chartSetup",value:function(t){var e=this,r={yAxis:{axisLabel:{formatter:function(t){return e.formatNumber(t)}},min:0},tooltip:{valueFormatter:function(t){return e.formatNumber(t)}}};_.merge(t,r)}},{key:"createDataHolder",value:function(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:n.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:n.ChartData.COLORS[1],data:[]}]}},{key:"translateLabels",value:function(){o(this.dataHolder,1)[0].name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r){this.latestData={maxFileDescriptors:r.maxFileDescriptors,openFileDescriptors:r.openFileDescriptors},this.configureSubtitle(),r.openFileDescriptors&&t[0].data.push({value:[e,r.openFileDescriptors]})}},{key:"configureSubtitle",value:function(){var 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)}},{key:"updateRange",value:function(t){var r,n,a,o,i;(r=e,n="updateRange",a=this,i=c(y(1&(o=3)?r.prototype:r),n,a),2&o&&"function"==typeof i?function(t){return i.apply(a,t)}:i)([t,2])}}])}(n.ChartData)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[143,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&c(e.prototype,r),a&&c(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},339:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function u(t,e,r){return e=c(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.r(e),r.d(e,"GlobalCacheChart",(function(){return f}));var f=function(t){function e(t,r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,[t,!1,!1,r])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),r=e,(n=[{key:"chartSetup",value:function(t){var e=this,r={yAxis:{axisLabel:{formatter:function(t){return e.formatNumber(t)}},minInterval:1},tooltip:{valueFormatter:function(t){return e.formatNumber(t)}}};_.merge(t,r)}},{key:"createDataHolder",value:function(){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:[]}]}},{key:"translateLabels",value:function(){var t=a(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resources.global_cache.hits"),r.name=this.translateService.instant("resources.global_cache.miss")}},{key:"addNewData",value:function(t,e,r){var n=a(t,2),o=n[0],i=n[1];o.data.push({value:[e,r.cacheHit]}),i.data.push({value:[e,r.cacheMiss]})}}])&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(103).ChartData)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[144,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&c(e.prototype,r),a&&c(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},339:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function u(t,e,r){return e=c(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],c(t).constructor):e.apply(t,r))}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.r(e),r.d(e,"GlobalCacheChart",(function(){return f}));var f=function(t){function e(t,r){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,[t,!1,!1,r])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),r=e,(n=[{key:"chartSetup",value:function(t){var e=this,r={yAxis:{axisLabel:{formatter:function(t){return e.formatNumber(t)}},minInterval:1},tooltip:{valueFormatter:function(t){return e.formatNumber(t)}}};_.merge(t,r)}},{key:"createDataHolder",value:function(){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:[]}]}},{key:"translateLabels",value:function(){var t=a(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resources.global_cache.hits"),r.name=this.translateService.instant("resources.global_cache.miss")}},{key:"addNewData",value:function(t,e,r){var n=a(t,2),o=n[0],i=n[1];o.data.push({value:[e,r.cacheHit]}),i.data.push({value:[e,r.cacheMiss]})}}])&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(103).ChartData)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[144,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){s=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return u}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function c(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&s(e.prototype,r),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},187:function(t,e,r){"use strict";r.r(e),r.d(e,"HeapMemoryChart",(function(){return d}));var n=r(103);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){s=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}function s(t,e,r){return e=y(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=f(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(arguments.length<3?t:r):a.value}}).apply(null,arguments)}function f(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var d=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,e,[t,!1,!1])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),function(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"chartSetup",value:function(t){var r=this,n={yAxis:{axisLabel:{formatter:function(t){return r.hasSelectedSeries()?e.formatBytesValue(t,r.dataHolder,r.selectedSeries):e.formatBytesValue(t,r.dataHolder)}},min:0},tooltip:{valueFormatter:function(t){return e.formatBytesValue(t,null,r.selectedSeries)}}};_.merge(t,n)}},{key:"createDataHolder",value:function(){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:n.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}},{key:"translateLabels",value:function(){var t=o(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resource.memory.committed"),r.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r){var n=o(t,2),a=n[0],i=n[1],u=this.parseData(r);this.latestData={committed:u.committed,used:u.used,max:u.max},a.data.push({value:[e,u.committed]}),i.data.push({value:[e,u.used]}),this.configureSubtitle()}},{key:"configureSubtitle",value:function(){if(this.latestData.max>0){var t=[{label:this.translateService.instant("resource.memory.heap.max"),value:e.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}},{key:"parseData",value:function(t){return t.heapMemoryUsage}},{key:"updateRange",value:function(t,r,n){var a,o,i,u,l;(a=e,o="updateRange",i=this,l=c(y(1&(u=3)?a.prototype:a),o,i),2&u&&"function"==typeof l?function(t){return l.apply(i,t)}:l)([t,r,n])}}])}(n.ChartData)}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[145,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){s=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return u}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function c(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var f=function(){function t(e,r,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=a,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,a=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(o(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,o(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var a;a=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var o=Math.ceil(a*(r||t.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var a=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[a[0],a[1]]}},{key:"formatBytesValue",value:function(e,r,n){var a=e;r&&(a=t.getMaxValueFromDataHolder(r,n));var o=Math.floor(Math.log(a)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,o);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,a){if(!Array.isArray(n.value)||n.value.length){var o=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==o&&(r+="{b|".concat(o,"}")),a+1<t.length&&(r+=e>0&&(a+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(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))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.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:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&s(e.prototype,r),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,a}()},187:function(t,e,r){"use strict";r.r(e),r.d(e,"HeapMemoryChart",(function(){return d}));var n=r(103);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,u=[],l=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){s=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}function s(t,e,r){return e=y(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=f(t,e);if(n){var a=Object.getOwnPropertyDescriptor(n,e);return a.get?a.get.call(arguments.length<3?t:r):a.value}}).apply(null,arguments)}function f(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var d=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,e,[t,!1,!1])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),function(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"chartSetup",value:function(t){var r=this,n={yAxis:{axisLabel:{formatter:function(t){return r.hasSelectedSeries()?e.formatBytesValue(t,r.dataHolder,r.selectedSeries):e.formatBytesValue(t,r.dataHolder)}},min:0},tooltip:{valueFormatter:function(t){return e.formatBytesValue(t,null,r.selectedSeries)}}};_.merge(t,n)}},{key:"createDataHolder",value:function(){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:n.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}},{key:"translateLabels",value:function(){var t=o(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resource.memory.committed"),r.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r){var n=o(t,2),a=n[0],i=n[1],u=this.parseData(r);this.latestData={committed:u.committed,used:u.used,max:u.max},a.data.push({value:[e,u.committed]}),i.data.push({value:[e,u.used]}),this.configureSubtitle()}},{key:"configureSubtitle",value:function(){if(this.latestData.max>0){var t=[{label:this.translateService.instant("resource.memory.heap.max"),value:e.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}},{key:"parseData",value:function(t){return t.heapMemoryUsage}},{key:"updateRange",value:function(t,r,n){var a,o,i,u,l;(a=e,o="updateRange",i=this,l=c(y(1&(u=3)?a.prototype:a),o,i),2&u&&"function"==typeof l?function(t){return l.apply(i,t)}:l)([t,r,n])}}])}(n.ChartData)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[145,360],{210:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlRestServiceMock",(function(){return c}));var a=n(24);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,r(a.key),a)}}function r(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getEndpointsMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(s)})}),200)}))}},{key:"getEndpointsInfoMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(l)})}),200)}))}},{key:"getGraphqlSchemaShapesMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(p)})}),200)}))}},{key:"getEndpointConfigurationMock",value:function(){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(u)})}),200)}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),s={repository:"swapi",endpoints:[{id:"swapi",graphQL:"/rest/repositories/swapi/graphql/swapi",active:!0,default:!0},{id:"film-restricted",graphQL:"/rest/repositories/swapi/graphql/film-restricted",active:!0,default:!1},{id:"swapi-charcters",graphQL:"/rest/repositories/swapi/graphql/swapi-charcters",active:!1,default:!1}]},l={endpoints:[{id:"gqlendpoint1",endpointId:"swapi",endpointURI:"/rest/repositories/swapi/graphql/swapi",label:"SWAPI GraphQL endpoint",description:"SWAPI GraphQL endpoint description",default:!1,active:!0,lastModified:"2025-01-28",objects_count:10,properties_count:120,warnings:0,errors:0,status:""},{id:"gqlendpoint2",endpointId:"film-restricted",endpointURI:"/rest/repositories/swapi/graphql/film-restricted",label:"SWAPI GraphQL endpoint with restricted film relations",description:"SWAPI GraphQL endpoint with restricted film relations description",default:!0,active:!0,lastModified:"2025-01-28",objects_count:13,properties_count:133,warnings:0,errors:0,status:""},{id:"gqlendpoint3",endpointId:"swapi-characters",endpointURI:"/rest/repositories/swapi/graphql/swapi-characters",label:"SWAPI GraphQL endpoint for swapi characters",description:"SWAPI GraphQL endpoint for swapi characters description",default:!1,active:!1,lastModified:"2025-01-28",objects_count:3,properties_count:20,warnings:0,errors:0,status:""}]},p={shapes:[{id:"https://schema.ubs.net/schema/AIModelSchema",name:"AI Model Schema",label:"AI Model Schema",description:null},{id:"https://schema.ubs.net/schema/AIProductSchema",name:"AI Product Schema",label:"AI Product Schema",description:null},{id:"https://schema.ubs.net/schema/DatabaseSchema",name:null,label:"Database Schema",description:null},{id:"https://schema.ubs.net/schema/BbsPermissionSchema",name:null,label:"BBS Permissions",description:null},{id:"https://schema.ubs.net/schema/DataProductBasicSchema",name:null,label:"Data Product Basic Schema No Policy and No Provenance",description:null},{id:"https://schema.ubs.net/schema/DataQualityMetricSchema",name:null,label:"Data Quality Metric Schema",description:"This is the basic schema for DQV initiated from Metric class"},{id:"https://schema.ubs.net/schema/DataQualityObservationSchema",name:null,label:"Data Quality Observation Schema",description:null},{id:"https://schema.ubs.net/schema/DatasetSchema",name:null,label:"Dataset Schema",description:null},{id:"https://schema.ubs.net/schema/ApplicationSchema",name:null,label:"Application Schema",description:null},{id:"https://schema.ubs.net/schema/PolicyBasicSchema",name:null,label:"Policy Basic Schema",description:null},{id:"https://schema.ubs.net/schema/DataQualityMeasurementSchema",name:null,label:"Data Quality Measurement Schema",description:null},{id:"https://schema.ubs.net/schema/DataProductFullSchema",name:null,label:"Data Product Schema where datasets can also be defined",description:null},{id:"https://schema.ubs.net/schema/ValidationSchema",name:null,label:"Validation Schema",description:null},{id:"https://schema.ubs.net/schema/WMAAccountSchema",name:null,label:"WMA Account Schema",description:null}]},u={configs:[{key:"str",label:"String",type:"string",collection:!1,value:"strValue",values:[],regex:"^(?:ALL:?)?(?:(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER)?(?:,(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER))*)$"},{key:"bool",label:"Boolean value",description:"",type:"boolean",collection:!1,value:!1,values:[]},{key:"select",label:"Select",type:"",collection:!1,value:"Two",values:["One","Two","Three"]},{key:"multiselect",label:"Multiselect",type:"",collection:!0,value:["Angular","JavaScript"],values:["Angular","JavaScript","WebDevelopment"]},{key:"json",label:"JSON",type:"json",collection:!1,value:'{"foo": "bar"}',values:[],required:!0}]}},276:function(e,t,n){"use strict";n.r(t);var a=n(26),i=n(210);angular.module("graphdb.framework.rest.graphql.service",[]).factory("GraphqlRestService",o),o.$inject=["$http","Upload"];function o(e,t){new i.GraphqlRestServiceMock;return{getEndpoints:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/endpoints"))},getEndpointsInfo:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/list"))},getGraphqlSchemaShapes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/graphql_shapes"))},getPrefixes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/prefixes"))},getShaclShapeGraphs:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/shacl_graphs"))},getGraphqlGenerationSettings:function(){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/graphql/manage/generate/config"))},getGraphqlEndpointConfigurationSettings:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/config"))},getEndpointConfiguration:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},editEndpointConfiguration:function(t,n,i){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n),i)},deleteEndpoint:function(t,n){return e.delete("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},generateEndpointFromGraphqlShapes:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/graphql_shapes"),n)},generateEndpointFromOwl:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/owl_shacl"),n)},exportEndpointDefinition:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/export"),{responseType:"blob"})},importEndpointDefinition:function(e,n){return t.http({url:"".concat(a.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/import"),data:n,headers:{"Content-Type":void 0}})},deleteEndpointGenerationReport:function(t,n){return e.patch("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/messages"))}}}}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[146,360],{210:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlRestServiceMock",(function(){return c}));var a=n(24);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,r(a.key),a)}}function r(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getEndpointsMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(s)})}),200)}))}},{key:"getEndpointsInfoMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(l)})}),200)}))}},{key:"getGraphqlSchemaShapesMock",value:function(e){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(p)})}),200)}))}},{key:"getEndpointConfigurationMock",value:function(){return new Promise((function(e){setTimeout((function(){return e({data:Object(a.cloneDeep)(u)})}),200)}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),s={repository:"swapi",endpoints:[{id:"swapi",graphQL:"/rest/repositories/swapi/graphql/swapi",active:!0,default:!0},{id:"film-restricted",graphQL:"/rest/repositories/swapi/graphql/film-restricted",active:!0,default:!1},{id:"swapi-charcters",graphQL:"/rest/repositories/swapi/graphql/swapi-charcters",active:!1,default:!1}]},l={endpoints:[{id:"gqlendpoint1",endpointId:"swapi",endpointURI:"/rest/repositories/swapi/graphql/swapi",label:"SWAPI GraphQL endpoint",description:"SWAPI GraphQL endpoint description",default:!1,active:!0,lastModified:"2025-01-28",objects_count:10,properties_count:120,warnings:0,errors:0,status:""},{id:"gqlendpoint2",endpointId:"film-restricted",endpointURI:"/rest/repositories/swapi/graphql/film-restricted",label:"SWAPI GraphQL endpoint with restricted film relations",description:"SWAPI GraphQL endpoint with restricted film relations description",default:!0,active:!0,lastModified:"2025-01-28",objects_count:13,properties_count:133,warnings:0,errors:0,status:""},{id:"gqlendpoint3",endpointId:"swapi-characters",endpointURI:"/rest/repositories/swapi/graphql/swapi-characters",label:"SWAPI GraphQL endpoint for swapi characters",description:"SWAPI GraphQL endpoint for swapi characters description",default:!1,active:!1,lastModified:"2025-01-28",objects_count:3,properties_count:20,warnings:0,errors:0,status:""}]},p={shapes:[{id:"https://schema.ubs.net/schema/AIModelSchema",name:"AI Model Schema",label:"AI Model Schema",description:null},{id:"https://schema.ubs.net/schema/AIProductSchema",name:"AI Product Schema",label:"AI Product Schema",description:null},{id:"https://schema.ubs.net/schema/DatabaseSchema",name:null,label:"Database Schema",description:null},{id:"https://schema.ubs.net/schema/BbsPermissionSchema",name:null,label:"BBS Permissions",description:null},{id:"https://schema.ubs.net/schema/DataProductBasicSchema",name:null,label:"Data Product Basic Schema No Policy and No Provenance",description:null},{id:"https://schema.ubs.net/schema/DataQualityMetricSchema",name:null,label:"Data Quality Metric Schema",description:"This is the basic schema for DQV initiated from Metric class"},{id:"https://schema.ubs.net/schema/DataQualityObservationSchema",name:null,label:"Data Quality Observation Schema",description:null},{id:"https://schema.ubs.net/schema/DatasetSchema",name:null,label:"Dataset Schema",description:null},{id:"https://schema.ubs.net/schema/ApplicationSchema",name:null,label:"Application Schema",description:null},{id:"https://schema.ubs.net/schema/PolicyBasicSchema",name:null,label:"Policy Basic Schema",description:null},{id:"https://schema.ubs.net/schema/DataQualityMeasurementSchema",name:null,label:"Data Quality Measurement Schema",description:null},{id:"https://schema.ubs.net/schema/DataProductFullSchema",name:null,label:"Data Product Schema where datasets can also be defined",description:null},{id:"https://schema.ubs.net/schema/ValidationSchema",name:null,label:"Validation Schema",description:null},{id:"https://schema.ubs.net/schema/WMAAccountSchema",name:null,label:"WMA Account Schema",description:null}]},u={configs:[{key:"str",label:"String",type:"string",collection:!1,value:"strValue",values:[],regex:"^(?:ALL:?)?(?:(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER)?(?:,(?:-?[\\w]{2}(?:-[\\w]*)?~?|-?NONE|ANY|BROWSER))*)$"},{key:"bool",label:"Boolean value",description:"",type:"boolean",collection:!1,value:!1,values:[]},{key:"select",label:"Select",type:"",collection:!1,value:"Two",values:["One","Two","Three"]},{key:"multiselect",label:"Multiselect",type:"",collection:!0,value:["Angular","JavaScript"],values:["Angular","JavaScript","WebDevelopment"]},{key:"json",label:"JSON",type:"json",collection:!1,value:'{"foo": "bar"}',values:[],required:!0}]}},276:function(e,t,n){"use strict";n.r(t);var a=n(26),i=n(210);angular.module("graphdb.framework.rest.graphql.service",[]).factory("GraphqlRestService",o),o.$inject=["$http","Upload"];function o(e,t){new i.GraphqlRestServiceMock;return{getEndpoints:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/endpoints"))},getEndpointsInfo:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/list"))},getGraphqlSchemaShapes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/graphql_shapes"))},getPrefixes:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/prefixes"))},getShaclShapeGraphs:function(t){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/shacl_graphs"))},getGraphqlGenerationSettings:function(){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/graphql/manage/generate/config"))},getGraphqlEndpointConfigurationSettings:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/config"))},getEndpointConfiguration:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},editEndpointConfiguration:function(t,n,i){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n),i)},deleteEndpoint:function(t,n){return e.delete("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n))},generateEndpointFromGraphqlShapes:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/graphql_shapes"),n)},generateEndpointFromOwl:function(t,n){return e.post("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/generate/owl_shacl"),n)},exportEndpointDefinition:function(t,n){return e.get("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/export"),{responseType:"blob"})},importEndpointDefinition:function(e,n){return t.http({url:"".concat(a.REPOSITORIES_ENDPOINT,"/").concat(e,"/graphql/manage/endpoints/import"),data:n,headers:{"Content-Type":void 0}})},deleteEndpointGenerationReport:function(t,n){return e.patch("".concat(a.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/manage/endpoints/").concat(n,"/messages"))}}}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[146,369],{238:function(e,t,n){"use strict";n.r(t);n(10),n(54);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{var r=getError(n.data);t.error(r,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){var 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,c){e.loadingLicense=function(){return n.loadingLicense()},n.checkLicenseStatus(),e.removeLicense=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("remove.license.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus().then((function(){return c.applyTrackingConsent()})).catch((function(e){var t=getError(e.data,e.status);r.error(t,o.instant("common.error"))}))}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;var a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){n.present?(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){var n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(e){i.error(e,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){var 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","TrackingService"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},364:function(e,t,n){"use strict";n.r(t);n(10),n(52),n(35),n(238),n(65),n(66),n(54),n(98),n(99);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([[147,369],{238:function(e,t,n){"use strict";n.r(t);n(10),n(54);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{var r=getError(n.data);t.error(r,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){var 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,c){e.loadingLicense=function(){return n.loadingLicense()},n.checkLicenseStatus(),e.removeLicense=function(){s.openSimpleModal({title:o.instant("confirm.operation"),message:o.instant("remove.license.warning.msg"),warning:!0}).result.then((function(){t.unregisterLicense().success((function(){n.checkLicenseStatus().then((function(){return c.applyTrackingConsent()})).catch((function(e){var t=getError(e.data,e.status);r.error(t,o.instant("common.error"))}))}))}))}}function s(e,t,n,r,i,s,o,c){e.$on("securityInit",(function(){o.isAdmin()||n.path("/license")})),e.sendLicenseToValidateAndActivate=l;var a=$(".license-textarea");function l(e){t.sendLicenseToValidate(e).success((function(n){n.present?(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){var n=atob(e.replace(/\s/g,""));t.registerLicense(n).success((function(){s.history.back()})).error((function(e){i.error(e,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){var 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","TrackingService"],s.$inject=["$scope","LicenseRestService","$location","$uibModal","toastr","$window","$jwtAuth","$translate"],o.$inject=["$scope","$uibModalInstance","license"],c.$inject=["$scope"]},364:function(e,t,n){"use strict";n.r(t);n(10),n(52),n(35),n(238),n(65),n(66),n(54),n(98),n(99);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([[147,390],{168:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return a}));var a={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},271:function(e,n,r){"use strict";r.r(n);var a=r(168);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(n,r){var o="".concat(e(),"?").concat(a.RouteConstants.savedQueryName,"=").concat(encodeURIComponent(n));null!=r&&(o+="&".concat(a.RouteConstants.savedQueryOwner,"=").concat(encodeURIComponent(r)));return o},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("")}}))}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[148,390],{168:function(e,n,r){"use strict";r.r(n),r.d(n,"RouteConstants",(function(){return a}));var a={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},271:function(e,n,r){"use strict";r.r(n);var a=r(168);angular.module("graphdb.framework.sparql-editor.share-query.service",[]).factory("ShareQueryLinkService",(function(){return{createShareSavedQueryLink:function(n,r){var o="".concat(e(),"?").concat(a.RouteConstants.savedQueryName,"=").concat(encodeURIComponent(n));null!=r&&(o+="&".concat(a.RouteConstants.savedQueryOwner,"=").concat(encodeURIComponent(r)));return o},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("")}}))}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[148,383],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return c}));var i=n(24);function a(e){var t=void 0,n=void 0,a=void 0,o=void 0,E={},r=void 0,u=!1,A=function(){return Object(i.cloneDeep)(t)},T=function(){return Object(i.cloneDeep)(n)},d=function(e){n=Object(i.cloneDeep)(e),D(c.CHAT_LIST_UPDATED,T())},l=function(){return Object(i.cloneDeep)(a)},C=function(){return Object(i.cloneDeep)(o)},s=function(){return Object(i.cloneDeep)(E)},_=function(e){return!!E[e]},g=function(){return u},D=function(t,n){e.emitSync(t,Object(i.cloneDeep)(n))},S=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){t=void 0,n=void 0,a=void 0,o=void 0,E={},r=void 0,u=!1},emit:D,subscribe:S,getChats:T,updateChats:d,addChat:function(e){n.appendChat(e),d(n)},replaceChat:function(e,t){n.replaceChat(e,t),d(n)},onChatsListChanged:function(e){return n&&angular.isFunction(e)&&e(T()),S(c.CHAT_LIST_UPDATED,(function(t){return e(t)}))},getSelectedChat:l,selectChat:function(e){a&&a.id===e.id||(a=Object(i.cloneDeep)(e),D(c.SELECT_CHAT,l()))},deselectChat:function(){a=void 0,D(c.SELECT_CHAT,l())},deleteChat:function(e){n.deleteChat(e),d(n)},onSelectedChatChanged:function(e){return angular.isFunction(e)&&e(l()),S(c.SELECT_CHAT,(function(t){return e(t)}))},updateSelectedChat:function(e){a&&a.id&&e&&a.id!==e.id||(a=Object(i.cloneDeep)(e),D(c.SELECTED_CHAT_UPDATED,l()))},onSelectedChatUpdated:function(e){return a&&angular.isFunction(e)&&e(l()),S(c.SELECTED_CHAT_UPDATED,(function(t){return e(t)}))},onLastMessageReceived:function(e){return a&&angular.isFunction(e)&&e(l()),S(c.LAST_MESSAGE_RECEIVED,(function(t){return e(t)}))},updateAgents:function(e){t=Object(i.cloneDeep)(e),D(c.AGENT_LIST_UPDATED,A())},onAgentsListChanged:function(e){return t&&angular.isFunction(e)&&e(A()),S(c.AGENT_LIST_UPDATED,(function(t){return e(t)}))},getAgents:A,getAgent:function(e){if(t)return Object(i.cloneDeep)(t.getAgent(e))},selectAgent:function(e){o=Object(i.cloneDeep)(e),D(c.AGENT_SELECTED,C())},getSelectedAgent:C,onSelectedAgentChanged:function(e){return o&&angular.isFunction(e)&&e(C()),S(c.AGENT_SELECTED,(function(t){return e(t)}))},getDefaultAgent:function(){return Object(i.cloneDeep)(r)},setDefaultAgent:function(e){r=e},setCanModifyAgent:function(e){u=Object(i.cloneDeep)(e),D(c.CAN_MODIFY_AGENT_UPDATED,g())},getCanModifyAgent:g,onCanUpdateAgentUpdated:function(e){return angular.isFunction(e)&&e(g()),S(c.CAN_MODIFY_AGENT_UPDATED,(function(t){return e(t)}))},hasExplainResponse:_,toggleExplainResponse:function(e){_(e)&&(E[e].expanded=!E[e].expanded,D(c.EXPLAIN_RESPONSE_CACHE_UPDATED,s()))},getExplainResponse:function(e){return Object(i.cloneDeep)(E[e])},addExplainResponseCache:function(e){E[e.answerId]=Object(i.cloneDeep)(e),D(c.EXPLAIN_RESPONSE_CACHE_UPDATED,s())},onExplainResponseCacheUpdated:function(e){return angular.isFunction(e)&&e(s()),S(c.EXPLAIN_RESPONSE_CACHE_UPDATED,(function(t){return e(t)}))}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];var c={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},241:function(e,t,n){"use strict";n.r(t);var i=n(1),a=n(102);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:function(c,o,E){c.selectedAgent=void 0,c.selectedAgentsFilter=void 0,c.deletingAgent=void 0,c.onEditAgent=function(t){e.emit(a.TTYGEventName.EDIT_AGENT,t)},c.onCloneAgent=function(t){e.emit(a.TTYGEventName.CLONE_AGENT,t)},c.onDeleteAgent=function(c){var o=n.instant("ttyg.agent.delete_agent_modal.title"),E=Object(i.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:c.name}));t.openConfirmation(o,E,(function(){return e.emit(a.TTYGEventName.DELETE_AGENT,c)}))},c.onAgentsFilterChange=function(e){c.selectedAgentsFilter=e,c.selectedAgentsFilter&&c.agentList.filterByRepository(c.selectedAgentsFilter.key)};var r=function(){var e=c.agentListFilterModel.find((function(e){return e.selected}));c.selectedAgentsFilter=e||c.agentListFilterModel[0],c.onAgentsFilterChange(c.selectedAgentsFilter)},u=[];u.push(c.$watch("agentListFilterModel",r)),u.push(e.subscribe(a.TTYGEventName.DELETING_AGENT,(function(e){c.deletingAgent=e}))),u.push(e.onSelectedAgentChanged((function(e){c.selectedAgent=e}))),c.$on("$destroy",(function(){u.forEach((function(e){return e()}))})),r()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",c),c.$inject=["TTYGContextService","ModalService","$translate"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[149,383],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return c}));var i=n(24);function a(e){var t=void 0,n=void 0,a=void 0,o=void 0,E={},r=void 0,u=!1,A=function(){return Object(i.cloneDeep)(t)},T=function(){return Object(i.cloneDeep)(n)},d=function(e){n=Object(i.cloneDeep)(e),D(c.CHAT_LIST_UPDATED,T())},l=function(){return Object(i.cloneDeep)(a)},C=function(){return Object(i.cloneDeep)(o)},s=function(){return Object(i.cloneDeep)(E)},_=function(e){return!!E[e]},g=function(){return u},D=function(t,n){e.emitSync(t,Object(i.cloneDeep)(n))},S=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){t=void 0,n=void 0,a=void 0,o=void 0,E={},r=void 0,u=!1},emit:D,subscribe:S,getChats:T,updateChats:d,addChat:function(e){n.appendChat(e),d(n)},replaceChat:function(e,t){n.replaceChat(e,t),d(n)},onChatsListChanged:function(e){return n&&angular.isFunction(e)&&e(T()),S(c.CHAT_LIST_UPDATED,(function(t){return e(t)}))},getSelectedChat:l,selectChat:function(e){a&&a.id===e.id||(a=Object(i.cloneDeep)(e),D(c.SELECT_CHAT,l()))},deselectChat:function(){a=void 0,D(c.SELECT_CHAT,l())},deleteChat:function(e){n.deleteChat(e),d(n)},onSelectedChatChanged:function(e){return angular.isFunction(e)&&e(l()),S(c.SELECT_CHAT,(function(t){return e(t)}))},updateSelectedChat:function(e){a&&a.id&&e&&a.id!==e.id||(a=Object(i.cloneDeep)(e),D(c.SELECTED_CHAT_UPDATED,l()))},onSelectedChatUpdated:function(e){return a&&angular.isFunction(e)&&e(l()),S(c.SELECTED_CHAT_UPDATED,(function(t){return e(t)}))},onLastMessageReceived:function(e){return a&&angular.isFunction(e)&&e(l()),S(c.LAST_MESSAGE_RECEIVED,(function(t){return e(t)}))},updateAgents:function(e){t=Object(i.cloneDeep)(e),D(c.AGENT_LIST_UPDATED,A())},onAgentsListChanged:function(e){return t&&angular.isFunction(e)&&e(A()),S(c.AGENT_LIST_UPDATED,(function(t){return e(t)}))},getAgents:A,getAgent:function(e){if(t)return Object(i.cloneDeep)(t.getAgent(e))},selectAgent:function(e){o=Object(i.cloneDeep)(e),D(c.AGENT_SELECTED,C())},getSelectedAgent:C,onSelectedAgentChanged:function(e){return o&&angular.isFunction(e)&&e(C()),S(c.AGENT_SELECTED,(function(t){return e(t)}))},getDefaultAgent:function(){return Object(i.cloneDeep)(r)},setDefaultAgent:function(e){r=e},setCanModifyAgent:function(e){u=Object(i.cloneDeep)(e),D(c.CAN_MODIFY_AGENT_UPDATED,g())},getCanModifyAgent:g,onCanUpdateAgentUpdated:function(e){return angular.isFunction(e)&&e(g()),S(c.CAN_MODIFY_AGENT_UPDATED,(function(t){return e(t)}))},hasExplainResponse:_,toggleExplainResponse:function(e){_(e)&&(E[e].expanded=!E[e].expanded,D(c.EXPLAIN_RESPONSE_CACHE_UPDATED,s()))},getExplainResponse:function(e){return Object(i.cloneDeep)(E[e])},addExplainResponseCache:function(e){E[e.answerId]=Object(i.cloneDeep)(e),D(c.EXPLAIN_RESPONSE_CACHE_UPDATED,s())},onExplainResponseCacheUpdated:function(e){return angular.isFunction(e)&&e(s()),S(c.EXPLAIN_RESPONSE_CACHE_UPDATED,(function(t){return e(t)}))}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];var c={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},241:function(e,t,n){"use strict";n.r(t);var i=n(1),a=n(102);function c(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:function(c,o,E){c.selectedAgent=void 0,c.selectedAgentsFilter=void 0,c.deletingAgent=void 0,c.onEditAgent=function(t){e.emit(a.TTYGEventName.EDIT_AGENT,t)},c.onCloneAgent=function(t){e.emit(a.TTYGEventName.CLONE_AGENT,t)},c.onDeleteAgent=function(c){var o=n.instant("ttyg.agent.delete_agent_modal.title"),E=Object(i.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:c.name}));t.openConfirmation(o,E,(function(){return e.emit(a.TTYGEventName.DELETE_AGENT,c)}))},c.onAgentsFilterChange=function(e){c.selectedAgentsFilter=e,c.selectedAgentsFilter&&c.agentList.filterByRepository(c.selectedAgentsFilter.key)};var r=function(){var e=c.agentListFilterModel.find((function(e){return e.selected}));c.selectedAgentsFilter=e||c.agentListFilterModel[0],c.onAgentsFilterChange(c.selectedAgentsFilter)},u=[];u.push(c.$watch("agentListFilterModel",r)),u.push(e.subscribe(a.TTYGEventName.DELETING_AGENT,(function(e){c.deletingAgent=e}))),u.push(e.onSelectedAgentChanged((function(e){c.selectedAgent=e}))),c.$on("$destroy",(function(){u.forEach((function(e){return e()}))})),r()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",c),c.$inject=["TTYGContextService","ModalService","$translate"]}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[15,26,125,263,264],{105:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return o}));var o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},151:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},227:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceTreeElement",(function(){return f}));var o=r(105),n=r(24);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function c(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,l(o.key),o)}}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}return t=e,(r=[{key:"addResource",value:function(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}},{key:"removeResource",value:function(e){e.isFile()?this.files=this.files.filter((function(t){return e.importResource.name!==t.importResource.name})):this.directories=this.directories.filter((function(t){return e.importResource.name!==t.importResource.name}))}},{key:"remove",value:function(){this.isRoot()||this.parent.removeResource(this)}},{key:"getOrCreateDirectory",value:function(t){var r=this.directories.find((function(e){return e.name===t}));return r||((r=new e).name=t,this.directories.push(r)),r}},{key:"getRoot",value:function(){return this.isRoot()?this:this.parent.getRoot()}},{key:"isRoot",value:function(){return void 0===this.parent}},{key:"isDirectory",value:function(){return this.importResource.isDirectory()}},{key:"isFile",value:function(){return!this.isRoot()&&this.importResource.isFile()}},{key:"isEmpty",value:function(){return 0===this.directories.length&&0===this.files.length}},{key:"toList",value:function(){var e=[];return this.parent&&e.push(this),this.directories.forEach((function(t){e.push.apply(e,s(t.toList()))})),e.push.apply(e,s(this.files)),e}},{key:"setSelection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.selected=e,this.files.forEach((function(t){return t.setSelection(e,!1)})),this.directories.forEach((function(t){return t.setSelection(e,!1)})),t&&this.getRoot().updateSelectionState()}},{key:"updateSelectionState",value:function(){if(this.directories.forEach((function(e){return e.updateSelectionState()})),this.parent&&this.isDirectory()){var e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}},{key:"hasUnselectedChildren",value:function(){return this.files.some((function(e){return!e.selected}))||this.directories.some((function(e){return!e.selected||e.hasUnselectedChildren()}))}},{key:"hasSelectedChildren",value:function(){return this.files.some((function(e){return e.selected}))||this.directories.some((function(e){return e.selected||e.hasSelectedChildren()}))}},{key:"selectAllWithStatus",value:function(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach((function(t){return t.selectAllWithStatus(e)})),this.directories.forEach((function(t){return t.selectAllWithStatus(e)}))}},{key:"getAllSelectedForImport",value:function(){var e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedForImport()))})),this.directories.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedForImport()))}))),Object(n.cloneDeep)(e)}},{key:"getAllSelected",value:function(){var e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach((function(t){return e.push.apply(e,s(t.getAllSelected()))})),this.directories.forEach((function(t){return e.push.apply(e,s(t.getAllSelected()))})),Object(n.cloneDeep)(e)}},{key:"getSelectedImportedResources",value:function(){return this.getAllSelected().some((function(e){return e.importResource.status===o.ImportResourceStatus.DONE}))}},{key:"deselectAll",value:function(){this.files.forEach((function(e){return e.deselectAll()})),this.directories.forEach((function(e){return e.deselectAll()})),this.selected=!1,this.partialSelected=!1}},{key:"getAllSelectedFiles",value:function(){var e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedFiles()))})),this.directories.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedFiles()))})),e}},{key:"getAllSelectedFilesNames",value:function(){return this.getAllSelectedFiles().map((function(e){return e.name}))}},{key:"getResourceByName",value:function(e){if(this.importResource&&this.importResource.name===e)return this;var t=this.files.find((function(t){return t.importResource.name===e}));if(t)return t;var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}(this.directories);try{for(o.s();!(r=o.n()).done;){var n=r.value.getResourceByName(e);if(n)return n}}catch(e){o.e(e)}finally{o.f()}return null}},{key:"hasTextInResourcesName",value:function(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||!!this.files.some((function(t){return t.importResource.name.toLowerCase().includes(e.toLowerCase())}))||this.directories.some((function(t){return t.hasTextInDirectoriesName(e)}))}},{key:"hasTextInDirectoriesName",value:function(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some((function(t){return t.hasTextInDirectoriesName(e)}))}},{key:"hasTextInFilesName",value:function(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||!!this.files.some((function(t){return t.importResource.name.toLowerCase().includes(e.toLowerCase())}))||this.directories.some((function(t){return t.hasTextInFilesName(e)}))}},{key:"sort",value:function(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach((function(t){return t.sort(e)}))}},{key:"getSize",value:function(){return this.toList().length}}])&&c(t.prototype,r),i&&c(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,i}()},333:function(e,t,r){"use strict";r.r(t),r.d(t,"INDENT",(function(){return c})),r.d(t,"serverImportResourceTypeToIconMapping",(function(){return l})),r.d(t,"userImportResourceTypeToIconMapping",(function(){return f})),r.d(t,"ImportResourceTreeService",(function(){return p}));var o=r(151),n=r(227),i=r(105);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function a(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}var c=30,l=new Map;l.set(o.ImportResourceType.DIRECTORY,"icon-folder"),l.set(o.ImportResourceType.FILE,"icon-file");var f=new Map;f.set(o.ImportResourceType.DIRECTORY,"icon-folder"),f.set(o.ImportResourceType.FILE,"icon-upload"),f.set(o.ImportResourceType.URL,"icon-link"),f.set(o.ImportResourceType.TEXT,"icon-sparql");var p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,o=[{key:"toImportResourceTree",value:function(t,r){var o=new n.ImportResourceTreeElement;return t.forEach((function(t){e.addResourceToTree(o,t,r)})),o}},{key:"mergeResourceTree",value:function(t,r,o){t.getRoot().toList().forEach((function(e){r.find((function(t){return t.name===e.importResource.name}))||e.remove()})),r.forEach((function(r){var n=t.getResourceByName(r.name);n?n.importResource=r:e.addResourceToTree(t,r,o)}))}},{key:"addResourceToTree",value:function(t,r,o){var i,s=e.getPath(r);i=r.isDirectory()?s:s.slice(0,s.length-1);var u=e.getOrCreateParent(t,i);if(r.isFile()){var a=new n.ImportResourceTreeElement;return a.parent=u,a.importResource=r,a.path=s.join("/"),a.name=s[s.length-1],u.addResource(a),e.setIcon(a,o),a}return u.importResource=r,u.path=s.join("/"),e.setIcon(u,o),u}},{key:"setIcon",value:function(e,t){e.iconClass=t?f.get(e.importResource.type):l.get(e.importResource.type)}},{key:"getOrCreateParent",value:function(e,t){var r=e;return t.forEach((function(e){var t=r.getOrCreateDirectory(e);t.parent=r,r=t})),r}},{key:"getPath",value:function(e){if(e.isURL())return[e.name];var t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}},{key:"calculateElementIndent",value:function(t){t.indent=8+e.getParentsCount(t)*c+"px",t.directories.forEach((function(t){return e.calculateElementIndent(t)})),t.files.forEach((function(t){return e.calculateElementIndent(t)}))}},{key:"setupAfterTreeInitProperties",value:function(t){t.isRoot()||(t.isImportable=e.isImportable(t.importResource),t.hasOngoingImport=e.hasOngoingImport(t.importResource),t.canResetStatus=e.canResetStatus(t.importResource),t.hasStatusInfo="DONE"===t.importResource.status||"ERROR"===t.importResource.status,t.isEditable=t.importResource.isText(),e.setupShortenedMessage(t),e.setupShortenedContext(t),e.setupShortenedName(t),e.setupImportedAndModifiedComparableProperties(t)),t.directories.forEach((function(t){return e.setupAfterTreeInitProperties(t)})),t.files.forEach((function(t){return e.setupAfterTreeInitProperties(t)}))}},{key:"setupShortenedMessage",value:function(e){var t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}},{key:"setupShortenedContext",value:function(e){var t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}},{key:"setupShortenedName",value:function(e){var t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}},{key:"setupImportedAndModifiedComparableProperties",value:function(e){var t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}},{key:"isImportable",value:function(e){return e.status!==i.ImportResourceStatus.IMPORTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.PENDING&&e.status!==i.ImportResourceStatus.INTERRUPTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.UPLOADED&&e.status!==i.ImportResourceStatus.UPLOAD_ERROR}},{key:"hasOngoingImport",value:function(e){return e.status===i.ImportResourceStatus.IMPORTING||e.status===i.ImportResourceStatus.UPLOADING||e.status===i.ImportResourceStatus.PENDING||e.status===i.ImportResourceStatus.INTERRUPTING}},{key:"canResetStatus",value:function(e){return e.status===i.ImportResourceStatus.DONE||e.status===i.ImportResourceStatus.ERROR}},{key:"getParentsCount",value:function(e){var t=0;if(void 0===e.parent)return t;for(var r=e.parent;r;)r=r.parent,t++;return t-1}}],(r=null)&&u(t.prototype,r),o&&u(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,o}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[15,26,126,263,264],{105:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return o}));var o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},152:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},227:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceTreeElement",(function(){return f}));var o=r(105),n=r(24);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function c(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,l(o.key),o)}}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}return t=e,(r=[{key:"addResource",value:function(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}},{key:"removeResource",value:function(e){e.isFile()?this.files=this.files.filter((function(t){return e.importResource.name!==t.importResource.name})):this.directories=this.directories.filter((function(t){return e.importResource.name!==t.importResource.name}))}},{key:"remove",value:function(){this.isRoot()||this.parent.removeResource(this)}},{key:"getOrCreateDirectory",value:function(t){var r=this.directories.find((function(e){return e.name===t}));return r||((r=new e).name=t,this.directories.push(r)),r}},{key:"getRoot",value:function(){return this.isRoot()?this:this.parent.getRoot()}},{key:"isRoot",value:function(){return void 0===this.parent}},{key:"isDirectory",value:function(){return this.importResource.isDirectory()}},{key:"isFile",value:function(){return!this.isRoot()&&this.importResource.isFile()}},{key:"isEmpty",value:function(){return 0===this.directories.length&&0===this.files.length}},{key:"toList",value:function(){var e=[];return this.parent&&e.push(this),this.directories.forEach((function(t){e.push.apply(e,s(t.toList()))})),e.push.apply(e,s(this.files)),e}},{key:"setSelection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.selected=e,this.files.forEach((function(t){return t.setSelection(e,!1)})),this.directories.forEach((function(t){return t.setSelection(e,!1)})),t&&this.getRoot().updateSelectionState()}},{key:"updateSelectionState",value:function(){if(this.directories.forEach((function(e){return e.updateSelectionState()})),this.parent&&this.isDirectory()){var e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}},{key:"hasUnselectedChildren",value:function(){return this.files.some((function(e){return!e.selected}))||this.directories.some((function(e){return!e.selected||e.hasUnselectedChildren()}))}},{key:"hasSelectedChildren",value:function(){return this.files.some((function(e){return e.selected}))||this.directories.some((function(e){return e.selected||e.hasSelectedChildren()}))}},{key:"selectAllWithStatus",value:function(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach((function(t){return t.selectAllWithStatus(e)})),this.directories.forEach((function(t){return t.selectAllWithStatus(e)}))}},{key:"getAllSelectedForImport",value:function(){var e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedForImport()))})),this.directories.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedForImport()))}))),Object(n.cloneDeep)(e)}},{key:"getAllSelected",value:function(){var e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach((function(t){return e.push.apply(e,s(t.getAllSelected()))})),this.directories.forEach((function(t){return e.push.apply(e,s(t.getAllSelected()))})),Object(n.cloneDeep)(e)}},{key:"getSelectedImportedResources",value:function(){return this.getAllSelected().some((function(e){return e.importResource.status===o.ImportResourceStatus.DONE}))}},{key:"deselectAll",value:function(){this.files.forEach((function(e){return e.deselectAll()})),this.directories.forEach((function(e){return e.deselectAll()})),this.selected=!1,this.partialSelected=!1}},{key:"getAllSelectedFiles",value:function(){var e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedFiles()))})),this.directories.forEach((function(t){return e.push.apply(e,s(t.getAllSelectedFiles()))})),e}},{key:"getAllSelectedFilesNames",value:function(){return this.getAllSelectedFiles().map((function(e){return e.name}))}},{key:"getResourceByName",value:function(e){if(this.importResource&&this.importResource.name===e)return this;var t=this.files.find((function(t){return t.importResource.name===e}));if(t)return t;var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}(this.directories);try{for(o.s();!(r=o.n()).done;){var n=r.value.getResourceByName(e);if(n)return n}}catch(e){o.e(e)}finally{o.f()}return null}},{key:"hasTextInResourcesName",value:function(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||!!this.files.some((function(t){return t.importResource.name.toLowerCase().includes(e.toLowerCase())}))||this.directories.some((function(t){return t.hasTextInDirectoriesName(e)}))}},{key:"hasTextInDirectoriesName",value:function(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some((function(t){return t.hasTextInDirectoriesName(e)}))}},{key:"hasTextInFilesName",value:function(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||!!this.files.some((function(t){return t.importResource.name.toLowerCase().includes(e.toLowerCase())}))||this.directories.some((function(t){return t.hasTextInFilesName(e)}))}},{key:"sort",value:function(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach((function(t){return t.sort(e)}))}},{key:"getSize",value:function(){return this.toList().length}}])&&c(t.prototype,r),i&&c(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,i}()},333:function(e,t,r){"use strict";r.r(t),r.d(t,"INDENT",(function(){return c})),r.d(t,"serverImportResourceTypeToIconMapping",(function(){return l})),r.d(t,"userImportResourceTypeToIconMapping",(function(){return f})),r.d(t,"ImportResourceTreeService",(function(){return p}));var o=r(152),n=r(227),i=r(105);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function a(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=s(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}var c=30,l=new Map;l.set(o.ImportResourceType.DIRECTORY,"icon-folder"),l.set(o.ImportResourceType.FILE,"icon-file");var f=new Map;f.set(o.ImportResourceType.DIRECTORY,"icon-folder"),f.set(o.ImportResourceType.FILE,"icon-upload"),f.set(o.ImportResourceType.URL,"icon-link"),f.set(o.ImportResourceType.TEXT,"icon-sparql");var p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,o=[{key:"toImportResourceTree",value:function(t,r){var o=new n.ImportResourceTreeElement;return t.forEach((function(t){e.addResourceToTree(o,t,r)})),o}},{key:"mergeResourceTree",value:function(t,r,o){t.getRoot().toList().forEach((function(e){r.find((function(t){return t.name===e.importResource.name}))||e.remove()})),r.forEach((function(r){var n=t.getResourceByName(r.name);n?n.importResource=r:e.addResourceToTree(t,r,o)}))}},{key:"addResourceToTree",value:function(t,r,o){var i,s=e.getPath(r);i=r.isDirectory()?s:s.slice(0,s.length-1);var u=e.getOrCreateParent(t,i);if(r.isFile()){var a=new n.ImportResourceTreeElement;return a.parent=u,a.importResource=r,a.path=s.join("/"),a.name=s[s.length-1],u.addResource(a),e.setIcon(a,o),a}return u.importResource=r,u.path=s.join("/"),e.setIcon(u,o),u}},{key:"setIcon",value:function(e,t){e.iconClass=t?f.get(e.importResource.type):l.get(e.importResource.type)}},{key:"getOrCreateParent",value:function(e,t){var r=e;return t.forEach((function(e){var t=r.getOrCreateDirectory(e);t.parent=r,r=t})),r}},{key:"getPath",value:function(e){if(e.isURL())return[e.name];var t=/[/\\]/;return t.test(e.name)?e.name.split(t):[e.name]}},{key:"calculateElementIndent",value:function(t){t.indent=8+e.getParentsCount(t)*c+"px",t.directories.forEach((function(t){return e.calculateElementIndent(t)})),t.files.forEach((function(t){return e.calculateElementIndent(t)}))}},{key:"setupAfterTreeInitProperties",value:function(t){t.isRoot()||(t.isImportable=e.isImportable(t.importResource),t.hasOngoingImport=e.hasOngoingImport(t.importResource),t.canResetStatus=e.canResetStatus(t.importResource),t.hasStatusInfo="DONE"===t.importResource.status||"ERROR"===t.importResource.status,t.isEditable=t.importResource.isText(),e.setupShortenedMessage(t),e.setupShortenedContext(t),e.setupShortenedName(t),e.setupImportedAndModifiedComparableProperties(t)),t.directories.forEach((function(t){return e.setupAfterTreeInitProperties(t)})),t.files.forEach((function(t){return e.setupAfterTreeInitProperties(t)}))}},{key:"setupShortenedMessage",value:function(e){var t=e.importResource?e.importResource.message:"";t&&t.length>150&&(e.shortenedMessage=t.substring(0,150)+"...")}},{key:"setupShortenedContext",value:function(e){var t=e.importResource?e.importResource.context:"";t.length>63&&(e.shortenedContext=t.substring(0,30)+"..."+t.substring(t.length-30))}},{key:"setupShortenedName",value:function(e){var t=e.name||"";t.length>123&&(e.shortenedName=t.substring(0,30)+"..."+t.substring(t.length-30))}},{key:"setupImportedAndModifiedComparableProperties",value:function(e){var t=e.importResource;if(t){if(0===t.importedOn||0===t.modifiedOn||t.importedOn===t.modifiedOn)return;e.isImportedBiggerThanModified=t.importedOn>t.modifiedOn,e.isModifiedBiggerThanImported=!e.isImportedBiggerThanModified}}},{key:"isImportable",value:function(e){return e.status!==i.ImportResourceStatus.IMPORTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.PENDING&&e.status!==i.ImportResourceStatus.INTERRUPTING&&e.status!==i.ImportResourceStatus.UPLOADING&&e.status!==i.ImportResourceStatus.UPLOADED&&e.status!==i.ImportResourceStatus.UPLOAD_ERROR}},{key:"hasOngoingImport",value:function(e){return e.status===i.ImportResourceStatus.IMPORTING||e.status===i.ImportResourceStatus.UPLOADING||e.status===i.ImportResourceStatus.PENDING||e.status===i.ImportResourceStatus.INTERRUPTING}},{key:"canResetStatus",value:function(e){return e.status===i.ImportResourceStatus.DONE||e.status===i.ImportResourceStatus.ERROR}},{key:"getParentsCount",value:function(e){var t=0;if(void 0===e.parent)return t;for(var r=e.parent;r;)r=r.parent,t++;return t-1}}],(r=null)&&u(t.prototype,r),o&&u(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,o}()}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[149,383],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var c=n(24);function a(e){var t=void 0,n=void 0,a=void 0,o=void 0,E={},u=void 0,r=!1,A=function(){return Object(c.cloneDeep)(t)},T=function(){return Object(c.cloneDeep)(n)},d=function(e){n=Object(c.cloneDeep)(e),D(i.CHAT_LIST_UPDATED,T())},s=function(){return Object(c.cloneDeep)(a)},C=function(){return Object(c.cloneDeep)(o)},l=function(){return Object(c.cloneDeep)(E)},_=function(e){return!!E[e]},g=function(){return r},D=function(t,n){e.emitSync(t,Object(c.cloneDeep)(n))},S=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){t=void 0,n=void 0,a=void 0,o=void 0,E={},u=void 0,r=!1},emit:D,subscribe:S,getChats:T,updateChats:d,addChat:function(e){n.appendChat(e),d(n)},replaceChat:function(e,t){n.replaceChat(e,t),d(n)},onChatsListChanged:function(e){return n&&angular.isFunction(e)&&e(T()),S(i.CHAT_LIST_UPDATED,(function(t){return e(t)}))},getSelectedChat:s,selectChat:function(e){a&&a.id===e.id||(a=Object(c.cloneDeep)(e),D(i.SELECT_CHAT,s()))},deselectChat:function(){a=void 0,D(i.SELECT_CHAT,s())},deleteChat:function(e){n.deleteChat(e),d(n)},onSelectedChatChanged:function(e){return angular.isFunction(e)&&e(s()),S(i.SELECT_CHAT,(function(t){return e(t)}))},updateSelectedChat:function(e){a&&a.id&&e&&a.id!==e.id||(a=Object(c.cloneDeep)(e),D(i.SELECTED_CHAT_UPDATED,s()))},onSelectedChatUpdated:function(e){return a&&angular.isFunction(e)&&e(s()),S(i.SELECTED_CHAT_UPDATED,(function(t){return e(t)}))},onLastMessageReceived:function(e){return a&&angular.isFunction(e)&&e(s()),S(i.LAST_MESSAGE_RECEIVED,(function(t){return e(t)}))},updateAgents:function(e){t=Object(c.cloneDeep)(e),D(i.AGENT_LIST_UPDATED,A())},onAgentsListChanged:function(e){return t&&angular.isFunction(e)&&e(A()),S(i.AGENT_LIST_UPDATED,(function(t){return e(t)}))},getAgents:A,getAgent:function(e){if(t)return Object(c.cloneDeep)(t.getAgent(e))},selectAgent:function(e){o=Object(c.cloneDeep)(e),D(i.AGENT_SELECTED,C())},getSelectedAgent:C,onSelectedAgentChanged:function(e){return o&&angular.isFunction(e)&&e(C()),S(i.AGENT_SELECTED,(function(t){return e(t)}))},getDefaultAgent:function(){return Object(c.cloneDeep)(u)},setDefaultAgent:function(e){u=e},setCanModifyAgent:function(e){r=Object(c.cloneDeep)(e),D(i.CAN_MODIFY_AGENT_UPDATED,g())},getCanModifyAgent:g,onCanUpdateAgentUpdated:function(e){return angular.isFunction(e)&&e(g()),S(i.CAN_MODIFY_AGENT_UPDATED,(function(t){return e(t)}))},hasExplainResponse:_,toggleExplainResponse:function(e){_(e)&&(E[e].expanded=!E[e].expanded,D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,l()))},getExplainResponse:function(e){return Object(c.cloneDeep)(E[e])},addExplainResponseCache:function(e){E[e.answerId]=Object(c.cloneDeep)(e),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,l())},onExplainResponseCacheUpdated:function(e){return angular.isFunction(e)&&e(l()),S(i.EXPLAIN_RESPONSE_CACHE_UPDATED,(function(t){return e(t)}))}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];var i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},242:function(e,t,n){"use strict";n.r(t);var c=n(25),a=n(102);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:function(n){n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=function(c){if(o(c),n.selectedAgent=c,e.selectAgent(c),c.isRepositoryDeleted){var E=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),u=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(E,u,(function(){return e.emit(a.TTYGEventName.EDIT_AGENT,c)}))}};var o=function(e){n.agentOptionsList.forEach((function(t){t.selected=t.data.agent===e}))},E=function(e){n.agentOptionsList=e.agents.map((function(e){return new c.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}})}))},u=[];u.push(e.onAgentsListChanged((function(e){E(e)}))),u.push(e.subscribe(a.TTYGEventName.AGENT_DELETED,(function(t){n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))}))),u.push(e.onSelectedAgentChanged((function(e){o(e),n.selectedAgent=e}))),n.$on("$destroy",(function(){u.forEach((function(e){return e()}))}))}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[150,383],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var c=n(24);function a(e){var t=void 0,n=void 0,a=void 0,o=void 0,E={},u=void 0,r=!1,A=function(){return Object(c.cloneDeep)(t)},T=function(){return Object(c.cloneDeep)(n)},d=function(e){n=Object(c.cloneDeep)(e),D(i.CHAT_LIST_UPDATED,T())},s=function(){return Object(c.cloneDeep)(a)},C=function(){return Object(c.cloneDeep)(o)},l=function(){return Object(c.cloneDeep)(E)},_=function(e){return!!E[e]},g=function(){return r},D=function(t,n){e.emitSync(t,Object(c.cloneDeep)(n))},S=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){t=void 0,n=void 0,a=void 0,o=void 0,E={},u=void 0,r=!1},emit:D,subscribe:S,getChats:T,updateChats:d,addChat:function(e){n.appendChat(e),d(n)},replaceChat:function(e,t){n.replaceChat(e,t),d(n)},onChatsListChanged:function(e){return n&&angular.isFunction(e)&&e(T()),S(i.CHAT_LIST_UPDATED,(function(t){return e(t)}))},getSelectedChat:s,selectChat:function(e){a&&a.id===e.id||(a=Object(c.cloneDeep)(e),D(i.SELECT_CHAT,s()))},deselectChat:function(){a=void 0,D(i.SELECT_CHAT,s())},deleteChat:function(e){n.deleteChat(e),d(n)},onSelectedChatChanged:function(e){return angular.isFunction(e)&&e(s()),S(i.SELECT_CHAT,(function(t){return e(t)}))},updateSelectedChat:function(e){a&&a.id&&e&&a.id!==e.id||(a=Object(c.cloneDeep)(e),D(i.SELECTED_CHAT_UPDATED,s()))},onSelectedChatUpdated:function(e){return a&&angular.isFunction(e)&&e(s()),S(i.SELECTED_CHAT_UPDATED,(function(t){return e(t)}))},onLastMessageReceived:function(e){return a&&angular.isFunction(e)&&e(s()),S(i.LAST_MESSAGE_RECEIVED,(function(t){return e(t)}))},updateAgents:function(e){t=Object(c.cloneDeep)(e),D(i.AGENT_LIST_UPDATED,A())},onAgentsListChanged:function(e){return t&&angular.isFunction(e)&&e(A()),S(i.AGENT_LIST_UPDATED,(function(t){return e(t)}))},getAgents:A,getAgent:function(e){if(t)return Object(c.cloneDeep)(t.getAgent(e))},selectAgent:function(e){o=Object(c.cloneDeep)(e),D(i.AGENT_SELECTED,C())},getSelectedAgent:C,onSelectedAgentChanged:function(e){return o&&angular.isFunction(e)&&e(C()),S(i.AGENT_SELECTED,(function(t){return e(t)}))},getDefaultAgent:function(){return Object(c.cloneDeep)(u)},setDefaultAgent:function(e){u=e},setCanModifyAgent:function(e){r=Object(c.cloneDeep)(e),D(i.CAN_MODIFY_AGENT_UPDATED,g())},getCanModifyAgent:g,onCanUpdateAgentUpdated:function(e){return angular.isFunction(e)&&e(g()),S(i.CAN_MODIFY_AGENT_UPDATED,(function(t){return e(t)}))},hasExplainResponse:_,toggleExplainResponse:function(e){_(e)&&(E[e].expanded=!E[e].expanded,D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,l()))},getExplainResponse:function(e){return Object(c.cloneDeep)(E[e])},addExplainResponseCache:function(e){E[e.answerId]=Object(c.cloneDeep)(e),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,l())},onExplainResponseCacheUpdated:function(e){return angular.isFunction(e)&&e(l()),S(i.EXPLAIN_RESPONSE_CACHE_UPDATED,(function(t){return e(t)}))}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];var i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},242:function(e,t,n){"use strict";n.r(t);var c=n(25),a=n(102);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:function(n){n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=function(c){if(o(c),n.selectedAgent=c,e.selectAgent(c),c.isRepositoryDeleted){var E=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),u=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(E,u,(function(){return e.emit(a.TTYGEventName.EDIT_AGENT,c)}))}};var o=function(e){n.agentOptionsList.forEach((function(t){t.selected=t.data.agent===e}))},E=function(e){n.agentOptionsList=e.agents.map((function(e){return new c.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}})}))},u=[];u.push(e.onAgentsListChanged((function(e){E(e)}))),u.push(e.subscribe(a.TTYGEventName.AGENT_DELETED,(function(t){n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))}))),u.push(e.onSelectedAgentChanged((function(e){o(e),n.selectedAgent=e}))),n.$on("$destroy",(function(){u.forEach((function(e){return e()}))}))}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]}}]);