graphdb-workbench 2.7.3-RC1 → 2.7.4-GA1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{0.77349cff52402428d9b2.bundle.js → 0.b1e292d9bf322742039f.bundle.js} +3 -3
- package/dist/{1.b01a382482194b2f51cb.bundle.js → 1.f8b4ba4afbcd1ef78e5e.bundle.js} +1 -1
- package/dist/10.a13531d41831236b5902.bundle.js +1 -0
- package/dist/100.b177ecb940aefac8c17a.bundle.js +1 -0
- package/dist/101.a67906f016a436bd4187.bundle.js +1 -0
- package/dist/102.7930c6e61d7b7cb62616.bundle.js +1 -0
- package/dist/103.26d9ddb20f2f7a74a9f9.bundle.js +1 -0
- package/dist/104.649cc4f4edf4a9c0c9f1.bundle.js +1 -0
- package/dist/105.49ff0100610609a81ef0.bundle.js +1 -0
- package/dist/106.5f098f01aef2def6dc3c.bundle.js +1 -0
- package/dist/107.970e0561789dfcf22523.bundle.js +1 -0
- package/dist/{102.1a0240ec65b7827b165e.bundle.js → 108.231281b945537663b5bc.bundle.js} +1 -1
- package/dist/{103.b1c32225b9ece4a53caf.bundle.js → 109.655a07981878fd67630a.bundle.js} +1 -1
- package/dist/11.836c3accfdde5f5e8d06.bundle.js +2 -0
- package/dist/{104.0aa23866934e732b43fb.bundle.js → 110.261c5cb7d17c6cd5a5a8.bundle.js} +1 -1
- package/dist/{105.cbbec6b78af5cb07852c.bundle.js → 111.8821134c04400895b729.bundle.js} +1 -1
- package/dist/{106.341cf62ce889712b2d85.bundle.js → 112.f470f658a3662091529b.bundle.js} +1 -1
- package/dist/{107.aedf10dde9b07831accb.bundle.js → 113.00e3c046d820cd658306.bundle.js} +1 -1
- package/dist/{108.9efa558f8ecfbea3e825.bundle.js → 114.90b2791bc94cb2b98160.bundle.js} +1 -1
- package/dist/{109.ce6a4ff7b3485c959146.bundle.js → 115.411985b4719e6ae968d9.bundle.js} +1 -1
- package/dist/{110.a53b8d7c7bcae019633e.bundle.js → 116.5f7eb3d0f5be4f615e5c.bundle.js} +1 -1
- package/dist/{111.a6a8ed7fa0e88e3b02ad.bundle.js → 117.4a437a205c897e39efc2.bundle.js} +1 -1
- package/dist/118.9ee45445a6073bdb5348.bundle.js +1 -0
- package/dist/{112.a50187c7c155bc63666b.bundle.js → 119.299ba06aa50768d7330e.bundle.js} +1 -1
- package/dist/{12.29858d4249b1dcb9afa8.bundle.js → 12.4cfac2448578e83e26fc.bundle.js} +1 -1
- package/dist/{113.c58fac0d131015bd1977.bundle.js → 120.da341fa4e5d8ebe50298.bundle.js} +1 -1
- package/dist/{114.ed6ccefb5672f2c22759.bundle.js → 121.4623c5778f1e2c345cac.bundle.js} +1 -1
- package/dist/{115.d4c967c14eee9dc32366.bundle.js → 122.89c07c9db4028bae6169.bundle.js} +1 -1
- package/dist/{116.8ecec5f32418d208fc6a.bundle.js → 123.30f3de520d166652ccab.bundle.js} +1 -1
- package/dist/{117.da95b63f1fd21743a255.bundle.js → 124.bd84fad324d7d3a03e5e.bundle.js} +1 -1
- package/dist/{118.b8a09b0e93407839c90b.bundle.js → 125.ce6f3029b2bcf56d5b28.bundle.js} +1 -1
- package/dist/{119.b4231535aed3c8d4c45a.bundle.js → 126.7089e0659fdaeec2cb13.bundle.js} +1 -1
- package/dist/{120.a8126c4f338d7c86e47e.bundle.js → 127.fb6a0e6cdd37e2ccfb3a.bundle.js} +1 -1
- package/dist/{121.71dfd143f92944037469.bundle.js → 128.d54b44fa2b2a826e5b31.bundle.js} +1 -1
- package/dist/129.fcd7ed0ba2e449adb535.bundle.js +1 -0
- package/dist/13.a6053ceaeb32a6a29b08.bundle.js +1 -0
- package/dist/{123.8a85052c1b6beb0466be.bundle.js → 130.13fc672f6387801ea3c9.bundle.js} +1 -1
- package/dist/{124.b06274da4e068e36b7b7.bundle.js → 131.3abbcc0a17a8d66467fd.bundle.js} +1 -1
- package/dist/{125.9725c0ccecbbaca411eb.bundle.js → 132.bcb85eeca1f95bfff130.bundle.js} +1 -1
- package/dist/{126.0519656523e92b7c2e06.bundle.js → 133.3956d29a8e8851fe8c99.bundle.js} +1 -1
- package/dist/{127.03d546f58c7194f4c270.bundle.js → 134.2b14e894df514b83d3c5.bundle.js} +1 -1
- package/dist/{128.a01b8403a8740da8342d.bundle.js → 135.dd0ac132069583d8944e.bundle.js} +1 -1
- package/dist/{129.b0c41b31dae7b4455c19.bundle.js → 136.9cee3e8664f8196a7e66.bundle.js} +1 -1
- package/dist/{130.5e94d21a0f44d1a194f0.bundle.js → 137.489fa0e926e85633c39b.bundle.js} +1 -1
- package/dist/{131.c10bd0390f10cfb0965d.bundle.js → 138.7751f7321141ef8ab706.bundle.js} +1 -1
- package/dist/{132.4aae04376827575bc22d.bundle.js → 139.f500006507e454ef5092.bundle.js} +1 -1
- package/dist/{13.f3dd6f228d7176959515.bundle.js → 14.0fc5f893af3fc9025971.bundle.js} +1 -1
- package/dist/{133.b2f222d0d4c72baafa9d.bundle.js → 140.8deedf7674f834895f66.bundle.js} +1 -1
- package/dist/{134.cd0fceef672f896e2ffc.bundle.js → 141.e3948d8b9cdb0c1c1b86.bundle.js} +1 -1
- package/dist/{135.3908f795e7367fb31633.bundle.js → 142.b6c8dc7c1839bb5cb484.bundle.js} +1 -1
- package/dist/{136.1a7341294ebda1ad54d0.bundle.js → 143.29dae97fae0640e14dc9.bundle.js} +1 -1
- package/dist/{137.b4466cb20bec5cc3b639.bundle.js → 144.6009c11a9d5993dc58f7.bundle.js} +1 -1
- package/dist/{138.56cdf4f02cc1ac2e5833.bundle.js → 145.dd0ec2ac9ac6f09c3f53.bundle.js} +1 -1
- package/dist/{139.ef8df087cc6f9f3d2579.bundle.js → 146.62ebbb5b2a5bfa80d735.bundle.js} +1 -1
- package/dist/{140.6a5125aed0571c6440e5.bundle.js → 147.1caf7b13474a72af47bb.bundle.js} +1 -1
- package/dist/{141.ae75738d6e213a9ff762.bundle.js → 148.3535ac68dec42e334228.bundle.js} +1 -1
- package/dist/{142.746d059fe5bcebca0456.bundle.js → 149.7eca2c1457f7c8283644.bundle.js} +1 -1
- package/dist/15.3d4d373b8bf651ab646f.bundle.js +1 -0
- package/dist/{143.a3c2abfa905f1b2dfad8.bundle.js → 150.ac0daf98854f88007565.bundle.js} +1 -1
- package/dist/{144.e41c29b4818c2ca3fb7e.bundle.js → 151.7f28de23b295a014c1a6.bundle.js} +1 -1
- package/dist/{145.3fbc97341b7fcad9c04d.bundle.js → 152.8e2534dde8249f994a35.bundle.js} +1 -1
- package/dist/{146.3f6f41448bd7e4364896.bundle.js → 153.440cf51fb81f21e29b93.bundle.js} +1 -1
- package/dist/{147.65c79c407dceae4da65f.bundle.js → 154.66d415f1ab032df2dd22.bundle.js} +1 -1
- package/dist/{148.97f633a4bea89d75cfab.bundle.js → 155.6f6592b82c3e3af9b145.bundle.js} +1 -1
- package/dist/{149.adc4322435c6a795c765.bundle.js → 156.83912ee67ed498707b13.bundle.js} +1 -1
- package/dist/{150.7fed3d06f4ba61e91304.bundle.js → 157.124afced200e8f41ae08.bundle.js} +1 -1
- package/dist/{152.2b525d2ab1e1a9ae4f50.bundle.js → 158.79f6912825cd02b0805d.bundle.js} +1 -1
- package/dist/{153.70cd6fde6f3fdf304ef5.bundle.js → 159.9515c0e26cf48029b77f.bundle.js} +1 -1
- package/dist/{15.22af29a4663786436ba9.bundle.js → 16.4a953d045ed232b1dac4.bundle.js} +1 -1
- package/dist/{154.d18c523290ba184e8ad0.bundle.js → 160.f26b980dd413cef8c4b7.bundle.js} +1 -1
- package/dist/{155.9f02253eaeb65e009814.bundle.js → 161.888c7f9383671fc8f298.bundle.js} +1 -1
- package/dist/{156.db66ecd3813c2939de33.bundle.js → 162.53505ef14f1beed53c40.bundle.js} +1 -1
- package/dist/{157.6c501e5173d3d67cf84b.bundle.js → 163.547dad5df720129c4083.bundle.js} +1 -1
- package/dist/{158.727797fb45c70e4f36f7.bundle.js → 164.5476f3e3ddc1ca6977ce.bundle.js} +1 -1
- package/dist/{159.c94abc4d8eb8c5b4b885.bundle.js → 165.5cbd3401db5b1d989688.bundle.js} +1 -1
- package/dist/166.fa802b7d503b52adab7b.bundle.js +1 -0
- package/dist/{161.67a74475450db8c62b88.bundle.js → 167.14bf9c938c08b0b950b2.bundle.js} +1 -1
- package/dist/168.65685665a5e22eac1fea.bundle.js +1 -0
- package/dist/{163.357295dc28dd1109c330.bundle.js → 169.46b5b03ea46b5f35fa98.bundle.js} +1 -1
- package/dist/17.694e1085bf078565f491.bundle.js +3 -0
- package/dist/{164.d62c15d2072b8d7aaa8b.bundle.js → 170.b25c7f7dd5bca54791e3.bundle.js} +1 -1
- package/dist/{165.f4b60d3691a7cfafc972.bundle.js → 171.611519c96cc89311d893.bundle.js} +1 -1
- package/dist/{166.2744f5b5b2df65113a66.bundle.js → 172.1323ee96190042c3bd8b.bundle.js} +1 -1
- package/dist/{167.4b2512bd28872a379d6c.bundle.js → 173.b800b46bed4ae7cbfc94.bundle.js} +1 -1
- package/dist/{168.02d3654ee5fdf3223c9f.bundle.js → 174.b64cff045bd7393bdbf3.bundle.js} +1 -1
- package/dist/{169.2cbbe566a2ac703d569b.bundle.js → 175.b6451fac74ffa746e350.bundle.js} +1 -1
- package/dist/{170.30a00990930c58b9df3b.bundle.js → 176.e28344156dc469d129a7.bundle.js} +1 -1
- package/dist/{171.e6e9370ecfa253a6fec6.bundle.js → 177.77e39f9c54b3dc0d5c47.bundle.js} +1 -1
- package/dist/{172.4a86989b42701a358ad9.bundle.js → 178.5c24455c431a7a7fb211.bundle.js} +1 -1
- package/dist/{173.878a35d4d444d91b6039.bundle.js → 179.e6421d4f5e4a72d04307.bundle.js} +1 -1
- package/dist/18.b1eebdc1d990d6a44a32.bundle.js +3 -0
- package/dist/{174.061ab9a90d0ae6fd8645.bundle.js → 180.d56ab1e8f575e97ce1d8.bundle.js} +1 -1
- package/dist/{175.a7d14d4055691bb632e1.bundle.js → 181.b67533574cbaa8d7f5dc.bundle.js} +1 -1
- package/dist/{176.0117c9b6b6e7bf4d0db4.bundle.js → 182.b243f5db07c899a2c498.bundle.js} +1 -1
- package/dist/{177.8214588a209724da375e.bundle.js → 183.28b86ffcb5c227787ef7.bundle.js} +1 -1
- package/dist/184.f1c5705837e60dba0dc6.bundle.js +1 -0
- package/dist/{179.5c4d5c6bf3cfbffbef6e.bundle.js → 185.4bd098f8564941457b47.bundle.js} +1 -1
- package/dist/{180.090677eb2f65897c6c20.bundle.js → 186.6e2004d1c3f492174d95.bundle.js} +1 -1
- package/dist/{181.3613a40ea69cb7143c9a.bundle.js → 187.f1ba02dd904e88cc82d1.bundle.js} +1 -1
- package/dist/{182.f136faa36feaacf3dda0.bundle.js → 188.05741dec96be189c07b8.bundle.js} +1 -1
- package/dist/{183.6f31d0f25a62c4879bb3.bundle.js → 189.b3bf9d96ecaad0236db9.bundle.js} +1 -1
- package/dist/19.ebe1823cae545d2285e2.bundle.js +2 -0
- package/dist/{184.439ffd94ca22be743d8f.bundle.js → 190.8b16737c1ebf0b2af7db.bundle.js} +1 -1
- package/dist/{185.08076bd45719585062bb.bundle.js → 191.3d9dee7138b00e293a22.bundle.js} +1 -1
- package/dist/{186.e5a9532fc732beabd499.bundle.js → 192.fd7c1176cd4324ed45aa.bundle.js} +1 -1
- package/dist/{187.d98bb3b2c205f2206369.bundle.js → 193.cd833d60220125411b22.bundle.js} +1 -1
- package/dist/{188.0583ded5d119b63f901a.bundle.js → 194.12a06d4b6d95f61d4ee9.bundle.js} +1 -1
- package/dist/{189.d094406ca39877782747.bundle.js → 195.f628aae5778aa123caf7.bundle.js} +1 -1
- package/dist/{190.fe1738b71bea2bcb8e55.bundle.js → 196.8035157a0339a496d187.bundle.js} +1 -1
- package/dist/197.addf654029690231559c.bundle.js +1 -0
- package/dist/198.d1129c09aa9398f0343d.bundle.js +1 -0
- package/dist/{193.ba72ec6f042a6e5ed6e4.bundle.js → 199.f0229436efafa4ea7c8c.bundle.js} +1 -1
- package/dist/2.329a7ea066c17485244b.bundle.js +2 -0
- package/dist/20.c54a12065796186886d0.bundle.js +1 -0
- package/dist/{194.ee4da665dd9a88b2ed9c.bundle.js → 200.dd81708351ab93e437d1.bundle.js} +1 -1
- package/dist/{195.204a815ccac786d2bdf2.bundle.js → 201.60b681bb11ddafbcfa03.bundle.js} +1 -1
- package/dist/{196.e2421eae50dfba5156e5.bundle.js → 202.0dee266e9f2ef0f3428c.bundle.js} +1 -1
- package/dist/{197.4458f8def0b178e01fbf.bundle.js → 203.706d88a2fc02c2843189.bundle.js} +1 -1
- package/dist/204.1b88b812a149716e6c95.bundle.js +1 -0
- package/dist/{199.41c1c02951f85a420212.bundle.js → 205.ddab9e42aa40bc2f16c5.bundle.js} +1 -1
- package/dist/206.ece37ad6b502302901cb.bundle.js +1 -0
- package/dist/{201.74e1a42608681ec30d8f.bundle.js → 207.0329bedadbb1597c7945.bundle.js} +1 -1
- package/dist/{202.3c58e0221add7eda2930.bundle.js → 208.5ba971269e9495f38c46.bundle.js} +1 -1
- package/dist/{203.61cc829c171e8e7aa147.bundle.js → 209.9d0200870d7f8e4aa588.bundle.js} +1 -1
- package/dist/{21.58b0435bdf5577842d82.bundle.js → 21.4e1686a7b2b980056489.bundle.js} +1 -1
- package/dist/{204.0e4d6861705dca049a9b.bundle.js → 210.b9ce08d2d0ec085df5f1.bundle.js} +1 -1
- package/dist/{205.4ec0abda464d6b7a3037.bundle.js → 211.b11f0c57c2894d024316.bundle.js} +1 -1
- package/dist/{206.f41525d2395a2e9924f8.bundle.js → 212.abf3332c698ccb3b17fc.bundle.js} +1 -1
- package/dist/{207.c865fe7e00c3378707f8.bundle.js → 213.bd595f9c06ba5ed668b6.bundle.js} +1 -1
- package/dist/{208.764496be8032fb395fc8.bundle.js → 214.56f7937a2ecdaca3c2f0.bundle.js} +1 -1
- package/dist/215.654372bd52e43c994aa5.bundle.js +1 -0
- package/dist/{210.d56ee3e704e8f3548d14.bundle.js → 216.45ea4ee1a72f0c22cae3.bundle.js} +1 -1
- package/dist/{211.53298f2082f1ac779980.bundle.js → 217.682778a0bee0b090a900.bundle.js} +1 -1
- package/dist/218.013a6816201ae80608cd.bundle.js +1 -0
- package/dist/219.051de00b7386d2a3d806.bundle.js +1 -0
- package/dist/{22.b790b05ae41992bbbc39.bundle.js → 22.8bc4d61ac7e221077457.bundle.js} +1 -1
- package/dist/{214.4c0a1804891256835455.bundle.js → 220.242f99c46dd28b2d585e.bundle.js} +1 -1
- package/dist/{215.6881462a6baa9fe06e42.bundle.js → 221.db117019d6b65cf8d85f.bundle.js} +1 -1
- package/dist/{216.3d582471e90044064feb.bundle.js → 222.61fecbdb3e0726a5d4a1.bundle.js} +1 -1
- package/dist/{217.fc227572c262a1d9c227.bundle.js → 223.6bdde3fe19d160b7462d.bundle.js} +1 -1
- package/dist/{218.f390020a36aa8f076996.bundle.js → 224.9e7a8f1deec2cc9e66b3.bundle.js} +1 -1
- package/dist/{219.138152c43aa1922461f7.bundle.js → 225.cabdef35d766c1493aa8.bundle.js} +1 -1
- package/dist/226.0d1850f8b031dfa794ba.bundle.js +1 -0
- package/dist/{221.cf6374bda395430d119f.bundle.js → 227.87a8aa0b894c7e1f3425.bundle.js} +1 -1
- package/dist/228.e4bb3a0903d4174fd37f.bundle.js +1 -0
- package/dist/229.be453054ca13612e4d25.bundle.js +1 -0
- package/dist/{23.0389a34f6d64fb22e8d0.bundle.js → 23.9cb65daf163620569779.bundle.js} +1 -1
- package/dist/{224.4aa191a7d1697bfeebe5.bundle.js → 230.357fe18f7ec9afc5bfc5.bundle.js} +1 -1
- package/dist/231.e7af44bbd088b0358ca9.bundle.js +1 -0
- package/dist/232.366962fe48df7c41dee5.bundle.js +1 -0
- package/dist/233.47b9abed7dfd87f0a8b3.bundle.js +1 -0
- package/dist/{227.b73392de37fd73e9fb11.bundle.js → 234.6de939137433465ec510.bundle.js} +1 -1
- package/dist/{228.5d2ae92b1b546532dff4.bundle.js → 235.c9bac7783dd2e1912d18.bundle.js} +1 -1
- package/dist/{229.32a5c0f8b3c516678962.bundle.js → 236.61dbb521a719700c0015.bundle.js} +1 -1
- package/dist/{230.0c6f361fec0b5ecfacde.bundle.js → 237.619ffb49b9eb69903866.bundle.js} +1 -1
- package/dist/{231.2fa3d11d05fa4c25173b.bundle.js → 238.ab20052a9cb3dcc9c607.bundle.js} +1 -1
- package/dist/{232.a4dd496dcd4fd34d44ce.bundle.js → 239.58bf6f4a7bc9c5053662.bundle.js} +1 -1
- package/dist/{24.94e115d86adcfad080e2.bundle.js → 24.32f6034a9f21ffe4ded7.bundle.js} +1 -1
- package/dist/{233.1c5510169cfb958d4885.bundle.js → 240.ed43e6bf70c6b550902f.bundle.js} +1 -1
- package/dist/{234.8f64c9894acacf65a9d0.bundle.js → 241.104d516f02e8c7f99114.bundle.js} +1 -1
- package/dist/{235.3982782030297b6fd4d4.bundle.js → 242.44a669d638b644abb5b4.bundle.js} +1 -1
- package/dist/{236.07a64d7b74446e286181.bundle.js → 243.488b6e1df66874d055d8.bundle.js} +1 -1
- package/dist/{237.728c10320a6913ded2c0.bundle.js → 244.7175318e883057bcb06f.bundle.js} +1 -1
- package/dist/{238.fb8eb814adb9421b09e6.bundle.js → 245.903e92027ec38608e738.bundle.js} +1 -1
- package/dist/{239.35cb8930292eedca6ff1.bundle.js → 246.b40e59b232490d931ee0.bundle.js} +1 -1
- package/dist/{240.ad83a6e9b8bf6141d499.bundle.js → 247.6f48ae8aca260813a92f.bundle.js} +1 -1
- package/dist/{241.f2c573d452e4f346ad1b.bundle.js → 248.6dc0b6626645bebc8ff0.bundle.js} +1 -1
- package/dist/{242.1d8635befeea4e027651.bundle.js → 249.e50d22d0cbc97fcbda03.bundle.js} +1 -1
- package/dist/25.18e74fdefcde496780a0.bundle.js +1 -0
- package/dist/{243.4a4833a826d623ed744b.bundle.js → 250.47e0180be23d050ba1f5.bundle.js} +1 -1
- package/dist/{244.4e87e112b9a8f175b75d.bundle.js → 251.11a281aa0b3e6006450e.bundle.js} +1 -1
- package/dist/{245.28c8f1a445101c396877.bundle.js → 252.051158ffa126b04b4d59.bundle.js} +1 -1
- package/dist/{246.c5887d67230a294466a4.bundle.js → 253.a6034e5dfbdf6460905a.bundle.js} +1 -1
- package/dist/{247.26ec449a35a63083d754.bundle.js → 254.34f16e4a4d26e2b6b513.bundle.js} +1 -1
- package/dist/{248.9118b2a8752f21f387a8.bundle.js → 255.90e2a5437041bd28bac3.bundle.js} +1 -1
- package/dist/{249.763fe3760730a2440463.bundle.js → 256.421c1433c79b4ea61c55.bundle.js} +1 -1
- package/dist/{250.76d117cb0ccc57e98b83.bundle.js → 257.f846e20d7c640d061458.bundle.js} +1 -1
- package/dist/{251.40b3619cb7b19f22e61c.bundle.js → 258.8a03c12265376a0f18e3.bundle.js} +1 -1
- package/dist/{252.7e87664424f0a4b1fa03.bundle.js → 259.c5c2328c8c934c8f75c3.bundle.js} +1 -1
- package/dist/26.4c948fd26e3d9b49f7bc.bundle.js +1 -0
- package/dist/{253.df58d1d46ad0421a3bc1.bundle.js → 260.12de6777c7854e5740c6.bundle.js} +1 -1
- package/dist/{254.a2ef57b166f072c8f17e.bundle.js → 261.b241647ad68cb0c61028.bundle.js} +1 -1
- package/dist/{255.39e03cb9a7fdeaf6573e.bundle.js → 262.b4f3ba81c251e264be08.bundle.js} +1 -1
- package/dist/{256.2b406d658ebbd56d1cfd.bundle.js → 263.55c5ed06577e2e43b18c.bundle.js} +1 -1
- package/dist/{257.17163d3a834e1b265e98.bundle.js → 264.94dd458fd29d780ccb26.bundle.js} +1 -1
- package/dist/{258.4cac2260d9954d8c349c.bundle.js → 265.f491cc7ac5e0f888869e.bundle.js} +1 -1
- package/dist/{259.4f23c90e9fdc51bed6e3.bundle.js → 266.987b9e82736e2561b8ae.bundle.js} +1 -1
- package/dist/{260.873c70b09acba67aac72.bundle.js → 267.f8b9c7684d0469533c14.bundle.js} +1 -1
- package/dist/{261.5126babceffbba895560.bundle.js → 268.e2b4cbfc3347f9050398.bundle.js} +1 -1
- package/dist/269.6182b168f1f08d810512.bundle.js +1 -0
- package/dist/{25.267d0cd02795a5ff775e.bundle.js → 27.42d7cf0e6b79c128f549.bundle.js} +1 -1
- package/dist/{263.e2ec042ec48e602b3025.bundle.js → 270.0db52e745f42f112c2d0.bundle.js} +1 -1
- package/dist/{264.fe1fc95dcb2f350d86e8.bundle.js → 271.a74f1ec4ee36a2a69c0a.bundle.js} +1 -1
- package/dist/{265.5775f3b8850ff720a037.bundle.js → 272.e65f968f62ff9dc1cf92.bundle.js} +1 -1
- package/dist/{266.91ea85209fc1ba79d154.bundle.js → 273.16f7d05a19523754a526.bundle.js} +1 -1
- package/dist/{267.eb44e72c49c4c7f082f0.bundle.js → 274.a6818752fcaf72d2625f.bundle.js} +1 -1
- package/dist/275.8a5f258766067ebd4ba8.bundle.js +1 -0
- package/dist/{268.db0c67a5f18954d3e2a0.bundle.js → 276.5f5007c13f3f912c90a1.bundle.js} +1 -1
- package/dist/277.f60f2483bbdf0529e687.bundle.js +1 -0
- package/dist/{270.ec94e6346cd3664d7be8.bundle.js → 278.85298514c184c8087d0f.bundle.js} +1 -1
- package/dist/{271.84d43853369306cdd337.bundle.js → 279.e1f1dedd88d27ba27767.bundle.js} +1 -1
- package/dist/{26.5d301950a8dfb7167be3.bundle.js → 28.99abc21ae65b022949f8.bundle.js} +1 -1
- package/dist/280.fae5c9b611a4447378bb.bundle.js +1 -0
- package/dist/{272.7b1851cebbece7a9ddae.bundle.js → 281.8ab09f400faa13ed5130.bundle.js} +1 -1
- package/dist/{273.aad9680e33e5dfb69af9.bundle.js → 282.62cc18febe1c9a76277c.bundle.js} +1 -1
- package/dist/283.8680517842da82521484.bundle.js +1 -0
- package/dist/{274.6ae6498108850730cffa.bundle.js → 284.3a8a9c48d1083dc7bc13.bundle.js} +1 -1
- package/dist/29.5af8704aa8c589928f50.bundle.js +1 -0
- package/dist/{280.aba8b40627c79e9361e8.bundle.js → 290.ca16104ffd8d088af03c.bundle.js} +1 -1
- package/dist/{281.00c8c501447ba724fb51.bundle.js → 291.b4c907a2d1fe0c3fcf0f.bundle.js} +1 -1
- package/dist/{282.9ecd5967a8713d02b56c.bundle.js → 292.1b765ebb11d9a3725f89.bundle.js} +1 -1
- package/dist/{283.5626c7701b42589613a8.bundle.js → 293.78e1ac1b084c250b1142.bundle.js} +1 -1
- package/dist/{284.4e8589f362c7e494b117.bundle.js → 294.23d41449b9d4e63fabc1.bundle.js} +1 -1
- package/dist/{285.540998b336ae342f5d20.bundle.js → 295.f75f0487c9406aba2d7b.bundle.js} +1 -1
- package/dist/{289.12dd37e1d6e5fa39b66a.bundle.js → 296.7c767a027e120ba64be3.bundle.js} +1 -1
- package/dist/{290.d84ceb0b1e2d2ce40630.bundle.js → 297.4ca94e1c7e3969aef6ab.bundle.js} +1 -1
- package/dist/{291.ba9702897c4f7c4c2272.bundle.js → 298.4b290194119874646f2d.bundle.js} +1 -1
- package/dist/{292.1db277ce801ef0a0d22b.bundle.js → 299.e3a82ad41a6e816518cb.bundle.js} +1 -1
- package/dist/{3.004ca7fdd54f69fb403c.bundle.js → 3.8963b3f1bdb5ea42ab26.bundle.js} +1 -1
- package/dist/{27.b5697de5262d6e5c9db1.bundle.js → 30.c5e08138a972f2d8114c.bundle.js} +1 -1
- package/dist/{293.01c160069ca01648aeed.bundle.js → 300.773ee0eca014eb8ff232.bundle.js} +1 -1
- package/dist/{294.bb6fb8b2ac1df299d985.bundle.js → 301.023400bc7db6d6e263f7.bundle.js} +1 -1
- package/dist/{295.b4ff8640f26c566d9250.bundle.js → 302.20ab7c8c92e6e174edba.bundle.js} +1 -1
- package/dist/{296.bfdb6d02256ef581957f.bundle.js → 303.688eb52b522182677a69.bundle.js} +1 -1
- package/dist/{297.412c29f4138a6a3e2fd3.bundle.js → 304.56879ec9bfd496c54790.bundle.js} +1 -1
- package/dist/{298.da4f76a1f15735939bf2.bundle.js → 305.d7ae4ec4a08989bb8f6d.bundle.js} +1 -1
- package/dist/{299.cd5d6caf1f2009711509.bundle.js → 306.9142f421f2dc6b12fce4.bundle.js} +1 -1
- package/dist/{300.461e7d6387a731648a65.bundle.js → 307.5ecc653b4bd249b3437a.bundle.js} +1 -1
- package/dist/{301.1122db865f3d078e92ce.bundle.js → 308.37b33131c4daca49061e.bundle.js} +1 -1
- package/dist/{302.fc8487f1385cdc7c0e5e.bundle.js → 309.be477f990005e24184d8.bundle.js} +1 -1
- package/dist/{28.2404c15d2d12b142e727.bundle.js → 31.778f78105f906f5bfce0.bundle.js} +1 -1
- package/dist/{303.e98d31034e8f9c38a99f.bundle.js → 310.92bc79f1a7d9803af4f8.bundle.js} +1 -1
- package/dist/{304.82483cc47eb51d1308b4.bundle.js → 311.bc6f66f3c2e97a20c8be.bundle.js} +1 -1
- package/dist/{305.6ce8ef97d6004cefbdec.bundle.js → 312.7912a26b9d0f85957873.bundle.js} +1 -1
- package/dist/{306.f97e09a9ae3a4df96522.bundle.js → 313.81de3b442cce01ff084b.bundle.js} +1 -1
- package/dist/{307.b747379e899a8ce7a9e1.bundle.js → 314.d04224d166e794956347.bundle.js} +1 -1
- package/dist/{308.c2911f41fe86f7b83a86.bundle.js → 315.477e43f7d202c0edc7ee.bundle.js} +1 -1
- package/dist/{309.8179060e4355bbb26258.bundle.js → 316.8f1f359564390a9fa5d0.bundle.js} +1 -1
- package/dist/{310.2f72c1da9e878b8b6df8.bundle.js → 317.a39a5a8c94b08d83b0ba.bundle.js} +1 -1
- package/dist/{311.35c32d01a5a346ecbf46.bundle.js → 318.ea066bcd8091008ef543.bundle.js} +1 -1
- package/dist/{312.13d8486184db1b26f18d.bundle.js → 319.7adc70e89d81310cb557.bundle.js} +1 -1
- package/dist/{29.15213e151364f5ecfcd5.bundle.js → 32.ac165aeac514ea70c5eb.bundle.js} +1 -1
- package/dist/{313.69c8343ca528025c1fb2.bundle.js → 320.b718c0bf603aeabcaefc.bundle.js} +1 -1
- package/dist/{314.06e8c36470ec98c479a8.bundle.js → 321.6a2b778b421bc13ee48e.bundle.js} +1 -1
- package/dist/{315.c472be5a14f8a8fdb337.bundle.js → 322.e1f3c2b04ee3f32736a9.bundle.js} +1 -1
- package/dist/{316.ce62691e4041f3b84ac2.bundle.js → 323.ddf9e72de83a7246b7e3.bundle.js} +1 -1
- package/dist/{317.c2f0c34b8694f45429a0.bundle.js → 324.92cccbbd290d4e8fedfa.bundle.js} +1 -1
- package/dist/{318.7ba4401627a1c86c19fc.bundle.js → 325.1f67cee771c76d61275f.bundle.js} +1 -1
- package/dist/{319.46ba833ee2929e86c799.bundle.js → 326.7add143f9b1a90b108b6.bundle.js} +1 -1
- package/dist/{320.1d50a3082b0d0bea7dc7.bundle.js → 327.4021ae183490478d79d4.bundle.js} +1 -1
- package/dist/{321.783ccd95b7b5d1ab25c8.bundle.js → 328.d05eed5f9e2f316b785d.bundle.js} +1 -1
- package/dist/{322.bde4ab11e6ae1dad98f4.bundle.js → 329.6d0c3818e126fba0d664.bundle.js} +1 -1
- package/dist/33.091a286156186cd4f966.bundle.js +1 -0
- package/dist/{323.d8a0a8b52cd7beaff241.bundle.js → 330.ffcb1f8a478c0732ac38.bundle.js} +1 -1
- package/dist/{324.d2641113f212e3586ee4.bundle.js → 331.24871a3cb6e3048c3237.bundle.js} +1 -1
- package/dist/{325.3b855d5c93052c61784a.bundle.js → 332.c7123246db90b15796cf.bundle.js} +1 -1
- package/dist/{326.f992a660fe4037cc0ff2.bundle.js → 333.cdeb24c05a94390c44ea.bundle.js} +1 -1
- package/dist/{327.da8572b54b2a42d67c42.bundle.js → 334.1348ed2992c6bef1bd98.bundle.js} +1 -1
- package/dist/335.d60ddf7aede29b456ee6.bundle.js +1 -0
- package/dist/{328.ecbb37c307600dc0c328.bundle.js → 336.d2e3ca598c50b7df0abf.bundle.js} +1 -1
- package/dist/{329.69ff0bbed23dcd3e350f.bundle.js → 337.97bf0cc5c357ab665498.bundle.js} +1 -1
- package/dist/{330.a13d2c43abb7b4fb3684.bundle.js → 338.65cf842dcaba90e462f5.bundle.js} +1 -1
- package/dist/{331.36a9c00559123a1e0c3e.bundle.js → 339.169276b76d2e19d46c2e.bundle.js} +1 -1
- package/dist/{31.dffff0a8aea8dd572339.bundle.js → 34.dccc70f8a3e1d8ad048c.bundle.js} +1 -1
- package/dist/{332.261736e4aa2441d8b049.bundle.js → 340.f99ddea876dd0524c9b7.bundle.js} +1 -1
- package/dist/{333.87a59cfc5903313a6987.bundle.js → 341.5ff46184073ea35d8a7a.bundle.js} +1 -1
- package/dist/{334.50d7b5c15dc7c0502f37.bundle.js → 342.014de494b478ea29310a.bundle.js} +1 -1
- package/dist/{335.1ff2d7b9ee8039bcacf2.bundle.js → 343.8c2761e33b0642f62f57.bundle.js} +1 -1
- package/dist/{336.541e67005e1f501c3da5.bundle.js → 344.b74f47e096f7e759e87a.bundle.js} +1 -1
- package/dist/{337.2084dfdda4b7662d3250.bundle.js → 345.87b05e00d6fc45bf3078.bundle.js} +1 -1
- package/dist/{338.46ab4551c7b9a963f0f0.bundle.js → 346.70b919cd45415e6163af.bundle.js} +1 -1
- package/dist/{339.d11f17a5c2360b04bd64.bundle.js → 347.35cb10bf255057a62f98.bundle.js} +1 -1
- package/dist/{340.db611a6d8d2bfa264892.bundle.js → 348.4a278450554acad6020d.bundle.js} +1 -1
- package/dist/{341.33f273024d6583523cc5.bundle.js → 349.4877f03d094f87906e44.bundle.js} +1 -1
- package/dist/{32.ffa079f4f8d07ec292b4.bundle.js → 35.eb0aeff35aa4567fb75f.bundle.js} +1 -1
- package/dist/350.a2e652957bc0f3f9d65a.bundle.js +1 -0
- package/dist/{286.9d56f2c308a0dd61b340.bundle.js → 351.ef413d186d7295f4b24b.bundle.js} +1 -1
- package/dist/{287.8b3df30d8bc0f4fe6a9a.bundle.js → 352.7918d6255f957f345da0.bundle.js} +1 -1
- package/dist/{288.ce922775c4e3d29a5e71.bundle.js → 353.23e57534222ffe68355e.bundle.js} +1 -1
- package/dist/354.3051f97a1d37c9f8bbb1.bundle.js +1 -0
- package/dist/355.b1291f7c38369d6b4bd9.bundle.js +1 -0
- package/dist/356.52a04d51c9f86fbd80ab.bundle.js +1 -0
- package/dist/{344.14a6d701176a3afdd9ff.bundle.js → 357.7b0489b628b79cfa0642.bundle.js} +1 -1
- package/dist/{345.c79e00bc6505e380f12e.bundle.js → 358.dbdcedf9ef56b73c2f9d.bundle.js} +1 -1
- package/dist/{346.e8ac753b7ecbd80bb129.bundle.js → 359.b935736bcefd2fae3c36.bundle.js} +1 -1
- package/dist/{33.e2795fad0cf2a9e54f46.bundle.js → 36.3f2fb52da7f1927bd6d1.bundle.js} +1 -1
- package/dist/{347.6acd8576097294a80705.bundle.js → 360.2411b10a94aa4e94ee90.bundle.js} +1 -1
- package/dist/{34.6dd821747f59c612606f.bundle.js → 37.907ede9dfdc4ea66222e.bundle.js} +1 -1
- package/dist/38.0acc81ed4e8da9935ac1.bundle.js +1 -0
- package/dist/39.27144559b719472e4ff6.bundle.js +1 -0
- package/dist/{4.3f622684b79a9169a060.bundle.js → 4.2d70b9ec6f31e5c414d2.bundle.js} +1 -1
- package/dist/{37.794b29664b454e4e0d0a.bundle.js → 40.9c009bfb5646659c9563.bundle.js} +2 -2
- package/dist/{38.a0f5f820a7b3e26438b3.bundle.js → 41.316a5398fd6ee21b5586.bundle.js} +1 -1
- package/dist/{39.01a2afff14797c31a219.bundle.js → 42.0496507edb6f44b45ed0.bundle.js} +1 -1
- package/dist/{40.e54cef5dfe20934099be.bundle.js → 43.ffce4f2e6f2d229684d2.bundle.js} +1 -1
- package/dist/{41.44115afa12eb820f4321.bundle.js → 44.6abfb4f62aaa68138bef.bundle.js} +1 -1
- package/dist/{42.52befbab22e69bb433f4.bundle.js → 45.ae0423ba97fee873892f.bundle.js} +1 -1
- package/dist/{43.e35a75762ad81fae9b89.bundle.js → 46.d5bdf6f0fa53c920ed3a.bundle.js} +1 -1
- package/dist/{44.ccac19b394bb5f7baaf5.bundle.js → 47.1426e0b9b339caede273.bundle.js} +1 -1
- package/dist/48.51f549acdae6b4b64f08.bundle.js +1 -0
- package/dist/{46.4ecb77a547700ab7d3bf.bundle.js → 49.67e2e2d1a16889fce7ef.bundle.js} +1 -1
- package/dist/5.0f268a2f797af0ebd30c.bundle.js +1 -0
- package/dist/{47.32904b5b7445c997858b.bundle.js → 50.9074e5c7d63e7310c93f.bundle.js} +2 -2
- package/dist/{48.a20d02900e88654abf47.bundle.js → 51.211236554ca8097a0f92.bundle.js} +1 -1
- package/dist/{49.eb453ba43b937cdb3a22.bundle.js → 52.ff9ddadb6467a1b7b893.bundle.js} +1 -1
- package/dist/{50.29862e9a42be281f4f0d.bundle.js → 53.b9c45c32998426827e7a.bundle.js} +1 -1
- package/dist/54.92c88168b04df3251545.bundle.js +1 -0
- package/dist/{51.c71c201aee60fb11c26f.bundle.js → 55.21e6207da927a25d6b49.bundle.js} +1 -1
- package/dist/56.529d1913f77c69f04a7c.bundle.js +1 -0
- package/dist/{52.50f81d6573e01476022e.bundle.js → 57.37abb5508babfe663a72.bundle.js} +1 -1
- package/dist/{53.a5f387953520247c26af.bundle.js → 58.1140b1630ea0b3bd9bb6.bundle.js} +1 -1
- package/dist/59.e0e1148e098c59cf318b.bundle.js +1 -0
- package/dist/6.07426cca15804328cdfb.bundle.js +1 -0
- package/dist/{55.3b4708ee75e525a04c71.bundle.js → 60.f16e8e4f41a9e738b96e.bundle.js} +1 -1
- package/dist/61.00bf738e6c875e37808d.bundle.js +1 -0
- package/dist/{56.02ed1a49aa3ae2f02a88.bundle.js → 62.4b13069fe8d1840d0a9a.bundle.js} +1 -1
- package/dist/{57.146a187effd26fa6177d.bundle.js → 63.d23e24ac8c807067fb16.bundle.js} +1 -1
- package/dist/64.dcba3fefa549f512a802.bundle.js +1 -0
- package/dist/65.844ca4839e4762e8dd61.bundle.js +1 -0
- package/dist/{60.690d068a783da96089a2.bundle.js → 66.4ad6956e25696cd3088d.bundle.js} +1 -1
- package/dist/67.427f0e20fe155bf287a3.bundle.js +1 -0
- package/dist/{63.8cb4a543781ab4ef82ff.bundle.js → 68.a111cd2a5aacb3abd4f2.bundle.js} +1 -1
- package/dist/{64.be7f786a6cbeead73945.bundle.js → 69.b4256003c3ef10591501.bundle.js} +1 -1
- package/dist/{7.525bce2bad32abcb635b.bundle.js → 7.8740ac76721546625750.bundle.js} +1 -1
- package/dist/{65.5b1086544251475f1067.bundle.js → 70.567e84da1d834042cd7e.bundle.js} +1 -1
- package/dist/{66.ba7b100be181d08d0383.bundle.js → 71.9dc9071170f5fe57228a.bundle.js} +1 -1
- package/dist/{67.11a918c7048ad704b0f7.bundle.js → 72.093c14f8680f52a9b69f.bundle.js} +1 -1
- package/dist/{68.a76bcdb03d03cd2cd18f.bundle.js → 73.17232d59c37598dd798b.bundle.js} +1 -1
- package/dist/{69.ea016284451b0b550bd8.bundle.js → 74.1f3422baf9bec5b62012.bundle.js} +1 -1
- package/dist/{70.9632bc86f2ee4d44d154.bundle.js → 75.effc842bf5ee162b9830.bundle.js} +1 -1
- package/dist/76.79be51b25c310bfb6e27.bundle.js +1 -0
- package/dist/77.8b6288819e4ce34ed8de.bundle.js +1 -0
- package/dist/78.65cfbfdb753f9c3bd2ab.bundle.js +1 -0
- package/dist/{72.791af260184205671ce9.bundle.js → 79.e47f386517d1862136b9.bundle.js} +1 -1
- package/dist/{8.ba4b588eefad1e35adf3.bundle.js → 8.31c3567afc29c7f5c9b1.bundle.js} +11 -11
- package/dist/{74.971e0f15e1073ff144bc.bundle.js → 80.1e1746e0b29532b71d03.bundle.js} +1 -1
- package/dist/81.f35dbaade028b840aee3.bundle.js +1 -0
- package/dist/{75.65f25660e8cb34915063.bundle.js → 82.b1e9b028c34d3a01db25.bundle.js} +1 -1
- package/dist/{76.f54bf8f659c6143492c3.bundle.js → 83.0081601bbe8088f9becb.bundle.js} +1 -1
- package/dist/{77.4011142f644354b5f384.bundle.js → 84.4106c741818253d5c29e.bundle.js} +1 -1
- package/dist/{78.7cdd3fd88ccb0ab37d78.bundle.js → 85.ed42cbd17860748465b5.bundle.js} +1 -1
- package/dist/86.ff67d6dc32db90498347.bundle.js +1 -0
- package/dist/87.28344fb3ef220d10e0dc.bundle.js +1 -0
- package/dist/{80.da9c515a1283c2ffd537.bundle.js → 88.027b15d5f2738fc629c5.bundle.js} +1 -1
- package/dist/{81.105cb719d07d726f60a8.bundle.js → 89.b34e31338a663541c1f9.bundle.js} +1 -1
- package/dist/{9.1e67795d74fb874a9a1a.bundle.js → 9.c41d7d039c757441474c.bundle.js} +1 -1
- package/dist/{82.27fb6494917cdf16b2f0.bundle.js → 90.9943704dca5b958eb266.bundle.js} +1 -1
- package/dist/{83.7e1281f71bdb6b3fc62f.bundle.js → 91.f907e730858fcfcb8d1a.bundle.js} +1 -1
- package/dist/{84.82321e9b7c9be6b5bf67.bundle.js → 92.e476703c77964f66258a.bundle.js} +1 -1
- package/dist/{85.33efa3d54af52ae92534.bundle.js → 93.74f9180bad598f3fee45.bundle.js} +1 -1
- package/dist/{86.b0786ef6866c09e5a210.bundle.js → 94.065f47c4e05c272f8682.bundle.js} +1 -1
- package/dist/{87.669b2ff1361740d06ef6.bundle.js → 95.639ca338bff7cb7035f8.bundle.js} +1 -1
- package/dist/{88.5ec49fdc61d08d58f049.bundle.js → 96.a439d08610e9b3fa27cd.bundle.js} +1 -1
- package/dist/{89.dd645ae23b0443991444.bundle.js → 97.0582bb297ede2ff62182.bundle.js} +1 -1
- package/dist/{90.1b21c28757a4dc6d5ef5.bundle.js → 98.b41e995ffcab4d1bf4ea.bundle.js} +1 -1
- package/dist/{91.b8ec9ef6982a23442d3e.bundle.js → 99.d8339c004e579e660dfd.bundle.js} +1 -1
- package/dist/{bundle.56d273a8b1c9539195ba.bundle.js → bundle.1144c21bf3b3ccd7756e.bundle.js} +18 -18
- package/dist/css/aclmanagement.css +7 -2
- package/dist/css/import-resource-tree.css +16 -1
- package/dist/css/import.css +0 -4
- package/dist/css/repositories.css +1 -1
- package/dist/css/ttyg/chat-list.css +37 -0
- package/dist/css/ttyg/ttyg.css +155 -0
- package/dist/i18n/locale-en.json +118 -23
- package/dist/i18n/locale-fr.json +114 -23
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/import/templates/import-resource-message.html +8 -3
- package/dist/js/angular/import/templates/import-resource-tree.html +2 -2
- package/dist/js/angular/repositories/templates/manage-remote-location-dialog.template.html +112 -0
- package/dist/js/angular/security/templates/user.html +4 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +36 -0
- package/dist/js/angular/ttyg/templates/ttyg.html +161 -0
- package/dist/license-checker.json +25 -2
- package/dist/{main.905e9954d39eac368576.bundle.js → main.dc29422f789615a58a5b.bundle.js} +1 -1
- package/dist/pages/aclmanagement.html +30 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +9 -8
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +181 -5
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/plugins.js +34 -34
- package/dist/{polyfills-dom.12081c3bc3c6e8897b98.bundle.js → polyfills-dom.67af4c9d8ea70f6cf56a.bundle.js} +1 -1
- package/dist/res/swagger5/fonts/fa-light-300.woff2 +0 -0
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.a4ea1f419df5d0025d7d.bundle.js → vendor.068babb9394f086d4b83.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.939621cc93cbfff45124.bundle.js → vendors~polyfills-core-js.0fdac6494fdf7adad1eb.bundle.js} +1 -1
- package/package.json +2 -1
- package/dist/10.e099f7fb97bbc2db4c45.bundle.js +0 -1
- package/dist/100.a7c19fae5a8cbda20b25.bundle.js +0 -1
- package/dist/101.3ada6b5a04e4ef57722a.bundle.js +0 -1
- package/dist/11.383d753c4b510ee977ff.bundle.js +0 -2
- package/dist/122.9be3da7023b103801a26.bundle.js +0 -1
- package/dist/14.219b562ad2c5a28865e0.bundle.js +0 -1
- package/dist/151.b9fef74d5877b8cd2f13.bundle.js +0 -1
- package/dist/16.5a4f7749c7625c7f6f28.bundle.js +0 -1
- package/dist/160.162fbe684b3fc6fda8cd.bundle.js +0 -1
- package/dist/162.c33e7eb0f83493d631f4.bundle.js +0 -1
- package/dist/17.903011ce0ef67971cb5a.bundle.js +0 -3
- package/dist/178.b71de0f2c5129e112191.bundle.js +0 -1
- package/dist/18.debb372b628888bb9622.bundle.js +0 -3
- package/dist/19.bbcba308e446241f309a.bundle.js +0 -2
- package/dist/191.1ad64c7613a9f9369f8b.bundle.js +0 -1
- package/dist/192.01b899883554ea297b3f.bundle.js +0 -1
- package/dist/198.75a20f2c5a4dfcc2267f.bundle.js +0 -1
- package/dist/2.20318b6444a918ee1840.bundle.js +0 -2
- package/dist/20.137a3bcd033e9bfae0c3.bundle.js +0 -1
- package/dist/200.9583ccab5e9e2e1bb6ed.bundle.js +0 -1
- package/dist/209.e844172a6740640ff453.bundle.js +0 -1
- package/dist/212.7cce0be2a3f1d2ddb7c8.bundle.js +0 -1
- package/dist/213.2b1d9d438dab2661fd05.bundle.js +0 -1
- package/dist/220.44162546de18ba6cc9f0.bundle.js +0 -1
- package/dist/222.26e896b4ba989fe7973f.bundle.js +0 -1
- package/dist/223.342098cde78a228dbae2.bundle.js +0 -1
- package/dist/225.b06774edc16980ef562e.bundle.js +0 -1
- package/dist/226.376ae813218cfe93c083.bundle.js +0 -1
- package/dist/262.4ed800ac9a0fe21beffc.bundle.js +0 -1
- package/dist/269.e222f8f4aa2fbadbee91.bundle.js +0 -1
- package/dist/30.0828aa8ae1f25833397b.bundle.js +0 -1
- package/dist/342.ece4bc7705c585817d73.bundle.js +0 -1
- package/dist/343.fd62d9ad7972c4887f94.bundle.js +0 -1
- package/dist/35.17f5b0ce4f886b77e699.bundle.js +0 -1
- package/dist/36.28a91e7fad638505d5dd.bundle.js +0 -1
- package/dist/45.f68c71a802e6e2ae67d0.bundle.js +0 -1
- package/dist/5.49b726937f26784c1720.bundle.js +0 -1
- package/dist/54.525e325c3ff3d66d087e.bundle.js +0 -1
- package/dist/58.6e8a7af4f43f8a37d4dc.bundle.js +0 -1
- package/dist/59.32bf8ffd839e72461aa8.bundle.js +0 -1
- package/dist/6.cd54d2935e0445fba96c.bundle.js +0 -1
- package/dist/61.362689e0418f36f4eedc.bundle.js +0 -1
- package/dist/62.50a88755bd442d2be1df.bundle.js +0 -1
- package/dist/71.8e539a6df2bfbd27edf2.bundle.js +0 -1
- package/dist/73.9ea61819525e784311f5.bundle.js +0 -1
- package/dist/79.ca81fcb2cee68a7c1cc9.bundle.js +0 -1
- package/dist/92.0c19ff7848520f37c589.bundle.js +0 -1
- package/dist/93.5d075c25d6ea5153bd97.bundle.js +0 -1
- package/dist/94.37c432be41c67bda04b3.bundle.js +0 -1
- package/dist/95.3d098dda77bda296ac4e.bundle.js +0 -1
- package/dist/96.5cc5f5d68594104e1220.bundle.js +0 -1
- package/dist/97.a09fc9b7cf6de9caab0e.bundle.js +0 -1
- package/dist/98.a0fd93ba5edf42d6ce80.bundle.js +0 -1
- package/dist/99.bde7172fb1a95d14bbf6.bundle.js +0 -1
- /package/dist/js/angular/{chatgpt/templates/chat.html → ttyg/templates/chat1.html} +0 -0
- /package/dist/js/angular/{chatgpt → ttyg}/templates/chatInfo.html +0 -0
- /package/dist/js/angular/{chatgpt → ttyg}/templates/modal/settings.html +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[80,278],{110:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},211:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(110);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[81,168],{69:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},80:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(28),o=n(69);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[82,164],{77:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},95:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(77);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[83,168],{111:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return o}));var i=s(69),r=s(28);class o{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.shortenedName="",this.path="",this.shortenedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass="",this.shortenedMessage=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}removeResource(e){e.isFile()?this.files=this.files.filter(t=>e.importResource.name!==t.importResource.name):this.directories=this.directories.filter(t=>e.importResource.name!==t.importResource.name)}remove(){this.isRoot()||this.parent.removeResource(this)}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new o,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelectedForImport(){const e=[],t=this.isRoot();return!t&&this.selected&&e.push(this),(t||this.isDirectory()&&!this.selected)&&(this.files.forEach(t=>e.push(...t.getAllSelectedForImport())),this.directories.forEach(t=>e.push(...t.getAllSelectedForImport()))),Object(r.cloneDeep)(e)}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),Object(r.cloneDeep)(e)}getSelectedImportedResources(){return this.getAllSelected().some(e=>e.importResource.status===i.ImportResourceStatus.DONE)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),this.directories.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}getSize(){return this.toList().length}}},69:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[84,180],{141:function(r,e,i){"use strict";i.r(e),i.d(e,"OntopDriverData",(function(){return s}));var t=i(88);class s{constructor(){this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""}static isGenericDriver(r){return r===t.JdbcDriverType.GENERIC}static isSnowflakeDriver(r){return r===t.JdbcDriverType.SNOWFLAKE}}},88:function(r,e,i){"use strict";i.r(e),i.d(e,"JdbcDriverType",(function(){return t}));const t={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,224],{146:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearch",(function(){return c}));var t=r(89);class c{constructor(){this.type=t.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""}isSearchAnalogicalType(){return t.SimilaritySearchType.isSearchAnalogicalType(this.type)}isSearchTermType(){return t.SimilaritySearchType.isSearchTermType(this.type)}isSearchEntityType(){return t.SimilaritySearchType.isSearchEntityType(this.type)}isSearchEntityPredicateType(){return t.SimilaritySearchType.isSearchEntityPredicateType(this.type)}isSearchDocumentType(){return t.SimilaritySearchType.isSearchDocumentType(this.type)}}},89:function(e,i,r){"use strict";r.r(i),r.d(i,"SimilaritySearchType",(function(){return t}));const t={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:e=>t.SEARCH_TERM===e,isSearchAnalogicalType:e=>t.SEARCH_ANALOGICAL===e,isSearchEntityType:e=>t.SEARCH_ENTITY===e,isSearchEntityPredicateType:e=>t.SEARCH_ENTITY_PREDICATE===e,isSearchDocumentType:e=>t.SEARCH_DOCUMENT===e}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[86,231],{100:function(e,a,n){"use strict";n.r(a),n.d(a,"TabQueryModel",(function(){return r}));class r{constructor(e,a,n,r=!0){this.queryName=e,this.query=a,this.owner=n,this.isPublic=r}}},119:function(e,a,n){"use strict";n.r(a),n.d(a,"buildQueryModel",(function(){return t})),n.d(a,"savedQueriesResponseMapper",(function(){return u})),n.d(a,"savedQueryResponseMapper",(function(){return d})),n.d(a,"queryPayloadFromEvent",(function(){return o}));var r=n(100);const t=(e,a,n,t)=>new r.TabQueryModel(a,e,n,t),u=e=>e&&e.data?e.data.map?e.data.map(e=>t(e.body,e.name,e.owner,e.shared)):[t(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[],d=e=>{const a=u(e);return a.length?a[0]:null},o=e=>({name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[87,233],{79:function(t,s,a){"use strict";a.r(s),a.d(s,"ChatModel",(function(){return e})),a.d(s,"ChatByDayModel",(function(){return i})),a.d(s,"ChatsListModel",(function(){return n}));class e{constructor(t){this._conversationId=t.conversationId,this._conversationName=t.conversationName,this._timestamp=t.timestamp}get conversationId(){return this._conversationId}set conversationId(t){this._conversationId=t}get conversationName(){return this._conversationName}set conversationName(t){this._conversationName=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}class i{constructor(t){this._day=t.day,this._timestamp=t.timestamp,this._chats=t.chats}get day(){return this._day}set day(t){this._day=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chats(){return this._chats}set chats(t){this._chats=t}}class n{constructor(t){this._chats=t||[],this._chatsByDay=[],this._chats.forEach(t=>{const s=new Date(1e3*t.timestamp).toDateString(),a=this._chatsByDay.find(t=>t.day===s);a?a.chats.push(t):this._chatsByDay.push(new i({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}isEmpty(){return 0===this._chats.length}get chats(){return this._chats}set chats(t){this._chats=t}get chatsByDay(){return this._chatsByDay}set chatsByDay(t){this._chatsByDay=t}}},90:function(t,s,a){"use strict";a.r(s),a.d(s,"chatsListMapper",(function(){return i}));var e=a(79);const i=t=>{if(!t)return new e.ChatsListModel;const s=t.map(t=>new e.ChatModel({conversationId:t.conversationId,conversationName:t.conversationName,timestamp:t.timestamp}));return new e.ChatsListModel(s)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[88,240],{238:function(n,e,i){"use strict";i.r(e);i(38);function t(n,e,i,t,r,o,s,l){let u;const a=function(){n.clear(),r.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()&&c()};n.clear=function(){n.searchPluginsTerm="",n.plugins=[],n.displayedPlugins=[]};const c=function(){g(),u=e((function(){g()}),5e3)},g=function(){s.getPlugins(n.getActiveRepository()).success((function(e){n.plugins=n.buildPluginsArray(e.results.bindings)})).error((function(n){i.error(getError(n))})).finally((function(){n.filterResults(),n.setLoader(!1)}))};n.buildPluginsArray=function(n){return n.map(n=>({name:n.s.value,enabled:"true"===n.o.value})).filter((function(n){return"plugincontrol"!==n.name&&"literals-index"!==n.name})).sort((function(n,e){const i=n.name.toLowerCase(),t=e.name.toLowerCase();return i<t?-1:i>t?1:0}))},n.filterResults=function(){const e=n.plugins.filter(e=>-1!==e.name.indexOf(n.searchPluginsTerm));f(e)&&n.updateDisplayedPlugins(e)};const f=function(e){if(!n.displayedPlugins||n.displayedPlugins.length!==e.length)return!0;for(const i in e)if(!n.displayedPlugins.find(n=>angular.equals(n,e[i])))return!0;return!1};function d(){u&&e.cancel(u)}n.updateDisplayedPlugins=function(e){n.displayedPlugins=e,setTimeout((function(){n.applyRowStyles()}),0)},n.setLoader=function(e,i){o.cancel(n.loaderTimeout),e?n.loaderTimeout=o((function(){n.loader=e,n.loaderMessage=i}),300):n.loader=!1},n.$on("repositoryIsSet",(function(){d(),a()})),n.$on("$destroy",(function(){d(),$(window).off("resize.plugin")})),$(window).on("resize.plugin",(function(){n.applyRowStyles()})),n.applyRowStyles=function(){const e=$("#wb-plugins-pluginInPlugins").width(),i=$("tr").width(),t=Math.floor(e/i);$(".wb-plugins-row").toArray().forEach((e,i)=>{n.isGreyBackground(t,i)?$(e).addClass("grey-row"):$(e).removeClass("grey-row")})},n.isGreyBackground=function(n,e){const i=(Math.floor(e/n)+1)%2!=1,t=e%2!=0;if(n%2!=0){if(i&&!t||!i&&!t)return!0;if(i&&t||!i&&t)return!1}else{if(i&&!t||!i&&t)return!1;if(i&&t||!i&&!t)return!0}},n.togglePlugin=function(e,t){const r=n.getActiveRepository(),o=t?l.instant("deactivating.plugin",{pluginName:e}):l.instant("activating.plugin",{pluginName:e});n.setLoader(!0,o),s.togglePlugin(r,t,e).error((function(n){i.error(getError(n))})).finally((function(){g(),n.setLoader(!1)}))},n.getLoaderMessage=function(){return n.loaderMessage||l.instant("common.loading")},n.onSearchTermChanged=function(){n.filterResults()},a()}angular.module("graphdb.framework.plugins.controllers",["graphdb.framework.rest.plugins.service"]).controller("PluginsCtrl",t),t.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$timeout","PluginsRestService","$translate"]},320:function(n,e,i){"use strict";i.r(e);i(238);angular.module("graphdb.framework.plugins",["ngRoute","graphdb.framework.plugins.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,242],{239:function(e,t,o){"use strict";o.r(t);o(7),o(32);const n=angular.module("graphdb.framework.jmx.queries.controllers",["ui.bootstrap","toastr","graphdb.framework.rest.monitoring.service"]);n.controller("QueriesCtrl",["$scope","$uibModal","toastr","$interval","$repositories","$jwtAuth","ModalService","MonitoringRestService","$translate","AuthTokenService",function(e,t,o,n,r,i,s,u,a,c){e.loader=!0,e.stringLimit=500,e.expanded={},e.error="",e.paused=!1;const l=document.createElement("a");e.parseNode=function(e){if(null==e)return null;let t="local";if(e.indexOf("://localhost:")<0&&e.indexOf("://localhost/")<0){l.href=e;let o=l.hostname;(function(e){const t=e.split(".");for(let e=0,o=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?o++:o=0,4===o)return!0;return!1})(l.hostname)||(o=l.hostname.split(".")[0]),t=o+":"+l.port}const o=e.match(/\/repositories\/([^\/]+)#(\d+)/);return[o[2],t,o[1]]},e.togglePause=function(){e.paused=!e.paused},e.getQueries=function(){e.getQueriesRunning||e.paused||e.error||!r.getActiveRepository()||(e.getQueriesRunning=!0,u.monitorQuery(r.getActiveRepository()).success((function(t){const o=t;e.noQueries=0===o.length,e.queries={};for(let t=0;t<o.length;t++)o[t].parsedNode=e.parseNode(o[t].node),e.queries[o[t].trackId]=o[t];e.noActiveRepository=!1,e.loader=!1,e.getQueriesRunning=!1})).error((function(t){e.error=getError(t),e.loader=!1,e.getQueriesRunning=!1})))};const d=n((function(){r.isActiveRepoOntopType()||e.getQueries()}),1e3);e.$on("$destroy",(function(){n.cancel(d)})),e.deleteQueryHttp=function(t){e.loader=!0,u.deleteQuery(t,r.getActiveRepository()).success((function(){o.success(a.instant("abort.request.sent.msg")),e.loader=!1})).error((function(t){const n=getError(t);o.error(n,a.instant("common.error")),e.loader=!1}))},e.abortQuery=function(t){s.openSimpleModal({title:a.instant("confirm.abort"),message:a.instant("confirm.abort.warning.msg"),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.downloadQuery=function(e){const t="query_"+e+".rq";let o="rest/monitor/repository/"+r.getActiveRepository()+"/query/download?query="+encodeURIComponent(e)+"&filename="+encodeURIComponent(t);i.isAuthenticated()&&(o=o+"&authToken="+encodeURIComponent(c.getAuthToken())),window.open(o,"_blank")},e.toggleQueryExpanded=function(t){e.expanded[t]=!e.expanded[t]}}]),n.controller("DeleteQueryCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close()},e.cancel=function(){t.dismiss("cancel")}}])},322:function(e,t,o){"use strict";o.r(t);o(7),o(29),o(239);angular.module("graphdb.framework.jmx.queries",["toastr","ui.bootstrap","graphdb.framework.jmx.queries.controllers","graphdb.framework.core.directives"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[9,49,63,64,65,102,103,104,105,107,108,245],{148:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},149:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},150:function(e,t,o){"use strict";o.r(t);o(70);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},151:function(e,t,o){"use strict";o.r(t);o(70);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},152:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},153:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},154:function(e,t,o){"use strict";o.r(t);o(80);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},155:function(e,t,o){"use strict";o.r(t);o(70),o(80);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},240:function(e,t,o){"use strict";o.r(t);o(70),o(80),o(148),o(149),o(150),o(151),o(152),o(153),o(154),o(155);var n=o(26),r=o(74),s=o(81);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},70:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},80:function(e,t,o){"use strict";o.r(t);o(35);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},81:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9,52,68,69,70,108,109,110,111,113,114,252],{159:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},160:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},161:function(e,t,o){"use strict";o.r(t);o(72);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},162:function(e,t,o){"use strict";o.r(t);o(72);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},163:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},164:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},165:function(e,t,o){"use strict";o.r(t);o(83);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},166:function(e,t,o){"use strict";o.r(t);o(72),o(83);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},251:function(e,t,o){"use strict";o.r(t);o(72),o(83),o(159),o(160),o(161),o(162),o(163),o(164),o(165),o(166);var n=o(28),r=o(76),s=o(84);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},72:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},83:function(e,t,o){"use strict";o.r(t);o(37);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},84:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[90,249],{244:function(e,r,t){"use strict";t.r(r);var n=t(462);angular.module("graphdb.framework.resources.directives",[]).directive("chart",["$rootScope",function(e){return{restrict:"AE",scope:{chart:"="},link:function(r,t){let s;const a=e.$on("$translateChangeSuccess",()=>{r.chart.translateLabels(),s.setOption(r.chart.chartOptions)});function o(){s.setOption(r.chart.chartOptions),r.chart.updateRange(r.chart.dataHolder),s.hideLoading()}function c(e){r.chart.setSelectedSeries(e.selected)}function i(){s.resize()}r.$watch("chart",(function(){s=n.a(t[0],null,{renderer:"svg"}),s.setOption(r.chart.chartOptions),s.showLoading(),s.on("legendselectchanged",c),r.chart.registerRefreshHandler(o),r.chart.translateLabels(),window.addEventListener("resize",i)})),r.$on("$destroy",(function(){s.on("legendselectchanged"),s.dispose(),r.chart.unregisterRefreshHandler(o),a(),window.removeEventListener("resize",i)}))}}}])},328:function(e,r,t){"use strict";t.r(r);t(7),t(29),t(151),t(30),t(462),t(244);angular.module("graphdb.framework.jmx.resources",["toastr","ui.bootstrap","graphdb.framework.jmx.resources.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.resources.directives"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[91,248],{224:function(t,e,a){"use strict";a.r(e),a.d(e,"ClusterHealthChart",(function(){return r}));var s=a(67);class r extends s.ChartData{constructor(t){super(t,!0,!1),this.nodesCount=0}createDataHolder(){const[t,e,a,s]=r.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:s,data:[]}]}addNewData(t,e,a){const s=a.nodesStats;this.nodesCount=s.nodesInCluster;const[r,i,n,l]=t;this.latestData={nodesInSync:s.nodesInCluster,nodesOutOfSync:s.nodesOutOfSync,nodesDisconnected:s.nodesDisconnected,nodesSyncing:s.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},r.data.push({value:[e,s.nodesInSync]}),n.data.push({value:[e,s.nodesOutOfSync]}),l.data.push({value:[e,s.nodesDisconnected]}),i.data.push({value:[e,s.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[t,e,a,s]=this.dataHolder;t.name=this.translateService.instant("resources.cluster_health.in_sync"),e.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),s.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(t,e){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const t=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(t)}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return r}));var s=a(462);class r{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[r.cssVar("--secondary-color"),r.cssVar("--primary-color"),r.cssVar("--tertiary-color"),r.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,s){this.filter=s,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((s,r)=>{if(Array.isArray(s.value)&&!s.value.length)return;const i=Array.isArray(s.value)?s.value.join("/"):s.value;a+=`{a|${s.label}}`,void 0!==i&&(a+=`{b|${i}}`),r+1<t.length&&(a+=e>0&&(r+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,s){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=r.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:r.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:r.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return s.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:r.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:r.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:r.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>r.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let s;s=Array.isArray(t)?r.getMaxValueFromDataHolder(t,a):r.getMaxValueForDataSeries(t);const i=Math.ceil(s*(e||r.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/r.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[s,i]=r.calculateMaxChartValueAndDivisions(t,e,a);return[s,i]}static formatBytesValue(t,e,a){let s=t;e&&(s=r.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(s)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[92,248],{223:function(t,e,a){"use strict";a.r(e),a.d(e,"ConnectionsChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.connections.active"),e.name=this.translateService.instant("resource.connections.open")}addNewData(t,e,a){const[r,s]=t,{activeTransactions:i,openConnections:n}=a.performanceData;r.data.push({value:[e,i]}),s.data.push({value:[e,n]})}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[93,248],{225:function(t,e,a){"use strict";a.r(e),a.d(e,"EpoolChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.epool.reads"),e.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(t,e,a,r){const s=a.performanceData,[i,o]=t;let n=0,l=0;const h=s.entityPool.epoolReads,c=s.entityPool.epoolWrites;r||(n=h-this.lastestData.reads,l=c-this.lastestData.writes),this.lastestData={reads:h,writes:c},i.data.push({value:[e,n]}),o.data.push({value:[e,l]})}updateRange(t){t.forEach((t,e)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis[e].max=a,this.chartOptions.yAxis[e].minInterval=s})}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[94,248],{221:function(t,e,a){"use strict";a.r(e),a.d(e,"QueriesChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t){super(t,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(t,e,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},t[0].data.push({value:[e,r.length]}),this.configureSubtitle()}updateRange(t,e){const[a,s]=r.ChartData.getIntegerRangeForValues(t,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const t=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(t)}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[95,248],{219:function(t,e,a){"use strict";a.r(e),a.d(e,"CpuLoadChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>t+"%"},min:0,max:function(t){return Math.round(t.max>50?100:2*t.max)}},tooltip:{valueFormatter:function(t){return t+"%"}}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(t,e,a){t[0].data.push({value:[e,this.formatValue(a.cpuLoad)]})}formatValue(t){return+parseFloat(t).toFixed(4)}updateRange(t){}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[96,248],{220:function(t,e,a){"use strict";a.r(e),a.d(e,"DiskStorageChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t){super(t,!0,!0)}chartSetup(t){const e={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(t){return(100*t).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(t){return(100*t).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(t,e)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(t,e){return{name:this.translateService.instant(t),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:e,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:t}){return(100*t).toFixed(2)+"%"}},emphasis:{itemStyle:{color:e,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.storage.used"),e.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(t,e,a,r){const s=a.storageMemory,[i,o]=t;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const l=s.dataDirUsed+s.dataDirFree,n=s.workDirUsed+s.workDirFree,h=s.logsDirUsed+s.logsDirFree,c=s.dataDirUsed/l,d=s.workDirUsed/n,u=s.logsDirUsed/h,g=s.dataDirFree/l,f=s.workDirFree/n,m=s.logsDirFree/h;i.data.push(u,d,c),o.data.push(m,f,g)}configureSubtitle(){const t=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(t)}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[97,248],{217:function(t,e,a){"use strict";a.r(e),a.d(e,"FileDescriptorsChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},min:0},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[t]=this.dataHolder;t.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(t,e,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&t[0].data.push({value:[e,a.openFileDescriptors]})}configureSubtitle(){let t;t=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(t)}updateRange(t){super.updateRange(t,2)}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[98,248],{222:function(t,e,a){"use strict";a.r(e),a.d(e,"GlobalCacheChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t,e){super(t,!1,!1,e)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.formatNumber(t)},minInterval:1},tooltip:{valueFormatter:t=>this.formatNumber(t)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resources.global_cache.hits"),e.name=this.translateService.instant("resources.global_cache.miss")}addNewData(t,e,a){const[r,s]=t;r.data.push({value:[e,a.cacheHit]}),s.data.push({value:[e,a.cacheMiss]})}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[99,248],{112:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(67);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},67:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(462);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|