graphdb-workbench 2.8.0-RC3 → 2.8.0-RC5
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.b18306b2cadb110a4706.bundle.js +25 -0
- package/dist/1.448206bdf418ae6f4bb1.bundle.js +1 -0
- package/dist/10.68a799e9740094ae6dca.bundle.js +1 -0
- package/dist/100.09a30a5e44435c837f2a.bundle.js +1 -0
- package/dist/101.caacc7236547367b3490.bundle.js +1 -0
- package/dist/102.4eeca7f968a33676bd37.bundle.js +1 -0
- package/dist/103.51d530c22201d78caa93.bundle.js +1 -0
- package/dist/104.38201bee605ebc344d8a.bundle.js +1 -0
- package/dist/105.e11b21c6d94f5df2b6c0.bundle.js +1 -0
- package/dist/106.9f79d102d74f6c666426.bundle.js +1 -0
- package/dist/107.57f4a826dcecb39b5cff.bundle.js +1 -0
- package/dist/108.685698b895a5e16ba92f.bundle.js +1 -0
- package/dist/109.7e1872c8dc363801a73a.bundle.js +1 -0
- package/dist/11.fb254db6ab09d415273d.bundle.js +1 -0
- package/dist/110.be87cfc050d9a4f51e6c.bundle.js +1 -0
- package/dist/111.2ce44854edbaa2238fa4.bundle.js +1 -0
- package/dist/112.28febaaf610eba64128b.bundle.js +1 -0
- package/dist/113.9ad88652dd2d85f3dd2e.bundle.js +1 -0
- package/dist/114.f68e86a5c96abb1ee21c.bundle.js +1 -0
- package/dist/115.a627783d082869bde43e.bundle.js +1 -0
- package/dist/116.37799a5fbee1455a6a54.bundle.js +1 -0
- package/dist/117.aee330b983bf5c50f8c1.bundle.js +1 -0
- package/dist/118.97b6ec864fd41bc2aed8.bundle.js +1 -0
- package/dist/119.fb10ef86ec9300396424.bundle.js +1 -0
- package/dist/12.aea46cc96155a0219494.bundle.js +1 -0
- package/dist/120.c5617b13f324abddd2eb.bundle.js +1 -0
- package/dist/121.6064dd0a23e54b173692.bundle.js +1 -0
- package/dist/122.d09e905c00bfdc8e819c.bundle.js +1 -0
- package/dist/123.277f71995a92fc780150.bundle.js +1 -0
- package/dist/124.5546d1169cf1cd85a80a.bundle.js +1 -0
- package/dist/125.577c4efc0f0f4aaf6104.bundle.js +1 -0
- package/dist/126.40a15e56f739d5afeb9a.bundle.js +1 -0
- package/dist/127.883c16bae272fa231f2a.bundle.js +1 -0
- package/dist/128.a7f9973153bcb25c1f8f.bundle.js +1 -0
- package/dist/129.52e5b0f138bd41938143.bundle.js +1 -0
- package/dist/13.a4143780b628e2fa079e.bundle.js +1 -0
- package/dist/130.d6d5350813d4be3f4bb9.bundle.js +1 -0
- package/dist/131.18d1d6707a36a49acf81.bundle.js +1 -0
- package/dist/132.288cfa82dc82357a8f20.bundle.js +1 -0
- package/dist/133.6269f897deb2b5d1b734.bundle.js +1 -0
- package/dist/134.9d6ec1c346ccc0d29367.bundle.js +1 -0
- package/dist/135.1003cea170e7cc563d7e.bundle.js +1 -0
- package/dist/136.5903c06aaa6c3e2ffb94.bundle.js +1 -0
- package/dist/137.7aee8a081b5b3bb40453.bundle.js +1 -0
- package/dist/138.aa34288a887f892ec5b8.bundle.js +1 -0
- package/dist/139.f941d14574b513055316.bundle.js +1 -0
- package/dist/14.fcda4963e80d7ed89952.bundle.js +73 -0
- package/dist/140.984ea48adce39951c9c6.bundle.js +1 -0
- package/dist/141.842ee11d12b8205bf779.bundle.js +1 -0
- package/dist/142.80cbe981daac3fadb374.bundle.js +1 -0
- package/dist/143.b9e266bdae34f5807898.bundle.js +1 -0
- package/dist/144.6ac9bf46ac40bef252a6.bundle.js +1 -0
- package/dist/145.54e47d651b85080af814.bundle.js +1 -0
- package/dist/146.06eb1f7fad6a997ce599.bundle.js +1 -0
- package/dist/147.a79ce7406724d200aa40.bundle.js +1 -0
- package/dist/148.f858b14c733ac66234f2.bundle.js +1 -0
- package/dist/149.8ea2179cbd2b37bd7fc9.bundle.js +1 -0
- package/dist/15.8a1172142b37104705f4.bundle.js +1 -0
- package/dist/150.a89bf930768b00296cf2.bundle.js +1 -0
- package/dist/151.341d3c1e0a807ea028ff.bundle.js +1 -0
- package/dist/152.cb606b2e29d0ed211393.bundle.js +1 -0
- package/dist/153.05a8742cb29b3a462a16.bundle.js +1 -0
- package/dist/154.6e565221bccc175c1108.bundle.js +1 -0
- package/dist/155.72bb7cc06d05273c5c80.bundle.js +1 -0
- package/dist/156.cd11334661dc42349670.bundle.js +1 -0
- package/dist/157.40975d0dfdc019625f93.bundle.js +1 -0
- package/dist/158.db6a06ef20338c27bbe8.bundle.js +1 -0
- package/dist/159.db706dea000e1f0bb7b6.bundle.js +1 -0
- package/dist/16.63883919105a1da4d0f2.bundle.js +1 -0
- package/dist/160.3d8e18b58dc2fa30620c.bundle.js +1 -0
- package/dist/161.e7b42e2e61898d16340b.bundle.js +1 -0
- package/dist/162.177a114825eb9bb2f64c.bundle.js +1 -0
- package/dist/163.5632f146b007b7c5b651.bundle.js +1 -0
- package/dist/164.39225bdfaec366b1e002.bundle.js +1 -0
- package/dist/165.c998450dcdfb148f9437.bundle.js +1 -0
- package/dist/166.fdd8b408b4ffc6613106.bundle.js +1 -0
- package/dist/167.eafc82608c6dc1f2b1f4.bundle.js +1 -0
- package/dist/168.ae99c3d32903e94a4fdc.bundle.js +1 -0
- package/dist/169.b7caec5f442177ac9af4.bundle.js +1 -0
- package/dist/17.2a66a1b22ee5fd2e5188.bundle.js +2 -0
- package/dist/170.539e36297ae66e786055.bundle.js +1 -0
- package/dist/171.5042692bf21358d4cc13.bundle.js +1 -0
- package/dist/172.4a5a1655f275c1e76a8e.bundle.js +1 -0
- package/dist/173.8f37db05a2eccb1338e1.bundle.js +1 -0
- package/dist/174.3a835bc4586dd3be2127.bundle.js +1 -0
- package/dist/175.a295324d2a50b9f3788f.bundle.js +1 -0
- package/dist/176.4894021d44b59a93d0c5.bundle.js +1 -0
- package/dist/177.fc36db9ae6d2d507633e.bundle.js +1 -0
- package/dist/178.45843921d2eeb59d94ad.bundle.js +1 -0
- package/dist/179.dacbc3288deaea6b4b2d.bundle.js +1 -0
- package/dist/18.68db9e46f52c336f9882.bundle.js +1 -0
- package/dist/180.5c117f9cff77d6b25ea5.bundle.js +1 -0
- package/dist/181.4e8ff24fbb350c7b3b56.bundle.js +1 -0
- package/dist/182.78cd0ca67c114d4083b0.bundle.js +1 -0
- package/dist/183.a923584c5000b5a438e3.bundle.js +1 -0
- package/dist/184.9a0b9a3991efda186ea4.bundle.js +1 -0
- package/dist/185.7ab1c7b6eeeb6781cd99.bundle.js +1 -0
- package/dist/186.4a9ff497b3db9ea494e2.bundle.js +1 -0
- package/dist/187.ef6208e299a07f5f0334.bundle.js +1 -0
- package/dist/188.3029a2fc07ee161ffaeb.bundle.js +1 -0
- package/dist/189.012126382569e603f621.bundle.js +1 -0
- package/dist/19.ef19be06bbc801cb999f.bundle.js +1 -0
- package/dist/190.56e27ca9cbda2c67173e.bundle.js +1 -0
- package/dist/191.bcb776be3822dfe4cde1.bundle.js +1 -0
- package/dist/192.eefdfa8a64adc02ad0b4.bundle.js +1 -0
- package/dist/193.d4e1ad5cb8479a52d46b.bundle.js +1 -0
- package/dist/194.2a55ba6912d19408b435.bundle.js +1 -0
- package/dist/195.e941fc5e7f9378c8ab17.bundle.js +1 -0
- package/dist/196.71a74578eb6a02973e37.bundle.js +1 -0
- package/dist/197.3d35c2ec219cd3d7bfb8.bundle.js +1 -0
- package/dist/198.41a1c12d702b8eea05cb.bundle.js +1 -0
- package/dist/199.307a221895d1caf18a5c.bundle.js +1 -0
- package/dist/2.0a0dec9390b72e19b311.bundle.js +2 -0
- package/dist/20.1e1f5194b0bf7ee695ef.bundle.js +1 -0
- package/dist/200.bef000050c58e422e7c2.bundle.js +1 -0
- package/dist/201.973002fd688954a9c8d3.bundle.js +1 -0
- package/dist/202.eee2a68f67f81d75f2bb.bundle.js +1 -0
- package/dist/203.1cbd8dfff56ca2ec7ede.bundle.js +1 -0
- package/dist/204.7ebfdc337e93ae87170b.bundle.js +1 -0
- package/dist/205.e1eb8d6a79d414e06380.bundle.js +1 -0
- package/dist/206.a553de5fdb17b24c8dc2.bundle.js +1 -0
- package/dist/207.fb14c8bf4459323e849d.bundle.js +1 -0
- package/dist/208.19f9c901ae486326fc98.bundle.js +1 -0
- package/dist/209.d8063aa7350f75bac278.bundle.js +1 -0
- package/dist/21.de32d5c65457afa2851e.bundle.js +7 -0
- package/dist/210.5304eabe571eec1c2b81.bundle.js +1 -0
- package/dist/211.f9a5cdef1f2ddeb689b1.bundle.js +1 -0
- package/dist/212.ccea27a7be519d5f0757.bundle.js +1 -0
- package/dist/213.0eca28ecfc4802e125de.bundle.js +1 -0
- package/dist/214.e040526722e17347d84c.bundle.js +1 -0
- package/dist/215.b800566c0700c7b8c4cd.bundle.js +1 -0
- package/dist/216.b9fda0a7848f41ed40ab.bundle.js +1 -0
- package/dist/217.6d32c1bed20438834a78.bundle.js +1 -0
- package/dist/218.104544e4b49e62764ca5.bundle.js +1 -0
- package/dist/219.15c1b79bf625228f47cb.bundle.js +1 -0
- package/dist/22.13bcebaa12a3b6a7fc1f.bundle.js +3 -0
- package/dist/220.f4ba0c5153acc78befc4.bundle.js +1 -0
- package/dist/221.5639c32db29b47e60ceb.bundle.js +1 -0
- package/dist/222.431a31dfc100558127d2.bundle.js +1 -0
- package/dist/223.8fdcf71c23342ad508e3.bundle.js +1 -0
- package/dist/224.a07c2cd53365458b55a4.bundle.js +1 -0
- package/dist/225.c840f4a43ed6003b1c16.bundle.js +1 -0
- package/dist/226.24e3e9d84938a6a6eabf.bundle.js +1 -0
- package/dist/227.1a67bed102a40f2f9ec0.bundle.js +1 -0
- package/dist/228.22e230cd5fc561469a69.bundle.js +1 -0
- package/dist/229.d3761019da85e0658fff.bundle.js +1 -0
- package/dist/23.4d6fe6188090079288b3.bundle.js +2 -0
- package/dist/230.e4296329f772553ad850.bundle.js +1 -0
- package/dist/231.225bd343729ebbe1e0d5.bundle.js +1 -0
- package/dist/232.78a074ea22fd72fb8ef8.bundle.js +1 -0
- package/dist/233.bc36adcaeb1cbf7be85f.bundle.js +1 -0
- package/dist/234.02a294874e6cd8a3c262.bundle.js +1 -0
- package/dist/235.af02bcdf218e584a9303.bundle.js +1 -0
- package/dist/236.4b4edf5ad5693dbd5abf.bundle.js +1 -0
- package/dist/237.cb3f9d5743c45490a7fa.bundle.js +1 -0
- package/dist/238.19c1a0889632baadd488.bundle.js +1 -0
- package/dist/239.bad995b4d6f03d272bdf.bundle.js +1 -0
- package/dist/24.1415927663d7b3630b0c.bundle.js +2 -0
- package/dist/240.0dec87a0f31102e36391.bundle.js +1 -0
- package/dist/241.6e91c98c8555ff376e83.bundle.js +1 -0
- package/dist/242.047a0d8236c488473600.bundle.js +1 -0
- package/dist/243.96f2f187d39b4125760e.bundle.js +1 -0
- package/dist/244.6079a1e8227c55deca7b.bundle.js +1 -0
- package/dist/245.a83f7acd7d8871aada1f.bundle.js +1 -0
- package/dist/246.8f1b7dcf59027abbee88.bundle.js +1 -0
- package/dist/247.69933abdb3ac6473f39a.bundle.js +1 -0
- package/dist/248.d0a8b9678a6b7f6ca48e.bundle.js +1 -0
- package/dist/249.9a21eb19f42a0137d9ca.bundle.js +1 -0
- package/dist/25.80e686f280eafd8c7664.bundle.js +3 -0
- package/dist/250.afa8def1fef396da6206.bundle.js +1 -0
- package/dist/251.44f0ad72f2e2ae880b1f.bundle.js +1 -0
- package/dist/252.798aa3fa53ade809df13.bundle.js +1 -0
- package/dist/253.490a4f5bc8f155fa0fc2.bundle.js +1 -0
- package/dist/254.7a4d2839c0aae9ac6883.bundle.js +1 -0
- package/dist/255.706cb4baf3519dfba49c.bundle.js +1 -0
- package/dist/256.0a1b5a98ab0f964c8ef2.bundle.js +1 -0
- package/dist/257.d99c4d31a05376c3f843.bundle.js +1 -0
- package/dist/258.89724a72f0d594fd807f.bundle.js +1 -0
- package/dist/259.5be44d1f2b55d67f3607.bundle.js +1 -0
- package/dist/26.0ee8122dea38e7d63213.bundle.js +2 -0
- package/dist/260.783eff3ffb08e7fa4a8a.bundle.js +1 -0
- package/dist/261.0ce68d027610b2847725.bundle.js +1 -0
- package/dist/262.371d0ce39c547830ad1c.bundle.js +1 -0
- package/dist/263.c7acda74d3dbb1cd304b.bundle.js +1 -0
- package/dist/264.aedec62c0dc39d44b4ad.bundle.js +1 -0
- package/dist/265.c0ea38a64927308a1b7a.bundle.js +1 -0
- package/dist/266.052b282e1b16c6e72836.bundle.js +1 -0
- package/dist/267.d0d17712a0f80512c8a3.bundle.js +1 -0
- package/dist/268.aa19ee9c8013f92dcb37.bundle.js +1 -0
- package/dist/269.920b703620f5aee4db65.bundle.js +1 -0
- package/dist/27.8856a51632932276e7e5.bundle.js +1 -0
- package/dist/270.b78ec99c364f8f1a6b0d.bundle.js +1 -0
- package/dist/271.a3dbddf9fea6e4dfd1a8.bundle.js +1 -0
- package/dist/272.7cf9ca0b8223d413db9b.bundle.js +1 -0
- package/dist/273.9748c07378184f419d9f.bundle.js +1 -0
- package/dist/274.502fae4622f3761e659b.bundle.js +1 -0
- package/dist/275.0513f0175abb80c78611.bundle.js +1 -0
- package/dist/276.386a0e533ebd0cd3cdad.bundle.js +1 -0
- package/dist/277.ca2031feaeed71250acf.bundle.js +1 -0
- package/dist/278.4e762ecad5dfb540582c.bundle.js +1 -0
- package/dist/279.7d3222c1187c2a8af6c1.bundle.js +1 -0
- package/dist/28.6275b1d899c2bb12f8b3.bundle.js +1 -0
- package/dist/280.f7c9c937a5ad4df3c776.bundle.js +1 -0
- package/dist/281.6d164e70a537421f3583.bundle.js +1 -0
- package/dist/282.436cb89900efb14f0e27.bundle.js +1 -0
- package/dist/283.9103fa93e7c82c62ec66.bundle.js +1 -0
- package/dist/284.5019105aee7925d4b092.bundle.js +1 -0
- package/dist/285.fdc130b4c824ec5d1cbe.bundle.js +1 -0
- package/dist/286.5dc436a24b127c95da4a.bundle.js +1 -0
- package/dist/287.2b3402507a7d4a71726d.bundle.js +1 -0
- package/dist/288.27cfaf5bc952ebe4de86.bundle.js +1 -0
- package/dist/289.e86c412b657356e1b345.bundle.js +1 -0
- package/dist/29.95ab7220eb7def6e7416.bundle.js +1 -0
- package/dist/290.705bec39ac6fcd67ad8a.bundle.js +1 -0
- package/dist/291.311b21c6a3479a6da0c7.bundle.js +1 -0
- package/dist/292.c23eb4ce9a64e6043123.bundle.js +1 -0
- package/dist/293.99ab6c45e68e7ecad9e8.bundle.js +1 -0
- package/dist/294.8270fa1ffb8203ca1cc3.bundle.js +1 -0
- package/dist/295.7bad90be385fcda06014.bundle.js +1 -0
- package/dist/296.f92f730629029a0dc6f5.bundle.js +1 -0
- package/dist/297.58bfbc1ea7dff42e109d.bundle.js +1 -0
- package/dist/298.b86326f23cf40ce223ad.bundle.js +1 -0
- package/dist/299.4d8ae690d0fa6d898b37.bundle.js +1 -0
- package/dist/3.24d929991cd69f80ef8b.bundle.js +1 -0
- package/dist/30.1ec37731f3b0df265413.bundle.js +1 -0
- package/dist/300.471c4c0c346532201460.bundle.js +1 -0
- package/dist/301.cea05be97634a58db214.bundle.js +1 -0
- package/dist/302.ede2bb7d60ffdccb3abf.bundle.js +1 -0
- package/dist/303.01161175bae4fe4fb327.bundle.js +1 -0
- package/dist/304.f81c644b70d285cb155c.bundle.js +1 -0
- package/dist/305.37546faea1450e64fd64.bundle.js +1 -0
- package/dist/306.f340b1965ea84420e5ca.bundle.js +1 -0
- package/dist/307.99fa859b8ddf91742c05.bundle.js +1 -0
- package/dist/308.32808960941dcf27889e.bundle.js +1 -0
- package/dist/309.50dba7f6704e28502a25.bundle.js +1 -0
- package/dist/31.1dc7125bd98d362a1c3a.bundle.js +1 -0
- package/dist/310.9d9091c885408782ded3.bundle.js +1 -0
- package/dist/311.b1fa5974a44a860981bb.bundle.js +1 -0
- package/dist/312.a7d1eaf803d04f490dda.bundle.js +1 -0
- package/dist/313.9892d397a1ef74dc3246.bundle.js +1 -0
- package/dist/314.8fada0aa3e9615994573.bundle.js +1 -0
- package/dist/315.c59f4c4ee0f446eb3ad2.bundle.js +1 -0
- package/dist/316.988d54f02efb8211aed0.bundle.js +1 -0
- package/dist/317.e288b28fe2a995c47a1d.bundle.js +1 -0
- package/dist/318.01ae6d6ab01df5a8323e.bundle.js +1 -0
- package/dist/319.c1530887f9ceae9c73a1.bundle.js +1 -0
- package/dist/32.6006167b7a4dd794eedd.bundle.js +1 -0
- package/dist/320.9371c672401796d6edbc.bundle.js +1 -0
- package/dist/321.a4b79742c85844545a6d.bundle.js +1 -0
- package/dist/322.2909303415e952e92a19.bundle.js +1 -0
- package/dist/323.e16e96761d188a8833a3.bundle.js +1 -0
- package/dist/324.d4da0726bd089f2452b2.bundle.js +1 -0
- package/dist/33.ee00b23e5898b06e9d39.bundle.js +1 -0
- package/dist/330.3cda043d8a4f43d52219.bundle.js +1 -0
- package/dist/331.c2de2e82638496ea5d94.bundle.js +1 -0
- package/dist/332.eb7968637b591e432b40.bundle.js +1 -0
- package/dist/333.5080aa875f7a9c9dcc6a.bundle.js +1 -0
- package/dist/334.84d54c19de812615fd02.bundle.js +1 -0
- package/dist/335.5214afe77fa497f009d2.bundle.js +1 -0
- package/dist/336.6d785bb54171657c30ff.bundle.js +1 -0
- package/dist/337.758b1a71933d97eda859.bundle.js +1 -0
- package/dist/338.7bcd3c70a017970cc3e5.bundle.js +1 -0
- package/dist/339.40c538257c91895af690.bundle.js +1 -0
- package/dist/34.5fc9a74572694e984363.bundle.js +1 -0
- package/dist/340.5982841392c052586445.bundle.js +1 -0
- package/dist/341.6eb6b427ced82f22560b.bundle.js +1 -0
- package/dist/342.8ae2e43b4a5a15e9d447.bundle.js +1 -0
- package/dist/343.0a7a71474836fc8e64bb.bundle.js +1 -0
- package/dist/344.b79958d7e67bc51ac74a.bundle.js +1 -0
- package/dist/345.ad526192db3541576676.bundle.js +1 -0
- package/dist/346.e4e76912b08faedc1ad9.bundle.js +1 -0
- package/dist/347.118ca575ab87cb19ce76.bundle.js +1 -0
- package/dist/348.b66e869463d89757632c.bundle.js +1 -0
- package/dist/349.2b88eb8ae560d7ba5291.bundle.js +1 -0
- package/dist/35.1a48bf64f65cd345abc2.bundle.js +1 -0
- package/dist/350.c8218ae833103bf52abf.bundle.js +1 -0
- package/dist/351.8a5f28a009ef04d0167d.bundle.js +1 -0
- package/dist/352.739323a4a0d80fa64a83.bundle.js +1 -0
- package/dist/353.e9821df37c8a8f529f2b.bundle.js +1 -0
- package/dist/354.5b2d83dbc08d59ece66c.bundle.js +1 -0
- package/dist/355.698a8825eb6c8c14c900.bundle.js +1 -0
- package/dist/356.64b32e22c857ec1941a8.bundle.js +1 -0
- package/dist/357.633f1ec2bb4f7aaad08c.bundle.js +1 -0
- package/dist/358.712444d717ab6016e061.bundle.js +1 -0
- package/dist/359.f490d1cd5bd0129ff5b8.bundle.js +1 -0
- package/dist/36.aac2ef57fe3df2918f1b.bundle.js +1 -0
- package/dist/360.62558fe8ea27dda9b767.bundle.js +1 -0
- package/dist/361.6a61caaca065617b2b20.bundle.js +1 -0
- package/dist/362.ddbdb2c98ca0050223c1.bundle.js +1 -0
- package/dist/363.8162d94c452625b7dba2.bundle.js +1 -0
- package/dist/364.df576cf78783fbda560d.bundle.js +1 -0
- package/dist/365.c1b330bbee71b66c6e7d.bundle.js +1 -0
- package/dist/366.f274b147f1fd2385edc4.bundle.js +1 -0
- package/dist/367.ccc2198ed5d2d9b56917.bundle.js +1 -0
- package/dist/368.d1bda6a51fc34a479b56.bundle.js +1 -0
- package/dist/369.feb0175b8dfd9bd143c2.bundle.js +1 -0
- package/dist/37.0a225dfd2f11c5b53ed5.bundle.js +1 -0
- package/dist/370.07d42a26f84b75cacf05.bundle.js +1 -0
- package/dist/371.5fd92bdd8f8ffb242213.bundle.js +1 -0
- package/dist/372.4a22dee44a456abedd3d.bundle.js +1 -0
- package/dist/373.ce1c01e608feb5cd354f.bundle.js +1 -0
- package/dist/374.3ae6c657ff865c4644c7.bundle.js +1 -0
- package/dist/375.a5c32971453bb62103f5.bundle.js +1 -0
- package/dist/376.1721960c5ff0e6307090.bundle.js +1 -0
- package/dist/377.17de81e958f2f38140c9.bundle.js +1 -0
- package/dist/378.e81f14ca32cdeb91b857.bundle.js +1 -0
- package/dist/379.371dd8bf3cb796582e68.bundle.js +1 -0
- package/dist/38.e4bbd711edc6129814be.bundle.js +1 -0
- package/dist/380.cbfd2023e142f3a48c34.bundle.js +1 -0
- package/dist/381.31836243f690cac41488.bundle.js +1 -0
- package/dist/382.b191c3409d24e5b84db3.bundle.js +1 -0
- package/dist/383.7d3c8474dcabceb72ad2.bundle.js +1 -0
- package/dist/384.d092675a415f87c59ebb.bundle.js +1 -0
- package/dist/385.1b48f8fd2a6c13372310.bundle.js +1 -0
- package/dist/386.f7eba8712e0146432fae.bundle.js +1 -0
- package/dist/387.f20ac43e9573d1bf2cc0.bundle.js +1 -0
- package/dist/388.dbe8b4a8d674906030c2.bundle.js +1 -0
- package/dist/389.d757e5bcb889385da864.bundle.js +1 -0
- package/dist/39.7b2fb34ede6e3eb03543.bundle.js +1 -0
- package/dist/390.fb3d315def37abb72c83.bundle.js +1 -0
- package/dist/391.e91eb0dad6c7507f1d9e.bundle.js +1 -0
- package/dist/392.08902ee038af0130a1bb.bundle.js +1 -0
- package/dist/393.ab19e87c78f15a1efa4a.bundle.js +1 -0
- package/dist/394.bd6cf8a58a6125028809.bundle.js +1 -0
- package/dist/395.679acc45f1c3ec6e8e86.bundle.js +1 -0
- package/dist/396.64e6e967b19be45aaf42.bundle.js +1 -0
- package/dist/397.fb643ad79378b15ce832.bundle.js +1 -0
- package/dist/398.86b51249d3390a580fc0.bundle.js +1 -0
- package/dist/399.313a67359a2156ac8034.bundle.js +1 -0
- package/dist/4.7869e46dd1e461d2a308.bundle.js +1 -0
- package/dist/40.12ff537a70c56a4d7db6.bundle.js +1 -0
- package/dist/400.10fd33b06610a0992944.bundle.js +1 -0
- package/dist/401.46048116cf65befbce56.bundle.js +1 -0
- package/dist/402.5fd9fff1cbe21d970ebe.bundle.js +1 -0
- package/dist/403.3841f7aaaae7caf2255f.bundle.js +1 -0
- package/dist/404.4dc9ee7188b9d2893515.bundle.js +1 -0
- package/dist/405.676926ad412a22f2fbeb.bundle.js +1 -0
- package/dist/406.fac49242989bf5bd6c3c.bundle.js +1 -0
- package/dist/407.c6e72e1d06d9a88ff0ef.bundle.js +1 -0
- package/dist/408.e4b580b91a4d2e7bae39.bundle.js +1 -0
- package/dist/409.ef1fe0a86ae00924b36f.bundle.js +1 -0
- package/dist/41.40c3d7b8512190b33ab8.bundle.js +1 -0
- package/dist/410.64c4c5bca0fd1177632a.bundle.js +1 -0
- package/dist/411.f14f388ae0c6938b2d78.bundle.js +1 -0
- package/dist/42.be35a3551bb3d2f3ea0d.bundle.js +1 -0
- package/dist/43.7f0c15d16cdac0a2da0e.bundle.js +1 -0
- package/dist/44.252d834ea9ffc35b6598.bundle.js +1 -0
- package/dist/45.c51d3862fd2d47236bc5.bundle.js +1 -0
- package/dist/46.9d389b688ec36cd263bf.bundle.js +1 -0
- package/dist/47.19dbb262272e0b7157ef.bundle.js +1 -0
- package/dist/48.eb684d0a5125b4b18d93.bundle.js +1 -0
- package/dist/49.73257e723398975ed270.bundle.js +1 -0
- package/dist/5.9a97267eba2b4178729d.bundle.js +1 -0
- package/dist/50.f5224b94dfc174541293.bundle.js +1 -0
- package/dist/51.2fc2a5a0b09cbb966ac5.bundle.js +1 -0
- package/dist/52.8a2a53097a771b3e9669.bundle.js +1 -0
- package/dist/53.482592db08b5d952a441.bundle.js +1 -0
- package/dist/54.dd9da0061488636aab94.bundle.js +2 -0
- package/dist/55.e3907bcbd21994967f06.bundle.js +1 -0
- package/dist/56.9ae2a535fe8e01907992.bundle.js +1 -0
- package/dist/57.0959ae1c799c1763d134.bundle.js +1 -0
- package/dist/58.3796144f75d9bdebed5a.bundle.js +1 -0
- package/dist/59.4be5c7e1550359c21a9f.bundle.js +1 -0
- package/dist/6.7cc41abda36b65ad5840.bundle.js +1 -0
- package/dist/60.b1461706f705563364df.bundle.js +1 -0
- package/dist/61.e42f998a53a0b7fee628.bundle.js +1 -0
- package/dist/62.f4381093d6b3e08c9f09.bundle.js +1 -0
- package/dist/63.7aae8d391a169e4e0222.bundle.js +1 -0
- package/dist/64.4ce03b3d619cbd788a73.bundle.js +1 -0
- package/dist/65.5d65a68f261af60ac82d.bundle.js +2 -0
- package/dist/66.6b2f8fb2e77bd6368832.bundle.js +1 -0
- package/dist/67.d58cfe3f39280b74aabe.bundle.js +1 -0
- package/dist/68.5c5c07ecddafaa87139a.bundle.js +1 -0
- package/dist/69.c4a95cb341a5ddff6f63.bundle.js +1 -0
- package/dist/7.5bb100322bb46a0283b5.bundle.js +1 -0
- package/dist/70.8796413c83479a2d289a.bundle.js +1 -0
- package/dist/71.300bfdede485053ff6ad.bundle.js +1 -0
- package/dist/72.a3507db36af0a119f134.bundle.js +1 -0
- package/dist/73.549bd6b48569d03fff6f.bundle.js +1 -0
- package/dist/74.2bb76c2b1fec4bf3904d.bundle.js +1 -0
- package/dist/75.4179bf924060f596b5c3.bundle.js +1 -0
- package/dist/76.1dc77d16d009a3a60dc6.bundle.js +1 -0
- package/dist/77.1fef81e5ff349d22a31e.bundle.js +1 -0
- package/dist/78.66a9b8f60dcb519e6e18.bundle.js +1 -0
- package/dist/79.6a9dac3c4299fbea231e.bundle.js +1 -0
- package/dist/8.5945491c614f0a5ebdd3.bundle.js +1 -0
- package/dist/80.c3e98de533be05d33c4e.bundle.js +2 -0
- package/dist/81.4ca4b112b1a9acda1067.bundle.js +1 -0
- package/dist/82.196dffd2af62f257a06e.bundle.js +1 -0
- package/dist/83.57f7c159d51528ed6e0f.bundle.js +1 -0
- package/dist/84.582c7b1e0e8d9560c896.bundle.js +1 -0
- package/dist/85.a5896df819bc62ed857b.bundle.js +1 -0
- package/dist/86.59cd3fc7143e513de9d8.bundle.js +1 -0
- package/dist/87.ba5b94f7848cbf41a1b0.bundle.js +1 -0
- package/dist/88.a9bf78d48bafff308c64.bundle.js +1 -0
- package/dist/89.39f3e479004eac9fe1f7.bundle.js +1 -0
- package/dist/9.0aeb629f3625bc6f0777.bundle.js +1 -0
- package/dist/90.47d51a7e5dda73f6112f.bundle.js +1 -0
- package/dist/91.8e7ab09b3702954f26de.bundle.js +1 -0
- package/dist/92.6b310a47587f1c0e73cc.bundle.js +1 -0
- package/dist/93.2f4ad7230e90ecddb840.bundle.js +1 -0
- package/dist/94.c9dff0ba2448d2a26193.bundle.js +1 -0
- package/dist/95.7bb038bae141529ed428.bundle.js +1 -0
- package/dist/96.67f668289fbf473429e8.bundle.js +1 -0
- package/dist/97.416025b95def8b73233e.bundle.js +1 -0
- package/dist/98.36c45849b797f091484c.bundle.js +1 -0
- package/dist/99.ef2db01f95590908fab6.bundle.js +1 -0
- package/dist/bundle.a7e07d5231025abafc4d.bundle.js +95 -0
- package/dist/css/bootstrap-graphdb-theme.css +25 -9
- package/dist/css/common.css +1 -0
- package/dist/css/cookie-policy.css +3 -1
- package/dist/css/ttyg/agent-select-menu.css +36 -2
- package/dist/css/ttyg/chat-item-details.css +7 -23
- package/dist/css/ttyg/chat-panel.css +1 -0
- package/dist/css/ttyg/ttyg.css +1 -22
- package/dist/i18n/locale-en.json +22 -28
- package/dist/i18n/locale-fr.json +23 -29
- package/dist/index.html +5 -5
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +1 -1
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-nodes.html +3 -3
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html +1 -1
- package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +7 -7
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +10 -10
- package/dist/js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html +2 -2
- 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/core/templates/cookie-policy/cookie-consent.html +4 -3
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +27 -29
- package/dist/js/angular/security/templates/user.html +3 -3
- package/dist/js/angular/templates/titlePopoverTemplate.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +7 -7
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +12 -8
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +6 -6
- package/dist/js/angular/ttyg/templates/chat-list.html +5 -5
- package/dist/js/angular/ttyg/templates/chat-panel.html +2 -2
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +11 -9
- package/dist/js/angular/ttyg/templates/no-agents-view.html +2 -2
- package/dist/js/angular/ttyg/templates/ttyg.html +4 -4
- package/dist/license-checker.json +4 -17
- package/dist/main.0e3d6114868b1818d519.bundle.js +1 -0
- package/dist/main.f6983968e07a3fb0fdd4.css +1 -0
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +4 -4
- 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 +3 -3
- 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/licenseInfo.html +3 -5
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- 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/ux-test2.html +31 -0
- package/dist/pages/webapi.html +2 -2
- package/dist/polyfills-dom.d30d58efeadc8ed60dd0.bundle.js +19 -0
- package/dist/res/swagger5/fonts/fa-sharp-regular-400.woff2 +0 -0
- package/dist/res/swagger5/index.html +12 -12
- package/dist/vendor.54210054e552a2a96fb6.css +26 -0
- package/dist/vendor.567467e33e9cfc654cb6.bundle.js +27 -0
- package/dist/vendors~polyfills-core-js.1aeb97dbe0d90dbb7983.bundle.js +1 -0
- package/package.json +2 -3
- package/dist/0.6fccb7d4f7a105e4ba57.bundle.js +0 -25
- package/dist/1.696c90502652cad45599.bundle.js +0 -1
- package/dist/10.147f53a5ea44870bf22f.bundle.js +0 -1
- package/dist/100.20c7f6682406039b3e33.bundle.js +0 -1
- package/dist/101.2b45a035211bed0f0f36.bundle.js +0 -1
- package/dist/102.dd9171ee224255c7343f.bundle.js +0 -1
- package/dist/103.2eb445db81053148af68.bundle.js +0 -1
- package/dist/104.5176258dc8be8207c8e3.bundle.js +0 -1
- package/dist/105.f1f5759395f8ba9fff6f.bundle.js +0 -1
- package/dist/106.f7388c791885eb1821b5.bundle.js +0 -1
- package/dist/107.107487e88882ca2fd401.bundle.js +0 -1
- package/dist/108.607c898602b8aef120f4.bundle.js +0 -1
- package/dist/109.71906e10f15ffe465015.bundle.js +0 -1
- package/dist/11.ab83107e00bb6db40b51.bundle.js +0 -1
- package/dist/110.b3097fe4d0c37c9f0026.bundle.js +0 -1
- package/dist/111.f8c51684ae0f7ad90178.bundle.js +0 -1
- package/dist/112.816f8b42e48be5994b8c.bundle.js +0 -1
- package/dist/113.88f9efd20e7e3055216a.bundle.js +0 -1
- package/dist/114.8689bcaf0568908b5c8b.bundle.js +0 -1
- package/dist/115.c9cb1da64c438a625923.bundle.js +0 -1
- package/dist/116.403d966851eb52deabe3.bundle.js +0 -1
- package/dist/117.08dc12ca3db77ed71621.bundle.js +0 -1
- package/dist/118.51cd4731d90a198df613.bundle.js +0 -1
- package/dist/119.df4176e883802f1d8836.bundle.js +0 -1
- package/dist/12.c25b1cd8a651d96849e5.bundle.js +0 -1
- package/dist/120.6c837a364aab22985ee2.bundle.js +0 -1
- package/dist/121.02a90a9c414c360d8d7f.bundle.js +0 -1
- package/dist/122.abb68e41f0e4dc48c50e.bundle.js +0 -1
- package/dist/123.359e0f5b35f48d79db07.bundle.js +0 -1
- package/dist/124.51e65b42a8955594b5e8.bundle.js +0 -1
- package/dist/125.b77dd96c5932a7f4efe7.bundle.js +0 -1
- package/dist/126.bba8cbc92bbc44ab7836.bundle.js +0 -1
- package/dist/127.b1624473dadf3dfb5aa8.bundle.js +0 -1
- package/dist/128.400111e39238b257835a.bundle.js +0 -1
- package/dist/129.f61594b669a00eeeab79.bundle.js +0 -1
- package/dist/13.87b1203affd4f642eede.bundle.js +0 -1
- package/dist/130.05ec93306b6919f67248.bundle.js +0 -1
- package/dist/131.3c9529c9b18b455057a1.bundle.js +0 -1
- package/dist/132.25672e01487b4c5b3d04.bundle.js +0 -1
- package/dist/133.022cefb99e160a24853f.bundle.js +0 -1
- package/dist/134.2f1098ed19b795ecf175.bundle.js +0 -1
- package/dist/135.857562a645f406e15c6d.bundle.js +0 -1
- package/dist/136.2a6988871361e139b122.bundle.js +0 -1
- package/dist/137.449da022b2b52ec280b5.bundle.js +0 -1
- package/dist/138.c278ed460f0663db75dc.bundle.js +0 -1
- package/dist/139.8d8d22045d6048650e6e.bundle.js +0 -1
- package/dist/14.cb915b67541966fad90b.bundle.js +0 -73
- package/dist/140.c158589aabe0bd04c5af.bundle.js +0 -1
- package/dist/141.f8433981395164aa69d0.bundle.js +0 -1
- package/dist/142.643c978261fc4ff6d3e9.bundle.js +0 -1
- package/dist/143.c07a675c98ec38985173.bundle.js +0 -1
- package/dist/144.2571ee66ed12db57bae8.bundle.js +0 -1
- package/dist/145.8181e66822d5659de3fb.bundle.js +0 -1
- package/dist/146.d317c444c8381b6e0e3c.bundle.js +0 -1
- package/dist/147.c26855af5a81a7c1cfe3.bundle.js +0 -1
- package/dist/148.69649a1b763040d6e134.bundle.js +0 -1
- package/dist/149.43b91b2dbdaef3d43016.bundle.js +0 -1
- package/dist/15.876e34f99e7fd14d2d9a.bundle.js +0 -1
- package/dist/150.321a0824490697369e5e.bundle.js +0 -1
- package/dist/151.f8e193cb753cc5af7e6b.bundle.js +0 -1
- package/dist/152.71ba488ddc01074e24ac.bundle.js +0 -1
- package/dist/153.6703f8326d49bc40a892.bundle.js +0 -1
- package/dist/154.4bec5410c6096553072e.bundle.js +0 -1
- package/dist/155.3530f56d1d34659875c0.bundle.js +0 -1
- package/dist/156.e1befa71b0adf3cfd004.bundle.js +0 -1
- package/dist/157.11756bbba046253ebee2.bundle.js +0 -1
- package/dist/158.28b5bd96484af5138cd1.bundle.js +0 -1
- package/dist/159.6a76419908ae6034c5d0.bundle.js +0 -1
- package/dist/16.de070cce604198c63fcc.bundle.js +0 -1
- package/dist/160.fe4d4a01b8787991442c.bundle.js +0 -1
- package/dist/161.d93b414694e1eae0a623.bundle.js +0 -1
- package/dist/162.6a10cab1819211d146be.bundle.js +0 -1
- package/dist/163.5885345dcc1948d4ef4f.bundle.js +0 -1
- package/dist/164.b268b259724c3e11a6b1.bundle.js +0 -1
- package/dist/165.31877975cc3251740b84.bundle.js +0 -1
- package/dist/166.876b761015f560e9927e.bundle.js +0 -1
- package/dist/167.3a60449fea6d67c1e620.bundle.js +0 -1
- package/dist/168.1e8e4a987176aeec6ee3.bundle.js +0 -1
- package/dist/169.39e2b7ec7a9578d81531.bundle.js +0 -1
- package/dist/17.7db01ced68d6898c84d8.bundle.js +0 -2
- package/dist/170.7d55a078d7202c44aa11.bundle.js +0 -1
- package/dist/171.33f4573df2a0ffc0da09.bundle.js +0 -1
- package/dist/172.14a0974626fe6e36a7ef.bundle.js +0 -1
- package/dist/173.70961a264129d6a9bf9c.bundle.js +0 -1
- package/dist/174.5e630d3ff6b7a2d48f4f.bundle.js +0 -1
- package/dist/175.a5e7464a34d110ef5918.bundle.js +0 -1
- package/dist/176.0caddc01a40d1f4d2f2c.bundle.js +0 -1
- package/dist/177.63fd7f2c38de14c890f9.bundle.js +0 -1
- package/dist/178.65ec65dc5248ae3fd1e3.bundle.js +0 -1
- package/dist/179.65fc02ac1fe9ef36df62.bundle.js +0 -1
- package/dist/18.c1d57158fa373c3bc343.bundle.js +0 -1
- package/dist/180.d7d942a545b24327e970.bundle.js +0 -1
- package/dist/181.4921c218d22ab09a32ae.bundle.js +0 -1
- package/dist/182.dfcc20ae89193db499d9.bundle.js +0 -1
- package/dist/183.d7fd69ef2a843e7a3ed6.bundle.js +0 -1
- package/dist/184.fcc220fd8878483ff26b.bundle.js +0 -1
- package/dist/185.e328f3ac3beb503433e5.bundle.js +0 -1
- package/dist/186.a5e68d985e6e81d8024b.bundle.js +0 -1
- package/dist/187.694385aeca824f03fd19.bundle.js +0 -1
- package/dist/188.27fb4950722b1dd469db.bundle.js +0 -1
- package/dist/189.452e70a058f0fd831549.bundle.js +0 -1
- package/dist/19.532d6d365c0d3ae3b838.bundle.js +0 -1
- package/dist/190.d5a8e69ff03e323b86ee.bundle.js +0 -1
- package/dist/191.e67b5c337fcf1544f4b6.bundle.js +0 -1
- package/dist/192.8fd1d0c10efa24a37855.bundle.js +0 -1
- package/dist/193.bf0655cd7bdcab60b5a7.bundle.js +0 -1
- package/dist/194.506457d31c38d8e13d84.bundle.js +0 -1
- package/dist/195.0dd35bf552c8d05d1612.bundle.js +0 -1
- package/dist/196.200f123d1bb8e74a360f.bundle.js +0 -1
- package/dist/197.0e943ac1059f880a6684.bundle.js +0 -1
- package/dist/198.ae0bf5421643962463f3.bundle.js +0 -1
- package/dist/199.b4f2414ff66b8d2272a3.bundle.js +0 -1
- package/dist/2.8582febe80404e9a2aaa.bundle.js +0 -2
- package/dist/20.a4675e9bb818bc7bcb8e.bundle.js +0 -1
- package/dist/200.2f6231b7d40fa2d8d11c.bundle.js +0 -1
- package/dist/201.229e208e5a15852d355e.bundle.js +0 -1
- package/dist/202.98de3bbab385dbc6ebf4.bundle.js +0 -1
- package/dist/203.8c73f066e9c0be4a3d8d.bundle.js +0 -1
- package/dist/204.1bb30e6aaa04e69ba7d4.bundle.js +0 -1
- package/dist/205.26b8d0e1f58c6d4db34a.bundle.js +0 -1
- package/dist/206.076af7cddca183df4dd6.bundle.js +0 -1
- package/dist/207.69f196e311e1bba7ae6e.bundle.js +0 -1
- package/dist/208.7ca3326c76cbe15c38fb.bundle.js +0 -1
- package/dist/209.bb3354a8793106464f03.bundle.js +0 -1
- package/dist/21.bbe21b3f3af654d8953d.bundle.js +0 -7
- package/dist/210.fbc625e821da76ef43c3.bundle.js +0 -1
- package/dist/211.50b24ac699d4485668a3.bundle.js +0 -1
- package/dist/212.2b3471abcead41f26d04.bundle.js +0 -1
- package/dist/213.bf848ad935a9ac72c602.bundle.js +0 -1
- package/dist/214.3257d8f4b6b1535e3d03.bundle.js +0 -1
- package/dist/215.da03d047ffd0119b66aa.bundle.js +0 -1
- package/dist/216.23066c5213b8ba14fc8b.bundle.js +0 -1
- package/dist/217.5fb01a16f92c3930d167.bundle.js +0 -1
- package/dist/218.d9bb5edcb56b308cbf2d.bundle.js +0 -1
- package/dist/219.a58d29697bbffb337c5f.bundle.js +0 -1
- package/dist/22.673ef35a23421e7dffcb.bundle.js +0 -3
- package/dist/220.6d0fb49c4a588ee66b2e.bundle.js +0 -1
- package/dist/221.5bf5e26a4fe1870f0c6f.bundle.js +0 -1
- package/dist/222.1ff4cff4b41c477b2f17.bundle.js +0 -1
- package/dist/223.6ad945aeeda0400464dc.bundle.js +0 -1
- package/dist/224.cf6d2e0f7b47a7517120.bundle.js +0 -1
- package/dist/225.aa99b64be9b934e9f5a4.bundle.js +0 -1
- package/dist/226.9360e0e8e5472b0dc6dc.bundle.js +0 -1
- package/dist/227.84e1388f9a1fbf9e05ba.bundle.js +0 -1
- package/dist/228.70e7de5ffd9e981c64e8.bundle.js +0 -1
- package/dist/229.d6c857dbad6a69d56840.bundle.js +0 -1
- package/dist/23.d09fb3b6db161d7b6ab9.bundle.js +0 -2
- package/dist/230.8c0a70b171945fd467de.bundle.js +0 -1
- package/dist/231.c2bcf9c4f251234aaabc.bundle.js +0 -1
- package/dist/232.ed27290543d6c0439080.bundle.js +0 -1
- package/dist/233.347032937e0ad24b3603.bundle.js +0 -1
- package/dist/234.6cbb9f0d93a917a53660.bundle.js +0 -1
- package/dist/235.e21ab62d2d4957458bae.bundle.js +0 -1
- package/dist/236.890a6af9634cbbaa67dc.bundle.js +0 -1
- package/dist/237.2eba9d34bf780be57354.bundle.js +0 -1
- package/dist/238.a53d175aab333fb2ac66.bundle.js +0 -1
- package/dist/239.667d1299bdbdcca9fec4.bundle.js +0 -1
- package/dist/24.2d6deb00fd0d093137a2.bundle.js +0 -2
- package/dist/240.6811e02cb40b1ec2fd30.bundle.js +0 -1
- package/dist/241.e6cc3c024d4515eb494f.bundle.js +0 -1
- package/dist/242.55783496bb74b18398a4.bundle.js +0 -1
- package/dist/243.ef8fed02d11764b49b8b.bundle.js +0 -1
- package/dist/244.7b3d2a9c11a2fdd1e9f1.bundle.js +0 -1
- package/dist/245.5c2eca009ee46219f11f.bundle.js +0 -1
- package/dist/246.dde7b2fec87cc11b7c0f.bundle.js +0 -1
- package/dist/247.86e4faacf2a49392844e.bundle.js +0 -1
- package/dist/248.398a39d069f847eed973.bundle.js +0 -1
- package/dist/249.a94f7b3b3390e11fad36.bundle.js +0 -1
- package/dist/25.3bd738f41172a60240be.bundle.js +0 -3
- package/dist/250.aef9880a18de28872579.bundle.js +0 -1
- package/dist/251.b6ce0d1bc855085a8ae1.bundle.js +0 -1
- package/dist/252.b369b6a3a4c6271660de.bundle.js +0 -1
- package/dist/253.cf69a80fe4f12d5a8c76.bundle.js +0 -1
- package/dist/254.db80b54511b929dbfaed.bundle.js +0 -1
- package/dist/255.0fdc9b0200cbd42dcfa0.bundle.js +0 -1
- package/dist/256.64ad96c3142d0c1a9ee3.bundle.js +0 -1
- package/dist/257.7779a024eb111ebc8b96.bundle.js +0 -1
- package/dist/258.1a9fae1257de85335a59.bundle.js +0 -1
- package/dist/259.6dd6674192d3f94269b4.bundle.js +0 -1
- package/dist/26.fd06047bfc37352ee2fd.bundle.js +0 -2
- package/dist/260.747d32f2a26346048ab6.bundle.js +0 -1
- package/dist/261.a3d9ffaabd4cbc04fdb2.bundle.js +0 -1
- package/dist/262.ac56cc2f2ffff6c1f8fa.bundle.js +0 -1
- package/dist/263.095c66612975f2b0376d.bundle.js +0 -1
- package/dist/264.afaa1b72929fa259d90e.bundle.js +0 -1
- package/dist/265.d128932eb1a7be270b66.bundle.js +0 -1
- package/dist/266.85a59f32b396251fa25a.bundle.js +0 -1
- package/dist/267.38b5840eef4dd8094705.bundle.js +0 -1
- package/dist/268.18b9bdd79cc5bd71970c.bundle.js +0 -1
- package/dist/269.70279dee2fda9f56fc3d.bundle.js +0 -1
- package/dist/27.2e7f5c9f8f4a670b3984.bundle.js +0 -1
- package/dist/270.07409f3d222ebe3150fe.bundle.js +0 -1
- package/dist/271.a85777aa2bbb1da40e40.bundle.js +0 -1
- package/dist/272.cded4f133daefc7cb25c.bundle.js +0 -1
- package/dist/273.d345ea991d22c1adbe1e.bundle.js +0 -1
- package/dist/274.8aab0969efe260715d2a.bundle.js +0 -1
- package/dist/275.9390b9993b3fd336f70d.bundle.js +0 -1
- package/dist/276.4fb0d08d701aed04de59.bundle.js +0 -1
- package/dist/277.384ad6d401df5163ea02.bundle.js +0 -1
- package/dist/278.46fddb379d2113a26835.bundle.js +0 -1
- package/dist/279.e02861d8f2ef7b86a7dd.bundle.js +0 -1
- package/dist/28.d6c1a1ba87746831c687.bundle.js +0 -1
- package/dist/280.776127b3ea781e3433e5.bundle.js +0 -1
- package/dist/281.8ce61ae55bbc86da60dc.bundle.js +0 -1
- package/dist/282.2682e872b90be0e196e4.bundle.js +0 -1
- package/dist/283.bd6b1c9aaf1ea58cb89a.bundle.js +0 -1
- package/dist/284.1be566b40a0e79dbdc33.bundle.js +0 -1
- package/dist/285.6f7d22842609e3c64ca4.bundle.js +0 -1
- package/dist/286.27bd656e92bedc2a14b0.bundle.js +0 -1
- package/dist/287.06930d99f6786f4ad895.bundle.js +0 -1
- package/dist/288.622ffc5a7b68594d4ab1.bundle.js +0 -1
- package/dist/289.182a18e3e2ca4965deb6.bundle.js +0 -1
- package/dist/29.51e3a39f42f69fed2a6b.bundle.js +0 -1
- package/dist/290.f077f050efe8404c8d90.bundle.js +0 -1
- package/dist/291.a855523fe89d92b8e683.bundle.js +0 -1
- package/dist/292.ca71c628d6c02b41677d.bundle.js +0 -1
- package/dist/293.9c7d53c7b949ee315b0d.bundle.js +0 -1
- package/dist/294.e98df9781d773bdca800.bundle.js +0 -1
- package/dist/295.7252eeee12b96d3f2856.bundle.js +0 -1
- package/dist/296.9ec328906966feaceb70.bundle.js +0 -1
- package/dist/297.21ad8133e1c092299335.bundle.js +0 -1
- package/dist/298.b8b63b84e7f541adcf9a.bundle.js +0 -1
- package/dist/299.ee1ab83ba283674313e3.bundle.js +0 -1
- package/dist/3.6bd80cc286cfcf44dad6.bundle.js +0 -1
- package/dist/30.0a09aee7d0bd3364f98c.bundle.js +0 -1
- package/dist/300.e6a8cd429b2d84dc8a74.bundle.js +0 -1
- package/dist/301.cfe2d0a66a6eab576625.bundle.js +0 -1
- package/dist/302.9addbbdf6ba4d90c26a8.bundle.js +0 -1
- package/dist/303.608ba2f25b1c98c25112.bundle.js +0 -1
- package/dist/304.129b2a0b39f46a8ef319.bundle.js +0 -1
- package/dist/305.672849e9a2b16a307250.bundle.js +0 -1
- package/dist/306.6ae811df2bf4c8d8caf3.bundle.js +0 -1
- package/dist/307.7f73d30d6a89ed5cfc00.bundle.js +0 -1
- package/dist/308.b1f2498ea5b268f368a4.bundle.js +0 -1
- package/dist/309.66c544a6ae262331d497.bundle.js +0 -1
- package/dist/31.4025474d95a5437b9c8c.bundle.js +0 -1
- package/dist/310.f77d349564dc19e980e5.bundle.js +0 -1
- package/dist/311.ca0c67615377bf7ae1a0.bundle.js +0 -1
- package/dist/312.f82707696e903059544e.bundle.js +0 -1
- package/dist/313.b55b9a82595861ab1584.bundle.js +0 -1
- package/dist/314.a6cb37acad1b821d40f5.bundle.js +0 -1
- package/dist/315.ce9d149a621b4905ebf7.bundle.js +0 -1
- package/dist/316.45f86678a45c2ff5bec0.bundle.js +0 -1
- package/dist/317.38a5d19a5e2828e8ccc1.bundle.js +0 -1
- package/dist/318.dd62e8eddaa1a32003cc.bundle.js +0 -1
- package/dist/319.2a4ccca3a57a9e8f6be4.bundle.js +0 -1
- package/dist/32.12a7a9b625be47983994.bundle.js +0 -1
- package/dist/320.351bd26a9bf696b76ed2.bundle.js +0 -1
- package/dist/321.1fa7e8f232f5e6eba4ac.bundle.js +0 -1
- package/dist/322.32c5f354721666ada530.bundle.js +0 -1
- package/dist/323.07e2f0840fae80b40a13.bundle.js +0 -1
- package/dist/324.48baba475e2e0d93e8b5.bundle.js +0 -1
- package/dist/33.d4d571fa95fe4279e91a.bundle.js +0 -1
- package/dist/330.c44bdcf2dcde362e07b4.bundle.js +0 -1
- package/dist/331.729091ca0937ec5f5c7b.bundle.js +0 -1
- package/dist/332.f8db120ada0883fea78a.bundle.js +0 -1
- package/dist/333.d484a72faba45ed16271.bundle.js +0 -1
- package/dist/334.70117723f3f17c3855fe.bundle.js +0 -1
- package/dist/335.6085797f4a583d345a98.bundle.js +0 -1
- package/dist/336.198e6282c93b86080d99.bundle.js +0 -1
- package/dist/337.b4d76b700ebd1149efc9.bundle.js +0 -1
- package/dist/338.e411123cd51f14939b73.bundle.js +0 -1
- package/dist/339.cbd2f74d2f288b94dfe5.bundle.js +0 -1
- package/dist/34.106988365bcec51bdba0.bundle.js +0 -1
- package/dist/340.7aec004274c99d84ae51.bundle.js +0 -1
- package/dist/341.40c87b67067473b65948.bundle.js +0 -1
- package/dist/342.7882918281e4e8481054.bundle.js +0 -1
- package/dist/343.19e9d524c572a75c836f.bundle.js +0 -1
- package/dist/344.0739e226a071992713ca.bundle.js +0 -1
- package/dist/345.f1d19f2b4db4349680ea.bundle.js +0 -1
- package/dist/346.cf435a540da4792b1c4a.bundle.js +0 -1
- package/dist/347.9da36037aa6cf847fca9.bundle.js +0 -1
- package/dist/348.56b323a2aa4f5ec06833.bundle.js +0 -1
- package/dist/349.db8a03357633b2949048.bundle.js +0 -1
- package/dist/35.9d0310525864a934628a.bundle.js +0 -1
- package/dist/350.98af5dc7b011f3bb0cea.bundle.js +0 -1
- package/dist/351.4b24b91033c1f2ff99bc.bundle.js +0 -1
- package/dist/352.95aa115bee7aac6ad664.bundle.js +0 -1
- package/dist/353.23320eb168ae4ae33394.bundle.js +0 -1
- package/dist/354.979dc4d4d8495191a364.bundle.js +0 -1
- package/dist/355.a83179459c5a6d117b52.bundle.js +0 -1
- package/dist/356.886932191b09892354f8.bundle.js +0 -1
- package/dist/357.ca8a1ea312d0e486c02e.bundle.js +0 -1
- package/dist/358.5987f8f5a7755bc0b157.bundle.js +0 -1
- package/dist/359.8a3fdd528c67e87b16ea.bundle.js +0 -1
- package/dist/36.95d2c93937ff3305e6dc.bundle.js +0 -1
- package/dist/360.deef0a34f718a9c30310.bundle.js +0 -1
- package/dist/361.c81508306a03ae9999a9.bundle.js +0 -1
- package/dist/362.aa45f45ea6c49e581956.bundle.js +0 -1
- package/dist/363.0df738867d006d9ed43b.bundle.js +0 -1
- package/dist/364.9a8d77eeee69c61915d1.bundle.js +0 -1
- package/dist/365.c744d5e0363026ad1338.bundle.js +0 -1
- package/dist/366.4bad10d949be14a2c41f.bundle.js +0 -1
- package/dist/367.94ff423536de0de25524.bundle.js +0 -1
- package/dist/368.31e1759a70cac73b5bdc.bundle.js +0 -1
- package/dist/369.bef3d19902a7a7fa52f1.bundle.js +0 -1
- package/dist/37.c8167047f87648f6f4f8.bundle.js +0 -1
- package/dist/370.c3714ccfe9831be97376.bundle.js +0 -1
- package/dist/371.b7fe3575a8071ea0fc63.bundle.js +0 -1
- package/dist/372.add2d21075e2692ef2f0.bundle.js +0 -1
- package/dist/373.07c81b1b8991d7dee0a4.bundle.js +0 -1
- package/dist/374.09b11859dfc2c25a73df.bundle.js +0 -1
- package/dist/375.fb36fe5f55b92113f8f3.bundle.js +0 -1
- package/dist/376.49508c469a5b7ce3d77b.bundle.js +0 -1
- package/dist/377.6ae05055afabe2ce947f.bundle.js +0 -1
- package/dist/378.e2222138bb2a9689e105.bundle.js +0 -1
- package/dist/379.a746123021e4039477b1.bundle.js +0 -1
- package/dist/38.2803c76a236243ebecdf.bundle.js +0 -1
- package/dist/380.7cf3f02f67ee1c3f70ec.bundle.js +0 -1
- package/dist/381.852e81dce9bc809da0dc.bundle.js +0 -1
- package/dist/382.ad89e94aa54a896109fa.bundle.js +0 -1
- package/dist/383.aee997d6b214359782e1.bundle.js +0 -1
- package/dist/384.5538193bdeac0703bc47.bundle.js +0 -1
- package/dist/385.d9bf14638a419d6d50c4.bundle.js +0 -1
- package/dist/386.d5a6a8a15c2c83c9fa88.bundle.js +0 -1
- package/dist/387.5f557d08a1252656490b.bundle.js +0 -1
- package/dist/388.6307bcce8aec6af6c37d.bundle.js +0 -1
- package/dist/389.6f48d1fe9ccaa5ee6b1b.bundle.js +0 -1
- package/dist/39.1150b192cbb5deff1174.bundle.js +0 -1
- package/dist/390.c5eb7b31985b23645fe1.bundle.js +0 -1
- package/dist/391.1610c59676c72fe6a1ef.bundle.js +0 -1
- package/dist/392.fc5d667dc0afb4c99478.bundle.js +0 -1
- package/dist/393.40e9f039db22ae4bca69.bundle.js +0 -1
- package/dist/394.46b477aab7cf52b45658.bundle.js +0 -1
- package/dist/395.a428697ed4fef311c1ae.bundle.js +0 -1
- package/dist/396.c5a25717c4fc949419a7.bundle.js +0 -1
- package/dist/397.33463b93b02b13a80453.bundle.js +0 -1
- package/dist/398.b83b6410f7cceec4fc3f.bundle.js +0 -1
- package/dist/399.0916866cffd7814843af.bundle.js +0 -1
- package/dist/4.125ee31e4e7ad82b430d.bundle.js +0 -1
- package/dist/40.b00c7a6e879c74a81776.bundle.js +0 -1
- package/dist/400.1ce74b220dacdb1ab34c.bundle.js +0 -1
- package/dist/401.fa862d13b219b72325ea.bundle.js +0 -1
- package/dist/402.61aaab5f119f02d6a6c4.bundle.js +0 -1
- package/dist/403.203cccb77544e449317a.bundle.js +0 -1
- package/dist/404.b921697f6552cc581aac.bundle.js +0 -1
- package/dist/405.3e17362183cfe674af25.bundle.js +0 -1
- package/dist/406.2f1f3527fa27c052689b.bundle.js +0 -1
- package/dist/407.3c148e62b0c93838f1ab.bundle.js +0 -1
- package/dist/408.3adf8c654da246cfcfde.bundle.js +0 -1
- package/dist/409.eda37a177e948255f750.bundle.js +0 -1
- package/dist/41.edbd16a2fc60a997c1ee.bundle.js +0 -1
- package/dist/410.317004dd5a1ac99cada5.bundle.js +0 -1
- package/dist/411.2551a630498b20134ad0.bundle.js +0 -1
- package/dist/42.f76e5e500efcc079a9c7.bundle.js +0 -1
- package/dist/43.24c34016171665168fe9.bundle.js +0 -1
- package/dist/44.bd0f1d24bd242a7dd2ec.bundle.js +0 -1
- package/dist/45.a8f827d12b8575184ddd.bundle.js +0 -1
- package/dist/46.df13ca959b0509f6df95.bundle.js +0 -1
- package/dist/47.2e185076300f01b9854a.bundle.js +0 -1
- package/dist/48.49ca75d24206ea496ef5.bundle.js +0 -1
- package/dist/49.32ed550dc99d64e69f20.bundle.js +0 -1
- package/dist/5.a9bd6bc0b71d9b0e2912.bundle.js +0 -1
- package/dist/50.e8f0f277f76e52566a89.bundle.js +0 -1
- package/dist/51.b5b607dc3231f411a577.bundle.js +0 -1
- package/dist/52.7af7f440f57c689b777f.bundle.js +0 -1
- package/dist/53.a429006d4cd89ca07d7f.bundle.js +0 -1
- package/dist/54.67fd45b757cfac4771c6.bundle.js +0 -2
- package/dist/55.2784168289f4ba6c01a8.bundle.js +0 -1
- package/dist/56.6156603e5ef7f91a0dc1.bundle.js +0 -1
- package/dist/57.4da80b5857640110e1d4.bundle.js +0 -1
- package/dist/58.a376b6636b2619ee8c18.bundle.js +0 -1
- package/dist/59.69785f5f7ae1e65841ff.bundle.js +0 -1
- package/dist/6.1143a99a77f0463b21b0.bundle.js +0 -1
- package/dist/60.d186c6c9995769e8ba91.bundle.js +0 -1
- package/dist/61.0c614c9547405a4f591e.bundle.js +0 -1
- package/dist/62.9571ed196c6dd1580b49.bundle.js +0 -1
- package/dist/63.a0263b4eb6f86b251960.bundle.js +0 -1
- package/dist/64.2f87215d70caab13c80d.bundle.js +0 -1
- package/dist/65.f41984fc2221c2b3eee7.bundle.js +0 -2
- package/dist/66.1351ec28033040f12fb8.bundle.js +0 -1
- package/dist/67.10a604d7e65b875f3295.bundle.js +0 -1
- package/dist/68.6a515f6e52682cfc35f9.bundle.js +0 -1
- package/dist/69.d3db235a7615963080ef.bundle.js +0 -1
- package/dist/7.026f990714e25f1aabf3.bundle.js +0 -1
- package/dist/70.4e944a1170802f15dc71.bundle.js +0 -1
- package/dist/71.d9ac89119995e284da45.bundle.js +0 -1
- package/dist/72.ea9fad86a1ec2c1a2989.bundle.js +0 -1
- package/dist/73.9e9d5150014db9ed9081.bundle.js +0 -1
- package/dist/74.6846854045cbfa11eaf8.bundle.js +0 -1
- package/dist/75.f6385ffbe1024b97d3ac.bundle.js +0 -1
- package/dist/76.a6ef7e10d47207b7fed1.bundle.js +0 -1
- package/dist/77.c518fffc84eb04d570a9.bundle.js +0 -1
- package/dist/78.a772e40828b0c5b0d3df.bundle.js +0 -1
- package/dist/79.0c5c94ac2cfa0820d003.bundle.js +0 -1
- package/dist/8.dbe0e96a82fd1d1727a6.bundle.js +0 -1
- package/dist/80.76cf515d22db8bfaabd1.bundle.js +0 -2
- package/dist/81.ab156f1d8c1d8a777439.bundle.js +0 -1
- package/dist/82.a3b10dc775618922f174.bundle.js +0 -1
- package/dist/83.5977399a6d40f1dfd902.bundle.js +0 -1
- package/dist/84.bd8f863759095882c493.bundle.js +0 -1
- package/dist/85.16da5c0ee758a56eea1f.bundle.js +0 -1
- package/dist/86.a3abf83199d4780c46e5.bundle.js +0 -1
- package/dist/87.2d6ff0cae47e1e9cf726.bundle.js +0 -1
- package/dist/88.d6c08054b0ef87bdbbdc.bundle.js +0 -1
- package/dist/89.b111fb5530afa7c8e45c.bundle.js +0 -1
- package/dist/9.41d42641d8dda77e4755.bundle.js +0 -1
- package/dist/90.a629079bc0e55698aa25.bundle.js +0 -1
- package/dist/91.c232f45eb6d09bc19b65.bundle.js +0 -1
- package/dist/92.1415558694eb59e71fb2.bundle.js +0 -1
- package/dist/93.74feaba49b8beaff917a.bundle.js +0 -1
- package/dist/94.73425dfd0d7d500c42d6.bundle.js +0 -1
- package/dist/95.0bc5ac45b6e79a406284.bundle.js +0 -1
- package/dist/96.2dc595b8228f896e877d.bundle.js +0 -1
- package/dist/97.3aa1138cec2312c47c78.bundle.js +0 -1
- package/dist/98.20aac276a515bae9da02.bundle.js +0 -1
- package/dist/99.17abe0b80fbb369a58e7.bundle.js +0 -1
- package/dist/bundle.debfe2fd949a59877cbe.bundle.js +0 -95
- package/dist/font/font-awesome/4.3.0/css/font-awesome.css +0 -2337
- package/dist/font/font-awesome/4.3.0/css/font-awesome.css.map +0 -7
- package/dist/font/font-awesome/4.3.0/css/font-awesome.min.css +0 -4
- package/dist/font/font-awesome/4.3.0/fonts/FontAwesome.otf +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.eot +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.svg +0 -2671
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.woff +0 -0
- package/dist/font/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/font/fontawesome-webfont.674f50d287a8c48dc19ba404d20fe713.eot +0 -0
- package/dist/img/fontawesome-webfont.912ec66d7572ff821749319396470bde.svg +0 -2671
- package/dist/main.0f225d6478713d96193b.bundle.js +0 -1
- package/dist/main.21a95f6e91a8afd63566.css +0 -1
- package/dist/polyfills-dom.75a17e880e008a6b24a3.bundle.js +0 -19
- package/dist/res/swagger5/fonts/fontawesome-webfont.woff +0 -0
- package/dist/res/swagger5/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/vendor.0588179b72e060ed4794.bundle.js +0 -27
- package/dist/vendor.0dbd09f6d69e78b19728.css +0 -25
- package/dist/vendors~polyfills-core-js.2975affb505f25b11ba2.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[7,79,111,112,113,114,115,116,117,118,119,283,287],{116:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",a),a.$inject=["$http"];function a(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/httpConfig",t)},updateClusterConfiguration:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const a=$.param({force:t});return e.delete("rest/cluster/config?"+a)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")},addCusterTag:function(t){return e.post("rest/cluster/config/tag",t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"rest/cluster/config/tag",data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("rest/cluster/config/secondary-mode")},enableSecondaryMode:function(t){return e.post("rest/cluster/config/secondary-mode",t)}}}},144:function(e,t,a){"use strict";a.r(t),a.d(t,"HeapMemoryChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.hasSelectedSeries()?s.formatBytesValue(e,this.dataHolder,this.selectedSeries):s.formatBytesValue(e,this.dataHolder)},min:0},tooltip:{valueFormatter:e=>s.formatBytesValue(e,null,this.selectedSeries)}};_.merge(e,t)}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[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.memory.committed"),t.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(e,t,a){const[r,s]=e,o=this.parseData(a);this.latestData={committed:o.committed,used:o.used,max:o.max},r.data.push({value:[t,o.committed]}),s.data.push({value:[t,o.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const e=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(e)}}parseData(e){return e.heapMemoryUsage}updateRange(e,t,a){super.updateRange(e,t,a)}}},198:function(e,t,a){"use strict";a.r(t);a(8),a(35),a(37),a(116);var r=a(271),s=a(144),o=a(272),i=a(273),n=a(274),l=a(275),c=a(276),u=a(277),h=a(278),d=a(279);angular.module("graphdb.framework.jmx.resources.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","graphdb.framework.rest.cluster.service"]).controller("ResourcesCtrl",["$scope","$timeout","MonitoringRestService","$translate","$repositories","$q","ClusterRestService","$filter",function(e,t,a,m,p,f,S,g){e.AVAILABLE_TABS=Object.freeze({RESOURCE_MONITOR:"resource",PERFORMANCE_MONITOR:"performance",CLUSTER_HEALTH:"cluster"});const y=window.location.hash.slice(1),v=Object.keys(e.AVAILABLE_TABS).find(t=>e.AVAILABLE_TABS[t]===y);e.activeTab=e.AVAILABLE_TABS[v]||e.AVAILABLE_TABS.RESOURCE_MONITOR,e.resourceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{cpuLoad:new i.CpuLoadChart(m),fileDescriptors:new r.FileDescriptorsChart(m,g),heapMemory:new s.HeapMemoryChart(m),offHeapMemory:new o.NonHeapMemoryChart(m),diskStorage:new n.DiskStorageChart(m)}},e.performanceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{connectionsChart:new u.ConnectionsChart(m),epoolChart:new d.EpoolChart(m),queriesChart:new l.QueriesChart(m)}},e.structuresMonitorData={error:{hasError:!1,message:"",retries:0},charts:{globalCacheChart:new c.GlobalCacheChart(m,g)}},e.clusterHealthData={error:{hasError:!1,message:"",retries:0},charts:{clusterHealthChart:new h.ClusterHealthChart(m)}},e.hasCluster=!1;e.loader=!0,e.switchTab=t=>{e.activeTab=t,window.location.hash=t},e.getActiveRepository=function(){return p.getActiveRepository()};const D=function(e){return a.monitorQueryTransactionStatistics(e).then((function(e){return e.data}))},b=function(e){return a.monitorQuery(e).then((function(e){return e.data}))},C=function(){return a.monitorCluster()},x=e=>{if(e.chartsHolder.error.hasError){if(3===e.chartsHolder.error.retries)return e.poll&&t.cancel(e.poll),Promise.resolve();e.chartsHolder.error.retries++}return e.fetchFn().then((function(t){w(t,e)})).then(()=>{O(e)}).catch(t=>{A(e,t)}).finally(()=>{e.poll&&t.cancel(e.poll),e.poll=t(()=>x(e),2e3)})},w=(e,t,a)=>{const r=e.data;r&&H(r,t,a)},H=(e,t,a)=>{const r=new Date;a?a(r,e):Object.values(t.chartsHolder.charts).forEach(t=>{t.addData(r,e)})},A=(e,t)=>{e.chartsHolder.error.hasError=!!t,e.chartsHolder.error.hasError&&(e.chartsHolder.error.message=getError(t))},O=e=>{e.chartsHolder.error.hasError=!1,e.chartsHolder.error.message=""};e.monitors=[],e.monitors.push({chartsHolder:e.resourceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){return a.monitorResources()},poll:null}),e.monitors.push({chartsHolder:e.structuresMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?a.monitorStructures(t):Promise.resolve({})},poll:null}),e.monitors.push({chartsHolder:e.performanceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?f.all([D(t),b(t)]).then(e=>{const[t,a]=e;return{data:{performanceData:t,activeQueryData:a}}}):Promise.resolve({})},poll:null}),S.getNodeStatus().then(()=>{e.hasCluster=!0;const t={chartsHolder:e.clusterHealthData,fetchFn:C,poll:null};e.monitors.push(t),x(t)}).catch(()=>{e.hasCluster=!1});let R=null;f.all(e.monitors.map(e=>x(e))).finally(()=>{e.loader&&(R&&t.cancel(R),R=t((function(){e.loader=!1}),500))}),e.$on("$destroy",(function(){R&&t.cancel(R);for(const a of e.monitors)a.poll&&t.cancel(a.poll)}))}])},271:function(e,t,a){"use strict";a.r(t),a.d(t,"FileDescriptorsChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},min:0},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(e,t,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&e[0].data.push({value:[t,a.openFileDescriptors]})}configureSubtitle(){let e;e=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(e)}updateRange(e){super.updateRange(e,2)}}},272:function(e,t,a){"use strict";a.r(t),a.d(t,"NonHeapMemoryChart",(function(){return s}));var r=a(144);class s extends r.HeapMemoryChart{constructor(e){super(e,!1,!1)}configureSubtitle(e){if(this.latestData.max>0){const e=[{label:this.translateService.instant("resource.memory.non_heap.max"),value:r.HeapMemoryChart.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(e)}}parseData(e){return e.nonHeapMemoryUsage}}},273:function(e,t,a){"use strict";a.r(t),a.d(t,"CpuLoadChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>e+"%"},min:0,max:function(e){return Math.round(e.max>50?100:2*e.max)}},tooltip:{valueFormatter:function(e){return e+"%"}}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(e,t,a){e[0].data.push({value:[t,this.formatValue(a.cpuLoad)]})}formatValue(e){return+parseFloat(e).toFixed(4)}updateRange(e){}}},274:function(e,t,a){"use strict";a.r(t),a.d(t,"DiskStorageChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!0,!0)}chartSetup(e){const t={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(e){return(100*e).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(e){return(100*e).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(e,t)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(e,t){return{name:this.translateService.instant(e),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:t,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:e}){return(100*e).toFixed(2)+"%"}},emphasis:{itemStyle:{color:t,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.storage.used"),t.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(e,t,a,r){const s=a.storageMemory,[o,i]=e;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const n=s.dataDirUsed+s.dataDirFree,l=s.workDirUsed+s.workDirFree,c=s.logsDirUsed+s.logsDirFree,u=s.dataDirUsed/n,h=s.workDirUsed/l,d=s.logsDirUsed/c,m=s.dataDirFree/n,p=s.workDirFree/l,f=s.logsDirFree/c;o.data.push(d,h,u),i.data.push(f,p,m)}configureSubtitle(){const e=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(e)}}},275:function(e,t,a){"use strict";a.r(t),a.d(t,"QueriesChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(e,t,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},e[0].data.push({value:[t,r.length]}),this.configureSubtitle()}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const e=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(e)}}},276:function(e,t,a){"use strict";a.r(t),a.d(t,"GlobalCacheChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},minInterval:1},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resources.global_cache.hits"),t.name=this.translateService.instant("resources.global_cache.miss")}addNewData(e,t,a){const[r,s]=e;r.data.push({value:[t,a.cacheHit]}),s.data.push({value:[t,a.cacheMiss]})}}},277:function(e,t,a){"use strict";a.r(t),a.d(t,"ConnectionsChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.connections.active"),t.name=this.translateService.instant("resource.connections.open")}addNewData(e,t,a){const[r,s]=e,{activeTransactions:o,openConnections:i}=a.performanceData;r.data.push({value:[t,o]}),s.data.push({value:[t,i]})}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},278:function(e,t,a){"use strict";a.r(t),a.d(t,"ClusterHealthChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!0,!1),this.nodesCount=0}createDataHolder(){const[e,t,a,r]=s.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:r,data:[]}]}addNewData(e,t,a){const r=a.nodesStats;this.nodesCount=r.nodesInCluster;const[s,o,i,n]=e;this.latestData={nodesInSync:r.nodesInCluster,nodesOutOfSync:r.nodesOutOfSync,nodesDisconnected:r.nodesDisconnected,nodesSyncing:r.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},s.data.push({value:[t,r.nodesInSync]}),i.data.push({value:[t,r.nodesOutOfSync]}),n.data.push({value:[t,r.nodesDisconnected]}),o.data.push({value:[t,r.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[e,t,a,r]=this.dataHolder;e.name=this.translateService.instant("resources.cluster_health.in_sync"),t.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),r.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(e,t){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const e=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(e)}}},279:function(e,t,a){"use strict";a.r(t),a.d(t,"EpoolChart",(function(){return s}));var r=a(78);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.epool.reads"),t.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(e,t,a,r){const s=a.performanceData,[o,i]=e;let n=0,l=0;const c=s.entityPool.epoolReads,u=s.entityPool.epoolWrites;r||(n=c-this.lastestData.reads,l=u-this.lastestData.writes),this.lastestData={reads:c,writes:u},o.data.push({value:[t,n]}),i.data.push({value:[t,l]})}updateRange(e){e.forEach((e,t)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis[t].max=a,this.chartOptions.yAxis[t].minInterval=s})}}},78:function(e,t,a){"use strict";a.r(t),a.d(t,"ChartData",(function(){return s}));var r=a(525);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(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}constructor(e,t,a,r){this.filter=r,this.disableRangeUpdate=t,this.disableOldDataRemoval=a,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(e){this.refreshHandlers.push(e)}unregisterRefreshHandler(e){const t=this.refreshHandlers.indexOf(e);t>-1&&this.refreshHandlers.splice(t,1)}initialChartSetup(e=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),e&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(e=!1){e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(e=>e(this.chartOptions))}setSubTitle(e,t=0){this.chartOptions.title.show=!0;let a="";e.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const o=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==o&&(a+=`{b|${o}}`),s+1<e.length&&(a+=t>0&&(s+1)%t==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(e){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(e,t){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,e,t,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(e=>!0===e)}removeOldData(e,t){this.disableOldDataRemoval||e[0].data.length>t&&e.forEach(e=>e.data.shift())}addNewData(e,t,a,r){}setSelectedSeries(e){this.selectedSeries=e}updateRange(e,t){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(e,t,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(e){return r.b.format(e.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(e,t){const a=e.filter(e=>!t||angular.isUndefined(t[e.name])||!0===t[e.name]).map(e=>s.getMaxValueForDataSeries(e));return Math.max(1,...a)}static getMaxValueForDataSeries(e){return Math.max(...e.data.map(e=>e.value[1]))}static calculateMaxChartValueAndDivisions(e,t,a){let r;r=Array.isArray(e)?s.getMaxValueFromDataHolder(e,a):s.getMaxValueForDataSeries(e);const o=Math.ceil(r*(t||s.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(e,t,a){const[r,o]=s.calculateMaxChartValueAndDivisions(e,t,a);return[r,o]}static formatBytesValue(e,t,a){let r=e;t&&(r=s.getMaxValueFromDataHolder(t,a));const o=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(e)/Math.pow(1024,o)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o]}`}formatNumber(e){if(!angular.isUndefined(e)&&this.filter)return this.filter("currency")(e,"",0)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[70,182,184],{266:function(r,i){function e(r){return{restrict:"A",require:"ngModel",link:function(i,e,t,o){o.$parsers.unshift((function(i){const e=r.isValidIri(i,i.toString());return o.$setValidity("validateUri",e),i}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},267:function(r,i){function e(){return{link:function(r,i,e){r.$watch("file.status",(function(){"IMPORTING"!==r.file.status&&"UPLOADING"!==r.file.status||!$(i).has("object").length>0&&$(i).append('<object width="'+e.size+'" height="'+e.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.8.0-RC5">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},340:function(r,i,e){"use strict";e.r(i);e(8),e(34),e(254),e(266),e(267),e(305),e(35),e(74),e(75);angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.directives","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[71,96,200],{107:function(e,t,i){"use strict";i.r(t),i.d(t,"TABS",(function(){return o}));var n=i(33),s=i(81);const o={USER:"user",SERVER:"server"};function c(e){let t=o.USER,i=[],c=[],r=[],a=!0,d=[];return{updateActiveTabId:function(i){t=i,e.emitSync("activeTabIdUpdated",p())},getActiveTabId:p,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:f,addFile:function(t){const i=f();i.push(t),b(i),e.emitSync("fileAdded",Object(n.cloneDeep)(t))},updateFiles:b,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:m,updateImportedResources:function(t){i=t,e.emitSync("importedResourcesUpdated",m()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){a=t,e.emitSync("showLoaderUpdated",l())},getShowLoader:l,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){d=Object(n.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",u())},getSelectedFilesNames:u,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),i=t.find(({name:t})=>t===e.name);i?Object.assign(i,e):t.push(e);U(t)},getResourceForUpload:function(e){return Object(n.cloneDeep)(c.find(({name:t})=>t===e))},updateResourcesForUpload:U,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function u(){return Object(n.cloneDeep)(d)}function l(){return a}function p(){return t}function b(t){r=Object(n.cloneDeep)(t),e.emitSync("filesUpdated",f())}function f(){return Object(n.cloneDeep)(r)}function m(){return Object(n.cloneDeep)(i)||[]}function R(){const e=m();let t=S();const i=[],n=[];return e.forEach(({name:e})=>{const o=t.find(({name:t})=>t===e);o&&(o.status===s.ImportResourceStatus.UPLOADED?i.push(o):n.push(o))}),i.length>0&&(t=t.filter(({name:e})=>!i.some(({name:t})=>t===e)),U(t,!1)),e.filter(({name:e})=>!n.some(t=>e===t)).concat(t)}function U(t,i=!0){c=Object(n.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),i&&e.emitSync("resourcesUpdated",R())}function S(){return Object(n.cloneDeep)(c)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",c),c.$inject=["EventEmitterService"]},257:function(e,t,i){"use strict";i.r(t);var n=i(107);function s(e,t,i){let s;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const c=()=>{if(s.isPristine(e.activeTabId)){const t=i.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=s.isHelpVisible(e.activeTabId)};e.openTab=e=>{i.updateActiveTabId(e)},e.toggleHelp=()=>{s.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),c()};const r=[];r.push(i.onActiveTabIdUpdated(i=>{e.activeTabId=i,t.hash(e.activeTabId),c()})),r.push(i.onResourcesUpdated(c));e.$on("$destroy",()=>r.forEach(e=>e())),(()=>{s=new o;const i=t.hash()||n.TABS.USER;e.openTab(i),c()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",s),s.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[n.TABS.USER]:{isHelpVisible:void 0},[n.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}}},81:function(e,t,i){"use strict";i.r(t),i.d(t,"ImportResourceStatus",(function(){return n}));const n={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[72,188,190,191],{148:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N}));const N={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC_BLANK:"OUT_OF_SYNC_BLANK"}},214:function(e,_,t){"use strict";t.r(_),t.d(_,"CLUSTER_MANAGEMENT_CONSTANTS",(function(){return s}));var N=t(148),n=t(89);const s={getLegendNodes:function(){const e=[];return e.push({nodeState:N.NodeState.LEADER,customText:"node_state_leader"}),e.push({nodeState:N.NodeState.FOLLOWER,customText:"node_state_follower"}),e.push({nodeState:N.NodeState.OUT_OF_SYNC_BLANK,customText:"node_state_out_of_sync"}),e.forEach((e,_)=>e.id=_),e},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 e=[];return e.push({status:n.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),e.push({status:n.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),e.push({status:n.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),e.push({status:n.LinkState.RECEIVING_SNAPSHOT,linkTypeKey:"link_state_receiving_snapshot"}),e.forEach((e,_)=>e.id=_),e},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}},89:function(e,_,t){"use strict";t.r(_),t.d(_,"NodeState",(function(){return N})),t.d(_,"RecoveryState",(function(){return n})),t.d(_,"LinkState",(function(){return s})),t.d(_,"TopologyState",(function(){return E}));const N={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"},n={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"},s={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"},E={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[73,194,313],{192:function(e,t,n){"use strict";n.r(t);var a=n(84),s=n(79);function i(e,t,n,i){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-select-menu.html",scope:{},link:n=>{n.agentOptionsList=[],n.selectedAgent=void 0,n.onAgentSelected=a=>{if(E(a),n.selectedAgent=a,e.selectAgent(a),a.isRepositoryDeleted){const n=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.title"),E=t.instant("ttyg.agent.agent_select_menu.configure_agent_modal.body");i.openConfirmation(n,E,()=>e.emit(s.TTYGEventName.EDIT_AGENT,a))}};const E=e=>{n.agentOptionsList.forEach(t=>{t.selected=t.data.agent===e})},l=e=>{n.agentOptionsList=e.agents.map(e=>new a.SelectMenuOptionsModel({value:e.id,label:e.name,data:{agent:e}}))},c=[];c.push(e.onAgentsListChanged(e=>{l(e)})),c.push(e.subscribe(s.TTYGEventName.AGENT_DELETED,t=>{n.selectedAgent&&n.selectedAgent.id===t.id&&(n.selectedAgent.isDeleted=!0,e.selectAgent(n.selectedAgent))})),c.push(e.onSelectedAgentChanged(e=>{E(e),n.selectedAgent=e})),n.$on("$destroy",()=>{c.forEach(e=>e())})}}}angular.module("graphdb.framework.ttyg.directives.agent-select-menu",[]).directive("agentSelectMenu",i),i.$inject=["TTYGContextService","$translate","$sce","ModalService"]},79:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var a=n(33);function s(e){let t=void 0,n=void 0,s=void 0,E=void 0,l={},c=void 0,_=!1;const d=()=>Object(a.cloneDeep)(t),o=()=>Object(a.cloneDeep)(n),A=e=>{n=Object(a.cloneDeep)(e),h(i.CHAT_LIST_UPDATED,o())},T=()=>Object(a.cloneDeep)(s),u=()=>Object(a.cloneDeep)(E),g=()=>Object(a.cloneDeep)(l),r=e=>!!l[e],C=()=>_,h=(t,n)=>{e.emitSync(t,Object(a.cloneDeep)(n))},D=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,s=void 0,E=void 0,l={},c=void 0,_=!1},emit:h,subscribe:D,getChats:o,updateChats:A,addChat:e=>{n.appendChat(e),A(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),A(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(o()),D(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:T,selectChat:e=>{s&&s.id===e.id||(s=Object(a.cloneDeep)(e),h(i.SELECT_CHAT,T()))},deselectChat:()=>{s=void 0,h(i.SELECT_CHAT,T())},deleteChat:e=>{n.deleteChat(e),A(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(T()),D(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{s&&s.id&&e&&s.id!==e.id||(s=Object(a.cloneDeep)(e),h(i.SELECTED_CHAT_UPDATED,T()))},onSelectedChatUpdated:e=>(s&&angular.isFunction(e)&&e(T()),D(i.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(s&&angular.isFunction(e)&&e(T()),D(i.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(a.cloneDeep)(e),h(i.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),D(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(a.cloneDeep)(t.getAgent(e))},selectAgent:e=>{E=Object(a.cloneDeep)(e),h(i.AGENT_SELECTED,u())},getSelectedAgent:u,onSelectedAgentChanged:e=>(E&&angular.isFunction(e)&&e(u()),D(i.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(a.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{_=Object(a.cloneDeep)(e),h(i.CAN_MODIFY_AGENT_UPDATED,C())},getCanModifyAgent:C,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(C()),D(i.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:r,toggleExplainResponse:e=>{r(e)&&(l[e].expanded=!l[e].expanded,h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,g()))},getExplainResponse:e=>Object(a.cloneDeep)(l[e]),addExplainResponseCache:e=>{l[e.answerId]=Object(a.cloneDeep)(e),h(i.EXPLAIN_RESPONSE_CACHE_UPDATED,g())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(g()),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",s),s.$inject=["EventEmitterService","TTYGService"];const i={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},84:function(e,t,n){"use strict";n.r(t),n.d(t,"SelectMenuOptionsModel",(function(){return a})),n.d(t,"TextFieldModel",(function(){return s})),n.d(t,"NumericRangeModel",(function(){return i}));class a{constructor({label:e,value:t,selected:n=!1,data:a={}}){this._label=e,this._value=t,this._selected=n,this._data=a}get label(){return this._label}set label(e){this._label=e}get value(){return this._value}set value(e){this._value=e}get selected(){return this._selected}set selected(e){this._selected=e}get data(){return this._data}set data(e){this._data=e}}class s{constructor(e){this._value=e.value,this._minLength=e.minLength,this._maxLength=e.maxLength}get value(){return this._value}set value(e){this._value=e}get maxLength(){return this._maxLength}set maxLength(e){this._maxLength=e}get minLength(){return this._minLength}set minLength(e){this._minLength=e}}class i{constructor(e){this._value=e.value,this._minValue=e.minValue,this._maxValue=e.maxValue,this._step=e.step}get value(){return this._value}set value(e){this._value=e}get minValue(){return this._minValue}set minValue(e){this._minValue=e}get maxValue(){return this._maxValue}set maxValue(e){this._maxValue=e}get step(){return this._step}set step(e){this._step=e}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[74,98,195],{103: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}}},123: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(103);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))},240:function(e,r,t){"use strict";t.r(r);var s=t(123);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"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[75,245,246],{113: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")}},134: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}}},167:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceInfo",(function(){return o}));var s=e(134),n=e(113);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}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[76,251,252],{82: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}},85: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}},86:function(t,i,s){"use strict";s.r(i),s.d(i,"SimilarityIndex",(function(){return u}));var e=s(82),a=s(85);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([[77,105,266],{102:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return h})),e.d(s,"ChatByDayModel",(function(){return n})),e.d(s,"ChatsListModel",(function(){return r}));var i=e(87),a=e(18);class h{static getEmptyChat(){const t={name:"· · ·",timestamp:Math.floor(Date.now()/1e3)};return new h(t,Object(a.md5HashGenerator)())}constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory||new i.ChatItemsListModel,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this.generateHash(),this._name=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chatHistory(){return this._chatHistory}set chatHistory(t){this._chatHistory=t||new i.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}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 r{constructor(t){this._chats=t||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((t,s)=>s.timestamp-t.timestamp)}updateChatTimestamp(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.timestamp=s,this.sortByTime(),this.updateChatsByDay())}updateChatName(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.name=s)}deleteChat(t){this._chats=this._chats.filter(s=>s.id!==t.id),this.sortByTime(),this.updateChatsByDay()}updateChatsByDay(){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]}))})}appendChat(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}replaceChat(t,s){this._chats=this._chats.map(e=>e.id===s.id?t:e),this.sortByTime(),this.updateChatsByDay()}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(t=>{t.selected=!1})}selectChat(t){this.deselectAll(),this._chats.forEach(s=>{s.selected=s.id===t.id})}getChat(t){return this._chats.find(s=>s.id===t)}getNonPersistedChat(){return this._chats.find(t=>!t.id)}renameChat(t){const s=this._chats.find(s=>s.id===t.id);s&&(s.name=t.name)}get chats(){return this._chats}set chats(t){this._chats=t}get chatsByDay(){return this._chatsByDay}set chatsByDay(t){this._chatsByDay=t}}},83:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return i})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=1e3*t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},87:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return a})),e.d(s,"ChatItemsListModel",(function(){return h}));var i=e(83);class a{constructor(t,s){this._chatId=t,this._agentId=void 0,this._question=s,this._answers=[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answers(){return this._answers}set answers(t){this._answers=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message,tzOffset:-(new Date).getTimezoneOffset()}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class h{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[78,106,266],{163:function(e,t,n){"use strict";n.r(t),n.d(t,"TtygRestServiceFakeBackend",(function(){return a}));var r=n(33),s=n(83);class a{constructor(){this.conversations=[...o]}getConversations(){return new Promise(e=>{setTimeout(()=>e({data:Object(r.cloneDeep)(this.conversations)}),2e3)})}getConversation(e){return new Promise(t=>{setTimeout(()=>t({data:Object(r.cloneDeep)(this.conversations.find(t=>t.id===e))}),2e3)})}renameConversation(e,t){const n=this.conversations.find(t=>t.id===e);return n&&(n.name=t.name),Promise.resolve({data:Object(r.cloneDeep)(n)})}exportConversation(e){return console.log("Exporting conversation with id: ",e),Promise.resolve()}askQuestion(e){const t={id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe",conversationId:e.conversationId,agentId:null,message:""+e.question,role:s.CHAT_MESSAGE_ROLE.USER,timestamp:Math.floor(Date.now()/1e3)},n=this.conversations.find(t=>t.id===e.conversationId),r={id:e.conversationId,name:n?n.name:"Han Solo is a character in the Star Wars...",timestamp:Math.floor(Date.now()/1e3),messages:[{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNe_"+Date.now(),conversationId:e.conversationId,role:s.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:'Certainly! Here\'s a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f"Hello, {name}!"\n\nprint(greet("World"))\n```\n\n### JSON\n\n```json\n{\n "greeting": "Hello",\n "target": "World",\n "language": "English"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.',timestamp:Math.floor(Date.now()/1e3),name:null},{id:"msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_"+Date.now(),conversationId:e.conversationId,role:s.CHAT_MESSAGE_ROLE.ASSISTANT,agentId:e.agentId,message:`Reply to '${e.question}' It seems there was an error with the query. Let me rectify this and try again.`,timestamp:Math.floor(Date.now()/1e3),name:null}]};return n&&(n.messages.push(t),n.messages.push(...r.messages)),new Promise(e=>setTimeout(()=>e({data:r}),2e3))}continueChatRun(e){alert("continueChatRun() not implemented")}deleteConversation(e){return this.conversations=this.conversations.filter(t=>t.id!==e),new Promise(e=>setTimeout(()=>e(),2e3))}createConversation(e){const t={id:"thread_"+this.conversations.length,name:"Thread "+this.conversations.length,timestamp:Math.floor(Date.now()/1e3),messages:[]};this.conversations.unshift(t);const n=Object(r.cloneDeep)(e);return n.conversationId=t.id,this.askQuestion(n)}getAgents(){return new Promise(e=>setTimeout(()=>e({data:[...i]}),2e3))}getAgent(e){return Promise.resolve({data:Object(r.cloneDeep)(i.find(t=>t.id===e))})}createAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(i.push(e),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}editAgent(e){return"err"===e.name?new Promise((e,t)=>setTimeout(()=>t({status:500,message:"Internal Server Error"}),2e3)):(i=i.map(t=>t.id===e.id?e:t),new Promise(t=>setTimeout(()=>t({data:e}),2e3)))}deleteAgent(e){return i=i.filter(t=>t.id!==e),Promise.resolve()}getAgentDefaultValues(){return Promise.resolve({data:l})}explainAgentSettings(){return Promise.resolve({data:{}})}simulateHttpError(){return Promise.reject({status:500,message:"Internal Server Error"})}explainResponse(e){return Promise.resolve({data:{conversationId:e.conversationId,answerId:e.answerId,queryMethods:[{name:"sparql_query",rawQuery:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"},{name:"retrieval_search",rawQuery:'{"queries":[{"query":"pilots that work with Luke Skywalker","filter":{"document_id":"https://swapi.co/resource/human/1"},"top_k":3}]}',query:'{\n "queries" : [ {\n "query" : "pilots that work with Luke Skywalker",\n "filter" : {\n "document_id" : "https://swapi.co/resource/human/1"\n },\n "top_k" : 3\n } ]\n}',queryType:"json",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",query:"SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",queryType:"sparql",errorOutput:"Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"},{name:"sparql_query",rawQuery:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',query:'PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = "Luke Skywalker" || ?name = "Leia Organa")\n}',queryType:"sparql",errorOutput:null},{name:"fts_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"similarity_search",rawQuery:"Second Luke",query:"PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts '''Second Luke''' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",queryType:"sparql",errorOutput:null},{name:"iri_discovery",rawQuery:"Luke Skywalker",query:"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",queryType:"sparql",errorOutput:null},{name:"sparql_query",rawQuery:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",query:"SELECT ?name ?height WHERE { ?character voc:name ?name ; voc:height ?height . FILTER (?name = 'Luke Skywalker' || ?name = 'Leia Organa') }",queryType:"sparql",errorOutput:"Error: java.lang.IllegalArgumentException: The following IRIs are not used in the data stored in GraphDB: https://swapi.co/vocabulary/name"},{name:"sparql_query",rawQuery:"SELECT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",query:"SELEdCT ?character ?height WHERE { ?character voc:height ?height . FILTER (?character = <https://swapi.co/resource/human/1> || ?character = <https://swapi.co/resource/human/5>) }",queryType:"sparql",errorOutput:null}]}})}}const o=[{id:"thread_jdQBvbkaU6JPoO48oFbC54dA",name:"Very long chat name which does not fit in the sidebar",timestamp:1725235200,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dB",name:"Test chat 2",timestamp:1725238800,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oQaL76dC",name:"Test chat 3",timestamp:1725242400,messages:[]},{id:"thread_jdQBvbkaU6JPoO48oFbC54dD",name:"Test chat 4",timestamp:1697331600,messages:[]}];let i=[{id:"asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",name:"agent-1",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"\n\n",userInstruction:""},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc5",name:"agent-2",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_Cr0RxobrY07WpOvvyQilEWMI",name:"Databricks-general-unbiased",model:"gpt-4o-2024-08-06",temperature:1,topP:1,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"You are helpful assistant in discovering information regarding diagnostic biomarkers.",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_5GxNYTdaOh7Tl6lLl6Pya2aH",name:"Databricks-biomarkers",model:"gpt-3.5-turbo-0125",temperature:1,topP:1,seed:null,repositoryId:"biomarkers",instructions:{systemInstruction:"You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",userInstruction:null},assistantExtractionMethods:[],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc555",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcр555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"Non existing repo",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzc55д5",name:"agent with long name long long long long long long long long long long long long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null},{id:"asst_qMyCpCBmqxV9I2B8UoMfFzcя555",name:"Long_agent_with_long_name_long_long_long_long_long_long_long_long_long_long_long_long",model:"gpt-4o",temperature:0,topP:0,seed:null,repositoryId:"starwars",instructions:{systemInstruction:"string\n\nstring",userInstruction:"string"},assistantExtractionMethods:[{ftsMethod:"fts_search"}],maxNumberOfTriplesPerCall:null}];const l={id:"id",name:"Quadro",model:"gpt-4o",temperature:.7,topP:1,seed:0,repositoryId:"test-repository",instructions:{systemInstruction:"You are a helpful, knowledgeable, and friendly assistant. Your goal is to provide clear and accurate information while being polite, respectful, and professional.",userInstruction:"If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."},assistantExtractionMethods:[{method:"sparql_search",ontologyGraph:"http://example.com",sparqlQuery:"CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}"},{method:"fts_search",maxNumberOfTriplesPerCall:0},{method:"similarity_search",similarityIndex:"similarity-index",similarityIndexThreshold:.6,maxNumberOfTriplesPerCall:0},{method:"retrieval_search",retrievalConnectorInstance:"retrieval-connector",queryTemplate:'{"query": "string"}',maxNumberOfTriplesPerCall:0}],additionalExtractionMethods:[{method:"iri_discovery_search"}]}},228:function(e,t,n){"use strict";n.r(t);var r=n(163);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",s),s.$inject=["$http"];function s(e){new r.TtygRestServiceFakeBackend;return{getConversation:t=>e.get("rest/chat/conversations/"+t),renameConversation:(t,n)=>e.put("rest/chat/conversations/"+t,n),exportConversation:t=>e.get("rest/chat/conversations/export/"+t,{responseType:"blob"}),askQuestion:t=>e.post("rest/chat/conversations",t),continueChatRun:t=>e.post("rest/chat/conversations/continue",t),getConversations:()=>e.get("rest/chat/conversations"),deleteConversation:t=>e.delete("rest/chat/conversations/"+t),createConversation:(t={})=>e.post("rest/chat/conversations",t),getAgents:()=>e.get("rest/chat/agents"),getAgent:t=>e.get("rest/chat/agents/"+t),createAgent:t=>e.post("rest/chat/agents",t),editAgent:t=>e.put("rest/chat/agents",t),deleteAgent:t=>e.delete("rest/chat/agents/"+t),explainResponse:(t={})=>e.post("rest/chat/conversations/explain",t),getAgentDefaultValues:()=>e.get("rest/chat/agents/default"),explainAgentSettings:t=>e.post("rest/chat/agents/explain",t)}}},83:function(e,t,n){"use strict";n.r(t),n.d(t,"ChatMessageModel",(function(){return r})),n.d(t,"CHAT_MESSAGE_ROLE",(function(){return s}));class r{constructor(e){this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*e.timestamp}get id(){return this._id}set id(e){this._id=e}get role(){return this._role}set role(e){this._role=e}get message(){return this._message}set message(e){this._message=e}get timestamp(){return this._timestamp}set timestamp(e){this._timestamp=e}}const s={USER:"user",ASSISTANT:"assistant"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[79,119,283],{144:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(78);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)}}},272:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(144);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}configureSubtitle(t){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.non_heap.max"),value:r.HeapMemoryChart.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.nonHeapMemoryUsage}}},78:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(525);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,56,69,142,146,147,313,315],{129:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownCodeCopyPlugin",(function(){return a}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,a=o[r],i=o[r].content.replaceAll('"',""").replaceAll("'","'"),s=e(...n);return"fence"===a.type&&s.trim()?`<div style="position: relative">\n ${s}\n <copy-to-clipboard\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="${i}">\n </copy-to-clipboard>\n </div>`:s}}const a=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}},130:function(e,t,n){"use strict";n.r(t),n.d(t,"markdownOpenInSparqlEditorPlugin",(function(){return a}));const o={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function r(e,t){return t=_.merge({},o,t),(...n)=>{const[o,r]=n,a=o[r],i=o[r].content.replaceAll('"',""").replaceAll("'","'"),s=e(...n);return"fence"===a.type&&"sparql"===a.info&&s.trim()?`<div style="position: relative">\n ${s}\n <open-in-sparql-editor\n style="${t.buttonStyle}"\n class="${t.buttonClass}"\n execute-query="${t.executeQuery}"\n repository-id="${t.repositoryId}"\n query="${i}">\n </open-in-sparql-editor>\n </div>`:s}}const a=(e,t)=>{e.renderer.rules.code_block=r(e.renderer.rules.code_block,t),e.renderer.rules.fence=r(e.renderer.rules.fence,t)}},136:function(e,t,n){"use strict";n.r(t),n.d(t,"getHumanReadableTimestamp",(function(){return o}));const o=(e,t,n,o={})=>{if(!n)return"";const r=new Date(n),a=new Date,i=new Date(a.getFullYear(),a.getMonth(),a.getDate()),s=new Date(i);s.setDate(i.getDate()-1);const c=new Date(r.getFullYear(),r.getMonth(),r.getDate()),l=o.timeFormat?t("date")(r,o.timeFormat):"";if(c.getTime()===i.getTime())return e.instant("common.dates.today")+l;if(c.getTime()===s.getTime())return e.instant("common.dates.yesterday")+l;{const e=o.dateFormat||"yyyy-MM-dd";return t("date")(r,e)+l}}},152:function(e,t,n){"use strict";n.r(t);var o=n(592),r=n(129),a=n(130);const i={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function s(e){const t=Object(o.a)().use(r.markdownCodeCopyPlugin).use(a.markdownOpenInSparqlEditorPlugin,i);return{renderMarkdown:(n,s)=>{try{return e.trustAsHtml((e=>e?Object(o.a)().use(r.markdownCodeCopyPlugin,e).use(a.markdownOpenInSparqlEditorPlugin,_.merge({},i,e)):t)(s).render(n))}catch(t){return console.error("Error rendering markdown:",t),e.trustAsHtml(n)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",s),s.$inject=["$sce"]},199:function(e,t,n){"use strict";n.r(t);n(219),n(220);var o=n(79),r=n(122),a=n(136);function i(e,t,n,i,s){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-item-detail.html",scope:{chatItemDetail:"=",showActions:"=",asking:"=",disabled:"=",onRegenerateQuestion:"&",onAskHowDeliveredAnswer:"&"},link:(c,l,d)=>{c.ExplainQueryType=r.ExplainQueryType,c.repositoryId=void 0,c.markdownContentOptions=void 0,c.agentNameByIdMap={},c.explainResponseModel={},c.loadingExplainResponse={},c.regenerateQuestion=()=>{c.onRegenerateQuestion({chatItem:c.chatItemDetail})},c.explainResponse=o=>{n.hasExplainResponse(o)?n.toggleExplainResponse(o):(c.loadingExplainResponse[o]=!0,i.explainResponse(c.chatItemDetail,o).then(e=>{n.addExplainResponseCache(e)}).catch(()=>{e.error(t.instant("ttyg.chat_panel.messages.explain_response_failure"))}).finally(()=>c.loadingExplainResponse[o]=!1))},c.onAskHowAnswerWasDerived=()=>{c.onAskHowDeliveredAnswer()},c.onOpenInSparqlEditor=e=>{c.chatItemDetail.agentId&&n.emit(o.TTYGEventName.GO_TO_SPARQL_EDITOR,{query:e,repositoryId:c.repositoryId})},c.showRawQuery=e=>{const t=e.rawQuery.replace(/\s+/g,""),n=e.query.replace(/\s+/g,"");return t&&t!==n},c.getRepositoryId=e=>{const t=n.getAgent(c.chatItemDetail.agentId);return t?t.repositoryId:""},c.getHumanReadableQuestionTimestamp=e=>Object(a.getHumanReadableTimestamp)(t,s,e);const p=()=>{c.chatItemDetail.answers.forEach(e=>{c.explainResponseModel[e.id]=n.getExplainResponse(e.id)})},E=[];E.push(n.onExplainResponseCacheUpdated(()=>{p()})),E.push(n.onAgentsListChanged(()=>{c.agentNameByIdMap=n.getAgents().agentNameByIdMap})),c.$on("$destroy",()=>{E.forEach(e=>e())}),c.repositoryId=c.getRepositoryId(),c.markdownContentOptions={repositoryId:c.repositoryId},p()}}}angular.module("graphdb.framework.ttyg.directives.chat-item-detail",["graphdb.framework.core.directives.open-in-sparql-editor","graphdb.framework.core.directives.markdown-content"]).directive("chatItemDetail",i),i.$inject=["toastr","$translate","TTYGContextService","TTYGService","$filter"]},219:function(e,t,n){"use strict";n.r(t);n(152);function o(e,t){return{template:'<div class="markdown-content" ng-bind-html="markdownContent"></div>',restrict:"E",scope:{content:"@",options:"="},link:function(n,o){n.markdownContent=void 0;const r=()=>{n.$evalAsync(()=>{const t=o.find(".markdown-content");e(angular.element(t).contents())(n)})};n.markdownContent=t.renderMarkdown(n.content,n.options),r()}}}angular.module("graphdb.framework.core.directives.markdown-content",["graphdb.framework.core.services.markdown-service"]).directive("markdownContent",o),o.$inject=["$compile","MarkdownService"]},220:function(e,t,n){"use strict";n.r(t);var o=n(0);function r(e,t,n,r){return{template:'\n <style>\n .open-in-sparql-editor-btn {\n line-height: 0.75;\n }\n .open-in-sparql-editor-btn .fa:nth-child(2) {\n margin-left: -0.2em;\n margin-right: -0.2em;\n font-size: 0.9em;\n }\n </style>\n <button class="btn btn-link btn-sm open-in-sparql-editor-btn" gdb-tooltip="{{\'ttyg.chat_panel.btn.open_in_sparql_editor.tooltip\' | translate}}" ng-click="onGoToSparqlEditorView()">\n <i class="fa fa-bracket-curly"></i><i class="fa fa-ellipsis"></i><i class="fa fa-bracket-curly-right"></i>\n </button>\n ',restrict:"E",scope:{query:"@",repositoryId:"@",executeQuery:"@"},link:function(a,i){a.tooltipText="ttyg.chat_panel.btn.open_in_sparql_editor.tooltip";const s="true"===a.executeQuery;a.onGoToSparqlEditorView=()=>{const r=e.getActiveRepository();r&&r===a.repositoryId?c(a.query):n.openConfirmationModal({title:t.instant("common.confirm"),message:Object(o.decodeHTML)(t.instant("ttyg.chat_panel.dialog.confirm_repository_change.body",{repositoryId:a.repositoryId})),confirmButtonKey:"ttyg.chat_panel.btn.proceed.label"},()=>{e.setRepository(e.getRepository(a.repositoryId)),c(a.query)})};const c=e=>{r.open(`/sparql?query=${encodeURIComponent(e)}&execute=${s}`,"_blank")}}}}angular.module("graphdb.framework.core.directives.open-in-sparql-editor",[]).directive("openInSparqlEditor",r),r.$inject=["$repositories","$translate","ModalService","$window"]},79:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return a}));var o=n(33);function r(e){let t=void 0,n=void 0,r=void 0,i=void 0,s={},c=void 0,l=!1;const d=()=>Object(o.cloneDeep)(t),p=()=>Object(o.cloneDeep)(n),E=e=>{n=Object(o.cloneDeep)(e),_(a.CHAT_LIST_UPDATED,p())},u=()=>Object(o.cloneDeep)(r),g=()=>Object(o.cloneDeep)(i),A=()=>Object(o.cloneDeep)(s),C=e=>!!s[e],T=()=>l,_=(t,n)=>{e.emitSync(t,Object(o.cloneDeep)(n))},m=(t,n)=>e.subscribeSync(t,e=>n(e));return{resetContext:()=>{t=void 0,n=void 0,r=void 0,i=void 0,s={},c=void 0,l=!1},emit:_,subscribe:m,getChats:p,updateChats:E,addChat:e=>{n.appendChat(e),E(n)},replaceChat:(e,t)=>{n.replaceChat(e,t),E(n)},onChatsListChanged:e=>(n&&angular.isFunction(e)&&e(p()),m(a.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:u,selectChat:e=>{r&&r.id===e.id||(r=Object(o.cloneDeep)(e),_(a.SELECT_CHAT,u()))},deselectChat:()=>{r=void 0,_(a.SELECT_CHAT,u())},deleteChat:e=>{n.deleteChat(e),E(n)},onSelectedChatChanged:e=>(angular.isFunction(e)&&e(u()),m(a.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{r&&r.id&&e&&r.id!==e.id||(r=Object(o.cloneDeep)(e),_(a.SELECTED_CHAT_UPDATED,u()))},onSelectedChatUpdated:e=>(r&&angular.isFunction(e)&&e(u()),m(a.SELECTED_CHAT_UPDATED,t=>e(t))),onLastMessageReceived:e=>(r&&angular.isFunction(e)&&e(u()),m(a.LAST_MESSAGE_RECEIVED,t=>e(t))),updateAgents:e=>{t=Object(o.cloneDeep)(e),_(a.AGENT_LIST_UPDATED,d())},onAgentsListChanged:e=>(t&&angular.isFunction(e)&&e(d()),m(a.AGENT_LIST_UPDATED,t=>e(t))),getAgents:d,getAgent:e=>{if(t)return Object(o.cloneDeep)(t.getAgent(e))},selectAgent:e=>{i=Object(o.cloneDeep)(e),_(a.AGENT_SELECTED,g())},getSelectedAgent:g,onSelectedAgentChanged:e=>(i&&angular.isFunction(e)&&e(g()),m(a.AGENT_SELECTED,t=>e(t))),getDefaultAgent:()=>Object(o.cloneDeep)(c),setDefaultAgent:e=>{c=e},setCanModifyAgent:e=>{l=Object(o.cloneDeep)(e),_(a.CAN_MODIFY_AGENT_UPDATED,T())},getCanModifyAgent:T,onCanUpdateAgentUpdated:e=>(angular.isFunction(e)&&e(T()),m(a.CAN_MODIFY_AGENT_UPDATED,t=>e(t))),hasExplainResponse:C,toggleExplainResponse:e=>{C(e)&&(s[e].expanded=!s[e].expanded,_(a.EXPLAIN_RESPONSE_CACHE_UPDATED,A()))},getExplainResponse:e=>Object(o.cloneDeep)(s[e]),addExplainResponseCache:e=>{s[e.answerId]=Object(o.cloneDeep)(e),_(a.EXPLAIN_RESPONSE_CACHE_UPDATED,A())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(A()),m(a.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t)))}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",r),r.$inject=["EventEmitterService","TTYGService"];const a={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[80],{380:function(e,t,n){"use strict";n.r(t);n(8),n(34),n(306),n(36),n(557);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"])},557:function(e,t){
|
|
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([[81,124],{147:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,e,n){const t=[];function a(r,e){if(!r||"*"===r)return r;const n=r.startsWith("!"),t=n?"!CUSTOM_":"CUSTOM_";return e?t+r.replace(/^!/,""):n?"!"+r.replace(t,""):r.replace(t,"")}function o(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const s="tags-input"===e[0].nodeName.toLowerCase();if(("INPUT"===e[0].tagName||"TEXTAREA"===e[0].tagName||s)&&n.ngModel){const i=e.controller("ngModel");s?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>o(r))),r})),t.push(r.$watch(n.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>o(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!o(r)),r})),i.$formatters.push((function(r){return a(r,!1)})),i.$parsers.push((function(r){return a(r,!0)})))}t.push(r.$on("$destroy",()=>{t.forEach(r=>r())}))}}}))},310:function(r,e,n){"use strict";n.r(e);n(8),n(34),n(40),n(146),n(302),n(35),n(147);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([[82,125],{138:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return c})),s.d(t,"ClearGraphACRuleModel",(function(){return l})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return f}));var r=s(33);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,c,l){const u=a.createRule(e,t,s,r,i,o,n,c,l);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,p,h){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,p,r);case _.PLUGIN:return new c(s,t,h,r);case _.CLEAR_GRAPH:return new l(s,t,p);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],f=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},203:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(138);const i=e=>{const t=new r.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[83,294],{109: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})):[]},204:function(e,t,o){"use strict";o.r(t);o(43);var n=o(109),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"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[84,128],{205: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"]},314:function(o,e,n){"use strict";n.r(e);n(205);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,287],{116: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/httpConfig",t)},updateClusterConfiguration: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)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")},addCusterTag:function(t){return e.post("rest/cluster/config/tag",t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"rest/cluster/config/tag",data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("rest/cluster/config/secondary-mode")},enableSecondaryMode:function(t){return e.post("rest/cluster/config/secondary-mode",t)}}}},208:function(e,t,r){"use strict";r.r(t);r(116);function n(e,t,r,n,o,a,i){e.pageTitle=a.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(i.clusterConfiguration),e.loader=!1,e.configFields=[{id:"election-minimum-timeout",name:"electionMinTimeout",label:"cluster_management.cluster_configuration_properties.election_min_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_min_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"election-range-timeout",name:"electionRangeTimeout",label:"cluster_management.cluster_configuration_properties.election_range_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_range_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"heartbeat-interval",name:"heartbeatInterval",label:"cluster_management.cluster_configuration_properties.heartbeat_interval",tooltip:"cluster_management.cluster_configuration_properties.heartbeat_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"message-size",name:"messageSizeKB",label:"cluster_management.cluster_configuration_properties.message_size_kb",tooltip:"cluster_management.cluster_configuration_properties.message_size_kb_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"verification-timeout",name:"verificationTimeout",label:"cluster_management.cluster_configuration_properties.verification_timeout",tooltip:"cluster_management.cluster_configuration_properties.verification_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"transaction-log-max-size",name:"transactionLogMaximumSizeGB",label:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb",tooltip:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb_tooltip",pattern:"-?[1-9][0-9]*(\\.[0-9]+)?",errorMsg:"cluster_management.cluster_page.errors.small_transaction_log_max_size"},{id:"batch-update-interval",name:"batchUpdateInterval",label:"cluster_management.cluster_configuration_properties.batch_update_interval",tooltip:"cluster_management.cluster_configuration_properties.batch_update_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"}],e.updateClusterConfiguration=()=>(e.setLoader(!0,a.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateClusterConfiguration(e.clusterConfiguration).then(()=>{o.success(a.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){s(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.updateClusterConfiguration():o.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")},e.onClick=e=>{e.stopPropagation()};const s=(t,r)=>{delete e.preconditionErrors,o.error(a.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"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[86,133],{100:function(e,t,r){"use strict";r.r(t),r.d(t,"UPDATE_CLUSTER",(function(){return n})),r.d(t,"DELETE_CLUSTER",(function(){return l})),r.d(t,"CLICK_IN_VIEW",(function(){return i})),r.d(t,"NODE_SELECTED",(function(){return u})),r.d(t,"CREATE_CLUSTER",(function(){return o})),r.d(t,"MODEL_UPDATED",(function(){return s}));const n="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",s="modelUpdated"},149:function(e,t,r){"use strict";r.r(t);var n=r(100);function l(e,t){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:r=>{r.isAdmin=!1,r.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:r.clusterConfiguration})}}).result.finally((function(){r.$emit(n.UPDATE_CLUSTER,{force:!0})}))},r.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{r.$emit(n.DELETE_CLUSTER,{force:e})})};r.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-properties",[]).directive("clusterProperties",l),l.$inject=["$jwtAuth","$uibModal"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[87,133],{100: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"},212:function(e,t,n){"use strict";n.r(t);n(12),n(213);var o=n(117),r=n(33),s=n(100);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()}}}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[88,187],{216:function(t,e,s){"use strict";s.r(e);var i=s(99);function n(t,e,s,n,r,o,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-nodes-configuration.html",link:s=>{const n=[];s.rowHeights={},s.editedNodeIndex=void 0,s.allSuggestions=[],s.loader=!1,s.errors=[],s.addNewLocation=!1,s.hasCluster=!1,s.addNode=()=>{s.addNewLocation=!0,s.newLocation=new i.Location},s.filterSuggestions=t=>{const e=t.endpoint&&t.endpoint.toLowerCase();e?(s.suggestions=s.allSuggestions.filter(t=>t.toLowerCase().includes(e)),s.showDropdown=!0):(s.suggestions=[],s.showDropdown=!1)},s.selectSuggestion=(t,e)=>{t.endpoint=e,s.suggestions=[],s.showDropdown=!1},s.hideSuggestions=()=>{e(()=>{s.showDropdown=!1},200)},s.saveNode=t=>{const e=o.getAvailable(!0);!function(t,e){e?o.replace(e,t):o.addLocation(t);r()}(o.findByEndpoint(e,t)||new i.Location(t),o.getPendingReplace())},s.deleteNode=(e,s)=>{a.openSimpleModal({title:t.instant("location.confirm.detach"),message:t.instant("location.confirm.detach.warning",{uri:s.endpoint}),warning:!0}).result.then(()=>{o.deleteFromCluster(s.item)})},s.replaceNode=(e,i)=>{a.openSimpleModal({title:t.instant("location.change.confirm"),message:t.instant("location.change.confirm.warning"),warning:!0}).result.then(()=>{o.setPendingReplace(i.item),s.editedNodeIndex=e})},s.isClusterConfigurationValid=()=>{const t=void 0===s.editedNodeIndex,e=!1===s.addNewLocation,i=o.hasValidNodesCount(),n=s.form.$valid;return t&&e&&i&&n},s.setLoader=(t,i)=>{e.cancel(s.loaderTimeout),t?s.loaderTimeout=e(()=>{s.loader=t,s.loaderMessage=i},300):s.loader=!1},s.getAdvancedOptionsClass=()=>{const t=document.getElementById("advancedOptions");if(t){const e=t.getAttribute("aria-expanded");if(e&&"true"===e)return"fa fa-angle-down"}return"fa fa-angle-right"},s.cancel=()=>{s.editedNodeIndex=void 0,s.addNewLocation=!1,o.emitUpdateClusterView()},s.restoreNode=t=>{o.restoreNode(t.item)};const r=()=>{o.setPendingReplace(void 0),s.editedNodeIndex=void 0,s.addNewLocation=!1},d=s.$watchGroup(["editedNodeIndex","addNewLocation","clusterConfiguration.electionMinTimeout","clusterConfiguration.electionRangeTimeout","clusterConfiguration.heartbeatInterval","clusterConfiguration.messageSizeKB","clusterConfiguration.verificationTimeout","clusterConfiguration.transactionLogMaximumSizeGB"],(t,e)=>{const i=s.isClusterConfigurationValid();o.updateClusterValidity(i)});n.push(d),n.push(o.onClusterViewChanged(t=>{s.hasCluster=o.hasCluster(),s.viewModel=o.getViewModel(),s.clusterNodesEndpoints=s.viewModel.map(t=>t.endpoint),s.clusterConfiguration=o.getClusterConfiguration(),s.allSuggestions=o.getAvailableNodeEndpoints(),s.canDeleteNode=o.canDeleteNode()})),s.$on("$destroy",()=>{n.forEach(t=>t())})}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-nodes-configuration",[]).directive("clusterNodesConfiguration",n),n.$inject=["$translate","$timeout","productInfo","toastr","RemoteLocationsService","ClusterContextService","ModalService"]},99:function(t,e,s){"use strict";s.r(e),s.d(e,"Location",(function(){return i})),s.d(e,"Node",(function(){return n})),s.d(e,"TopologyStatus",(function(){return r})),s.d(e,"Link",(function(){return o})),s.d(e,"ClusterModel",(function(){return a})),s.d(e,"ClusterViewModel",(function(){return d})),s.d(e,"ClusterItemViewModel",(function(){return l})),s.d(e,"ClusterConfiguration",(function(){return u}));class i{constructor(t,e=null,s=null,i=!1,n=!1){this._endpoint=t,this._rpcAddress=e,this._error=s,this._isAvailable=i,this._isLocal=n}get isLocal(){return this._isLocal}get endpoint(){return this._endpoint}get rpcAddress(){return this._rpcAddress}get error(){return this._error}get isAvailable(){return this._isAvailable}set endpoint(t){this._endpoint=t}set rpcAddress(t){this._rpcAddress=t}set error(t){this._error=t}set isAvailable(t){this._isAvailable=t}set isLocal(t){this._isLocal=t}static fromJSON({endpoint:t,rpcAddress:e,error:s=null,isAvailable:n=!1,isLocal:r=!1}){return new i(t,e,s,n,r)}}class n{constructor(t,e,s,i,n,o,a,d,l){this._address=t,this._nodeState=e,this._term=s,this._syncStatus=i,this._lastLogTerm=n,this._lastLogIndex=o,this._endpoint=a,this._recoveryStatus=d,this._topologyStatus=r.fromJSON(l)}get address(){return this._address}get nodeState(){return this._nodeState}get term(){return this._term}get syncStatus(){return this._syncStatus}get lastLogTerm(){return this._lastLogTerm}get lastLogIndex(){return this._lastLogIndex}get endpoint(){return this._endpoint}get recoveryStatus(){return this._recoveryStatus}set address(t){this._address=t}set nodeState(t){this._nodeState=t}set term(t){this._term=t}set syncStatus(t){this._syncStatus=t}set lastLogTerm(t){this._lastLogTerm=t}set lastLogIndex(t){this._lastLogIndex=t}set endpoint(t){this._endpoint=t}set recoveryStatus(t){this._recoveryStatus=t}get topologyStatus(){return this._topologyStatus}set topologyStatus(t){return this._topologyStatus=t}static fromJSON({address:t,nodeState:e,term:s,syncStatus:i,lastLogTerm:r,lastLogIndex:o,endpoint:a,recoveryStatus:d,topologyStatus:l}){return new n(t,e,s,i,r,o,a,d,l)}}class r{constructor(t,e=new Map,s,i){this._state=t,this._primaryTags=e,this._primaryIndex=s,this._primaryLeader=i}get state(){return this._state}get primaryTags(){return this._primaryTags}get primaryIndex(){return this._primaryIndex}get primaryLeader(){return this._primaryLeader}static fromJSON({state:t,primaryTags:e={},primaryIndex:s,primaryLeader:i}){const n=Object.entries(e);return new r(t,n,s,i)}}class o{constructor(t,e,s,i){this._id=t,this._source=e,this._target=s,this._status=i}static fromJSON({id:t,source:e,target:s,status:i}){return new o(t,e,s,i)}}class a{constructor(t,e,s,i){this._locations=t,this._hasCluster=e,this._nodes=s,this._links=i}get locations(){return this._locations}set locations(t){this._locations=t}get hasCluster(){return this._hasCluster}set hasCluster(t){this._hasCluster=t}get nodes(){return this._nodes}set nodes(t){this._nodes=t}get links(){return this._links}set links(t){this._links=t}static fromJSON(t){const e=t.locations.map(i.fromJSON),s=t.nodes.map(n.fromJSON),r=t.links.map(o.fromJSON);return new a(e,t.hasCluster,s,r)}}class d{constructor(t){this._clusterModel=a.fromJSON(t),this._addToCluster=new Map,this._deleteFromCluster=new Map,this._currentNodesCount=0,this._clusterConfiguration=new u,this._localNodeEndpoint=t.locations.find(t=>t.isLocal).endpoint,this.MINIMUM_NODES_REQUIRED=2}getAttached(){const t=this._clusterModel.nodes.concat(Array.from(this._addToCluster.values()));return this._currentNodesCount=t.filter(t=>!this._deleteFromCluster.has(t.endpoint)).length,t}getViewModel(){let t=0;return this.getAttached().map(e=>{const s=new l(e);return this._deleteFromCluster.has(e.endpoint)?s.isDeleted=!0:s.index=t++,this._localNodeEndpoint===e.endpoint&&(s.isLocal=!0),s})}getAvailable(t=!1){const e=this._clusterModel.nodes;return this._clusterModel.locations.filter(s=>{const i=!this.isPresentInList(e,s.endpoint),n=s.isAvailable,r=!this._addToCluster.has(s.endpoint),o=!!t||!this._deleteFromCluster.has(s.endpoint);return i&&n&&o&&r})}getAvailableNodeEndpoints(){return this.getAvailable().map(t=>t.endpoint)}getLocalNode(){return this._clusterModel.locations.find(t=>t.isLocal)}addToCluster(t){const e=t.endpoint;t.endpoint&&this.addToLocations(t),this._deleteFromCluster.has(e)?this._deleteFromCluster.delete(e):this._addToCluster.set(e,t)}addToLocations(t){const e=c.findIndexByEndpoint(this._clusterModel.locations,t.endpoint);-1===e?this._clusterModel.locations.push(t):this._clusterModel.locations.splice(e,1)}deleteFromCluster(t){const e=t.endpoint;this._addToCluster.has(e)?this._addToCluster.delete(e):this._deleteFromCluster.set(e,t)}getDeleteFromCluster(){return Array.from(this._deleteFromCluster.values())}getUpdateActions(){const t=Array.from(this._addToCluster.values()).map(t=>t.endpoint),e={addNodes:t,removeNodes:Array.from(this._deleteFromCluster.values()).map(t=>t.endpoint)},s=this.updateClusterConfiguration(t);return s&&(e.clusterConfiguration=s),e}updateClusterConfiguration(t){return this.hasCluster()?null:(this._clusterConfiguration.nodes=t,this._clusterConfiguration.toJSON())}getClusterConfiguration(){return this._clusterConfiguration}restoreFromDeletion(t){this._deleteFromCluster.delete(t.endpoint)}isChanged(){return this._addToCluster.size>0||this._deleteFromCluster.size>0}isPresentInList(t,e){return c.isPresentInList(t,e)}findByEndpoint(t,e){return c.findByEndpoint(t,e)}findIndexByEndpoint(t,e){return c.findIndexByEndpoint(t,e)}hasValidNodesCount(){return this._currentNodesCount>=this.MINIMUM_NODES_REQUIRED}canDeleteNode(){const t=Math.floor(this._clusterModel.nodes.length/2);return this._deleteFromCluster.size<t}hasCluster(){return this._clusterModel.hasCluster}}class l{constructor(t){this._item=t,this._endpoint=t.endpoint,this._isDeleted=!1,this._index=void 0,this._isLocal=!1}getEndPoint(){return this._item.endpoint}getAddress(){return void 0!==this._item._address?this._item._address:void 0!==this._item.rpcAddress?this._item.rpcAddress:null}isNode(){return void 0!==this._item._address}isLocation(){return void 0===this._item._address}getNodeState(){return this.isNode()?this._item._nodeState:null}getIsAvailable(){return this.isNode()?null:this._item.isAvailable}getTerm(){return this.isNode()?this._item.term:null}getSyncStatus(){return this.isNode()?this._item.syncStatus:null}getIsLocal(){return this.isNode()?null:this._item.isLocal}get item(){return this._item}get endpoint(){return this._endpoint}set endpoint(t){return this._endpoint=t}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}get index(){return this._index}set index(t){this._index=t}get isLocal(){return this._isLocal}set isLocal(t){this._isLocal=t}}class u{constructor({electionMinTimeout:t=8e3,electionRangeTimeout:e=6e3,heartbeatInterval:s=2e3,messageSizeKB:i=64,verificationTimeout:n=1500,transactionLogMaximumSizeGB:r=50,batchUpdateInterval:o=5e3,nodes:a=[],secondaryTag:d,primaryNodes:l}={}){this._electionMinTimeout=t,this._electionRangeTimeout=e,this._heartbeatInterval=s,this._messageSizeKB=i,this._verificationTimeout=n,this._transactionLogMaximumSizeGB=r,this._batchUpdateInterval=o,this._nodes=a,this._secondaryTag=d,this._primaryNodes=l}static fromJSON(t){return new u(t)}get electionMinTimeout(){return this._electionMinTimeout}set electionMinTimeout(t){this._electionMinTimeout=t}get electionRangeTimeout(){return this._electionRangeTimeout}set electionRangeTimeout(t){this._electionRangeTimeout=t}get heartbeatInterval(){return this._heartbeatInterval}set heartbeatInterval(t){this._heartbeatInterval=t}get messageSizeKB(){return this._messageSizeKB}set messageSizeKB(t){this._messageSizeKB=t}get verificationTimeout(){return this._verificationTimeout}set verificationTimeout(t){this._verificationTimeout=t}get transactionLogMaximumSizeGB(){return this._transactionLogMaximumSizeGB}set transactionLogMaximumSizeGB(t){this._transactionLogMaximumSizeGB=t}get nodes(){return this._nodes}set nodes(t){this._nodes=t}get batchUpdateInterval(){return this._batchUpdateInterval}set batchUpdateInterval(t){this._batchUpdateInterval=t}get secondaryTag(){return this._secondaryTag}set secondaryTag(t){this._secondaryTag=t}get primaryNodes(){return this._primaryNodes}set primaryNodes(t){this._primaryNodes=t}toJSON(){const t={electionMinTimeout:this._electionMinTimeout,electionRangeTimeout:this._electionRangeTimeout,heartbeatInterval:this._heartbeatInterval,messageSizeKB:this._messageSizeKB,verificationTimeout:this._verificationTimeout,transactionLogMaximumSizeGB:this._transactionLogMaximumSizeGB,batchUpdateInterval:this._batchUpdateInterval,nodes:this._nodes};return void 0!==this._secondaryTag&&(t.secondaryTag=this._secondaryTag),void 0!==this._primaryNodes&&(t.primaryNodes=this._primaryNodes),t}}class c{static isPresentInList(t,e){return t.some(t=>t.endpoint===e)}static findByEndpoint(t,e){return t.find(t=>t.endpoint===e)}static findIndexByEndpoint(t,e){return t.findIndex(t=>t.endpoint===e)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,190,191],{117: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 O})),n.d(e,"moveElement",(function(){return h})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return R})),n.d(e,"updateLinks",(function(){return g})),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 D})),n.d(e,"removeEventListeners",(function(){return w}));var r=n(89),o=n(33);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 O(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 h(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 D(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=A(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=A(n),i=A(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 A(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 R(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",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 D(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 w(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},89: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})),n.d(e,"TopologyState",(function(){return s}));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"},s={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9,68,92,282,323],{108:function(e,o,t){"use strict";t.r(o),t.d(o,"UrlUtils",(function(){return r}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,n=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class r{static isValidUrl(e){return i.test(e)||n.test(e)}static doesNotContain(e,o){return!new RegExp(o).test(e)}static doesNotUseProtocol(e,o){return!new RegExp("^("+o.join("|")+")://","i").test(e)}}},124:function(e,o,t){"use strict";t.r(o),t.d(o,"STATIC_RULESETS",(function(){return i})),t.d(o,"REPOSITORY_TYPES",(function(){return n})),t.d(o,"FILENAME_PATTERN",(function(){return r})),t.d(o,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],n={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},r=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},125:function(e,o,t){"use strict";t.r(o);var i=t(108);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,o,t,n){n.$validators.validUrl=function(e,o){if(n.$isEmpty(o))return"false"!==t.allowEmpty;if(!i.UrlUtils.isValidUrl(o))return!1;if(t.exclude&&!i.UrlUtils.doesNotContain(o,t.exclude))return!1;if(t.excludeProtocol){const e=t.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(o,e))return!1}return!0}}}}))},146:function(e,o,t){"use strict";t.r(o),t.d(o,"getFileName",(function(){return a}));var i=t(124),n=t(0),r=(t(201),t(22));const a=function(e){let o=e.lastIndexOf("/");-1===o&&(o=e.lastIndexOf("\\"));let t=e;return-1!==o&&(t=t.substring(o+1)),t},s=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},l=function(){const e=document.getElementById("shaclOptions");if(e){const o=e.getAttribute("aria-expanded");if(o&&"true"===o)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,o){e.queryTimeout&&(o.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(o.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),o.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),o.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(o.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),o.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),o.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),o.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},d=function(e,o){return"isInvalidQueryLimit"===e?o.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?o.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?o.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?o.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?o.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?o.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?o.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?o.instant("invalid.bound.join.block.size"):void 0},u=function(e,o){const t=Object.keys(e),i=Object.values(e);for(let e=0;e<t.length;e++)if(i[e])return d(t[e],o);return""},p=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},f=function(e){return e.getLocations().then(e=>e.filter(e=>e.isGraphDBLocation()&&!e.errorMsg&&!e.degradedReason))};function m(e,o,t,a,s,l,c,d,u,p,f,m,y){e.RemoteLocationType=r.RemoteLocationType,e.loader=!0,e.locations=[],e.isLocationInactive=function(o){return!o.active||!e.hasActiveLocation()};const v=m.defer();function R(){return s.getLocations(v).then(o=>(e.locations=o,o)).finally(()=>e.loader=!1)}e.getLocalLocation=(o,t)=>e.locations.filter(e=>{let i=!0;return t&&(i=e.locationType===t),i&&e.local===o}),e.hasAnyRemoteLocation=(o,t)=>t.some(t=>e.getLocalLocation(o,t).length>0),e.hasActiveLocation=function(){return s.hasActiveLocation()},e.getActiveLocation=function(){return s.getActiveLocation()},e.getLocationError=function(){return s.getLocationError()},e.getDegradedReason=function(){return s.getDegradedReason()},e.getRepositories=function(){return s.getRepositories()},e.isRepoActive=function(e){return s.isRepoActive(e)},e.deleteLocation=function(o){l.openSimpleModal({title:f.instant("location.confirm.detach"),message:f.instant("location.confirm.detach.warning",{uri:o}),warning:!0}).result.then((function(){e.loader=!0,s.deleteLocation(o).finally(()=>R())}))},e.addLocationHttp=function(o){e.loader=!0,d.addLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.addLocation=()=>{e.openRemoteLocationDialog()},e.editLocation=o=>{void 0===o.locationType&&(o.locationType=r.RemoteLocationType.GRAPH_DB),e.openRemoteLocationDialog(o)},e.openRemoteLocationDialog=o=>{t.open({templateUrl:"js/angular/repositories/templates/manage-remote-location-dialog.template.html",windowClass:"addLocationDialog",controller:"ManageRemoteLocationDialogController",resolve:{data:()=>({remoteLocation:o})}}).result.then(t=>{o?e.editLocationHttp(t):e.addLocationHttp(t)})},e.editLocationHttp=function(o){e.loader=!0,d.editLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.setRepository=function(e){s.setRepository(e)},e.deleteRepository=function(o){l.openSimpleModal({title:f.instant("common.confirm.delete"),message:Object(n.decodeHTML)(f.instant("delete.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.deleteRepository(o).finally(()=>{R(),e.loader=!1}),function(e){const o="dependencies-selectedGraph-"+e.id,t="classHierarchy-selectedGraph-"+e.id;angular.forEach(u.keys(),(function(e){(e.startsWith(t)||e.startsWith(o))&&u.remove(e)}))}(o)}))},e.restartRepository=function(o){l.openSimpleModal({title:f.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(f.instant("confirm.restart.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.restartRepository(o).finally(()=>R())}))},e.toggleDefaultRepository=function(o){e.getDefaultRepository()===o?s.setDefaultRepository(null):s.setDefaultRepository(o)},e.getDefaultRepository=function(){return s.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let o=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const t=c.getAuthToken();return t&&(o=`${o}&authToken=${encodeURIComponent(t)}`),o},e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.fromFile=function(){t.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){s.init()}))},e.openActiveLocationSettings=function(){t.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},R();const T=p((function(){y.isActive()&&!o.guidePaused||(s.initQuick(),R())}),5e3);e.$on("$destroy",(function(){p.cancel(T),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return s.getRepositoriesFromLocation(e)}}function y(e,o,t,i,n){e.upload=function(o){o&&o.length&&(e.uploadFile=o[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,t.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,o.close()})).error((function(o){const t=getError(o);i.error(t,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){o.dismiss("cancel")}}function v(e,o,t,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?o.close(e.newLocation):t.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){o.dismiss("cancel")}}function R(e,o,t,i){e.editedLocation=_.cloneDeep(t),e.docBase=p(i),e.ok=function(){o.close(e.editedLocation)},e.cancel=function(){o.dismiss("cancel")}}function T(e,o){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){o.path(`${o.path()}/${e}`)}}function g(e,o,t,n,r,a,d,p,m,y){function v(e){switch(e){case i.REPOSITORY_TYPES.graphdbRepo:o.pageTitle=y.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:o.pageTitle=y.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:o.pageTitle=y.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var R;o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.params=p,o.repositoryType=p.repositoryType,o.enable=!0,o.loader=!0,o.pageTitle=y.instant("view.create.repo.title"),o.repositoryInfo={id:"",params:{},title:"",type:"",location:""},o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},f(n).then(e=>{o.locations=e}),o.changedLocation=function(){o.$broadcast("changedLocation")},o.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const t=e.data;var i;o.repositoryInfo.params=t.params,o.repositoryInfo.type=t.type,s(o.repositoryInfo.params),(i=o.repositoryInfo.params)&&i.member&&(i.member.value=[]),o.loader=!1,a((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.loader=!1}))},o.repositoryType&&(function(e){return o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R=o.repositoryType)||function(e){return!o.isFreeEdition()&&!o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return o.isFreeEdition()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return e===i.REPOSITORY_TYPES.ontop}(R)||function(e){return e===i.REPOSITORY_TYPES.fedx}(R))?(o.repositoryInfo.type=o.repositoryType,o.getConfig(o.repositoryType),v(o.repositoryType)):r.path("/repository/create"),o.hasActiveLocation=function(){return n.hasActiveLocation()},o.activeLocation=function(){return n.getActiveLocation()};let T=!1;o.uploadRuleset=function(e){e&&e.length&&(o.uploadFile=e[0],o.uploadFileLoader=!0,d.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:o.uploadFile,location:o.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){T=!1;const t=o.uploadFile.name,i={id:e.fileLocation,name:"Custom: "+t};o.rulesetPie?o.rulesets[0]=i:o.rulesets.unshift(i),o.rulesetPie=e.fileLocation,o.rulesetPieFile=t,o.repositoryInfo.params.ruleset.value=o.rulesetPie}else t.error(e.errorMessage),T=!0,o.uploadFile="";o.uploadFileLoader=!1})).error((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.uploadFile="",o.uploadFileLoader=!1,T=!0})))},o.noMembersError=function(){t.error(y.instant("fedx.create.repo.no.members.warning"))},o.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete r.$$search.previous,r.path("/")):r.path("/repository")},o.createRepoHttp=function(){o.loader=!0,m.createRepository(o.repositoryInfo).then((function(){return t.success(y.instant("created.repo.success.msg",{repoId:o.repositoryInfo.id})),n.init()})).then(()=>o.goBackToPreviousLocation()).catch((function(e){const o=getError(e.data);t.error(o,y.instant("common.error"))})).finally(()=>{o.loader=!1})},o.createRepo=function(){if(!o.repositoryInfo.id)return void t.error(y.instant("empty.repoid.warning"));o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,y);T?t.error(y.instant("invalid.ruleset.file.error")):o.isInvalidRepoName?t.error(y.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?t.error(e):o.createRepoHttp()},o.rulesetWarning=function(){const e=o.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===o.rulesetPie?y.instant("repoTooltips.rulesetWarnings.customRuleset"):""},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()},o.autofocusId="autofocus";const g=e.$on("$translateChangeSuccess",()=>{v(o.repositoryType)});o.$on("$destroy",()=>{g()})}function L(e,o,t,i,n,r,a){e.dialogTitle=a||r.instant("update.file.content.header"),i&&t.getRepositoryFileContent(i).success((function(o){e.fileContent=o})).error((function(e){const o=getError(e);n.error(o,r.instant("common.error"))})),e.ok=function(){o.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){o.dismiss("cancel")}}function h(e,o,t,r,d,p,m,y,v,R){o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.editRepoPage=!0,o.canEditRepoId=!1,o.isRepoInCluster=!0,o.params=t,o.loader=!0,o.repositoryInfo={},o.repositoryInfo.id=o.params.repositoryId,o.repositoryInfo.location=o.params.location,o.repositoryInfo.restartRequested=!1,o.repositoryType="",o.saveRepoId=o.params.repositoryId,o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId}),o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},o.hasActiveLocation=function(){return d.hasActiveLocation()};o.$watch(o.hasActiveLocation,(function(){if(o.hasActiveLocation){let e;f(d).then(e=>(o.locations=e,y.getRepository(o.repositoryInfo))).then(t=>(e=t,R.monitorActiveOperations(o.repositoryInfo.id))).then(e=>{o.isRepoInCluster=e.hasClusterOperation()}).catch(t=>e?Promise.resolve():(o.repositoryInfo=void 0,Promise.reject(t))).then(()=>{(e=>{const t=e.data;if(angular.isDefined(t.params.ruleset)){let e=!1;if(angular.forEach(o.rulesets,(function(o){o.id===t.params.ruleset.value&&(e=!0)})),t.params.ruleset&&!e){const e=a(t.params.ruleset.value);o.rulesets.unshift({id:t.params.ruleset.value,name:"Custom: "+e})}}o.repositoryInfo=t,o.setRepositoryType(t.type),s(o.repositoryInfo.params),o.repositoryInfo.saveId=o.saveRepoId,o.loader=!1})(e)}).catch(e=>{const i=e.data,a=e.status,s=t.repositoryId;let l;l=404===a&&"system"!==s?Object(n.decodeHTML)(v.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(n.decodeHTML)(v.instant("edit.system.repo.warning")):getError(i),r.error(l,v.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){o.loader=!1,p.path("repository")}),1e3):o.loader=!1})}})),o.setRepositoryType=function(e){o.repositoryType=e},o.noMembersError=function(){r.error(v.instant("fedx.create.repo.no.members.warning"))},o.editRepoHttp=function(){o.loader=!0,y.editRepository(o.repositoryInfo.saveId,o.repositoryInfo).success((function(){r.success(v.instant("edit.repo.success.msg",{saveId:o.repositoryInfo.saveId})),d.init().finally(()=>o.goBackToPreviousLocation()),o.repositoryInfo.saveId===o.repositoryInfo.id&&o.repositoryInfo.restartRequested&&d.restartRepository(o.repositoryInfo)})).error((function(e){const t=getError(e);r.error(t,v.instant("common.error")),o.loader=!1}))},o.editRepository=function(){o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,v);let t=Object(n.decodeHTML)(v.instant("edit.repo.save.changes.msg",{repoId:o.repositoryInfo.id}));o.repositoryInfo.saveId!==o.repositoryInfo.id?t+=Object(n.decodeHTML)(v.instant("edit.repo.rename.changes.msg")):o.repositoryInfo.restartRequested?t+=Object(n.decodeHTML)(v.instant("edit.repo.restart.requested.msg")):t+=Object(n.decodeHTML)(v.instant("edit.repo.restart.needed.msg")),o.isInvalidRepoName?r.error(v.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?r.error(e):m.openSimpleModal({title:v.instant("common.confirm.save"),message:t,warning:!0}).result.then((function(){o.editRepoHttp()}))},o.editRepositoryId=function(){if(o.isRepoInCluster)return;let e=Object(n.decodeHTML)(v.instant("edit.repo.id.warning.msg"));o.isEnterprise()&&(e+=Object(n.decodeHTML)(v.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:v.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){o.canEditRepoId=!0}))},o.goBackToPreviousLocation=function(){angular.isDefined(t.previous)?(delete p.$$search.previous,p.path("/")):p.path("/repository")},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()};const T=e.$on("$translateChangeSuccess",()=>{o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId})});o.$on("$destroy",()=>{T()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload","graphdb.framework.repositories.controllers.manage-remote-location-dialog"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",v).controller("EditLocationCtrl",R).controller("ChooseRepositoryCtrl",T).controller("AddRepositoryCtrl",g).controller("EditRepositoryCtrl",h).controller("EditRepositoryFileCtrl",L).controller("UploadRepositoryConfigCtrl",y),m.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],y.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],R.$inject=["$scope","$uibModalInstance","location","productInfo"],T.$inject=["$scope","$location"],g.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],L.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle"],h.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},201:function(e,o,t){"use strict";t.r(o);var i=t(22);t(125);function n(e,o,t,n){e.RemoteLocationType=i.RemoteLocationType,e.RemoteLocationAuthType=i.RemoteLocationAuthType,e.isEdit=!!n.remoteLocation,e.remoteLocation=n.remoteLocation?new i.RemoteLocationModel({...n.remoteLocation}):new i.RemoteLocationModel,e.docBase="https://graphdb.ontotext.com/documentation/"+t.productShortVersion,e.ok=()=>{e.remoteLocationForm.$pristine||e.remoteLocationForm.$invalid||o.close(e.remoteLocation)},e.cancel=()=>{o.dismiss("cancel")},e.onLocationTypeChanged=()=>{[i.RemoteLocationType.ONTOPIC,i.RemoteLocationType.SPARQL].includes(e.remoteLocation.locationType)?e.remoteLocation.authType=i.RemoteLocationAuthType.BASIC:e.remoteLocation.authType=i.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",n),n.$inject=["$scope","$uibModalInstance","productInfo","data"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[90,143],{110: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)}}}])},320:function(e,t,o){"use strict";o.r(t);o(8),o(34),o(304),o(110),o(35),o(533);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"})}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[91,143],{110: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)}}}])},253:function(e,i,a){"use strict";a.r(i);a(45),a(110);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"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[92,323],{108:function(t,e,r){"use strict";r.r(e),r.d(e,"UrlUtils",(function(){return o}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,s=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class o{static isValidUrl(t){return i.test(t)||s.test(t)}static doesNotContain(t,e){return!new RegExp(e).test(t)}static doesNotUseProtocol(t,e){return!new RegExp("^("+e.join("|")+")://","i").test(t)}}},125:function(t,e,r){"use strict";r.r(e);var i=r(108);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(t,e,r,s){s.$validators.validUrl=function(t,e){if(s.$isEmpty(e))return"false"!==r.allowEmpty;if(!i.UrlUtils.isValidUrl(e))return!1;if(r.exclude&&!i.UrlUtils.doesNotContain(e,r.exclude))return!1;if(r.excludeProtocol){const t=r.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(e,t))return!1}return!0}}}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[93,260],{121:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"},226:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(121);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)}}}()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[94,153],{236:function(r,e,n){"use strict";n.r(e);n(8);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},322:function(r,e,n){"use strict";n.r(e);n(8),n(34),n(40),n(197),n(236);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(r){return angular.isUndefined(r)?r:r.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[95,318],{142:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},265:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(142);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[96,200],{107:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(33),o=n(81);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]},81:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[97,193],{101:function(t,n,e){"use strict";e.r(n),e.d(n,"connectorTypesListMapper",(function(){return o})),e.d(n,"connectorsMapper",(function(){return r}));var s=e(94);const o=t=>{const n=new s.ConnectorTypesListModel;return t?(n.connectors=Object.keys(t).map(n=>new s.ConnectorTypeModel({name:n,prefix:t[n]})),n):n},r=t=>{const n=new s.ConnectorListModel;return t?(n.connectors=t.map(t=>new s.ConnectorModel(t)),n):n}},94:function(t,n,e){"use strict";e.r(n),e.d(n,"ConnectorTypesListModel",(function(){return s})),e.d(n,"ConnectorTypeModel",(function(){return o})),e.d(n,"ConnectorListModel",(function(){return r})),e.d(n,"ConnectorModel",(function(){return c})),e.d(n,"ConnectorSettingsModel",(function(){return i}));class s{constructor(t={}){this._connectors=t.connectors||[]}getConnectorByName(t){return this._connectors.find(n=>n.name===t)}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class o{constructor(t){this._name=t.name,this._prefix=t.prefix}get name(){return this._name}set name(t){this._name=t}get prefix(){return this._prefix}set prefix(t){this._prefix=t}}class r{constructor(t=[]){this._connectors=t.connectors}get connectors(){return this._connectors}set connectors(t){this._connectors=t}}class c{constructor(t){this._name=t.name,this._settings=new i(t)}get settings(){return this._settings}set settings(t){this._settings=t}get name(){return this._name}set name(t){this._name=t}}class i{constructor(t){this._settings=t.values||{}}get settings(){return this._settings}set settings(t){this._settings=t}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[98,195],{103:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,u=!0,n,o,h,p,c,y,d,Q,_,I,l,D,g,b,m){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=n,this._startIRI=o,this._startIRILabel=h,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=d,this._shared=Q,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=m}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},123:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return u}));var s=t(103);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),u=e=>e.map(e=>a(e))}}]);
|