graphdb-workbench 3.0.0-TR5 → 3.0.0-TR7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/0.1d565bc7f7f53712caaf.bundle.js +25 -0
- package/dist/1.f222aa8b71db2bd464b4.bundle.js +1 -0
- package/dist/10.749968a3737d776ea842.bundle.js +1 -0
- package/dist/100.bb67e226e55418f0f233.bundle.js +1 -0
- package/dist/101.9bb1fb6ea76e1356d218.bundle.js +1 -0
- package/dist/102.4802030577668f354ee0.bundle.js +1 -0
- package/dist/103.26765c422d3295ca599f.bundle.js +1 -0
- package/dist/104.2022ab2ab3e863225ba7.bundle.js +1 -0
- package/dist/105.9e987420c6b402e77b1b.bundle.js +1 -0
- package/dist/106.045b4a46ed42cb254715.bundle.js +1 -0
- package/dist/107.c7312ccf879d4d3d4de8.bundle.js +1 -0
- package/dist/108.3c98f81c5362e43a58f5.bundle.js +1 -0
- package/dist/109.dff6a6162e86069fc96e.bundle.js +1 -0
- package/dist/11.a74bd059e359611395a5.bundle.js +1 -0
- package/dist/110.e37a16cf9c3b66ebec4e.bundle.js +1 -0
- package/dist/111.57eb138fce465f563c0b.bundle.js +1 -0
- package/dist/112.c2236e8470fd2e9dc426.bundle.js +1 -0
- package/dist/113.42766c49bcd8a793f683.bundle.js +1 -0
- package/dist/114.13d529fa3269ca688653.bundle.js +1 -0
- package/dist/115.4952bf669c794d7d553e.bundle.js +1 -0
- package/dist/116.116e94934c20715b7261.bundle.js +1 -0
- package/dist/117.5a8f8af345a92c589f0b.bundle.js +1 -0
- package/dist/118.522d0d111ce95f52fc66.bundle.js +1 -0
- package/dist/119.84c497374100888c6d7d.bundle.js +1 -0
- package/dist/12.e4ae2b5696117210e441.bundle.js +1 -0
- package/dist/120.df02fd604538db4a71b5.bundle.js +1 -0
- package/dist/121.ab46ddc5a2ab521cac29.bundle.js +1 -0
- package/dist/122.8b382db315d4c0a41920.bundle.js +1 -0
- package/dist/123.9c9d12807b38427498b1.bundle.js +1 -0
- package/dist/124.919e2f7990ef4686409b.bundle.js +1 -0
- package/dist/125.5cba9bb004a17fbebda1.bundle.js +1 -0
- package/dist/126.bc5fe36781de9544c91a.bundle.js +1 -0
- package/dist/127.63859fd261e7192e5085.bundle.js +1 -0
- package/dist/128.3f5e07e2a2f7a88f00ab.bundle.js +1 -0
- package/dist/129.30a90f46ae12df88496d.bundle.js +1 -0
- package/dist/13.7354c40e7440a0ba690e.bundle.js +1 -0
- package/dist/130.b2a28ea1990690d2f17b.bundle.js +1 -0
- package/dist/131.c8bf0f1f18b083bb0596.bundle.js +1 -0
- package/dist/132.e4f44f7a452867701268.bundle.js +1 -0
- package/dist/133.7f599b8bfd334a15bcfa.bundle.js +1 -0
- package/dist/134.a057c782e8816558817a.bundle.js +1 -0
- package/dist/135.984fbdd46f7666cfc245.bundle.js +1 -0
- package/dist/136.9ff33ff0f24c01860057.bundle.js +1 -0
- package/dist/137.f503e83ba9e9d6dbfa6d.bundle.js +1 -0
- package/dist/138.5894efddb3edb0bcbd7b.bundle.js +1 -0
- package/dist/139.b4c08b8fc4ab1a7235f0.bundle.js +1 -0
- package/dist/14.3641f9b1c6b267d819be.bundle.js +1 -0
- package/dist/140.b8b686e3f1ac43304f8b.bundle.js +1 -0
- package/dist/141.baaf2f3e8ea1519af07e.bundle.js +1 -0
- package/dist/142.d8e42852763d5b486c65.bundle.js +1 -0
- package/dist/143.e5757527f8dc4b5351f2.bundle.js +1 -0
- package/dist/144.acb50185b93cbeef3056.bundle.js +1 -0
- package/dist/145.f949afd9bd00e5be3a70.bundle.js +1 -0
- package/dist/146.c23cb62ab3c0515724ae.bundle.js +1 -0
- package/dist/147.2408943e1308b31f0be5.bundle.js +1 -0
- package/dist/148.f6c0e843b48505bbdda4.bundle.js +1 -0
- package/dist/149.678931045c93271cca9e.bundle.js +1 -0
- package/dist/15.58f2e0eb59504ae4aee3.bundle.js +1 -0
- package/dist/150.0b5227e3db718fd14b52.bundle.js +1 -0
- package/dist/151.8ea6d7f8c33b3a861a96.bundle.js +1 -0
- package/dist/152.bf3eaaf25a6797bc8086.bundle.js +1 -0
- package/dist/153.bff7e173e98102bdb041.bundle.js +1 -0
- package/dist/154.3d3b5cfe53bc93b44b08.bundle.js +1 -0
- package/dist/155.0db1fde9e891ce813531.bundle.js +1 -0
- package/dist/156.2bcd517b753db3f12710.bundle.js +1 -0
- package/dist/157.a86e7b43c551b7914b12.bundle.js +1 -0
- package/dist/158.e52a742728da87668246.bundle.js +1 -0
- package/dist/159.0b8b9be982a62248e847.bundle.js +1 -0
- package/dist/16.8f3a01c47803190a199d.bundle.js +73 -0
- package/dist/160.7af8baa72ccc347abcb1.bundle.js +1 -0
- package/dist/161.d1edfa6d9b5b6c6a896c.bundle.js +1 -0
- package/dist/162.b87b9329138db316cde2.bundle.js +1 -0
- package/dist/163.a29fbbe6c8c9c1f28965.bundle.js +1 -0
- package/dist/164.d540bdeda2be624c2ad2.bundle.js +1 -0
- package/dist/165.06398d0ea5f6026aa6c0.bundle.js +1 -0
- package/dist/166.1e00f992829faa1f7f96.bundle.js +1 -0
- package/dist/167.642fdd03ffd20490a366.bundle.js +1 -0
- package/dist/168.7e79c742a19e5f145849.bundle.js +1 -0
- package/dist/169.ac15821b2eba779ef03a.bundle.js +1 -0
- package/dist/17.3756f14eb17a0da3a9a5.bundle.js +1 -0
- package/dist/170.7ea6fda2200eab9637f1.bundle.js +1 -0
- package/dist/171.23fa23989fd65f23a119.bundle.js +1 -0
- package/dist/172.d31ae99ab94c9dbdcdb5.bundle.js +1 -0
- package/dist/173.1f1d6a8739bbb437be1d.bundle.js +1 -0
- package/dist/174.6e5f83343c53c2a47787.bundle.js +1 -0
- package/dist/175.0677f91c308cdd50e9b9.bundle.js +1 -0
- package/dist/176.33e3db37a7de65f9b10c.bundle.js +1 -0
- package/dist/177.ec9f9a606f0b8631b27f.bundle.js +1 -0
- package/dist/178.77823de947c024ce4ff8.bundle.js +1 -0
- package/dist/179.8c0c0279bced7349c27c.bundle.js +1 -0
- package/dist/18.4d46ffab8602a2d7e0ae.bundle.js +1 -0
- package/dist/180.02d72c41a50e78bcd8d0.bundle.js +1 -0
- package/dist/181.f72876059e8444bd9330.bundle.js +1 -0
- package/dist/182.1e0faba93e35cf9da360.bundle.js +1 -0
- package/dist/183.c8a039f60358fb004b99.bundle.js +1 -0
- package/dist/184.3e395ef5a2d1d5526805.bundle.js +1 -0
- package/dist/185.72f9646fc290e21e12ff.bundle.js +1 -0
- package/dist/186.5a8bddf1c62efdad1f3b.bundle.js +1 -0
- package/dist/187.b27fa07d76857f6b07d5.bundle.js +1 -0
- package/dist/188.f67f933d41b24bad4a46.bundle.js +1 -0
- package/dist/189.1f7137886f1e12e25410.bundle.js +1 -0
- package/dist/19.8ec72ceff68b70f7f0bc.bundle.js +1 -0
- package/dist/190.7aa59866ce6c9c6c814f.bundle.js +1 -0
- package/dist/191.ebf56e312665ae0bb02c.bundle.js +1 -0
- package/dist/192.5696b8c6547a8b53a9f5.bundle.js +1 -0
- package/dist/193.8ad1fd736cb14949a71b.bundle.js +1 -0
- package/dist/194.be4b25c7d74be3bf9140.bundle.js +1 -0
- package/dist/195.0535a2bf6733eacd31c3.bundle.js +1 -0
- package/dist/196.abd33da1bf16c3662c5d.bundle.js +1 -0
- package/dist/197.df4bc3d124ab1fdbb2ab.bundle.js +1 -0
- package/dist/198.0c2cd3ce0fb8afcf7cd4.bundle.js +1 -0
- package/dist/199.aef4bb3441b2e9928376.bundle.js +1 -0
- package/dist/2.daaab77a6a222c5658d4.bundle.js +1 -0
- package/dist/20.7c3ec96515105d662164.bundle.js +2 -0
- package/dist/200.7791b42a9a2eaeabd357.bundle.js +1 -0
- package/dist/201.4ef6f06a57a40158fb16.bundle.js +1 -0
- package/dist/202.f689e8c3de7aec909411.bundle.js +1 -0
- package/dist/203.77906dd06bb58ea3b14c.bundle.js +1 -0
- package/dist/204.38963ca1927b6537f13f.bundle.js +1 -0
- package/dist/205.f72c58ca5f1909259cc1.bundle.js +1 -0
- package/dist/206.e2357c0c583345c48782.bundle.js +1 -0
- package/dist/207.1939fd13d6d073e8f1cb.bundle.js +1 -0
- package/dist/208.632c0590412767cd2d61.bundle.js +1 -0
- package/dist/209.e8fa07dd74caf0c36368.bundle.js +1 -0
- package/dist/21.933d390e0a79da2d5b4d.bundle.js +1 -0
- package/dist/210.3b2935add913f17b5cbe.bundle.js +1 -0
- package/dist/211.96b8d0ed6d4918b6f5f0.bundle.js +1 -0
- package/dist/212.3381f24309f7a7a3d8ce.bundle.js +1 -0
- package/dist/213.db0a7f19cda18a49ead5.bundle.js +1 -0
- package/dist/214.7632e09207bf8356fb19.bundle.js +1 -0
- package/dist/215.5dca838e2d3dce85c8a4.bundle.js +1 -0
- package/dist/216.2ffd414ebde029aca563.bundle.js +1 -0
- package/dist/217.3e8c71abe4169431656f.bundle.js +1 -0
- package/dist/218.301a1cfe01f85959897e.bundle.js +1 -0
- package/dist/219.fd1fc6f88045e9a6634f.bundle.js +1 -0
- package/dist/22.9759a1ff7cd6500948cb.bundle.js +1 -0
- package/dist/220.05b2e58bdb7f7b9090dc.bundle.js +1 -0
- package/dist/221.da08dce186cd4d902a89.bundle.js +1 -0
- package/dist/222.fe18bab33cf4f406204a.bundle.js +1 -0
- package/dist/223.be72dfaa653551e3fb23.bundle.js +1 -0
- package/dist/224.345027bc57d8873e9958.bundle.js +1 -0
- package/dist/225.4fc7c828ae6a949bef42.bundle.js +1 -0
- package/dist/226.db94cc822899c64a7ac3.bundle.js +1 -0
- package/dist/227.17a4dcce6ff5b272c332.bundle.js +1 -0
- package/dist/228.15b988d5b82be15ec18b.bundle.js +1 -0
- package/dist/229.42b67aee35837a82bc05.bundle.js +1 -0
- package/dist/23.661c2b3db163aae345a5.bundle.js +1 -0
- package/dist/230.b094c5682fd7ef0638fa.bundle.js +1 -0
- package/dist/231.1df31575fa1b46052f9b.bundle.js +1 -0
- package/dist/232.ec4c917e1cfebf2f1049.bundle.js +1 -0
- package/dist/233.97602c72d984ee8769e7.bundle.js +1 -0
- package/dist/234.a7564ae0e26082dfee98.bundle.js +1 -0
- package/dist/235.6c0c8fd6d482a0c259a9.bundle.js +1 -0
- package/dist/236.d97091087426793caddf.bundle.js +1 -0
- package/dist/237.d2e5497bdb799bc8b2c9.bundle.js +1 -0
- package/dist/238.8718ca4189b1171f651f.bundle.js +1 -0
- package/dist/239.d88bcf4218a62a112387.bundle.js +1 -0
- package/dist/24.e7b578494101b6c80f54.bundle.js +1 -0
- package/dist/240.e7bb1eb3762ff4c299b7.bundle.js +1 -0
- package/dist/241.c5d7488888bf78f115f3.bundle.js +1 -0
- package/dist/242.815d6d3b00e404947b7b.bundle.js +1 -0
- package/dist/243.d8661e544ebd92f787f1.bundle.js +1 -0
- package/dist/244.4e0b14fc9f31b1f4cbb7.bundle.js +1 -0
- package/dist/245.1616b31e69dd81438d30.bundle.js +1 -0
- package/dist/246.144b4866ba21047c5cd3.bundle.js +1 -0
- package/dist/247.4cb267e2a3faf8a11e7d.bundle.js +1 -0
- package/dist/248.e80fbf15c8cd24e7a91f.bundle.js +1 -0
- package/dist/249.f7cd0b0c8e7e6c093a47.bundle.js +1 -0
- package/dist/25.78accf42d51790433fe8.bundle.js +1 -0
- package/dist/250.d53e0fc0fb4104588977.bundle.js +1 -0
- package/dist/251.6e1d88e335a2966976f1.bundle.js +1 -0
- package/dist/252.60505ef472405fca2716.bundle.js +1 -0
- package/dist/253.79157d0369dc2a744b85.bundle.js +1 -0
- package/dist/254.aca094224ceeb266a2ef.bundle.js +1 -0
- package/dist/255.a4122957cec220e06c67.bundle.js +1 -0
- package/dist/256.a50c3c795fac603be840.bundle.js +1 -0
- package/dist/257.c56a93d45e14c684da99.bundle.js +1 -0
- package/dist/258.774cad1fe7b1ca2c115d.bundle.js +1 -0
- package/dist/259.baef07d19d327b6aa4d6.bundle.js +1 -0
- package/dist/26.65df6153171fb0fb3ed7.bundle.js +7 -0
- package/dist/260.6d1e94b86215f6b11f52.bundle.js +1 -0
- package/dist/261.e727e5605e3786698b86.bundle.js +1 -0
- package/dist/262.1e9b318c8c15ef835409.bundle.js +1 -0
- package/dist/263.4d3cce64a9f44c403f3e.bundle.js +1 -0
- package/dist/264.fece25342bc3a34ddf98.bundle.js +1 -0
- package/dist/265.5c51d9a908b3d3cca353.bundle.js +1 -0
- package/dist/266.df5ae38f855a47987173.bundle.js +1 -0
- package/dist/267.9f173a81a0ab2b37ee4a.bundle.js +1 -0
- package/dist/268.f5d268969d8a1848cb00.bundle.js +1 -0
- package/dist/269.f7068c83aef8b53a5121.bundle.js +1 -0
- package/dist/27.1e07832e72bf860c6356.bundle.js +2 -0
- package/dist/270.400f6935492a74a1a1d8.bundle.js +1 -0
- package/dist/271.21e4fd44f09c0d1178b8.bundle.js +1 -0
- package/dist/272.c77995065db29c1a4c3a.bundle.js +1 -0
- package/dist/273.e94d44a414851f947c9d.bundle.js +1 -0
- package/dist/274.3113e7928793775c8fcc.bundle.js +1 -0
- package/dist/275.e8f793579ecfe5dff6c4.bundle.js +1 -0
- package/dist/276.ed6c40ba991986fed8ea.bundle.js +1 -0
- package/dist/277.f70b739e40c2748337a4.bundle.js +1 -0
- package/dist/278.bcd2748015222555165e.bundle.js +1 -0
- package/dist/279.a77639df592156f38e7c.bundle.js +1 -0
- package/dist/28.f8caef722c6f3e96f9b3.bundle.js +2 -0
- package/dist/280.f70fb014356b944cb209.bundle.js +1 -0
- package/dist/281.26620aed8ff3ca41ddf0.bundle.js +1 -0
- package/dist/282.b78ebfc854b863e02ce4.bundle.js +1 -0
- package/dist/283.e8279d9aee5c55b2d354.bundle.js +1 -0
- package/dist/284.d5369c53da0d7b52e37e.bundle.js +1 -0
- package/dist/285.cd8551283bc780c0c975.bundle.js +1 -0
- package/dist/286.03d20795bd07eaf8ce76.bundle.js +1 -0
- package/dist/287.029366b9837c8687dccd.bundle.js +1 -0
- package/dist/288.39aec1f98c0c58ffb845.bundle.js +1 -0
- package/dist/289.df5766b25e01e19c1bd6.bundle.js +1 -0
- package/dist/29.0e4b54d04b761842ddb5.bundle.js +2 -0
- package/dist/290.5d348fd69aee860b8243.bundle.js +1 -0
- package/dist/291.5d34b6f16d158f13d416.bundle.js +1 -0
- package/dist/292.342bb1b963bc368c9c6d.bundle.js +1 -0
- package/dist/293.c3f30161e1f736504e2d.bundle.js +1 -0
- package/dist/294.82a6dc16372adcce662f.bundle.js +1 -0
- package/dist/295.ef2a8a9b8bdb0265a8d8.bundle.js +1 -0
- package/dist/296.1a5a42d6ba8fa7247b47.bundle.js +1 -0
- package/dist/297.3cd57068790d42c1915a.bundle.js +1 -0
- package/dist/298.5601b2c79f1480823432.bundle.js +1 -0
- package/dist/299.5ada0f0e23fe89189aea.bundle.js +1 -0
- package/dist/3.0163b2c7e8738b9cba5c.bundle.js +1 -0
- package/dist/30.c13a3dc90f31cb5d3d32.bundle.js +2 -0
- package/dist/300.6fe214d50413a62687af.bundle.js +1 -0
- package/dist/301.f8a00aca49b1172b6414.bundle.js +1 -0
- package/dist/302.1380e92df04bde5e0d7d.bundle.js +1 -0
- package/dist/303.373206080b4ce59a4d1a.bundle.js +1 -0
- package/dist/304.5bb012998f3e8a493686.bundle.js +1 -0
- package/dist/305.b800b668b82cae9405d5.bundle.js +1 -0
- package/dist/306.3d52bbf55453516f4677.bundle.js +1 -0
- package/dist/307.7642b517551238835a63.bundle.js +1 -0
- package/dist/308.8a2a38c28194f13d14fc.bundle.js +1 -0
- package/dist/309.72aa4e8a4746e6e169b8.bundle.js +1 -0
- package/dist/31.d8d3b1aca0639c14d486.bundle.js +1 -0
- package/dist/310.1b86e4beec534ceea808.bundle.js +1 -0
- package/dist/311.dfbda4d0762cf5fe5f7d.bundle.js +1 -0
- package/dist/312.0705f96441fedfa4ecd0.bundle.js +1 -0
- package/dist/313.7e8cb496f2333608721b.bundle.js +1 -0
- package/dist/314.7aab2e7e162461859b33.bundle.js +1 -0
- package/dist/315.cc6d0079a9dd3cc5be3b.bundle.js +1 -0
- package/dist/316.876be7edbf6cb9d6d66e.bundle.js +1 -0
- package/dist/317.24eb146013e0e4de119f.bundle.js +1 -0
- package/dist/318.ac7c696ca6b721154305.bundle.js +1 -0
- package/dist/319.f5d8994aa1287db8979a.bundle.js +1 -0
- package/dist/32.cba5b6c37ece5c6563c3.bundle.js +2 -0
- package/dist/320.244312dfaf1658adf3ca.bundle.js +1 -0
- package/dist/321.8b5c3b625d7a696be4df.bundle.js +1 -0
- package/dist/322.4bffc3ecb4ad01a7467e.bundle.js +1 -0
- package/dist/323.5a7f1915a8a262378fc5.bundle.js +1 -0
- package/dist/324.d9fe969994ca6b11bb42.bundle.js +1 -0
- package/dist/325.7ad193c5ede253c3a75b.bundle.js +1 -0
- package/dist/326.3f248af3ca74a6f916ab.bundle.js +1 -0
- package/dist/327.e1754f5ef88ea0ad803c.bundle.js +1 -0
- package/dist/328.04b7086038229c260d01.bundle.js +1 -0
- package/dist/329.4bf1d5e3abd25c854105.bundle.js +1 -0
- package/dist/33.56472b7841338b5c6e37.bundle.js +1 -0
- package/dist/330.aafb58199ce06892eefd.bundle.js +1 -0
- package/dist/331.5cd6b2d2fb97a153e37f.bundle.js +1 -0
- package/dist/332.b78716d7be8764519056.bundle.js +1 -0
- package/dist/333.13a24638d1766954673e.bundle.js +1 -0
- package/dist/334.b66e490b2c582561c737.bundle.js +1 -0
- package/dist/335.cf16c97a23ae2ae5d9d7.bundle.js +1 -0
- package/dist/336.62f6950a283093425fec.bundle.js +1 -0
- package/dist/337.b804b5e3e0c55e0d0f91.bundle.js +1 -0
- package/dist/338.604000abf6df4eae635a.bundle.js +1 -0
- package/dist/339.b66cb238993bb04542f6.bundle.js +1 -0
- package/dist/34.af30383cabbf842a6148.bundle.js +1 -0
- package/dist/340.3cbc114bfe55f515df9f.bundle.js +1 -0
- package/dist/341.236075806dab01041b40.bundle.js +1 -0
- package/dist/342.92eda476311d59ea048e.bundle.js +1 -0
- package/dist/343.17cc2933129b7e4977ac.bundle.js +1 -0
- package/dist/344.dada6ca2d36442c45bab.bundle.js +1 -0
- package/dist/345.cfb6e508852372624147.bundle.js +1 -0
- package/dist/346.f2cfe481042f868339d9.bundle.js +1 -0
- package/dist/347.3c0bafdce64e4d2acf9a.bundle.js +1 -0
- package/dist/348.29eb689b9018549f022e.bundle.js +1 -0
- package/dist/349.06de9d97ffab4f6e9fb4.bundle.js +1 -0
- package/dist/35.d008044b76e86291c4e1.bundle.js +1 -0
- package/dist/350.9b2217c87dbc1a6b9d8e.bundle.js +1 -0
- package/dist/351.fdefb900f481875caa45.bundle.js +1 -0
- package/dist/352.317fb25f2693eeebe6b7.bundle.js +1 -0
- package/dist/353.a8717f8d8962c1b2af64.bundle.js +1 -0
- package/dist/354.cc8ec944ef58bd9584b2.bundle.js +1 -0
- package/dist/355.6a8cee75cd419bda45f3.bundle.js +1 -0
- package/dist/356.d6e2890696ad73ff63a3.bundle.js +1 -0
- package/dist/357.3c2c65444c966f64d546.bundle.js +1 -0
- package/dist/358.2a776f55bec08836ef35.bundle.js +1 -0
- package/dist/359.0d29c79a2699d91ad94f.bundle.js +1 -0
- package/dist/36.cb67be5ee6861ca108b6.bundle.js +1 -0
- package/dist/360.e87fe90aebff9f622db2.bundle.js +1 -0
- package/dist/361.06e36cff4ab923e4c1ee.bundle.js +1 -0
- package/dist/362.044e3a8f90c96c0758e3.bundle.js +1 -0
- package/dist/363.dac1da2867672278edf6.bundle.js +1 -0
- package/dist/364.93338a9afd7e0b586e3a.bundle.js +1 -0
- package/dist/365.1118174ea04440caf85e.bundle.js +1 -0
- package/dist/366.097b28de464d9aae711b.bundle.js +1 -0
- package/dist/367.a58110c01f1474930a15.bundle.js +1 -0
- package/dist/37.15ee43ef71e99207d1d8.bundle.js +1 -0
- package/dist/373.ac7463591408725a7195.bundle.js +1 -0
- package/dist/374.d0529148bffc0ac9610a.bundle.js +1 -0
- package/dist/375.4b52852bea5039ab7fad.bundle.js +1 -0
- package/dist/376.e1352ce9f07f2117323b.bundle.js +1 -0
- package/dist/377.6868d5c8dbd01d3e0ef4.bundle.js +1 -0
- package/dist/378.c275d94810eff7de5ca9.bundle.js +1 -0
- package/dist/379.3ee8724d48dac8d0da77.bundle.js +1 -0
- package/dist/38.4a6306dcf005b08ad1f5.bundle.js +1 -0
- package/dist/380.95a7e156b068f11cf4f7.bundle.js +1 -0
- package/dist/381.5c586542f72f5c1398d6.bundle.js +1 -0
- package/dist/382.aaa366d9af8cc47fb3a1.bundle.js +1 -0
- package/dist/383.9cbc5a4e19a4adb04d88.bundle.js +1 -0
- package/dist/384.6c236825ef802f4eb547.bundle.js +1 -0
- package/dist/385.4d6bd1e14557296d1415.bundle.js +1 -0
- package/dist/386.f5c4768b44840a682d3e.bundle.js +1 -0
- package/dist/387.b84f8e5220ad17a24cd5.bundle.js +1 -0
- package/dist/388.ff7958a32c284648dc7c.bundle.js +1 -0
- package/dist/389.f2efa7664733099dbccc.bundle.js +1 -0
- package/dist/39.17075b63ecea7d0b0371.bundle.js +1 -0
- package/dist/390.3eea25e20f438cc5cf07.bundle.js +1 -0
- package/dist/391.3c906a54446a4465936d.bundle.js +1 -0
- package/dist/392.de2df98d5520a87165a7.bundle.js +1 -0
- package/dist/393.3ead83707b607386d098.bundle.js +1 -0
- package/dist/394.55394ccfaec85b49ea10.bundle.js +1 -0
- package/dist/395.142228c70429e7ff14c4.bundle.js +1 -0
- package/dist/396.db49815c44c858fe9ebf.bundle.js +1 -0
- package/dist/397.71c0ca7ccaa7c60cce9b.bundle.js +1 -0
- package/dist/398.819093c27d708fd38303.bundle.js +1 -0
- package/dist/399.bef9ff1590e539c057fb.bundle.js +1 -0
- package/dist/4.135365bd40e1d1c0f383.bundle.js +2 -0
- package/dist/40.e3e3c736355b7846f04e.bundle.js +1 -0
- package/dist/400.bba102739a7167fd0301.bundle.js +1 -0
- package/dist/401.8b40fd903f51d7c35772.bundle.js +1 -0
- package/dist/402.a36d110009b03ec8085c.bundle.js +1 -0
- package/dist/403.3d15d8bd66f5db95cfd9.bundle.js +1 -0
- package/dist/404.ea5fd28136360a17b070.bundle.js +1 -0
- package/dist/405.61ad04f7082d75e54fd1.bundle.js +1 -0
- package/dist/406.62e71e9a544829aec5e5.bundle.js +1 -0
- package/dist/407.af1cc5455404c7282f52.bundle.js +1 -0
- package/dist/408.8665932ebcf3c1342cc3.bundle.js +1 -0
- package/dist/409.08c8c05f1f3d90d548f8.bundle.js +1 -0
- package/dist/41.e645b1a1d407aa3e0cfa.bundle.js +1 -0
- package/dist/410.036d0dfc017ab21a2c08.bundle.js +1 -0
- package/dist/411.fea83b705249c7b1a951.bundle.js +1 -0
- package/dist/412.ab14d1c0d90b9ea82501.bundle.js +1 -0
- package/dist/413.a7be8e818cde1b97c42a.bundle.js +1 -0
- package/dist/414.f5af32bf395db3dde30d.bundle.js +1 -0
- package/dist/415.50d7ece1c3a3980a7725.bundle.js +1 -0
- package/dist/416.36d3b221b554d84515bb.bundle.js +1 -0
- package/dist/417.ccad7fd91b19d57ccd7f.bundle.js +1 -0
- package/dist/418.d5c947fdd3949b64e164.bundle.js +1 -0
- package/dist/419.0085356ed92a952a6cb8.bundle.js +1 -0
- package/dist/42.2f815267f6c46b2968b1.bundle.js +1 -0
- package/dist/420.b0a4f57e1b89dcd4b359.bundle.js +1 -0
- package/dist/421.f7716f62bba9f7e669e2.bundle.js +1 -0
- package/dist/422.7e55c7111ebcf860a605.bundle.js +1 -0
- package/dist/423.c2b1157a0c7064b846d1.bundle.js +1 -0
- package/dist/424.84328c052130eca178a5.bundle.js +1 -0
- package/dist/425.2897c758c20d14a90312.bundle.js +1 -0
- package/dist/426.41aae97a6a38843d674e.bundle.js +1 -0
- package/dist/427.3adaaa0d4f06b732fb11.bundle.js +1 -0
- package/dist/428.ee3870af261db1f84e75.bundle.js +1 -0
- package/dist/429.2eab77fa4dc4ebaf3d4d.bundle.js +1 -0
- package/dist/43.095dac2decd990ef1976.bundle.js +1 -0
- package/dist/430.077f0bd8a74ea6b6574a.bundle.js +1 -0
- package/dist/431.9bdd27c44fac83f5f49b.bundle.js +1 -0
- package/dist/432.195e215eca856c3bdff8.bundle.js +1 -0
- package/dist/433.b34e3882fba241074664.bundle.js +1 -0
- package/dist/434.a6b78d0d58924fcfc5cd.bundle.js +1 -0
- package/dist/435.2052e59a70196c7964a7.bundle.js +1 -0
- package/dist/436.a5179d3886a3baae2b3d.bundle.js +1 -0
- package/dist/437.11e7514a9c361c917fd6.bundle.js +1 -0
- package/dist/438.77a0c3a270494d87e0c6.bundle.js +1 -0
- package/dist/439.285860a9d8bc8658c65d.bundle.js +1 -0
- package/dist/44.53ef1063caf306866273.bundle.js +1 -0
- package/dist/440.71b0184fdcaed30ce98d.bundle.js +1 -0
- package/dist/441.176b985fe0e00732f9f0.bundle.js +1 -0
- package/dist/442.171eca3c029297fe110f.bundle.js +1 -0
- package/dist/443.8e0e4bc0fdb2d80f0443.bundle.js +1 -0
- package/dist/444.427596ea7032586aa63d.bundle.js +1 -0
- package/dist/445.ac19ec9a7e8d7541bd8f.bundle.js +1 -0
- package/dist/446.e3658bf20969dff5e5ef.bundle.js +1 -0
- package/dist/447.82fbcc461b699cf0ad3c.bundle.js +1 -0
- package/dist/448.93b6c27b0309f8535b4f.bundle.js +1 -0
- package/dist/449.0355447e2a2537231ae8.bundle.js +1 -0
- package/dist/45.67058a69ff6622a39f9c.bundle.js +1 -0
- package/dist/450.f6590548a47c8bc53fdb.bundle.js +1 -0
- package/dist/451.7231a9571d7c30cd20e3.bundle.js +1 -0
- package/dist/452.b822d2db0188140b14c6.bundle.js +1 -0
- package/dist/453.8d6d0a6493df94290c14.bundle.js +1 -0
- package/dist/454.2926be5560883d3a37c5.bundle.js +1 -0
- package/dist/455.cc6c84e1591bee24b82e.bundle.js +1 -0
- package/dist/456.bc4f3c89a172487a3f5f.bundle.js +1 -0
- package/dist/457.00c7db72aa8db5675511.bundle.js +1 -0
- package/dist/458.600471bdb7b4b3afa433.bundle.js +1 -0
- package/dist/459.dba7a1ea9f95290ae923.bundle.js +1 -0
- package/dist/46.a24e67d9e56a84c2aa03.bundle.js +1 -0
- package/dist/460.665f4a11444f47c533ac.bundle.js +1 -0
- package/dist/461.60de53db90615d1964b8.bundle.js +1 -0
- package/dist/462.72d77f0b8d3b0ecf97da.bundle.js +1 -0
- package/dist/463.53f7aabbf8b1c049d182.bundle.js +1 -0
- package/dist/464.63c04880556e63aed56f.bundle.js +1 -0
- package/dist/465.b92e6857f55d2a600e03.bundle.js +1 -0
- package/dist/466.1dfa9a9f72dd8c5a9578.bundle.js +1 -0
- package/dist/47.fd7d456a7ba07edb07cf.bundle.js +1 -0
- package/dist/48.07cec6f986582e5331d1.bundle.js +1 -0
- package/dist/49.d08d638889d26287ec79.bundle.js +1 -0
- package/dist/5.93f564625fde05df762c.bundle.js +1 -0
- package/dist/50.369bcb71a7f3b9a49ec8.bundle.js +1 -0
- package/dist/51.dc3f6d4daef04f13aeb5.bundle.js +1 -0
- package/dist/52.2357be81aa0808882a6f.bundle.js +1 -0
- package/dist/53.012908e7bf235057cb6f.bundle.js +1 -0
- package/dist/54.6f2e80db5e14d813c5a9.bundle.js +1 -0
- package/dist/55.736b768417715a5a0957.bundle.js +2 -0
- package/dist/56.059b090abc78896c80ce.bundle.js +1 -0
- package/dist/57.13c4c88b45fcbf9ed983.bundle.js +1 -0
- package/dist/58.b05dbb704de518888045.bundle.js +1 -0
- package/dist/59.038246bb0ecc1ea054a3.bundle.js +1 -0
- package/dist/6.9ff97fdbf3b6338a7df8.bundle.js +1 -0
- package/dist/60.7bb10ddaeb56b0ef65f8.bundle.js +1 -0
- package/dist/61.30242929dce27f59733a.bundle.js +1 -0
- package/dist/62.74fa57fb07674b0c893c.bundle.js +1 -0
- package/dist/63.fd5261b10e91bb7e769a.bundle.js +1 -0
- package/dist/64.f5da973d6acd500e8045.bundle.js +1 -0
- package/dist/65.bae22b9205163775881c.bundle.js +1 -0
- package/dist/66.3075b5f02f399846a9d2.bundle.js +1 -0
- package/dist/67.6640d2ac51d0c69baadb.bundle.js +1 -0
- package/dist/68.cbd90d54c68df93d2251.bundle.js +1 -0
- package/dist/69.93fa046affb346bc7a23.bundle.js +1 -0
- package/dist/7.8bb7af04190c81f321fa.bundle.js +1 -0
- package/dist/70.7f967bb812881ea93977.bundle.js +1 -0
- package/dist/71.7985c5eb76805232826d.bundle.js +1 -0
- package/dist/72.3f035c9759098be7baf8.bundle.js +1 -0
- package/dist/73.915df019f88cf8b51db2.bundle.js +1 -0
- package/dist/74.973a9d7ebd15253767e6.bundle.js +1 -0
- package/dist/75.1976cf1b012f76965bfa.bundle.js +2 -0
- package/dist/76.33f0b675fe0c6b731538.bundle.js +1 -0
- package/dist/77.08ec87cd2b0d0c8390c1.bundle.js +1 -0
- package/dist/78.f62118085b3b4fcf803c.bundle.js +1 -0
- package/dist/79.a7430c135cdce28eeea3.bundle.js +1 -0
- package/dist/8.27315e1b190a085e03da.bundle.js +1 -0
- package/dist/80.09780392816218065356.bundle.js +1 -0
- package/dist/81.4ffb7f8fcd12aa95614a.bundle.js +1 -0
- package/dist/82.6176c7e55f40eae5c022.bundle.js +1 -0
- package/dist/83.922ef0d898b37540a88c.bundle.js +1 -0
- package/dist/84.ff88da7568d5341b7073.bundle.js +1 -0
- package/dist/85.d8c58358656cbd698f30.bundle.js +1 -0
- package/dist/86.f06883b3643ecf6ab834.bundle.js +1 -0
- package/dist/87.4f21322bf9e247e101a8.bundle.js +2 -0
- package/dist/88.4d68d70e178592ce7ca0.bundle.js +1 -0
- package/dist/89.d82f97d95a3b7c18848a.bundle.js +1 -0
- package/dist/9.5c6b59ba3dfc291c18dd.bundle.js +1 -0
- package/dist/90.8009b7fa1cca6a55fd39.bundle.js +1 -0
- package/dist/91.e9fffa34b6c1de650229.bundle.js +1 -0
- package/dist/92.1655de24e4f99111d616.bundle.js +1 -0
- package/dist/93.bba0e95fac0e2b65b320.bundle.js +1 -0
- package/dist/94.ab0e3722b5c32f85634e.bundle.js +1 -0
- package/dist/95.cdc25d71d742adcd977f.bundle.js +1 -0
- package/dist/96.92da89e64a9f33f8edeb.bundle.js +1 -0
- package/dist/97.fedb6edd5a2722d9606f.bundle.js +1 -0
- package/dist/98.0b100a89d0bbf49e3a10.bundle.js +1 -0
- package/dist/99.8a57e7f1e1d218b153dc.bundle.js +1 -0
- package/dist/bundle.065c2c63e23c5b3a59f0.bundle.js +96 -0
- package/dist/css/graphql/create-graphql-endpoint.css +24 -27
- package/dist/css/graphql/graphql-endpoint-configuration-modal.css +19 -0
- package/dist/css/graphql/graphql-endpoint-management.css +15 -0
- package/dist/css/shuttle-multiselect.css +76 -0
- package/dist/css/workbench-custom.css +47 -0
- package/dist/i18n/locale-en.json +91 -6
- package/dist/i18n/locale-fr.json +91 -6
- package/dist/index.html +4 -4
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +70 -0
- package/dist/js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html +15 -0
- 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/shuttle-multiselect/templates/shuttle-multiselect.html +51 -0
- 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 +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/core/templates/modal/modal-warning.html +10 -15
- package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +35 -36
- package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +9 -7
- package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +25 -0
- package/dist/js/angular/graphql/templates/step-configure-endpoint.html +29 -0
- package/dist/js/angular/graphql/templates/step-generate-endpoint.html +25 -0
- package/dist/js/angular/graphql/templates/step-select-schema-sources.html +163 -0
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- 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 +1 -1
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/main.c0e578d0985f503f26a6.bundle.js +1 -0
- package/dist/main.f63e0bc7552ca649c214.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 +5 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +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/webapi.html +2 -2
- package/dist/polyfills-dom.9067ec385d68fe16b11f.bundle.js +19 -0
- package/dist/res/swagger5/index.html +12 -12
- package/dist/vendor.5da49e9179d504506dd9.bundle.js +25 -0
- package/dist/vendors~polyfills-core-js.3c9ff135326994d3d7e5.bundle.js +1 -0
- package/package.json +1 -1
- package/dist/0.6e2e02d5f586b6681baa.bundle.js +0 -25
- package/dist/1.9f028d91a5adb9c0a544.bundle.js +0 -1
- package/dist/10.2a0a5766411677080451.bundle.js +0 -1
- package/dist/100.53910a6d2bd98e5c3b3f.bundle.js +0 -1
- package/dist/101.75412458d22cf720e4b8.bundle.js +0 -1
- package/dist/102.09b290ddf3f6f4f9cef4.bundle.js +0 -1
- package/dist/103.2c77387e0b9242aea4b7.bundle.js +0 -1
- package/dist/104.4057f0d337cfab2f9703.bundle.js +0 -1
- package/dist/105.8b416b89bb335b3f5d09.bundle.js +0 -1
- package/dist/106.78d0d81c25924f4261dd.bundle.js +0 -1
- package/dist/107.cbbf0f7b65effe88b7db.bundle.js +0 -1
- package/dist/108.6ab0ab651ad01d92a072.bundle.js +0 -1
- package/dist/109.02dca9450eadea75dc01.bundle.js +0 -1
- package/dist/11.00dab38cc369e829fc90.bundle.js +0 -1
- package/dist/110.bfa9a892c65acd495213.bundle.js +0 -1
- package/dist/111.45e13287f321e5b5ab7c.bundle.js +0 -1
- package/dist/112.fd12c370dcceb8a3b1bb.bundle.js +0 -1
- package/dist/113.44f70a7db1604b9e3e3b.bundle.js +0 -1
- package/dist/114.04047124e5044b7f72a2.bundle.js +0 -1
- package/dist/115.2b5985b249866fc6621c.bundle.js +0 -1
- package/dist/116.354da54c781c69cc29b3.bundle.js +0 -1
- package/dist/117.3179b2a2d90a4a6bf01e.bundle.js +0 -1
- package/dist/118.5a3874accd61c43322d2.bundle.js +0 -1
- package/dist/119.9706ef4b0251e1fd1975.bundle.js +0 -1
- package/dist/12.188b1f9da6547c2010aa.bundle.js +0 -1
- package/dist/120.4033c8278e8560bc57e1.bundle.js +0 -1
- package/dist/121.c240b1b4fadcae8e74e0.bundle.js +0 -1
- package/dist/122.93c19f6aeaf6c27f3d86.bundle.js +0 -1
- package/dist/123.5ac557ceed86716dc888.bundle.js +0 -1
- package/dist/124.53691c46ed18ca9a1b34.bundle.js +0 -1
- package/dist/125.fc430a889b66d64cdf3f.bundle.js +0 -1
- package/dist/126.23203b8510e1c8afe408.bundle.js +0 -1
- package/dist/127.9a2a28e29621aa4617c3.bundle.js +0 -1
- package/dist/128.8fb3cc526a5e32d0cfcf.bundle.js +0 -1
- package/dist/129.c4ec7204a82075a275e2.bundle.js +0 -1
- package/dist/13.7b2fed38f6292084d199.bundle.js +0 -1
- package/dist/130.48ada59932389f9b6b6e.bundle.js +0 -1
- package/dist/131.fd17e9ab5ca1a4d92812.bundle.js +0 -1
- package/dist/132.d331a6c42cd7fbd82ff1.bundle.js +0 -1
- package/dist/133.8e23f3150a93fb930457.bundle.js +0 -1
- package/dist/134.4ea1ca598fb67499f9c9.bundle.js +0 -1
- package/dist/135.30e0b07e91c6a8d0fe5f.bundle.js +0 -1
- package/dist/136.27ccf8b30a3e832527df.bundle.js +0 -1
- package/dist/137.c73d74eb51e23fc52d8d.bundle.js +0 -1
- package/dist/138.af10c9e9bbc01fc12eb0.bundle.js +0 -1
- package/dist/139.b75c1e07c8f5993e17fa.bundle.js +0 -1
- package/dist/14.b02b072f154de72ab5b3.bundle.js +0 -73
- package/dist/140.5cec221ee7de218358f4.bundle.js +0 -1
- package/dist/141.271fdb41802e4cae9a2d.bundle.js +0 -1
- package/dist/142.1603e76ba1e7dbdf00e3.bundle.js +0 -1
- package/dist/143.9c19955fdc44df2a5b8e.bundle.js +0 -1
- package/dist/144.514e85fba6b039363a22.bundle.js +0 -1
- package/dist/145.c3ab55add3ff19e5e72c.bundle.js +0 -1
- package/dist/146.75b71c2b637f75a2de9e.bundle.js +0 -1
- package/dist/147.37541cecfd52c93215cf.bundle.js +0 -1
- package/dist/148.fd01c855a857413d6fd2.bundle.js +0 -1
- package/dist/149.6037f3ecd8ddb4007d1b.bundle.js +0 -1
- package/dist/15.deb4198c34dc591b3848.bundle.js +0 -1
- package/dist/150.0b40903abdb090a4af5b.bundle.js +0 -1
- package/dist/151.1559bfce474271ca6105.bundle.js +0 -1
- package/dist/152.517fd21109349cf3f286.bundle.js +0 -1
- package/dist/153.2256df0be90dc6ab855d.bundle.js +0 -1
- package/dist/154.319a0e25e25021a8d3fb.bundle.js +0 -1
- package/dist/155.e3eb36d57d7d7836718c.bundle.js +0 -1
- package/dist/156.b8b40b7181517efc2174.bundle.js +0 -1
- package/dist/157.9c270b98ff1156893e1d.bundle.js +0 -1
- package/dist/158.0aac521b46b6b78b06b8.bundle.js +0 -1
- package/dist/159.25d87cbb0e0dfd937feb.bundle.js +0 -1
- package/dist/16.9a5ee05a463daf7b12ce.bundle.js +0 -1
- package/dist/160.d1aff085b174d79f755d.bundle.js +0 -1
- package/dist/161.8193854ad31f04ef7ec6.bundle.js +0 -1
- package/dist/162.5425e47ed3d499978cec.bundle.js +0 -1
- package/dist/163.1e1d0ff2e85db8539bf4.bundle.js +0 -1
- package/dist/164.a8f5c90b953b8bf49f52.bundle.js +0 -1
- package/dist/165.fb0576f7b4751b686ef0.bundle.js +0 -1
- package/dist/166.4cf1c7448da8ee6c8bf1.bundle.js +0 -1
- package/dist/167.5c20ba1e43e3cb47176d.bundle.js +0 -1
- package/dist/168.74cebec372c3d256b892.bundle.js +0 -1
- package/dist/169.5667b73003ead1cb86bc.bundle.js +0 -1
- package/dist/17.1a5fe2ab0ac84949c56d.bundle.js +0 -1
- package/dist/170.e2cf5d1569bf6c6e179f.bundle.js +0 -1
- package/dist/171.44227b091088d2ba1fef.bundle.js +0 -1
- package/dist/172.529902126f0801d2490a.bundle.js +0 -1
- package/dist/173.500bb63b62acea9f1398.bundle.js +0 -1
- package/dist/174.fd8a434fb4b010434da1.bundle.js +0 -1
- package/dist/175.045d23dcc0acceb47748.bundle.js +0 -1
- package/dist/176.3a088ab665957da96b47.bundle.js +0 -1
- package/dist/177.b17804b82231dc089e39.bundle.js +0 -1
- package/dist/178.7d0b93877b0fbb1194a2.bundle.js +0 -1
- package/dist/179.d400f1185c6172f3752e.bundle.js +0 -1
- package/dist/18.70b0f0b3b0aa2fc3602b.bundle.js +0 -1
- package/dist/180.9c3d3ed6696bf540a4fd.bundle.js +0 -1
- package/dist/181.e32392b738e68494f6d1.bundle.js +0 -1
- package/dist/182.cb262672fcdf6754efd1.bundle.js +0 -1
- package/dist/183.ed5de1ed02e368da1898.bundle.js +0 -1
- package/dist/184.e9245a73c73d6ce8fc47.bundle.js +0 -1
- package/dist/185.19ad160ddc4d047b0f47.bundle.js +0 -1
- package/dist/186.7107f2e2c20c9fae3bf0.bundle.js +0 -1
- package/dist/187.5f279682d42ef680c189.bundle.js +0 -1
- package/dist/188.f53ede9d85847bf7361f.bundle.js +0 -1
- package/dist/189.6e8b516d7454dc6a6c87.bundle.js +0 -1
- package/dist/19.f5d5b7982a9d68462169.bundle.js +0 -2
- package/dist/190.e800903fbfab408ad541.bundle.js +0 -1
- package/dist/191.0cade1e4dab8063575cd.bundle.js +0 -1
- package/dist/192.cd8ab8a7a1140fb27b81.bundle.js +0 -1
- package/dist/193.b5d97f7468705b8f4a8d.bundle.js +0 -1
- package/dist/194.afe9091efa09b8b7a3aa.bundle.js +0 -1
- package/dist/195.256f06453e0f2fb02355.bundle.js +0 -1
- package/dist/196.a453b8184dcca1c59f2d.bundle.js +0 -1
- package/dist/197.c18ddceac559fe0aaae3.bundle.js +0 -1
- package/dist/198.8b5be2249814821f9fce.bundle.js +0 -1
- package/dist/199.6348930dc849555d9ffe.bundle.js +0 -1
- package/dist/2.859f5a0a3343f00d5a41.bundle.js +0 -1
- package/dist/20.c61908b9d80adbf96f17.bundle.js +0 -1
- package/dist/200.f4f8a5a7af9f6e7d9bc4.bundle.js +0 -1
- package/dist/201.25128d7c63a0289ca131.bundle.js +0 -1
- package/dist/202.3574710fd8469eeb93ca.bundle.js +0 -1
- package/dist/203.1e18827f89f56a46a08a.bundle.js +0 -1
- package/dist/204.6b2fcd70b94fd6819ff6.bundle.js +0 -1
- package/dist/205.93d5ed8d6c0f5f135f18.bundle.js +0 -1
- package/dist/206.8048c34ea060958e0cd5.bundle.js +0 -1
- package/dist/207.6dc5e185fe7d5e30c8da.bundle.js +0 -1
- package/dist/208.0dafb8693e97635ab6fa.bundle.js +0 -1
- package/dist/209.263a86d842bc79178d2d.bundle.js +0 -1
- package/dist/21.bf706fad78af3597b6a6.bundle.js +0 -1
- package/dist/210.c4788517f4757278c846.bundle.js +0 -1
- package/dist/211.33f3cadd86beed3f031b.bundle.js +0 -1
- package/dist/212.b372a1911dd4cfc37816.bundle.js +0 -1
- package/dist/213.7218e3fefcc17fa4064a.bundle.js +0 -1
- package/dist/214.cfb3279a5f12b1135319.bundle.js +0 -1
- package/dist/215.8e3653077c819309482f.bundle.js +0 -1
- package/dist/216.bac91ea37c84c5aa7e6f.bundle.js +0 -1
- package/dist/217.6f76996aa2fb48a79ecb.bundle.js +0 -1
- package/dist/218.f366beac273a0b25d858.bundle.js +0 -1
- package/dist/219.1c72ad3cd037b06f24ef.bundle.js +0 -1
- package/dist/22.f07debe920b9f3932770.bundle.js +0 -1
- package/dist/220.534689ef4dfb3e83be8d.bundle.js +0 -1
- package/dist/221.7dda84a384bc00c55566.bundle.js +0 -1
- package/dist/222.c0edffeb2023a1dba4ac.bundle.js +0 -1
- package/dist/223.31f0c6bb2e15e10be980.bundle.js +0 -1
- package/dist/224.361615667e7a6bdf1fc2.bundle.js +0 -1
- package/dist/225.21c28083063d4a7aaab7.bundle.js +0 -1
- package/dist/226.d1121ede6976400c1a23.bundle.js +0 -1
- package/dist/227.ceaeca3f12b7e7db0021.bundle.js +0 -1
- package/dist/228.3d34bca555d0fc4ee740.bundle.js +0 -1
- package/dist/229.a87125dd09792bf42b0d.bundle.js +0 -1
- package/dist/23.1682a6008bd0d95faf90.bundle.js +0 -1
- package/dist/230.cf2f4366f1003f5e7ddc.bundle.js +0 -1
- package/dist/231.63ae4d2d8d3a80af8e9c.bundle.js +0 -1
- package/dist/232.532c2c1fc79324931c18.bundle.js +0 -1
- package/dist/233.be0f49305f38afcdc76f.bundle.js +0 -1
- package/dist/234.d5a17ada1d014cac4bf1.bundle.js +0 -1
- package/dist/235.fd0f135bed8d9aa9d8b9.bundle.js +0 -1
- package/dist/236.2fab61ea1821b2d48140.bundle.js +0 -1
- package/dist/237.f3de9a6d7b82a086c84d.bundle.js +0 -1
- package/dist/238.e5b823d4f44e38530c59.bundle.js +0 -1
- package/dist/239.c00c010a57655ba1ca48.bundle.js +0 -1
- package/dist/24.092d1c7265e0db1f42ab.bundle.js +0 -1
- package/dist/240.5ddd10f88e048357cc30.bundle.js +0 -1
- package/dist/241.7aae139381dd12e0a2ff.bundle.js +0 -1
- package/dist/242.676ebfcf05323f518e4b.bundle.js +0 -1
- package/dist/243.1a3ad7ed5fcbed36a7d4.bundle.js +0 -1
- package/dist/244.9fe9a2950403d95aee3f.bundle.js +0 -1
- package/dist/245.ad049531bcf4b1c43c9d.bundle.js +0 -1
- package/dist/246.4430b43f6888b691263a.bundle.js +0 -1
- package/dist/247.76e609696869f002c27e.bundle.js +0 -1
- package/dist/248.65dffe03c824d06e9472.bundle.js +0 -1
- package/dist/249.6d343bf38e44e655a01d.bundle.js +0 -1
- package/dist/25.4c5cab9b354e3166a8b5.bundle.js +0 -7
- package/dist/250.47a3dc25d91ba0bd137d.bundle.js +0 -1
- package/dist/251.02522343132947efa209.bundle.js +0 -1
- package/dist/252.c215d35e9ea64dc97021.bundle.js +0 -1
- package/dist/253.b4b3cb1a6a43c7c555ce.bundle.js +0 -1
- package/dist/254.32793ced3191638e07f7.bundle.js +0 -1
- package/dist/255.d700425abffbba211f22.bundle.js +0 -1
- package/dist/256.8a661518a8ca8a106e25.bundle.js +0 -1
- package/dist/257.32b8d27f00d62f59718a.bundle.js +0 -1
- package/dist/258.b5d3a329be1838060070.bundle.js +0 -1
- package/dist/259.35ead69e8a8fc3f20803.bundle.js +0 -1
- package/dist/26.4bb6634489d7a22d0da5.bundle.js +0 -2
- package/dist/260.5d40871564a5734d93d3.bundle.js +0 -1
- package/dist/261.246e87866551b241dbea.bundle.js +0 -1
- package/dist/262.b409788ee46c6a213256.bundle.js +0 -1
- package/dist/263.e330ffddc204c71f5318.bundle.js +0 -1
- package/dist/264.b8fe18155b445edab6f2.bundle.js +0 -1
- package/dist/265.580dc9bf14db22c23701.bundle.js +0 -1
- package/dist/266.6f626e14a150eff5a529.bundle.js +0 -1
- package/dist/267.b0091dd918bd61fe341d.bundle.js +0 -1
- package/dist/268.4887e67c1d209fc2c75a.bundle.js +0 -1
- package/dist/269.7e1e6476e80e6d690449.bundle.js +0 -1
- package/dist/27.77d0f0e69af0aa295911.bundle.js +0 -2
- package/dist/270.a0668614c14e34e34d30.bundle.js +0 -1
- package/dist/271.054d0060bc9089b52390.bundle.js +0 -1
- package/dist/272.2ef33068e12e2e847934.bundle.js +0 -1
- package/dist/273.fb8753cd726a7297636a.bundle.js +0 -1
- package/dist/274.fd1b8b77b01c6db92ef1.bundle.js +0 -1
- package/dist/275.eb9660ea3fc1a3c2d3c1.bundle.js +0 -1
- package/dist/276.ed1294a8da988250aaf6.bundle.js +0 -1
- package/dist/277.f1f4db62fa04d8a61e3c.bundle.js +0 -1
- package/dist/278.1ddd12e8a5c5c30a51d9.bundle.js +0 -1
- package/dist/279.6c41cd2bbabf3165c95a.bundle.js +0 -1
- package/dist/28.49b4cc3baaa483601a40.bundle.js +0 -2
- package/dist/280.f84f9f1c61377cc7b18a.bundle.js +0 -1
- package/dist/281.00f8e53588b0ba9a3e1e.bundle.js +0 -1
- package/dist/282.f052e7eda0cac5f48c6e.bundle.js +0 -1
- package/dist/283.5c136f8a1649a9b01a94.bundle.js +0 -1
- package/dist/284.796b9659411b1940043c.bundle.js +0 -1
- package/dist/285.48e52fe263795967bd31.bundle.js +0 -1
- package/dist/286.829761f4007faae3fdf0.bundle.js +0 -1
- package/dist/287.2c2fa1ee7b83c5a502b2.bundle.js +0 -1
- package/dist/288.47f73977faceeac41b1c.bundle.js +0 -1
- package/dist/289.74e99b494aec0ed1f9dd.bundle.js +0 -1
- package/dist/29.f59c41b7a9575e1bf00b.bundle.js +0 -2
- package/dist/290.d8dd18f051e061a02a0e.bundle.js +0 -1
- package/dist/291.8c2d3f3ad0bc7d972e7e.bundle.js +0 -1
- package/dist/292.bc68563e9db971c07520.bundle.js +0 -1
- package/dist/293.80ae59cd0ad1fdf2085c.bundle.js +0 -1
- package/dist/294.82f470e8464a5a8ccff4.bundle.js +0 -1
- package/dist/295.496ae5be4e3c76449794.bundle.js +0 -1
- package/dist/296.9288eef3352804afc290.bundle.js +0 -1
- package/dist/297.299cfe0842c26821bf5b.bundle.js +0 -1
- package/dist/298.7d40e66d63cf5d80f906.bundle.js +0 -1
- package/dist/299.0ec0ce1d77aa2cfea02b.bundle.js +0 -1
- package/dist/3.2813075bb652b73580a9.bundle.js +0 -1
- package/dist/30.93303c7c0be8a5f07589.bundle.js +0 -1
- package/dist/300.747bfe55f65d7dd4ffe7.bundle.js +0 -1
- package/dist/301.98211ba42108eb1511c8.bundle.js +0 -1
- package/dist/302.33f0916c9326e4f72cc2.bundle.js +0 -1
- package/dist/303.f1c30b06a38a5bf25af9.bundle.js +0 -1
- package/dist/304.2d936dbb91365972fbf7.bundle.js +0 -1
- package/dist/305.6de904006ea54fccc04c.bundle.js +0 -1
- package/dist/306.8d94eb96a8d1b5b33df7.bundle.js +0 -1
- package/dist/307.1f24ad245fd3516a621d.bundle.js +0 -1
- package/dist/308.4c9032bad6d20f3222a7.bundle.js +0 -1
- package/dist/309.e6f11e727e2eb5b70c97.bundle.js +0 -1
- package/dist/31.ccd898e2293a9f70ec32.bundle.js +0 -2
- package/dist/310.2bb8ffe346f58f6abc23.bundle.js +0 -1
- package/dist/311.6a9a0f52950c71c313fd.bundle.js +0 -1
- package/dist/312.13ca05cb147d44bcfcac.bundle.js +0 -1
- package/dist/313.bf7917ce93f59f21fd77.bundle.js +0 -1
- package/dist/314.aacb6d802e2cc3f7588d.bundle.js +0 -1
- package/dist/315.2701d68cb75576828049.bundle.js +0 -1
- package/dist/316.ae891de914bf44d6d170.bundle.js +0 -1
- package/dist/317.dc0f37c1f5290ff97cc6.bundle.js +0 -1
- package/dist/318.55a04b9fa17f6f0e00a5.bundle.js +0 -1
- package/dist/319.a7d9159734eb4bb7a39f.bundle.js +0 -1
- package/dist/32.7950919d6482ca69ef72.bundle.js +0 -1
- package/dist/320.9242198516e525e1e70c.bundle.js +0 -1
- package/dist/321.e2618a43cae4d518ef04.bundle.js +0 -1
- package/dist/322.a50027d62c9d64c85a3e.bundle.js +0 -1
- package/dist/323.b8ac978d9ee318c2eb20.bundle.js +0 -1
- package/dist/324.caf075cf0dca1f54d227.bundle.js +0 -1
- package/dist/325.5e62a94c5dfcb30043af.bundle.js +0 -1
- package/dist/326.777730b4f015fa773786.bundle.js +0 -1
- package/dist/327.a19c7d3ce09e4cae6509.bundle.js +0 -1
- package/dist/328.da6ec988151cc9ec583a.bundle.js +0 -1
- package/dist/329.ff588bd3675eb5a1beb0.bundle.js +0 -1
- package/dist/33.1bdfedc9e3f2241c553c.bundle.js +0 -1
- package/dist/330.785bf70194f71d418382.bundle.js +0 -1
- package/dist/331.373a6de2b4a857ecc8da.bundle.js +0 -1
- package/dist/332.a4aeebca6a641a347cda.bundle.js +0 -1
- package/dist/333.c32cf6b1553b5227436a.bundle.js +0 -1
- package/dist/334.b8c76503ff44ba71f5b6.bundle.js +0 -1
- package/dist/335.3ecb3310891bcbed7268.bundle.js +0 -1
- package/dist/336.dfa65b34e697b1b1ac64.bundle.js +0 -1
- package/dist/337.b93e72b75b6598682a4c.bundle.js +0 -1
- package/dist/338.1ba48951e4de865748c2.bundle.js +0 -1
- package/dist/339.0cdca375ee5121410e31.bundle.js +0 -1
- package/dist/34.cbc8dbaaabff9164d51f.bundle.js +0 -1
- package/dist/340.81f1888a13c70ade8627.bundle.js +0 -1
- package/dist/341.cf5a3c17e04c00648dc9.bundle.js +0 -1
- package/dist/342.ba2b2d1979093b6aec07.bundle.js +0 -1
- package/dist/343.9aa510f93edfd883adae.bundle.js +0 -1
- package/dist/344.5460553d749c6370b238.bundle.js +0 -1
- package/dist/345.cf39fc1496e54186bf2c.bundle.js +0 -1
- package/dist/346.0a242b488c8df821d0e7.bundle.js +0 -1
- package/dist/347.7d00c7ed1a32d64869ac.bundle.js +0 -1
- package/dist/348.7ca92fe134ed5d63ea36.bundle.js +0 -1
- package/dist/349.d4b773e5d267ff8c0e10.bundle.js +0 -1
- package/dist/35.0f7895368cb13bd4a764.bundle.js +0 -1
- package/dist/350.b1ce06af996df2b0d3d1.bundle.js +0 -1
- package/dist/351.12fb1851e5399b981ded.bundle.js +0 -1
- package/dist/352.eba222986867655327be.bundle.js +0 -1
- package/dist/358.b32249ac9b6ae115d452.bundle.js +0 -1
- package/dist/359.c3171aaa19b2e461f0a0.bundle.js +0 -1
- package/dist/36.9ae4ed93a06b413cc854.bundle.js +0 -1
- package/dist/360.48abba251df210654ccc.bundle.js +0 -1
- package/dist/361.336be99ee6d694c7c103.bundle.js +0 -1
- package/dist/362.84ae5d77160bf7f16679.bundle.js +0 -1
- package/dist/363.3a00834405200eec69cc.bundle.js +0 -1
- package/dist/364.ee79f766fb3f69ce5ca9.bundle.js +0 -1
- package/dist/365.087e6cc9e0439464c03a.bundle.js +0 -1
- package/dist/366.f48d1bceba4c26df28e4.bundle.js +0 -1
- package/dist/367.2529b1b997e87b89b560.bundle.js +0 -1
- package/dist/368.a9020a981b0cbecf9a69.bundle.js +0 -1
- package/dist/369.9c5b3e9db200c421c947.bundle.js +0 -1
- package/dist/37.c39fd97314473d6002d9.bundle.js +0 -1
- package/dist/370.024dd791acc36415b62f.bundle.js +0 -1
- package/dist/371.9fe375a48550d1515a1f.bundle.js +0 -1
- package/dist/372.4ce5c1e481d27ab93cfe.bundle.js +0 -1
- package/dist/373.863d48417887d94113db.bundle.js +0 -1
- package/dist/374.a8e95f21a7ae4b63fb52.bundle.js +0 -1
- package/dist/375.3a7d87a1141aae5232ef.bundle.js +0 -1
- package/dist/376.be75306a7a71b8f3e1b0.bundle.js +0 -1
- package/dist/377.881ff9020e8b9d7358cd.bundle.js +0 -1
- package/dist/378.3417048c7ce9de696cf7.bundle.js +0 -1
- package/dist/379.4c8c61a881cdfdf17f90.bundle.js +0 -1
- package/dist/38.8f275a9e264d36b2c70b.bundle.js +0 -1
- package/dist/380.75bbf250830759f7c1a2.bundle.js +0 -1
- package/dist/381.d9cdbd7f5d110910d098.bundle.js +0 -1
- package/dist/382.a665dc58b2aed3de61c5.bundle.js +0 -1
- package/dist/383.b120c87b2b95293f2a0c.bundle.js +0 -1
- package/dist/384.ba697d4215821d37b18e.bundle.js +0 -1
- package/dist/385.dc17fa2e81fbe11461be.bundle.js +0 -1
- package/dist/386.653219baf75315817a5b.bundle.js +0 -1
- package/dist/387.5e93cc8427f852447345.bundle.js +0 -1
- package/dist/388.53cf1956d3a7ddd7dc37.bundle.js +0 -1
- package/dist/389.b11fd203892cc6ed869c.bundle.js +0 -1
- package/dist/39.883559de98aba7b019bf.bundle.js +0 -1
- package/dist/390.7e6d7234b53c224349dd.bundle.js +0 -1
- package/dist/391.9907c36e13cfe73dbd29.bundle.js +0 -1
- package/dist/392.733f2574bdad3f94378b.bundle.js +0 -1
- package/dist/393.66925e26351e81c1956b.bundle.js +0 -1
- package/dist/394.6977a1805a10ec3e85ff.bundle.js +0 -1
- package/dist/395.4335bbcb2621299727d0.bundle.js +0 -1
- package/dist/396.9b1ad5af0d5b0593ecfa.bundle.js +0 -1
- package/dist/397.75140ef3f6957f709a2e.bundle.js +0 -1
- package/dist/398.6b28394afad17f664110.bundle.js +0 -1
- package/dist/399.9eb4f9d81157a8f33bb6.bundle.js +0 -1
- package/dist/4.b85e9ffad327e324c1b7.bundle.js +0 -2
- package/dist/40.9164b60204350883cae9.bundle.js +0 -1
- package/dist/400.f51f5953eae08bae7d7e.bundle.js +0 -1
- package/dist/401.e3ad83ae93f50abbca65.bundle.js +0 -1
- package/dist/402.7025fa7f573f641b3aab.bundle.js +0 -1
- package/dist/403.b8363f2294875e62af5c.bundle.js +0 -1
- package/dist/404.104252098145dac167fe.bundle.js +0 -1
- package/dist/405.01bbe6cd0fb6ed4cecce.bundle.js +0 -1
- package/dist/406.40dc61fec7ed7c63fc74.bundle.js +0 -1
- package/dist/407.f5aa174e3ec3bf80033f.bundle.js +0 -1
- package/dist/408.81265bfc27e238702332.bundle.js +0 -1
- package/dist/409.9cea1c84c743d05b0892.bundle.js +0 -1
- package/dist/41.1077d0f34c280c0afe0c.bundle.js +0 -1
- package/dist/410.7ca23f6ecf21b74378f9.bundle.js +0 -1
- package/dist/411.99b33cebb61598fb870e.bundle.js +0 -1
- package/dist/412.fee65a08c179bc98ff52.bundle.js +0 -1
- package/dist/413.191cb99257de0f3ab7ab.bundle.js +0 -1
- package/dist/414.c61d633b11060de73d1a.bundle.js +0 -1
- package/dist/415.4b0e08c2dd832cc5bb5a.bundle.js +0 -1
- package/dist/416.467bfceb27ce6b6e746d.bundle.js +0 -1
- package/dist/417.9f6267a5a2760370e737.bundle.js +0 -1
- package/dist/418.0cf20f9e3e3e092872d2.bundle.js +0 -1
- package/dist/419.27cd2934d2c790dbcd21.bundle.js +0 -1
- package/dist/42.450b39e0d9425f0a59e5.bundle.js +0 -1
- package/dist/420.d1a50a9f5575977117b0.bundle.js +0 -1
- package/dist/421.cb35f839508e9444f839.bundle.js +0 -1
- package/dist/422.d9206790188c0c8a38e7.bundle.js +0 -1
- package/dist/423.445a01869f4ce0277f2c.bundle.js +0 -1
- package/dist/424.720574a21db9fd4d5724.bundle.js +0 -1
- package/dist/425.150e8377cd3bca104695.bundle.js +0 -1
- package/dist/426.5163719c9d40878e626e.bundle.js +0 -1
- package/dist/427.733a15ff9fd2be8212db.bundle.js +0 -1
- package/dist/428.232ac44d5ece5f1b3279.bundle.js +0 -1
- package/dist/429.a963f31a0f432d6260e5.bundle.js +0 -1
- package/dist/43.6d6aab7de80289e10eb7.bundle.js +0 -1
- package/dist/430.c4855793e15dd6c3d040.bundle.js +0 -1
- package/dist/431.61fd5ce7b2b90afaccb0.bundle.js +0 -1
- package/dist/432.8c8e6b7a45405661d7ed.bundle.js +0 -1
- package/dist/433.9229e1e3f9ae4240dc82.bundle.js +0 -1
- package/dist/434.f9234cdbb296901be6e0.bundle.js +0 -1
- package/dist/435.903b2e2b0f519bd0b117.bundle.js +0 -1
- package/dist/436.b135ba25b0e30f6d0d17.bundle.js +0 -1
- package/dist/437.a0e59031e05c4b8613d6.bundle.js +0 -1
- package/dist/438.7781354f58ce2510e160.bundle.js +0 -1
- package/dist/439.3b983930218a884725b5.bundle.js +0 -1
- package/dist/44.d6e02854f3b2959ea57d.bundle.js +0 -1
- package/dist/440.6ba2531f5f36642590f2.bundle.js +0 -1
- package/dist/441.c3e1cc35fbf1829648a6.bundle.js +0 -1
- package/dist/442.25c6a324f083f464ad5f.bundle.js +0 -1
- package/dist/443.7ec8855f1bff69c600eb.bundle.js +0 -1
- package/dist/444.59b1f579c3fb46b5e52b.bundle.js +0 -1
- package/dist/445.2bf8d2d2521f64243b26.bundle.js +0 -1
- package/dist/446.950c3d514b3d3a83de2f.bundle.js +0 -1
- package/dist/45.6094f3e8fe98ed4a4076.bundle.js +0 -1
- package/dist/46.349483bb4bba3321eeab.bundle.js +0 -1
- package/dist/47.f40d9153a4e471218b53.bundle.js +0 -1
- package/dist/48.080c8e1f17b3c81af0c0.bundle.js +0 -1
- package/dist/49.8da297bb650096c488a9.bundle.js +0 -1
- package/dist/5.73f5ec790a311a481966.bundle.js +0 -1
- package/dist/50.f68e92180119e651db4a.bundle.js +0 -1
- package/dist/51.7c2a616d314f6ba9ae96.bundle.js +0 -1
- package/dist/52.dd613c5fa5e687e78d72.bundle.js +0 -1
- package/dist/53.58eeb8255b593582bef8.bundle.js +0 -1
- package/dist/54.a864ff52bea3c9d6b48e.bundle.js +0 -1
- package/dist/55.ea2f4b3d6cdedcaab3b8.bundle.js +0 -1
- package/dist/56.435b5127637e2d7f8675.bundle.js +0 -2
- package/dist/57.9572bdb8a6a16f1a10d9.bundle.js +0 -1
- package/dist/58.9602e7ccbf188d062ddb.bundle.js +0 -1
- package/dist/59.e12672dd58b4009c9bfa.bundle.js +0 -1
- package/dist/6.227c28eec254abd232fb.bundle.js +0 -1
- package/dist/60.0dc798993cb62f4ca6dc.bundle.js +0 -1
- package/dist/61.10da773b75e7b486624e.bundle.js +0 -1
- package/dist/62.98ee1818cd67bcfa4af7.bundle.js +0 -1
- package/dist/63.b581ae693098f4484485.bundle.js +0 -1
- package/dist/64.96d118da905a7df78cea.bundle.js +0 -1
- package/dist/65.f91a9f188f9854b3363a.bundle.js +0 -1
- package/dist/66.d2b3f27ef9b35a95bf2a.bundle.js +0 -1
- package/dist/67.a973abc0ba3af0cd6fdb.bundle.js +0 -1
- package/dist/68.3f0b990cce2565cf8aa8.bundle.js +0 -1
- package/dist/69.099c8b1177cd2ce29783.bundle.js +0 -1
- package/dist/7.25d338ea93e805e218a2.bundle.js +0 -1
- package/dist/70.e3fdc04514be1dd04150.bundle.js +0 -1
- package/dist/71.093fc0cad88358215e8e.bundle.js +0 -1
- package/dist/72.29e997cd57667999635b.bundle.js +0 -1
- package/dist/73.072a5c5e769547dfc4ef.bundle.js +0 -1
- package/dist/74.a7d8733c464d28c9c78b.bundle.js +0 -2
- package/dist/75.9d757184b452dddb2077.bundle.js +0 -1
- package/dist/76.7fcea5a1486ff9e0de16.bundle.js +0 -1
- package/dist/77.37caea655e37f6dcff31.bundle.js +0 -1
- package/dist/78.28adaa7066324e73227e.bundle.js +0 -1
- package/dist/79.21ad71d47c50061f733f.bundle.js +0 -1
- package/dist/8.2b11af3191b33061d948.bundle.js +0 -1
- package/dist/80.ece4d562daf7a7cb2ef7.bundle.js +0 -1
- package/dist/81.a7fb618e18098b9d3fb3.bundle.js +0 -1
- package/dist/82.61d4df7c7e126c74a909.bundle.js +0 -1
- package/dist/83.602a860c3dfb202ca804.bundle.js +0 -1
- package/dist/84.eb956be857427c3cefba.bundle.js +0 -2
- package/dist/85.1d7690708ab4df92f63c.bundle.js +0 -1
- package/dist/86.476ecb3ff5e1869e1955.bundle.js +0 -1
- package/dist/87.8e656f4239de0996d766.bundle.js +0 -1
- package/dist/88.9bf6180ad8c1f7e89948.bundle.js +0 -1
- package/dist/89.78c2b2b23b79b874c41d.bundle.js +0 -1
- package/dist/9.c9cd2144c7181d0224bd.bundle.js +0 -1
- package/dist/90.4943a22943263bf7af6d.bundle.js +0 -1
- package/dist/91.b304fa05b3c7f3e4699d.bundle.js +0 -1
- package/dist/92.a24f55a607cca76d6861.bundle.js +0 -1
- package/dist/93.5783d75ddd72d911a2e1.bundle.js +0 -1
- package/dist/94.6e52e613b069378c91e1.bundle.js +0 -1
- package/dist/95.a9c00389f5ba4bb24964.bundle.js +0 -1
- package/dist/96.2adc849b1d866ffd6436.bundle.js +0 -1
- package/dist/97.ae4cb7402f90fb835edc.bundle.js +0 -1
- package/dist/98.b18c513390c1246b24fa.bundle.js +0 -1
- package/dist/99.8fc530b0f955f9feb848.bundle.js +0 -1
- package/dist/bundle.f03702f69db014a4a726.bundle.js +0 -96
- package/dist/js/angular/graphql/templates/configure-endpoint.html +0 -33
- package/dist/js/angular/graphql/templates/select-schema-sources.html +0 -131
- package/dist/main.63445569f6ee6182d55c.css +0 -1
- package/dist/main.96ef3d6910da4296aa98.bundle.js +0 -1
- package/dist/polyfills-dom.eb4859c73eeb00670fcf.bundle.js +0 -19
- package/dist/vendor.87e0b9d2fd826096cf01.bundle.js +0 -25
- package/dist/vendors~polyfills-core-js.489b849c2dc98316e3b4.bundle.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[444],{479:function(t,o,e){"use strict";e.r(o),e.d(o,"keyboard_shortcuts_dialog",(function(){return i}));var r=e(47);const i=class{constructor(t){Object(r.g)(this,t),this.open=void 0,this.items=[],this.translationService=void 0}keydownListener(t){"Escape"===t.key&&(this.open=!1)}openDialog(){this.open=!0}closeDialog(t){const o=t.target;t.stopPropagation(),(o.classList.contains("close-button")||o.classList.contains("dialog-overlay"))&&(this.open=!1)}buildDialogConfig(){return{dialogTitle:this.translationService.translate("yasqe.keyboard_shortcuts.dialog.title"),onClose:this.closeDialog.bind(this)}}translateLabel(t){return this.translate(`yasqe.keyboard_shortcuts.dialog.item.${t}.label`)}translateDescription(t){return this.translate(`yasqe.keyboard_shortcuts.dialog.item.${t}.description`)}translate(t){return this.translationService?this.translationService.translate(t):t}render(){return Object(r.e)(r.a,{class:"keyboard-shortcuts-dialog-wrapper"},this.open&&Object(r.e)("ontotext-dialog-web-component",{config:this.buildDialogConfig()},Object(r.e)("div",{slot:"body"},this.items.map(t=>Object(r.e)("div",{class:"keyboard-shortcut-description-item"},Object(r.e)("kbd",{class:"keyboard-shortcut-description-item-label"},Object(r.e)("span",null,this.translateLabel(t))),Object(r.e)("div",{class:"keyboard-shortcut-description-item-description"},this.translateDescription(t)))))),!this.open&&Object(r.e)("button",{class:"keyboard-shortcuts-dialog-button",onClick:()=>this.openDialog()},this.translate("yasqe.keyboard_shortcuts.btn.label")))}};i.style=".keyboard-shortcuts-dialog-wrapper{display:flex;justify-content:flex-end;margin-top:-9px;margin-right:1px;z-index:1015}.keyboard-shortcuts-dialog-wrapper .keyboard-shortcuts-dialog-button{background-color:#f7f7f7;outline:none;border:0.5px solid #EBEBEB;cursor:pointer;position:relative;z-index:1015}.keyboard-shortcuts-dialog-wrapper .dialog{min-width:80vw}.keyboard-shortcuts-dialog-wrapper .dialog .dialog-footer{display:none}.keyboard-shortcuts-dialog-wrapper .keyboard-shortcut-description-item{display:flex;flex-direction:row;gap:10px;padding-bottom:10px}.keyboard-shortcuts-dialog-wrapper .keyboard-shortcut-description-item-label{width:50%;text-align:end;font-size:14px}.keyboard-shortcuts-dialog-wrapper .keyboard-shortcut-description-item-label span{color:#fff;background-color:#333;border-radius:0.2rem;padding:4px}.keyboard-shortcuts-dialog-wrapper .keyboard-shortcut-description-item-description{width:50%;font-size:20px}.keyboard-shortcuts-dialog-wrapper kbd{background-color:#FFF}.keyboard-shortcuts-dialog-wrapper.resizeable-on{margin-top:-29px}.yasqe-fullscreen .keyboard-shortcuts-dialog-wrapper .keyboard-shortcuts-dialog-button{position:fixed;bottom:0;right:0}"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[445],{483:function(e,t,i){"use strict";i.r(t),i.d(t,"ontotext_editable_text_field",(function(){return s}));var a=i(47);const s=class{constructor(e){Object(a.g)(this,e),this.valueChanged=Object(a.c)(this,"valueChanged",7),this.componentModeChanged=Object(a.c)(this,"componentModeChanged",7),this.skipFirstClickOutside=!0,this.value=void 0,this.edit=!1,this.translationService=void 0}handleEditModeChange(e){this.edit=e,this.editedValue=this.value,this.componentModeChanged.emit(this.edit)}handleClickOutside(e){if(!this.edit||this.skipFirstClickOutside)return void(this.skipFirstClickOutside=!1);const t=e.target;this.hostElement.contains(t)||!this.inputElement||this.inputElement.contains(t)||(this.save(),this.cancel())}keydownListener(e){this.edit&&("Enter"===e.key?this.save():"Escape"===e.key&&this.cancel())}componentDidLoad(){this.editedValue=this.value}componentDidUpdate(){this.edit&&this.inputElement&&(this.inputElement.focus(),this.inputElement.select())}handleValueChanged(e){this.editedValue=e.target.value}openEditMode(){this.edit=!0,this.editedValue=this.value,this.skipFirstClickOutside=!0}save(){const e=this.value!==this.editedValue;this.value=this.editedValue,this.edit=!1,e&&this.valueChanged.emit(this.value)}cancel(){this.edit=!1,this.editedValue=this.value}render(){return Object(a.e)(a.a,{onDblClick:this.openEditMode,class:"editable-text-field-wrapper"},!this.edit&&Object(a.e)("div",{class:"preview-value"},this.value),this.edit&&Object(a.e)("div",{class:"edit-mode-container"},Object(a.e)("input",{class:"editable-text-field",type:"text",value:this.editedValue,onInput:e=>this.handleValueChanged(e),ref:e=>this.inputElement=e}),Object(a.e)("button",{onClick:()=>this.save(),class:"save-btn",title:this.translationService?this.translationService.translate("yasqe.tab_list.tab_rename.save.btn.label"):""},Object(a.e)("span",{class:"save-btn-label icon-tick"})),Object(a.e)("button",{onClick:()=>this.cancel(),class:"cancel-btn",title:this.translationService?this.translationService.translate("yasqe.tab_list.tab_rename.cancel.btn.label"):""},Object(a.e)("span",{class:"cancel-btn-label icon-close"}))))}get hostElement(){return Object(a.d)(this)}static get watchers(){return{edit:["handleEditModeChange"]}}};s.style=":host{display:flex;flex-direction:row;align-items:stretch}.editable-text-field-wrapper:hover{cursor:pointer}.editable-text-field-wrapper{display:flex;align-items:center}.editable-text-field-wrapper .edit-mode-container{display:flex;justify-content:space-between}.editable-text-field-wrapper .editable-text-field{outline-color:#00000059;border:1px solid #00000059;padding:0}.editable-text-field-wrapper .save-btn,.editable-text-field-wrapper .cancel-btn{border:none;outline:none;margin-left:6px}.editable-text-field-wrapper .save-btn{color:white;background-color:#e84e0f}.editable-text-field-wrapper .save-btn:hover{background-color:#d0460d}.editable-text-field-wrapper .cancel-btn:hover,.editable-text-field-wrapper .save-btn:hover{cursor:pointer}.editable-text-field-wrapper .cancel-btn:hover .cancel-btn-label,.editable-text-field-wrapper .save-btn:hover .save-btn-label{transform:scale(1.2);transition:transform 0.15s ease-out}.editable-text-field-wrapper .preview-value{padding-top:1px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[446],{484:function(e,t,s){"use strict";s.r(t),s.d(t,"ontotext_pagination",(function(){return o}));var i=s(47);class a{constructor(e,t){this._pageSize=e,this._pageNumber=t}get pageSize(){return this._pageSize}get pageNumber(){return this._pageNumber}}const o=class{constructor(e){Object(i.g)(this,e),this.pageSelected=Object(i.c)(this,"pageSelected",7),this.VISIBLE_PAGES_COUNT=5,this.PAGES_COUNT_AROUND_CURRENT=2,this.pageNumber=1,this.pageSize=10,this.totalElements=0,this.pageElements=void 0,this.hasMorePages=void 0,this.selectPage(this.pageNumber)}getShownPageNumbers(){const e=this.fetchLastShownPage(),t=[];for(let s=this.fetchFirstShownPage(e);s<=e;s++)t.push(s);return t}fetchLastShownPage(){const e=this.pageNumber;let t=e;const s=e<=3?this.VISIBLE_PAGES_COUNT-e:this.PAGES_COUNT_AROUND_CURRENT;for(let i=0;i<s;i++)(e+i)*this.pageSize<this.totalElements&&(t+=1);return t}fetchFirstShownPage(e){const t=e-this.VISIBLE_PAGES_COUNT+1;return t<1?1:t}previousButtonDisabled(){return this.pageNumber<this.PAGES_COUNT_AROUND_CURRENT}nextButtonDisabled(){return this.totalElements&&this.totalElements>=0?this.pageNumber*this.pageSize>=this.totalElements:!this.hasMorePages}nextPage(){this.pageSelected.emit(new a(this.pageSize,this.pageNumber+1))}previousPage(){this.pageSelected.emit(new a(this.pageSize,this.pageNumber-1))}selectPage(e){this.pageNumber!==e&&this.pageSelected.emit(new a(this.pageSize,e))}render(){return Object(i.e)(i.a,{class:"ontotext-pagination"},Object(i.e)("div",{class:"page-selectors"},Object(i.e)("button",{class:"page-selector previous-button",onClick:()=>this.previousPage(),disabled:this.previousButtonDisabled()},"‹"),this.getShownPageNumbers().map(e=>Object(i.e)("button",{class:"page-button page-selector "+(this.pageNumber===e?"selected-page":""),onClick:()=>this.selectPage(e),disabled:this.pageNumber===e},e)),Object(i.e)("button",{class:"page-selector next-button",onClick:()=>this.nextPage(),disabled:this.nextButtonDisabled()},"›")))}};o.style=".ontotext-pagination .page-selectors{height:100%;display:flex;justify-content:space-around;align-items:center;min-width:100px}.ontotext-pagination .page-selector{color:#0060b0;padding:2px 5px;background-color:#FFF;border:none;cursor:pointer}.ontotext-pagination .page-selector:disabled{cursor:unset}.ontotext-pagination .previous-button:disabled,.ontotext-pagination .next-button:disabled{opacity:0.4}.ontotext-pagination .selected-page{background-color:#e84e0f;color:#FFFFFF}"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[45,71,82,276,277,322],{100:function(t,e,i){"use strict";i.r(e),i.d(e,"mapIndexesResponseToSimilarityIndex",(function(){return r}));var n=i(95),r=function(t){return t.map((function(t){var e=new n.SimilarityIndex;return e.type=t.type,e.stopList=t.stopList,e.status=t.status,e.selectQuery=t.selectQuery,e.searchQuery=t.searchQuery,e.sameAs=t.sameAs,e.options=t.options,e.name=t.name,e.infer=t.infer,e.analyzer=t.analyzer,e.analogicalQuery=t.analogicalQuery,e}))}},104:function(t,e){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",i),i.$inject=["$http","$repositories"];function i(t){return{getIndexes:function(e,i){if(e)return t.get("rest/similarity",{headers:{"X-GraphDB-Repository":e,"X-GraphDB-Repository-Location":i}});return t.get("rest/similarity")},getSearchQueries:function(){return t.get("".concat("rest/similarity","/config"))},rebuildIndex:function(t){return e("PUT",t.name,t.options,t.selectQuery,t.searchQuery,t.analogicalQuery,t.stopList,t.infer,t.sameAs,t.type)},deleteIndex:function(e){return t.delete("".concat("rest/similarity","?name=").concat(e.name))},createIndex:e,getSamples:function(){return t.get("".concat("rest/similarity","/samples"))},getQuery:function(e){return t.get("rest/similarity/query",{params:{name:e.indexName,options:e.indexOptions,stopList:e.indexStopList,selectQuery:e.query,infer:e.queryInference,sameAs:e.querySameAs,type:e.viewType,analyzer:e.indexAnalyzer}})},saveSearchQuery:function(e){return t({method:"put",url:"rest/similarity/search-query",data:e})}};function e(e,i,n,r,s,u,a,o,c,l,y){return t({method:e,url:"".concat("rest/similarity"),noCancelOnRouteChange:!0,data:{name:i,options:n,selectQuery:r,stopList:a,infer:o,sameAs:c,type:l,analyzer:y,searchQuery:s,analogicalQuery:u}})}}},106:function(t,e,i){"use strict";i.r(e);i(104);var n=i(100),r=i(19);function s(t){var e=function(e,i){return t.getIndexes(e,i).then((function(t){return Object(n.mapIndexesResponseToSimilarityIndex)(t.data)}))};return{getIndexes:e,getIndexesAsMenuModel:function(t,i){return e(t,i).then((function(t){return t.map((function(t){return new r.SelectMenuOptionsModel({label:t.name,value:t.name})}))}))}}}angular.module("graphdb.framework.core.services.similarity",["graphdb.framework.rest.similarity.service"]).factory("SimilarityService",s),s.$inject=["SimilarityRestService"]},92:function(t,e,i){"use strict";i.r(e),i.d(e,"SimilarityIndexType",(function(){return n}));var n={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:function(t){return n.TEXT===t},isTextLiteralType:function(t){return n.TEXT_LITERAL===t},isPredicationType:function(t){return n.PREDICATION===t}}},93:function(t,e,i){"use strict";i.r(e),i.d(e,"SimilarityIndexStatus",(function(){return n}));var n={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:function(t){return n.CREATING===t},isBuildingStatus:function(t){return n.BUILDING===t},isBuiltStatus:function(t){return n.BUILT===t},isRebuildingStatus:function(t){return n.REBUILDING===t},isOutdatedStatus:function(t){return n.OUTDATED===t},isInterruptedStatus:function(t){return n.INTERRUPTED===t},isObsoleteStatus:function(t){return n.OBSOLETE===t},isFailedStatus:function(t){return n.FAILED===t}}},95:function(t,e,i){"use strict";i.r(e),i.d(e,"SimilarityIndex",(function(){return o}));var n=i(92),r=i(93);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var o=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=n.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""},(e=[{key:"isTextType",value:function(){return n.SimilarityIndexType.isTextType(this.type)}},{key:"isTextLiteralType",value:function(){return n.SimilarityIndexType.isTextLiteralType(this.type)}},{key:"isPredicationType",value:function(){return n.SimilarityIndexType.isPredicationType(this.type)}},{key:"isCreatingStatus",value:function(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}},{key:"isBuildingStatus",value:function(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}},{key:"isBuiltStatus",value:function(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}},{key:"isRebuildingStatus",value:function(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}},{key:"isOutdatedStatus",value:function(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}},{key:"isInterruptedStatus",value:function(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}},{key:"isObsoleteStatus",value:function(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}},{key:"isFailedStatus",value:function(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}])&&u(t.prototype,e),i&&u(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,i}()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[46,106,219,255,263,347],{101:function(e,t){function r(e,t){return{showToastMessageWithDelay:function(r){return new Promise((function(n){e.success(t.instant(r)),setTimeout(n,200)}))}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",r),r.$inject=["toastr","$translate"]},116:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.r(t),r.d(t,"StartMode",(function(){return s})),r.d(t,"GraphsConfig",(function(){return u}));var s={QUERY:"query",NODE:"node",SEARCH:"search"},u=function(){return e=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.SEARCH,i=arguments.length>3?arguments[3]:void 0,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=arguments.length>6?arguments[6]:void 0,f=arguments.length>7?arguments[7]:void 0,p=arguments.length>8?arguments[8]:void 0,h=arguments.length>9?arguments[9]:void 0,l=arguments.length>10?arguments[10]:void 0,d=arguments.length>11?arguments[11]:void 0,y=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,v=arguments.length>14?arguments[14]:void 0,m=arguments.length>15?arguments[15]:void 0,w=arguments.length>16?arguments[16]:void 0,Q=arguments.length>17?arguments[17]:void 0,b=arguments.length>18?arguments[18]:void 0,E=arguments.length>19?arguments[19]:void 0,_=arguments.length>20?arguments[20]:void 0;o(this,e),this._id=t,this._name=r,this._startMode=n,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=u,this._startGraphQuery=c,this._startIRI=f,this._startIRILabel=p,this._expandQuery=h,this._resourceQuery=l,this._predicateLabelQuery=d,this._resourcePropertiesQuery=y,this._shared=g,this._description=v,this._hint=m,this._startGraphQueryDescription=w,this._expandQueryDescription=Q,this._resourceQueryDescription=b,this._predicateLabelQueryDescription=E,this._resourcePropertiesQueryDescription=_},(t=[{key:"isStartMode",value:function(e){return this.startMode===e}},{key:"isDefaultGraph",value:function(){return"Minimal"===this.name||"Advanced"===this.name}},{key:"getPropertyDescription",value:function(e){return this["".concat(e,"Description")]}},{key:"getQueryType",value:function(e){var t;return this.isStartMode(s.QUERY)&&1===e?t=this.startGraphQuery:2===e?t=this.expandQuery:3===e?t=this.resourceQuery:4===e?t=this.predicateLabelQuery:5===e&&(t=this.resourcePropertiesQuery),t||""}},{key:"updateModel",value:function(e,t){return this.isStartMode(s.QUERY)&&1===t?this.startGraphQuery=e:2===t?this.expandQuery=e:3===t?this.resourceQuery=e:4===t?this.predicateLabelQuery=e:5===t&&(this.resourcePropertiesQuery=e),this}},{key:"toSavePayload",value:function(){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}}},{key:"id",get:function(){return this._id},set:function(e){this._id=e}},{key:"name",get:function(){return this._name},set:function(e){this._name=e}},{key:"startMode",get:function(){return this._startMode},set:function(e){this._startMode=e}},{key:"owner",get:function(){return this._owner},set:function(e){this._owner=e}},{key:"startQueryIncludeInferred",get:function(){return this._startQueryIncludeInferred},set:function(e){this._startQueryIncludeInferred=e}},{key:"startQuerySameAs",get:function(){return this._startQuerySameAs},set:function(e){this._startQuerySameAs=e}},{key:"startGraphQuery",get:function(){return this._startGraphQuery},set:function(e){this._startGraphQuery=e}},{key:"startIRI",get:function(){return this._startIRI},set:function(e){this._startIRI=e}},{key:"startIRILabel",get:function(){return this._startIRILabel},set:function(e){this._startIRILabel=e}},{key:"expandQuery",get:function(){return this._expandQuery},set:function(e){this._expandQuery=e}},{key:"resourceQuery",get:function(){return this._resourceQuery},set:function(e){this._resourceQuery=e}},{key:"predicateLabelQuery",get:function(){return this._predicateLabelQuery},set:function(e){this._predicateLabelQuery=e}},{key:"resourcePropertiesQuery",get:function(){return this._resourcePropertiesQuery},set:function(e){this._resourcePropertiesQuery=e}},{key:"shared",get:function(){return this._shared},set:function(e){this._shared=e}},{key:"description",get:function(){return this._description},set:function(e){this._description=e}},{key:"hint",get:function(){return this._hint},set:function(e){this._hint=e}},{key:"startGraphQueryDescription",get:function(){return this._startGraphQueryDescription},set:function(e){this._startGraphQueryDescription=e}},{key:"expandQueryDescription",get:function(){return this._expandQueryDescription},set:function(e){this._expandQueryDescription=e}},{key:"resourceQueryDescription",get:function(){return this._resourceQueryDescription},set:function(e){this._resourceQueryDescription=e}},{key:"predicateLabelQueryDescription",get:function(){return this._predicateLabelQueryDescription},set:function(e){this._predicateLabelQueryDescription=e}},{key:"resourcePropertiesQueryDescription",get:function(){return this._resourcePropertiesQueryDescription},set:function(e){this._resourcePropertiesQueryDescription=e}}])&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},141:function(e,t,r){"use strict";r.r(t),r.d(t,"mapGraphsConfigResponseToModel",(function(){return o})),r.d(t,"mapGraphConfigSampleToGraphConfig",(function(){return i})),r.d(t,"mapGraphConfigSamplesToGraphConfigs",(function(){return a}));var n=r(116),o=function(e){return new n.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)},i=function(e){return new n.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)},a=function(e){return e.map((function(e){return i(e)}))}},265:function(e,t,r){"use strict";r.r(t);r(101),r(13),r(23);var n=r(98),o=r(90),i=r(21),a=r(116),s=r(141),u=r(8);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d="suspendedStart",y="executing",g="completed",v={};function m(){}function w(){}function Q(){}var b={};p(b,a,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(G([])));_&&_!==r&&n.call(_,a)&&(b=_);var x=Q.prototype=m.prototype=Object.create(b);function I(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!==u.type){var f=u.arg,p=f.value;return p&&"object"==c(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(p).then((function(e){f.value=e,a(f)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=R(s,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=l(t,r,n);if("normal"===c.type){if(o=n.done?g:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function R(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,R(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=l(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function G(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(c(t)+" is not iterable")}return w.prototype=Q,o(x,"constructor",{value:Q,configurable:!0}),o(Q,"constructor",{value:w,configurable:!0}),w.displayName=p(Q,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,Q):(e.__proto__=Q,p(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},I(S.prototype),p(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(h(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},I(x),p(x,u,"Generator"),p(x,a,(function(){return this})),p(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=G,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:G(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,s,"next",e)}function s(e){p(i,n,o,a,s,"throw",e)}a(void 0)}))}}function l(e,t,r,c,p,l,d,y,g,v,m,w,Q,b,E,_,x){var I;t.newConfig=new a.GraphsConfig,t.revertConfig=void 0,t.page=1,t.totalPages=5,t.helpHidden=1===w.get(Q.HIDE_GRAPH_CONFIG_HELP),t.isUpdate=!1,t.shared=!1,t.canEditActiveRepo=t.canWriteActiveRepo(),t.samples=[],t.tabConfig={inference:t.newConfig.startQueryIncludeInferred,sameAs:t.newConfig.startQuerySameAs},t.isAutocompleteEnabled=void 0,t.repositoryNamespaces=void 0,t.tabsViewModel=[];var S=v.configName,C=l.getActiveRepository();t.toggleHelp=function(e){void 0===e&&(e=w.get(Q.HIDE_GRAPH_CONFIG_HELP)),1!==e?(w.set(Q.HIDE_GRAPH_CONFIG_HELP,1),t.helpHidden=!0):(w.set(Q.HIDE_GRAPH_CONFIG_HELP,0),t.helpHidden=!1)},t.fixedVisualCallback=function(e,r){t.newConfig.startIRI=e,t.newConfig.startIRILabel=r,I=!0},t.isDefaultGraph=function(e){return e.isDefaultGraph()},t.isUserGraph=function(e){return!e.isDefaultGraph()},t.getSampleName=function(e,t){if(!e)return"";var r=e.getPropertyDescription(t);return r||(e.id?"Copy of "+e.name:e.name)},t.createGraphConfig=function(e){g.createGraphConfig(e).success(h(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.showToastMessageWithDelay("graphexplore.saved.new.config");case 2:c.url("graphs-visualizations");case 3:case"end":return e.stop()}}),e)})))).error((function(e){p.error(getError(e),b.instant("graphexplore.error.could.not.create"))}))},t.updateGraphConfig=function(e){g.updateGraphConfig(e).success(h(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.showToastMessageWithDelay("graphexplore.saved.config");case 2:c.url("graphs-visualizations");case 3:case"end":return e.stop()}}),e)})))).error((function(e){p.error(getError(e),b.instant("graphexplore.error.could.not.save"))}))},t.goToPage=function(e){t.page!==e&&A((function(){t.showEditor(),t.page=e}))},t.goToPreviousPage=function(){t.page>1&&t.goToPage(t.page-1),j()&&(I=!1)},t.goToNextPage=function(){Y(),t.newConfig.isStartMode(a.StartMode.NODE)&&!I||t.goToPage(t.page+1)},t.saveGraphConfig=function(){Y(),j()&&!I||(t.newConfig.startQueryIncludeInferred=t.tabConfig.inference,t.newConfig.startQuerySameAs=t.tabConfig.sameAs,A((function(){t.newConfig.name?(t.queryEditorIsDirty=!1,t.isUpdate?t.updateGraphConfig(t.newConfig.toSavePayload()):t.createGraphConfig(t.newConfig.toSavePayload())):O(b.instant("graphexplore.provide.config.name"))})))},t.setQuery=function(){var e=h(f().mark((function e(r){var n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r||" ",e.next=3,R();case 3:e.sent.setQuery(n),t.markDirty();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.markDirty=h(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.revertConfig){e.next=6;break}return r=t.revertConfig.getQueryType(t.page),e.next=4,G();case 4:n=e.sent,t.queryEditorIsDirty=r!==n;case 6:case"end":return e.stop()}}),e)}))),t.showEditor=function(){t.viewMode="yasr",P(),D()},t.showPreview=function(){t.viewMode="editor",L()},t.revertEditor=function(){t.setQuery(t.revertConfig.getQueryType(t.page)),t.queryEditorIsDirty=!1};var R=function(){return i.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor")},L=function(){var e=h(f().mark((function e(r,n){var o,i;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R();case 2:return o=e.sent,e.next=5,o.getQueryType();case 5:if(i=e.sent,!n||"SELECT"===i||"CONSTRUCT"===i||"DESCRIBE"===i){e.next=9;break}return p.warning(b.instant("query.editor.warning.msg")),e.abrupt("return");case 9:return e.next=11,o.getQueryMode();case 11:if("update"!==e.sent){e.next=15;break}return p.warning(b.instant("cannot.execute.update.error")),e.abrupt("return");case 15:t.queryIsRunning||(t.viewMode="editor",k());case 16:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),k=function(){var e=h(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R();case 2:e.sent.query(o.RenderingMode.YASR);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=h(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R();case 2:return t=e.sent,e.abrupt("return",t.changeRenderMode(o.RenderingMode.YASQE));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=h(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R();case 2:return t=e.sent,e.abrupt("return",t.getQuery());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=h(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R();case 2:return t=e.sent,e.abrupt("return",t.abortQuery());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=h(f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,R();case 2:return r=e.sent,e.next=5,r.getQuery();case 5:return n=(n=e.sent).trim(),e.abrupt("return",t.newConfig.updateModel(n,t.page));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=h(f().mark((function e(r){var n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,M();case 2:n=e.sent,1===t.page?n.isStartMode(a.StartMode.NODE)&&!n.startIRI?O(b.instant("graphexplore.select.start.node")):n.isStartMode(a.StartMode.QUERY)&&!n.startGraphQuery?O(b.instant("graphexplore.provide.query")):n.isStartMode(a.StartMode.QUERY)?N(r,n.startGraphQuery,"graph"):r():2===t.page?N(r,n.expandQuery,"construct",["node"]):3===t.page?N(r,n.resourceQuery,"tuple",["node"],[],["type","label","comment","rank"]):4===t.page?N(r,n.predicateLabelQuery,"tuple",["edge"],["label"]):5===t.page&&N(r,n.resourcePropertiesQuery,"tuple",["node"],["property","value"]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){t.tabConfig.inference=t.newConfig.startQueryIncludeInferred,t.tabConfig.sameAs=t.newConfig.startQuerySameAs,t.setQuery(t.newConfig.getQueryType(t.page))},O=function(e){p.warning(e)},N=function(e,t,r,n,o,i){t?g.validateQuery(t,r,n,o,i).success((function(){e()})).error((function(e){O(getError(e))})):e()},Y=function(){j()&&t.$broadcast("addStartFixedNodeAutomatically",{startIRI:t.newConfig.startIRI})},j=function(){return 1===t.page&&t.newConfig.isStartMode(a.StartMode.NODE)},q=function(){g.getGraphConfigSamples().success((function(e){t.samples=Object(s.mapGraphConfigSamplesToGraphConfigs)(e).filter((function(e){return!e.id||t.newConfig.id!==e.id||(t.revertConfig=e,!1)}))})).error((function(e){p.error(getError(e),b.instant("graphexplore.error.graph.configs"))}))},$={endpoint:function(){return"repositories/".concat(l.getActiveRepository())},showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,yasqeActionButtons:i.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,showQueryButton:!1,initialQuery:" ",componentId:"graphs-config",render:o.RenderingMode.YASQE,maxPersistentResponseSize:0,showYasqeResizer:!1,yasqeMode:n.YasqeMode.PROTECTED,infer:t.newConfig.startQueryIncludeInferred,sameAs:t.newConfig.startQuerySameAs},U=function(e,r,n){t.queryIsRunning=e},H=function(){window.removeEventListener("beforeunload",F),z.forEach((function(e){return e()}))},F=function(e){t.queryEditorIsDirty&&(e.returnValue=!0)},W=function(){t.tabsViewModel=[{page:1,label:b.instant("starting.point.label"),type:"startGraphQuery"},{page:2,label:b.instant("graph.expansion"),type:"expandQuery"},{page:3,label:b.instant("node.basics"),type:"resourceQuery"},{page:4,label:b.instant("edge.basics"),type:"predicateLabelQuery"},{page:5,label:b.instant("node.extra"),type:"resourcePropertiesQuery"}]},z=[];z.push(_.onSelectedRepositoryIdUpdated((function(e){e?x.getNamespaces(e).then((function(e){t.repositoryNamespaces=e})).catch((function(e){var t=getError(e);p.error(t,b.instant("error.getting.namespaces.for.repo"))})):t.repositoryNamespaces=new u.NamespacesListModel}))),z.push(_.onAutocompleteEnabledUpdated((function(e){t.isAutocompleteEnabled=e}))),z.push(t.$on("$locationChangeStart",(function(e,r){if(t.queryEditorIsDirty){e.preventDefault();!function(e,t,r,n){E.openSimpleModal({title:e,message:t,warning:!0}).result.then((function(){angular.isFunction(r)&&r()}),(function(){angular.isFunction(n)&&n()}))}(b.instant("common.confirm"),b.instant("visual.config.warning.unsaved.changes"),(function(){H();var e=c.absUrl().length-c.url().length,t=r.substring(e);c.path(t)}))}else H()}))),z.push(t.$on("$destroy",H)),z.push(t.$watch(t.getActiveRepositoryObject,(function(){(t.newConfig.isStartMode(a.StartMode.QUERY)||t.page>1)&&(t.viewMode="yasr",P().then(D))}))),z.push(e.$on("$translateChangeSuccess",(function(){W()}))),window.addEventListener("beforeunload",F),t.$watch("newConfig.startMode",(function(e){e===a.StartMode.QUERY&&T()})),t.$watch("page",(function(e){(t.newConfig.isStartMode(a.StartMode.QUERY)||e>1)&&(t.showEditor(),T())})),W(),l.getPrefixes(C).then((function(e){return function(e){var r=t.$watch((function(){return t.getActiveRepositoryObject()}),(function(o){if(o){t.canEditActiveRepo=t.canWriteActiveRepo();var i=angular.extend({},$,{prefixes:e,yasqeMode:t.canWriteActiveRepo()?n.YasqeMode.WRITE:n.YasqeMode.PROTECTED});t.yasguiConfig=i,r()}}))}(e)})).finally((function(){return U(!1)})),S?(t.isUpdate=!0,g.getConfig(S).then((function(e){t.newConfig=e,q()})).catch((function(e){p.error(getError(e),b.instant("created.connector",{name:S}))}))):(t.isUpdate=!1,q()),t.getActiveRepository()&&(U(!0,b.instant("common.refreshing.namespaces"),b.instant("common.extra.message")),l.getPrefixes(l.getActiveRepository()).then((function(e){t.namespaces=e})).catch((function(e){t.repositoryError=getError(e)})).finally((function(){U(!1)})))}angular.module("graphdb.framework.graphexplore.controllers.graphviz.config",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter","graphdb.core.services.workbench-context","graphdb.framework.core.services.rdf4j.repositories"]).controller("GraphConfigCtrl",l),l.$inject=["$rootScope","$scope","$timeout","$location","toastr","$repositories","SparqlRestService","$filter","GraphConfigRestService","$routeParams","Notifications","LocalStorageAdapter","LSKeys","$translate","ModalService","WorkbenchContextService","RDF4JRepositoriesService"]},90:function(e,t,r){"use strict";r.r(t),r.d(t,"RenderingMode",(function(){return n}));var n={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},98:function(e,t,r){"use strict";r.r(t),r.d(t,"YasqeMode",(function(){return n}));var n={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[47,307,350],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"removeSpecialChars",(function(){return i})),n.d(t,"toBoolean",(function(){return o})),n.d(t,"toTitleCase",(function(){return a}));var r=n(18),i=function(e){return e.replace(/[()']/g,"")},o=function(e){return"string"==typeof e?"true"===e:Boolean(e)},a=function(e){return e?Object(r.upperFirst)(e.toLowerCase()):e}},142:function(e,t,n){"use strict";n.r(t),n.d(t,"STATIC_RULESETS",(function(){return r})),n.d(t,"REPOSITORY_TYPES",(function(){return i})),n.d(t,"FILENAME_PATTERN",(function(){return o})),n.d(t,"NUMBER_PATTERN",(function(){return a}));var r=[{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"}],i={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},o=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},264:function(e,t,n){"use strict";n.r(t);n(9),n(23),n(50);var r=n(581),i=n(593),o=(n(13),n(142)),a=n(102),s=n(8);function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t,n,d,p,f,h,g,m,y,v,x,S,I,w,b,k,L,C,T,N,A,P){e.languageChanged=!1,e.propertiesObj={},e.propertiesObj.items=[],e.propertiesQueryObj={},e.propertiesQueryObj.query="",e.propertiesSearchPlaceholder=T.instant("visual.search.instance.placeholder"),e.propertiesNotFiltered=[],e.searchVisible=!1,e.nodeSelected=!1,e.queryResultsMode=!1,e.embedded=m.search().embedded,e.openedNodeInfoPanel=void 0,e.invalidLimit=!1,e.INVALID_LINKS_MSG=T.instant("sidepanel.invalid.limit.links.msg"),e.INVALID_LINKS_TOOLTIP=T.instant("sidepanel.invalid.limit.links.tooltip"),e.datasource=void 0,e.adapterContainer={adapter:{remain:!0}},e.hasInitedRepository=!1,e.defaultSettings={linksLimit:20,includeInferred:!0,sameAsState:!0,languages:["en"],showLinksText:!0,preferredTypes:[],rejectedTypes:[],preferredPredicates:[],rejectedPredicates:["http://dbpedia.org/property/logo","http://dbpedia.org/property/hasPhotoCollection","http://dbpedia.org/property/website","http://dbpedia.org/property/homepage","http://dbpedia.org/ontology/thumbnail","http://xmlns.com/foaf/0.1/depiction","http://xmlns.com/foaf/0.1/homepage","http://xmlns.com/foaf/0.1/mbox","http://dbpedia.org/ontology/wikiPage*","http://dbpedia.org/property/wikiPage*","http://factforge.net/*"],preferredTypesOnly:!1,preferredPredicatesOnly:!1,includeSchema:!0},e.saveSettings=_.cloneDeep(e.defaultSettings),e.defaultGraphConfig={id:"default",name:"Easy graph",startMode:"search"},t.key="",e.onopen=e.onclose=function(){return angular.noop()},e.goToHome=function(){E(),m.url("graphs-visualizations")},e.shouldShowSettings=function(){return e.configLoaded&&e.configLoaded.id===e.defaultGraphConfig.id},e.shouldDisableSameAs=function(){var t=$("#sameAsCheck");return e.settings&&!e.settings.includeInferred&&t.prop("checked")&&(t.prop("checked",!1),e.settings.sameAsState=!1),e.settings&&!e.settings.includeInferred},e.propertiesFilterFunc=function(t){return t.key.toLowerCase().indexOf(e.propertiesQueryObj.query.toLowerCase())>=0},e.toggleMoreInfo=function(e){angular.element(e.currentTarget).parent().next().toggle(200),angular.element(e.currentTarget).children("span").toggleClass("icon-caret-down").toggleClass("icon-caret-up")},e.copyToClipboard=function(e){x.openCopyToClipboardModal(e)},e.resetSettings=function(){e.settings=_.cloneDeep(e.defaultSettings),e.validateLinksLimit(),G()},e.changeLimit=function(t){var n=e.settings.linksLimit+t;n<1&&(n=1),n>1e3&&(n=1e3),e.settings.linksLimit=n},e.validateLinksLimit=function(){e.invalidLimit=!o.NUMBER_PATTERN.test(e.settings.linksLimit)},e.showSettings=function(){e.showInfoPanel=!0,e.showFilter=!0,e.showNodeInfo=!1,e.showPredicates=!1,e.saveSettings?e.settings=_.cloneDeep(e.saveSettings):e.settings=_.cloneDeep(e.defaultSettings),G()},e.updateSettings=function(){e.invalidLimit?p.error(e.INVALID_LINKS_TOOLTIP,e.INVALID_LINKS_MSG):(e.saveSettings=e.settings,e.saveSettings.languages=_.map(e.saveSettings.languagesMap,(function(e){return e.text})),e.saveSettings.preferredTypes=_.map(e.saveSettings.preferredTypesMap,(function(e){return e.text})),e.saveSettings.rejectedTypes=_.map(e.saveSettings.rejectedTypesMap,(function(e){return e.text})),e.saveSettings.preferredPredicates=_.map(e.saveSettings.preferredPredicatesMap,(function(e){return e.text})),e.saveSettings.rejectedPredicates=_.map(e.saveSettings.rejectedPredicatesMap,(function(e){return e.text})),e.rootNodeIri?z(e.rootNodeIri):e.queryResultsMode&&m.search().query?F(m.search().query,m.search().sameAs,m.search().inference):"query"===e.configLoaded.startMode&&K(e.configLoaded),j(),e.showInfoPanel=!1,e.showFilter=!1,w.set(b.GRAPHS_VIZ,e.saveSettings))},e.getGraphConfigs=function(t){L.getGraphConfigs().success((function(n){e.graphConfigs=n,t&&t()})).error((function(e){p.error(getError(e),T.instant("graphexplore.error.graph.configs.short.msg"))}))},e.findConfigById=function(t){return t===e.defaultGraphConfig.id?e.defaultGraphConfig:$.grep(e.graphConfigs,(function(e){return e.id===t}))[0]},e.easyGraphSearch=function(t){e.configLoaded=e.defaultGraphConfig,e.openUri(t)},e.deleteConfig=function(t){x.openSimpleModal({title:T.instant("common.confirm"),message:T.instant("graphexplore.delete.graph",{configName:t.name}),warning:!0}).result.then((function(){L.deleteGraphConfig(t).success((function(){e.getGraphConfigs(),e.refreshSavedGraphs()})).error((function(e){p.error(getError(e),T.instant("graphexplore.error.cannot.delete.config"))}))}))},e.goToGraphConfig=function(e){O({config:e.id},{config:e}),E(),K(e)},e.replaceIRIWithPrefix=function(t){var n=e.namespaces,r=_.findLast(n,(function(e){return 0===t.indexOf(e.uri)}));return r?r.prefix+":"+t.substring(r.uri.length):t};var M=[];M.push(t.$on("$translateChangeSuccess",(function(){e.INVALID_LINKS_MSG=T.instant("sidepanel.invalid.limit.links.msg"),e.INVALID_LINKS_TOOLTIP=T.instant("sidepanel.invalid.limit.links.tooltip"),e.propertiesSearchPlaceholder=T.instant("visual.search.instance.placeholder")}))),M.push(A.onAutocompleteEnabledUpdated((function(t){e.isAutocompleteEnabled=t}))),M.push(A.onSelectedRepositoryIdUpdated((function(t){t?P.getNamespaces(t).then((function(t){e.repositoryNamespaces=t,e.namespaces=t.namespaces})).catch((function(e){var t=getError(e);p.error(t,T.instant("error.getting.namespaces.for.repo"))})):e.repositoryNamespaces=new s.NamespacesListModel}))),M.push(e.$on("repositoryIsSet",(function(t,n){n.newRepo&&(e.hasInitedRepository=!1),ue(n.newRepo),n.newRepo&&(E(),$(".graph-visualization svg").empty(),m.search().query&&(e.goToHome(),D()))})));M.push(t.$watch((function(){return t.key}),(function(){J=0,_.each(e.propertiesObj.items,(function(e){t.key>e&&J++})),Y++})));M.push(e.$watch("propertiesObj.items",(function(){angular.isDefined(e.propertiesObj.items)&&e.propertiesObj.items.length>0&&f((function(){e.adapterContainer.adapter.reload()}),500)})));e.$on("$destroy",(function(){M.forEach((function(e){return e()}))}));var O=function(t,n){e.embedded&&(t.embedded=!0),m.search(t),m.state(n)},E=function(){e.searchVisible=!1,e.nodeSelected=!1,e.configLoaded=null,e.queryResultsMode=!1,e.lastSavedGraphName=null,e.lastSavedGraphId=null,e.shared=!1,e.numberOfPinnedNodes=0,X={},ee=0},R=function(){return N.isActive()?e.defaultSettings:e.saveSettings},j=function(){R().showLinksText?d3.selectAll("svg .link-wrapper text").style("display","block"):d3.selectAll("svg .link-wrapper text").style("display","none")},G=function(){e.settings.languagesMap=_.map(e.settings.languages,(function(e){return{text:e}})),e.settings.preferredTypesMap=_.map(e.settings.preferredTypes,(function(e){return{text:e}})),e.settings.rejectedTypesMap=_.map(e.settings.rejectedTypes,(function(e){return{text:e}})),e.settings.preferredPredicatesMap=_.map(e.settings.preferredPredicates,(function(e){return{text:e}})),e.settings.rejectedPredicatesMap=_.map(e.settings.rejectedPredicates,(function(e){return{text:e}}))},z=function(){e.rootNodeIri&&e.$broadcast("onRootNodeChange",e.rootNodeIri)},D=function(){m.search().query?(e.searchVisible=!1,e.queryResultsMode=!0,F(m.search().query,m.search().sameAs,m.search().inference)):e.$on("onRootNodeChange",(function(t,n){e.loading=!0;var r=R();angular.isDefined(n)&&(e.rootNodeIri=n,C.getInstanceNode({iri:n,config:e.configLoaded?e.configLoaded.id:e.defaultGraphConfig.id,languages:e.shouldShowSettings()?r.languages:[],includeInferred:r.includeInferred,sameAsState:r.sameAsState}).then((function(t){e.nodeSelected=!0,e.searchVisible=!1,null===t.data.types&&(t.data.types="greyColor");var n=(de=new le).addNode(t.data,se/2,ce/2);ae=re,_e(n,!0)})).catch((function(t){e.loading=!1,p.error(getError(t),T.instant("graphexplore.error.could.not.load.graph"))})))})),m.search().uri&&e.openUri(m.search().uri,!0),m.search().saved&&k.getSavedGraph(m.search().saved).success((function(t){e.loadSavedGraph(t)})).error((function(e){var t=getError(e);p.error(t,T.instant("graphexplore.error.could.not.open"))}))},F=function(t,n,r){var i=R(),o=void 0===n?i.sameAsState:!0===n,a=void 0===r?i.includeInferred:!0===r;e.loading=!0,C.updateGraph({query:t,linksLimit:i.linksLimit,languages:e.shouldShowSettings()?i.languages:[],includeInferred:a,sameAsState:o}).then((function(e){Ce(e)}),(function(t){e.loading=!1,p.error(getError(t.data),T.instant("graphexplore.error.cannot.load.graph"))}))},B=function(e,t){var n=e.split(" ");return t?[n[0],n[1],n[2]].join(">"):[n[0],n[2]].join(">")},U=function(e){return[e.source.iri,e.target.iri].join(">")},W=function(e){if(e.isTriple){var t=document.getElementById(Object(a.removeSpecialChars)(B(e.iri)));if(t&&void 0!==t.__data__.x)return t.__data__.x}return e.x},q=function(e){if(e.isTriple){var t=document.getElementById(Object(a.removeSpecialChars)(B(e.iri)));if(t&&void 0!==t.__data__.y)return t.__data__.y}return e.y},V=function(e){var t=e.trim().split(" ");return"<<<".concat(t[0],"> <").concat(t[1],"> <").concat(t[2],">>>")},H=function(e){var t=e.source.isTriple?B(e.source.iri,!0):e.source.iri,n=e.target.isTriple?B(e.target.iri,!0):e.target.iri;return Object(a.removeSpecialChars)("".concat(t,">").concat(n,">marker"))},K=function(t){e.configLoaded=t,"search"===t.startMode?e.searchVisible=!0:"node"===t.startMode&&t.startIRI?f((function(){e.openUri(t.startIRI,!0)}),0):"query"===t.startMode&&t.startGraphQuery&&(e.loading=!0,L.loadGraphForConfig(t,t.startQueryIncludeInferred,R().linksLimit,t.startQuerySameAs).then((function(e){Ce(e)}),(function(t){e.loading=!1,p.error(getError(t),T.instant("graphexplore.error.graph.load"))})))},Z=function(){var t,n;m.search().config?(t=m.search().config,n=D,t===e.defaultGraphConfig.id?K(e.defaultGraphConfig):L.getConfig(t).then((function(e){K(e),n()})).catch((function(e){p.error(getError(e),T.instant("graphexplore.error.could.not.load.config",{configId:t}))}))):m.search().query||m.search().uri?(K(e.defaultGraphConfig),D()):D()};I.onpopstate=function(t){E(),t.state&&(t.state.config?(K(t.state.config),t.state.uri&&e.openUri(t.state.uri,!0)):t.state.savedGraph&&e.loadSavedGraph(t.state.savedGraph,!0))},e.embedded&&(m.search().query||m.search().uri||m.search().config||m.search().saved)&&(e.noGoHome=!0);var Q,J=0,Y=0,X={},ee=0,te=16,ne=d3.zoom().scaleExtent([.1,10]),re=d3.zoomIdentity.translate(0,-70).scale(1);ne.on("zoom",(function(e){N.isActive()||(ae=e.transform,Q.attr("transform",ae))}));var ie,oe,ae=re,se=1e3,ce=1e3;function le(){this.nodes=[],this.links=[],this.tripleNodes=new Map,this.tripleLinksCopy=new Map,this.addNode=function(e,t,n){return e.x=t,e.y=n,this.nodes.push(e),e},this.computeConnectedness=function(){var e={},t={};_.each(this.links,(function(n){var r=n.source.iri,i=n.target.iri,o=_.min([r,i])+"|"+_.max([r,i]);t[o]||(t[o]=1,e[r]=(e[r]||0)+1,e[i]=(e[i]||0)+1)})),_.each(this.links,(function(t){e[t.source.iri]>1&&e[t.target.iri]>1?t.connectedness=Math.min(5,Math.max(e[t.source.iri],e[t.target.iri])-1):t.connectedness=0}))},this.addAndMatchLinks=function(e){var t=this.nodes;Array.prototype.push.apply(this.links,function(e,t){return _.map(e,(function(e){var n={source:e.isTripleSource?Ee(e.source):_.find(t,(function(t){return t.iri===e.source})),target:e.isTripleTarget?Ee(e.target):_.find(t,(function(t){return t.iri===e.target})),predicates:e.predicates};if(e.isTripleSource||e.isTripleTarget){var r=n.source.isTriple?B(n.source.iri):n.source.iri,i=n.target.isTriple?B(n.target.iri):n.target.iri,o="".concat(r,">").concat(i);if(de.tripleLinksCopy.has(o)){var a,s=de.tripleLinksCopy.get(o);return(a=s[0].predicates).push.apply(a,c(n.predicates)),s.push(n),de.tripleLinksCopy.set(o,s),null}de.tripleLinksCopy.set(o,[n])}return n}))}(e,t));var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(de.tripleLinksCopy.keys());try{for(r.s();!(n=r.n()).done;){var i=n.value;1===de.tripleLinksCopy.get(i).length&&de.tripleLinksCopy.delete(i)}}catch(e){r.e(e)}finally{r.f()}this.links=this.links.filter((function(e){return null!==e})),this.computeConnectedness()};var t=function(e,t){return n(e,t).length};function n(e,t){return _.filter(t,(function(t){return t.source.iri===e.iri||t.target.iri===e.iri}))}this.countLinks=t,this.linksTypes=function(e,t){var r=n(e,t),i=_.map(r,(function(t){return t.source.iri===e.iri?t.target.types:t.source.types}));return _.uniq(_.flatten(i))},this.linksPredicates=function(e,t){var r=n(e,t),i=_.map(r,(function(e){return e.predicates}));return _.uniq(_.flatten(i))},this.removeTriples=function(e){var t=this,n=[];this.tripleNodes.size>0&&e.forEach((function(e){t.tripleNodes.has(e)&&(t.tripleNodes.delete(e),t.links=_.reject(t.links,(function(t){var r=e.split(">"),i=B(t.source.iri),o=B(t.target.iri);if(i===e&&de.tripleNodes.delete(o)){var a=o.split(">");n.push({source:a[0],target:a[1]})}var s=i===e||o===e||t.source.iri===r[0]&&t.target.iri===r[1];return s&&(de.tripleLinksCopy.delete("".concat(i,">").concat(o)),de.tripleLinksCopy.delete("".concat(o,">").concat(i))),s})))})),n.forEach((function(e){t.links=_.reject(t.links,(function(t){return t.source.iri===e.source&&t.target.iri===e.target}))}))},this.removeNode=function(n){var r=[];this.links=_.reject(this.links,(function(e){var t=e.source.iri===n.iri||e.target.iri===n.iri;return t&&(e.target.isTriple&&r.push(B(e.target.iri)),e.source.isTriple||e.target.isTriple||r.push([e.source.iri,e.target.iri].join(">"))),t})),this.removeTriples(r);var i=this.links;this.nodes=_.reject(this.nodes,(function(e){return 0===t(e,i)})),0===this.nodes.length&&(e.nodeSelected=!1),this.computeConnectedness()},this.removeNodeLeafLinks=function(e){var r=[],i=this.links;this.links=_.reject(this.links,(function(o){var a=o.source.iri===e.iri&&1===t(o.target,i)&&!o.target.isTriple||o.target.iri===e.iri&&1===t(o.source,i)&&!o.source.isTriple;if(!a){var s;if(o.source.iri!==e.iri||2!==t(o.target,i)||o.target.isTriple?o.target.iri!==e.iri||2!==t(o.source,i)||o.source.isTriple||(s=n(o.source,i)):s=n(o.target,i),!s)return!1;a=(s[0].source.iri===e.iri||s[0].target.iri)&&(s[1].source.iri===e.iri||s[1].target.iri)}return a&&(o.target.isTriple&&r.push(B(o.target.iri)),o.source.isTriple||o.target.isTriple||r.push([o.source.iri,o.target.iri].join(">"))),a})),this.removeTriples(r),i=this.links,this.nodes=_.reject(this.nodes,(function(n){return 0===t(n,i)&&n.iri!==e.iri})),this.computeConnectedness()},this.addTriple=function(e,t,n){e.x=t,e.y=n,e.weight=0;var r=B(e.iri);if(this.tripleNodes.has(r)){var i=this.tripleNodes.get(r);i.push(e),this.tripleNodes.set(r,i)}else e.weight=10,this.tripleNodes.set(r,[e])},this.copyState=function(){var e=_.map(this.nodes,(function(e){return{iri:e.iri,isTriple:e.isTriple,size:e.size,labels:_.cloneDeep(e.labels),types:_.cloneDeep(e.types),rdfRank:e.rdfRank,x:e.x,y:e.y,fixed:e.fixed}})),t=JSON.stringify(Array.from(this.tripleNodes.entries())),n=JSON.stringify(Array.from(this.tripleLinksCopy.entries()));return{nodes:e,links:_.map(this.links,(function(e){return{source:e.source.iri,isTripleSource:e.source.isTriple,target:e.target.iri,isTripleTarget:e.target.isTriple,predicates:e.predicates}})),tripleNodes:t,tripleLinksCopy:n,colorIndex:ee,type2color:X,transform:ae}},this.restoreState=function(t){e.nodeSelected=!0,e.searchVisible=!1,this.nodes=_.cloneDeep(t.nodes),this.tripleNodes=t.tripleNodes?new Map(JSON.parse(t.tripleNodes)):new Map,this.links=[],this.addAndMatchLinks(t.links),this.tripleLinksCopy=t.tripleLinksCopy?new Map(JSON.parse(t.tripleLinksCopy)):new Map,_.each(this.nodes,(function(t){t.fixed&&e.numberOfPinnedNodes++})),angular.isDefined(t.colorIndex)&&angular.isDefined(t.type2color)&&(ee=t.colorIndex,X=_.cloneDeep(t.type2color)),angular.isDefined(t.transform)&&(ae=d3.zoomIdentity.translate(t.transform.x,t.transform.y).scale(t.transform.k)),Ie()}}e.datasource={get:function(t,n,r){return v.initLazyList(t,n,r,J,e.propertiesObj.items)},revision:function(){return Y}},g.when(y.getPrincipal()).then((function(t){return function(t){var n=t.appSettings;e.defaultSettings.includeInferred=n.DEFAULT_INFERENCE,e.defaultSettings.sameAsState=n.DEFAULT_INFERENCE&&n.DEFAULT_SAMEAS,e.defaultSettings.includeSchema=n.DEFAULT_VIS_GRAPH_SCHEMA;var r=w.get(b.GRAPHS_VIZ);if(r&&"object"===u(r))try{e.saveSettings=r,void 0===e.saveSettings.includeSchema&&(e.saveSettings.includeSchema=e.defaultSettings.includeSchema,e.saveSettings.rejectedPredicates=[].concat(c(e.saveSettings.rejectedPredicates),c(e.defaultSettings.rejectedPredicates)).unique())}catch(t){e.saveSettings=_.cloneDeep(e.defaultSettings),w.set(b.GRAPHS_VIZ,e.saveSettings)}else e.saveSettings=_.cloneDeep(e.defaultSettings)}(t)})),e.showInfoPanel=!1;var de=new le;function ue(t){!n.getActiveRepository()||e.hasInitedRepository&&!t||(e.hasInitedRepository=!0,t||e.getGraphConfigs(Z))}e.addedTag=function(t){return t.text.indexOf(":")<0?(p.warning(T.instant("graphexplore.absolute.prefixed.iri")),null):(t.text=function(e,t){if(!/^<?(http|urn).*>?/.test(e)){var n=e.split(":"),r=n[0],i=n[1];if(!angular.isUndefined(i)){var o=h.getNamespaceUriForPrefix(t,r);if(o)return o+i}}return e}(t.text,e.namespaces),e.pageslideExpanded=!0,t)},e.validateTag=function(e,t,n){if(e.text.indexOf(":")<0)return n?p.warning(T.instant("graphexplore.absolute.prefixed.iri.option"),t):p.warning(T.instant("graphexplore.absolute.prefixed.iri"),t),!1;var r=e.text.indexOf("*");if(r>=0){if(!n)return p.warning(T.instant("graphexplore.wildcards.not.allowed"),t),!1;if(r<e.text.length-1)return p.warning(T.instant("graphexplore.wildcards.last.char"),t),!1}return!0},e.getTagClass=function(e){return e.endsWith("*")?"tag-item-wildcard":null},e.getActiveRepository=function(){return n.getActiveRepository()},e.isLicenseValid=function(){return d.isLicenseValid()},ue();var pe=d3.scaleLinear().domain([0,9]).range(["hsl(0, 100%, 75%)","hsl(360, 90%, 82%)"]).interpolate(d3.interpolateHslLong),fe=d3.scaleLinear().domain([0,9]).range(["hsl(180, 50%, 75%)","hsl(540, 40%, 82%)"]).interpolate(d3.interpolateHslLong);e.getColor=function(e){angular.isUndefined(X[e])&&(X[e]=ee,ee++);var t=X[e];return t>39?"#c2c2c2":t%2==0?pe(t/2):fe(t/2)};var he=d3.forceX(se/2).strength(.005),ge=d3.forceY(ce/2).strength(.005),me=d3.forceSimulation().force("x",he).force("y",ge),ye=d3.select(".main-container .graph-visualization").append("svg").attr("viewBox","0 0 "+se+" "+ce).attr("preserveAspectRatio","xMidYMid meet");ye.append("rect").attr("width",10*se).attr("height",10*ce).attr("x",-(10*se-se)/2).attr("y",-(10*ce-ce)/2).style("fill","none").style("pointer-events","all").call(ne).on("click",(function(e){e.stopPropagation(),Ne(),me.stop()}));var ve=0,xe=0,Se=new function(){this.state=!1,this.setLoadingState=function(e){this.state=e},this.getLoadingState=function(){return this.state},this.init=function(e,t){d3.select(t).append("circle").attr("cx",(function(){return e.x})).attr("cy",(function(){return e.y})).attr("class","loader-container").attr("r",(function(){return e.size})).style("fill","fff").style("opacity","0.7"),d3.select(t).append("image").attr("xlink:href","js/angular/templates/loader/ot-loader.svg?v=3.0.0-TR5").attr("x",(function(){return e.x-e.size+5})).attr("y",(function(){return e.y-e.size})).attr("width",(function(){return 2*e.size})).attr("height",(function(){return 2*e.size})).attr("class","node-loader")}};function Ie(t){d3.selectAll("svg g").remove(),d3.selectAll(".d3-tip").remove(),d3.selectAll(".menu-events").remove(),Q=ye.append("g").attr("class","nodes-container").attr("transform",(function(){return angular.isDefined(ae)&&!t?ae:""}));var n,o=Object(i.a)().attr("class","d3-tip").customPosition((function(){var e=ie.getBoundingClientRect();return{top:e.bottom+10+"px",left:e.left-30+"px"}})).html((function(t){var n="";return t.fixed&&(n+='<i class="icon-pin"></i> '),t.types.length>0?n+=_.join(_.map(t.types,(function(t){return e.replaceIRIWithPrefix(t)}))," · "):n+="<i>No types</i>",n})),s=function(e){var t="";return t+=_.join(_.map(e.predicates,(function(t,n){if(0===n)return je(t);if(n<10)return" · "+je(t);if(10===n){var r=function(e){return e.predicates.length-10}(e),i=r>1?r+" predicates":r+" predicate";return" · "+T.instant("graphexplore.tip.text",{textToShow:i})}})),"")},c=Object(i.a)().attr("class","d3-tip").customPosition((function(e){var t=n.getBoundingClientRect(),r=function(e){var t=s(e),n=document.createElement("canvas").getContext("2d");return n.font="13px Arial",e.predicates.length<10?n.measureText(t).width:n.measureText(t).width/2}(e);return{top:t.top-30+"px",left:t.left-30+"px",width:r+"px"}})).html((function(e){return s(e)})),l=function(){f.cancel(void 0),f.cancel(ve),ie=null,o.hide(),xe=f((function(){Ne()}),500)};ye.call(o);ye.call(c);var d=ye.selectAll(".link"),u=ye.selectAll(".node"),h=d3.forceCollide((function(e){return e.size+5})).strength(.5),g=d3.forceManyBody().strength(-300),m=d3.forceCenter(se/2,ce/2);me.nodes(de.nodes).force("charge",g).force("collide",h).force("center",m).force("link",d3.forceLink(de.links).distance((function(e){return e.source.isTriple||e.target.isTriple?0:function(e){var t=$("<span></span>"),n=e.predicates[0].split("/"),r=n[n.length-1];t.addClass("predicate-text").text(r),$("body").append(t);var i=t.width()+2*e.source.size+2*e.target.size+50;return t.remove(),.75*i}(e)+30*e.connectedness}))),Q.append("defs").selectAll("marker").data(de.links).enter().append("marker").attr("class","arrow-marker").attr("id",(function(e){return H(e)})).attr("viewBox","0 -5 10 10").attr("refX",(function(e){return e.target.isTriple?11:e.target.size+11})).attr("refY",0).attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M0,-5L10,0L0,5 L10,0 L0, -5"),d=Q.selectAll(".link").data(de.links).enter().append("g").attr("class","link-wrapper").attr("id",(function(e){return Object(a.removeSpecialChars)(U(e))})).append("line").attr("class","link").style("stroke-width",1).style("fill","transparent").style("marker-end",(function(e){var t=H(e);return"url(#".concat(t,")")}));var y,v=Q.selectAll(".link-wrapper").append("text").text((function(e){return Re(e)})).attr("class",(function(e){return e.predicates.length>1||de.tripleNodes.has(U(e))?"predicates":"predicate"})).attr("dy","-0.5em").style("text-anchor","middle").style("display",R().showLinksText?"":"none").on("mouseover",(function(e,t){e.stopPropagation(),function(e,t){f.cancel(void 0);var r=n=e.target;f((function(){n===r&&t.predicates.length>1&&c.show(t,n)}),300)}(e,t)})).on("mouseout",(function(){f.cancel(void 0),n=null,c.hide()})).on("click",(function(t,n){t.stopPropagation(),function(t,n){Oe();var r=U(n);if(1===n.predicates.length&&de.tripleNodes.has(r)){oe=null;var i=de.tripleNodes.get(r)[0];if(ke(i,this,t.button)){var o={};o.iri=i.iri,o.pred=je(i.iri.split(" ")[1]),Pe(o)}return}!function(t){if(e.showNodeInfo=!1,e.showPredicates=t.predicates.length>1,e.showFilter=!1,e.showInfoPanel=!1,oe===t)return e.showNodeInfo=!1,e.showInfoPanel=!1,void(oe=null);oe=t,e.showPredicates&&(e.predicates=_.map(t.predicates,(function(e){var n=function(e,t){var n=U(t);return de.tripleNodes.has(n)?de.tripleNodes.get(n).findIndex((function(t){return t.iri.indexOf(e)>=0})):-1}(e,t),r=n>-1;return{value:je(e),partOfTriple:r,linkId:r?U(t):"",nodeIndex:n}})),e.showInfoPanel=!0)}(n)}(t,n)})),x=0,S=null,I=null,w=function(t,n,r){var i=r||this.parentNode;Array.isArray(r)&&(i=r[n]),de.countLinks(t,de.links)<=R().linksLimit?_e(t,!1,i):p.info(T.instant("graphexplore.increase.limit"),T.instant("graphexplore.node.at.max")),e.closeInfoPanel()};function b(e,t){var n,r,i,o,a=!0;if("down"===t)n=2*e.size,r=e.size/3,i=.8,o=.3;else if("down-fixed"===t)n=2*e.size,r=e.size,i=.8,o=.66;else if("up"===t)n=e.size/3,r=2*e.size,i=.3,o=.8;else{if("fixed"!==t)return;n=e.size,i=.66,a=!1}var s=Q.selectAll(".node-wrapper").filter((function(t){return t===e})).append("text").text("").classed("icon-any pinned",!0).style("font-size",n+"px").attr("x",(function(e){return e.x})).attr("y",(function(e){return e.y})).attr("opacity",i);"fixed"!==t&&"down-fixed"!==t||(e.pin=s),a&&(s=s.transition().duration(1e3).style("font-size",(function(){return r+"px"})).attr("opacity",o),"down-fixed"!==t&&s.remove())}var k=d3.drag().subject((function(e){return e})).on("start",(function(e,t){if(N.isActive())return;0===e.sourceEvent.button&&(t.fixedBeforeDrag=t.fixed,t.isBeingDragged=!0,t.beginDragging=!0,Ne(),d3.select(this).classed("dragging",!0),me.alphaTarget(.3).restart())})).on("drag",(function(t,n){n.isBeingDragged&&(n.fx=t.x,n.fy=t.y,n.fixed?n.beginDragging&&b(n,"fixed"):(e.numberOfPinnedNodes++,n.fixed=!0,b(n,"down-fixed")),n.pinWasFixed=!0,n.beginDragging=null)})).on("end",(function(e,t){t.isBeingDragged&&(t.pinWasFixed&&(t.pinWasFixed=null,d3.select(".pinned").remove()),t.isBeingDragged=!1,d3.select(this).classed("dragging",!1));me.alphaTarget(0)}));u=Q.selectAll(".node").data(de.nodes).enter().append("g").attr("class","node-wrapper").attr("id",(function(e){return e.iri})).append("circle").attr("class","node").attr("r",(function(e){return e.size})).style("fill",(function(t){return"greyColor"===t.types?"c2c2c2":e.getColor(t.types[0])})).on("mouseover",(function(t,n){var r=this;n.isBeingDragged||(f.cancel(xe),ve=f((function(){(function(t,n){if(e.showInfoPanel)return!1;(be.closeIcon||be.expandIcon||be.focusIcon||be.copyURIIcon)&&be.removeIcons();if(me.alpha()<.1)return be.initIcons(t,n.parentNode),me.stop(),we(),!0;return!1})(n,r)&&function(e,t){f.cancel(void 0);var n=ie=t.target;f((function(){ie===n&&o.show(e,ie)}),300)}(n,t)}),400))})).on("mouseout",l).on("click",(function(t,n){if(!t.button||0===t.button){var r=this;if(S&&I===r)return f.cancel(S),S=null,void w(n,0,r.parentNode);I=r,l(),e.showPredicates=!1,N.isActive()||(f.cancel(S),S=f((function(){ke(n,r,t),S=null}),540))}})).on("touchstart",(function(e,t){return function(e){x=0,y=f((function(){x<5&&Le(e),y=null}),1e3)}(t)})).on("touchmove",(function(){x++})).on("touchend",(function(){f.cancel(y),y=null})).on("contextmenu",(function(t,n){t.shiftKey||(t.preventDefault(),Ne(),e.closeInfoPanel(),n.fixed?(e.numberOfPinnedNodes--,n.fixed=!1,n.fx=null,n.fy=null,b(n,"up"),me.alpha(1).restart()):(e.numberOfPinnedNodes++,n.fixed=!0,b(n,"down")),function(e){ie&&o.show(e,ie)}(n))})).on("gdb-expand-node",(function(e,t){return w(t,0,e.srcElement.parentNode)})).on("gdb-show-node-info",(function(e,t){return Ae(t)})).call(k);var L=Q.selectAll(".node-wrapper").append("foreignObject").style("pointer-events","none").attr("width",(function(e){return 2*e.size*1.75}));Q.insert("g").attr("class","menu-events"),function(e){e.each((function(e){e.fontSize=r.a.Text.calcFontSizeRaw(e.labels[0].label,e.size,te,!0)})).attr("height",(function(e){return 3*e.fontSize})).append("xhtml:div").attr("class","node-label-body").style("font-size",(function(e){return e.fontSize+"px"})).append("xhtml:div").text((function(e){return e.labels[0].label})),f((function(){$(".node-label-body div").each((function(e,t){for(var n=t.textContent.substring(0,t.textContent.length-1),r=0;r<200&&(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)n=n.substring(0,n.length-1),t.textContent=n+"…",r++}))}),50)}(L),me.on("tick",(function(){d.attr("x1",(function(e){return W(e.source)})).attr("y1",(function(e){return q(e.source)})).attr("x2",(function(e){return W(e.target)})).attr("y2",(function(e){return q(e.target)})),v.attr("x",(function(e){var t=W(e.source),n=W(e.target);return e.x=.5*(t+n)})).attr("y",(function(e){var t=q(e.source),n=q(e.target);return e.y=.5*(t+n)})).attr("transform",(function(e){return"rotate("+function(e,t){var n={x:W(e.source),y:q(e.source)},r={x:W(e.target),y:q(e.target)};if(t)return 180*Math.atan2(r.y-n.y,r.x-n.x)/Math.PI;var i=180*Math.atan2(r.y-n.y,r.x-n.x)/Math.PI;return i<=90&&i>=-90?i:(i>0?-1:1)*(180-Math.abs(i))}(e,e.direction)+", "+e.x+", "+e.y+")"})),u.attr("cx",(function(e){return e.x})).attr("cy",(function(e){return e.y})),Q.select(".node-loader").attr("x",(function(e){return e.x-e.size+3})).attr("y",(function(e){return e.y-e.size})),Q.select(".loader-container").attr("cx",(function(e){return e.x})).attr("cy",(function(e){return e.y})),L.attr("x",(function(e){return e.x-1.75*e.size})).attr("y",(function(e){return e.y-3*e.fontSize/2})),d3.select(".pinned").attr("x",(function(e){return e.x})).attr("y",(function(e){return e.y})),we()})),angular.isDefined(Se)&&Se.setLoadingState(!1),e.loading&&(e.loading=!1),d3.selectAll(".link-wrapper").each((function(){var e=$(this).attr("id").split(">")[0],t=$(this).attr("id").split(">")[1];d3.selectAll(".link").each((function(n){var r=Object(a.removeSpecialChars)(n.source.iri),i=Object(a.removeSpecialChars)(n.target.iri);if(r===t&&i===e){var o=r;o+=">",o+=i;var s=document.createTextNode(" ⟶");document.getElementById(o).lastChild.appendChild(s),n.direction="double"}}))})),d3.selectAll(".d3-actions-tip").remove(),me.alpha(.3).restart()}function we(){t.d3alpha=me.alpha()}var be=new function(){function n(e,t){return"translate("+(t.x-14+(t.size+15)*Math.cos(e*Math.PI/180-Math.PI/2))+","+(t.y-14+(t.size+15)*Math.sin(e*Math.PI/180-Math.PI/2))+")"}this.closeIcon=void 0,this.expandIcon=void 0,this.collapseIcon=void 0,this.focusIcon=void 0,this.copyURIIcon=void 0,this.actionsTip=void 0,this.removeIcons=function(){this.closeIcon.remove("g"),this.expandIcon&&this.expandIcon.remove("g"),this.collapseIcon&&this.collapseIcon.remove("g"),this.focusIcon.remove("g"),this.copyURIIcon.remove("g"),this.closeIcon=void 0,this.expandIcon=void 0,this.collapseIcon=void 0,this.focusIcon=void 0,this.copyURIIcon=void 0,this.expandedState=!1},this.expandedState=!1,this.initIcons=function(r,o){var a=Object(i.a)().attr("class","d3-tip d3-actions-tip").customPosition((function(e,t){var n=t.target.getBoundingClientRect();return{top:n.top-20+"px",left:n.right+10+"px"}})).html((function(e){return e}));ye.call(a);r.isExpanded?(this.collapseIcon=d3.select(".menu-events").append("g").attr("class","collapse-icon").attr("name","collapse").attr("transform",(function(){return n(20,r)})),this.collapseIcon.append("circle").attr("cx",14).attr("cy",14).attr("r",13).style("fill","#eee"),this.collapseIcon.append("path").attr("d","M22.67,12a.59.59,0,0,1-.53.65l-6.88.72H15.2a.59.59,0,0,1-.59-.65l.72-6.88A.58.58,0,0,1,16,5.33a.59.59,0,0,1,.53.65L16,11.11,21.3,5.79a.64.64,0,0,1,.91.91L16.89,12,22,11.49A.59.59,0,0,1,22.67,12ZM12.59,14.75l-6.75.85a.59.59,0,0,0-.51.66.58.58,0,0,0,.66.51l4.95-.62-5.2,5.2a.64.64,0,1,0,.91.91l5.2-5.2L11.23,22a.59.59,0,0,0,.51.66h.07a.59.59,0,0,0,.59-.52l.85-6.75a.59.59,0,0,0-.17-.49A.58.58,0,0,0,12.59,14.75Z").style("fill","var(--primary-color)"),this.collapseIcon.on("click",(function(){var e;(e=r).isExpanded=!1,de.removeNodeLeafLinks(e),Ie()})).on("mouseover",(function(e){a.show(this.getAttribute("name"),e),f.cancel(ve),f.cancel(xe)})).on("mouseout",(function(){a.hide(),xe=f((function(){Ne()}),500)}))):(this.expandIcon=d3.select(".menu-events").append("g").attr("class","expand-icon").attr("name","expand").attr("transform",(function(){return n(20,r)})),this.expandIcon.append("circle").attr("cx",14).attr("cy",14).attr("r",13).style("fill","#eee"),this.expandIcon.append("path").attr("d","M22.37,6.28l-.72,6.88a.59.59,0,0,1-.59.53H21a.59.59,0,0,1-.53-.65L21,7.9l-5.32,5.32a.64.64,0,0,1-.91-.91L20.1,7,15,7.53a.59.59,0,0,1-.12-1.18l6.88-.72a.59.59,0,0,1,.65.65ZM12.89,20.34,7.95,21l5.2-5.2a.64.64,0,0,0-.91-.91L7,20.05l.62-4.95A.59.59,0,0,0,6.48,15l-.85,6.75a.59.59,0,0,0,.59.67h.07L13,21.52a.59.59,0,1,0-.15-1.18Z").style("fill","var(--primary-color)"),this.expandIcon.on("click",(function(){_e(r,!1,o)})).on("mouseover",(function(e){a.show(this.getAttribute("name"),e),f.cancel(xe),f.cancel(ve)})).on("mouseout",(function(){a.hide(),xe=f((function(){Ne()}),500)}))),this.focusIcon=d3.select(".menu-events").append("g").attr("class","focus-icon").attr("name","focus").attr("transform",(function(){return n(20,r)})),this.focusIcon.append("circle").attr("cx",14).attr("cy",14).attr("r",13).style("fill","#eee"),this.focusIcon.append("path").attr("d","M14.2,23.81a9.8,9.8,0,1,1,6.93-2.87h0A9.74,9.74,0,0,1,14.2,23.81Zm0-18.17a8.37,8.37,0,1,0,5.92,14.29h0A8.37,8.37,0,0,0,14.2,5.64Zm1.42,6.95a2,2,0,1,0,0,2.85A2,2,0,0,0,15.62,12.59Z").style("fill","var(--primary-color)"),this.focusIcon.on("click",(function(){t.$broadcast("onRootNodeChange",r.iri)})).on("mouseover",(function(e){a.show(this.getAttribute("name"),e),f.cancel(xe),f.cancel(ve)})).on("mouseout",(function(){a.hide(),xe=f((function(){Ne()}),500)})),this.copyURIIcon=d3.select(".menu-events").append("g").attr("class","icon-link").attr("name","link").attr("transform",(function(){return n(20,r)})),this.copyURIIcon.append("circle").attr("cx",14).attr("cy",14).attr("r",13).style("fill","#eee"),this.copyURIIcon.append("path").attr("d","M 13.457031 10.164062 C 13.648438 10.164062 13.820312 10.242188 13.941406 10.363281 L 15.492188 11.859375 C 15.984375 12.332031 16.292969 12.992188 16.292969 13.714844 C 16.292969 14.441406 15.984375 15.097656 15.492188 15.574219 L 10.394531 20.496094 C 9.902344 20.972656 9.222656 21.265625 8.472656 21.265625 C 7.71875 21.265625 7.039062 20.972656 6.546875 20.496094 L 4.996094 19 C 4.507812 18.523438 4.203125 17.867188 4.203125 17.144531 C 4.203125 16.421875 4.507812 15.765625 4.996094 15.289062 L 7.542969 12.824219 C 7.667969 12.707031 7.84375 12.628906 8.035156 12.628906 C 8.417969 12.628906 8.726562 12.929688 8.726562 13.300781 C 8.726562 13.484375 8.648438 13.652344 8.523438 13.773438 L 5.976562 16.234375 C 5.738281 16.46875 5.589844 16.792969 5.589844 17.148438 C 5.589844 17.503906 5.738281 17.824219 5.976562 18.058594 L 7.527344 19.566406 C 7.773438 19.792969 8.105469 19.929688 8.472656 19.929688 C 8.835938 19.929688 9.167969 19.792969 9.414062 19.566406 L 14.511719 14.644531 C 14.753906 14.410156 14.90625 14.089844 14.90625 13.730469 C 14.90625 13.375 14.753906 13.054688 14.511719 12.820312 L 12.964844 11.324219 C 12.839844 11.203125 12.761719 11.039062 12.761719 10.855469 C 12.761719 10.488281 13.070312 10.1875 13.449219 10.1875 Z M 17.082031 3.976562 C 17.082031 3.976562 17.085938 3.976562 17.085938 3.976562 C 17.824219 3.976562 18.492188 4.261719 18.980469 4.722656 L 20.535156 6.203125 C 21.042969 6.679688 21.355469 7.34375 21.355469 8.082031 C 21.355469 8.792969 21.058594 9.441406 20.582031 9.914062 L 18.0625 12.402344 C 17.9375 12.527344 17.761719 12.605469 17.566406 12.605469 C 17.183594 12.605469 16.875 12.304688 16.875 11.9375 C 16.875 11.753906 16.949219 11.589844 17.070312 11.46875 L 19.605469 8.984375 C 19.847656 8.75 19.996094 8.429688 19.996094 8.070312 C 19.996094 7.714844 19.847656 7.394531 19.605469 7.160156 L 18.019531 5.667969 C 17.773438 5.445312 17.4375 5.304688 17.070312 5.300781 C 16.703125 5.304688 16.367188 5.453125 16.128906 5.691406 L 11.085938 10.667969 C 10.84375 10.898438 10.695312 11.222656 10.695312 11.578125 C 10.695312 11.933594 10.84375 12.257812 11.085938 12.488281 L 12.675781 13.980469 C 12.804688 14.101562 12.882812 14.273438 12.882812 14.457031 C 12.882812 14.828125 12.574219 15.128906 12.191406 15.128906 C 12.003906 15.128906 11.832031 15.054688 11.707031 14.9375 L 10.140625 13.457031 C 9.636719 12.980469 9.324219 12.316406 9.324219 11.582031 C 9.324219 10.863281 9.621094 10.214844 10.101562 9.742188 L 15.140625 4.765625 C 15.625 4.285156 16.304688 3.980469 17.054688 3.976562 Z M 17.082031 3.976562").style("fill","var(--primary-color)"),this.copyURIIcon.on("click",(function(){e.copyToClipboard(r.iri),Ne(),a.hide()})).on("mouseover",(function(e){a.show("<div style='text-align: center;'><b>Copy to ClipBoard</b><br>"+r.iri+"</div>",e),f.cancel(xe),f.cancel(ve)})).on("mouseout",(function(){a.hide(),xe=f((function(){Ne()}),500)})),this.closeIcon=d3.select(".menu-events").append("g").attr("class","close-icon").attr("name","remove").attr("transform",(function(){return n(20,r)})),this.closeIcon.append("circle").attr("cx",14).attr("cy",14).attr("r",13).style("fill","#eee"),this.closeIcon.append("path").attr("d","M14.94,14l5.87-5.87a.66.66,0,1,0-.94-.94L14,13.06,8.13,7.19a.66.66,0,0,0-.94.94L13.06,14,7.19,19.87a.66.66,0,1,0,.94.94L14,14.94l5.87,5.87a.66.66,0,1,0,.94-.94Z").style("fill","var(--primary-color)"),this.closeIcon.on("click",(function(){Le(r)})).on("mouseover",(function(e){a.show(this.getAttribute("name"),e),f.cancel(xe),f.cancel(ve)})).on("mouseout",(function(){a.hide(),xe=f((function(){Ne()}),500)})),this.animateMenu(r)},this.animateMenu=function(e){var t=d3.easeSin,r=0,i=20;this.expandIcon&&this.expandIcon.transition().duration(100).style("opacity",1).ease(t).attr("transform",(function(){return n(i,e)})).delay(r+=35),this.collapseIcon&&this.collapseIcon.transition().duration(100).style("opacity",1).ease(t).attr("transform",(function(){return n(i,e)})).delay(r+=35),this.copyURIIcon.transition().duration(100).style("opacity",1).ease(t).attr("transform",(function(){return n(i+=30,e)})).delay(r+=35),this.focusIcon.transition().duration(100).style("opacity",1).ease(t).attr("transform",(function(){return n(i+=30,e)})).delay(r+=35),this.closeIcon.transition().duration(100).style("opacity",1).ease(t).attr("transform",(function(){return n(i+=30,e)})).delay(r+=35),this.expandedState=!0}};function ke(n,r,i){return e.showInfoPanel=!1,e.showPredicates=!1,e.showNodeInfo=!1,i.shiftKey&&(i.ctrlKey||i.metaKey)?(t.$broadcast("onRootNodeChange",n.iri),!1):i.ctrlKey||i.metaKey?(Le(n),!1):void 0!==e.openedNodeInfoPanel&&e.openedNodeInfoPanel===n?(e.pageslideExpanded=!1,e.openedNodeInfoPanel=void 0,!1):(Ae(n),!0)}function Le(e){de.removeNode(e),Ie()}function Ce(t){!function(t){e.nodeSelected=!0,null===t.data.types&&(t.data.types="greyColor"),de=new le,ae=re}(t),Te(t)}function Te(t,n,r){var i=t.data;i=_.filter(i,(function(e){return-1===_.findIndex(de.links,(function(t){return e.source===t.source.iri&&e.target===t.target.iri}))}));for(var o=[],a=de.tripleLinksCopy.values(),s=0;s<de.tripleLinksCopy.size;s++){a.next().value.forEach((function(e){o.push(e)}))}i=_.filter(i,(function(e){return-1===_.findIndex(o,(function(t){return e.source===t.source.iri&&e.target===t.target.iri}))})),i=_.filter(i,(function(e){return e.source!==e.target}));for(var c,l,d,u=(c="iri",l=_.union(_.flatten(_.map(t.data,(function(e){return[{iri:e.source,isTriple:e.isTripleSource},{iri:e.target,isTriple:e.isTripleTarget}]})))),d=l.map((function(e){return e[c]})),l.filter((function(e,t){return d.indexOf(e[c])===t}))),f=_.map(de.nodes,(function(e){return{iri:e.iri,isTriple:Boolean(e.isTriple)}})),h=de.tripleNodes.values(),m=0;m<de.tripleNodes.size;m++){h.next().value.forEach((function(e){f.push({iri:e.iri,isTriple:e.isTriple})}))}var y=_.reject(u,(function(e){return _.some(f,e)}));if(0===y.length)(r||0===i.length)&&p.info(T.instant("graphexplore.error.node.connections")),de.addAndMatchLinks(i),Ie();else{var v=[],x=[],S=R();_.forEach(y,(function(t,n){v.push(C.getInstanceNode({iri:t.isTriple?V(t.iri):t.iri,config:e.configLoaded.id,languages:e.shouldShowSettings()?S.languages:[],includeInferred:S.includeInferred,sameAsState:S.sameAsState}).then((function(e){x[n]=e.data})))})),g.all(v).then((function(){_.forEach(x,(function(e,t){var r=2*Math.PI*t/x.length,i=(n?n.x:0)+Math.cos(r)*ce/3,o=(n?n.y:0)+Math.sin(r)*ce/3;e.isTriple?de.addTriple(e,i,o):de.addNode(e,i,o)})),de.addAndMatchLinks(i),n&&(n.isExpanded=!0),Ie()}))}}function _e(t,n,r){if(!Se.getLoadingState()){Se.init(t,r);var i=R(),o=t.iri;C.getInstanceNodeLinks({iri:o,linksLimit:i.linksLimit,includeInferred:i.includeInferred,config:e.configLoaded.id,preferredTypes:e.shouldShowSettings()?i.preferredTypes:[],rejectedTypes:e.shouldShowSettings()?i.rejectedTypes:[],preferredPredicates:e.shouldShowSettings()?i.preferredPredicates:[],rejectedPredicates:e.shouldShowSettings()?i.rejectedPredicates:[],preferredTypesOnly:e.shouldShowSettings()?i.preferredTypesOnly:[],preferredPredicatesOnly:e.shouldShowSettings()?i.preferredPredicatesOnly:[],languages:e.shouldShowSettings()?i.languages:[],sameAsState:i.sameAsState,includeSchema:i.includeSchema}).then((function(e){Te(e,t,n)}),(function(t){var n=getError(t.data);p.error(n,T.instant("graphexplore.error.exploring.node")),e.loading=!1,Se.setLoadingState(!1)}))}}function Ne(){angular.isDefined(be)&&be.expandedState&&be.removeIcons()}function Ae(t){me.stop(),e.openedNodeInfoPanel=t,e.showNodeInfo=!0,e.showFilter=!1,e.showPredicates=!1,e.nodeLabels=t.labels,e.nodeTypes=t.types,e.rdfRank=t.rdfRank,e.nodeIri=t.iri,e.resourceType=t.isTriple?"triple":"uri",e.encodedIri=t.isTriple?encodeURIComponent(V(t.iri)):encodeURIComponent(t.iri),e.showInfoPanel=!0,e.rdfsLabel=t.labels[0].label,e.rdfsComment=t.comment,e.expanded=!1,e.propertiesQueryObj.query="",e.dataNodeKeysQuery="";var n=R();C.getProperties({iri:t.isTriple?V(t.iri):t.iri,config:e.configLoaded.id,languages:e.shouldShowSettings()?n.languages:[],includeInferred:n.includeInferred,sameAsState:n.sameAsState,rejectedPredicates:e.shouldShowSettings()?n.rejectedPredicates:[]}).then((function(t){e.data=_.mapKeys(t.data,(function(t,n){return e.replaceIRIWithPrefix(n)})),e.propertiesObj.items=[],_.forEach(e.data,(function(t,n){e.propertiesObj.items.push({key:n,value:t})})),e.nodeImage=void 0,e.propertiesNotFiltered=e.propertiesObj.items;var n=_.find(e.propertiesObj.items,(function(e){return"image"===e.key}));n&&(e.nodeImage=n.value[0].v),e.propertiesObj.items=_.reject(e.propertiesObj.items,(function(e){return"image"===e.key})),e.propertiesNotFiltered=e.propertiesObj.items}),(function(e){p.warning(getError(e.data),"Error")}))}function Pe(e){Me("predicate","var(--primary-color-dark)",e),Me("predicates","var(--primary-color-dark)",e);var t=document.getElementsByClassName("link");t&&_.each(t,(function(t){var n=t.__data__;(n.source.iri.indexOf(e.iri)>=0||n.target.iri.indexOf(e.iri)>=0)&&(t.style.stroke="var(--primary-color-dark)",t.style.strokeWidth=4)}));var n=document.getElementsByClassName("arrow-marker");n&&_.each(n,(function(t){var n=t.__data__;(n.source.iri.indexOf(e.iri)>=0||n.target.iri.indexOf(e.iri)>=0)&&(t.style.stroke="var(--primary-color-dark)",t.__data__.target.isTriple||t.setAttribute("refX","23"))}))}function Me(e,t,n){var r=document.getElementsByClassName(e);r&&_.each(r,(function(e){var r=e.__data__;n?((r.source.iri.indexOf(n.iri)>=0||r.target.iri.indexOf(n.iri)>=0)&&(e.style.fill=t),B(n.iri)===U(r)&&(e.textContent=n.pred,e.style.fill=t),n.oppLinkIRI&&n.oppLinkIRI===U(r)&&(e.textContent=n.oppTriplePred,e.style.fill=t)):(e.style.fill=t,e.textContent=Re(r))}))}function Oe(){_.each(e.predicates,(function(e){var t=document.getElementById(e.linkId+e.nodeIndex);t&&(t.style.fontWeight="normal")}));var t=document.getElementsByClassName("link");t&&_.each(t,(function(e){e.style.stroke="#999",e.style.strokeWidth=1})),Me("predicate",""),Me("predicates","");var n=document.getElementsByClassName("arrow-marker");n&&_.each(n,(function(e){e.style.stroke="#999",e.__data__.target.isTriple||e.setAttribute("refX","59")}))}function Ee(e){var t=B(e);if(de.tripleNodes.has(t))return de.tripleNodes.get(t).find((function(t){return t.iri===e}))}function Re(e){return e.predicates.length>1?e.predicates.length+" predicates":je(e.predicates[0])}function je(t){var n=e.replaceIRIWithPrefix(t);return n.length===t.length?t.split("/")[t.split("/").length-1]:n}e.toggleSidePanel=function(){e.pageslideExpanded=!e.pageslideExpanded},e.closeInfoPanel=function(){e.pageslideExpanded=!1,e.openedNodeInfoPanel=void 0,e.predicates=[],oe=null,f((function(){e.showInfoPanel=!1}))},e.clickLink=function(t){if(de.tripleNodes.has(t.linkId)){Oe();var n=de.tripleNodes.get(t.linkId)[t.nodeIndex];Ae(n),e.showPredicates=!0;var r=document.getElementById(t.linkId+t.nodeIndex);r&&(r.style.fontWeight="bold");for(var i={},o=de.tripleLinksCopy.values(),a=function(){var e=o.next().value;e.length>1&&e.every((function(t){return t.source.iri===n.iri?(i.iri=e[0].source.iri,t.target.isTriple&&(i.oppLinkIRI=B(t.target.iri),i.oppTriplePred=je(t.target.iri.split(" ")[1])),i.pred=je(n.iri.split(" ")[1]),1===t.predicates.length&&(i.linkPred=t.predicates[0]),!1):t.target.iri!==n.iri||(i.iri=e[0].target.iri,t.source.isTriple&&(i.oppLinkIRI=B(t.source.iri),i.oppTriplePred=je(t.source.iri.split(" ")[1])),i.pred=je(n.iri.split(" ")[1]),1===t.predicates.length&&(i.linkPred=t.predicates[0]),!1)}))},s=0;s<de.tripleLinksCopy.size;s++)a();i.iri||(i.iri=n.iri,i.pred=je(n.iri.split(" ")[1])),Pe(i)}},e.splitPredicate=function(e){return e.split("/")[e.split("/").length-1]},e.getActiveRepository=function(){return n.getActiveRepository()},e.isLoadingLocation=function(){return n.isLoadingLocation()},e.hasActiveLocation=function(){return n.hasActiveLocation()},e.rotate=function(e){Ne();var t=10*(e?1:-1)*Math.PI/180,n=Math.cos(t),r=Math.sin(t),i=se/2,o=ce/2;d3.selectAll(".node-wrapper").each((function(e){e.x=i+(n*(e.x-i)+r*(e.y-o)),e.y=o+(-r*(e.x-i)+n*(e.y-o)),e.fixed&&(e.fx=e.x,e.fy=e.y)})),me.alpha(1).restart()},e.openUri=function(t,n){if(!n){var r={};e.configLoaded.id!==e.defaultGraphConfig.id&&(r.config=e.configLoaded.id),r.uri=t,O(r,{uri:t,config:e.configLoaded})}e.$broadcast("onRootNodeChange",t)},e.saveOrUpdateGraph=function(){var t=JSON.stringify(de.copyState()),n={id:e.lastSavedGraphId,name:e.lastSavedGraphName,data:t,shared:e.shared};n.id?e.saveGraphModal("update",n):e.saveGraphModal("new",n)},e.renameSavedGraph=function(t){e.saveGraphModal("rename",{id:t.id,name:t.name,config:t.config,shared:t.shared})};var Ge=function(t){k.editSavedGraph(t).success((function(){e.lastSavedGraphName=t.name,e.shared=t.shared,e.refreshSavedGraphs(),p.success(T.instant("graphexplore.saved.graph.was.edited",{name:t.name}))})).error((function(e){var t=getError(e);p.error(t,T.instant("graphexplore.error.cannot.edit"))}))};e.saveGraphModal=function(t,n,r){S.open({templateUrl:"js/angular/graphexplore/templates/modal/save-graph.html",controller:"SaveGraphModalCtrl",resolve:{data:function(){return{mode:t,graph:n,graphExists:r,shared:n.shared}}}}).result.then((function(t){if(t.restart)e.saveGraphModal(t.mode,t.graph,!1);else switch(t.mode){case"new":!function(t){e.configLoaded&&(t.config=e.configLoaded.id),k.addNewSavedGraph(t).success((function(n,r,i){e.lastSavedGraphName=t.name,e.lastSavedGraphId=i()["x-saved-graph-id"],e.shared=t.shared,e.refreshSavedGraphs(),p.success(T.instant("graphexplore.saved.graph",{name:t.name}))})).error((function(n,r){if(422===r)e.saveGraphModal("new",t,!0);else{var i=getError(n);p.error(i,T.instant("graphexplore.error.cannot.create.graph"))}}))}(t.graph);break;case"update":case"rename":Ge(t.graph)}}))},e.refreshSavedGraphs=function(){k.getSavedGraphs().success((function(t){e.savedGraphs=t})).error((function(e){var t=getError(e);p.error(t,T.instant("graphexplore.error.getting.saved.graphs"))}))},e.loadSavedGraph=function(t,n){t.owner?(e.lastSavedGraphName=t.name,e.lastSavedGraphId=t.id,e.shared=t.shared,e.configLoaded=e.findConfigById(t.config)):(e.lastSavedGraphName=null,e.lastSavedGraphId=null,e.shared=t.shared),e.configLoaded||(e.configLoaded=e.defaultGraphConfig),m.url("?saved="+t.id),de.restoreState(JSON.parse(t.data)),n||O({saved:t.id},{savedGraph:t})},e.copyToClipboardSavedGraph=function(t){var n=[location.protocol,"//",location.host,location.pathname,"?saved=",t.id].join("");e.copyToClipboard(n)},e.deleteSavedGraph=function(t){x.openSimpleModal({title:T.instant("common.confirm"),message:T.instant("graphexplore.confirm.delete.graph",{graphName:t.name}),warning:!0}).result.then((function(){!function(t){k.deleteSavedGraph(t).success((function(){e.refreshSavedGraphs(),p.success(T.instant("graphexplore.saved.graph.was.deleted",{name:t.name}))})).error((function(e){var t=getError(e);p.error(t,T.instant("graphexplore.error.cannot.delete"))}))}(t)}))},e.openIRI=function(t,n){return n.shiftKey?e.$broadcast("onRootNodeChange",t):window.open(t,"_blank"),!1},e.togglePinAllNodes=function(){Ne();var t=angular.isUndefined(e.numberOfPinnedNodes)||e.numberOfPinnedNodes<=0;e.numberOfPinnedNodes=0,d3.selectAll(".node").each((function(n){n.fixed=t,t?(e.numberOfPinnedNodes++,n.fx=n.x,n.fy=n.y):(n.fx=null,n.fy=null)})),me.alpha(1).restart()},$("body").on("keydown",(function(t){!N.isActive()&&"input"!==t.target.nodeName&&e.nodeSelected&&(37===t.keyCode?e.rotate(!0):39===t.keyCode&&e.rotate(!1))})),e.getLiteralFromPropValue=function(e){return e.substring(e.indexOf(":")+1)}}function f(e,t,n,r){switch(e.mode=n.mode,e.graph=_.cloneDeep(n.graph),e.graphExists=n.graphExists,e.mode){case"new":e.title=r.instant("graphexplore.create.new.graph"),e.okButtonText=r.instant("common.create.btn");break;case"update":e.title=r.instant("graphexplore.update"),e.okButtonText=r.instant("common.save.btn");break;case"rename":e.title=r.instant("graphexplore.rename"),e.okButtonText=r.instant("common.save.btn")}e.ok=function(){e.form.$valid&&t.close({graph:e.graph,mode:e.mode})},e.saveNew=function(){e.graph.name=e.graph.name+" (new)",t.close({graph:e.graph,mode:"new",restart:!0})},e.cancel=function(){t.dismiss("cancel")}}angular.module("graphdb.framework.graphexplore.controllers.graphviz",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","ngTagsInput","graphdb.framework.utils.localstorageadapter","graphdb.core.services.workbench-context","graphdb.framework.core.services.rdf4j.repositories"]).controller("GraphsVisualizationsCtrl",p).controller("SaveGraphModalCtrl",f).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]),p.$inject=["$scope","$rootScope","$repositories","$licenseService","toastr","$timeout","ClassInstanceDetailsService","$q","$location","$jwtAuth","UiScrollService","ModalService","$uibModal","$window","LocalStorageAdapter","LSKeys","SavedGraphsRestService","GraphConfigRestService","GraphDataRestService","$translate","GuidesService","WorkbenchContextService","RDF4JRepositoriesService"],f.$inject=["$scope","$uibModalInstance","data","$translate"]},569:function(e,t,n){var r,i;r=[n(577)],void 0===(i=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(577)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=i)},581:function(e,t,n){"use strict";n(569);var r=r||{};r.Text=function(){function e(e,t,n,r){n=n||10;var i=t/3;return"string"==typeof e?(i*=10/(e.substring(0,t/3).length+1.5),i+=1,e.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(i*=.6),i<n&&(i=n),Math.round(i)):(i<n&&(i=n),Math.round(i))}return{calcFontSizeRaw:e,calcFontSize:function(t,n,r,i){return e(t,n,r)+"px"},getTextWithElipsisIfNeeded:function(e,t){return"string"==typeof e&&e.length>t?e.substring(0,t-3)+"...":e}}}(),r.Transition={fadeIn:function(e,t){e.style("opacity",0).transition().duration(t).style("opacity",1)},fadeOut:function(e,t){e.style("opacity",1).transition().duration(t).style("opacity",0)}},r.Click=function(){var e=function(e,n){for(var r,i=1,o=arguments.length;++i<o;)e[r=arguments[i]]=t(e,n,n[r]);return e};function t(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}return{delayDblClick:function(){var t=d3.dispatch("click","dblclick");return e((function(e){var n,r=null;e.on("mousedown",(function(){n=d3.pointer(document.body),+new Date})),e.on("mouseup",(function(e,i){var o,a,s;(a=n,s=d3.pointer(document.body),Math.sqrt(Math.pow(a[0]-s[0],2),Math.pow(a[1]-s[1],2))>5)||(r?(window.clearTimeout(r),r=null,t.call("dblclick",e,e,i)):r=window.setTimeout((o=e,function(){t.call("click",o,o,i),r=null}),250))}))}),t,"on")}}}(),t.a=r},593:function(e,t,n){"use strict";t.a=function(){var e=function(){return"n"},t=function(){return[0,0]},n=function(){return" "},r=u(),i=null,o=null,a=null,s=null;function c(e){var t;i="svg"===(t=(t=e).node()).tagName.toLowerCase()?t:t.ownerSVGElement,o=i.createSVGPoint(),document.body.appendChild(r)}c.show=function(){var r=Array.prototype.slice.call(arguments);r[r.length-1]instanceof SVGElement&&(a=r.pop());var i,o=n.apply(this,r),u=t.apply(this,r),f=e.apply(this,r),h=p(),g=d.length,m=document.documentElement.scrollTop||document.body.scrollTop,y=document.documentElement.scrollLeft||document.body.scrollLeft,v=s.apply(this,r);for(h.html(o).style("opacity",1).style("pointer-events","all");g--;)h.classed(d[g],!1);var x=r.filter((function(e){return e instanceof Event}));return i=l.get(f).apply(this,x),v?Object.keys(v).forEach((function(e){h.style(e,v[e])})):h.classed(f,!0).style("top",i.top+u[0]+m+"px").style("left",i.left+u[1]+y+"px"),c},c.hide=function(){return p().style("opacity",0).style("pointer-events","none"),c},c.attr=function(e,t){if(arguments.length<2&&"string"==typeof e)return p().attr(e);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(p(),n),c},c.style=function(e,t){if(arguments.length<2&&"string"==typeof e)return p().style(e);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(p(),n),c},c.direction=function(t){return arguments.length?(e=null==t?t:h(t),c):e},c.offset=function(e){return arguments.length?(t=null==e?e:h(e),c):t},c.html=function(e){return arguments.length?(n=null==e?e:h(e),c):n},c.customPosition=function(e){return arguments.length?(s=null==e?e:h(e),c):s},c.destroy=function(){return r&&(p().remove(),r=null),c};var l=new Map(Object.entries({n:function(e){var t=f(e);return{top:t.n.y-r.offsetHeight,left:t.n.x-r.offsetWidth/2}},s:function(e){var t=f(e);return{top:t.s.y,left:t.s.x-r.offsetWidth/2}},e:function(e){var t=f(e);return{top:t.e.y-r.offsetHeight/2,left:t.e.x}},w:function(e){var t=f(e);return{top:t.w.y-r.offsetHeight/2,left:t.w.x-r.offsetWidth}},nw:function(e){var t=f(e);return{top:t.nw.y-r.offsetHeight,left:t.nw.x-r.offsetWidth}},ne:function(e){var t=f(e);return{top:t.ne.y-r.offsetHeight,left:t.ne.x}},sw:function(e){var t=f(e);return{top:t.sw.y,left:t.sw.x-r.offsetWidth}},se:function(e){var t=f(e);return{top:t.se.y,left:t.e.x}}})),d=l.keys();function u(){var e=d3.select(document.createElement("div"));return e.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),e.node()}function p(){return null===r&&(r=u(),document.body.appendChild(r)),d3.select(r)}function f(e){for(var t=a||e.target;void 0===t.getScreenCTM&&"undefined"===t.parentNode;)t=t.parentNode;var n={},r=t.getScreenCTM(),i=t.getBBox(),s=i.width,c=i.height,l=i.x,d=i.y;return o.x=l,o.y=d,n.nw=o.matrixTransform(r),o.x+=s,n.ne=o.matrixTransform(r),o.y+=c,n.se=o.matrixTransform(r),o.x-=s,n.sw=o.matrixTransform(r),o.y-=c/2,n.w=o.matrixTransform(r),o.x+=s,n.e=o.matrixTransform(r),o.x-=s/2,o.y-=c/2,n.n=o.matrixTransform(r),o.y+=c,n.s=o.matrixTransform(r),n}function h(e){return"function"==typeof e?e:function(){return e}}return c}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{266:function(e,t,n){"use strict";n.r(t);var r=n(593),a=n(619),i=n(581),o=n(582);n(13);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n,l,c,d,u,f,h,p,y,v,g){return{restrict:"AE",template:'<div id="classChart"></div>',scope:{classHierarchyData:"=",flattenedClassNames:"=",selectedClass:"=",currentSliderValue:"=",showClassInfoPanel:"=",showExternalElements:"=",hidePrefixes:"=",currentBrowserLimit:"="},link:function(u,m,x){!function(u,m){var x,w,S=d3.pack().size([780,780]),C=d3.scaleLinear().domain([0,4]).range(["hsl(19, 70%, 90%)","hsl(19, 70%, 50%)"]).interpolate(d3.interpolateHcl),E=d3.select("#classChart").insert("svg:svg","h2").attr("viewBox","0 0 800 800").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null);function T(){return E.append("svg:g").attrs({id:"main-group",transform:"translate(400,400)"})}function A(){return"true"===y.get(v.CLASS_HIERARCHY_HIDE_PREFIXES)}function R(){var e=o.a.Export.getCSSRules("css/rdf-class-hierarchy-labels.css?v=3.0.0-TR5");d3.selectAll("#main-group").append("defs"),$("defs").append('<style type="text/css"><![CDATA['+e+"]]></style>"),d3.selectAll("g").style("opacity",1);var t=o.a.Export.generateBase64ImageSource("#classChart svg");d3.select(this).attrs({href:t,download:"class-hierarchy-"+d.getActiveRepository()+".svg"})}u.hidePrefixes=A();var b,H,I=T();if(!u.classHierarchyData.classCount&&d.getActiveRepository()&&!d.isSystemRepository()){e.loader=!0,e.hierarchyError=!1;var P=y.get("classHierarchy-selectedGraph-".concat(d.getActiveRepository()));n.getClassHierarchyData(null!==P?P.contextID.uri:"").success((function(t,n,r){e.loader=!1,207===n&&f.warning(g.instant("graphexplore.update.diagram"),g.instant("graphexplore.repository.data.changed")),u.classHierarchyData=t,d3.select("#download-svg").on("mouseover",R)})).error((function(t){e.loader=!1,e.hierarchyError=getError(t),f.error(g.instant("graphexplore.error.request.failed",{name:p,error:getError(t)}))}))}var k,L,N,D,F,O,z,U={};function M(n,o,s,d){L&&L(),N&&N(),d3.selectAll("#main-group").remove(),I=T(),a.a.SingleChild.addPlaceholders(n,!0),(w=d3.hierarchy(n)).sum((function(e){return e.size})),k=s||w,S(w);var f,y=w.descendants();k.isInFocusTransitive=!0,a.a.SingleChild.removePlaceholders(y),a.a.SingleChild.centerNodes(y),a.a.SingleChild.makePositionsRelativeToZero(y),x||(x=Object(r.a)().attr("class","d3-tip").customPosition((function(e,t){return{top:"inherit",bottom:l.innerHeight-t.clientY+"px",right:l.innerWidth-t.clientX+"px"}})).html((function(e){return e.data.name})),E.call(x));var v=I.selectAll("circle").data(y).enter().append("g");o.doFade&&v.each((function(e){i.a.Transition.fadeIn(d3.select(this),550)}));var g,m=[],A=v.append("circle").attr("class",(function(e){return e.data.role})).attr("guide-selector",(function(e){return"class-"+e.data.name})).style("fill",(function(e){return e.children?C(e.depth):"#E0D0D0"})).each((function(e){if(e.circle=d3.select(this),e.data.name!==p){var t=e.data.name;m.push({name:t}),U[[t]]=e,e.circle.classed("rdf-class",!0),e.circle.on("mouseover",(function(t){o.noPrefixes||e.textHidden?x.show(e,t):x.hide(e)})),e.circle.on("mouseout",x.hide)}})).on("gdb-focus",(function(e,t){return H(t)})).on("gdb-zoom",(function(e,t){return W(t)}));function R(e){d3.selectAll(".selected").classed("selected",e.selected=!1),e.circle.classed("selected",e.selected=!0),g=e}function P(){u.showClassInfoPanel=!1}m&&(m=_.uniqBy(m,"name"),u.flattenedClassNames=m);var D=i.a.Click.delayDblClick();d3.selectAll(".parent, .topLevelParent, .child, .root").call(D),H=function(e){W(e),e.data.name===p?(P(),d3.selectAll(".selected").classed("selected",!1)):(R(e),u.selectedClass=g,u.showClassInfoPanel=!0,u.$on("sidePanelClosed",(function(t){d3.selectAll(".selected").classed("selected",e.selected=!1)})))},D.on("click",(function(e,t){t.data.id&&l.history.pushState({id:t.data.id},"classHierarchyPage"+t.data.id,"hierarchy#"+t.data.id),x.hide(),H(t)})),D.on("dblclick",(function(t,r){r!==n&&(x.hide(),R(r),e.$broadcast("goToDomainRangeGraphView",g,k),t.stopPropagation())}));var F=0;E.on("wheel",(function(e){x.hide(),e.preventDefault(),e.stopPropagation();var t=(new Date).getTime();if(t-F>100){F=t;var n="";e.deltaY<=-1?n="in":e.deltaY>=1&&(n="out");var r=e.target.__data__;if(r||(r=k),"in"===n){if(r!==k){for(;r.parent&&!r.parent.isInFocusTransitive;)r=r.parent;r.depth<k.depth&&(r=k)}if(r===k&&r.children){for(var a=r.children[0],i=1;i<r.children.length;i++)r.children[i].sortingRank>a.sortingRank&&(a=r.children[i]);a.children&&(r=a)}else r.children||(r=r.parent);W(r,!0)}else"out"===n&&(r=k.parent)&&W(r,!0);k.data.name===p&&l.history.replaceState({id:1},"classHierarchyPage1","hierarchy#1"),V()}}));var $=I.selectAll("text").data(y).enter().append("text").attr("class",(function(e){return e.children&&e.children.length?"label":"label child-label"})).each((function(e){e.textSel=d3.select(this)}));o.noPrefixes?($.each((function(e){var t=e.data.name.indexOf(":");e.data.name.indexOf("http://")>-1?e.noPrefixName=e.data.name:t>-1&&(e.noPrefixName=e.data.name.substring(t+1))})),$.style("font-size",(function(e){return i.a.Text.calcFontSize(e.noPrefixName,e.r)})).text((function(e){return i.a.Text.getTextWithElipsisIfNeeded(e.noPrefixName,e.r/3)}))):$.style("font-size",(function(e){return i.a.Text.calcFontSize(e.data.name,e.r)})).text((function(e){return i.a.Text.getTextWithElipsisIfNeeded(e.data.name,e.r/3)})),$.style("display",(function(e){return e.parent&&e.parent.data===k.data?(e.textHidden=this.textContent.indexOf("...")+3===this.textContent.length,null):(e.textHidden=!0,"none")})),o.doFade&&!o.keepPrevState&&$.each((function(e){i.a.Transition.fadeIn(d3.select(this),550)})),b=function(){function e(e){e&&A.each((function(t){+e===t.data.id&&H(t)}))}var n=t.hash();l.onpopstate=function(t){t.state&&e(t.state.id)},e(n)};var O=I.selectAll("circle, text");function z(e,t){var n=800/e[2];f=e,O.attr("transform",(function(t){return"translate("+(t.x-e[0])*n+","+(t.y-e[1])*n+")"})),A.attr("r",(function(e){return e.r*n})),t&&$.each((function(e){e.data.fullName!==k.data.topLevelParentUri&&k.data.topLevelParentUri!==p||(e.textSel.style("display","none"),k.children&&k.children.length?_.each(k.children,(function(e){e.textSel.style("display","inline")})):k.textSel.style("display","inline"),k.parent&&_.each(k.parent.children,(function(e){e.data.name!==k.data.name&&e.textSel.style("display","inline")})))})),$.style("font-size",(function(e){return o.noPrefixes?i.a.Text.calcFontSize(e.noPrefixName,e.r*n):i.a.Text.calcFontSize(e.data.name,e.r*n)})).text((function(e){return o.noPrefixes?i.a.Text.getTextWithElipsisIfNeeded(e.noPrefixName,e.r*n/3):i.a.Text.getTextWithElipsisIfNeeded(e.data.name,e.r*n/3)}))}function M(e){var t=2*e+20;return 2*e/t<.3&&(t=2*e+2),t}function B(e){!e.isInFocusTransitive&&e.parent&&e.parent.isInFocusTransitive?(e.textHidden=this.textContent.indexOf("...")+3===this.textContent.length,this.style.display=""):(e.textHidden=!0,this.style.display="none")}function W(e,t){if(c((function(){u.showExternalElements=e.data.name===p})),k!==e&&(e.data.id&&l.history.replaceState({id:e.data.id},"classHierarchyPage"+e.data.id,"hierarchy#"+e.data.id),e.children||(e=e.parent,k!==e))){if(t&&(P(),d3.selectAll(".selected").classed("selected",!1)),k.parent)for(var n=k;n;)n.isInFocusTransitive=!1,n=n.parent;for(n=e;n;)n.isInFocusTransitive=!!n.children,n=n.parent;if(2*(k=e).r/(2*k.r+20)<.3||u.currentSliderValue>u.currentBrowserLimit)z([k.x,k.y,M(k.r)]),$.each((function(e){B.call(this,e)}));else d3.transition().duration(h).tween("zoom",(function(e){var t=d3.interpolateZoom(f,[k.x,k.y,M(k.r)]);return function(e){z(t(e))}})).selectAll("text").each(B)}}z([k.x,k.y,M(k.r)],d),L=u.$on("rootFocus",(function(){l.history.pushState({id:1},"classHierarchyPage1","hierarchy#1"),H(w)})),N=u.$on("classSearch",(function(e){H(e)}))}function V(){var t=u.classHierarchyData.classCount,n=y.get(v.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE);(!n||n>t)&&(n=t,y.set(v.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE,n)),e.$broadcast("classCount",t,n)}window.addEventListener("resize",V),window.addEventListener("beforeunload",(function e(){window.removeEventListener("resize",V),window.removeEventListener("beforeunload",e)})),u.$watch("classHierarchyData",(function(){D&&D(),F&&F(),O&&O(),z&&z();var e=A();if(u.classHierarchyData.classCount){var t=function(e,t){var n={keepPrevState:!0,noPrefixes:A()};a=n.noPrefixes,M(r||e,n,k,!0),c((function(){y.set(v.CLASS_HIERARCHY_SWITCH_PREFIXES,t),b()}),70)},n=function(e,n,i){if(e){y.set(v.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE,e),r={name:p,children:[]};for(var l=new Set,c=1;c<=e;c++)l.add(n[c].data.id),n[c].parent===n[0]&&r.children.push(n[c].data);if(function e(t){if(t.children){var n,r=[],a=s(t.children);try{for(a.s();!(n=a.n()).done;){var i=n.value;l.has(i.id)&&r.push($.extend({},i))}}catch(e){a.e(e)}finally{a.f()}t.children=r;var o,c=s(t.children);try{for(c.s();!(o=c.n()).done;){e(o.value)}}catch(e){c.e(e)}finally{c.f()}}}(r),i)a=angular.isUndefined(a)?A():a,M(r,{noPrefixes:a});else t(o)}};V();var r,a,i,o=_.cloneDeep(u.classHierarchyData),l=function(e){return e.descendants().sort((function(e,t){return e.data.sortingRank>t.data.sortingRank?-1:e.data.sortingRank<t.data.sortingRank||e.data.depth>t.data.depth?1:e.data.depth<t.data.depth?-1:0}))}(d3.hierarchy(o)),d=y.get(v.CLASS_HIERARCHY_CURRENT_SLIDER_VALUE);if(d)n(d,l);else{var f={doFade:!0,keepPrevState:!0,noPrefixes:A()};M(o,f),b()}D=u.$watch("hidePrefixes",(function(n){angular.isUndefined(n)||e?e=void 0:c((function(){!function(e){angular.isUndefined(e)||y.set(v.CLASS_HIERARCHY_HIDE_PREFIXES,e)}(n),t(o,!0)}),50)}),!0),F=u.$watch("currentSliderValue",(function(e){n(e,l,!0)}),!0),z=u.$on("onEnterKeypressSearchAction",(function(e){i&&H(i)})),O=u.$on("searchedClass",(function(e,t){(i=U[t.name])&&H(i)}))}}),!0)}(u)}}}angular.module("graphdb.framework.graphexplore.directives.class",["graphdb.framework.graphexplore.controllers.class","graphdb.framework.utils.localstorageadapter"]).constant("ZOOM_DURATION",500).constant("ROOT_OBJ_NAME","RDF Class Hierarchy").directive("rdfClassHierarchy",c),c.$inject=["$rootScope","$location","GraphDataRestService","$window","$timeout","$repositories","$licenseService","toastr","ZOOM_DURATION","ROOT_OBJ_NAME","LocalStorageAdapter","LSKeys","$translate"]},569:function(e,t,n){var r,a;r=[n(577)],void 0===(a=function(){function e(e,t){return e.each((function(){var e=t.apply(this,arguments),n=select(this);for(var r in e)n.attr(r,e[r])}))}function t(e,t){for(var n in t)e.attr(n,t[n]);return e}return"undefined"==typeof d3&&(d3=n(577)),d3.selection.prototype.attrs=function(n){return("function"==typeof n?e:t)(this,n)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){var e=this.parentNode.firstChild;e&&this.parentNode.insertBefore(this,e)}))},d3}.apply(t,r))||(e.exports=a)},581:function(e,t,n){"use strict";n(569);var r=r||{};r.Text=function(){function e(e,t,n,r){n=n||10;var a=t/3;return"string"==typeof e?(a*=10/(e.substring(0,t/3).length+1.5),a+=1,e.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<n&&(a=n),Math.round(a)):(a<n&&(a=n),Math.round(a))}return{calcFontSizeRaw:e,calcFontSize:function(t,n,r,a){return e(t,n,r)+"px"},getTextWithElipsisIfNeeded:function(e,t){return"string"==typeof e&&e.length>t?e.substring(0,t-3)+"...":e}}}(),r.Transition={fadeIn:function(e,t){e.style("opacity",0).transition().duration(t).style("opacity",1)},fadeOut:function(e,t){e.style("opacity",1).transition().duration(t).style("opacity",0)}},r.Click=function(){var e=function(e,n){for(var r,a=1,i=arguments.length;++a<i;)e[r=arguments[a]]=t(e,n,n[r]);return e};function t(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}return{delayDblClick:function(){var t=d3.dispatch("click","dblclick");return e((function(e){var n,r=null;e.on("mousedown",(function(){n=d3.pointer(document.body),+new Date})),e.on("mouseup",(function(e,a){var i,o,s;(o=n,s=d3.pointer(document.body),Math.sqrt(Math.pow(o[0]-s[0],2),Math.pow(o[1]-s[1],2))>5)||(r?(window.clearTimeout(r),r=null,t.call("dblclick",e,e,a)):r=window.setTimeout((i=e,function(){t.call("click",i,i,a),r=null}),250))}))}),t,"on")}}}(),t.a=r},582:function(e,t,n){"use strict";n(569);var r=r||{};r.Export={getCSSRules:function(e){var t=$('link[href="'+e+'"]')[0].sheet.rules,n="";return _.each(t,(function(e){n+=e.cssText})),n},generateBase64ImageSource:function(e){e||(e="svg");var t=d3.selectAll(e).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(t)))}},t.a=r},593:function(e,t,n){"use strict";t.a=function(){var e=function(){return"n"},t=function(){return[0,0]},n=function(){return" "},r=u(),a=null,i=null,o=null,s=null;function l(e){var t;a="svg"===(t=(t=e).node()).tagName.toLowerCase()?t:t.ownerSVGElement,i=a.createSVGPoint(),document.body.appendChild(r)}l.show=function(){var r=Array.prototype.slice.call(arguments);r[r.length-1]instanceof SVGElement&&(o=r.pop());var a,i=n.apply(this,r),u=t.apply(this,r),h=e.apply(this,r),p=f(),y=d.length,v=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,m=s.apply(this,r);for(p.html(i).style("opacity",1).style("pointer-events","all");y--;)p.classed(d[y],!1);var x=r.filter((function(e){return e instanceof Event}));return a=c.get(h).apply(this,x),m?Object.keys(m).forEach((function(e){p.style(e,m[e])})):p.classed(h,!0).style("top",a.top+u[0]+v+"px").style("left",a.left+u[1]+g+"px"),l},l.hide=function(){return f().style("opacity",0).style("pointer-events","none"),l},l.attr=function(e,t){if(arguments.length<2&&"string"==typeof e)return f().attr(e);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),l},l.style=function(e,t){if(arguments.length<2&&"string"==typeof e)return f().style(e);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),l},l.direction=function(t){return arguments.length?(e=null==t?t:p(t),l):e},l.offset=function(e){return arguments.length?(t=null==e?e:p(e),l):t},l.html=function(e){return arguments.length?(n=null==e?e:p(e),l):n},l.customPosition=function(e){return arguments.length?(s=null==e?e:p(e),l):s},l.destroy=function(){return r&&(f().remove(),r=null),l};var c=new Map(Object.entries({n:function(e){var t=h(e);return{top:t.n.y-r.offsetHeight,left:t.n.x-r.offsetWidth/2}},s:function(e){var t=h(e);return{top:t.s.y,left:t.s.x-r.offsetWidth/2}},e:function(e){var t=h(e);return{top:t.e.y-r.offsetHeight/2,left:t.e.x}},w:function(e){var t=h(e);return{top:t.w.y-r.offsetHeight/2,left:t.w.x-r.offsetWidth}},nw:function(e){var t=h(e);return{top:t.nw.y-r.offsetHeight,left:t.nw.x-r.offsetWidth}},ne:function(e){var t=h(e);return{top:t.ne.y-r.offsetHeight,left:t.ne.x}},sw:function(e){var t=h(e);return{top:t.sw.y,left:t.sw.x-r.offsetWidth}},se:function(e){var t=h(e);return{top:t.se.y,left:t.e.x}}})),d=c.keys();function u(){var e=d3.select(document.createElement("div"));return e.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),e.node()}function f(){return null===r&&(r=u(),document.body.appendChild(r)),d3.select(r)}function h(e){for(var t=o||e.target;void 0===t.getScreenCTM&&"undefined"===t.parentNode;)t=t.parentNode;var n={},r=t.getScreenCTM(),a=t.getBBox(),s=a.width,l=a.height,c=a.x,d=a.y;return i.x=c,i.y=d,n.nw=i.matrixTransform(r),i.x+=s,n.ne=i.matrixTransform(r),i.y+=l,n.se=i.matrixTransform(r),i.x-=s,n.sw=i.matrixTransform(r),i.y-=l/2,n.w=i.matrixTransform(r),i.x+=s,n.e=i.matrixTransform(r),i.x-=s/2,i.y-=l/2,n.n=i.matrixTransform(r),i.y+=l,n.s=i.matrixTransform(r),n}function p(e){return"function"==typeof e?e:function(){return e}}return l}},619:function(e,t,n){"use strict";var r=r||{};r.SingleChild={addPlaceholders:function e(t,n){if(t.children){for(var r=0;r<t.children.length;r++)e(t.children[r]);if(1===t.children.length){var a=1.2*t.size;n&&(a=.1*t.children[0].size),t.children.push({name:"placeholder",size:a})}}},removePlaceholders:function e(t){for(var n=t.length-1;n>=0;n--){var r=t[n];"placeholder"===r.data.name?t.splice(n,1):r.children&&e(r.children)}},centerNodes:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.children&&1===n.children.length){var r=n.x-n.children[0].x;n.children[0].x+=r,a(n.children[0],r)}}function a(e,t){if(e.children)for(var n=0;n<e.children.length;n++)e.children[n].x+=t,a(e.children[n],t)}},makePositionsRelativeToZero:function(e){for(var t=e[0].x,n=e[0].y,r=0;r<e.length;r++){var a=e[r];a.x-=t,a.y-=n}}},t.a=r}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[49,110,245,253,254,285,287,349],{140:function(e,r,n){"use strict";n.r(r),n.d(r,"EventDataType",(function(){return t}));var t={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}},150:function(e,r,n){"use strict";n.r(r),n.d(r,"RouteConstants",(function(){return t}));var t={savedQueryName:"savedQueryName",savedQueryOwner:"owner",query:"query",name:"name",owner:"owner"}},151:function(e,r,n){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,i(t.key),t)}}function u(e,r,n){return r&&o(e.prototype,r),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e){var r=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==t(r)?r:r+""}function a(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}n.r(r),n.d(r,"TabQueryModel",(function(){return c}));var c=u((function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];a(this,e),this.queryName=r,this.query=n,this.owner=t,this.isPublic=o}))},152:function(e,r,n){"use strict";n.r(r),n.d(r,"QueryType",(function(){return t}));var t={SELECT:"SELECT",CONSTRUCT:"CONSTRUCT",ASK:"ASK",DESCRIBE:"DESCRIBE",INSERT:"INSERT",DELETE:"DELETE",LOAD:"LOAD",CLEAR:"CLEAR",CREATE:"CREATE",DROP:"DROP",COPY:"COPY",MOVE:"MOVE",ADD:"ADD"}},153:function(e,r,n){"use strict";n.r(r),n.d(r,"VIEW_SPARQL_EDITOR",(function(){return t}));var t="graphdb-workbench-sparql-editor"},175:function(e,r,n){"use strict";n.r(r),n.d(r,"buildQueryModel",(function(){return o})),n.d(r,"savedQueriesResponseMapper",(function(){return u})),n.d(r,"savedQueryResponseMapper",(function(){return i})),n.d(r,"queryPayloadFromEvent",(function(){return a}));var t=n(151),o=function(e,r,n,o){return new t.TabQueryModel(r,e,n,o)},u=function(e){return e&&e.data?e.data.map?e.data.map((function(e){return o(e.body,e.name,e.owner,e.shared)})):[o(e.data.body,e.data.name,e.data.owner,e.data.shared)]:[]},i=function(e){var r=u(e);return r.length?r[0]:null},a=function(e){return{name:e.detail.queryName,body:e.detail.query,shared:e.detail.isPublic}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,112,341],{107:function(t,e,n){"use strict";n.r(e),n.d(e,"TTYG_ERROR_MSG_LENGTH",(function(){return i})),n.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return r})),n.d(e,"AGENT_OPERATION",(function(){return s}));var i=100,r="ALL",s={CREATE:"create",EDIT:"edit",CLONE:"clone"}},121:function(t,e,n){"use strict";n.r(e),n.d(e,"AgentModel",(function(){return h})),n.d(e,"AgentInstructionsModel",(function(){return d})),n.d(e,"ExtractionMethodModel",(function(){return l})),n.d(e,"AdditionalExtractionMethodsModel",(function(){return f})),n.d(e,"AdditionalExtractionMethodModel",(function(){return y})),n.d(e,"AgentListModel",(function(){return _})),n.d(e,"ExtractionMethod",(function(){return m})),n.d(e,"AdditionalExtractionMethod",(function(){return p})),n.d(e,"AgentListFilterModel",(function(){return g}));var i=n(18),r=n(107);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var h=function(){return u((function t(e,n){o(this,t),this.hashGenerator=n,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this.isRepositoryDeleted=void 0!==e.isRepositoryDeleted&&e.isRepositoryDeleted,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}),[{key:"isDeleted",get:function(){return this._isDeleted},set:function(t){this._isDeleted=t}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"repositoryId",get:function(){return this._repositoryId},set:function(t){this._repositoryId=t}},{key:"model",get:function(){return this._model},set:function(t){this._model=t}},{key:"temperature",get:function(){return this._temperature},set:function(t){this._temperature=t}},{key:"topP",get:function(){return this._topP},set:function(t){this._topP=t}},{key:"seed",get:function(){return this._seed},set:function(t){this._seed=t}},{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}},{key:"assistantExtractionMethods",get:function(){return this._assistantExtractionMethods},set:function(t){this._assistantExtractionMethods=t}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),d=function(){return u((function t(e){o(this,t),this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}),[{key:"systemInstruction",get:function(){return this._systemInstruction},set:function(t){this._systemInstruction=t}},{key:"userInstruction",get:function(){return this._userInstruction},set:function(t){this._userInstruction=t}}])}(),l=function(){return u((function t(e){o(this,t),this._method=e.method,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}),[{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"addMissingNamespaces",get:function(){return this._addMissingNamespaces},set:function(t){this._addMissingNamespaces=t}},{key:"sparqlQuery",get:function(){return this._sparqlQuery},set:function(t){this._sparqlQuery=t}},{key:"ontologyGraph",get:function(){return this._ontologyGraph},set:function(t){this._ontologyGraph=t}},{key:"maxNumberOfTriplesPerCall",get:function(){return this._maxNumberOfTriplesPerCall},set:function(t){this._maxNumberOfTriplesPerCall=t}},{key:"similarityIndex",get:function(){return this._similarityIndex},set:function(t){this._similarityIndex=t}},{key:"similarityIndexThreshold",get:function(){return this._similarityIndexThreshold},set:function(t){this._similarityIndexThreshold=t}},{key:"queryTemplate",get:function(){return this._queryTemplate},set:function(t){this._queryTemplate=t}},{key:"retrievalConnectorInstance",get:function(){return this._retrievalConnectorInstance},set:function(t){this._retrievalConnectorInstance=t}}])}(),f=function(){return u((function t(e){o(this,t),this._additionalExtractionMethods=e}),[{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),y=function(){return u((function t(e){o(this,t),this._method=e.method}),[{key:"method",get:function(){return this._method},set:function(t){this._method=t}}])}(),_=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this._agents=e,this._filterableAgents=Object(i.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}),[{key:"_initializeAgentNameByIdMap",value:function(){this._agentNameByIdMap=this._agents.reduce((function(t,e){return t[e.id]=e.name,t}),{})}},{key:"isEmpty",value:function(){return 0===this._agents.length}},{key:"filterByRepository",value:function(t){this._filterableAgents=this._agents.filter((function(e){return t===r.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0)}))}},{key:"getAgent",value:function(t){return this._agents.find((function(e){return e.id===t}))}},{key:"agents",get:function(){return this._agents},set:function(t){this._agents=t}},{key:"filterableAgents",get:function(){return this._filterableAgents},set:function(t){this._filterableAgents=t}},{key:"agentNameByIdMap",get:function(){return Object(i.cloneDeep)(this._agentNameByIdMap)},set:function(t){this._agentNameByIdMap=t}}])}(),m={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},p={IRI_DISCOVERY_SEARCH:"iri_discovery_search"},g=function(){return u((function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o(this,t),this._key=e,this._label=n,this._selected=i}),[{key:"key",get:function(){return this._key},set:function(t){this._key=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}}])}()},249:function(t,e,n){"use strict";n.r(e),n.d(e,"AgentFormModel",(function(){return h})),n.d(e,"ExtractionMethodsFormModel",(function(){return d})),n.d(e,"ExtractionMethodFormModel",(function(){return l})),n.d(e,"AdditionalExtractionMethodsFormModel",(function(){return f})),n.d(e,"AdditionalExtractionMethodFormModel",(function(){return y})),n.d(e,"AgentInstructionsFormModel",(function(){return _}));var i=n(19),r=n(121);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var h=function(){return u((function t(e){o(this,t),this._id=e&&e.id,this._name=e&&e.name,this._repositoryId=e&&e.repositoryId,this._model=e&&e.model||"gpt-4o",this._temperature=e&&e.temperature||new i.NumericRangeModel({value:.7,minValue:0,maxValue:2,step:.1}),this._topP=e&&e.topP||new i.NumericRangeModel({value:1,minValue:0,maxValue:1,step:.1}),this._seed=e&&e.seed,this._instructions=e&&e.instructions,this._assistantExtractionMethods=e&&e.assistantExtractionMethods||this.getDefaultExtractionMethods(),this._additionalExtractionMethods=e&&e.additionalExtractionMethods||this.getDefaultAdditionalExtractionMethod()}),[{key:"getDefaultExtractionMethods",value:function(){var t=[];return t.push(new l({method:r.ExtractionMethod.SPARQL,ontologyGraph:"http://example.com/swgraph",sparqlQuery:new i.TextFieldModel({value:"select ?s ?p ?o where {?s ?p ?o .}",minLength:1,maxLength:2380}),selected:!1})),t.push(new l({method:r.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new l({method:r.ExtractionMethod.SIMILARITY,similarityIndex:null,similarityIndexThreshold:new i.NumericRangeModel({value:.6,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new l({method:r.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new i.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})),new d(t)}},{key:"getDefaultAdditionalExtractionMethod",value:function(){var t=[];return t.push(new y({method:r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH})),new f(t)}},{key:"toPayload",value:function(){return{id:this.id,name:this._name,repositoryId:this._repositoryId,model:this._model,temperature:this._temperature.value,topP:this._topP.value,seed:this._seed,assistantsInstructions:this._instructions.toPayload(),assistantExtractionMethods:this._assistantExtractionMethods.toPayload(),additionalExtractionMethods:this._additionalExtractionMethods.toPayload()}}},{key:"hasExtractionMethodSelected",value:function(){return this._assistantExtractionMethods.extractionMethods.some((function(t){return t.selected}))}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"repositoryId",get:function(){return this._repositoryId},set:function(t){this._repositoryId=t}},{key:"model",get:function(){return this._model},set:function(t){this._model=t}},{key:"temperature",get:function(){return this._temperature},set:function(t){this._temperature=t}},{key:"topP",get:function(){return this._topP},set:function(t){this._topP=t}},{key:"seed",get:function(){return this._seed},set:function(t){this._seed=t}},{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}},{key:"assistantExtractionMethods",get:function(){return this._assistantExtractionMethods},set:function(t){this._assistantExtractionMethods=t}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),d=function(){return u((function t(e){o(this,t),this._extractionMethods=e}),[{key:"toPayload",value:function(){return this._extractionMethods.filter((function(t){return t.selected})).map((function(t){return t.toPayload()}))}},{key:"findExtractionMethodIndex",value:function(t){return this._extractionMethods.findIndex((function(e){return e.method===t}))}},{key:"setExtractionMethod",value:function(t){var e=this.findExtractionMethodIndex(t.method);-1!==e&&(this._extractionMethods[e]=t)}},{key:"extractionMethods",get:function(){return this._extractionMethods},set:function(t){this._extractionMethods=t}},{key:"getExtractionMethod",value:function(t){return this._extractionMethods.find((function(e){return e.method===t}))}},{key:"getSimilarityExtractionMethod",value:function(){return this.getExtractionMethod(r.ExtractionMethod.SIMILARITY)}},{key:"getRetrievalExtractionMethod",value:function(){return this.getExtractionMethod(r.ExtractionMethod.RETRIEVAL)}},{key:"getFTSSearchExtractionMethod",value:function(){return this.getExtractionMethod(r.ExtractionMethod.FTS_SEARCH)}}])}(),l=function(){return u((function t(e){o(this,t),this._selected=e.selected||!1,this._method=e.method,this._sparqlOption=e.sparqlOption,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance,this._expanded=void 0!==e.expanded&&e.expanded}),[{key:"toggleCollapse",value:function(){this._expanded=!this._expanded}},{key:"toPayload",value:function(){var t={};return t.method=this._method?this._method:null,"ontologyGraph"===this._sparqlOption?t.ontologyGraph=this._ontologyGraph?this._ontologyGraph:null:"sparqlQuery"===this._sparqlOption&&(t.sparqlQuery=this._sparqlQuery?this._sparqlQuery.value:null),this._method===r.ExtractionMethod.SPARQL&&void 0!==this._addMissingNamespaces&&(t.addMissingNamespaces=this._addMissingNamespaces),this._maxNumberOfTriplesPerCall&&(t.maxNumberOfTriplesPerCall=this._maxNumberOfTriplesPerCall),this._similarityIndex&&(t.similarityIndex=this._similarityIndex),this._similarityIndexThreshold&&this._similarityIndexThreshold.value&&(t.similarityIndexThreshold=parseFloat(this._similarityIndexThreshold.value)),this._queryTemplate&&this._queryTemplate.value&&(t.queryTemplate=this._queryTemplate.value),this._retrievalConnectorInstance&&(t.retrievalConnectorInstance=this._retrievalConnectorInstance),t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}},{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"sparqlOption",get:function(){return this._sparqlOption},set:function(t){this._sparqlOption=t}},{key:"sparqlQuery",get:function(){return this._sparqlQuery},set:function(t){this._sparqlQuery=t}},{key:"addMissingNamespaces",get:function(){return this._addMissingNamespaces},set:function(t){this._addMissingNamespaces=t}},{key:"ontologyGraph",get:function(){return this._ontologyGraph},set:function(t){this._ontologyGraph=t}},{key:"maxNumberOfTriplesPerCall",get:function(){return this._maxNumberOfTriplesPerCall},set:function(t){this._maxNumberOfTriplesPerCall=t}},{key:"similarityIndex",get:function(){return this._similarityIndex},set:function(t){this._similarityIndex=t}},{key:"similarityIndexThreshold",get:function(){return this._similarityIndexThreshold},set:function(t){this._similarityIndexThreshold=t}},{key:"queryTemplate",get:function(){return this._queryTemplate},set:function(t){this._queryTemplate=t}},{key:"retrievalConnectorInstance",get:function(){return this._retrievalConnectorInstance},set:function(t){this._retrievalConnectorInstance=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}}])}(),f=function(){return u((function t(e){o(this,t),this._additionalExtractionMethods=e}),[{key:"toPayload",value:function(){return this._additionalExtractionMethods.filter((function(t){return t.selected})).map((function(t){return t.toPayload()}))}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),y=function(){return u((function t(e){o(this,t),this._selected=e.selected||!1,this._method=e.method}),[{key:"toPayload",value:function(){return{method:this._method}}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}},{key:"method",get:function(){return this._method},set:function(t){this._method=t}}])}(),_=function(){return u((function t(e){o(this,t),this._systemInstruction=e.systemInstruction,this._systemInstructionCopy=e.defaultSystemInstruction,this._userInstruction=e.userInstruction,this._userInstructionCopy=e.defaultUserInstruction}),[{key:"toPayload",value:function(){return{systemInstruction:this._systemInstruction,userInstruction:this._userInstruction}}},{key:"systemInstruction",get:function(){return this._systemInstruction},set:function(t){this._systemInstruction=t}},{key:"systemInstructionCopy",get:function(){return this._systemInstructionCopy},set:function(t){this._systemInstructionCopy=t}},{key:"userInstruction",get:function(){return this._userInstruction},set:function(t){this._userInstruction=t}},{key:"userInstructionCopy",get:function(){return this._userInstructionCopy},set:function(t){this._userInstructionCopy=t}}])}()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[50,255,259,260,263,265],{185:function(t,i,e){"use strict";e.r(i),e.d(i,"YasrPluginName",(function(){return o}));var o={EXTENDED_TABLE:"extended_table",RAW_RESPONSE:"response",TABLE:"table"}},313:function(t,i,e){"use strict";e.r(i),e.d(i,"YasguiOrientation",(function(){return o}));var o={VERTICAL:"orientation-vertical",HORIZONTAL:"orientation-horizontal"}},314:function(t,i,e){"use strict";e.r(i),e.d(i,"YasguiQueryHttpMethod",(function(){return o}));var o={POST:"POST",GET:"GET"}},391:function(t,i,e){"use strict";e.r(i),e.d(i,"OntotextYasguiConfig",(function(){return c}));var o=e(90),n=e(313),r=e(314),s=e(98),a=e(185);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,i){for(var e=0;e<i.length;e++){var o=i[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,l(o.key),o)}}function h(t,i,e){return i&&d(t.prototype,i),e&&d(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t){var i=function(t,i){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,i||"default");if("object"!=u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==u(i)?i:i+""}var c=h((function t(){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t),this.render=o.RenderingMode.YASGUI,this.orientation=n.YasguiOrientation.VERTICAL,this.showEditorTabs=!0,this.showResultTabs=!0,this.showResultInfo=!0,this.showToolbar=!0,this.showControlBar=!0,this.showQueryButton=!0,this.showQueryLoader=!0,this.endpoint="",this.i18n=void 0,this.method=r.YasguiQueryHttpMethod.GET,this.headers=void 0,this.infer=void 0,this.immutableInfer=void 0,this.sameAs=void 0,this.immutableSameAs=void 0,this.clearState=!1,this.copyEndpointOnNewTab=!0,this.componentId=void 0,this.yasqeMode=s.YasqeMode.WRITE,this.query=void 0,this.initialQuery=void 0,this.defaultTabNameLabelKey=void 0,this.yasqeActionButtons=void 0,this.createShareableLink=null,this.populateFromUrl=!1,this.prefixes=void 0,this.defaultPlugin=a.YasrPluginName.EXTENDED_TABLE,this.pluginOrder=[a.YasrPluginName.EXTENDED_TABLE,a.YasrPluginName.RAW_RESPONSE],this.pluginsConfigurations=void 0,this.pageSize=1e3,this.paginationOn=!0,this.downloadAsOn=!0,this.maxPersistentResponseSize=5e5,this.yasqeAutocomplete=void 0,this.isVirtualRepository=void 0,this.beforeUpdateQuery=void 0,this.getRepositoryStatementsCount=void 0,this.onQueryAborted=void 0,this.yasrToolbarPlugins=void 0,this.getCellContent=function(t,i){return""},this.sparqlResponse=void 0}))},90:function(t,i,e){"use strict";e.r(i),e.d(i,"RenderingMode",(function(){return o}));var o={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},98:function(t,i,e){"use strict";e.r(i),e.d(i,"YasqeMode",(function(){return o}));var o={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,255,263,282,283,347],{101:function(e,t){function r(e,t){return{showToastMessageWithDelay:function(r){return new Promise((function(n){e.success(t.instant(r)),setTimeout(n,200)}))}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",r),r.$inject=["toastr","$translate"]},207:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t,r){return t=f(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,r||[],f(e).constructor):t.apply(e,r))}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,f(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)})(e)}function s(e,t,r){if(c())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&p(o,r.prototype),o}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.r(t),r.d(t,"SparqlTemplateError",(function(){return m}));var m=function(e){function t(){return a(this,t),l(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(u(Error))},208:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.r(t),r.d(t,"DEFAULT_SPARQL_QUERY",(function(){return u})),r.d(t,"SparqlTemplateInfo",(function(){return s}));var u="PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX ex: <http://example.com#>\nDELETE {\n ?subject ex:myPredicate ?oldValue .\n} INSERT {\n ?subject ex:myPredicate ?newValue .\n} WHERE {\n ?id rdf:type ex:MyType .\n ?subject ex:isRelatedTo ?id .\n}\n",s=i((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;l(this,e),this.query=t,this.templateID=n,this.isNewTemplate=r,this.templateExist=!1,this.isValidTemplateId=!0,this.isValidQuery=!0,this.isValidQueryMode=!0}))},331:function(e,t,r){"use strict";r.r(t);r(9),r(43),r(45),r(101),r(46),r(24);var n=r(0),o=r(208),i=r(207),a=r(98),l=r(90),u=r(21);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],u=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t,r,n,o,i,a){e.pluginName="sparql-template",e.setPluginIsActive=function(t){e.pluginIsActive=t},e.getSparqlTemplates=function(){i.isLicenseValid()&&t.getActiveRepository()&&!t.isActiveRepoOntopType()&&!t.isActiveRepoFedXType()?r.getSparqlTemplates(t.getActiveRepository()).success((function(t){e.sparqlTemplateIds=t})).error((function(e){var t=getError(e);n.error(t,a.instant("sparql.template.get.templates.error"))})):e.sparqlTemplateIds=[]},e.$watch((function(){return t.getActiveRepository()}),(function(){e.getSparqlTemplates()})),e.deleteTemplate=function(i){o.openSimpleModal({title:a.instant("common.warning"),message:a.instant("sparql.template.delete.template.warning",{templateID:i}),warning:!0}).result.then((function(){r.deleteSparqlTemplate(i,t.getActiveRepository()).success((function(){n.success(i,a.instant("sparql.template.delete.template.success")),e.getSparqlTemplates()})).error((function(e){n.error(getError(e),a.instant("sparql.template.delete.template.failure",{templateID:i}))}))}))}}function f(e,t,r,c,p,f,m,d,y,v,g,h,b,T,w,q){e.initialQuery=o.DEFAULT_SPARQL_QUERY,e.sparqlTemplateInfo=new o.SparqlTemplateInfo(e.initialQuery),e.title="",e.saveOrUpdateExecuted=!1,e.isDirty=!1,e.language=q.getLanguage(),e.canEditActiveRepo=!1;var S=!0;e.saveTemplate=function(){e.saveOrUpdateExecuted=!0,P()||k();var t=e.sparqlTemplateInfo.isNewTemplate?I:O;Q(e.sparqlTemplateInfo).then($).then(D).then(x).then(t).then(M).catch((function(e){e instanceof i.SparqlTemplateError||console.log(e)}))},e.isTemplateIdValid=function(e){return g.isValidIri(e,e.toString())},e.markDirty=function(){e.isDirty=!0},e.markPristine=function(){e.isDirty=!1};var E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.DEFAULT_SPARQL_QUERY;e.sparqlTemplateInfo.query=r,e.sparqlTemplateInfo.templateID=V(),e.sparqlTemplateInfo.isNewTemplate=!e.sparqlTemplateInfo.templateID,_(),e.yasguiConfig={showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showYasqeResizer:!1,yasqeActionButtons:u.DISABLE_YASQE_BUTTONS_CONFIGURATION,showQueryButton:!1,initialQuery:e.sparqlTemplateInfo.query,componentId:"sparql-template",prefixes:t,render:l.RenderingMode.YASQE,maxPersistentResponseSize:0,yasqeMode:e.canEditActiveRepo?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED}},I=function(e){return R(e).then(A).then(j)},R=function(t){return y.getSparqlTemplates(p.getActiveRepository()).then((function(r){return t.templateExist=r.data.find((function(t){return t===e.sparqlTemplateInfo.templateID})),t})).catch((function(e){var t=getError(e);return c.error(t,b.instant("sparql.template.get.templates.error")),Promise.reject(new i.SparqlTemplateError("Failed to retrieve sparql templates."))}))},D=function(e){return U().isQueryValid().then((function(t){return e.isValidQuery=t,e.isValidQuery?e:Promise.reject(new i.SparqlTemplateError("Invalid query."))}))},P=function(){return e.sparqlTemplateInfo.isNewTemplate||e.isDirty},A=function(e){return new Promise((function(t,r){if(e.templateExist){var o=Object(n.decodeHTML)(b.instant("sparql.template.existing.template.error",{templateID:e.templateID})),a=b.instant("common.confirm.save");N(a,o,(function(){return t(e)}),(function(){return r(new i.SparqlTemplateError("Save not confirmed."))}))}else t(e)}))};function j(t){return y.createSparqlTemplate(t,p.getActiveRepository()).then((function(){return t.isNewTemplate=!1,e.markPristine(),c.success(t.templateID,b.instant("save.sparql.template.success.msg")),t})).catch((function(e){var r=getError(e);return c.error(r,b.instant("save.sparql.template.failure.msg",{templateID:t.templateID})),Promise.reject(new i.SparqlTemplateError("Failed to save the new template: ".concat(t.templateID)))}))}var O=function(t){return y.updateSparqlTemplate(t,p.getActiveRepository()).then((function(){return t.isNewTemplate=!1,e.markPristine(),c.success(e.sparqlTemplateInfo.templateID,b.instant("update.sparql.template.success.msg")),t})).catch((function(e){var r=getError(e);return c.error(r,b.instant("save.sparql.template.failure.msg",{templateID:t.templateID})),Promise.reject(new i.SparqlTemplateError("Failed to update the template: ".concat(t.templateID)))}))},$=function(e){return U().getQuery().then((function(t){return e.query=t,e}))},x=function(e){return U().getQueryMode().then((function(t){return e.isValidQueryMode="update"===t,e.isValidQueryMode?e:Promise.reject(new i.SparqlTemplateError("Query mode is not valid."))}))},Q=function(t){return new Promise((function(r,n){t.templateID?(t.isValidTemplateId=e.isTemplateIdValid(t.templateID),t.isValidTemplateId?r(t):n(new i.SparqlTemplateError("Template identifier is not valid."))):n(new i.SparqlTemplateError("A required template identifier is missing."))}))},M=function(){setTimeout((function(){k()}),1e3)},V=function(){var e=r.hash()||"";return(r.search().templateID||"")+(e?"#".concat(e):"")},_=function(){e.title=(e.sparqlTemplateInfo.templateID?b.instant("edit"):b.instant("common.create.btn"))+" "+b.instant("view.sparql.template.title")},k=function(){r.url("/sparql-templates")},C=function(t,r){e.queryIsRunning=t,e.loaderMessage=e.queryIsRunning?r:""},U=function(){return u.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor")},N=function(e,t,r,n){h.openSimpleModal({title:e,message:t,warning:!0}).result.then((function(){angular.isFunction(r)&&r()}),(function(){angular.isFunction(n)&&n()}))},Y=function(){window.removeEventListener("beforeunload",F),L.forEach((function(e){return e()}))},F=function(t){e.isDirty&&(t.returnValue=!0)},L=[];L.push(e.$on("queryChanged",(function(t,r){r.dirty?e.markDirty():e.markPristine()}))),L.push(t.$on("$translateChangeSuccess",(function(){e.language=q.getLanguage(),_()}))),L.push(e.$on("$locationChangeStart",(function(t,n){if(e.isDirty){t.preventDefault();var o=b.instant("common.confirm"),i=b.instant("jdbc.warning.unsaved.changes");N(o,i,(function(){Y();var e=r.absUrl().length-r.url().length,t=n.substring(e);r.path(t)}))}else Y()}))),L.push(w.subscribe("repositoryWillChangeEvent",(function(t){return new Promise((function(r){if(e.sparqlTemplateInfo.isNewTemplate)r(t);else{var n=function(){e.isDirty=!1,k(),r(t)};if(e.isDirty){var o=b.instant("common.confirm"),i=b.instant("jdbc.warning.unsaved.changes");N(o,i,n,(function(){t.cancel=!0,r(t)}))}else n()}}))}))),L.push(e.$on("$destroy",Y)),window.addEventListener("beforeunload",F);var B=function(){var t="".concat(b.instant("common.refreshing.namespaces"),". ").concat(b.instant("common.extra.message"));C(!0,t),e.sparqlTemplateInfo.templateID=V();var r=p.getActiveRepository();e.sparqlTemplateInfo.templateID?Promise.all([p.getPrefixes(r),y.getSparqlTemplate(e.sparqlTemplateInfo.templateID,r)]).then((function(e){var t=s(e,2),r=t[0],n=t[1];return E(r,n.data)})).finally((function(){return C(!1)})):p.getPrefixes(r).then((function(e){return E(e)})).finally((function(){return C(!1)}))};L.push(e.$watch(e.getActiveRepositoryObject,(function(t){t&&(e.canEditActiveRepo=e.canWriteActiveRepo(),S?(B(),S=!1):k())})))}angular.module("graphdb.framework.sparql-template.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","toastr","graphdb.framework.utils.event-emitter-service"],["graphdb.framework.utils.notifications"]).controller("SparqlTemplatesCtrl",p).controller("SparqlTemplateCreateCtrl",f),p.$inject=["$scope","$repositories","SparqlTemplatesRestService","toastr","ModalService","$licenseService","$translate"],f.$inject=["$scope","$rootScope","$location","toastr","$repositories","$window","$timeout","$interval","SparqlTemplatesRestService","RDF4JRepositoriesRestService","UriUtils","ModalService","$translate","$q","EventEmitterService","$languageService"]},90:function(e,t,r){"use strict";r.r(t),r.d(t,"RenderingMode",(function(){return n}));var n={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},98:function(e,t,r){"use strict";r.r(t),r.d(t,"YasqeMode",(function(){return n}));var n={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[52,82,255,276,277,278],{167:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityQueryType",(function(){return n}));var n={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},316:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexInfo",(function(){return o}));var n=i(95),r=i(167),u=i(90);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function y(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var l=new RegExp("^[a-zA-Z0-9-_]+$"),o=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.similarityIndex=new n.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=r.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=u.RenderingMode.YASQE},(t=[{key:"setQuery",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=t||this.selectedQueryType;r.SimilarityQueryType.DATA!==i?r.SimilarityQueryType.SEARCH!==i?r.SimilarityQueryType.ANALOGICAL===i&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}},{key:"getQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=e||this.selectedQueryType;switch(t){case r.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case r.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case r.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}},{key:"markInvalidQuery",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e||this.selectedQueryType;r.SimilarityQueryType.DATA!==i?r.SimilarityQueryType.SEARCH!==i?r.SimilarityQueryType.ANALOGICAL===i&&(this.invalidAnalogicalQuery=t):this.invalidSearchQuery=t:this.invalidSelectQuery=t}},{key:"markInvalidQueryType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e||this.selectedQueryType;r.SimilarityQueryType.DATA!==i?r.SimilarityQueryType.SEARCH!==i?r.SimilarityQueryType.ANALOGICAL===i&&(this.invalidAnalogicalQueryType=t):this.invalidSearchQueryType=t:this.invalidSelectQueryType=t}},{key:"setSelectedQueryType",value:function(e){this.selectedQueryType=e}},{key:"getSelectedQueryType",value:function(){return this.selectedQueryType}},{key:"setSelectedYasguiRenderMode",value:function(e){this.selectedYasguiRenderMode=e}},{key:"getSelectedYasguiRenderMode",value:function(){return this.selectedYasguiRenderMode}},{key:"isDataQueryTypeSelected",value:function(){return r.SimilarityQueryType.DATA===this.selectedQueryType}},{key:"isSearchQueryTypeSelected",value:function(){return r.SimilarityQueryType.SEARCH===this.selectedQueryType}},{key:"isAnalogicalQueryTypeSelected",value:function(){return r.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}},{key:"isTextType",value:function(){return this.similarityIndex.isTextType()}},{key:"isPredicationType",value:function(){return this.similarityIndex.isPredicationType()}},{key:"isTextLiteralType",value:function(){return this.similarityIndex.isTextLiteralType()}},{key:"hasName",value:function(){return!!this.similarityIndex.name}},{key:"isNameValid",value:function(){return l.test(this.similarityIndex.name)}},{key:"hasSelectQuery",value:function(){return!!this.similarityIndex.selectQuery}},{key:"hasSearchQuery",value:function(){return!!this.similarityIndex.searchQuery}},{key:"hasAnalogicalQuery",value:function(){return!!this.similarityIndex.analogicalQuery}},{key:"isYasqeRenderMode",value:function(){return u.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}},{key:"isYasrRenderMode",value:function(){return u.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}},{key:"getName",value:function(){return this.similarityIndex.name}},{key:"setName",value:function(e){this.similarityIndex.name=e}},{key:"setInputIndex",value:function(e){this.similarityIndex.inputIndex=e}},{key:"getInputIndex",value:function(){return this.similarityIndex.inputIndex}},{key:"setLiteralIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.similarityIndex.isLiteralIndex=e}},{key:"getSimilarityIndex",value:function(){return this.similarityIndex}},{key:"setStopList",value:function(e){this.similarityIndex.stopList=e}},{key:"getStopList",value:function(){return this.similarityIndex.stopList}},{key:"setAnalyzer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"org.apache.lucene.analysis.en.EnglishAnalyzer";this.similarityIndex.analyzer=e}},{key:"getAnalyzer",value:function(){return this.similarityIndex.analyzer}},{key:"setType",value:function(e){this.similarityIndex.type=e}},{key:"getType",value:function(){return this.similarityIndex.type}},{key:"setOptions",value:function(e){this.similarityIndex.options=e}},{key:"getOptions",value:function(){return this.similarityIndex.options}},{key:"getInference",value:function(){return this.similarityIndex.infer}},{key:"getSameAs",value:function(){return this.similarityIndex.sameAs}}])&&s(e.prototype,t),i&&s(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}()},90:function(e,t,i){"use strict";i.r(t),i.d(t,"RenderingMode",(function(){return n}));var n={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},92:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexType",(function(){return n}));var n={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:function(e){return n.TEXT===e},isTextLiteralType:function(e){return n.TEXT_LITERAL===e},isPredicationType:function(e){return n.PREDICATION===e}}},93:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndexStatus",(function(){return n}));var n={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:function(e){return n.CREATING===e},isBuildingStatus:function(e){return n.BUILDING===e},isBuiltStatus:function(e){return n.BUILT===e},isRebuildingStatus:function(e){return n.REBUILDING===e},isOutdatedStatus:function(e){return n.OUTDATED===e},isInterruptedStatus:function(e){return n.INTERRUPTED===e},isObsoleteStatus:function(e){return n.OBSOLETE===e},isFailedStatus:function(e){return n.FAILED===e}}},95:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityIndex",(function(){return y}));var n=i(92),r=i(93);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}var y=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=n.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""},(t=[{key:"isTextType",value:function(){return n.SimilarityIndexType.isTextType(this.type)}},{key:"isTextLiteralType",value:function(){return n.SimilarityIndexType.isTextLiteralType(this.type)}},{key:"isPredicationType",value:function(){return n.SimilarityIndexType.isPredicationType(this.type)}},{key:"isCreatingStatus",value:function(){return r.SimilarityIndexStatus.isCreatingStatus(this.status)}},{key:"isBuildingStatus",value:function(){return r.SimilarityIndexStatus.isBuildingStatus(this.status)}},{key:"isBuiltStatus",value:function(){return r.SimilarityIndexStatus.isBuiltStatus(this.status)}},{key:"isRebuildingStatus",value:function(){return r.SimilarityIndexStatus.isRebuildingStatus(this.status)}},{key:"isOutdatedStatus",value:function(){return r.SimilarityIndexStatus.isOutdatedStatus(this.status)}},{key:"isInterruptedStatus",value:function(){return r.SimilarityIndexStatus.isInterruptedStatus(this.status)}},{key:"isObsoleteStatus",value:function(){return r.SimilarityIndexStatus.isObsoleteStatus(this.status)}},{key:"isFailedStatus",value:function(){return r.SimilarityIndexStatus.isFailedStatus(this.status)}}])&&a(e.prototype,t),i&&a(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[53,109,279,280,322],{104:function(e,t){angular.module("graphdb.framework.rest.similarity.service",[]).factory("SimilarityRestService",i),i.$inject=["$http","$repositories"];function i(e){return{getIndexes:function(t,i){if(t)return e.get("rest/similarity",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":i}});return e.get("rest/similarity")},getSearchQueries:function(){return e.get("".concat("rest/similarity","/config"))},rebuildIndex:function(e){return t("PUT",e.name,e.options,e.selectQuery,e.searchQuery,e.analogicalQuery,e.stopList,e.infer,e.sameAs,e.type)},deleteIndex:function(t){return e.delete("".concat("rest/similarity","?name=").concat(t.name))},createIndex:t,getSamples:function(){return e.get("".concat("rest/similarity","/samples"))},getQuery:function(t){return e.get("rest/similarity/query",{params:{name:t.indexName,options:t.indexOptions,stopList:t.indexStopList,selectQuery:t.query,infer:t.queryInference,sameAs:t.querySameAs,type:t.viewType,analyzer:t.indexAnalyzer}})},saveSearchQuery:function(t){return e({method:"put",url:"rest/similarity/search-query",data:t})}};function t(t,i,r,a,n,c,s,o,l,u,y){return e({method:t,url:"".concat("rest/similarity"),noCancelOnRouteChange:!0,data:{name:i,options:r,selectQuery:a,stopList:s,infer:o,sameAs:l,type:u,analyzer:y,searchQuery:n,analogicalQuery:c}})}}},137:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilaritySearchType",(function(){return r}));var r={SEARCH_TERM:"searchTerm",SEARCH_ANALOGICAL:"searchAnalogical",SEARCH_ENTITY:"searchEntity",SEARCH_ENTITY_PREDICATE:"searchEntityPredicate",SEARCH_DOCUMENT:"searchDocumentID",isSearchTermType:function(e){return r.SEARCH_TERM===e},isSearchAnalogicalType:function(e){return r.SEARCH_ANALOGICAL===e},isSearchEntityType:function(e){return r.SEARCH_ENTITY===e},isSearchEntityPredicateType:function(e){return r.SEARCH_ENTITY_PREDICATE===e},isSearchDocumentType:function(e){return r.SEARCH_DOCUMENT===e}}},205:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilarityResultType",(function(){return r}));var r={TERM_RESULT:"termResult",DOCUMENT_RESULT:"documentResult",ENTITY_RESULT:"entityResult",isResultDocumentType:function(e){return r.DOCUMENT_RESULT===e},isResultTermType:function(e){return r.TERM_RESULT===e}}},206:function(e,t,i){"use strict";i.r(t),i.d(t,"SimilaritySearch",(function(){return s}));var r=i(137);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=r.SimilaritySearchType.SEARCH_TERM,this.predicate="",this.termOrSubject=""},(t=[{key:"isSearchAnalogicalType",value:function(){return r.SimilaritySearchType.isSearchAnalogicalType(this.type)}},{key:"isSearchTermType",value:function(){return r.SimilaritySearchType.isSearchTermType(this.type)}},{key:"isSearchEntityType",value:function(){return r.SimilaritySearchType.isSearchEntityType(this.type)}},{key:"isSearchEntityPredicateType",value:function(){return r.SimilaritySearchType.isSearchEntityPredicateType(this.type)}},{key:"isSearchDocumentType",value:function(){return r.SimilaritySearchType.isSearchDocumentType(this.type)}}])&&n(e.prototype,t),i&&n(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}()},330:function(e,t,i){"use strict";i.r(t);i(23),i(50);var r=i(0),a=i(137),n=i(205),c=i(93),s=i(92),o=i(100),l=i(206),u=i(90),y=i(8);function p(e,t,i,p,m,d,S,h,f,T,g,R,v,x,b,I){var E="http://www.ontotext.com/graphdb/similarity/",A="http://www.ontotext.com/graphdb/similarity/psi/",w=A+"any";e.pluginName="similarity",e.pluginIsActive=!0,e.isLoading=!1,e.selectedSimilarityIndex=void 0,e.similarityIndexStatus=c.SimilarityIndexStatus,e.similarityIndexType=s.SimilarityIndexType,e.similaritySearchType=a.SimilaritySearchType,e.searchType=a.SimilaritySearchType.SEARCH_TERM,e.similarityResultType=n.SimilarityResultType,e.resultType=n.SimilarityResultType.TERM_RESULT,e.info=g,e.isGraphDBRepository=void 0,e.canEditRepo=e.canWriteActiveRepo(),e.loadSimilarityIndexesTimer=void 0,e.loadSimilarityIndexes=function(){e.isGraphDBRepository&&e.pluginIsActive&&f.getIndexes().success((function(t){return e.similarityIndexes=Object(o.mapIndexesResponseToSimilarityIndex)(t)})).error((function(e){return i.error(getError(e),v.instant("similarity.could.not.get.indexes.error"))}))},e.reloadSimilarityIndexes=function(){e.loadSimilarityIndexes(),e.loadSimilarityIndexesTimer||(e.loadSimilarityIndexesTimer=t((function(){e.$broadcast("checkIsActive"),"false"!==$("#indexes-table").attr("aria-expanded")&&e.loadSimilarityIndexes()}),5e3))},e.goToSimilarityIndex=function(t){(t.isBuiltStatus()||t.isOutdatedStatus()||t.isRebuildingStatus())&&(e.empty=!0,e.selectedSimilarityIndex!==t&&(e.lastSearch=void 0,e.selectedSimilarityIndex=t),t.isTextType()?e.searchType=a.SimilaritySearchType.SEARCH_TERM:t.isPredicationType()&&(e.searchType=a.SimilaritySearchType.SEARCH_ENTITY),(t.isTextType()||t.isPredicationType())&&$("#indexes-table").collapse("hide"))},e.performSearch=function(t,r,a,n,c){e.isLoading=!0,M(a,r);var s=q(t,r,a,n,c);x.getQueryResult(p.getActiveRepository(),s,"application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8").then((function(e){return Y(e)})).catch((function(e){return i.error(getError(e.data),v.instant("similarity.get.resource.error"))})).finally((function(){return e.isLoading=!1}))},e.viewSearchQuery=function(){var t,i,r=[];i=null==(r=(t=e.lastSearch.isSearchAnalogicalType()?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type]).match(/[a-zA-Z0-9-]+:<http:\/\/www.ontotext.com\/graphdb\/similarity\/instance\/>/))?"similarity-index":r[0].substring(0,r[0].indexOf(":"));var n=t.replace("?index",i+":"+e.selectedSimilarityIndex.name).replace("?query",e.lastSearch.termOrSubject).replace("?searchType",(e.selectedSimilarityIndex.isTextType()?":":"psi:")+(e.lastSearch.isSearchEntityPredicateType()?a.SimilaritySearchType.SEARCH_ENTITY:e.lastSearch.type)).replace("?resultType",e.selectedSimilarityIndex.isTextType()?":"+e.resultType:"psi:entityResult").replace("?parameters",O(e.searchParameters?e.searchParameters:"")).replace("?psiPredicate",e.lastSearch.predicate?L(e.lastSearch.predicate):L(w)).replace("?givenSubject",L(e.analogicalSubject)).replace("?givenObject",L(e.analogicalObject)).replace("?searchSubject",L(e.searchSubject));h.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return n}}})},e.deleteSimilarityIndex=function(t){S.openSimpleModal({title:v.instant("common.confirm"),message:v.instant("similarity.delete.index.warning",{name:t.name}),warning:!0}).result.then((function(){f.deleteIndex(t).then((function(){return e.loadSimilarityIndexes()})).catch((function(e){return i.error(getError(e))}))}))},e.viewCreateQuery=function(e){f.getQuery({indexName:e.name,indexOptions:e.options,query:e.selectQuery,indexStopList:e.stopList,queryInference:e.infer,querySameAs:e.sameAs,viewType:e.type,indexAnalyzer:e.analyzer}).success((function(e){h.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})}))},e.rebuildIndex=function(t){t.searchQuery||(t.searchQuery=t.type?e.searchQueries[t.type]:e.searchQueries.text),S.openSimpleModal({title:v.instant("common.confirm"),message:Object(r.decodeHTML)(v.instant("similarity.rebuild.index.warning",{name:t.name})),warning:!0}).result.then((function(){t.status=c.SimilarityIndexStatus.REBUILDING,f.rebuildIndex(t).catch((function(e){return i.error(getError(e))}))}))},e.setPluginIsActive=function(t){e.pluginIsActive=t},e.encodeURIComponent=function(e){return encodeURIComponent(e)},e.copyToClipboardResult=function(e){S.openCopyToClipboardModal(e)},e.trimIRI=function(e){return _.trim(e,"<>")},e.updateSearchType=function(t){e.searchType=t},e.updateResultType=function(t){e.resultType=t},e.editSimilarityIndex=function(e){Q(e)},e.cloneSimilataryIndex=function(e){Q(e,!0)},e.setPsiSubject=function(t){e.psiSubject=t},e.setAnalogicalSubject=function(t){e.analogicalSubject=t},e.setAnalogicalObject=function(t){e.analogicalObject=t};var Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={selectQuery:e.selectQuery,options:e.options,name:e.name,editSearchQuery:!t,infer:e.infer,sameAs:e.sameAs,stopList:e.stopList,type:e.type,analyzer:e.analyzer,searchQuery:e.searchQuery?e.searchQuery:"",analogicalQuery:e.analogicalQuery?e.analogicalQuery:""};d.path("similarity/index/create").search(i)},C=function(){var t=e.getActiveRepository();t&&e.activeRepository!==t&&(e.canEditRepo=e.canWriteActiveRepo(),e.activeRepository=t,e.isGraphDBRepository=P(),e.isGraphDBRepository&&(m.isLicenseValid()&&e.reloadSimilarityIndexes(),j()))},j=function(){f.getSearchQueries().success((function(t){return e.searchQueries=t})).error((function(e){return i.error(getError(e),v.instant("similarity.could.not.get.search.queries.error"))}))},O=function(e){return'"'+e+'"'},L=function(e){return void 0===e||e.startsWith("<<")&&e.endsWith(">>")?e:"<"+e+">"},P=function(){return e.getActiveRepository()&&!e.isActiveRepoOntopType()&&!e.isActiveRepoFedXType()},N=[];N.push(e.$on("repositoryIsSet",C));e.$on("$destroy",(function(){k(),e.loadSimilarityIndexesTimer&&t.cancel(e.loadSimilarityIndexesTimer)}));var k=function(){N.forEach((function(e){return e()}))};N.push(b.onAutocompleteEnabledUpdated((function(t){e.isAutocompleteEnabled=t}))),N.push(b.onSelectedRepositoryIdUpdated((function(t){t?I.getNamespaces(t).then((function(t){e.repositoryNamespaces=t})).catch((function(e){var t=getError(e);i.error(t,v.instant("error.getting.namespaces.for.repo"))})):e.repositoryNamespaces=new y.NamespacesListModel})));N.push(e.$watch("searchType",(function(){e.empty=!0})));var D=e.$watch(e.getActiveRepositoryObject,(function(e){e&&(C(),D())})),q=function(t,i,r,c,s){var o={query:U(e.lastSearch.type),$index:L("http://www.ontotext.com/graphdb/similarity/instance/"+t.name),$query:e.lastSearch.termOrSubject,$searchType:L((e.selectedSimilarityIndex.isTextType()?E:A)+(a.SimilaritySearchType.isSearchEntityPredicateType(r)?a.SimilaritySearchType.SEARCH_ENTITY:r)),$resultType:L(e.selectedSimilarityIndex.isTextType()?E+c:A+n.SimilarityResultType.ENTITY_RESULT),$parameters:O(s)};return a.SimilaritySearchType.isSearchEntityPredicateType(r)&&(o.$psiPredicate=e.lastSearch.predicate?L(e.lastSearch.predicate):L(w)),a.SimilaritySearchType.isSearchAnalogicalType(r)&&(e.searchSubject=i,o.$givenSubject=L(e.analogicalSubject),o.$givenObject=L(e.analogicalObject),o.$searchSubject=L(i)),o},M=function(t,i){e.lastSearch=new l.SimilaritySearch,e.lastSearch.type=t,a.SimilaritySearchType.isSearchEntityPredicateType(t)&&(e.lastSearch.predicate=i),e.lastSearch.termOrSubject=H(e.lastSearch.type,i,e.psiSubject)},U=function(t){return a.SimilaritySearchType.isSearchAnalogicalType(t)?e.selectedSimilarityIndex.analogicalQuery?e.selectedSimilarityIndex.analogicalQuery:e.searchQueries.analogical:e.selectedSimilarityIndex.searchQuery?e.selectedSimilarityIndex.searchQuery:e.searchQueries[e.selectedSimilarityIndex.type]},H=function(e,t,i){var r=t;return r=a.SimilaritySearchType.isSearchEntityPredicateType(e)?i:a.SimilaritySearchType.isSearchTermType(e)?O(r):L(r)},Y=function(t){e.yasguiConfig={showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,componentId:"similarity-list-component",maxPersistentResponseSize:0,render:u.RenderingMode.YASR,sparqlResponse:t.data}}}angular.module("graphdb.framework.similarity.controllers.list",["graphdb.core.services.workbench-context","graphdb.framework.core.services.rdf4j.repositories"]).controller("SimilarityCtrl",p),p.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$location","ModalService","$uibModal","SimilarityRestService","AutocompleteRestService","productInfo","RDF4JRepositoriesRestService","$translate","SparqlRestService","WorkbenchContextService","RDF4JRepositoriesService"]},420:function(e,t,i){"use strict";i.r(t);i(9),i(42),i(48),i(104),i(330),i(340),i(149);angular.module("graphdb.framework.similarity",["graphdb.framework.core.controllers","graphdb.framework.core.directives","graphdb.framework.rest.similarity.service","graphdb.framework.similarity.controllers.create","graphdb.framework.similarity.controllers.list","graphdb.framework.core.directives.yasgui-component"])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[54,72,83,113,290,291],{115:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatModel",(function(){return h})),n.d(e,"ChatByDayModel",(function(){return f})),n.d(e,"ChatsListModel",(function(){return m}));var i=n(97),r=n(22);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var h=function(){function t(e,n){a(this,t),this.hashGenerator=n,this._id=e.id,this._name=e.name,this._timestamp=e.timestamp,this._chatHistory=e.chatHistory||new i.ChatItemsListModel,this.hash=this.generateHash()}return u(t,[{key:"generateHash",value:function(){return this.hashGenerator(JSON.stringify(this))}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this.generateHash(),this._name=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"chatHistory",get:function(){return this._chatHistory},set:function(t){this._chatHistory=t||new i.ChatItemsListModel}},{key:"toRenameRequestPayload",value:function(){return{name:this._name}}}],[{key:"getEmptyChat",value:function(){return new t({name:"· · ·",timestamp:Math.floor(Date.now()/1e3)},Object(r.md5HashGenerator)())}}])}(),f=function(){return u((function t(e){a(this,t),this._day=e.day,this._timestamp=e.timestamp,this._chats=e.chats}),[{key:"day",get:function(){return this._day},set:function(t){this._day=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"chats",get:function(){return this._chats},set:function(t){this._chats=t}}])}(),m=function(){return u((function t(e){a(this,t),this._chats=e||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}),[{key:"sortByTime",value:function(){this._chats.sort((function(t,e){return e.timestamp-t.timestamp}))}},{key:"updateChatTimestamp",value:function(t,e){var n=this._chats.find((function(e){return e.id===t}));n&&(n.timestamp=e,this.sortByTime(),this.updateChatsByDay())}},{key:"updateChatName",value:function(t,e){var n=this._chats.find((function(e){return e.id===t}));n&&(n.name=e)}},{key:"deleteChat",value:function(t){this._chats=this._chats.filter((function(e){return e.id!==t.id})),this.sortByTime(),this.updateChatsByDay()}},{key:"updateChatsByDay",value:function(){var t=this;this._chatsByDay=[],this._chats.forEach((function(e){var n=new Date(1e3*e.timestamp).toDateString(),i=t._chatsByDay.find((function(t){return t.day===n}));i?i.chats.push(e):t._chatsByDay.push(new f({day:n,timestamp:1e3*e.timestamp,chats:[e]}))}))}},{key:"appendChat",value:function(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}},{key:"replaceChat",value:function(t,e){this._chats=this._chats.map((function(n){return n.id===e.id?t:n})),this.sortByTime(),this.updateChatsByDay()}},{key:"isEmpty",value:function(){return 0===this._chats.length}},{key:"getFirstChat",value:function(){return this._chats[0]}},{key:"deselectAll",value:function(){this._chats.forEach((function(t){t.selected=!1}))}},{key:"selectChat",value:function(t){this.deselectAll(),this._chats.forEach((function(e){e.selected=e.id===t.id}))}},{key:"getChat",value:function(t){return this._chats.find((function(e){return e.id===t}))}},{key:"getNonPersistedChat",value:function(){return this._chats.find((function(t){return!t.id}))}},{key:"renameChat",value:function(t){var e=this._chats.find((function(e){return e.id===t.id}));e&&(e.name=t.name)}},{key:"chats",get:function(){return this._chats},set:function(t){this._chats=t}},{key:"chatsByDay",get:function(){return this._chatsByDay},set:function(t){this._chatsByDay=t}}])}()},132:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function a(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatAnswerModel",(function(){return u})),n.d(e,"ContinueChatRun",(function(){return c}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[],this._continueRunId=e.continueRunId}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"chatName",get:function(){return this._chatName},set:function(t){this._chatName=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"continueRunId",get:function(){return this._continueRunId},set:function(t){this._continueRunId=t}}])}(),c=function(){return a((function t(e,n){r(this,t),this._chatItem=e,this._runId=n}),[{key:"chatId",get:function(){return this._chatItem.chatId}},{key:"toContinueRunRequestPayload",value:function(){return{conversationId:this.chatId,runId:this._runId,agentId:this._chatItem.agentId,tzOffset:-(new Date).getTimezoneOffset()}}}])}()},161:function(t,e,n){"use strict";n.r(e),n.d(e,"chatMessageModelListMapper",(function(){return a})),n.d(e,"chatItemsModelMapper",(function(){return o})),n.d(e,"chatMessageModelMapper",(function(){return u})),n.d(e,"chatAnswerModelMapper",(function(){return c}));var i=n(94),r=n(97),s=n(132),a=function(t){return t?t.map((function(t){return u(t)})):[]},o=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return e.forEach((function(e){var s=e.conversationId;i.CHAT_MESSAGE_ROLE.USER===e.role?(t&&n.push(t),t=new r.ChatItemModel(s,u(e))):(t||(t=new r.ChatItemModel(s,null)),t.answers.push(u(e)),t.agentId=e.agentId)})),t&&n.push(t),new r.ChatItemsListModel(n)},u=function(t){if(t)return new i.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},c=function(t){if(t)return new s.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:a(t.messages),continueRunId:t.continueRunId})}},248:function(t,e,n){"use strict";n.r(e),n.d(e,"chatsListMapper",(function(){return u})),n.d(e,"chatModelMapper",(function(){return c}));var i=n(115),r=n(22),s=n(161),a=n(97),o=Object(r.md5HashGenerator)(),u=function(t){if(!t)return new i.ChatsListModel;var e=t.map((function(t){return c(t)}));return new i.ChatsListModel(e)},c=function(t){if(t)return new i.ChatModel({id:t.id,name:t.name,timestamp:t.timestamp,chatHistory:t.messages&&t.messages.length?Object(s.chatItemsModelMapper)(t.messages):new a.ChatItemsListModel},o)}},94:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function s(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatMessageModel",(function(){return a})),n.d(e,"CHAT_MESSAGE_ROLE",(function(){return o}));var a=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*e.timestamp},(e=[{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"role",get:function(){return this._role},set:function(t){this._role=t}},{key:"message",get:function(){return this._message},set:function(t){this._message=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),o={USER:"user",ASSISTANT:"assistant"}},97:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatItemModel",(function(){return c})),n.d(e,"ChatItemsListModel",(function(){return h}));var i=n(94);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var c=function(){return o((function t(e,n){s(this,t),this._chatId=e,this._agentId=void 0,this._question=n,this._answers=[]}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"agentId",get:function(){return this._agentId},set:function(t){this._agentId=t}},{key:"question",get:function(){return this._question},set:function(t){this._question=t}},{key:"answers",get:function(){return this._answers},set:function(t){this._answers=t}},{key:"setQuestionMessage",value:function(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}},{key:"getQuestionMessage",value:function(){return this._question.message}},{key:"toCreateChatRequestPayload",value:function(){return{agentId:this._agentId,question:this._question.message}}},{key:"toAskRequestPayload",value:function(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message,tzOffset:-(new Date).getTimezoneOffset()}}},{key:"toExplainResponsePayload",value:function(t){return{conversationId:this._chatId,answerId:t}}}])}(),h=function(){return o((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,t),this._items=e}),[{key:"isEmpty",value:function(){return 0===this._items.length}},{key:"appendItem",value:function(t){this._items.push(t)}},{key:"items",get:function(){return this._items},set:function(t){this._items=t||[]}},{key:"getLast",value:function(){if(!this.isEmpty())return this._items[this._items.length-1]}}])}()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[55,153,217],{194:function(n,t,e){"use strict";function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,i(r.key),r)}}function i(n){var t=function(n,t){if("object"!=r(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==r(t)?t:t+""}e.r(t),e.d(t,"GraphqlPlaygroundConfig",(function(){return a}));var a=function(){return n=function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this._endpoint=t.endpoint,this._headers=t.headers},(t=[{key:"endpoint",get:function(){return this._endpoint},set:function(n){this._endpoint=n}},{key:"headers",get:function(){return this._headers},set:function(n){this._headers=n}}])&&o(n.prototype,t),e&&o(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,t,e}()},240:function(n,t){function e(){return{restrict:"E",templateUrl:"js/angular/core/directives/graphql-playground/templates/graphql-playground.html",scope:{configuration:"="},link:function(n,t,e){}}}angular.module("graphdb.framework.core.directives.graphql-playground",[]).directive("graphqlPlayground",e),e.$inject=[]},273:function(n,t,e){"use strict";e.r(t);var r=e(194);e(128);function o(n,t,e,o,i,a){var p=[];n.initialized=!1,n.loadingEndpoints=!1,n.selectedGraphqlEndpoint=void 0,n.graphqlEndpoints=[],n.configuration=void 0,n.getActiveRepositoryNoError=function(){return t.getActiveRepository()},n.onGraphqlEndpointChange=function(n){u(n)};var c=function(n){var t={endpoint:n},e=a.getAuthToken();return e&&(t.headers={Authorization:e}),new r.GraphqlPlaygroundConfig(t)},l=function(t){n.graphqlEndpoints=t,n.selectedGraphqlEndpoint=function(){var t=i.getSelectedEndpoint();if(t){var e=n.graphqlEndpoints.find((function(n){return n.label===t.endpointId}));if(e)return e}return n.graphqlEndpoints[0]}(),n.configuration=c(n.selectedGraphqlEndpoint.value)},u=function(t){var e=c(t.value);n.configuration=new r.GraphqlPlaygroundConfig(e)},d=function(){n.selectedGraphqlEndpoint=void 0,n.graphqlEndpoints=[],n.configuration=void 0};p.push(n.$watch(n.getActiveRepositoryObject,(function(n){n&&s()}))),n.$on("$destroy",(function(){p.forEach((function(n){return n()}))}));var s=function(){(function(){n.loadingEndpoints=!0;var r=t.getActiveRepository();return o.getEndpointsAsSelectMenuOptions(r).then((function(n){n.length?l(n):d()})).catch((function(n){d(),e.error(getError(n))})).finally((function(){n.loadingEndpoints=!1}))})().finally((function(){n.initialized=!0}))}}angular.module("graphdb.framework.graphql.controllers.graphql-playground-view",["graphdb.framework.core.services.graphql-service"]).controller("GraphqlPlaygroundViewCtrl",o),o.$inject=["$scope","$repositories","toastr","GraphqlService","GraphqlContextService","AuthTokenService"]},274:function(n,t,e){"use strict";e.r(t);e(128);var r=e(134),o=e(135);function i(n,t,e,i,a,p,c){var l=[];n.hasEndpoints=!1,n.expandedRow=-1,n.loadingEndpointsInfo=!1,n.endpointsInfoList=void 0,n.filterTerm="",n.toggleRow=function(t,e){t.preventDefault(),n.expandedRow===e?n.expandedRow=-1:n.expandedRow=e},n.exploreEndpoint=function(n){p.setSelectedEndpoint(n),t.path(o.endpointUrl.PLAYGROUND)},n.onEndpointsFilter=function(t){n.filterTerm=t.toLowerCase(),n.endpointsInfoList.filter(t)},n.startCreateEndpointWizard=function(){p.startCreateEndpointWizard()},n.importSchema=function(){},n.onExportSchema=function(n){},n.onConfigureEndpoint=function(n){},n.onDeleteEndpoint=function(n){};l.push(p.subscribe(r.GraphqlEventName.START_CREATE_ENDPOINT_WIZARD,(function(){t.path(o.endpointUrl.CREATE_ENDPOINT)}))),l.push(n.$watch(n.getActiveRepositoryObject,(function(n){n&&u()}))),n.$on("$destroy",(function(){l.forEach((function(n){return n()}))}));var u=function(){(n.loadingEndpointsInfo=!0,a.getEndpointsInfo(e.getActiveRepository()).then((function(t){n.endpointsInfoList=t})).catch((function(n){i.error(getError(n)),console.error("Error loading GraphQL endpoints info",n)})).finally((function(){n.loadingEndpointsInfo=!1}))).then((function(){n.endpointsInfoList&&n.endpointsInfoList.endpoints.length>0&&(n.hasEndpoints=!0)}))}}angular.module("graphdb.framework.graphql.controllers.graphql-endpoint-management-view",["graphdb.framework.core.services.graphql-service","graphdb.framework.graphql.services.graphql-context"]).controller("GraphqlEndpointManagementViewCtrl",i),i.$inject=["$scope","$location","$repositories","toastr","GraphqlService","GraphqlContextService","AuthTokenService"]},360:function(n,t,e){"use strict";e.r(t);e(273),e(274),e(337),e(240);angular.module("graphdb.framework.graphql",["ngRoute","graphdb.framework.graphql.controllers.graphql-endpoint-management-view","graphdb.framework.graphql.controllers.graphql-playground-view","graphdb.framework.graphql.controllers.create-graphql-endpoint-view","graphdb.framework.core.directives.graphql-playground"])}}]);
|