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([[58,82,164],{186:function(e,r,t){"use strict";t.r(r);var s=t(95);angular.module("graphdb.framework.rest.graphconfig.service",[]).factory("GraphConfigRestService",i);function i(e){return{getGraphConfigs:function(){return e.get("rest/explore-graph/config")},getGraphConfigSamples:function(){return e.get("rest/explore-graph/samples")},loadGraphForConfig:function(r,t,s,i){return e.get(`rest/explore-graph/config/graph/${encodeURIComponent(r.id)}?includeInferred=${t}&linksLimit=${s}&sameAsState=${i}`)},getConfig:function(r){return e.get("rest/explore-graph/config/"+encodeURIComponent(r)).then(e=>Object(s.mapGraphsConfigResponseToModel)(e.data))},createGraphConfig:function(r){return e.post("rest/explore-graph/config",r)},updateGraphConfig:function(r){return console.log("rest update",r),e.put("rest/explore-graph/config/"+encodeURIComponent(r.id),r)},deleteGraphConfig:function(r){return e.delete("rest/explore-graph/config/"+encodeURIComponent(r.id))},validateQuery:function(r,t,s,i,a){return e({method:"POST",url:"rest/explore-graph/validate",data:{query:r,queryType:t,params:s,all:i,oneOf:a}})}}}i.$inject=["$http"]},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,n=!0,u,o,p,h,c,d,y,Q,l,g,_,I,f,m,D){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=n,this._startGraphQuery=u,this._startIRI=o,this._startIRILabel=p,this._expandQuery=h,this._resourceQuery=c,this._predicateLabelQuery=d,this._resourcePropertiesQuery=y,this._shared=Q,this._description=l,this._hint=g,this._startGraphQueryDescription=_,this._expandQueryDescription=I,this._resourceQueryDescription=f,this._predicateLabelQueryDescription=m,this._resourcePropertiesQueryDescription=D}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 n}));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),n=e=>e.map(e=>a(e))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,214,215],{104:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}},131:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceInfo",(function(){return o}));var s=e(104),n=e(87);class o{constructor(){this.role="subject",this.uri=void 0,this.triple=void 0,this.context=void 0,this.contextType=n.ContextTypes.EXPLICIT,this.sameAs=!0,this.details=new s.ResourceDetails,this.blanks=!0}}},87:function(t,i,e){"use strict";e.r(i),e.d(i,"ContextType",(function(){return s})),e.d(i,"ContextTypes",(function(){return n}));class s{constructor(t,i){this.id=t,this.labelKey=i}static getAllType(){return[n.ALL,n.EXPLICIT,n.IMPLICIT]}static getContextType(t){return this.getAllType().find(i=>i.id===t)}}const n={ALL:new s("all","explore.explicit.implicit"),EXPLICIT:new s("explicit","explore.explicit"),IMPLICIT:new s("implicit","explore.implicit")}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[6,38,39,48,56,80,81,150,152,153,165,166,168,169,171,257,264,276,278,282],{105:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportParsingSettings",(function(){return o}));class o{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}},110:function(e,t,r){"use strict";r.r(t),r.d(t,"FileUtils",(function(){return o}));class o{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const t=e.lastIndexOf(".");return{filename:e.substring(0,t),extension:e.substring(t+1)}}}},134:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResource",(function(){return n}));var o=r(69),i=r(105),s=r(78);class n{constructor(e,t){this.hash=t(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:o.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new i.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0}isDirectory(){return s.ImportResourceType.DIRECTORY===this.type}isFile(){return s.ImportResourceType.FILE===this.type||s.ImportResourceType.URL===this.type||s.ImportResourceType.TEXT===this.type}isURL(){return s.ImportResourceType.URL===this.type}isText(){return s.ImportResourceType.TEXT===this.type}}},135:function(e,t,r){"use strict";r.r(t),r.d(t,"SortingType",(function(){return o}));const o={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},200:function(e,t,r){"use strict";r.r(t),r.d(t,"Operation",(function(){return g}));r(7),r(33),r(201),r(202);var o=r(80),i=(r(203),r(204)),s=(r(205),r(206),r(207),r(208)),n=r(74),a=r(110),p=r(209),c=r(210),l=r(0),u=r(211),d=r(135),m=r(69);const f=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),g={IMPORT:"import",BATCH_IMPORT:"batch_import",IMPORT_SNIPPET:"import_snippet",IMPORT_URL:"import_url",UPLOAD:"upload"},h="file",R="text",S="url";f.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(e,t,r,p,u,f,h,R,S,I,v,F,y,T){const b=[];let U=null;let E=void 0;e.files=[],e.fileChecked={},e.activeTabId=T.getActiveTabId(),e.popoverTemplateUrl="settingsPopoverTemplate.html",e.fileFormatsExtended=s.FileFormats.getFileFormatsExtended(),e.fileFormatsHuman=s.FileFormats.getFileFormatsHuman()+S.instant("import.gz.zip"),e.textFileFormatsHuman=s.FileFormats.getTextFileFormatsHuman(),e.maxUploadFileSizeMB=0,e.SORTING_TYPES=d.SortingType,e.TAB_IDS=o.TABS,e.toTitleCase=e=>n.toTitleCase(e),e.setSettingsFor=(t,r,o,s,n=(()=>{}))=>{$(t,r).then(r=>{e.settingsFor=t,e.settings=r,""===t||"application/ld+json"===o||"application/x-ld+ndjson"===o||t.endsWith("jsonld")||t.endsWith("zip")||t.endsWith("gz")||"directory"===e.settings.type?e.settings.hasContextLink=!0:e.settings.hasContextLink=!1;const a=_.cloneDeep(e.settings),p={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",windowClass:"import-settings-modal",resolve:{dialogModel:function(){return{operation:s,settings:_.cloneDeep(e.settings),hasParserSettings:e.isLocalLocation,defaultSettings:a,isMultiple:!t,activeTab:e.activeTabId}}},size:"lg"};v.isActive()&&(p.backdrop="static",p.keyboard=!1),u.open(p).result.then(t=>{if(e.currentFiles&&t.action===i.SettingsModalActions.UPLOAD_AND_IMPORT){const t=Object(c.filesToImportResource)(e.currentFiles,m.ImportResourceStatus.UPLOADING);T.updateResourcesForUpload(t)}e.settings=t.settings,""===e.settingsFor?e.importSelected():e.importFile(e.settingsFor,!0)},t=>{if(e.settings=t.settings,t.action===i.SettingsModalActions.CANCEL&&(e.currentFiles=[],s===g.UPLOAD&&(e.files=[])),e.currentFiles&&t.action===i.SettingsModalActions.UPLOAD_ONLY){const t=Object(c.filesToImportResource)(e.currentFiles,m.ImportResourceStatus.UPLOADING);T.updateResourcesForUpload(t)}n&&n()})})},e.updateImport=(t,r,o)=>{$(t,r).then(r=>{e.settingsFor=t,e.settings=r,e.importFile(t,o)})},e.importSelected=t=>{const r=new Set([...D(),...O()]),o=Array.from(r),i=()=>{const r=o.shift();r&&$(r).then(o=>{t&&(e.settings=o),e.importFile(r,!0,i)})};i()},e.isLocalLocation=()=>{const e=p.getActiveLocation();return e&&e.local},e.updateList=t=>{e.canWriteActiveRepo()&&e.updateListHttp(t)},e.onRepositoryChange=()=>{e.setRestricted(),e.isRestricted||(e.updateList(!0),x())},e.onImport=t=>{e.setSettingsFor(t.importResource.name,!1,t.importResource.format,g.IMPORT)},e.onStopImport=r=>{const i=r.importResource;(e.activeTabId===o.TABS.USER?y.stopUserDataImport:y.stopServerImport)(p.getActiveRepository(),{name:i.name,type:i.type}).success((function(){e.updateList()})).error((function(e){t.warning(S.instant("import.error.could.not.stop",{data:getError(e)}))}))},e.onRemove=e=>{const t=e.map(e=>e.name);A(t)},e.onReset=e=>{L(e,!1)},e.importAll=(t,r)=>{if(r)e.importSelected(t,r);else{let o="";1===t.length&&(o=t[0].importResource.name),e.setSettingsFor(o,r,void 0,g.BATCH_IMPORT)}},e.onEditResource=t=>{t.importResource.isText()&&e.openTextSnippetDialog(t.importResource)};const x=()=>(E=void 0,e.canWriteActiveRepo()?y.getDefaultSettings(p.getActiveRepository()).success((function(e){return E=e,E})).error((function(e){t.warning(S.instant("import.error.default.settings",{data:getError(e)}))})):Promise.resolve(E)),O=()=>T.getSelectedFilesNames(),D=()=>e.currentFiles.filter(e=>e.name).map(e=>e.name),A=(e=[])=>{const t="<br/>"+e.join("<br/>"),r=Object(l.decodeHTML)(S.instant("import.remove.confirm.msg",{name:t}));F.openConfirmation(S.instant("common.confirm"),r,()=>{L(e,!0)})},$=(t,r)=>r||_.isEmpty(t)||_.isEmpty(e.savedSettings[t])?(E?Promise.resolve(angular.copy(E)):x().then(()=>angular.copy(E))).then(e=>e):Promise.resolve(e.savedSettings[t]);e.updateListHttp=r=>{if(!p.getActiveRepository())return Promise.resolve();const i=e.activeTabId===o.TABS.USER?y.getUploadedFiles:y.getServerFiles,s=e.activeTabId;return i(p.getActiveRepository()).success((function(t){s===T.getActiveTabId()&&(T.updateImportedResources(Object(c.toImportResource)(t)),0===e.files.length||r?(e.files=t,T.updateFiles(e.files),e.files.forEach((function(t){t.type||(t.type=e.defaultType)}))):e.files.forEach((function(r){const o=_.find(t,_.matches({name:r.name}));r.status&&o&&_.assign(r,o),r.type||(r.type=e.defaultType)})),r&&o.TABS.USER===e.activeTabId&&(e.files=_.filter(e.files,(function(e){return void 0!==e.status})),T.updateFiles(e.files)),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"))})).error((function(e){t.warning(S.instant("import.error.could.not.get.files",{data:getError(e)}))}))};const L=(r,i)=>{if(!r||r.length<1)return;(e.activeTabId===o.TABS.USER?y.resetUserDataStatus:y.resetServerFileStatus)(p.getActiveRepository(),r,i).success((function(){e.updateList(!0)})).error((function(e){t.warning(S.instant("import.error.could.not.clear",{data:getError(e)}))}))},P=()=>{b.forEach(e=>e())},w=t=>{e.activeTabId=t,T.updateImportedResources([]),T.updateResourcesForUpload([]),T.updateShowLoader(!0),e.updateListHttp(!0).finally(()=>T.updateShowLoader(!1))};e.importViewControllerInit=()=>{b.push(e.$on("repositoryIsSet",e.onRepositoryChange)),b.push(e.$on("$destroy",()=>r.cancel(U))),b.push(T.onActiveTabIdUpdated(e=>w(e))),e.$on("$destroy",P),I.getInfo().success((function(t){e.appData={},e.appData.properties={};for(let r=0;r<t.length;r++)e.appData.properties[t[r].key]={source:t[r].source,value:t[r].value};e.maxUploadFileSizeMB=a.FileUtils.convertBytesToMegabytes(e.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(e){const r=getError(e);t.error(r,S.instant("common.error"))})),x(),U=r(()=>{e.updating||e.updateList(!1)},4e3),w(T.getActiveTabId())}}]),f.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(e,t,r,i,s,n,a){e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType="server",e.tabId="#import-server",e.importSelected=e=>{p(a.getSelectedFilesNames(),e)},e.importFile=function(e){p([e])};const p=function(r,o){e.canWriteActiveRepo()&&n.importServerFiles(s.getActiveRepository(),{importSettings:o?null:e.settings,fileNames:r}).success((function(){e.updateList(),e.fileChecked={}})).error((function(e){t.error(i.instant("import.could.not.send.file",{data:getError(e)}))}))};o.TABS.SERVER===a.getActiveTabId()&&e.importViewControllerInit()}]),f.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(e,t,r,i,s,n,c,l,d,f,I){const v=new u.FilePrefixRegistry,F=[];e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType=h,e.tabId="#import-user",e.currentFiles=[];let y=!1;e.pastedDataIdx=1,e.fileSelected=function(t,r,o,i,s){const n={files:o,cancel:!1};I.emit("filesForUploadSelected",n,t=>{if(!t.cancel){const t=s||[];T(t);const r=t.map(e=>e.name);let i=o||[];i=i.filter(e=>!r.includes(e.name)),O(i);const n=[],a=[];i.forEach(t=>{e.files.some(e=>e.name===t.name)?n.push(t):a.push(t)}),n.length>0?D(n,a):(e.currentFiles=[...i],y=!0,A())}})},e.importFile=(r,o,i)=>{const n=e.files.find(e=>e.name===r);n?n.type===R?b(n,o,i):n.type===S?E(n,o,i):x(n,o,i):t.warning(s.instant("import.no.such.file",{name:r}))},e.openTextSnippetDialog=t=>{t&&t.data;i.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return t?t.data:""},format:function(){return t?t.format:"text/turtle"}}}).result.then(r=>{t?(t.data===r.text&&t.format===r.format||t.status===m.ImportResourceStatus.NONE||(t.status=m.ImportResourceStatus.NONE,t.message=s.instant("import.text.snippet.not.imported")),t.data=r.text,t.format=r.format,U(t)):(t={type:"text",name:"Text snippet "+p.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},e.files.unshift(t),e.updateImport(t.name,!1,!1)),r.startImport&&e.setSettingsFor(t.name,!1,t.format,g.IMPORT_SNIPPET)})},e.rdfDataFromURL=()=>{i.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:e}).result.then((function(t){const r=_.find(e.files,{type:"url",name:t.url});r?r.format=t.format:e.files.unshift({type:"url",name:t.url,format:t.format,data:t.url}),e.updateImport(t.url,!0,!1),t.startImport&&e.setSettingsFor(t.url,!0,t.format,g.IMPORT_URL)}))};const T=e=>{e.length>0&&e.forEach((function(e){t.warning(s.instant("import.large.file",{name:e.name,size:a.FileUtils.convertBytesToMegabytes(e.size)}))}))},b=(r,o,i)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(o?c.importTextSnippet:c.updateTextSnippet)(n.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(s.instant("import.could.not.send.data",{data:getError(e)})),r.status=m.ImportResourceStatus.ERROR,r.message=getError(e)})).finally(i||function(){})},U=r=>{e.updating=!0,c.updateTextSnippet(n.getActiveRepository(),r).success((function(e){})).error((function(e){t.error(s.instant("import.could.not.update.text",{data:getError(e)}))})).finally((function(){e.updating=!1}))},E=(r,o,i)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=m.ImportResourceStatus.PENDING;(o?c.importFromUrl:c.updateFromUrl)(n.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(s.instant("import.could.not.send.url",{data:getError(e)}))})).finally(i||function(){})},x=(r,o,i)=>{e.settings.name=r.name;const a=l.createUploadPayload(r,e.settings);(o?l.uploadUserDataFile:l.updateUserDataFile)(n.getActiveRepository(),r,a).progress(e=>{const t=parseInt(100*e.loaded/e.total)||0,o=s.instant("import.file.upload.progress",{progress:t}),i=f.getResourceForUpload(r.name);i&&i.status!==m.ImportResourceStatus.UPLOAD_ERROR&&(i.status=t>=100?m.ImportResourceStatus.UPLOADED:m.ImportResourceStatus.UPLOADING,i.message=o,f.updateResourceForUpload(i))}).success(t=>{const o=f.getResourceForUpload(r.name);o&&o.status!==m.ImportResourceStatus.UPLOAD_ERROR&&(o.status=m.ImportResourceStatus.UPLOADED,o.message=void 0,f.updateResourceForUpload(o)),e.updateList()}).error(e=>{let o="";o=e?s.instant("import.could.not.upload.file",{data:o}):s.instant("import.upload.file.failure"),t.error(o),r.status=m.ImportResourceStatus.ERROR,r.message=o;const i=f.getResourceForUpload(r.name);i&&i.status!==m.ImportResourceStatus.UPLOADED&&(i.status=m.ImportResourceStatus.UPLOAD_ERROR,i.message=o,f.updateResourceForUpload(i))}).finally(()=>{e.currentFiles=e.currentFiles.filter(({name:e})=>e!==r.name),i()})},O=e=>{e.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const o=e.indexOf(r);o>-1&&e.splice(o,1),t.error(s.instant("import.could.not.upload",{name:r.name}))}}))},D=(t,r)=>{const o=t.map(e=>e.name).join("<br/>");i.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>o}}).result.then(o=>{if(o.overwrite)e.currentFiles.length?e.currentFiles=[...t,...r]:e.currentFiles.push(...t,...r);else{const o=v.prefixDuplicates(t);e.currentFiles=[...e.currentFiles,...o,...r]}y=!0,A()})},A=()=>{if(e.files=_.uniqBy(_.union(_.map(e.currentFiles,(function(e){return{name:e.name,type:"file",file:e}})),e.files),(function(e){return e.name})),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"),y&&e.currentFiles.length>0){$(),e.currentFiles.forEach(t=>{e.fileChecked[t.name]=!0});let t="";1===e.currentFiles.length&&(t=e.currentFiles[0].name),e.setSettingsFor(t,!1,void 0,g.UPLOAD,()=>{e.currentFiles.forEach(t=>{e.updateImport(t.name,!1,!1)})})}},$=()=>{Object.keys(e.fileChecked).forEach(t=>{e.fileChecked[t]=!1})};e.$on("$destroy",()=>{F.forEach(e=>e())});o.TABS.USER===f.getActiveTabId()&&(e.importViewControllerInit(),F.push(f.onFilesUpdated(e=>{v.buildPrefixesRegistry(e)})))}])},201:function(e,t){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",o),o.$inject=["$http"];const r="rest/repositories";function o(e){return{getDefaultSettings:function(t){return e.get(`${r}/${t}/import/settings/default`)},getUploadedFiles:function(t){return e.get(`${r}/${t}/import/upload`)},getServerFiles:function(t){return e.get(`${r}/${t}/import/server`)},importServerFiles:function(t,o){return e.post(`${r}/${t}/import/server`,o)},importTextSnippet:function(t,o){return e.post(`${r}/${t}/import/upload/text`,o)},updateTextSnippet:function(t,o){return e.post(`${r}/${t}/import/upload/update/text`,o)},importFromUrl:function(t,o){return e.post(`${r}/${t}/import/upload/url`,o)},updateFromUrl:function(t,o){return e.post(`${r}/${t}/import/upload/update/url`,o)},stopServerImport:function(t,o){return e.delete(`${r}/${t}/import/server`,{params:o})},stopUserDataImport:function(t,o){return e.delete(`${r}/${t}/import/upload`,{params:o})},resetServerFileStatus:function(t,o,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/server/status`,params:{remove:i},data:o,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(t,o,i=!0){return e({method:"DELETE",url:`${r}/${t}/import/upload/status`,params:{remove:i},data:o,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},202:function(e,t){angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",r),r.$inject=["$http","Upload","$translate"];function r(e,t,r){return{createUploadPayload:function(e,r){let o;o=e.file?{file:e.file,importSettings:t.jsonBlob(r)}:{importSettings:t.jsonBlob(r)};return o},uploadUserDataFile:function(e,r,o){return t.upload({url:`rest/repositories/${e}/import/upload/file`,data:o})},updateUserDataFile:function(e,r,o){return t.upload({url:`rest/repositories/${e}/import/upload/update/file`,data:o})}}}},203:function(e,t,r){"use strict";r.r(t);var o=r(80);function i(e,t,r){let i;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(i.isPristine(e.activeTabId)){const t=r.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=i.isHelpVisible(e.activeTabId)};e.openTab=e=>{r.updateActiveTabId(e)},e.toggleHelp=()=>{i.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{e.activeTabId=r,t.hash(e.activeTabId),n()})),a.push(r.onResourcesUpdated(n));e.$on("$destroy",()=>a.forEach(e=>e())),(()=>{i=new s;const r=t.hash()||o.TABS.USER;e.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",i),i.$inject=["$scope","$location","ImportContextService"];class s{constructor(){this._helpVisibility={[o.TABS.USER]:{isHelpVisible:void 0},[o.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},204:function(e,t,r){"use strict";r.r(t),r.d(t,"SettingsModalActions",(function(){return s}));var o=r(80),i=r(200);angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",n);const s={UPLOAD_ONLY:"upload_only",UPLOAD_AND_IMPORT:"upload_and_import",CANCEL:"cancel",CANCEL_IMPORT:"cancel_import"};function n(e,t,r,n,a,p){e.settings=p.settings,e.hasParserSettings=p.hasParserSettings,e.isMultiple=p.isMultiple,e.enableReplace=!(!e.settings.replaceGraphs||!e.settings.replaceGraphs.length),e.showAdvancedSettings=!1,e.activeTab=p.activeTab,e.userTabId=o.TABS.USER,e.isUploadOperation=p.operation===i.Operation.UPLOAD,e.hasError=function(e,t){return _.find(e,(function(e){return t===e.$name}))},e.ok=function(){e.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),e.settingsForm.$valid&&(l(),t.close(c(s.UPLOAD_AND_IMPORT)))},e.cancel=function(){l(),t.dismiss(c(s.CANCEL))},e.onlyUpload=function(){l(),t.dismiss(c(s.UPLOAD_ONLY))},e.cancelImport=function(){l(),t.dismiss(c(s.CANCEL_IMPORT))},e.close=function(){l(),t.dismiss(c(s.CANCEL))},e.reset=function(){e.settings=_.cloneDeep(p.defaultSettings),e.target="data"},e.addReplaceGraph=function(t){let o=!0;"default"!==t&&(o=n.isValidIri(t,t.toString())),e.settingsForm.replaceGraph.$setTouched(),e.settingsForm.replaceGraph.$setValidity("replaceGraph",o),e.settingsForm.replaceGraph.$valid&&(e.settings.replaceGraphs=e.settings.replaceGraphs||[],-1===_.indexOf(e.settings.replaceGraphs,t)?(e.replaceGraph="",e.settings.replaceGraphs.push(t)):r.warning(a.instant("import.graph.already.in.list")))},e.checkEnterReplaceGraph=function(t,r){13===t.keyCode&&(t.preventDefault(),e.addReplaceGraph(r))},e.switchParserSettings=function(){e.showAdvancedSettings=!e.showAdvancedSettings};const c=function(t){return{settings:e.settings,action:t}},l=function(){"default"===e.target?e.settings.context="default":"data"===e.target&&(e.settings.context=""),e.enableReplace?"default"!==e.target&&"named"!==e.target||(e.settings.replaceGraphs=[e.settings.context]):e.settings.replaceGraphs=[]};e.settings.context?"default"===e.settings.context?(e.target="default",e.settings.context=""):e.target="named":e.target="data"}n.$inject=["$scope","$uibModalInstance","toastr","UriUtils","$translate","dialogModel"]},205:function(e,t){function r(e,t){e.importFormat={name:"Auto",type:""},e.startImport=!0,e.cancel=function(){t.dismiss()},e.ok=function(){t.close({url:e.dataUrl,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},206:function(e,t){function r(e,t,r,o){e.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],e.rdfText=r,e.importFormat=e.importFormats.find(e=>e.type===o),e.startImport=!0,e.sizeLimit=1e5,e.setFormat=t=>{e.importFormat=t},e.cancel=()=>{t.dismiss()},e.ok=()=>{t.close({text:e.rdfText,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},207:function(e,t,r){"use strict";r.r(t);var o=r(0);function i(e,t,r,i,s){e.message=i.trustAsHtml(Object(o.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s}))),e.cancel=()=>{t.dismiss()},e.keepBoth=()=>{t.close({overwrite:!1})},e.overwrite=()=>{t.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",i),i.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},208:function(e,t,r){"use strict";r.r(t),r.d(t,"FILE_FORMATS",(function(){return o})),r.d(t,"FileFormats",(function(){return i}));const o=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class i{static getGZS(){return o.map(e=>`.${e}.gz`)}static getBasics(){return o.map(e=>"."+e)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(e=>".brf"!==e).join(" ")}}},209:function(e,t,r){"use strict";r.r(t),r.d(t,"DateUtils",(function(){return o}));class o{static formatCurrentDateTime(){const e=new Date;return e.getFullYear()+"-"+_.padStart(e.getMonth()+1,2,"0")+"-"+_.padStart(e.getDate(),2,"0")+" "+_.padStart(e.getHours(),2,"0")+":"+_.padStart(e.getMinutes(),2,"0")+":"+_.padStart(e.getSeconds(),2,"0")+"."+_.padStart(e.getMilliseconds(),3,"0")}}},210:function(e,t,r){"use strict";r.r(t),r.d(t,"toImportResource",(function(){return s})),r.d(t,"fileToImportResource",(function(){return n})),r.d(t,"filesToImportResource",(function(){return a}));var o=r(134),i=r(18);const s=e=>{const t=Object(i.md5HashGenerator)();return e.map(e=>new o.ImportResource(e,t))},n=e=>{const t=Object(i.md5HashGenerator)();return new o.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:e.lastModified,file:e},t)},a=(e,t)=>{const r=Object(i.md5HashGenerator)();return e.map(e=>new o.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:void 0,file:e,status:t},r))}},211:function(e,t,r){"use strict";r.r(t),r.d(t,"FilePrefixRegistry",(function(){return i}));var o=r(110);class i{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const t=o.FileUtils.getFilenameAndExtension(e.name).filename,r=t.lastIndexOf("-");let i=r<0?0:t.substring(r+1),s=t.substring(0,r);if(r<0?(i=0,s=t):(i=t.substring(r+1),s=t.substring(0,r)),i){i=parseInt(i);const e=this.filesPrefixRegistry[s]||0;this.filesPrefixRegistry[s]=e<i?i:e}else this.filesPrefixRegistry[s]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:t,extension:r}=o.FileUtils.getFilenameAndExtension(e.name),i=`${t}-${this.getIndexForFile(t)}.${r}`;return new File([e],i,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let t=this.filesPrefixRegistry[e];return void 0!==t?t++:t=0,this.filesPrefixRegistry[e]=t,t}}},69:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return o}));const o={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},74:function(e,t,r){"use strict";r.r(t),r.d(t,"removeSpecialChars",(function(){return i})),r.d(t,"toBoolean",(function(){return s})),r.d(t,"toTitleCase",(function(){return n}));var o=r(28);const i=e=>e.replace(/[()']/g,""),s=e=>"string"==typeof e?"true"===e:Boolean(e),n=e=>e?Object(o.upperFirst)(e.toLowerCase()):e},78:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return o}));const o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},80:function(e,t,r){"use strict";r.r(t),r.d(t,"TABS",(function(){return s}));var o=r(28),i=r(69);const s={USER:"user",SERVER:"server"};function n(e){let t=s.USER,r=[],n=[],a=[],p=!0,c=[];return{updateActiveTabId:function(r){t=r,e.emitSync("activeTabIdUpdated",d())},getActiveTabId:d,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const r=f();r.push(t),m(r),e.emitSync("fileAdded",Object(o.cloneDeep)(t))},updateFiles:m,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:g,updateImportedResources:function(t){r=t,e.emitSync("importedResourcesUpdated",g()),e.emitSync("resourcesUpdated",h())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:h,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){p=t,e.emitSync("showLoaderUpdated",u())},getShowLoader:u,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){c=Object(o.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),r=t.find(({name:t})=>t===e.name);r?Object.assign(r,e):t.push(e);R(t)},getResourceForUpload:function(e){return Object(o.cloneDeep)(n.find(({name:t})=>t===e))},updateResourcesForUpload:R,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function l(){return Object(o.cloneDeep)(c)}function u(){return p}function d(){return t}function m(t){a=Object(o.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(o.cloneDeep)(a)}function g(){return Object(o.cloneDeep)(r)||[]}function h(){const e=g();let t=S();const r=[],o=[];return e.forEach(({name:e})=>{const s=t.find(({name:t})=>t===e);s&&(s.status===i.ImportResourceStatus.UPLOADED?r.push(s):o.push(s))}),r.length>0&&(t=t.filter(({name:e})=>!r.some(({name:t})=>t===e)),R(t,!1)),e.filter(({name:e})=>!o.some(t=>e===t)).concat(t)}function R(t,r=!0){n=Object(o.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),r&&e.emitSync("resourcesUpdated",h())}function S(){return Object(o.cloneDeep)(n)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",n),n.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[60,220,221],{73:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexType",(function(){return e}));const e={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:t=>e.TEXT===t,isTextLiteralType:t=>e.TEXT_LITERAL===t,isPredicationType:t=>e.PREDICATION===t}},75:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndexStatus",(function(){return e}));const e={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:t=>e.CREATING===t,isBuildingStatus:t=>e.BUILDING===t,isBuiltStatus:t=>e.BUILT===t,isRebuildingStatus:t=>e.REBUILDING===t,isOutdatedStatus:t=>e.OUTDATED===t,isInterruptedStatus:t=>e.INTERRUPTED===t,isObsoleteStatus:t=>e.OBSOLETE===t,isFailedStatus:t=>e.FAILED===t}},81:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(73),a=s(75);class u{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=e.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return e.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return e.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return e.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return a.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return a.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return a.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return a.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return a.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return a.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return a.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return a.SimilarityIndexStatus.isFailedStatus(this.status)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[61,87,233],{106:function(t,s,e){"use strict";e.r(s);var a=e(90);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",n),n.$inject=["$http"];function n(t){return{getConversations:function(s,e){return t.get("rest/chat/conversations").then(t=>Object(a.chatsListMapper)(t&&t.data))}}}},79:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return a})),e.d(s,"ChatByDayModel",(function(){return n})),e.d(s,"ChatsListModel",(function(){return i}));class a{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 n{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 i{constructor(t){this._chats=t||[],this._chatsByDay=[],this._chats.forEach(t=>{const s=new Date(1e3*t.timestamp).toDateString(),e=this._chatsByDay.find(t=>t.day===s);e?e.chats.push(t):this._chatsByDay.push(new n({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,e){"use strict";e.r(s),e.d(s,"chatsListMapper",(function(){return n}));var a=e(79);const n=t=>{if(!t)return new a.ChatsListModel;const s=t.map(t=>new a.ChatModel({conversationId:t.conversationId,conversationName:t.conversationName,timestamp:t.timestamp}));return new a.ChatsListModel(s)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[62,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)}}},218:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(112);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}parseData(t){return t.nonHeapMemoryUsage}}},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,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{330:function(e,t,n){"use strict";n.r(t);n(7),n(29),n(254),n(31),n(495);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"])},495:function(e,t){
|
|
2
2
|
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,i=27,a=32,r=38,o=40,s=37,u=39,l=46,c=188,g=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,i,r,o,p,f){function m(e,t,n,i){var a,r,s,u,l={};return a=function(t){return f.safeToString(t[e.displayProperty])},r=function(t,n){t[e.displayProperty]=n},s=function(t){var i=a(t),r=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!f.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return o.when(r&&n({$tag:t})).then(f.promisifyValue)},u=function(e){return o.when(i({$tag:e})).then(f.promisifyValue)},l.items=[],l.addText=function(e){var t={};return r(t,e),l.add(t)},l.add=function(n){var i=a(n);return e.replaceSpacesWithDashes&&(i=f.replaceSpacesWithDashes(i)),r(n,i),s(n).then((function(){l.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){i&&t.trigger("invalid-tag",{$tag:n})}))},l.remove=function(e){var n=l.items[e];return u(n).then((function(){return l.items.splice(e,1),l.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e]},l.selectPrior=function(){l.select(--l.index)},l.selectNext=function(){l.select(++l.index)},l.removeSelected=function(){return l.remove(l.index)},l.clearSelection=function(){l.selected=null,l.index=-1},l.getItems=function(){return e.useStrings?l.items.map(a):l.items},l.clearSelection(),l}function h(e){return-1!==d.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,g],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,g],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,g,d,p){var m,h,v=[n,c,a,e,l,s,u],T=o.tagList,y=o.events,$=o.options,x=g.find("input"),b=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=$.maxTags),p.$setValidity("minTags",T.items.length>=$.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!$.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){x[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[$.keyProperty||$.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,$.displayProperty),$.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),d.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=i.prop("activeElement"),t=e===x[0],n=g[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):r.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==b.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){g.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){$.addOnBlur&&!$.addFromAutocompleteOnly&&T.addText(o.newTag.text()),g.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var i,r,g,d,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=$.addOnEnter,m[c]=$.addOnComma,m[a]=$.addOnSpace,i=!$.addFromAutocompleteOnly&&m[p],r=(p===e||p===l)&&T.selected,d=p===e&&0===o.newTag.text().length&&$.enableEditingLastTag,g=(p===e||p===s||p===u)&&0===o.newTag.text().length&&!$.enableEditingLastTag,i?T.addText(o.newTag.text()):d?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[$.displayProperty])}))):r?T.removeSelected():g&&(p===s||p===e?T.selectPrior():p===u&&T.selectNext()),(i||g||r||d)&&t.preventDefault())})).on("input-paste",(function(e){if($.addOnPaste){var t=e.getTextData().split($.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,i,a){var r=a.registerTagItem(),o=r.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){r.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,a,s,u,l,c){function g(e,t,n){var i,a,r,o={};return r=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter((function(e){return!c.findInObjectArray(n,e,r(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=c.replaceSpacesWithDashes(e),n=c.replaceSpacesWithDashes(n)),c.defaultComparer(e,n)}))}))},o.reset=function(){a=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=c.debounce((function(n,s){o.query=n;var l=u.when(e({$query:n}));a=l,l.then((function(e){l===a&&(e=c.makeObjectArray(e.data||e,r()),e=i(e,s),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=c.simplePubSub(),l.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new g(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,a,s,u){var l,g=[n,t,i,r,o],d=e.suggestionList,p=u.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),l=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){d.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return d.selected&&(p.addTag(angular.copy(d.selected)),d.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var i=t===d.selected;return[e.matchClass({$match:t,$index:n,$selected:i}),{selected:i}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){d.reset()})).on("input-change",(function(e){l(e)?d.load(e,p.getTags()):d.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&l(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(a){var s=a.keyCode,u=!1;if(!c.isModifierOn(a)&&-1!==g.indexOf(s))return d.visible?s===o?(d.selectNext(),u=!0):s===r?(d.selectPrior(),u=!0):s===i?(d.reset(),u=!0):(s===n||s===t)&&(u=e.addSuggestion()):s===o&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),u=!0),u?(a.preventDefault(),a.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),a=n.prop("offsetTop"),r=n.prop("offsetHeight"),o=i.prop("clientHeight"),s=i.prop("scrollTop");s>a?i.prop("scrollTop",a):a+r>o+s&&i.prop("scrollTop",a+r-o)}(a,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,i,a,r){var o=r.registerAutocompleteMatch(),s=o.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,i,a){a((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,a){var r,o,s=e.getTextAutosizeThreshold();(r=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(r),o=function(e){var t,a=e;return angular.isString(a)&&0===a.length&&(a=i.placeholder),a&&(r.text(a),r.css("display",""),t=r.prop("offsetWidth"),r.css("display","none")),n.css("width",t?t+s+"px":""),e},a.$parsers.unshift(o),a.$formatters.unshift(o),i.$observe("placeholder",(function(e){a.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(i){var a={};return a[String]=function(e){return e},a[Number]=function(e){return parseInt(e,10)},a[Boolean]=function(e){return"true"===e.toLowerCase()},a[RegExp]=function(e){return new RegExp(e)},{load:function(n,r,o,s){var u=function(){return!0};r.options={},angular.forEach(s,(function(s,l){var c,g,d,p,f,m;c=s[0],g=s[1],d=s[2]||u,p=a[c],f=function(){var t=e[n]&&e[n][l];return angular.isDefined(t)?t:g},m=function(e){r.options[l]=e&&d(e)?p(e):f()},t[n]&&t[n][l]?o.$observe(l,(function(e){m(e),r.events.trigger("option-change",{name:l,newValue:e})})):m(o[l]&&i(o[l])(r.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var a=arguments;e.cancel(i),i=e((function(){t.apply(null,a)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var i={};i[t]=e,n.push(i)})),n},findInObjectArray:function(e,t,i,a){var r=null;return a=a||n.defaultComparer,e.some((function(e){return a(e[i],t[i])?(r=e,!0):void 0})),r},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var i=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(i,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,i){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(i?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,i){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(i)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[64,102],{156:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,e,a){function o(r,e){if(!r||"*"===r)return r;const a=r.startsWith("!"),o=a?"!CUSTOM_":"CUSTOM_";return e?o+r.replace(/^!/,""):a?"!"+r.replace(o,""):r.replace(o,"")}if(("INPUT"===e[0].tagName||"TEXTAREA"===e[0].tagName)&&a.ngModel){const r=e.controller("ngModel");r.$formatters.push((function(r){return o(r,!1)})),r.$parsers.push((function(r){return o(r,!0)}))}}}}))},259:function(r,e,a){"use strict";a.r(e);a(7),a(29),a(35),a(115),a(250),a(30),a(156);angular.module("graphdb.framework.aclmanagement",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.aclmanagement.directives","graphdb.framework.aclmanagement.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers"])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[65,103],{108:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return l})),s.d(t,"StatementACRuleModel",(function(){return r})),s.d(t,"PluginACRuleModel",(function(){return n})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var o=s(28);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,o,i,l,r,n,c){const u=a.createRule(e,t,s,o,i,l,r,n,c);this._aclRules.has(e)||this._aclRules.set(e,[]),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const o=this._aclRules.get(e);o&&o.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(o.isEqual)(s,e))}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),o=s[t-1];s[t-1]=s[t],s[t]=o}moveDown(e,t){const s=this._aclRules.get(e),o=s[t+1];s[t+1]=s[t],s[t]=o}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class l{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}toJSON(){}}class r extends l{constructor(e,t,s,o,i,l,r){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=o||"*",this._object=i||"*",this._context=l||"*",this._operation=r||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context}}}class n extends l{constructor(e,t,s,o){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=o||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin}}}class c extends l{constructor(e,t,s,o){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=o||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context}}}class u extends l{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation}}}class a{static createRule(e,t,s,o,i,l,a,p,h){switch(e){case _.STATEMENT:return new r(s,t,i,l,a,p,o);case _.PLUGIN:return new n(s,t,h,o);case _.CLEAR_GRAPH:return new c(s,t,p);case _.SYSTEM:return new u(s,t,o);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},155:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var o=s(108);const i=e=>{const t=new o.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[66,259],{157:function(e,t,o){"use strict";o.r(t);o(39);var n=o(82),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(h(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const R=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}));const h=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},82:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[67,106],{158:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},263:function(o,e,n){"use strict";n.r(e);n(158);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[68,114],{165:function(t,o,e){"use strict";e.r(o);e(83);function n(t,o,e,n,r){let a,s;t.nodes=[],t.clusterNodes=[],t.locations=[],t.deleteLocation=(o,n)=>{o.preventDefault(),o.stopPropagation(),e.deleteLocation(n).then(()=>t.locations=t.locations.filter(t=>t.endpoint!==n.endpoint))},t.addNodeToList=o=>{o.rpcAddress&&(t.nodes.push(o),t.locations=t.locations.filter(t=>t.endpoint!==o.endpoint))},t.removeNodeFromList=(o,e)=>{t.nodes.splice(o,1),t.locations.push(e)},t.addLocation=()=>{r.addLocation().then(o=>{o&&t.locations.push(o)})},t.ok=()=>{o.close(t.nodes)},t.cancel=()=>{o.dismiss("cancel")};a=_.cloneDeep(e.clusterModel),t.clusterNodes=a.nodes.map(t=>({rpcAddress:t.address,endpoint:t.endpoint})),s=t.clusterNodes.map(t=>t.endpoint),t.locations=a.locations.filter(t=>!s.includes(t.endpoint)),t.locations.forEach(t=>t.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},83:function(t,o,e){"use strict";e.r(o);e(37);function n(t,o,e,n,r){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return o.error(e,r.instant("common.error")),!1}).then(t=>!!t&&a()).then(o=>{if(!1!==o)return e=o.find(o=>o.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);o.error(e,r.instant("common.error"))})).then(t=>{if(t)return function(t){const o=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(o=>(t.rpcAddress=o.data,t.isAvailable=!0,t)).catch(o=>{t.isAvailable=!1,t.error=getError(o.data,o.status)}));return Promise.allSettled(o).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[69,252],{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,c,i,l,u){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=c.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=c.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),c.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){d(e.data,e.status)})).finally(()=>{e.setLoader(!1),u.$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=()=>{l.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 d=(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"]},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")}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[7,52,68,153,155,156],{108:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},157:function(t,e,n){"use strict";n.r(e);var s=n(158),a=n(86),r=n(74);function o(t,e,n,o){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-legend.html",scope:{},link:N=>{N.hideLegend=!0;const i=[];let c,E,_;N.toggleLegend=()=>{N.hideLegend=!N.hideLegend,c.classed("hidden-legend",N.hideLegend)};const l=()=>{const t=e.getClusterViewD3Container();u(t),A(),T(c),d(),S(),O(),L()},T=t=>{C(t,"cluster_management.cluster_graphical_view.legend_title_node_state");const e=t.selectAll(".node-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendNodes()),n=a.createNodes(e,s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH,!0);a.updateNodes(n);n.attr("transform",(function(t,e){return O(),`translate(${s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT}, ${E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP})`})).append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH).attr("y",3).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.customText)}))},d=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_sync_status");const t=c.selectAll(".sync-statuses-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getSyncStatuses()).enter().append("g").attr("class","sync-statuses-group"),e=new Map;t.append("text").classed("sync-status",!0).attr("class",t=>t.classes).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT-10).attr("y",(function(t,n){const a=n*(20+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP;return e.set(n,a),a})).text((function(t){return t.icon}));const n=(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE-s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE)/2;t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.labelKey)})).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).attr("y",(function(t,s){return e.get(s)-n})).classed("links-statuses",!0)},S=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_link_states");const t=c.selectAll(".link-states-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendLinks()).enter().append("g").attr("class","link-state"),e=new Map;t.append("path").classed("link",!0).attr("stroke-dasharray",a.setLinkStyle).attr("stroke",a.setLinkColor).attr("d",(t,n)=>{const a=n*(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP,o=_/2;let N;if(e.set(n,a),t.status===r.LinkState.RECEIVING_SNAPSHOT){const t=o/2;N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},L${t},${a},L${o},${a}`}else N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},${o},${a}`;return N}).style("marker-mid",t=>a.setArrowLink(t,a.ARROW_CONFIG.SMALL)),t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.linkTypeKey)})).attr("x",_/2+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT).attr("y",(function(t,n){return e.get(n)+4})).classed("links-statuses",!0)},u=t=>{c=t.append("g").classed("hidden-legend",N.hideLegend).classed("cluster-legend-group",!0)},A=()=>{c.append("rect").attr("class","legend-background").attr("fill","#EEEEEE")},O=()=>{c.call(t=>{E=t.node().getBBox().height}),_=I(c)+30},L=()=>{const t=I(c);c.select(".legend-background").attr("height",E+3*s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_TOP).attr("width",t+s.CLUSTER_MANAGEMENT_CONSTANTS.BACKGROUND_PADDING).attr("rx","6")},I=t=>{let e=0;return t.selectAll(":not(.legend-background)").each((function(){const t=this.getBBox();e=Math.max(e,t.width)})),e},C=(t,e)=>t.append("text").attr("class","legend-title").attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_SIZE).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_WEIGHT).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_COLOR).text((function(){return f(this,e)})).attr("y",()=>(O(),E+s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_PADDING_TOP)),f=(e,s)=>(i.push(t.$on("$translateChangeSuccess",()=>{d3.select(e).text(n.instant(s)),L()})),n.instant(s)),h=()=>{N.hideLegend=!0,c.classed("hidden-legend",N.hideLegend)};o.on("keydown",t=>{"Escape"===t.key&&h()}),i.push(e.onClusterViewD3ContainerUpdated(l)),N.$on("$destroy",()=>{o.off("keydown",h),i.forEach(t=>t())}),l()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-legend",[]).directive("clusterLegend",o),o.$inject=["$rootScope","ClusterViewContextService","$translate","$document"]},158:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(108),a=n(74);const r={getLegendNodes:function(){const t=[];return t.push({nodeState:s.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:s.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:s.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",icon:""}],getLegendLinks:function(){const t=[];return t.push({status:a.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:a.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:a.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.push({status:a.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),t.forEach((t,e)=>t.id=e),t},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},74:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s})),n.d(e,"RecoveryState",(function(){return a})),n.d(e,"LinkState",(function(){return r}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},a={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},86:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return l})),n.d(e,"createClusterZone",(function(){return T})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return S})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return A})),n.d(e,"updateNodes",(function(){return O})),n.d(e,"createLinks",(function(){return h})),n.d(e,"updateLinks",(function(){return G})),n.d(e,"ARROW_CONFIG",(function(){return y})),n.d(e,"addArrowHead",(function(){return g})),n.d(e,"setArrowLink",(function(){return p})),n.d(e,"setLinkColor",(function(){return M})),n.d(e,"setLinkStyle",(function(){return D})),n.d(e,"positionNodesOnClusterZone",(function(){return R})),n.d(e,"createHexagon",(function(){return m})),n.d(e,"removeEventListeners",(function(){return v}));var s=n(74),a=n(26);const r="var(--primary-color)",o="var(--secondary-color)",N="var(--gray-color)",i={[s.LinkState.IN_SYNC]:o,[s.LinkState.SYNCING]:o,[s.LinkState.OUT_OF_SYNC]:N,[s.LinkState.RECEIVING_SNAPSHOT]:o},c={[s.LinkState.IN_SYNC]:"none",[s.LinkState.SYNCING]:"10 10",[s.LinkState.OUT_OF_SYNC]:"10 10",[s.LinkState.RECEIVING_SNAPSHOT]:"10 10"},E="FONT_AWESOME",_="ICOMOON";function l(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function T(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function d(t,e,n,s=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",s),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),s&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function S(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function A(t,e,n){const s=t.enter().append("g").attr("id","node-group").classed("legend",n),a=s.merge(t).attr("id","node-group").classed("legend",n);return m(s,e),t.exit().remove(),s.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(s,e),a}function O(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(a.isEmpty)(n.recoveryStatus)?function(t){const e=I[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return L[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===_).classed("fa-d3",e.font===E).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===s.NodeState.LEADER).classed("follower",t=>t.nodeState===s.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===s.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==s.NodeState.LEADER&&t.nodeState!==s.NodeState.FOLLOWER&&t.nodeState!==s.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(a.isEmpty)(t.recoveryStatus))return 0;const s=f(C(t));return e=s.height,n=s.width,n})).attr("height",(function(t){return Object(a.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(a.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return C(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(a.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=C(t),s=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,r=s?n:t.recoveryStatus.message,o=f(n),N=f(t.recoveryStatus.message);e.on(".tooltip",null),s&&function(t,e,n,s,a){t.on("mouseover.tooltip",()=>{t.attr("width",a.width).attr("height",a.height).attr("x",-a.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${s}</div>`)})}(e,t.recoveryStatus.message,o,r,N),e.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const L={[s.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:E},[s.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:_}},I={[s.NodeState.CANDIDATE]:{icon:"",font:_},[s.NodeState.NO_CONNECTION]:{icon:"",font:_},[s.NodeState.OUT_OF_SYNC]:{icon:"",font:_},[s.NodeState.READ_ONLY]:{icon:"",font:_},[s.NodeState.RESTRICTED]:{icon:"",font:_}};function C(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function f(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),s=n.height,a=n.width;return document.body.removeChild(e),{height:s,width:a}}function h(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function G(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",M).style("stroke-dasharray",D).style("marker-mid",t=>p(t,y.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),s=e.find(e=>e.address===t.target),a=s.x-n.x,r=s.y-n.y,o=Math.sqrt(a*a+r*r),N=a/o,i=r/o,c=n.x+55*N,E=n.y+55*i,_=s.x-55*N,l=s.y-55*i;return"M"+c+","+E+"L"+(c+_)/2+","+(E+l)/2+"L"+_+","+l}(t,e))}const y={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function g(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function p(t,e){if(t.status===s.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function M(t){return i[t.status]||"none"}function D(t){return c[t.status]||"none"}function R(t,e,n,s){t.attr("transform",(a,r)=>{const o=2*Math.PI*r/t.size(),N=e+Math.cos(o)*s,i=n+Math.sin(o)*s;return a.x=N,a.y=i,`translate(${N}, ${i})`})}function m(t,e){const n=Math.sqrt(3)/2,s=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([s]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function v(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[7,57,73,159,161,162],{118:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},168:function(t,e,n){"use strict";n.r(e);var s=n(169),a=n(91),r=n(76);function o(t,e,n,o){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-legend.html",scope:{},link:N=>{N.hideLegend=!0;const i=[];let c,E,_;N.toggleLegend=()=>{N.hideLegend=!N.hideLegend,c.classed("hidden-legend",N.hideLegend)};const l=()=>{const t=e.getClusterViewD3Container();u(t),A(),T(c),d(),S(),O(),L()},T=t=>{C(t,"cluster_management.cluster_graphical_view.legend_title_node_state");const e=t.selectAll(".node-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendNodes()),n=a.createNodes(e,s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH,!0);a.updateNodes(n);n.attr("transform",(function(t,e){return O(),`translate(${s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT}, ${E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP})`})).append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.SVG_NODE_WIDTH).attr("y",3).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.customText)}))},d=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_sync_status");const t=c.selectAll(".sync-statuses-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getSyncStatuses()).enter().append("g").attr("class","sync-statuses-group"),e=new Map;t.append("text").classed("sync-status",!0).attr("class",t=>t.classes).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT-10).attr("y",(function(t,n){const a=n*(20+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP;return e.set(n,a),a})).text((function(t){return t.icon}));const n=(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_ICON_FONT_SIZE-s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE)/2;t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.labelKey)})).attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).attr("y",(function(t,s){return e.get(s)-n})).classed("links-statuses",!0)},S=()=>{C(c,"cluster_management.cluster_graphical_view.legend_title_link_states");const t=c.selectAll(".link-states-group").data(s.CLUSTER_MANAGEMENT_CONSTANTS.getLegendLinks()).enter().append("g").attr("class","link-state"),e=new Map;t.append("path").classed("link",!0).attr("stroke-dasharray",a.setLinkStyle).attr("stroke",a.setLinkColor).attr("d",(t,n)=>{const a=n*(s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_TOP)+E+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEMS_PADDING_TOP,o=_/2;let N;if(e.set(n,a),t.status===r.LinkState.RECEIVING_SNAPSHOT){const t=o/2;N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},L${t},${a},L${o},${a}`}else N=`M${s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT},${a},${o},${a}`;return N}).style("marker-mid",t=>a.setArrowLink(t,a.ARROW_CONFIG.SMALL)),t.append("text").style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_SIZE).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_LINE_HEIGHT).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_FONT_WEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_COLOR).text((function(t){return f(this,"cluster_management.cluster_graphical_view."+t.linkTypeKey)})).attr("x",_/2+s.CLUSTER_MANAGEMENT_CONSTANTS.LEGEND_ITEM_PADDING_LEFT).attr("y",(function(t,n){return e.get(n)+4})).classed("links-statuses",!0)},u=t=>{c=t.append("g").classed("hidden-legend",N.hideLegend).classed("cluster-legend-group",!0)},A=()=>{c.append("rect").attr("class","legend-background").attr("fill","#EEEEEE")},O=()=>{c.call(t=>{E=t.node().getBBox().height}),_=I(c)+30},L=()=>{const t=I(c);c.select(".legend-background").attr("height",E+3*s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_TOP).attr("width",t+s.CLUSTER_MANAGEMENT_CONSTANTS.BACKGROUND_PADDING).attr("rx","6")},I=t=>{let e=0;return t.selectAll(":not(.legend-background)").each((function(){const t=this.getBBox();e=Math.max(e,t.width)})),e},C=(t,e)=>t.append("text").attr("class","legend-title").attr("x",s.CLUSTER_MANAGEMENT_CONSTANTS.PADDING_LEFT).style("font-size",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_SIZE).style("font-weight",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_FONT_WEIGHT).style("line-height",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_LINE_HEIGHT).style("fill",s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_COLOR).text((function(){return f(this,e)})).attr("y",()=>(O(),E+s.CLUSTER_MANAGEMENT_CONSTANTS.TITLE_PADDING_TOP)),f=(e,s)=>(i.push(t.$on("$translateChangeSuccess",()=>{d3.select(e).text(n.instant(s)),L()})),n.instant(s)),h=()=>{N.hideLegend=!0,c.classed("hidden-legend",N.hideLegend)};o.on("keydown",t=>{"Escape"===t.key&&h()}),i.push(e.onClusterViewD3ContainerUpdated(l)),N.$on("$destroy",()=>{o.off("keydown",h),i.forEach(t=>t())}),l()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-legend",[]).directive("clusterLegend",o),o.$inject=["$rootScope","ClusterViewContextService","$translate","$document"]},169:function(t,e,n){"use strict";n.r(e),n.d(e,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return r}));var s=n(118),a=n(76);const r={getLegendNodes:function(){const t=[];return t.push({nodeState:s.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:s.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:s.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t},getSyncStatuses:()=>[{labelKey:"node_state_candidate",classes:"icon-any",icon:""},{labelKey:"node_state_no_cluster",classes:"close",icon:"X"},{labelKey:"link_state_out_of_sync",classes:"icon-any",icon:""},{labelKey:"node_state_no_connection",classes:"icon-any",icon:""},{labelKey:"node_state_read_only",classes:"icon-any",icon:""},{labelKey:"node_state_restricted",classes:"icon-any",icon:""},{labelKey:"recovery_state.searching_for_node",classes:"fa-d3",icon:""},{labelKey:"recovery_state.waiting_for_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.building_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.sending_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.receiving_snapshot",classes:"fa-d3",icon:""},{labelKey:"recovery_state.applying_snapshot",classes:"fa-d3",icon:""}],getLegendLinks:function(){const t=[];return t.push({status:a.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:a.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:a.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.push({status:a.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),t.forEach((t,e)=>t.id=e),t},SVG_NODE_WIDTH:15,PADDING_LEFT:12,PADDING_TOP:12,TITLE_PADDING_TOP:15,TITLE_FONT_SIZE:13,TITLE_FONT_WEIGHT:700,TITLE_COLOR:"#000000",TITLE_LINE_HEIGHT:18,LEGEND_ITEM_FONT_SIZE:11,LEGEND_ITEM_ICON_FONT_SIZE:15,LEGEND_ITEM_FONT_WEIGHT:400,LEGEND_ITEM_COLOR:"#000000",LEGEND_ITEM_LINE_HEIGHT:13,LEGEND_ITEM_PADDING_LEFT:27,LEGEND_ITEMS_PADDING_TOP:40,LEGEND_ITEM_PADDING_TOP:8,BACKGROUND_PADDING:24}},76:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return s})),n.d(e,"RecoveryState",(function(){return a})),n.d(e,"LinkState",(function(){return r}));const s={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},a={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},r={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},91:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return l})),n.d(e,"createClusterZone",(function(){return T})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return S})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return A})),n.d(e,"updateNodes",(function(){return O})),n.d(e,"createLinks",(function(){return h})),n.d(e,"updateLinks",(function(){return G})),n.d(e,"ARROW_CONFIG",(function(){return y})),n.d(e,"addArrowHead",(function(){return g})),n.d(e,"setArrowLink",(function(){return p})),n.d(e,"setLinkColor",(function(){return M})),n.d(e,"setLinkStyle",(function(){return D})),n.d(e,"positionNodesOnClusterZone",(function(){return R})),n.d(e,"createHexagon",(function(){return m})),n.d(e,"removeEventListeners",(function(){return v}));var s=n(76),a=n(28);const r="var(--primary-color)",o="var(--secondary-color)",N="var(--gray-color)",i={[s.LinkState.IN_SYNC]:o,[s.LinkState.SYNCING]:o,[s.LinkState.OUT_OF_SYNC]:N,[s.LinkState.RECEIVING_SNAPSHOT]:o},c={[s.LinkState.IN_SYNC]:"none",[s.LinkState.SYNCING]:"10 10",[s.LinkState.OUT_OF_SYNC]:"10 10",[s.LinkState.RECEIVING_SNAPSHOT]:"10 10"},E="FONT_AWESOME",_="ICOMOON";function l(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function T(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function d(t,e,n,s=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",s),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),s&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function S(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function A(t,e,n){const s=t.enter().append("g").attr("id","node-group").classed("legend",n),a=s.merge(t).attr("id","node-group").classed("legend",n);return m(s,e),t.exit().remove(),s.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(s,e),a}function O(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(a.isEmpty)(n.recoveryStatus)?function(t){const e=I[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return L[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===_).classed("fa-d3",e.font===E).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===s.NodeState.LEADER).classed("follower",t=>t.nodeState===s.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===s.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==s.NodeState.LEADER&&t.nodeState!==s.NodeState.FOLLOWER&&t.nodeState!==s.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(a.isEmpty)(t.recoveryStatus))return 0;const s=f(C(t));return e=s.height,n=s.width,n})).attr("height",(function(t){return Object(a.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(a.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return C(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(a.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=C(t),s=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,r=s?n:t.recoveryStatus.message,o=f(n),N=f(t.recoveryStatus.message);e.on(".tooltip",null),s&&function(t,e,n,s,a){t.on("mouseover.tooltip",()=>{t.attr("width",a.width).attr("height",a.height).attr("x",-a.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${s}</div>`)})}(e,t.recoveryStatus.message,o,r,N),e.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const L={[s.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:E},[s.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:E},[s.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:_}},I={[s.NodeState.CANDIDATE]:{icon:"",font:_},[s.NodeState.NO_CONNECTION]:{icon:"",font:_},[s.NodeState.OUT_OF_SYNC]:{icon:"",font:_},[s.NodeState.READ_ONLY]:{icon:"",font:_},[s.NodeState.RESTRICTED]:{icon:"",font:_}};function C(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function f(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),s=n.height,a=n.width;return document.body.removeChild(e),{height:s,width:a}}function h(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function G(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",M).style("stroke-dasharray",D).style("marker-mid",t=>p(t,y.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),s=e.find(e=>e.address===t.target),a=s.x-n.x,r=s.y-n.y,o=Math.sqrt(a*a+r*r),N=a/o,i=r/o,c=n.x+55*N,E=n.y+55*i,_=s.x-55*N,l=s.y-55*i;return"M"+c+","+E+"L"+(c+_)/2+","+(E+l)/2+"L"+_+","+l}(t,e))}const y={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function g(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function p(t,e){if(t.status===s.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function M(t){return i[t.status]||"none"}function D(t){return c[t.status]||"none"}function R(t,e,n,s){t.attr("transform",(a,r)=>{const o=2*Math.PI*r/t.size(),N=e+Math.cos(o)*s,i=n+Math.sin(o)*s;return a.x=N,a.y=i,`translate(${N}, ${i})`})}function m(t,e){const n=Math.sqrt(3)/2,s=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([s]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function v(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[70,252],{162:function(e,t,r){"use strict";r.r(t);r(72);function n(e,t,r,n,s,o,a){e.pageTitle=o.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,o.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{s.success(o.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{r.cancel(e.loaderTimeout),t?e.loaderTimeout=r(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():s.warning(o.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,r)=>{delete e.preconditionErrors,s.error(o.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===r||"string"==typeof t?e.errors.push(t):412===r?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===r&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},72:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(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 r=$.param({force:t});return e.delete("rest/cluster/config?"+r)},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")}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[71,111],{170:function(e,t,n){"use strict";n.r(t);var r=n(84);function l(e,t,n,l,i){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{i.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(r.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(r.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",l),l.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},84:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return r})),n.d(t,"DELETE_CLUSTER",(function(){return l})),n.d(t,"CLICK_IN_VIEW",(function(){return i})),n.d(t,"NODE_SELECTED",(function(){return u})),n.d(t,"CREATE_CLUSTER",(function(){return o})),n.d(t,"MODEL_UPDATED",(function(){return a}));const r="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",a="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[72,111],{167:function(e,t,n){"use strict";n.r(t);n(10),n(168);var o=n(91),r=n(28),s=n(84);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},84:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[73,161,162],{76:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return r})),n.d(e,"RecoveryState",(function(){return o})),n.d(e,"LinkState",(function(){return a}));const r={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},o={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},a={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}},91:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return N})),n.d(e,"createClusterZone",(function(){return S})),n.d(e,"setCreateClusterZone",(function(){return f})),n.d(e,"updateClusterZoneLabels",(function(){return h})),n.d(e,"moveElement",(function(){return O})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return A})),n.d(e,"updateLinks",(function(){return R})),n.d(e,"ARROW_CONFIG",(function(){return C})),n.d(e,"addArrowHead",(function(){return m})),n.d(e,"setArrowLink",(function(){return v})),n.d(e,"setLinkColor",(function(){return T})),n.d(e,"setLinkStyle",(function(){return L})),n.d(e,"positionNodesOnClusterZone",(function(){return x})),n.d(e,"createHexagon",(function(){return w})),n.d(e,"removeEventListeners",(function(){return b}));var r=n(76),o=n(28);const a="var(--primary-color)",s="var(--secondary-color)",i="var(--gray-color)",c={[r.LinkState.IN_SYNC]:s,[r.LinkState.SYNCING]:s,[r.LinkState.OUT_OF_SYNC]:i,[r.LinkState.RECEIVING_SNAPSHOT]:s},d={[r.LinkState.IN_SYNC]:"none",[r.LinkState.SYNCING]:"10 10",[r.LinkState.OUT_OF_SYNC]:"10 10",[r.LinkState.RECEIVING_SNAPSHOT]:"10 10"},u="FONT_AWESOME",l="ICOMOON";function N(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function S(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function f(t,e,n,r=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",r),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),r&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",a).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function h(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function O(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function E(t,e,n){const r=t.enter().append("g").attr("id","node-group").classed("legend",n),o=r.merge(t).attr("id","node-group").classed("legend",n);return w(r,e),t.exit().remove(),r.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(r,e),o}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(o.isEmpty)(n.recoveryStatus)?function(t){const e=y[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return _[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===l).classed("fa-d3",e.font===u).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===r.NodeState.LEADER).classed("follower",t=>t.nodeState===r.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===r.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==r.NodeState.LEADER&&t.nodeState!==r.NodeState.FOLLOWER&&t.nodeState!==r.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(o.isEmpty)(t.recoveryStatus))return 0;const r=g(I(t));return e=r.height,n=r.width,n})).attr("height",(function(t){return Object(o.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(o.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return I(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(o.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=I(t),r=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,a=r?n:t.recoveryStatus.message,s=g(n),i=g(t.recoveryStatus.message);e.on(".tooltip",null),r&&function(t,e,n,r,o){t.on("mouseover.tooltip",()=>{t.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${r}</div>`)})}(e,t.recoveryStatus.message,s,a,i),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${a}</div>`)}))}(t)}(t)}const _={[r.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:u},[r.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:l}},y={[r.NodeState.CANDIDATE]:{icon:"",font:l},[r.NodeState.NO_CONNECTION]:{icon:"",font:l},[r.NodeState.OUT_OF_SYNC]:{icon:"",font:l},[r.NodeState.READ_ONLY]:{icon:"",font:l},[r.NodeState.RESTRICTED]:{icon:"",font:l}};function I(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),r=n.height,o=n.width;return document.body.removeChild(e),{height:r,width:o}}function A(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function R(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",T).style("stroke-dasharray",L).style("marker-mid",t=>v(t,C.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),r=e.find(e=>e.address===t.target),o=r.x-n.x,a=r.y-n.y,s=Math.sqrt(o*o+a*a),i=o/s,c=a/s,d=n.x+55*i,u=n.y+55*c,l=r.x-55*i,N=r.y-55*c;return"M"+d+","+u+"L"+(d+l)/2+","+(u+N)/2+"L"+l+","+N}(t,e))}const C={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function m(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function v(t,e){if(t.status===r.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function T(t){return c[t.status]||"none"}function L(t){return d[t.status]||"none"}function x(t,e,n,r){t.attr("transform",(o,a)=>{const s=2*Math.PI*a/t.size(),i=e+Math.cos(s)*r,c=n+Math.sin(s)*r;return o.x=i,o.y=c,`translate(${i}, ${c})`})}function w(t,e){const n=Math.sqrt(3)/2,r=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([r]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function b(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[74,117],{269:function(e,t,o){"use strict";o.r(t);o(7),o(29),o(252),o(85),o(30),o(480);angular.module("graphdb.framework.impex.export",["ui.bootstrap","toastr","ngRoute","ngCookies","graphdb.framework.impex.export.controllers","graphdb.framework.core.directives.paginations","graphdb.framework.core.services.repositories","graphdb.framework.core.directives"]).config(["$uibTooltipProvider",function(e){e.setTriggers({showExportDDTooltip:"showExportDDTooltip"})}])},85:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,o){return{link:function(e,a){const r=()=>{const t=o('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);a.html(t)};r();const i=t.$on("$translateChangeSuccess",r);e.$on("$destroy",i)}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[75,117],{199:function(e,i,a){"use strict";a.r(i);a(40),a(85);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},85:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[76,283],{116:function(r,t,i){"use strict";i.r(t);var n=i(97);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(r,t,i,s){s.$validators.validUrl=function(r,t){return!!s.$isEmpty(r)||n.UrlUtils.isValidUrl(t)}}}}))},97:function(r,t,i){"use strict";i.r(t),i.d(t,"UrlUtils",(function(){return s}));const n=/^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i;class s{static isValidUrl(r){return n.test(r)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[77,229],{102:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"},177:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(102);const i="yagui__"+n.VIEW_SPARQL_EDITOR,s="completed",r="rejected",o=function(){const t=()=>({val:{active:null,tabs:[],tabConfig:{}}}),e=(t,e,a=null)=>{t.val.migration={date:(new Date).toISOString(),status:e,error:a}},a=(t,e)=>{t.val.tabs.push(e)},n=(t,e)=>{t.val.tabConfig[e.id]=e},o=t=>{let e=localStorage.getItem(t);if(e)return e=JSON.parse(e),e},l=t=>{t.val.tabs=t.val.tabs.filter(t=>!t.startsWith("_"))},g=t=>{for(const e in t.val.tabConfig)e.startsWith("_")&&delete t.val.tabConfig[e]},c=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},u=(t,e)=>`${e} ${t}`,d=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const t=o(i);let e=!1;return t&&(e=t.val.migration&&(t.val.migration.status===s||t.val.migration.status===r)),!(!localStorage.getItem("ls.tabs-state")||e)},revertMigration:()=>{const t=o(i);l(t),g(t),c(i,t)},migrateYasguiPersistence:r=>{let l=o("ls.tabs-state");l=Object.freeze(l);let g=o(i);g||(g=t()),l.map(t=>({id:t.id,name:t.name,yasqe:{value:t.query,sameAs:t.sameAs,infer:t.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((t,e)=>{t.id="_"+d(),t.name=t.name||u(e,r),a(g,t.id),n(g,t)}),g.val.active=g.val.tabs[0],e(g,s),c(i,g)},rejectMigration:()=>{const t=o(i);e(t,r),c(i,t)}}}()}}]);
|