graphdb-workbench 2.8.0-TR6 → 2.8.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.0a1170a45e17382e4a5d.bundle.js → 0.17033c66aeb23fca884e.bundle.js} +3 -3
- package/dist/{1.c30be489ed39606b2f05.bundle.js → 1.29150bbf59b5d1fafddc.bundle.js} +1 -1
- package/dist/{10.72feb8642673ff99c3da.bundle.js → 10.905f45cdc55da0d6d037.bundle.js} +1 -1
- package/dist/100.35eadd7be019355a0972.bundle.js +1 -0
- package/dist/101.b0e306ca66e44fcad14e.bundle.js +1 -0
- package/dist/{100.ac947bd8c6a4ddb921a3.bundle.js → 102.b41b973eb742ebf8793a.bundle.js} +1 -1
- package/dist/103.e2c59ce2066db3416690.bundle.js +1 -0
- package/dist/104.e7fa533938cdd62e6f90.bundle.js +1 -0
- package/dist/105.8816ac8c6c51246a49f0.bundle.js +1 -0
- package/dist/{104.5aedd8bbdec3f65d8075.bundle.js → 106.73805d850c9782b0a7a9.bundle.js} +1 -1
- package/dist/{105.efa7f6ae768f558255da.bundle.js → 107.88386a7974627dc029ad.bundle.js} +1 -1
- package/dist/{106.1c2686a7db08aa33e094.bundle.js → 108.7bdde4c586cb204cb1ce.bundle.js} +1 -1
- package/dist/{107.05c1fa57812c93dee908.bundle.js → 109.710d5fc362cdc683c2d1.bundle.js} +1 -1
- package/dist/{11.1322d3e0bab99b918c7f.bundle.js → 11.f01f4944c8616397cd88.bundle.js} +1 -1
- package/dist/{108.158be0de3faa959ea085.bundle.js → 110.cb03c69ab38ef348312f.bundle.js} +1 -1
- package/dist/{109.832fa2db484029ae6ac1.bundle.js → 111.8ad8262002c130c552b4.bundle.js} +1 -1
- package/dist/{110.83bcc3c2b65bdf035da7.bundle.js → 112.d9447e597fb16459df2a.bundle.js} +1 -1
- package/dist/{111.f12532c15e219c23d5a1.bundle.js → 113.3a043dd004c516930c1f.bundle.js} +1 -1
- package/dist/{112.4ff0e8c2ac67ad5cd08e.bundle.js → 114.fafb631e322f84eda250.bundle.js} +1 -1
- package/dist/{113.a00cdcd090f2985d4f29.bundle.js → 115.7a4746a768e21bc30b0c.bundle.js} +1 -1
- package/dist/{114.d195868566828742895a.bundle.js → 116.64f2577e007285ff8ab6.bundle.js} +1 -1
- package/dist/{115.fdc4bfe30f11c8ddf59f.bundle.js → 117.a93df004cc92ebcd0bc5.bundle.js} +1 -1
- package/dist/{116.6b7edf5d23952ca4ace3.bundle.js → 118.29b5f9738b3e76f28f4c.bundle.js} +1 -1
- package/dist/{117.4910ccbeaf6fd451b718.bundle.js → 119.f3eec275231048bebb5e.bundle.js} +1 -1
- package/dist/{12.8462b9d8fa51db60a50d.bundle.js → 12.22b3d9c091f70762b9b8.bundle.js} +11 -11
- package/dist/120.71016b6c037f6ba181e5.bundle.js +1 -0
- package/dist/121.2d334b14dd270c367208.bundle.js +1 -0
- package/dist/{120.881ed5b94615ce5aed9c.bundle.js → 122.7ae5772ed87ebceece77.bundle.js} +1 -1
- package/dist/{121.3af3488244cafeabadb1.bundle.js → 123.3485894a0193b32f5e7b.bundle.js} +1 -1
- package/dist/{122.d33f91e410e0fd02775b.bundle.js → 124.97aeee66a57f56feb6bc.bundle.js} +1 -1
- package/dist/{123.e5da21362b19df85f596.bundle.js → 125.0a9908e2c4a2300aa2fa.bundle.js} +1 -1
- package/dist/{124.0fd77686faa2740e8e15.bundle.js → 126.430cba927775872ce717.bundle.js} +1 -1
- package/dist/{125.e582125b0bc248be36b9.bundle.js → 127.7c07e0f8988261096d95.bundle.js} +1 -1
- package/dist/{126.e3c07992a8c2297ab3ba.bundle.js → 128.f14d0d20df46052a2f45.bundle.js} +1 -1
- package/dist/{127.9c54fa4bd2fdb0b95cd8.bundle.js → 129.c8a342413ab9ee60afe6.bundle.js} +1 -1
- package/dist/{13.4ad80d43dfe8b11cd336.bundle.js → 13.19350677a42a2e4056eb.bundle.js} +1 -1
- package/dist/{128.83168f47ace99f55b749.bundle.js → 130.5669df488cab2d5bfb57.bundle.js} +1 -1
- package/dist/{129.7ecff8ecf2d2d5d574e0.bundle.js → 131.4b0d620e1bbc36bb77cf.bundle.js} +1 -1
- package/dist/{130.d61c14cf75b26f176fa5.bundle.js → 132.9e2537c5481a3ce31c83.bundle.js} +1 -1
- package/dist/{131.a092d31500571d5559a2.bundle.js → 133.dd578a3d4f68ddbff408.bundle.js} +1 -1
- package/dist/{132.252aa274f5441069e887.bundle.js → 134.4eb26569f823f521129d.bundle.js} +1 -1
- package/dist/{133.e7dff3c968b909c3f14a.bundle.js → 135.bb87f12d950bd0a2eab4.bundle.js} +1 -1
- package/dist/{134.795ce48dfe5c42858b5c.bundle.js → 136.030443e8558007483b98.bundle.js} +1 -1
- package/dist/{135.d8459891aab457980f3d.bundle.js → 137.21b95b63a7149f665676.bundle.js} +1 -1
- package/dist/{136.a2e66dd7c1802cf71923.bundle.js → 138.d8a94300ef0152802aa1.bundle.js} +1 -1
- package/dist/{137.cd0bd3c852d91cd52039.bundle.js → 139.2277d7941d2756767afe.bundle.js} +1 -1
- package/dist/{14.e52beb145d6035144888.bundle.js → 14.03b83ea9a70e19820024.bundle.js} +1 -1
- package/dist/{138.392e19b553d396d3abf8.bundle.js → 140.377e41d4f69e7be52539.bundle.js} +1 -1
- package/dist/{139.c06fdfc66490871efcba.bundle.js → 141.dccab449e82a2eb2ca71.bundle.js} +1 -1
- package/dist/{140.aa3fc67ac98214208518.bundle.js → 142.126f3ccf66e962f5d447.bundle.js} +1 -1
- package/dist/{141.1b6a2011d56c43aacbb0.bundle.js → 143.24d48564d2c9259a7f56.bundle.js} +1 -1
- package/dist/{142.36b7fef40b5e09859bd6.bundle.js → 144.d31b55a7bc8002f273cf.bundle.js} +1 -1
- package/dist/{143.79fab644a1361180938a.bundle.js → 145.c6dca351bb16aa8995c1.bundle.js} +1 -1
- package/dist/{144.8877519f3bd8ea7c0568.bundle.js → 146.fdf25932b805e91d1231.bundle.js} +1 -1
- package/dist/{145.10fbb7d25cd97d85fef2.bundle.js → 147.ad5d72dc02875e605ba2.bundle.js} +1 -1
- package/dist/{146.7b84006e2a961f6f023b.bundle.js → 148.b53d6bb77c70251fae24.bundle.js} +1 -1
- package/dist/{147.34fbf0960a2ce820c415.bundle.js → 149.4dfd61c551bedd36fed3.bundle.js} +1 -1
- package/dist/{15.90d54ab745b4267b8cf1.bundle.js → 15.69cf1c99454b7be65e2a.bundle.js} +2 -2
- package/dist/{148.9c73e275c18413fe3efe.bundle.js → 150.c5cad43e5942f6db4d60.bundle.js} +1 -1
- package/dist/{149.97d1aa6bc64585e2e23d.bundle.js → 151.1e246e7d0933d890aa5f.bundle.js} +1 -1
- package/dist/{150.df6d28b1b46ca0bf38ef.bundle.js → 152.20728ee997ba3fd50820.bundle.js} +1 -1
- package/dist/{151.dff3fca027d218f50ed4.bundle.js → 153.405ab90f6b1657985282.bundle.js} +1 -1
- package/dist/{152.4a999af7f3dc9e6c159f.bundle.js → 154.1ed3daa335e984ee2fa1.bundle.js} +1 -1
- package/dist/{153.2dc0877cab53cb924cde.bundle.js → 155.97e2ba75ccc44f968aab.bundle.js} +1 -1
- package/dist/{154.26d1e0d5308232e88b69.bundle.js → 156.86bd9ec7032eab431fe9.bundle.js} +1 -1
- package/dist/{155.e86fa748e7554cf097e3.bundle.js → 157.5cfec61b87316961899f.bundle.js} +1 -1
- package/dist/{156.e5172964d1412cefad39.bundle.js → 158.48e462150f99041577ee.bundle.js} +1 -1
- package/dist/{157.5a7f61f966b5a2eb4420.bundle.js → 159.f441d44fbf035f5e050f.bundle.js} +1 -1
- package/dist/{16.49e725b3eb1bd20c2ff5.bundle.js → 16.766c804b4b674a0ef6a2.bundle.js} +1 -1
- package/dist/{158.b2f1c58bc01dd26ca852.bundle.js → 160.252fc673ecb38b45c1ec.bundle.js} +1 -1
- package/dist/{159.80badfff4ffdfbcd46a7.bundle.js → 161.e08cea5345e56b91483f.bundle.js} +1 -1
- package/dist/{160.326fff68c80e555d90e7.bundle.js → 162.9a15d1a0dec48061834f.bundle.js} +1 -1
- package/dist/{161.dd36d91f4beb933e2c9d.bundle.js → 163.624230dacf5e271b63ce.bundle.js} +1 -1
- package/dist/{162.d0dbc522f3c9dc56bc28.bundle.js → 164.b39997770e4bd9d8122b.bundle.js} +1 -1
- package/dist/{163.d0c210b5a5ea1868d1ed.bundle.js → 165.a283189aa6e2b230972d.bundle.js} +1 -1
- package/dist/{164.ee0515a0cc9a0f2a552f.bundle.js → 166.911dd9004fa39f787abd.bundle.js} +1 -1
- package/dist/{165.0f4bc8028ad240b067fa.bundle.js → 167.a0b01060d88bf7cfab80.bundle.js} +1 -1
- package/dist/{166.def18fe351170a84e86a.bundle.js → 168.b9718a26c4fee4d20865.bundle.js} +1 -1
- package/dist/{167.30a2775fe78753b6ab44.bundle.js → 169.1a51864cbc242f4a6575.bundle.js} +1 -1
- package/dist/{17.fa580868599e0c3532f8.bundle.js → 17.c649533b09899e07ef7c.bundle.js} +1 -1
- package/dist/{168.82cc64f579f71efa0f87.bundle.js → 170.a3221cebb6034e55e826.bundle.js} +1 -1
- package/dist/{169.d21d5f6b6634970890a0.bundle.js → 171.5ee00ef41f7290da746a.bundle.js} +1 -1
- package/dist/{170.ef2dd1938db8d42f4170.bundle.js → 172.a8819461f5b869ff168a.bundle.js} +1 -1
- package/dist/{171.741ac4f6bd1f8720e3e3.bundle.js → 173.7f46e43281c58fc4feeb.bundle.js} +1 -1
- package/dist/{172.7daa5ea2d11254243b09.bundle.js → 174.0ef1d7ff3da555e03157.bundle.js} +1 -1
- package/dist/{173.7679a569b2856271d02c.bundle.js → 175.01a373652a1cf359fabe.bundle.js} +1 -1
- package/dist/{174.6290a7e043902d841a22.bundle.js → 176.b6486d218f2e834c3703.bundle.js} +1 -1
- package/dist/{175.ab734ac53eda1ba41ccc.bundle.js → 177.cede7689b6a865624755.bundle.js} +1 -1
- package/dist/{176.df8dc30bb3371efb0b84.bundle.js → 178.ec12ef26f72b7712c8e4.bundle.js} +1 -1
- package/dist/{177.89fd2896caf754387b73.bundle.js → 179.9e9a7523d9b91636e29a.bundle.js} +1 -1
- package/dist/{18.d2a66ede807651fc37ed.bundle.js → 18.a597232c0cfc94b72091.bundle.js} +1 -1
- package/dist/{178.b6538a0f9bf804cd2bc7.bundle.js → 180.a044d05728e6c15710dd.bundle.js} +1 -1
- package/dist/{179.ad8a1782d49cb8e8c026.bundle.js → 181.69f0dc63dc03d38146ad.bundle.js} +1 -1
- package/dist/{180.160549bca59487c2a43d.bundle.js → 182.d6209c36af41bcf8c11a.bundle.js} +1 -1
- package/dist/{181.ed2632b1f8ac34b94659.bundle.js → 183.25a2baad19e000850d56.bundle.js} +1 -1
- package/dist/{182.778b4e67bc23fd060af4.bundle.js → 184.9ca5aa00dc5d923b7a6f.bundle.js} +1 -1
- package/dist/{183.8e6b64734d649c39f021.bundle.js → 185.c44cf6e76388c42fdd02.bundle.js} +1 -1
- package/dist/{184.6c98d7df343301d1d4b6.bundle.js → 186.b95ef6e94803b98a6811.bundle.js} +1 -1
- package/dist/{185.25ba9c0786d908ccdc50.bundle.js → 187.3b98bab1a63af4e69d5e.bundle.js} +1 -1
- package/dist/{186.d15421a31f7f10340da4.bundle.js → 188.3d4df3c6804536e196c0.bundle.js} +1 -1
- package/dist/{187.904bd80a98ad539b2592.bundle.js → 189.58559840e81404c86872.bundle.js} +1 -1
- package/dist/{19.569028a02a8d77dd69cc.bundle.js → 19.d163f4e917e93906c3f7.bundle.js} +1 -1
- package/dist/{188.a56f0936629ccab35ca2.bundle.js → 190.ce79f63b38382c8f8823.bundle.js} +1 -1
- package/dist/{189.873d9aa43dfe811ffa48.bundle.js → 191.5c22c7606d0119c6f454.bundle.js} +1 -1
- package/dist/{190.86ce0d4c0b0dc1a1fb23.bundle.js → 192.825910fa58b8680f662e.bundle.js} +1 -1
- package/dist/{191.03abff482589f32b7f9c.bundle.js → 193.851e28b04914f75a3797.bundle.js} +1 -1
- package/dist/{192.a19f5585db9597f4f820.bundle.js → 194.94841cebeba3d87f2ec2.bundle.js} +1 -1
- package/dist/{193.33bf94da78d90312eef3.bundle.js → 195.cbddd873fac861d63a42.bundle.js} +1 -1
- package/dist/{194.9707760a814efb506855.bundle.js → 196.7a8dac9aa032be645b5a.bundle.js} +1 -1
- package/dist/{195.104b381eda0ef9277da7.bundle.js → 197.18ec6e9fbe54d00f9330.bundle.js} +1 -1
- package/dist/{196.f11dd3333bb0445de17e.bundle.js → 198.1f1a595762a383d4c941.bundle.js} +1 -1
- package/dist/{197.6cf1498dbcfc760fd06d.bundle.js → 199.9590877c48d18ab532a3.bundle.js} +1 -1
- package/dist/{2.5a076be9e6117cea6484.bundle.js → 2.2d8bdd5a3e02bc87c1e7.bundle.js} +2 -2
- package/dist/{20.3d9c36dfa41a39fde200.bundle.js → 20.495ad51bf077d13cde77.bundle.js} +1 -1
- package/dist/{198.be8084629b80b14d4023.bundle.js → 200.4ddd3f1e93ec39fd6f62.bundle.js} +1 -1
- package/dist/{199.f2512e7b856b4e78dd1f.bundle.js → 201.a1043715883f8d69939a.bundle.js} +1 -1
- package/dist/{200.e31d71adfe8af5b7bda5.bundle.js → 202.6512cebdeac596190344.bundle.js} +1 -1
- package/dist/{201.c5c4eb20d791aa5a03ce.bundle.js → 203.2ef0f180f55fc0c2fee2.bundle.js} +1 -1
- package/dist/{202.4d12ae7a521ec4ecb697.bundle.js → 204.c0c3102cceb35b0e6a81.bundle.js} +1 -1
- package/dist/{203.a149b7b9b48294d1a568.bundle.js → 205.90c582d354b191d2456c.bundle.js} +1 -1
- package/dist/{204.0f6c56736301d078f872.bundle.js → 206.ba58d50cfb2e5b42691d.bundle.js} +1 -1
- package/dist/207.f8b91d382b5009a4627e.bundle.js +1 -0
- package/dist/{206.15d1de79787c216601a7.bundle.js → 208.fbe3aa845e9a80138633.bundle.js} +1 -1
- package/dist/{207.b26bfd5bb6c5c8d1c9ff.bundle.js → 209.6c342e2c7f175da8b3fa.bundle.js} +1 -1
- package/dist/{21.bed2d6df5d871e6e3c59.bundle.js → 21.f89b1c7fd901bcd46e3e.bundle.js} +2 -2
- package/dist/{208.4a9c880a284a4e4fb40f.bundle.js → 210.7aa1fffdfd39ee23eb26.bundle.js} +1 -1
- package/dist/{209.e0891ad459f70f205eee.bundle.js → 211.abe765df9856e355ae40.bundle.js} +1 -1
- package/dist/{210.a6bdca00a853c90fbe7f.bundle.js → 212.01e5110cf83ca17016de.bundle.js} +1 -1
- package/dist/{211.32e20a7e58bdb271853a.bundle.js → 213.9857071bdab447c3854c.bundle.js} +1 -1
- package/dist/{212.41276ef98d3d5f6afd71.bundle.js → 214.21680ec005ee47452db9.bundle.js} +1 -1
- package/dist/{213.6759f7210457cb0d5146.bundle.js → 215.951539c7e32d0d0f507d.bundle.js} +1 -1
- package/dist/{214.9604307091b5f5ba76ed.bundle.js → 216.78bb2efde96c59566598.bundle.js} +1 -1
- package/dist/{215.fbb8b24f1b8c038182ca.bundle.js → 217.22ff329d08bd16d82601.bundle.js} +1 -1
- package/dist/{216.c97eb34eec625c81ba23.bundle.js → 218.d8d591f6a96d476bef6a.bundle.js} +1 -1
- package/dist/{217.886f3692cc9aa3a53e70.bundle.js → 219.7b2191a73e82d2e261e5.bundle.js} +1 -1
- package/dist/22.853378d632f7904ac443.bundle.js +2 -0
- package/dist/{218.071a38664321f618ab1e.bundle.js → 220.b6265e9cedd894992463.bundle.js} +1 -1
- package/dist/{219.a08f6ea1d2038595bcd8.bundle.js → 221.50b8d034a4070c5c34da.bundle.js} +1 -1
- package/dist/{220.7b80583065875f30bdbb.bundle.js → 222.8ba561dc76b777bef340.bundle.js} +1 -1
- package/dist/{221.ffaddce1d0ae75b2f1c0.bundle.js → 223.ae2d6beaa0ac10fe0169.bundle.js} +1 -1
- package/dist/{222.1a3aa503cc56d775dace.bundle.js → 224.7d8f33e11a13d92dfd7e.bundle.js} +1 -1
- package/dist/{223.286fa893af9f9afd8c92.bundle.js → 225.8de9310277d5a3709340.bundle.js} +1 -1
- package/dist/{224.1121f671e1b6a08ec6b2.bundle.js → 226.3533ca0ef4e6f1bda6c6.bundle.js} +1 -1
- package/dist/227.761da4c3717f0b181454.bundle.js +1 -0
- package/dist/{226.2115665b253bb7d033b4.bundle.js → 228.0fd6c6c3ea06dbd1aa6f.bundle.js} +1 -1
- package/dist/229.0f942376bec0b11a56a9.bundle.js +1 -0
- package/dist/23.c2659a07e950ca9d25a7.bundle.js +2 -0
- package/dist/{228.597753e80634d51c71a6.bundle.js → 230.db665000d058d259455d.bundle.js} +1 -1
- package/dist/{229.cc462aed4d32c542a22f.bundle.js → 231.66489eca108f5cc8fe61.bundle.js} +1 -1
- package/dist/{230.beb30a748147d535f158.bundle.js → 232.ea757709dfe87bc3129f.bundle.js} +1 -1
- package/dist/{231.c276c9532f44836654dc.bundle.js → 233.f13b6c708554b6dbd541.bundle.js} +1 -1
- package/dist/{232.62da43fcb09f04e81c7c.bundle.js → 234.e78d0faf2a585ff9239e.bundle.js} +1 -1
- package/dist/{233.eaf04175e1ae92919f88.bundle.js → 235.afded1831f536a42922b.bundle.js} +1 -1
- package/dist/{234.15deae35fbee401c5de1.bundle.js → 236.57566d8932a25223aa9c.bundle.js} +1 -1
- package/dist/{235.0364f71fb697fe6001f4.bundle.js → 237.399f3d86a51ecbadcd28.bundle.js} +1 -1
- package/dist/{236.6164dde1d14a9958dbe3.bundle.js → 238.41322463619064cb4677.bundle.js} +1 -1
- package/dist/{237.f4167bccb6cc3098acf4.bundle.js → 239.7443c1df8125a6db288f.bundle.js} +1 -1
- package/dist/24.c01ac846a566c49fa3f1.bundle.js +2 -0
- package/dist/240.8595ffe28a047352eba7.bundle.js +1 -0
- package/dist/241.f233f6f83f09708b1ec4.bundle.js +1 -0
- package/dist/{240.259c7aba5490d8f0b801.bundle.js → 242.fa38e02cc0ff632a9767.bundle.js} +1 -1
- package/dist/{241.ed67df23a8438bd541fc.bundle.js → 243.406933e4ff600625c87b.bundle.js} +1 -1
- package/dist/{242.80b4c1062c39d124482d.bundle.js → 244.666ee0ad097fedcc3f71.bundle.js} +1 -1
- package/dist/{243.2797e72f076d2d531556.bundle.js → 245.4d9c6e9371bc7207ad79.bundle.js} +1 -1
- package/dist/246.84f30a1a8aef76212bed.bundle.js +1 -0
- package/dist/{245.af726a643fd5f141e2ad.bundle.js → 247.1d6d49c7a93d85c35d78.bundle.js} +1 -1
- package/dist/248.88f7044c8e44f4ab03c9.bundle.js +1 -0
- package/dist/{247.9edfeccd89601ad98fe2.bundle.js → 249.f29a824b27a86f9de70f.bundle.js} +1 -1
- package/dist/{25.46a7eb669f635d567ce7.bundle.js → 25.abd278f76ef52b295c00.bundle.js} +2 -2
- package/dist/250.f0aa7bd87cca3dda47bc.bundle.js +1 -0
- package/dist/{249.50b3d12ac980097c58c7.bundle.js → 251.a0d53214934b21e2ce0f.bundle.js} +1 -1
- package/dist/{250.50810c6bf9afb6732b26.bundle.js → 252.4cfbaec7165cc4e66abd.bundle.js} +1 -1
- package/dist/{251.36c1c2df005d2ed6d5d4.bundle.js → 253.0a3170c88459e8916cfa.bundle.js} +1 -1
- package/dist/254.9b384f947f255afb1232.bundle.js +1 -0
- package/dist/{254.468c9ecc6b0c55102133.bundle.js → 255.d8ac37b36b2048c7e7ba.bundle.js} +1 -1
- package/dist/256.15e6abca44d6d0bde659.bundle.js +1 -0
- package/dist/{255.c64487f249acf9172524.bundle.js → 257.9b4769dc2f6800e714ee.bundle.js} +1 -1
- package/dist/{256.2a4dcf964f8f9823ea87.bundle.js → 258.3c4190cbc2747bc2d90b.bundle.js} +1 -1
- package/dist/{257.d972f52e0e7c5734f508.bundle.js → 259.0d684b38ab51f70e6ec8.bundle.js} +1 -1
- package/dist/{26.1c83ef992fffd73d1243.bundle.js → 26.3359ae67b9a56dea2834.bundle.js} +2 -2
- package/dist/{258.1e4fa1c21f15bcd2a299.bundle.js → 260.cc2058dd799a308517c2.bundle.js} +1 -1
- package/dist/{259.33e72474b9fb5dd79259.bundle.js → 261.52340ebf7e6ae1530f54.bundle.js} +1 -1
- package/dist/{260.01b159571d499cfabd40.bundle.js → 262.559740f8625b343180ab.bundle.js} +1 -1
- package/dist/{261.2e7e0eb588a47182ac0e.bundle.js → 263.1c74a5087d937261d9b9.bundle.js} +1 -1
- package/dist/{262.62b11c3cee19afce2e3f.bundle.js → 264.0335b75ba785bdce7925.bundle.js} +1 -1
- package/dist/{263.41501892e03f9cdd31be.bundle.js → 265.119b5eaf1b772d8efc9b.bundle.js} +1 -1
- package/dist/{264.4e93f511f8124added0e.bundle.js → 266.c70f244bd7fce8fd510f.bundle.js} +1 -1
- package/dist/{265.cb8b76c9b36537e854a2.bundle.js → 267.60093ea1e5832fad7bd2.bundle.js} +1 -1
- package/dist/{266.fded0594ff94fbf19b96.bundle.js → 268.fe719751a51ac05515e6.bundle.js} +1 -1
- package/dist/{267.628a25b11f7a33fcff24.bundle.js → 269.7964b2651f9af8336425.bundle.js} +1 -1
- package/dist/27.690c9ef7f17263ffe2c5.bundle.js +1 -0
- package/dist/{268.ff64ff06004b62b5611d.bundle.js → 270.b39a08f5e6caa8afabfd.bundle.js} +1 -1
- package/dist/{269.791351b99216622cb145.bundle.js → 271.4977b679240711dac093.bundle.js} +1 -1
- package/dist/{270.7443decd8c92834274fc.bundle.js → 272.c6661ade26046d0d730d.bundle.js} +1 -1
- package/dist/{271.f513ed4052f334fc5d1a.bundle.js → 273.3253a10864bb303639c2.bundle.js} +1 -1
- package/dist/{272.6b7242f3f4f40b4d32e9.bundle.js → 274.6b1bf227908b8a411b01.bundle.js} +1 -1
- package/dist/{273.767c40d9ab0683794017.bundle.js → 275.5553b20a309c0ed3834d.bundle.js} +1 -1
- package/dist/{274.b145270cefa7deeabfba.bundle.js → 276.d405ac4598ff441b4fa5.bundle.js} +1 -1
- package/dist/{275.fdc05b1c15c963298172.bundle.js → 277.b9faddb83cebd8068e44.bundle.js} +1 -1
- package/dist/{276.7f7e05c659737293c5d6.bundle.js → 278.637a776d4c8eccd2567e.bundle.js} +1 -1
- package/dist/{277.aeefb2e2230751d0a6cd.bundle.js → 279.9e822aa881c39fdaaae5.bundle.js} +1 -1
- package/dist/{28.15f63a47c5b1011c2888.bundle.js → 28.740e00ee0bc83745b7dc.bundle.js} +1 -1
- package/dist/{278.ea9f1652476f591efc66.bundle.js → 280.e8991d710f04b11387c1.bundle.js} +1 -1
- package/dist/{279.d67759d35a409e74a6cf.bundle.js → 281.a3c5727bf6052c98f3ea.bundle.js} +1 -1
- package/dist/{280.2a6a92493c2b8eb53de7.bundle.js → 282.85ca36c257f17f0bdf44.bundle.js} +1 -1
- package/dist/{281.8ca4dfc70e6d75eaa25e.bundle.js → 283.7eb4f1e452b2a11a5837.bundle.js} +1 -1
- package/dist/{282.31327afb93e1b52f8f19.bundle.js → 284.5424bb03635a18a8383e.bundle.js} +1 -1
- package/dist/{283.0a03f90fa1c267819ffa.bundle.js → 285.a39486c9c36455c07a8c.bundle.js} +1 -1
- package/dist/{284.13eea8bdd7b3c7ca401b.bundle.js → 286.a91c42926ffb5bbc6a90.bundle.js} +1 -1
- package/dist/{285.a1fc5f7cbd7cc6d3a7c2.bundle.js → 287.ae06cf9aaee6b032069a.bundle.js} +1 -1
- package/dist/{286.178d6ec580c5530e7c35.bundle.js → 288.05d24904748c476d62a9.bundle.js} +1 -1
- package/dist/{287.ba6c7aff6284d841fdee.bundle.js → 289.629fd05976be4275914c.bundle.js} +1 -1
- package/dist/{29.da95f87aaa34ccf8f98f.bundle.js → 29.5da4adab4fd5ab5ef381.bundle.js} +1 -1
- package/dist/{288.4b34882ffa5fe1232b20.bundle.js → 290.81ec0fc46a9b1a63e3cb.bundle.js} +1 -1
- package/dist/{289.82e1c2c605fdbb38ce8e.bundle.js → 291.9b31bffdec6080d7f827.bundle.js} +1 -1
- package/dist/292.7910a6c107e87d1f91f5.bundle.js +1 -0
- package/dist/{291.0254bcc0cd338b6e1fac.bundle.js → 293.42af60cb744e1cea919d.bundle.js} +1 -1
- package/dist/{292.d912c7464e852a5dded1.bundle.js → 294.bbb1f61f2b90412e89a8.bundle.js} +1 -1
- package/dist/{293.73aaa9854fde9946364e.bundle.js → 295.156cc84de41691072c27.bundle.js} +1 -1
- package/dist/{294.6a1f0eeb8cfdef3192d4.bundle.js → 296.3a58f545517390e2cb93.bundle.js} +1 -1
- package/dist/{295.05f3f0f4fa85e5b141d9.bundle.js → 297.59085f3d1e21e7d3279e.bundle.js} +1 -1
- package/dist/{296.868f14b9bd1b53a16a11.bundle.js → 298.a5211568657e92330322.bundle.js} +1 -1
- package/dist/{297.e9b1c12ce25cc7be2d72.bundle.js → 299.afc55fab7c3e08555638.bundle.js} +1 -1
- package/dist/{3.1677b68c47f7c79c00ff.bundle.js → 3.cf0b0b46014854374503.bundle.js} +2 -2
- package/dist/30.5dbdacec799a1d5899e1.bundle.js +1 -0
- package/dist/{298.d40774bcdba10c5d2ebc.bundle.js → 300.6d5ab217a6e5ecc64cfd.bundle.js} +1 -1
- package/dist/301.dd607f905cc18ac01cd7.bundle.js +1 -0
- package/dist/{300.4245627536cbeede19bf.bundle.js → 302.33c8b81de6fd88ceb1e5.bundle.js} +1 -1
- package/dist/{301.476fd3a75e03f03860ac.bundle.js → 303.c23374f5c53c3fb3374f.bundle.js} +1 -1
- package/dist/{302.a565cb68a40f87aebea0.bundle.js → 304.9e2e4fdc58621b89e906.bundle.js} +1 -1
- package/dist/{303.699b6974d96a62873716.bundle.js → 305.cc497736ef239895f7a8.bundle.js} +1 -1
- package/dist/{304.49f2e7808825a9be05ee.bundle.js → 306.61ad2704abe59ff1c1d9.bundle.js} +1 -1
- package/dist/{305.b1bb41c32f7fe619cba1.bundle.js → 307.e1f91853f7d3225a401b.bundle.js} +1 -1
- package/dist/{306.507664ee51d0379932c2.bundle.js → 308.8a3bae3ccf9a4cef107b.bundle.js} +1 -1
- package/dist/{307.fa58fde8655a882f9ccb.bundle.js → 309.6dec52bafec9f71ff4ef.bundle.js} +1 -1
- package/dist/{31.f6e59c66649edd6a264c.bundle.js → 31.6c24781b1c6a1bc09620.bundle.js} +1 -1
- package/dist/{308.69a7f26516c5629c2288.bundle.js → 310.5a50eac8e86362858e1a.bundle.js} +1 -1
- package/dist/{309.709585a817666bd3ea97.bundle.js → 311.2d1763c7869099a9ad32.bundle.js} +1 -1
- package/dist/{315.52f392ef91a926596c8d.bundle.js → 317.14afc1fbc34b41426c2b.bundle.js} +1 -1
- package/dist/{316.8a37b5419fe1a8c09942.bundle.js → 318.08aab92ea443f0a92796.bundle.js} +1 -1
- package/dist/{317.b3355e812e0dbe84bbaa.bundle.js → 319.4dcbd28b058f3e52254a.bundle.js} +1 -1
- package/dist/{32.81c457d2ad85a3237199.bundle.js → 32.745c8f721a66fc81cb83.bundle.js} +1 -1
- package/dist/{318.985516a21ddb304f613e.bundle.js → 320.54338f1fdec71fd7606b.bundle.js} +1 -1
- package/dist/{319.08ac1b3691b48bd285a1.bundle.js → 321.dbf82777fda297e7ebff.bundle.js} +1 -1
- package/dist/{320.5a7c42a73bb68d70657b.bundle.js → 322.1afd4883cb815d1db589.bundle.js} +1 -1
- package/dist/{321.f8ef6de623edd9d04b8e.bundle.js → 323.48745f5197cbad34dcd1.bundle.js} +1 -1
- package/dist/{322.f08dac69268b076c2919.bundle.js → 324.694c793a1368ee68bc1a.bundle.js} +1 -1
- package/dist/{323.a044b7f7803f1f95826d.bundle.js → 325.b9d5b2ae32db55629804.bundle.js} +1 -1
- package/dist/{324.2489213c43a115ec4a8e.bundle.js → 326.af50c7c9a5f79424f2bd.bundle.js} +1 -1
- package/dist/{325.82bd9fe7a732eb08cf8a.bundle.js → 327.14d9de30dffbe6ae0ddf.bundle.js} +1 -1
- package/dist/{326.2b85a4ad715fb78944d6.bundle.js → 328.42bf02602eda2f8d24f7.bundle.js} +1 -1
- package/dist/{327.bb3ddb0f4af2e3b1d2e5.bundle.js → 329.4f868bf04438e2202411.bundle.js} +1 -1
- package/dist/{33.fbf5953513194ec3f2dc.bundle.js → 33.4a99022cf80e5de69f51.bundle.js} +1 -1
- package/dist/{328.98db2f4529a6eee55b55.bundle.js → 330.49319ca42744d502b6bc.bundle.js} +1 -1
- package/dist/{329.58f4110367458a8f506c.bundle.js → 331.88e3c718f0f984ae436e.bundle.js} +1 -1
- package/dist/{330.3e70a1666dd0786bc6fa.bundle.js → 332.ccbe9c0afeedc2449375.bundle.js} +1 -1
- package/dist/{331.5122cfbe626e52fd02d1.bundle.js → 333.84732f68ea4410ba45d5.bundle.js} +1 -1
- package/dist/{332.a273f6816278db249098.bundle.js → 334.e6246f52bf8626a289ff.bundle.js} +1 -1
- package/dist/{333.7797033996e875cef5e4.bundle.js → 335.74f6d75c36cb5c4ff551.bundle.js} +1 -1
- package/dist/{334.f39f43aa65127d86c0de.bundle.js → 336.2acee58eaebeb39a400b.bundle.js} +1 -1
- package/dist/{335.bdf002d5311bbafa3b6b.bundle.js → 337.baaaa5f371e99fad4b66.bundle.js} +1 -1
- package/dist/{336.046bf6011f6f55306f7d.bundle.js → 338.77b5dffeac30a6d689f2.bundle.js} +1 -1
- package/dist/{337.f52bb6c2a48bfbae3e5d.bundle.js → 339.3bc34bf95f8a26e78247.bundle.js} +1 -1
- package/dist/34.b4543b758526d40813a3.bundle.js +1 -0
- package/dist/{338.9fd4917b8b109b611a9d.bundle.js → 340.a99af3ad199e5bf4741f.bundle.js} +1 -1
- package/dist/{339.c1a491da5ccc1dda2d1a.bundle.js → 341.b693bf4622fe27cc06da.bundle.js} +1 -1
- package/dist/{340.a2230a350b08b31e9dcc.bundle.js → 342.b27d3e5701aff441dd49.bundle.js} +1 -1
- package/dist/{341.6d7d6e2c347a5f7183ff.bundle.js → 343.7057667d0a9a2328d4f0.bundle.js} +1 -1
- package/dist/{342.cec8ff30ba1b2f0db64c.bundle.js → 344.fe53cb2325572fb8375b.bundle.js} +1 -1
- package/dist/{343.39f84908d8aeac04de37.bundle.js → 345.94e0a1f3140aeafeb5b2.bundle.js} +1 -1
- package/dist/{344.32f2947e868b2ca1cf7c.bundle.js → 346.f163dcf6395693295baf.bundle.js} +1 -1
- package/dist/{345.9519a0c1e8610d921507.bundle.js → 347.3a69352f09fd02b5abd8.bundle.js} +1 -1
- package/dist/{346.a234d0d7ab110f944600.bundle.js → 348.5322349d3337f66aebfb.bundle.js} +1 -1
- package/dist/{347.89e881a6a192dd983f60.bundle.js → 349.2ca05825fe0d1e33a656.bundle.js} +1 -1
- package/dist/35.4ac254e9ab4ccc4b75fd.bundle.js +1 -0
- package/dist/{348.14ae3944ca71fc347833.bundle.js → 350.63aa2714216de96adc3b.bundle.js} +1 -1
- package/dist/{349.606184ff5d01acc3e6b6.bundle.js → 351.5dcf50c4bddeb40fcde0.bundle.js} +1 -1
- package/dist/{350.9c44a2eddf2008a38a00.bundle.js → 352.bf47ae34820127030806.bundle.js} +1 -1
- package/dist/{351.23289a06b4697246ce9e.bundle.js → 353.5329997affd2735d7f2c.bundle.js} +1 -1
- package/dist/{352.3046ed1ee36a576d5c93.bundle.js → 354.cef8c4623063a22ffeeb.bundle.js} +1 -1
- package/dist/{353.af973c793bfa22e15fac.bundle.js → 355.a90ed576141f7669e9c2.bundle.js} +1 -1
- package/dist/{354.fa248513f541c160e67c.bundle.js → 356.4862f1286ee075428540.bundle.js} +1 -1
- package/dist/{355.f524cdb727598e6d4fc3.bundle.js → 357.dee21322dcb5be1aa374.bundle.js} +1 -1
- package/dist/{356.0482816218131d48de41.bundle.js → 358.80b381ccd20e93021857.bundle.js} +1 -1
- package/dist/{357.c4f789b05483439e31bf.bundle.js → 359.96e71d2d8280919b52ba.bundle.js} +1 -1
- package/dist/36.4c7f03f71aea58c46ad0.bundle.js +1 -0
- package/dist/{358.d057bdfaaf7136305108.bundle.js → 360.eaba0f1386cdc15022c4.bundle.js} +1 -1
- package/dist/{359.9e68265babe6c3029901.bundle.js → 361.eb5f8f8ddcd38bc70299.bundle.js} +1 -1
- package/dist/{360.6644ba58cb7fa55434a1.bundle.js → 362.926fe39b40f34a6973ce.bundle.js} +1 -1
- package/dist/{361.346b783405475ff949b3.bundle.js → 363.31638034be48abd23ad4.bundle.js} +1 -1
- package/dist/{362.e2dea4b91c16395af08b.bundle.js → 364.c09818df038b810875dd.bundle.js} +1 -1
- package/dist/{363.03cc3e776f5e7d936e62.bundle.js → 365.3f47d1cb883e089f886f.bundle.js} +1 -1
- package/dist/{364.2b194c33842b7293286f.bundle.js → 366.fc6c89eb988af6722191.bundle.js} +1 -1
- package/dist/{365.4b5c136170ff6bd5cfa5.bundle.js → 367.8347261fea44282d99d0.bundle.js} +1 -1
- package/dist/{366.fb289ab7e21ccebf2e81.bundle.js → 368.717d5df5dba91d94c9ea.bundle.js} +1 -1
- package/dist/{367.c2fdbfd858869b8cfa02.bundle.js → 369.ddccec1000d6e24ec537.bundle.js} +1 -1
- package/dist/{37.979dafa06b4ac706175f.bundle.js → 37.9af3535ede3039c39bcb.bundle.js} +1 -1
- package/dist/{368.88e91f9d577e4a24c393.bundle.js → 370.9d9f2d76afd7298109b2.bundle.js} +1 -1
- package/dist/{369.42cd152c380da070e17d.bundle.js → 371.4008ce1f62536c5a65d7.bundle.js} +1 -1
- package/dist/{370.9854cfd406fdb9a960d1.bundle.js → 372.77d9bf19d86efdeb056d.bundle.js} +1 -1
- package/dist/{371.162dd124d4ba999559f2.bundle.js → 373.ef700a372398c1d48dbd.bundle.js} +1 -1
- package/dist/{372.7ef0b402b34de8fa7de3.bundle.js → 374.d50abea669476f0f2c9c.bundle.js} +1 -1
- package/dist/{373.9d1186f68be57f69bf19.bundle.js → 375.1a56604312cef8a17e2e.bundle.js} +1 -1
- package/dist/{374.fcf294a736f3cbfb2abd.bundle.js → 376.a1dfeda23cc6dd505a4c.bundle.js} +1 -1
- package/dist/{375.61bfa3705d0a5b5e130f.bundle.js → 377.eef5fe51870dd8b93dcd.bundle.js} +1 -1
- package/dist/{376.bac4c4a317961264a74e.bundle.js → 378.73bc20173cf0d694c88e.bundle.js} +1 -1
- package/dist/{377.9e726e205a4febd06881.bundle.js → 379.92c6b05ed8e54fa9c12a.bundle.js} +1 -1
- package/dist/{38.6c4d98e2f8d52004ee09.bundle.js → 38.b9a466688b4419b44203.bundle.js} +1 -1
- package/dist/380.165fe5bf212ac7177a4a.bundle.js +1 -0
- package/dist/{379.d26f69a3e53fc29ff75c.bundle.js → 381.b8cccfdac5dfc2709c23.bundle.js} +1 -1
- package/dist/382.e3ef7b793ef5478f33b6.bundle.js +1 -0
- package/dist/{381.1c5879a7d41b1fc0811c.bundle.js → 383.b24679383a6bcfc3b8a5.bundle.js} +1 -1
- package/dist/{382.2e8bbae9cb4f64322dd7.bundle.js → 384.bd767075e1e2e44269ab.bundle.js} +1 -1
- package/dist/385.b7f92435750203328844.bundle.js +1 -0
- package/dist/{384.ac1029daf540d96ab1ba.bundle.js → 386.5f7f99365c96827da6c5.bundle.js} +1 -1
- package/dist/{385.dcf0f30562fec30d81ae.bundle.js → 387.29051e7ab90b105e8d87.bundle.js} +1 -1
- package/dist/{386.ffabbaa1eeab0ec19e9d.bundle.js → 388.9dc54afd9b85e404f529.bundle.js} +1 -1
- package/dist/389.b906220de4376cdfd713.bundle.js +1 -0
- package/dist/{39.df1815db4cd3cf39819f.bundle.js → 39.f6a1755e5e900a025a5d.bundle.js} +1 -1
- package/dist/390.8585876828ed565479d8.bundle.js +1 -0
- package/dist/{389.3a0b6965084e6963a174.bundle.js → 391.e41787c90e5971440ace.bundle.js} +1 -1
- package/dist/{390.5c30dfdf6beb8fc1cfc5.bundle.js → 392.d1e8244123690aa49c67.bundle.js} +1 -1
- package/dist/{391.5e23157e8a90a7fc552f.bundle.js → 393.8c635bccb9f07e3d99ee.bundle.js} +1 -1
- package/dist/{392.55fd2759761bf0209940.bundle.js → 394.09ee1a79af516dac51f1.bundle.js} +1 -1
- package/dist/{4.aff67673cf6b0533d362.bundle.js → 4.3947c4905934322d0dd6.bundle.js} +1 -1
- package/dist/{40.63661029e5734fd5562f.bundle.js → 40.7238c6afe0137623466c.bundle.js} +1 -1
- package/dist/{41.0d3377c5004cb06d9ec5.bundle.js → 41.1ebaf44ca36bf8527737.bundle.js} +1 -1
- package/dist/{42.22de61ed85fccbb2f70f.bundle.js → 42.853a8641bf50eef3de81.bundle.js} +1 -1
- package/dist/{43.134daf93e10cc14378bf.bundle.js → 43.aee21b9ba100c82e4659.bundle.js} +1 -1
- package/dist/44.90a523a1b31916b5ebd7.bundle.js +1 -0
- package/dist/{45.e78d204e8b77f6c8378b.bundle.js → 45.3f2bd488027ca1f38eaf.bundle.js} +1 -1
- package/dist/{46.4d533b484c1b03410eb3.bundle.js → 46.4037b933d2352c74b321.bundle.js} +1 -1
- package/dist/{47.094ce29352480a54c186.bundle.js → 47.d0999c0aceb29874efcd.bundle.js} +1 -1
- package/dist/48.08f87cb27107d1f0d377.bundle.js +1 -0
- package/dist/49.e80a971e901c0d3929dd.bundle.js +1 -0
- package/dist/5.9a3ba02464bbfa18cb38.bundle.js +1 -0
- package/dist/{49.528a09f441b28bf08064.bundle.js → 50.7b343a210ee52430eaf5.bundle.js} +2 -2
- package/dist/{50.bf792163b8764b926168.bundle.js → 51.5b6a507f77f75d1776f5.bundle.js} +1 -1
- package/dist/{51.a90d10cc476db680948c.bundle.js → 52.c7c6adcfdbf568c04cec.bundle.js} +1 -1
- package/dist/{52.2823d09c200882322ae5.bundle.js → 53.5cd5c0fecc37df965ec5.bundle.js} +1 -1
- package/dist/{53.96f2ad442baa9f720c6a.bundle.js → 54.627d2ce861c386668d79.bundle.js} +1 -1
- package/dist/{54.86a25a049a434243e725.bundle.js → 55.f200a2b041ec38de45f8.bundle.js} +1 -1
- package/dist/{55.5a1aa4dcdd6933de413b.bundle.js → 56.f9fb6f613614fedf7419.bundle.js} +1 -1
- package/dist/{56.59d91178e564f8808d62.bundle.js → 57.3106ad445383cc078ed5.bundle.js} +1 -1
- package/dist/58.91d1a1d7728a5f7e7296.bundle.js +1 -0
- package/dist/{57.26d7d4f33d5f226943c6.bundle.js → 59.a0b621b536dde5e0aee1.bundle.js} +1 -1
- package/dist/{6.22d45d855c48545f09aa.bundle.js → 6.1cf03f9d61c21f7132b8.bundle.js} +1 -1
- package/dist/{58.e6cbcfea71d0f5dc97d8.bundle.js → 60.b211600daa77ec578d04.bundle.js} +1 -1
- package/dist/61.79fee854325c44c8a2bc.bundle.js +1 -0
- package/dist/{59.421ee2b1ea2721dedac8.bundle.js → 62.83025f5698e9ab6cf74c.bundle.js} +2 -2
- package/dist/{60.da92690cb0d953cab0a1.bundle.js → 63.d6202aafe9264ec10635.bundle.js} +1 -1
- package/dist/{61.b538e6950ca149a7e75b.bundle.js → 64.53c25608190731785d98.bundle.js} +1 -1
- package/dist/{62.e7161db8cb36f588edaf.bundle.js → 65.5098747b80c908d72cd2.bundle.js} +1 -1
- package/dist/{63.259cba761b15f620a198.bundle.js → 66.d70db6a6e916c4af7ce1.bundle.js} +1 -1
- package/dist/67.5d24f1090f1f108006ca.bundle.js +1 -0
- package/dist/{64.56aea2ad2c856287190c.bundle.js → 68.0a3fdb3e609d907f44e9.bundle.js} +1 -1
- package/dist/{65.98acc51a9d5dd9a86665.bundle.js → 69.98e1f9152bd7460f8681.bundle.js} +1 -1
- package/dist/7.702938d283671b5c3488.bundle.js +1 -0
- package/dist/{66.7f4aa7b917ae36e0bae9.bundle.js → 70.c86b58c81aca3aab2e14.bundle.js} +1 -1
- package/dist/71.612f3a743bf647da9558.bundle.js +1 -0
- package/dist/72.9861808a54d67db52f73.bundle.js +1 -0
- package/dist/{69.7d308309b390704d1493.bundle.js → 73.46c7caba568524cb6b02.bundle.js} +1 -1
- package/dist/{70.d1b703ea44c96894d09e.bundle.js → 74.a5a855f086cd9ad246ca.bundle.js} +1 -1
- package/dist/{71.db1b70da8f6fefccf527.bundle.js → 75.6c757ea5de288b4d6355.bundle.js} +1 -1
- package/dist/76.53dbf4dabd1557924cf1.bundle.js +1 -0
- package/dist/77.cef3ad36317bcbbb51e3.bundle.js +1 -0
- package/dist/{75.c1c8c7e9c459e0ee60c2.bundle.js → 78.13f99689064113df72fd.bundle.js} +1 -1
- package/dist/{76.53ea6c6f22d3681f8837.bundle.js → 79.d8e3194dbe33117c6ddd.bundle.js} +1 -1
- package/dist/8.950d6ff4713eea1d38f2.bundle.js +1 -0
- package/dist/{77.6611d9338986b1a12868.bundle.js → 80.20ce76f814d95859f7f9.bundle.js} +1 -1
- package/dist/{78.f6e3f127ae7da2f57ac3.bundle.js → 81.fe3fabcc9e92b7f54afc.bundle.js} +1 -1
- package/dist/{79.1d3d629022ded5fbd984.bundle.js → 82.bb3bcbd64eafa8c7f146.bundle.js} +1 -1
- package/dist/{80.cc0811a26bf10316f9c7.bundle.js → 83.f5eef86a90060f5492cf.bundle.js} +1 -1
- package/dist/{81.4d6864805c077f3a633f.bundle.js → 84.df0f15851d18899b1e26.bundle.js} +1 -1
- package/dist/{82.252c34f7f437d36937c0.bundle.js → 85.98bc298f8f2db0961040.bundle.js} +1 -1
- package/dist/{83.fcffee43e09e1e76cc7d.bundle.js → 86.7dc19a7c50d26ce3488c.bundle.js} +1 -1
- package/dist/{84.d72d91884ff43e148b7b.bundle.js → 87.78837e5bbf94ca603123.bundle.js} +1 -1
- package/dist/{85.97eaab6abd1ed466fc88.bundle.js → 88.41f228ffb8b2aff84f40.bundle.js} +1 -1
- package/dist/{86.5a49f7e16001eb9e3c71.bundle.js → 89.f5ed6d5a13863b85c61e.bundle.js} +1 -1
- package/dist/{9.d5f26ca3c7c77b6cc0ac.bundle.js → 9.4edcc360bed3b19e4101.bundle.js} +1 -1
- package/dist/{87.a091d78e666c7408fc90.bundle.js → 90.d9a12123b9c85e1e95de.bundle.js} +1 -1
- package/dist/{88.a4d1f06b166b6572a071.bundle.js → 91.d6e858f7b860defbfa3d.bundle.js} +1 -1
- package/dist/{89.53fc565430f4836f7f2c.bundle.js → 92.f4ed809be0be9a942e05.bundle.js} +1 -1
- package/dist/{90.56c33a7601972e3e67d6.bundle.js → 93.05941c5e5e313a8397e7.bundle.js} +1 -1
- package/dist/{92.85cd3847caf6206077c7.bundle.js → 94.1e7ecde60e2d3f60183a.bundle.js} +1 -1
- package/dist/{93.9e44d8527d129ad3acf1.bundle.js → 95.de6d40e105844c92cf94.bundle.js} +1 -1
- package/dist/{94.b2ff0d4f0f1446e34048.bundle.js → 96.c6529d9eefcd1332fd44.bundle.js} +1 -1
- package/dist/{95.49ca08a06e31cad93026.bundle.js → 97.80d912c2e7b40637cbbb.bundle.js} +1 -1
- package/dist/{96.034bd4c7e0e8c36d076f.bundle.js → 98.ccd1fdedf27c0ab11554.bundle.js} +1 -1
- package/dist/{97.b898cf5aacd5400a7410.bundle.js → 99.a5aae6d30f0e9599057c.bundle.js} +1 -1
- package/dist/{bundle.01968f2d52c2db24b8db.bundle.js → bundle.94aa42423c344044b857.bundle.js} +14 -14
- package/dist/css/ttyg/chat-item-details.css +128 -0
- package/dist/css/ttyg/chat-panel.css +1 -83
- package/dist/i18n/locale-en.json +29 -8
- package/dist/i18n/locale-fr.json +28 -8
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/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 +44 -6
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +3 -2
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +8 -6
- 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.9383f2ad934cf3bacb79.bundle.js → main.2782caff706571370192.bundle.js} +1 -1
- 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 +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +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.f5c2e0835a269ea70ac8.bundle.js → polyfills-dom.9f67279dd80d1071eccb.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendor.30a6591bfdc394bd3913.bundle.js → vendor.d7f9f8332a094bec999e.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.e7feaf41f75b46b008db.bundle.js → vendors~polyfills-core-js.2a794b50dc6dee332409.bundle.js} +1 -1
- package/package.json +1 -1
- package/dist/101.bf0fde51522a5d10b6ce.bundle.js +0 -1
- package/dist/102.93de8da2b05854b7a2f6.bundle.js +0 -1
- package/dist/103.ec756e552ca154fe9249.bundle.js +0 -1
- package/dist/118.fa3d881d5580e05dbd05.bundle.js +0 -1
- package/dist/119.e7b8ff4c3358263cddb0.bundle.js +0 -1
- package/dist/205.5964d31ea49f335e2153.bundle.js +0 -1
- package/dist/22.6ed49c9ec5c4f8bef98f.bundle.js +0 -2
- package/dist/225.12f1d1f6d09186dbeea7.bundle.js +0 -1
- package/dist/227.a4eb17ab2119a9a1c2e1.bundle.js +0 -1
- package/dist/23.5b4b7b30a9ee54898bbb.bundle.js +0 -2
- package/dist/238.c1d9ecf1f009436e1cd9.bundle.js +0 -1
- package/dist/239.750828c356c342abd9b0.bundle.js +0 -1
- package/dist/24.ef0d7437101e6a30dec7.bundle.js +0 -2
- package/dist/244.f957102de9568bd62a52.bundle.js +0 -1
- package/dist/246.11aa5e8c3a5cf4db5f89.bundle.js +0 -1
- package/dist/248.5a4d7374460366d79c15.bundle.js +0 -1
- package/dist/252.50b98b9146e2383548db.bundle.js +0 -1
- package/dist/253.44a6bda88d9ad7686933.bundle.js +0 -1
- package/dist/27.dc5c95d1588f782e31d0.bundle.js +0 -1
- package/dist/290.e7c552655449d0a6ee1f.bundle.js +0 -1
- package/dist/299.8dda014cab35ba1815b1.bundle.js +0 -1
- package/dist/30.bba4de583145f2ece8c0.bundle.js +0 -1
- package/dist/34.48c99bc7d0f5bcde9141.bundle.js +0 -1
- package/dist/35.ea0dce5bc217da95a8e4.bundle.js +0 -1
- package/dist/36.72b60f0dadcb9a3602c3.bundle.js +0 -1
- package/dist/378.50b7c82a6f2ba7f7f1a0.bundle.js +0 -1
- package/dist/380.ebb4b20fc1dca83af7e0.bundle.js +0 -1
- package/dist/383.4dc06ae763671bc268a4.bundle.js +0 -1
- package/dist/387.53c1171594a47e46d973.bundle.js +0 -1
- package/dist/388.5fc49decfc830a511eef.bundle.js +0 -1
- package/dist/44.987d20d3ac6c478ae000.bundle.js +0 -1
- package/dist/48.68c92758daa2e09f72ed.bundle.js +0 -1
- package/dist/5.1aa40b3ef6411ef4e8bb.bundle.js +0 -1
- package/dist/67.3160625ff03b48f4188d.bundle.js +0 -1
- package/dist/68.ad5a293f3cca442615c0.bundle.js +0 -1
- package/dist/7.a51db761d9c64e0ce870.bundle.js +0 -1
- package/dist/72.b5e64cea3d34ce9cfdd4.bundle.js +0 -1
- package/dist/73.a21b5393676f3e1707a2.bundle.js +0 -1
- package/dist/74.620c1813dfcb15bbbc24.bundle.js +0 -1
- package/dist/8.101df7c69717778e920f.bundle.js +0 -1
- package/dist/91.bd0add73fd8dfcaaf5e7.bundle.js +0 -1
- package/dist/98.200bfd438d2ea40e05e0.bundle.js +0 -1
- package/dist/99.aa44f325807ab43663ef.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[120,301],{120:function(e,t,n){"use strict";n.r(t);var E=n(0),a=n(69);function i(e,t,n){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/agent-list.html",scope:{agentList:"=",agentListFilterModel:"="},link:(i,c,A)=>{i.selectedAgent=void 0,i.selectedAgentsFilter=void 0,i.deletingAgent=void 0,i.onEditAgent=t=>{e.emit(a.TTYGEventName.EDIT_AGENT,t)},i.onCloneAgent=t=>{e.emit(a.TTYGEventName.CLONE_AGENT,t)},i.onDeleteAgent=i=>{const c=n.instant("ttyg.agent.delete_agent_modal.title"),A=Object(E.decodeHTML)(n.instant("ttyg.agent.delete_agent_modal.body",{agentName:i.name}));t.openConfirmation(c,A,()=>e.emit(a.TTYGEventName.DELETE_AGENT,i))},i.onAgentsFilterChange=e=>{i.selectedAgentsFilter=e,i.selectedAgentsFilter&&i.agentList.filterByRepository(i.selectedAgentsFilter.key)};const T=()=>{const e=i.agentListFilterModel.find(e=>e.selected);i.selectedAgentsFilter=e||i.agentListFilterModel[0],i.onAgentsFilterChange(i.selectedAgentsFilter)},l=[];l.push(i.$watch("agentListFilterModel",T)),l.push(e.subscribe(a.TTYGEventName.DELETING_AGENT,e=>{i.deletingAgent=e})),l.push(e.onSelectedAgentChanged(e=>{i.selectedAgent=e})),i.$on("$destroy",()=>{l.forEach(e=>e())}),T()}}}angular.module("graphdb.framework.ttyg.directives.agent-list",[]).directive("agentList",i),i.$inject=["TTYGContextService","ModalService","$translate"]},69:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return i}));var E=n(30);function a(e,t){let n=void 0,a=void 0,c=void 0,A=void 0,T={},l=void 0;const o=()=>Object(E.cloneDeep)(n),s=()=>Object(E.cloneDeep)(a),d=()=>Object(E.cloneDeep)(c),C=()=>Object(E.cloneDeep)(A),_=()=>Object(E.cloneDeep)(T),g=e=>!!T[e],r=(t,n)=>{e.emitSync(t,Object(E.cloneDeep)(n))},D=(t,n)=>e.subscribeSync(t,e=>n(e));return{emit:r,subscribe:D,getChats:s,updateChats:e=>{a=Object(E.cloneDeep)(e),r(i.CHAT_LIST_UPDATED,s())},onChatsListChanged:e=>(a&&angular.isFunction(e)&&e(s()),D(i.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:d,selectChat:e=>{c&&c.id===e.id||(c=Object(E.cloneDeep)(e),r(i.SELECT_CHAT,d()))},onSelectedChatChanged:e=>(c&&angular.isFunction(e)&&e(d()),D(i.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{c&&e&&c.id!==e.id||(c=Object(E.cloneDeep)(e),r(i.SELECTED_CHAT_UPDATED,d()))},onSelectedChatUpdated:e=>(c&&angular.isFunction(e)&&e(d()),D(i.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{n=Object(E.cloneDeep)(e),r(i.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(n&&angular.isFunction(e)&&e(o()),D(i.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,getAgent:e=>{if(n)return Object(E.cloneDeep)(n.getAgent(e))},selectAgent:e=>{A=Object(E.cloneDeep)(e),r(i.AGENT_SELECTED,C())},getSelectedAgent:C,onSelectedAgentChanged:e=>(A&&angular.isFunction(e)&&e(C()),D(i.AGENT_SELECTED,t=>e(t))),hasExplainResponse:g,toggleExplainResponse:e=>{g(e)&&(T[e].expanded=!T[e].expanded,r(i.EXPLAIN_RESPONSE_CACHE_UPDATED,_()))},getExplainResponse:e=>Object(E.cloneDeep)(T[e]),addExplainResponseCache:e=>{T[e.answerId]=Object(E.cloneDeep)(e),r(i.EXPLAIN_RESPONSE_CACHE_UPDATED,_())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(_()),D(i.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t))),getDefaultAgent:()=>Object(E.cloneDeep)(l),setDefaultAgent:e=>{l=e}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];const i={NEW_CHAT:"newChat",CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[121,301],{122:function(e,t,E){"use strict";E.r(t);var n=E(69);function a(e){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/no-agents-view.html",scope:{},link:(t,E,a)=>{t.onCreateAgent=()=>{e.emit(n.TTYGEventName.CREATE_AGENT)}}}}angular.module("graphdb.framework.ttyg.directives.no-agents-view",[]).directive("noAgentsView",a),a.$inject=["TTYGContextService"]},69:function(e,t,E){"use strict";E.r(t),E.d(t,"TTYGEventName",(function(){return T}));var n=E(30);function a(e,t){let E=void 0,a=void 0,A=void 0,c=void 0,C={},_=void 0;const o=()=>Object(n.cloneDeep)(E),i=()=>Object(n.cloneDeep)(a),l=()=>Object(n.cloneDeep)(A),s=()=>Object(n.cloneDeep)(c),d=()=>Object(n.cloneDeep)(C),S=e=>!!C[e],r=(t,E)=>{e.emitSync(t,Object(n.cloneDeep)(E))},D=(t,E)=>e.subscribeSync(t,e=>E(e));return{emit:r,subscribe:D,getChats:i,updateChats:e=>{a=Object(n.cloneDeep)(e),r(T.CHAT_LIST_UPDATED,i())},onChatsListChanged:e=>(a&&angular.isFunction(e)&&e(i()),D(T.CHAT_LIST_UPDATED,t=>e(t))),getSelectedChat:l,selectChat:e=>{A&&A.id===e.id||(A=Object(n.cloneDeep)(e),r(T.SELECT_CHAT,l()))},onSelectedChatChanged:e=>(A&&angular.isFunction(e)&&e(l()),D(T.SELECT_CHAT,t=>e(t))),updateSelectedChat:e=>{A&&e&&A.id!==e.id||(A=Object(n.cloneDeep)(e),r(T.SELECTED_CHAT_UPDATED,l()))},onSelectedChatUpdated:e=>(A&&angular.isFunction(e)&&e(l()),D(T.SELECTED_CHAT_UPDATED,t=>e(t))),updateAgents:e=>{E=Object(n.cloneDeep)(e),r(T.AGENT_LIST_UPDATED,o())},onAgentsListChanged:e=>(E&&angular.isFunction(e)&&e(o()),D(T.AGENT_LIST_UPDATED,t=>e(t))),getAgents:o,getAgent:e=>{if(E)return Object(n.cloneDeep)(E.getAgent(e))},selectAgent:e=>{c=Object(n.cloneDeep)(e),r(T.AGENT_SELECTED,s())},getSelectedAgent:s,onSelectedAgentChanged:e=>(c&&angular.isFunction(e)&&e(s()),D(T.AGENT_SELECTED,t=>e(t))),hasExplainResponse:S,toggleExplainResponse:e=>{S(e)&&(C[e].expanded=!C[e].expanded,r(T.EXPLAIN_RESPONSE_CACHE_UPDATED,d()))},getExplainResponse:e=>Object(n.cloneDeep)(C[e]),addExplainResponseCache:e=>{C[e.answerId]=Object(n.cloneDeep)(e),r(T.EXPLAIN_RESPONSE_CACHE_UPDATED,d())},onExplainResponseCacheUpdated:e=>(angular.isFunction(e)&&e(d()),D(T.EXPLAIN_RESPONSE_CACHE_UPDATED,t=>e(t))),getDefaultAgent:()=>Object(n.cloneDeep)(_),setDefaultAgent:e=>{_=e}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",a),a.$inject=["EventEmitterService","TTYGService"];const T={NEW_CHAT:"newChat",CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",CREATE_AGENT:"createAgent",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[122],{134:function(r,n){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,n,t){const e=[];function o(r,n){if(!r||"*"===r)return r;const t=r.startsWith("!"),e=t?"!CUSTOM_":"CUSTOM_";return n?e+r.replace(/^!/,""):t?"!"+r.replace(e,""):r.replace(e,"")}function s(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const a="tags-input"===n[0].nodeName.toLowerCase();if(("INPUT"===n[0].tagName||"TEXTAREA"===n[0].tagName||a)&&t.ngModel){const i=n.controller("ngModel");a?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>s(r))),r})),e.push(r.$watch(t.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>s(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!s(r)),r})),i.$formatters.push((function(r){return o(r,!1)})),i.$parsers.push((function(r){return o(r,!0)})))}e.push(r.$on("$destroy",()=>{e.forEach(r=>r())}))}}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[123],{125:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return l})),s.d(t,"ClearGraphACRuleModel",(function(){return c})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return h})),s.d(t,"ACL_OPERATION",(function(){return p})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return g}));var r=s(30);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,l,c){const u=a.createRule(e,t,s,r,i,o,n,l,c);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=h.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||p.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||p.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||p.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,h,p){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,h,r);case _.PLUGIN:return new l(s,t,p,r);case _.CLEAR_GRAPH:return new c(s,t,h);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const h={ALLOW:"allow",DENY:"deny"},p={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],g=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{287:function(e,a){PluginRegistry.add("route",{url:"/aclmanagement",module:"graphdb.framework.aclmanagement",path:"aclmanagement/app",chunk:"aclmanagement",controller:"AclManagementCtrl",templateUrl:"pages/aclmanagement.html",title:"view.aclmanagement.title",helpInfo:"view.aclmanagement.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"ACL Management",labelKey:"menu.aclmanagement.label",href:"aclmanagement",order:6,parent:"Setup",role:"ROLE_ADMIN",guideSelector:"sub-menu-aclmanagement"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[125],{289:function(e,t){PluginRegistry.add("route",{url:"/autocomplete",module:"graphdb.framework.autocomplete",path:"autocomplete/app",chunk:"autocomplete",controller:"AutocompleteCtrl",templateUrl:"pages/autocomplete.html",title:"view.autocomplete.title",helpInfo:"view.autocomplete.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Autocomplete",labelKey:"menu.autocomplete.label",href:"autocomplete",order:40,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-autocomplete"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[126],{180:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const i=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),i(),a=e(()=>i(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[127],{291:function(e,r){PluginRegistry.add("route",{url:"/monitor/backup-and-restore",module:"graphdb.framework.monitoring.backupandrestore",path:"backup-and-restore/app",chunk:"monitor-backup-and-restore",controller:"BackupAndRestoreCtrl",templateUrl:"pages/monitor/backup-and-restore.html",title:"view.monitoring.backup_and_restore.title",helpInfo:"view.monitoring.backup_and_restore.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Backup and Restore",labelKey:"menu.backup_and_restore.label",href:"monitor/backup-and-restore",order:2,parent:"Monitor",guideSelector:"sub-menu-backup-and-restore"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[128],{186:function(o,n){function t(o,n,t,e,a){o.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},o.docBase=function(o){return"https://graphdb.ontotext.com/documentation/"+o.productShortVersion}(e),o.isValidLocation=()=>(o.newLocation.uri.length<6||0===o.newLocation.uri.indexOf("http:")||0===o.newLocation.uri.indexOf("https:"))&&o.newLocation.uri.indexOf("/repositories")<=-1,o.ok=()=>{o.newLocation?n.close(o.newLocation):t.error(a.instant("location.cannot.be.empty.error"))},o.cancel=()=>{n.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",t),t.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[129],{185:function(e,c){function l(e,c){e.forceDelete=!1,e.ok=()=>{c.close(e.forceDelete)},e.cancel=()=>{c.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",l),l.$inject=["$scope","$uibModalInstance"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,61,81,82,83,126,127,128,129,131,132,273],{180:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},181:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},182:function(e,t,o){"use strict";o.r(t);o(80);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},183:function(e,t,o){"use strict";o.r(t);o(80);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},184:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},185:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},186:function(e,t,o){"use strict";o.r(t);o(93);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},187:function(e,t,o){"use strict";o.r(t);o(80),o(93);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},276:function(e,t,o){"use strict";o.r(t);o(80),o(93),o(180),o(181),o(182),o(183),o(184),o(185),o(186),o(187);var n=o(30),r=o(85),s=o(94);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},80:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},93:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},94:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,64,84,85,86,128,129,130,131,133,134,275],{181:function(e,t){function o(e){let t,o=!1;function n(){return o}function r(t){o=t,e.emit("showClusterConfigurationPanel",n())}function s(){return t}return{updateClusterViewD3Container:function(o){t=o,e.emit("clusterViewD3ContainerChanged",s())},getClusterViewD3Container:s,onClusterViewD3ContainerUpdated:function(t){return e.subscribe("clusterViewD3ContainerChanged",()=>t(s()))},getShowClusterConfigurationPanel:n,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(t){return e.subscribe("showClusterConfigurationPanel",()=>t(n()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",o),o.$inject=["EventEmitterService"]},182:function(e,t){function o(e,t,o){const n=_.cloneDeep(o.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(t,o)=>{o.shouldRemove=!o.shouldRemove,o.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const o=e.clusterNodes.filter(e=>e.shouldRemove);t.close(o)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",o),o.$inject=["$scope","$uibModalInstance","data"]},183:function(e,t,o){"use strict";o.r(t);o(82);const n=function(){const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"};function r(e,t,o,r,s,a,l,c,i,d){e.pageTitle=a.instant("cluster_management.cluster_page.create_page_title"),e.autofocusId="autofocus",e.errors=[],e.clusterConfiguration={electionMinTimeout:8e3,electionRangeTimeout:6e3,heartbeatInterval:2e3,messageSizeKB:64,verificationTimeout:1500,transactionLogMaximumSizeGB:50,nodes:[]},e.locations=l.clusterModel.locations.filter(e=>!e.isLocal),e.selectedLocations=l.clusterModel.locations.filter(e=>e.isLocal),e.loader=!1,e.deleteLocation=function(t,o){t.preventDefault(),t.stopPropagation(),l.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.getAdvancedOptionsClass=n,e.createCluster=function(){return e.setLoader(!0,a.instant("cluster_management.cluster_page.creating_cluster_loader")),e.clusterConfiguration.nodes=e.selectedLocations.map(e=>e.rpcAddress),r.createCluster(e.clusterConfiguration).then(()=>{s.success(a.instant("cluster_management.cluster_page.notifications.create_success")),t.close()}).catch((function(e){u(e.data,e.status)})).finally(()=>{e.setLoader(!1),d.$broadcast("reloadLocations")})},e.isClusterConfigurationValid=()=>{const t=!e.clusterConfigurationForm.$invalid,o=e.selectedLocations&&e.selectedLocations.length>=2;return t&&o},e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.addNodeToList=t=>{t.rpcAddress&&(e.selectedLocations.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{o.isLocal||(e.selectedLocations.splice(t,1),e.locations.push(o))},e.addLocation=()=>{i.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{e.isClusterConfigurationValid()?e.createCluster():s.warning(a.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const u=(t,o)=>{let n;delete e.preconditionErrors,e.errors.splice(0),412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o?e.errors.push(...t):409===o?e.errors.push(t):(t.message||"string"==typeof t)&&(n=t.message||t),s.error(n,a.instant("cluster_management.cluster_page.notifications.create_failed"))}}angular.module("graphdb.framework.clustermanagement.controllers.create-cluster",[]).controller("CreateClusterCtrl",r),r.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data","$uibModal","RemoteLocationsService","$rootScope"]},184:function(e,t,o){"use strict";o.r(t);o(82);function n(e,t,o,n,r,s,a){e.pageTitle=s.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),e.loader=!1,e.updateCluster=()=>(e.setLoader(!0,s.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateCluster(e.clusterConfiguration).then(()=>{r.success(s.instant("cluster_management.cluster_page.notifications.update_success")),t.close()}).catch((function(e){l(e.data,e.status)})).finally(()=>e.setLoader(!1))),e.isClusterConfigurationValid=()=>!e.clusterConfigurationForm.$invalid,e.setLoader=(t,n)=>{o.cancel(e.loaderTimeout),t?e.loaderTimeout=o(()=>{e.loader=t,e.loaderMessage=n},300):e.loader=!1},e.ok=()=>{e.isClusterConfigurationValid()?e.updateCluster():r.warning(s.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=()=>{t.dismiss("cancel")};const l=(t,o)=>{delete e.preconditionErrors,r.error(s.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===o||"string"==typeof t?e.errors.push(t):412===o?e.preconditionErrors=Object.keys(t).map(e=>`${e} - ${t[e]}`):400===o&&e.errors.push(...t)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]},185:function(e,t){function o(e,t){e.forceDelete=!1,e.ok=()=>{t.close(e.forceDelete)},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.delete-cluster",[]).controller("DeleteClusterCtrl",o),o.$inject=["$scope","$uibModalInstance"]},186:function(e,t){function o(e,t,o,n,r){e.newLocation={uri:"",authType:"signature",username:"",password:"",active:!1,clusterMode:!0},e.docBase=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion}(n),e.isValidLocation=()=>(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1,e.ok=()=>{e.newLocation?t.close(e.newLocation):o.error(r.instant("location.cannot.be.empty.error"))},e.cancel=()=>{t.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.add-location",[]).controller("AddLocationFromClusterCtrl",o),o.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"]},187:function(e,t,o){"use strict";o.r(t);o(94);function n(e,t,o,n,r){let s,a;e.nodes=[],e.clusterNodes=[],e.locations=[],e.deleteLocation=(t,n)=>{t.preventDefault(),t.stopPropagation(),o.deleteLocation(n).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==n.endpoint))},e.addNodeToList=t=>{t.rpcAddress&&(e.nodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.removeNodeFromList=(t,o)=>{e.nodes.splice(t,1),e.locations.push(o)},e.addLocation=()=>{r.addLocation().then(t=>{t&&e.locations.push(t)})},e.ok=()=>{t.close(e.nodes)},e.cancel=()=>{t.dismiss("cancel")};s=_.cloneDeep(o.clusterModel),e.clusterNodes=s.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint})),a=e.clusterNodes.map(e=>e.endpoint),e.locations=s.locations.filter(e=>!a.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.add-nodes",[]).controller("AddNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","data","$uibModal","RemoteLocationsService"]},188:function(e,t,o){"use strict";o.r(t);o(82),o(94);function n(e,t,o,n,r,s,a,l,c){let i,d;e.replacementNodes=[],e.nodesToReplace=[],e.nodesToReplaceCount=0,e.leftNodesMajority=!1,e.clusterNodes=[],e.locations=[],e.addLocation=()=>{c.addLocation().then(t=>{t&&e.locations.push(t)})},e.toggleNode=(t,o)=>{if(o.shouldReplace=!o.shouldReplace,o.shouldReplace)e.nodesToReplaceCount++,e.nodesToReplace.push(o);else{e.nodesToReplaceCount--;const t=e.nodesToReplace.findIndex(e=>e.rpcAddress===o.rpcAddress);e.nodesToReplace.splice(t,1)}e.leftNodesMajority=u()+e.nodesToReplaceCount>e.clusterNodes.length},e.permitNodesReplace=()=>!e.leftNodesMajority&&(e.nodesToReplace.length>0||e.replacementNodes.length>0),e.addNodeToList=t=>{t.rpcAddress&&(e.replacementNodes.push(t),e.locations=e.locations.filter(e=>e.endpoint!==t.endpoint))},e.deleteLocation=(t,o)=>{t.preventDefault(),t.stopPropagation(),s.deleteLocation(o).then(()=>e.locations=e.locations.filter(e=>e.endpoint!==o.endpoint))},e.removeNodeFromList=(t,o)=>{e.replacementNodes.splice(t,1),e.locations.push(o)},e.ok=()=>{t.close({newNodes:e.replacementNodes,oldNodes:e.nodesToReplace})},e.cancel=()=>{t.dismiss("cancel")};const u=()=>Math.floor(e.clusterNodes.length/2)+1;i=_.cloneDeep(s.clusterModel),e.clusterNodes=i.nodes.map(e=>({rpcAddress:e.address,endpoint:e.endpoint,shouldReplace:!1})),d=e.clusterNodes.map(e=>e.endpoint),e.locations=i.locations.filter(e=>!d.includes(e.endpoint)),e.locations.forEach(e=>e.isNew=!0)}angular.module("graphdb.framework.clustermanagement.controllers.replace-nodes",[]).controller("ReplaceNodesDialogCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","toastr","$translate","data","$uibModal","$rootScope","RemoteLocationsService"]},278:function(e,t,o){"use strict";o.r(t);o(82),o(94),o(181),o(182),o(183),o(184),o(185),o(186),o(187),o(188);var n=o(30),r=o(87),s=o(95);function a(e,t,o,a,l,c,i,d,u,g,m,p,f,C,h,_,L,N){let w;const v=[];e.loader=!0,e.isLeader=!1,e.currentNode=null,e.clusterModel={},e.NodeState=r.NodeState,e.leaderChanged=!1,e.currentLeader=null,e.showClusterConfigurationPanel=!1,e.clusterConfigurationPanelSize=void 0,e.onopen=e.onclose=()=>angular.noop(),e.isAdmin=()=>d.isAuthenticated()&&d.isAdmin(),e.openClusterConfigurationPanel=()=>{e.showClusterConfigurationPanel=!0,N.showClusterConfigurationPanel()},e.setLoader=(t,o)=>{p.cancel(e.loaderTimeout),t?(e.loaderMessage=o,e.loaderTimeout=p((function(){e.loader=t}),50)):e.loader=!1},e.getLoaderMessage=()=>e.loaderMessage||h.instant("common.loading"),e.getClusterConfiguration=()=>f.getClusterConfig().then(t=>{if(e.clusterConfiguration=t.data,!e.currentNode)return e.getCurrentNodeStatus()}).catch(()=>{e.clusterConfiguration=null}),e.getClusterStatus=()=>f.getClusterStatus().then(t=>{const o=t.data.slice(),n=o.find(e=>e.nodeState===r.NodeState.LEADER);T(e.currentLeader,n)&&(e.currentLeader=n,e.leaderChanged=!0),e.currentNode=o.find(t=>e.currentNode&&t.address===e.currentNode.address);const s=$(n,o);e.clusterModel.hasCluster=!0,e.clusterModel.nodes=o,e.clusterModel.links=s}).catch(t=>{if(404===t.status)return e.clusterModel.hasCluster=!1,e.clusterModel.nodes=[],e.clusterModel.links=[],e.clusterConfiguration=null,Promise.reject(t)}),e.showCreateClusterDialog=function(){c.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-create-dialog.html",controller:"CreateClusterCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel}}}}).result.finally((function(){E(),b(!0)}))},e.getCurrentNodeStatus=()=>f.getNodeStatus().then(t=>{e.leaderChanged=!1,e.currentNode=t.data}).catch(t=>{e.currentNode=t.data,e.clusterModel.hasCluster=!1}).then(()=>E()),e.showAddNodeToClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/add-nodes-dialog.html",controller:"AddNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.add_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.rpcAddress);f.addNodesToCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.add_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.add_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showReplaceNodesDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html",controller:"ReplaceNodesDialogCtrl",size:"lg",resolve:{data:function(){return{deleteLocation:R,clusterModel:e.clusterModel,clusterConfiguration:e.clusterConfiguration}}}}).result.then(t=>{const o=h.instant("cluster_management.cluster_page.replace_nodes_loader");e.setLoader(!0,o);const n={addNodes:t.newNodes.map(e=>e.rpcAddress),removeNodes:t.oldNodes.map(e=>e.rpcAddress)};f.replaceNodesInCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.replace_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.replace_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}).finally(()=>E())},e.showRemoveNodesFromClusterDialog=()=>{c.open({templateUrl:"js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html",controller:"RemoveNodesDialogCtrl",size:"lg",resolve:{data:function(){return{clusterModel:e.clusterModel}}}}).result.then((function(t){const o=h.instant("cluster_management.cluster_page.remove_nodes_loader");e.setLoader(!0,o);const n=t.map(e=>e.address);f.removeNodesFromCluster(n).then(()=>{const e=h.instant("cluster_management.cluster_page.notifications.remove_nodes_success");M(e)}).catch(e=>{const t=h.instant("cluster_management.cluster_page.notifications.remove_nodes_fail");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0)})}))};const $=(e,t)=>{const o=[];return e&&Object.keys(e.syncStatus).forEach(n=>{const s=e.syncStatus[n];if(s!==r.LinkState.NO_CONNECTION&&(o.push({id:`${e.address}-${n}`,source:e.address,target:n,status:s}),s===r.LinkState.OUT_OF_SYNC)){const e=t.find(e=>e.address===n);let s;if(e.recoveryStatus.state===r.RecoveryState.RECEIVING_SNAPSHOT&&(s=e.recoveryStatus.affectedNodes[0]),e&&s){const n=t.find(e=>e.endpoint===s);o.push({id:`${e.address}-${n.address}`,source:n.address,target:e.address,status:r.LinkState.RECEIVING_SNAPSHOT})}}}),o},S=t=>{e.selectedNode!==t?e.selectedNode=t:e.selectedNode=null,e.$apply()},b=t=>{w||(w=e.getClusterStatus().then(()=>{if(t||!e.clusterConfiguration)return e.getClusterConfiguration()}).then(()=>{if(!e.currentNode||e.leaderChanged)return e.getCurrentNodeStatus()}).finally(()=>{w=null,e.$broadcast(s.MODEL_UPDATED)}))},T=(e,t)=>!t||(!e||e.address!==t.address),E=()=>_.getLocationsWithRpcAddresses().then(t=>{const o=t.find(e=>e.isLocal);o&&(o.endpoint=e.currentNode.endpoint,o.rpcAddress=e.currentNode.address),e.clusterModel.locations=t}),R=e=>m.openSimpleModal({title:h.instant("location.confirm.detach"),message:h.instant("location.confirm.detach.warning",{uri:e.endpoint}),warning:!0}).result.then(()=>l.deleteLocation(e.endpoint)),M=t=>{a.success(t),e.getClusterConfiguration()},k=(e,t,o)=>{let r=e.message||e;400===t&&Array.isArray(e)?r=e.reduce((e,t)=>e+`<div>${t}</div>`,""):412!==t||Object(n.isString)(e)||(r=Object.keys(e).reduce((t,o)=>t+`<div>${o} - ${e[o]}</div>`,"")),a.error(r,o,{allowHtml:!0})},A=()=>{e.clusterConfigurationPanelSize=.25*window.innerWidth+"px"},D=()=>{v.push(N.onShowClusterConfigurationPanel(t=>{A(),e.showClusterConfigurationPanel=t})),v.push(e.$on(s.UPDATE_CLUSTER,(e,t)=>{b(t.force)})),v.push(e.$on(s.DELETE_CLUSTER,(t,o)=>{(t=>{const o=h.instant("cluster_management.delete_cluster_dialog.loader_message");e.setLoader(!0,o),f.deleteCluster(t).then(t=>{if(Object.values(t.data).every(e=>"Cluster was deleted on this node."===e)){const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete");a.success(e)}else{const e=h.instant("cluster_management.delete_cluster_dialog.notifications.success_delete_partial"),o=Object.keys(t.data).reduce((e,o)=>e+`<div>${o} - ${t.data[o]}</div>`,"");a.warning(o,e,{allowHtml:!0})}e.getClusterConfiguration()}).catch(e=>{const t=h.instant("cluster_management.delete_cluster_dialog.notifications.fail_delete");k(e.data,e.status,t)}).finally(()=>{e.setLoader(!1),b(!0),L.$broadcast("reloadLocations")})})(o.force)})),v.push(e.$on(s.CLICK_IN_VIEW,(t,o)=>{!function(t){const o=document.getElementById("nodeTooltip");e.selectedNode&&o!==t&&!o.contains(t)&&S(null)}(o)})),v.push(e.$on(s.NODE_SELECTED,(e,t)=>{S(t)})),v.push(e.$on(s.CREATE_CLUSTER,()=>{e.showCreateClusterDialog()}))};e.$on("$destroy",(function(){v.forEach(e=>e())}));D(),A(),e.showClusterConfigurationPanel=N.getShowClusterConfigurationPanel(),(e.loader=!0,e.getCurrentNodeStatus().then(()=>e.getClusterConfiguration()).then(()=>e.getClusterStatus()).finally(()=>{e.setLoader(!1)})).finally(()=>{const t=g((function(){b()}),1e3);e.$on("$destroy",(function(){g.cancel(t)}))})}angular.module("graphdb.framework.clustermanagement.controllers.cluster-management",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.repositories.service","graphdb.framework.rest.cluster.service","graphdb.framework.clustermanagement.services.cluster-view-context-service","graphdb.framework.clustermanagement.services.remote-locations","graphdb.framework.clustermanagement.controllers.remove-nodes","graphdb.framework.clustermanagement.controllers.create-cluster","graphdb.framework.clustermanagement.controllers.edit-cluster","graphdb.framework.clustermanagement.controllers.delete-cluster","graphdb.framework.clustermanagement.controllers.add-location","graphdb.framework.clustermanagement.controllers.add-nodes","graphdb.framework.clustermanagement.controllers.replace-nodes","toastr","pageslide-directive"]).controller("ClusterManagementCtrl",a),a.$inject=["$scope","$http","$q","toastr","$repositories","$uibModal","$sce","$jwtAuth","$window","$interval","ModalService","$timeout","ClusterRestService","$location","$translate","RemoteLocationsService","$rootScope","ClusterViewContextService"]},82:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",o),o.$inject=["$http"];function o(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/config",t)},updateCluster:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const o=$.param({force:t});return e.delete("rest/cluster/config?"+o)},addNodesToCluster:function(t){return e.post("rest/cluster/config/node",{nodes:t})},replaceNodesInCluster:function(t){return e.patch("rest/cluster/config/node",t)},removeNodesFromCluster:function(t){return e.delete("rest/cluster/config/node",{data:{nodes:t},headers:{"Content-Type":"application/json"}})},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},94:function(e,t,o){"use strict";o.r(t);o(39);function n(e,t,o,n,r){return{addLocation:function(){let e;return o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(o=>(e=o,e.isLocal=!1,e.endpoint=e.uri,function(e){let o;return n.addLocation(e).catch(e=>{const o=getError(e.data,e.status);return t.error(o,r.instant("common.error")),!1}).then(e=>!!e&&s()).then(t=>{if(!1!==t)return o=t.find(t=>t.endpoint===e.uri),o})}(e)))},getLocationsWithRpcAddresses:s};function s(){return n.getLocations().then((function(e){return e.data.map(e=>({isLocal:e.local,endpoint:e.uri,rpcAddress:e.rpcAddress||"",error:e.errorMsg}))})).catch((function(e){const o=getError(e.data,e.status);t.error(o,r.instant("common.error"))})).then(e=>{if(e)return function(e){const t=e.filter(e=>!e.isLocal&&!e.error).map(e=>function(e){return n.getLocationRpcAddress(e.endpoint)}(e).then(t=>(e.rpcAddress=t.data,e.isAvailable=!0,e)).catch(t=>{e.isAvailable=!1,e.error=getError(t.data,t.status)}));return Promise.allSettled(t).then(()=>e)}(e)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]},95:function(e,t,o){"use strict";o.r(t),o.d(t,"UPDATE_CLUSTER",(function(){return n})),o.d(t,"DELETE_CLUSTER",(function(){return r})),o.d(t,"CLICK_IN_VIEW",(function(){return s})),o.d(t,"NODE_SELECTED",(function(){return a})),o.d(t,"CREATE_CLUSTER",(function(){return l})),o.d(t,"MODEL_UPDATED",(function(){return c}));const n="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",l="createCluster",c="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{182:function(e,o){function s(e,o,s){const n=_.cloneDeep(s.clusterModel);e.clusterNodes=n.nodes,e.clusterNodes.forEach(e=>e.shouldRemove=!1),e.nodesToRemoveCount=0,e.leftNodesLessThanTwo=!1,e.toggleNode=(o,s)=>{s.shouldRemove=!s.shouldRemove,s.shouldRemove?e.nodesToRemoveCount++:e.nodesToRemoveCount--,e.leftNodesLessThanTwo=e.clusterNodes.length-e.nodesToRemoveCount<2},e.ok=()=>{const s=e.clusterNodes.filter(e=>e.shouldRemove);o.close(s)},e.cancel=()=>{o.dismiss("cancel")}}angular.module("graphdb.framework.clustermanagement.controllers.remove-nodes",[]).controller("RemoveNodesDialogCtrl",s),s.$inject=["$scope","$uibModalInstance","data"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{95:function(n,e,t){"use strict";t.r(e),t.d(e,"UPDATE_CLUSTER",(function(){return u})),t.d(e,"DELETE_CLUSTER",(function(){return r})),t.d(e,"CLICK_IN_VIEW",(function(){return E})),t.d(e,"NODE_SELECTED",(function(){return c})),t.d(e,"CREATE_CLUSTER",(function(){return d})),t.d(e,"MODEL_UPDATED",(function(){return o}));const u="updateCluster",r="deleteCluster",E="clickInView",c="nodeSelected",d="createCluster",o="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{293:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_USER",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{181:function(e,n){function t(e){let n,t=!1;function i(){return t}function r(n){t=n,e.emit("showClusterConfigurationPanel",i())}function o(){return n}return{updateClusterViewD3Container:function(t){n=t,e.emit("clusterViewD3ContainerChanged",o())},getClusterViewD3Container:o,onClusterViewD3ContainerUpdated:function(n){return e.subscribe("clusterViewD3ContainerChanged",()=>n(o()))},getShowClusterConfigurationPanel:i,setShowClusterConfigurationPanel:r,showClusterConfigurationPanel:function(){r(!0)},hideClusterConfigurationPanel:function(){r(!1)},onShowClusterConfigurationPanel:function(n){return e.subscribe("showClusterConfigurationPanel",()=>n(i()))}}}angular.module("graphdb.framework.clustermanagement.services.cluster-view-context-service",[]).factory("ClusterViewContextService",t),t.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{94:function(t,r,e){"use strict";e.r(r);e(39);function n(t,r,e,n,o){return{addLocation:function(){let t;return e.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationFromClusterCtrl"}).result.then(e=>(t=e,t.isLocal=!1,t.endpoint=t.uri,function(t){let e;return n.addLocation(t).catch(t=>{const e=getError(t.data,t.status);return r.error(e,o.instant("common.error")),!1}).then(t=>!!t&&a()).then(r=>{if(!1!==r)return e=r.find(r=>r.endpoint===t.uri),e})}(t)))},getLocationsWithRpcAddresses:a};function a(){return n.getLocations().then((function(t){return t.data.map(t=>({isLocal:t.local,endpoint:t.uri,rpcAddress:t.rpcAddress||"",error:t.errorMsg}))})).catch((function(t){const e=getError(t.data,t.status);r.error(e,o.instant("common.error"))})).then(t=>{if(t)return function(t){const r=t.filter(t=>!t.isLocal&&!t.error).map(t=>function(t){return n.getLocationRpcAddress(t.endpoint)}(t).then(r=>(t.rpcAddress=r.data,t.isAvailable=!0,t)).catch(r=>{t.isAvailable=!1,t.error=getError(r.data,r.status)}));return Promise.allSettled(r).then(()=>t)}(t)})}}angular.module("graphdb.framework.clustermanagement.services.remote-locations",[]).factory("RemoteLocationsService",n),n.$inject=["$http","toastr","$uibModal","LocationsRestService","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{103:function(e,n,o){"use strict";function t(e,n,o,t,r){e.JSONLDModes=[{name:"framed",link:"http://www.w3.org/ns/json-ld#framed"},{name:"expanded",link:"http://www.w3.org/ns/json-ld#expanded"},{name:"flattened",link:"http://www.w3.org/ns/json-ld#flattened"},{name:"compacted",link:"http://www.w3.org/ns/json-ld#compacted"}],e.JSONLDModesNames=e.JSONLDModes.reduce((function(e,n){return e[n.name]=n.name,e}),{}),e.JSONLDFramedModes=[e.JSONLDModesNames.framed],e.JSONLDContextModes=[e.JSONLDModesNames.compacted,e.JSONLDModesNames.flattened],e.defaultMode=e.JSONLDModes.find(e=>"expanded"===e.name),e.currentMode=e.defaultMode,e.link=null,e.fileFormat=r.toLowerCase(),e.setJSONLDSettingsToLocalStorage=function(e,n,r){o.set(t.JSONLD_EXPORT_SETTINGS,JSON.stringify({jsonldFormName:e,jsonldFormLink:n,jsonldLink:r}))},e.cancel=function(){n.dismiss()},e.reset=function(){e.currentMode=e.defaultMode,e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.clearLinkInput=function(){e.link="",e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link)},e.exportJsonLD=function(){e.setJSONLDSettingsToLocalStorage(e.currentMode.name,e.currentMode.link,e.link),n.close({currentMode:e.currentMode,link:e.link})};!function(){const n=o.get(t.JSONLD_EXPORT_SETTINGS);n&&(e.currentMode=e.JSONLDModes.find(e=>e.name===n.jsonldFormName),e.link=n.jsonldLink)}()}o.r(n),o.d(n,"ExportSettingsCtrl",(function(){return t})),angular.module("graphdb.framework.core.components.export-settings-modal",["graphdb.framework.utils.localstorageadapter"]).controller("ExportSettingsCtrl",t),t.$inject=["$scope","$uibModalInstance","LocalStorageAdapter","LSKeys","format"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{193:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{96:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};const i=[];let o;t.onKeydown=e=>{"Enter"===e.key?(l(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&c()},t.onCancelEditing=()=>{c()},t.onSelect=()=>{o?(l(),t.onDblclick({source:t.source})):o=e((function(){t.onClick({source:t.source}),l()}),250)};const c=()=>{l(),t.onCancel()},l=()=>{e.cancel(o),o=void 0};i.push(t.$watch("isEditing",i=>{i&&(t.editableModel.text=t.source[t.fieldName],e(()=>{const e=n.find("input")[0];e.focus(),e.select()},0))}));t.$on("$destroy",()=>{i.forEach(e=>e()),l()})}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[138],{97:function(a,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(a,t,n){return{link:function(a,e){const i=()=>{const t=n('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(a);e.html(t)};i();const o=t.$on("$translateChangeSuccess",i);a.$on("$destroy",o)}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{45:function(e,t){let a=0,o=setInterval((function(){a++,5===a&&$(".ot-splash div").text("GraphDB Workbench is still loading but it's taking longer than usual, please wait..."),10===a&&$(".ot-splash div").text("If the Workbench hasn't loaded yet, please try to clear your browser cache and reload the page."),(a>=10||"block"!==$(".ot-splash").css("display"))&&(clearInterval(o),o=void 0,a=void 0)}),2e3)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[14,43,58,71,220,228,239,240,241,242,245,304],{131:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},258:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},259:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(81),n=t(131),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},260:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},280:function(e,i,t){"use strict";t.r(i);t(79),t(11),t(17);var r=t(90),n=t(15),s=t(72),a=t(78),y=t(260),o=t(131),l=t(76),d=t(258),u=t(111),c=t(259);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},78:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},79:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},81:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},90:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(81);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14,43,60,75,222,230,241,242,243,244,247,306],{131:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityQueryType",(function(){return r}));const r={DATA:"DATA",SEARCH:"SEARCH",ANALOGICAL:"ANALOGICAL"}},260:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexError",(function(){return r}));class r extends Error{}},261:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexInfo",(function(){return y}));var r=t(83),n=t(131),s=t(72);const a=new RegExp("^[a-zA-Z0-9-_]+$");class y{constructor(){this.similarityIndex=new r.SimilarityIndex,this.isNameExist=!1,this.invalidSelectQueryType=!1,this.invalidSelectQuery=!1,this.invalidSearchQueryType=!1,this.invalidSearchQuery=!1,this.invalidAnalogicalQueryType=!1,this.invalidAnalogicalQuery=!1,this.selectedQueryType=n.SimilarityQueryType.DATA,this.selectedYasguiRenderMode=s.RenderingMode.YASQE}setQuery(e,i){const t=i||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.similarityIndex.analogicalQuery=e):this.similarityIndex.searchQuery=e:this.similarityIndex.selectQuery=e}getQuery(e){switch(e||this.selectedQueryType){case n.SimilarityQueryType.DATA:return this.similarityIndex.selectQuery;case n.SimilarityQueryType.SEARCH:return this.similarityIndex.searchQuery;case n.SimilarityQueryType.ANALOGICAL:return this.similarityIndex.analogicalQuery}}markInvalidQuery(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQuery=i):this.invalidSearchQuery=i:this.invalidSelectQuery=i}markInvalidQueryType(e,i=!0){const t=e||this.selectedQueryType;n.SimilarityQueryType.DATA!==t?n.SimilarityQueryType.SEARCH!==t?n.SimilarityQueryType.ANALOGICAL===t&&(this.invalidAnalogicalQueryType=i):this.invalidSearchQueryType=i:this.invalidSelectQueryType=i}setSelectedQueryType(e){this.selectedQueryType=e}getSelectedQueryType(){return this.selectedQueryType}setSelectedYasguiRenderMode(e){this.selectedYasguiRenderMode=e}getSelectedYasguiRenderMode(){return this.selectedYasguiRenderMode}isDataQueryTypeSelected(){return n.SimilarityQueryType.DATA===this.selectedQueryType}isSearchQueryTypeSelected(){return n.SimilarityQueryType.SEARCH===this.selectedQueryType}isAnalogicalQueryTypeSelected(){return n.SimilarityQueryType.ANALOGICAL===this.selectedQueryType}isTextType(){return this.similarityIndex.isTextType()}isPredicationType(){return this.similarityIndex.isPredicationType()}isTextLiteralType(){return this.similarityIndex.isTextLiteralType()}hasName(){return!!this.similarityIndex.name}isNameValid(){return a.test(this.similarityIndex.name)}hasSelectQuery(){return!!this.similarityIndex.selectQuery}hasSearchQuery(){return!!this.similarityIndex.searchQuery}hasAnalogicalQuery(){return!!this.similarityIndex.analogicalQuery}isYasqeRenderMode(){return s.RenderingMode.YASQE===this.getSelectedYasguiRenderMode()}isYasrRenderMode(){return s.RenderingMode.YASR===this.getSelectedYasguiRenderMode()}getName(){return this.similarityIndex.name}setName(e){this.similarityIndex.name=e}setInputIndex(e){this.similarityIndex.inputIndex=e}getInputIndex(){return this.similarityIndex.inputIndex}setLiteralIndex(e=!1){this.similarityIndex.isLiteralIndex=e}getSimilarityIndex(){return this.similarityIndex}setStopList(e){this.similarityIndex.stopList=e}getStopList(){return this.similarityIndex.stopList}setAnalyzer(e="org.apache.lucene.analysis.en.EnglishAnalyzer"){this.similarityIndex.analyzer=e}getAnalyzer(){return this.similarityIndex.analyzer}setType(e){this.similarityIndex.type=e}getType(){return this.similarityIndex.type}setOptions(e){this.similarityIndex.options=e}getOptions(){return this.similarityIndex.options}getInference(){return this.similarityIndex.infer}getSameAs(){return this.similarityIndex.sameAs}}},262:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityViewMode",(function(){return r}));const r={CREATE:"CREATE",EDIT:"EDIT",CLONE:"CLONE"}},282:function(e,i,t){"use strict";t.r(i);t(81),t(11),t(17);var r=t(91),n=t(15),s=t(72),a=t(79),y=t(262),o=t(131),l=t(76),d=t(260),u=t(111),c=t(261);function I(e,i,t,I,m,S,p,h,T,x,g,Q,E,A,f,v){e.productInfo=h,e.SimilarityQueryType=o.SimilarityQueryType,e.SimilarityIndexType=l.SimilarityIndexType,e.similarityIndexInfo=void 0,e.samples=void 0,e.yasguiConfig=void 0,e.saveOrUpdateExecuted=!1,e.loadingControllerResources=!1,e.helpHidden=1===g.get(Q.HIDE_SIMILARITY_HELP);let R=!1,L=void 0,w=void 0,C=void 0,M=y.SimilarityViewMode.CREATE;e.changeSimilarityIndexType=(i,t=o.SimilarityQueryType.DATA)=>{e.similarityIndexInfo.setType(i),e.similarityIndexInfo.isPredicationType()?e.samples=w[l.SimilarityIndexType.PREDICATION]:e.samples=w[l.SimilarityIndexType.TEXT],e.changeQueryTab(t).then(i=>{P(e.similarityIndexInfo),e.setEditorQuery(e.similarityIndexInfo.getQuery())})},e.changeQueryTab=i=>{const t=e.similarityIndexInfo.getSelectedQueryType();return t===i?Promise.resolve():(e.similarityIndexInfo.setSelectedQueryType(i),D(e.similarityIndexInfo,t).then(e=>Z(e,t)).then(e=>K(e,t)).catch(e=>{e instanceof d.SimilarityIndexError||console.log(e)}).finally(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode()),e.similarityIndexInfo.isDataQueryTypeSelected()?i.showYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]):i.hideYasqeActionButton([n.YasqeButtonName.INFER_STATEMENTS,n.YasqeButtonName.EXPANDS_RESULTS]),i.setQuery(e.similarityIndexInfo.getQuery())}))},e.createSimilarityIndex=()=>{e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(Z).then(K).then(z).then(k).then(e=>_(e.getSimilarityIndex())).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.could.not.get.indexes.error"))})},e.viewQuery=()=>{D(e.similarityIndexInfo).then(z).then(N).then(O).catch(e=>i.error(getError(e)))},e.preview=()=>{D(e.similarityIndexInfo).then(K).then(Z).then(()=>{const i=H();e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASR),i.query(e.similarityIndexInfo.getSelectedYasguiRenderMode())})},e.saveSearchQuery=function(){e.saveOrUpdateExecuted=!0,R||V(),e.saveOrUpdateExecuted=!0,D(e.similarityIndexInfo).then(F).then(Z).then(K).then(X).then(J).then(b).then(U).catch(e=>{e instanceof d.SimilarityIndexError||i.error(getError(e),E.instant("similarity.change.query.error"))})},e.setEditorQuery=i=>{e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1),e.yasguiConfig?H().setQuery(i):q({initialQuery:i||" "})},e.similarityIndexNameChanged=()=>{e.setDirty(),e.similarityIndexInfo.isNameExist=!1},e.queryChanged=()=>{e.setDirty(),e.similarityIndexInfo.markInvalidQuery(void 0,!1),e.similarityIndexInfo.markInvalidQueryType(void 0,!1)},e.isCloneViewMode=()=>y.SimilarityViewMode.CLONE===M,e.isEditViewMode=()=>y.SimilarityViewMode.EDIT===M,e.isCreateViewMode=()=>y.SimilarityViewMode.CREATE===M,e.setDirty=()=>{R=!0},e.isYasqeShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasqeRenderMode(),e.isYasrShown=()=>e.similarityIndexInfo&&e.similarityIndexInfo.isYasrRenderMode(),e.showEditor=()=>{const i=H();i.abortQuery().then(()=>i.setQuery(e.similarityIndexInfo.getQuery())).then(()=>(e.similarityIndexInfo.setSelectedYasguiRenderMode(s.RenderingMode.YASQE),i.changeRenderMode(e.similarityIndexInfo.getSelectedYasguiRenderMode())))},e.toggleHelp=i=>{void 0===i&&(i=g.get(Q.HIDE_SIMILARITY_HELP)),1!==i?(g.set(Q.HIDE_SIMILARITY_HELP,1),e.helpHidden=!0):(g.set(Q.HIDE_SIMILARITY_HELP,0),e.helpHidden=!1)},e.getCloseBtnMsg=function(){let i=e.editSearchQuery?E.instant("similarity.query.edition.msg"):E.instant("similarity.index.creation.msg");return E.instant("similarity.close.btn.msg",{operation:i})},e.hasQueryError=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();return o.SimilarityQueryType.DATA===i?e.hasSelectQueryError():o.SimilarityQueryType.SEARCH===i?e.hasSearchQueryError():o.SimilarityQueryType.ANALOGICAL===i&&e.hasAnalogicalQueryError()},e.hasSelectQueryError=()=>!e.similarityIndexInfo.hasSelectQuery()||e.similarityIndexInfo.invalidSelectQuery||e.similarityIndexInfo.invalidSelectQueryType,e.hasSearchQueryError=()=>!e.similarityIndexInfo.hasSearchQuery()||e.similarityIndexInfo.invalidSearchQuery||e.similarityIndexInfo.invalidSearchQueryType,e.hasAnalogicalQueryError=()=>!e.similarityIndexInfo.hasAnalogicalQuery()||e.similarityIndexInfo.invalidAnalogicalQuery||e.similarityIndexInfo.invalidAnalogicalQueryType,e.getQueryErrorMessage=()=>{const i=e.similarityIndexInfo.getSelectedQueryType();let t=!1,r=!1,n=!1;o.SimilarityQueryType.DATA===i?(t=!e.similarityIndexInfo.hasSelectQuery(),r=e.similarityIndexInfo.invalidSelectQueryType,n=e.similarityIndexInfo.invalidSelectQuery):o.SimilarityQueryType.SEARCH===i?(t=!e.similarityIndexInfo.hasSearchQuery(),r=e.similarityIndexInfo.invalidSearchQueryType,n=e.similarityIndexInfo.invalidSearchQuery):o.SimilarityQueryType.ANALOGICAL===i&&(t=!e.similarityIndexInfo.hasAnalogicalQuery(),r=e.similarityIndexInfo.invalidAnalogicalQueryType,n=e.similarityIndexInfo.invalidAnalogicalQuery);const s={queryType:E.instant(`similarity.query.type.${i}.name`)};return t?E.instant("similarity.error.query.empty",s):n?E.instant("similarity.error.query.invalid",s):r?E.instant("similarity.error.query.invalid_type",s):""};const D=(e,i)=>H().getQuery().then(t=>e.setQuery(t,i)).then(()=>e),N=e=>m.getQuery({indexName:e.getName(),indexOptions:e.getOptions(),query:e.getQuery(),indexStopList:e.getStopList(),queryInference:e.getInference(),querySameAs:e.getSameAs(),viewType:e.getSelectedQueryType(),indexAnalyzer:e.getAnalyzer()}).then(e=>e.data),O=e=>{e&&t.open({templateUrl:"pages/viewQuery.html",controller:"ViewQueryCtrl",resolve:{query:function(){return e}}})},P=i=>{const t=i.getType();if(!e.isEditViewMode()&&L&&(i.setQuery(L[t],o.SimilarityQueryType.SEARCH),i.setQuery(L.analogical,o.SimilarityQueryType.ANALOGICAL)),w)if(l.SimilarityIndexType.PREDICATION===t){const e=w[l.SimilarityIndexType.PREDICATION].predication;i.setQuery(e,o.SimilarityQueryType.DATA)}else{const e=w[l.SimilarityIndexType.TEXT].literals;i.setQuery(e,o.SimilarityQueryType.DATA)}},Y=()=>{const t=new c.SimilarityIndexInfo;t.setName(G()),t.setType(j()),t.setSelectedQueryType(e.isEditViewMode()?o.SimilarityQueryType.SEARCH:o.SimilarityQueryType.DATA);const n=p.search().options;n?t.setOptions(n):t.setOptions(t.isTextType()?"-termweight idf":""),P(t);const s=p.search().searchQuery;s&&t.setQuery(s,o.SimilarityQueryType.SEARCH);const a=p.search().selectQuery;a&&t.setQuery(a,o.SimilarityQueryType.DATA);const y=p.search().analogicalQuery;if(y&&t.setQuery(y,o.SimilarityQueryType.ANALOGICAL),t.isTextType()){t.setStopList(p.search().stopList),t.setAnalyzer(p.search().analyzer);const e=$(t.getSimilarityIndex(),"-literal_index");void 0!==e&&t.setLiteralIndex(e)}return t.isPredicationType()?m.getIndexes().then(i=>{const n=Object(r.mapIndexesResponseToSimilarityIndex)(i.data).filter(e=>e.isTextLiteralType()&&(e.isBuiltStatus()||e.isOutdatedStatus())).map(e=>e.name);if(e.literalIndexes=["no-index"].concat(n),void 0===t.getInputIndex()){const i=$(t.getSimilarityIndex(),"-input_index");if(void 0!==i)for(let r=0;r<e.literalIndexes.length;r++)i===e.literalIndexes[r]&&t.setInputIndex(e.literalIndexes[r])}return void 0===t.getInputIndex()&&t.setInputIndex(e.literalIndexes[0]),t}).catch((function(e){const t=getError(e);i.error(t,E.instant("similarity.could.not.get.indexes.error"))})):Promise.resolve(t)},q=i=>{const t={endpoint:B,componentId:"create-index",showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,showQueryButton:!1,downloadAsOn:!1,showResultInfo:!1,showYasqeResizer:!1,pageSize:100,prefixes:C,render:e.similarityIndexInfo.getSelectedYasguiRenderMode(),yasqeActionButtons:e.isEditViewMode()||!e.similarityIndexInfo.isDataQueryTypeSelected()?n.DISABLE_YASQE_BUTTONS_CONFIGURATION:n.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,maxPersistentResponseSize:0,yasqeMode:e.canWriteActiveRepo()?a.YasqeMode.WRITE:a.YasqeMode.PROTECTED},r={};angular.extend(r,t,i),e.yasguiConfig=r},B=()=>"repositories/"+A.getActiveRepository(),_=t=>{if(void 0!==e.literalIndexes){const i=t.inputIndex;i!==e.literalIndexes[0]&&(t.options=t.options+(""===t.options?"":" ")+"-input_index "+i)}return"true"===t.isLiteralIndex&&(t.options=t.options+(""===t.options?"":" ")+"-literal_index true",t.type=l.SimilarityIndexType.TEXT_LITERAL),V(),R=!1,m.createIndex("POST",t.name,t.options,t.selectQuery,t.searchQuery,t.isPredicationType()?t.analogicalQuery:"",t.stopList,t.infer,t.sameAs,t.type,t.analyzer).then(()=>(i.success(E.instant("similarity.create.index.successfully")),t)).catch((function(e){const t=getError(e);return i.error(t,E.instant("similarity.create.index.error")),console.log(t),Promise.reject(new d.SimilarityIndexError("Could not create index."))}))},U=async e=>{await T.showToastMessageWithDelay(e?"similarity.changed.search.query.msg":"similarity.changed.analogical.query.msg"),p.url("similarity")},b=e=>{const i=e.isSearchQueryTypeSelected();let t={name:e.getSimilarityIndex().name,changedQuery:e.getQuery(),isSearchQuery:i};return m.saveSearchQuery(JSON.stringify(t)).then(()=>(R=!1,i))},V=()=>{setTimeout(()=>p.url("similarity"),100)},H=()=>n.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),G=()=>{const i=p.search().name||"";return e.isCloneViewMode()?`${E.instant("similarity.copy_of.prefix")}_${i}`:i},j=()=>{const e=p.search().type;return void 0===e||e.startsWith("text")?l.SimilarityIndexType.TEXT:e},$=(e,i)=>{const t=e.options.split(" ");for(let r=0;r<t.length;r++)if(t[r]===i&&r+1<t.length){const i=t[r+1];return delete t[r],delete t[r+1],e.options=t.join(" "),i}},z=e=>Promise.all([F(e).then(W).then(X).then(J).then(K).then(Z)]).then(()=>e),k=e=>m.getIndexes().then(i=>i.data.some(i=>i.name===e.getName())?(e.isNameExist=!0,Promise.reject(new d.SimilarityIndexError("Similarity index name exists."))):e),F=e=>e.getSimilarityIndex().name?e.isNameValid()?Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Invalid similarity name.")):Promise.reject(new d.SimilarityIndexError("Missing similarity name.")),W=e=>e.hasSelectQuery()?e.invalidSelectQuery?Promise.reject(new d.SimilarityIndexError("Invalid select query")):e.invalidSelectQueryType?Promise.reject(new d.SimilarityIndexError("Invalid select query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing select query.")),X=e=>e.hasSearchQuery()?e.invalidSearchQuery?Promise.reject(new d.SimilarityIndexError("Invalid search query")):e.invalidSearchQueryType?Promise.reject(new d.SimilarityIndexError("Invalid search query type")):Promise.resolve(e):Promise.reject(new d.SimilarityIndexError("Missing search query.")),J=e=>e.isPredicationType()&&!e.hasAnalogicalQuery()?Promise.reject(new d.SimilarityIndexError("Missing analogical query.")):e.invalidAnalogicalQuery?Promise.reject(new d.SimilarityIndexError("Invalid analogical query")):e.invalidAnalogicalQueryType?Promise.reject(new d.SimilarityIndexError("Invalid analogical query type")):Promise.resolve(e),K=(e,i)=>H().getQueryType().then(t=>u.QueryType.SELECT!==t?(e.markInvalidQueryType(i),Promise.reject(new d.SimilarityIndexError("Query type is not valid."))):(e.markInvalidQueryType(i,!1),e)),Z=(e,i)=>H().isQueryValid().then(t=>t?(e.markInvalidQuery(i,!1),e):(e.markInvalidQuery(i),Promise.reject(new d.SimilarityIndexError("Query is not valid.")))),ee=(e,i,t,r)=>{v.openSimpleModal({title:e,message:i,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(r)&&r()}))},ie=()=>{e.isYasrShown()&&e.similarityIndexInfo.isDataQueryTypeSelected()&&e.showEditor(),e.canEditActiveRepo=e.canWriteActiveRepo();const i={...e.yasguiConfig,yasqeMode:e.canWriteActiveRepo()};q(i)},te=e=>{R&&(e.returnValue=!0)},re=()=>{window.removeEventListener("beforeunload",te),ne.forEach(e=>e())},ne=[];ne.push(f.subscribe("repositoryWillChangeEvent",i=>new Promise((function(t){if(e.isCreateViewMode()||e.isCloneViewMode())return void t(i);const r=()=>{R=!1,V(),t(i)};if(R){const e=()=>{i.cancel=!0,t(i)},n=E.instant("common.confirm"),s=E.instant("similarity.warning.unsaved.changes");ee(n,s,r,e)}else r()})))),ne.push(e.$on("$locationChangeStart",(e,i)=>{if(R){e.preventDefault();const t=E.instant("common.confirm"),r=E.instant("similarity.warning.unsaved.changes");ee(t,r,()=>{re();const e=p.absUrl().length-p.url().length,t=i.substring(e);p.path(t)})}else re()})),ne.push(e.$on("$destroy",re)),window.addEventListener("beforeunload",te),M=(()=>{if(void 0===p.search().name)return y.SimilarityViewMode.CREATE;const e=p.search().editSearchQuery;return void 0===e?y.SimilarityViewMode.CLONE:"string"==typeof e?"false"===e?y.SimilarityViewMode.CLONE:y.SimilarityViewMode.EDIT:e?y.SimilarityViewMode.EDIT:y.SimilarityViewMode.CLONE})();const se=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(i){i&&(e.loadingControllerResources=!0,Promise.all([m.getSearchQueries(),m.getSamples(),A.getPrefixes(i.id)]).then(([i,t,r])=>{e.canEditActiveRepo=e.canWriteActiveRepo(),L=i?i.data:[],w=t?t.data:[],C=r,Y().then(i=>{e.similarityIndexInfo=i;let t=o.SimilarityQueryType.DATA;e.isEditViewMode()&&(t=o.SimilarityQueryType.SEARCH),e.changeSimilarityIndexType(i.getType(),t)})}).catch(i=>{console.log(i),e.repositoryError=getError(i)}).finally(()=>{ne.push(e.$on("repositoryIsSet",ie)),se(),e.loadingControllerResources=!1}))}))}angular.module("graphdb.framework.similarity.controllers.create",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("CreateSimilarityIdxCtrl",I),I.$inject=["$scope","toastr","$uibModal","$timeout","SimilarityRestService","SparqlRestService","$location","productInfo","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","$repositories","EventEmitterService","ModalService"]},72:function(e,i,t){"use strict";t.r(i),t.d(i,"RenderingMode",(function(){return r}));const r={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},76:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexType",(function(){return r}));const r={TEXT:"text",TEXT_LITERAL:"textLiteral",PREDICATION:"predication",isTextType:e=>r.TEXT===e,isTextLiteralType:e=>r.TEXT_LITERAL===e,isPredicationType:e=>r.PREDICATION===e}},77:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndexStatus",(function(){return r}));const r={CREATING:"CREATING",BUILDING:"BUILDING",BUILT:"BUILT",REBUILDING:"REBUILDING",OUTDATED:"OUTDATED",INTERRUPTED:"INTERRUPTED",OBSOLETE:"OBSOLETE",FAILED:"FAILED",isCreatingStatus:e=>r.CREATING===e,isBuildingStatus:e=>r.BUILDING===e,isBuiltStatus:e=>r.BUILT===e,isRebuildingStatus:e=>r.REBUILDING===e,isOutdatedStatus:e=>r.OUTDATED===e,isInterruptedStatus:e=>r.INTERRUPTED===e,isObsoleteStatus:e=>r.OBSOLETE===e,isFailedStatus:e=>r.FAILED===e}},79:function(e,i,t){"use strict";t.r(i),t.d(i,"YasqeMode",(function(){return r}));const r={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},81:function(e,i){function t(e,i){return{showToastMessageWithDelay:function(t){return new Promise(r=>{e.success(i.instant(t)),setTimeout(r,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},83:function(e,i,t){"use strict";t.r(i),t.d(i,"SimilarityIndex",(function(){return s}));var r=t(76),n=t(77);class s{constructor(){this.analyzer="",this.infer=!0,this.options="",this.sameAs=!0,this.searchQuery="",this.selectQuery="",this.stopList=void 0,this.name="",this.type=r.SimilarityIndexType.TEXT,this.status=void 0,this.analogicalQuery=void 0,this.inputIndex=void 0,this.isLiteralIndex=""}isTextType(){return r.SimilarityIndexType.isTextType(this.type)}isTextLiteralType(){return r.SimilarityIndexType.isTextLiteralType(this.type)}isPredicationType(){return r.SimilarityIndexType.isPredicationType(this.type)}isCreatingStatus(){return n.SimilarityIndexStatus.isCreatingStatus(this.status)}isBuildingStatus(){return n.SimilarityIndexStatus.isBuildingStatus(this.status)}isBuiltStatus(){return n.SimilarityIndexStatus.isBuiltStatus(this.status)}isRebuildingStatus(){return n.SimilarityIndexStatus.isRebuildingStatus(this.status)}isOutdatedStatus(){return n.SimilarityIndexStatus.isOutdatedStatus(this.status)}isInterruptedStatus(){return n.SimilarityIndexStatus.isInterruptedStatus(this.status)}isObsoleteStatus(){return n.SimilarityIndexStatus.isObsoleteStatus(this.status)}isFailedStatus(){return n.SimilarityIndexStatus.isFailedStatus(this.status)}}},91:function(e,i,t){"use strict";t.r(i),t.d(i,"mapIndexesResponseToSimilarityIndex",(function(){return n}));var r=t(83);const n=e=>e.map(e=>{const i=new r.SimilarityIndex;return i.type=e.type,i.stopList=e.stopList,i.status=e.status,i.selectQuery=e.selectQuery,i.searchQuery=e.searchQuery,i.sameAs=e.sameAs,i.options=e.options,i.name=e.name,i.infer=e.infer,i.analyzer=e.analyzer,i.analogicalQuery=e.analogicalQuery,i})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{88:function(r,n,e){"use strict";e.r(n);var t=e(528),o=e(526),s=e.n(o);const c={iconStyle:"",iconClass:"icon-copy",buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:"btn btn-link btn-sm secondary"};function a(r){const n=Object(t.a)().use(s.a,c);return{renderMarkdown:e=>{try{return r.trustAsHtml((o?Object(t.a)().use(s.a,o):n).render(e))}catch(n){return console.error("Error rendering markdown:",n),r.trustAsHtml(e)}var o}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",a),a.$inject=["$sce"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{194:function(n,e){function a(n){const e=["en","fr"];let a;return{getTranslations:()=>(a||(a={},e.forEach(e=>a[e]=n.getTranslationTable(e))),a)}}angular.module("graphdb.framework.core.services.translation-service",[]).service("TranslationService",a),a.$inject=["$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{208:function(r,i,e){"use strict";e.r(i);e(35);angular.module("graphdb.framework.explore.directives",["graphdb.framework.utils.uriutils"]).directive("uri",["UriUtils",function(r){return{require:"ngModel",link:function(i,e,t,n){n.$parsers.unshift((function(i){if(!angular.isUndefined(i)&&i.length>0){const e=r.validateRdfUri(i);return n.$setValidity("searchStr",e),e?i:void 0}return n.$setValidity("searchStr",!0),i})),n.$formatters.unshift((function(i){return angular.isUndefined(i)||n.$setValidity("searchStr",r.validateRdfUri),i}))}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{295:function(e,r){PluginRegistry.add("route",[{url:"/resource",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"},{url:"/resource/edit",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"EditResourceCtrl",templateUrl:"pages/edit.html",title:"view.resource.title"},{url:"/resource/:any*",module:"graphdb.framework.explore",chunk:"explore",path:"explore/app",controller:"ExploreCtrl",templateUrl:"pages/explore.html",title:"view.resource.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{206:function(e,t){function a(){return{transformToTrig:function(e){let t="";const a={};for(let t=0;t<e.length;t++){const l=e[t];if(void 0===l.context?l.context="":l.context=_.trim(l.context),angular.isUndefined(a[l.context])){const e=[];e.push(l),a[l.context]=e}else a[l.context].push(l)}const l=Object.keys(a);for(let e=0;e<l.length;e++){const n=l[e];t+=""===n?"\n{":"\n<"+n+"> {";const w=a[n];for(let e=0;e<w.length;e++){const a=w[e];t+="\n\t<"+a.subject+"> <"+a.predicate+"> ";let l=a.object.value;"uri"===a.object.type?t+="<"+l+"> .":l.toString().includes('"')?("'"===l[0]&&(l='"'+l.slice(1,l.length)),l[l.length-1]&&(l=l.slice(0,-1)+'"'),t+="'''"+l+"'''"+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."):t+='"""'+l+'"""'+(a.object.datatype?"^^<"+a.object.datatype+">":a.object.lang?"@"+a.object.lang:"")+" ."}t+="\n}"}return t},buildStatements:function(e,t){const a=[];if(!_.isEmpty(e.data)){const l=e.data[t],n=Object.keys(l);for(let e=0;e<n.length;e++){const w=n[e],o=l[w];for(let e=0;e<o.length;e++){const l=o[e];for(let e=0;e<l.graphs.length;e++){let n=l.graphs[e];"http://www.ontotext.com/explicit"===n&&(n=""),l.lang&&(l.datatype=""),l.datatype||(l.datatype=""),a.push({subject:t,predicate:w,object:{value:l.value,type:l.type,datatype:l.datatype,lang:l.lang},context:n})}}}}return a},getDatatypeOptions:function(){return[{value:"",label:"string"},{value:"http://www.w3.org/2001/XMLSchema#boolean",label:"boolean"},{value:"http://www.w3.org/2001/XMLSchema#decimal",label:"decimal"},{value:"http://www.w3.org/2001/XMLSchema#integer",label:"integer"},{value:"http://www.w3.org/2001/XMLSchema#double",label:"double"},{value:"http://www.w3.org/2001/XMLSchema#float",label:"float"},{value:"http://www.w3.org/2001/XMLSchema#date",label:"date"},{value:"http://www.w3.org/2001/XMLSchema#time",label:"time"},{value:"http://www.w3.org/2001/XMLSchema#dateTime",label:"date time"},{value:"http://www.w3.org/2001/XMLSchema#byte",label:"byte"},{value:"http://www.w3.org/2001/XMLSchema#short",label:"short"},{value:"http://www.w3.org/2001/XMLSchema#int",label:"int"},{value:"http://www.w3.org/2001/XMLSchema#long",label:"long"},{value:"http://www.w3.org/2001/XMLSchema#unsignedByte",label:"unsigned byte"},{value:"http://www.w3.org/2001/XMLSchema#unsignedShort",label:"unsigned short"},{value:"http://www.w3.org/2001/XMLSchema#unsignedInt",label:"unsigned int"},{value:"http://www.w3.org/2001/XMLSchema#unsignedLong",label:"unsigned long"},{value:"http://www.w3.org/2001/XMLSchema#positoveInteger",label:"positive integer"},{value:"http://www.w3.org/2001/XMLSchema#nonNegativeInteger",label:"non-negative integer"},{value:"http://www.w3.org/2001/XMLSchema#negativeInteger",label:"negative integer"},{value:"http://www.w3.org/2001/XMLSchema#nonPositiveInteger",label:"non-positive integer"},{value:"http://www.w3.org/2001/XMLSchema#gYear",label:"gYear"},{value:"http://www.w3.org/2001/XMLSchema#gMonth",label:"gMonth"},{value:"http://www.w3.org/2001/XMLSchema#gDay",label:"gDay"},{value:"http://www.w3.org/2001/XMLSchema#gYearMonth",label:"gYearMonth"},{value:"http://www.w3.org/2001/XMLSchema#gMonthDay",label:"gMonthDay"},{value:"http://www.w3.org/2001/XMLSchema#duration",label:"duration"},{value:"http://www.w3.org/2001/XMLSchema#hexBinary",label:"hex binary"},{value:"http://www.w3.org/2001/XMLSchema#base64Binary",label:"base64 binary"}]}}}angular.module("graphdb.framework.explore.services",[]).factory("StatementsService",a),a.$inject=[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{297:function(e,r){PluginRegistry.add("route",{url:"/graphs",module:"graphdb.framework.impex.export",path:"export/app",chunk:"export",controller:"ExportCtrl",templateUrl:"pages/export.html",title:"menu.graphs.overview.label",helpInfo:"view.export.ctr.helpInfo "}),PluginRegistry.add("main.menu",{items:[{label:"Explore",labelKey:"menu.explore.label",href:"#",order:1,role:"IS_AUTHENTICATED_FULLY",icon:"icon-data",guideSelector:"menu-explore"},{label:"Graphs overview",labelKey:"menu.graphs.overview.label",href:"graphs",order:0,role:"IS_AUTHENTICATED_FULLY",parent:"Explore",guideSelector:"sub-menu-graph-overview"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{210:function(r,e,t){"use strict";t.r(e);t(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{299:function(e,n){PluginRegistry.add("route",{url:"/connectors",module:"graphdb.framework.externalsync",path:"externalsync/app",chunk:"externalsync",controller:"ConnectorsCtrl",templateUrl:"pages/connectorsInfo.html",title:"view.connector.management.title",helpInfo:"view.connector.management.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Setup",labelKey:"menu.setup.label",href:"#",order:5,role:"IS_AUTHENTICATED_FULLY",icon:"icon-settings",guideSelector:"menu-setup"},{label:"Connectors",labelKey:"menu.connectors.label",href:"connectors",order:10,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-connectors"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{217:function(e,t,s){(function(e){const t="WAIT",s="NO_REPO",r="READY",n="IN_PROGRESS",o="ERROR",i={contextID:{type:"all",value:"all.graphs.label",uri:""}};function a(e){if(e<1e3)return e;const t=Math.floor(Math.log(e)/Math.log(1e3));let s=e/Math.pow(1e3,t);return s=s%1>1/Math.pow(1e3,t-1)?s.toFixed(2):s.toFixed(0),s+["K","M","G","T","P","H"][t-1]}function l(e,a,l,c,u,d,p,f,g,h,m){let R=null;e.status=l.getActiveRepository()?t:s;let C=i;const y=function(){h.resolveGraphs(l.getActiveRepository()).success((function(t){e.graphsInRepo=t.results.bindings.length>1002?t.results.bindings.slice(0,1002):t.results.bindings,v(),e.isSystemRepository()?"READY"!==e.status&&x():(e.status="WAIT",x(!0))})).error((function(t){e.repositoryError=getError(t),c.error(getError(t),m.instant("graphexplore.error.getting.graph"))}))},v=function(){const t=g.get("dependencies-selectedGraph-"+l.getActiveRepository());null!==t&&e.graphsInRepo.some(e=>e.contextID.uri===t.contextID.uri)?C=t:g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},w=function(s){d3.select("#dependencies-chord").html(""),e.status=t,d.getRelationshipsData(s,e.direction,C.contextID.uri).success((function(t){e.dependenciesData={matrix:t.right,nodes:t.left,hasLinks:_.sum(_.map(t.right,(function(e){return _.sum(e)})))>0,direction:e.direction},e.status=r})).error((function(t){e.status=r,c.error(getError(t),m.instant("graphexplore.error.dependencies.count"))}))},x=function(s){(e.status!==r||s)&&(e.status=t,d.getRelationshipsStatus(C.contextID.uri).success((function(t){if(e.status=t,e.status===n){if(null!==R)return;R=u(x,2e3)}e.status===r&&(null!==R&&(u.cancel(R),R=null),d.getRelationshipsClasses(e.direction,C.contextID.uri).success((function(t,s){e.allClasses.items=_.filter(t,b),e.allNotFilteredClasses=t,e.selectedClasses=void 0,angular.isUndefined(e.selectedClasses)&&(e.selectedClasses=t.slice(0,10)),w(e.selectedClasses),207===s&&c.warning(m.instant("graphexplore.update.diagram"),m.instant("graphexplore.repository.data.changed"))}))),0===e.status.indexOf("ERROR;")&&(e.status=o,c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})))})).error((function(t){e.status=o,c.error(getError(t),m.instant("graphexplore.error.dependencies.count.status"))})))};e.allClasses={},e.allClasses.items=[],e.allNotFilteredClasses=[],e.direction="all";const S={};let E=0,D=0;function b(t){return-1!==t.name.toLowerCase().indexOf(e.classQuery.query.toLowerCase())}a.key="",S.get=function(t,s,r){p.initLazyList(t,s,r,E,e.allClasses.items)},a.$watch((function(){return a.key}),(function(){E=0,_.each(e.allClasses.items,(function(e){a.key>e&&E++})),D++})),S.revision=function(){return D},e.datasource=S,e.adapterContainer={adapter:{remain:!0}},e.classQuery={},e.classQuery.query="",e.classFilterFunc=b,e.$watch("allClasses.items",(function(){e.allClasses.items.length>0&&u((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("direction",(function(){!l.getActiveRepository()||e.isSystemRepository()||l.isActiveRepoFedXType()||y()})),e.$on("$destroy",(function(){u.cancel(R)})),e.isLoading=function(){return e.status===n||e.status===t},e.confirmCalculateDependencies=function(){f.openSimpleModal({title:m.instant("confirm.operation"),message:m.instant("graphexplore.calculating.relationships"),warning:!0}).result.then((function(){e.calculateDependencies()}))},e.calculateDependencies=function(){e.status=t,e.selectedClasses=void 0,d.calculateRelationships(C.contextID.uri).success((function(t){0===t.indexOf("ERROR;")?c.error(m.instant("graphexplore.error.dependencies.calc",{error:e.status.substring("ERROR;".length)})):x()})).error((function(e){c.error(m.instant("graphexplore.error.could.not.force.count",{error:getError(e)}))}))},e.addClass=function(t){e.selectedClasses.push(t),w(e.selectedClasses)},e.removeClass=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t.name})),w(e.selectedClasses)},e.showClass=function(t){e.classToShow=t},e.isClassByNameShown=function(t){return void 0!==_.find(e.selectedClasses,{name:t})},e.addClassByName=function(t){e.selectedClasses.push(_.find(e.allClasses.items,{name:t})),w(e.selectedClasses)},e.removeClassByName=function(t){_.remove(e.selectedClasses,(function(e){return e.name===t})),w(e.selectedClasses)},e.removeAllClasses=function(){e.selectedClasses=[],w(e.selectedClasses)},e.isSystemRepository=function(){return"SYSTEM"===l.getActiveRepository()};const A=e.$on("repositoryIsSet",(function(){e.classQuery={},e.classQuery.query="",e.repositoryError=null,C=i,l.getActiveRepository()&&!l.isActiveRepoFedXType()?y():e.status=s}));window.addEventListener("beforeunload",(function e(){A(),window.removeEventListener("beforeunload",e)})),e.selectGraph=function(e){C=e,x(!0),g.set("dependencies-selectedGraph-"+l.getActiveRepository(),C)},e.getSelectedGraphValue=function(){return C.contextID.value},e.isAllGraphsSelected=function(){return"all.graphs.label"===e.getSelectedGraphValue()}}Object.defineProperty(e,"allGraphs",{get:()=>i}),angular.module("graphdb.framework.graphexplore.controllers.dependencies",["ui.scroll.jqlite","ui.scroll","toastr","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter"]).controller("DependenciesChordCtrl",l).config(["$uibTooltipProvider",function(e){e.options({appendToBody:!0})}]).filter("humanize",(function(){return a})),l.$inject=["$scope","$rootScope","$repositories","toastr","$timeout","GraphDataRestService","UiScrollService","ModalService","LocalStorageAdapter","RDF4JRepositoriesRestService","$translate"]}).call(this,s(12))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[149],{216:function(e,o,t){"use strict";t.r(o);t(11);function r(e,o,t,r,a,i,c,s,n,d,l,p,u){e.predicatesObj={},e.predicatesQueryObj={},e.predicatesObj.items=[],e.predicatesQueryObj.query="",e.predicatesListNotFiltered=[],e.predicatesSearchPlaceholder="Search predicates",e.onopen=e.onclose=()=>angular.noop();const g={};let m=0,b=0;t.key="",g.get=function(o,t,r){return d.initLazyList(o,t,r,m,e.predicatesObj.items)},t.$watch((function(){return t.key}),(function(){m=0,_.each(e.predicatesObj.items,(function(e){t.key>e&&m++})),b++})),g.revision=function(){return b},e.adapterContainer={adapter:{remain:!0}};const h=c.get(s.DOMAIN_RANGE_COLLAPSE_EDGES);function f(){const e=c.get(s.CLASS_HIERARCHY_LAST_SELECTED_CLASS);o.search("").hash(e).path("hierarchy")}e.collapseEdges=null===h||"true"===h,e.datasource=g,e.$on("reloadDomainRangeGraphView",(function(e,t){const r=t.objectPropClassUri,a=t.objectPropClassName;o.path("domain-range-graph").search("uri",r).search("name",a)})),e.$on("switchEdgeMode",(function(e,t){o.path("domain-range-graph").search("uri",t.uri).search("name",t.name).search("collapsed",t.collapsed)})),e.$on("repositoryIsSet",(function(){if(C===a.getActiveRepository())return;C=a.getActiveRepository();f()})),e.$on("changeCollapsedEdgesState",(function(o,t){e.collapseEdges=!t,c.set(s.DOMAIN_RANGE_COLLAPSE_EDGES,e.collapseEdges)})),e.goToClassHierarchyView=f,e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.toggleCollapseEdgesState=function(){e.collapseEdges=!e.collapseEdges,i.history.pushState({collapsed:e.collapseEdges},"domainRangePage",null)},e.predicatesListFilterFunc=function(o){return o.resolvedUri.toLowerCase().indexOf(e.predicatesQueryObj.query.toLowerCase())>=0},e.$watch("predicatesObj.items",(function(){e.predicatesObj.items>0&&r((function(){e.adapterContainer.adapter.reload()}),30)})),e.$watch("selectedPredicate",(function(){e.showPredicatesInfoPanel&&function(o){const t=o.target,r=o.source;e.encodedUri=encodeURIComponent(o.uri),e.sourceTargetObjectNodeUri=t.objectPropClassUri?t.objectPropClassUri:r.objectPropClassUri,e.encodedSourceTargetObjectNodeUri=encodeURIComponent(e.sourceTargetObjectNodeUri),e.sourceTargetObjectNodeName=t.objectPropClassName?t.objectPropClassName:r.objectPropClassName?r.objectPropClassName:"<i>Literal</i>",-1===e.sourceTargetObjectNodeName.indexOf("Literal")?n.getRdfsLabelAndComment(e.sourceTargetObjectNodeUri).success((function(o){e.rdfsLabel=o.label,e.rdfsComment=o.comment})).error((function(){p.error(u.instant("domain.range.error.get.label.comment"))})):(e.rdfsComment=void 0,e.rdfsLabel=void 0);e.predicatesObj.items=[],e.predicatesQueryObj.query="";const a=t.allEdges?t.allEdges:r.allEdges;_.each(a,(function(o){const t={};t.absUri=encodeURIComponent(o.uri),t.absUriNonEncoded=o.uri,t.resolvedUri=o.name,t.isImplicit=o.implicit,e.predicatesObj.items.push(t)})),e.predicatesListNotFiltered=e.predicatesObj.items}(e.selectedPredicate)})),$(document).ready((function(){$(".compact-mode-toggle").click((function(){$(".tooltip").hide()}))}));let C=a.getActiveRepository()}angular.module("graphdb.framework.graphexplore.controllers.domainrange",["ui.scroll.jqlite","ui.scroll","ngSanitize","graphdb.framework.utils.localstorageadapter"]).controller("DomainRangeGraphCtlr",r),r.$inject=["$scope","$location","$rootScope","$timeout","$repositories","$window","LocalStorageAdapter","LSKeys","GraphDataRestService","UiScrollService","ModalService","toastr","$translate"]}}]);
|