graphdb-workbench 2.7.0-TR7 → 2.7.0-TR9
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.353ae4f15fdd5e4c221b.bundle.js → 0.f4297f3b1d14f11a3ea2.bundle.js} +3 -3
- package/dist/{1.13ac349ee30a7ebbc9d4.bundle.js → 1.fd5615009e38b3af1a80.bundle.js} +1 -1
- package/dist/{10.3aafada2996d73bf0d78.bundle.js → 10.415b4a1f0ab3fbbde464.bundle.js} +2 -2
- package/dist/{100.b80d82aa958493dde13a.bundle.js → 100.2c1b1a107e1834bb0798.bundle.js} +1 -1
- package/dist/{103.c797385874a9bface517.bundle.js → 103.a02fc64f4719fb9cf223.bundle.js} +1 -1
- package/dist/{109.a20a2add47ff4e7c7f6d.bundle.js → 109.3d96f717e08117d3ff5b.bundle.js} +1 -1
- package/dist/{11.aeb9ce681741842a1174.bundle.js → 11.354a99d5f3d979ab3bf4.bundle.js} +1 -1
- package/dist/{111.f1c357bd31cee9a0acaf.bundle.js → 111.c389a535879d1f57c081.bundle.js} +1 -1
- package/dist/{113.d229a3ffce98753de180.bundle.js → 113.4b9a1a52a68180efde07.bundle.js} +1 -1
- package/dist/{12.dbb01c526456332641be.bundle.js → 12.aafdd58e1c8f2b189605.bundle.js} +1 -1
- package/dist/{121.a98e35afa9db336f4546.bundle.js → 121.5dcdbd46339fa3d4c75b.bundle.js} +1 -1
- package/dist/{124.affc74a56f652f223184.bundle.js → 124.6ed2162f3ef9abaeba72.bundle.js} +1 -1
- package/dist/{125.ec62d01849b6be2608f7.bundle.js → 125.0048ca0a129385705c00.bundle.js} +1 -1
- package/dist/{126.79fd5077364cfd8dd6c3.bundle.js → 126.ac44268fca65f53a96d4.bundle.js} +1 -1
- package/dist/{127.d1073a24d1c60fa74392.bundle.js → 127.90095f048c8edbc08234.bundle.js} +1 -1
- package/dist/{128.64069471dc8e931ef39e.bundle.js → 128.43ca6b5f19f08b5b711e.bundle.js} +1 -1
- package/dist/{129.1a9d1004b85f7e209ead.bundle.js → 129.1e270b004b73e0f3c16d.bundle.js} +1 -1
- package/dist/{13.fc3a4d9fab000cd56415.bundle.js → 13.2fec12f44f612950eef5.bundle.js} +1 -1
- package/dist/130.6e3186a83905e527de45.bundle.js +1 -0
- package/dist/{131.e42e53184aee01a0accf.bundle.js → 131.0fd1c26855fa61720ea3.bundle.js} +1 -1
- package/dist/{132.0b31f8fa095fae96039b.bundle.js → 132.38030c0990beaf56c7d9.bundle.js} +1 -1
- package/dist/{133.edc1eec98ab4c3fd9957.bundle.js → 133.ac74449c7d662e680492.bundle.js} +1 -1
- package/dist/{134.ce97bc895c638a14fafd.bundle.js → 134.b369903e48e1c35e0ecc.bundle.js} +1 -1
- package/dist/{135.1b02ba82064bfc8c20a2.bundle.js → 135.f1dbb91f8191666f80ca.bundle.js} +1 -1
- package/dist/{136.353d7dd40ed412a3bcd2.bundle.js → 136.27e5da5a7df10e06299d.bundle.js} +1 -1
- package/dist/137.d783daa8588f017ce44d.bundle.js +1 -0
- package/dist/138.cb6339e5846c493260b0.bundle.js +1 -0
- package/dist/{138.df09a7acbd25b51fde6f.bundle.js → 139.c0b0b63c931335aad137.bundle.js} +1 -1
- package/dist/{14.60cce3a4c939f35a3322.bundle.js → 14.56f3cef0ef89d28f8579.bundle.js} +1 -1
- package/dist/{139.7f1ea777c04291abf16e.bundle.js → 140.4da0ef4c952fb4a015e0.bundle.js} +1 -1
- package/dist/{140.9d8e09d2223b193a9a41.bundle.js → 141.df9f945a2d8d642ea66b.bundle.js} +1 -1
- package/dist/142.3b87f90cb65854ad9b8c.bundle.js +1 -0
- package/dist/{142.062cb7fdd1ad3fb508a5.bundle.js → 143.c0015e6be89d3ab82a3a.bundle.js} +1 -1
- package/dist/{143.e699bbbe2c3ce8028ecd.bundle.js → 144.423cc65f00fed038ef6e.bundle.js} +1 -1
- package/dist/{144.e349a87c5f737e1fcb57.bundle.js → 145.a91fa3ecf65b7168fb2c.bundle.js} +1 -1
- package/dist/{145.44900a88a97b953bdf47.bundle.js → 146.0ba07562a86fba48da18.bundle.js} +1 -1
- package/dist/{146.f0f282d75b7ca748e4c7.bundle.js → 147.656505ed95a646bec37f.bundle.js} +1 -1
- package/dist/{147.c910c315dffc780fdad3.bundle.js → 148.06aa24ec58662963cedd.bundle.js} +1 -1
- package/dist/{148.985dee0de8ed81e9e19e.bundle.js → 149.ae530643ecdfed1b069b.bundle.js} +1 -1
- package/dist/{15.735bc00503614ce3f91c.bundle.js → 15.6f45464ef40402e65280.bundle.js} +1 -1
- package/dist/{149.0df9d117441d3b9147ba.bundle.js → 150.d874b0deef2c2917188c.bundle.js} +1 -1
- package/dist/{150.b86b5cffdcecdac4387a.bundle.js → 151.06a4ec7f976a822d63d9.bundle.js} +1 -1
- package/dist/{151.2bd69509a1f91b34baf8.bundle.js → 152.62bb81e55a87ba91b77b.bundle.js} +1 -1
- package/dist/{152.287577831ef4264fda72.bundle.js → 153.7ad9d43e83cf5aa5148e.bundle.js} +1 -1
- package/dist/154.45e3ffbf59e383c417bd.bundle.js +1 -0
- package/dist/{154.6c2e7f2c4e358312d0d8.bundle.js → 155.59816f5fef9ce7e0dcd8.bundle.js} +1 -1
- package/dist/{155.66828e57b16dcc7f6bfd.bundle.js → 156.15e1ee09f1b0159a2039.bundle.js} +1 -1
- package/dist/{156.5aa472e37bda00d50df6.bundle.js → 157.08798e9ac4c24482a52b.bundle.js} +1 -1
- package/dist/{157.46126395d14c607b1335.bundle.js → 158.ab6461d28e939dad3426.bundle.js} +1 -1
- package/dist/{158.b4232f6af87c7caa3ba9.bundle.js → 159.ef83a6ba18f1d2855334.bundle.js} +1 -1
- package/dist/{16.8f603c0a14e853bcbb63.bundle.js → 16.98c38a465e324a791043.bundle.js} +2 -2
- package/dist/{159.fb4033b95903787a4c6d.bundle.js → 160.6616b9c8e78ebe2c35f3.bundle.js} +1 -1
- package/dist/{160.dbe3c4c09ec978e9580e.bundle.js → 161.284693cc0e3bf0e85af9.bundle.js} +1 -1
- package/dist/{161.b96aa18a690e9e618312.bundle.js → 162.51562087309ad074953b.bundle.js} +1 -1
- package/dist/{162.a96c1f6e6e1e2e197066.bundle.js → 163.8891498d465b90a01c2a.bundle.js} +1 -1
- package/dist/{163.749c718546f01ef03e00.bundle.js → 164.230648edc2c55b4fd5f0.bundle.js} +1 -1
- package/dist/{164.08617e3dc98946441d80.bundle.js → 165.36dd757db091b64f2699.bundle.js} +1 -1
- package/dist/{165.818ac10cce4677c1a44e.bundle.js → 166.78764b722223903645ab.bundle.js} +1 -1
- package/dist/{166.0f59111f70db65ce7377.bundle.js → 167.1216f41023ce111779a6.bundle.js} +1 -1
- package/dist/{167.455cf60b4488321f044b.bundle.js → 168.cb538043b7783282d3da.bundle.js} +1 -1
- package/dist/{168.d39ebe3f9a05e80cfcb0.bundle.js → 169.e2527bfa8ffa4d1e59e6.bundle.js} +1 -1
- package/dist/{17.2b29b3997cb464c92726.bundle.js → 17.fd53f4f9547905d697c6.bundle.js} +2 -2
- package/dist/{169.424f412a8000f13bda62.bundle.js → 170.e4aaa48fec70c626ffda.bundle.js} +1 -1
- package/dist/171.757e8f64284ed22c8ca3.bundle.js +1 -0
- package/dist/{171.53f681689e37bee860bf.bundle.js → 172.f31ef508d343ace498a7.bundle.js} +1 -1
- package/dist/{172.ef93601cf4840d374b74.bundle.js → 173.b4b72eadd5606deb046a.bundle.js} +1 -1
- package/dist/{173.0da3ec9ab06b2879e62b.bundle.js → 174.31676cd1d8a60a5a5737.bundle.js} +1 -1
- package/dist/{174.36738425414773730a9d.bundle.js → 175.d2c56e2d294cb0d9c2b5.bundle.js} +1 -1
- package/dist/{175.da42894a44de8f2cb858.bundle.js → 176.c39aa54cf241b65ed98e.bundle.js} +1 -1
- package/dist/{176.1040a6aaee7d06f523ee.bundle.js → 177.34b6b9d6c45f80c33c09.bundle.js} +1 -1
- package/dist/{177.e4790b3eb162dda92255.bundle.js → 178.2674c439aab8bee1d57a.bundle.js} +1 -1
- package/dist/{178.e6846abb0cd39416f7fd.bundle.js → 179.e8dfa45191e505c49cbb.bundle.js} +1 -1
- package/dist/{18.2a20fcd771de8fff8ccb.bundle.js → 18.c69ed719e7860a7a19a2.bundle.js} +2 -2
- package/dist/{179.c8ec982b2935ecdd95ae.bundle.js → 180.6af09ea133fd87cb604d.bundle.js} +1 -1
- package/dist/{180.39b20f10022bf843816f.bundle.js → 181.25c4e56212799837d388.bundle.js} +1 -1
- package/dist/{181.5ec61cb36a5e5b8e1344.bundle.js → 182.e1dfc0d3a8ef69ea5acd.bundle.js} +1 -1
- package/dist/{182.e6c5217c5099ab6a6dda.bundle.js → 183.c3b7c7bdf65b45315920.bundle.js} +1 -1
- package/dist/{183.0e853018277d51f520cb.bundle.js → 184.03996c1b92067f6a0361.bundle.js} +1 -1
- package/dist/{184.49aded07c7b0634699b0.bundle.js → 185.8859911391466ccf4529.bundle.js} +1 -1
- package/dist/{185.f542def447f8cf8a4230.bundle.js → 186.e1d7f6769529b4932474.bundle.js} +1 -1
- package/dist/{186.b8868a5713978849d384.bundle.js → 187.633d78b335c4d50929ae.bundle.js} +1 -1
- package/dist/{187.4a19e86ae44d778db098.bundle.js → 188.e92dd7131a965907f211.bundle.js} +1 -1
- package/dist/{188.278b5c227dbf5ed8de31.bundle.js → 189.486074a3cba16311826e.bundle.js} +1 -1
- package/dist/{19.69ffee32b7afe035bd0f.bundle.js → 19.4a03cc774003dac74a82.bundle.js} +1 -1
- package/dist/{189.d1a561505cc7ef0a3fac.bundle.js → 190.3f873a802731e2c3f5a0.bundle.js} +1 -1
- package/dist/191.f58d90911c96d23de4e7.bundle.js +1 -0
- package/dist/192.a4c786e3a24bb6d0c855.bundle.js +1 -0
- package/dist/{192.054c7c5c4307e11c86fe.bundle.js → 193.43ffcf46cb7dc9b73d7b.bundle.js} +1 -1
- package/dist/{193.1a9776aee6dd66bb822e.bundle.js → 194.5fe657d5dd89aac107bc.bundle.js} +1 -1
- package/dist/{194.e844a3e8b9242ebee40d.bundle.js → 195.115497078bd0ac8168bd.bundle.js} +1 -1
- package/dist/{195.731b2f862077658bd574.bundle.js → 196.312ecbf9ab58d1ec9784.bundle.js} +1 -1
- package/dist/{196.3c67ae0950c0a38f8f8a.bundle.js → 197.67a47d1869c99a905b22.bundle.js} +1 -1
- package/dist/{197.5ca363e8ba1710734e92.bundle.js → 198.f69452d243add7e84a0d.bundle.js} +1 -1
- package/dist/{198.808a3384b28bb0fb4c9c.bundle.js → 199.ef9fe77d64cb5661d9b7.bundle.js} +1 -1
- package/dist/{2.9580f159ee3cb959eac9.bundle.js → 2.4085c38c74e0410d0f50.bundle.js} +2 -2
- package/dist/{20.1d004f07e8495ad67ac7.bundle.js → 20.1e061718d2592a99d3e0.bundle.js} +1 -1
- package/dist/{199.08feb297644752134ccb.bundle.js → 200.404c21079e43644f071b.bundle.js} +1 -1
- package/dist/{200.2393950ec886d9a4c992.bundle.js → 201.377e5411db3da78e78cc.bundle.js} +1 -1
- package/dist/{201.d637d728541fa46d9301.bundle.js → 202.622c921b284620a42652.bundle.js} +1 -1
- package/dist/{202.8ae099f158dcb6c3b230.bundle.js → 203.b69781e6c53d407eef73.bundle.js} +1 -1
- package/dist/204.356e80fea2df05138472.bundle.js +1 -0
- package/dist/205.73adf16ed8f2ce59a5bb.bundle.js +1 -0
- package/dist/{205.6198a5351f21369fe2b7.bundle.js → 206.74a7becfceaefd204bc7.bundle.js} +1 -1
- package/dist/{206.5ebfcccd3479f9089c20.bundle.js → 207.4c1b4ca495c0071f6c32.bundle.js} +1 -1
- package/dist/{207.be9e3970758756dde9b4.bundle.js → 208.544a44abfaf21c13b128.bundle.js} +1 -1
- package/dist/{208.b7898df9307fbe1002fe.bundle.js → 209.4740be7aae0cac01169c.bundle.js} +1 -1
- package/dist/{21.4620d68f8fa705ef2c64.bundle.js → 21.89943458f24b13a496b7.bundle.js} +1 -1
- package/dist/{209.b605c84abb4c6b5641d2.bundle.js → 210.0ac74a83739761833871.bundle.js} +1 -1
- package/dist/{210.7336b46ed4b0e310b8ed.bundle.js → 211.ed5bb4729b54c81effe2.bundle.js} +1 -1
- package/dist/212.f2a4283af45a5526f9bf.bundle.js +1 -0
- package/dist/{212.4e5d322cfa7d34ec8b7d.bundle.js → 213.22d0aa578711871fce8b.bundle.js} +1 -1
- package/dist/214.c72ca6dd903c6dcccec9.bundle.js +1 -0
- package/dist/{214.c23c8e6c49c5be882664.bundle.js → 215.7a25974e6b854979eccf.bundle.js} +1 -1
- package/dist/{215.903f1cd899969fd9611c.bundle.js → 216.e7b75a23171d807132b5.bundle.js} +1 -1
- package/dist/{216.4c3e5d9cf3edb0713a61.bundle.js → 217.02d98db1445cb810e09a.bundle.js} +1 -1
- package/dist/218.2bfa5ba6077960521d0b.bundle.js +1 -0
- package/dist/{218.ed40079b67428117a97e.bundle.js → 219.d4cbf31bf79efd6bbf53.bundle.js} +1 -1
- package/dist/{22.97c58c88d245eedc9884.bundle.js → 22.b054c455800a0a8f9934.bundle.js} +1 -1
- package/dist/{219.319ca86926b79ba9467d.bundle.js → 220.7f202fa525fc9e864f54.bundle.js} +1 -1
- package/dist/{220.469fd65fbce47be71190.bundle.js → 221.15db53cdde9fa1361d87.bundle.js} +1 -1
- package/dist/{221.31dc77c074f0bbd08dc1.bundle.js → 222.2af1366d550de5dfabdc.bundle.js} +1 -1
- package/dist/{222.c3a01a77593ca3ea3a97.bundle.js → 223.72865a4ef1c6bf598682.bundle.js} +1 -1
- package/dist/{223.9362f05cc16440b39fca.bundle.js → 224.d6fe1d262d4282b7a2bd.bundle.js} +1 -1
- package/dist/{224.82468268a3600a76281f.bundle.js → 225.d196cf79042bddb86281.bundle.js} +1 -1
- package/dist/{225.952dfa5f3609478e985b.bundle.js → 226.2ec71b75e2f05b1e998a.bundle.js} +1 -1
- package/dist/{226.84ed2c85d02464f0a61e.bundle.js → 227.25db3228a16d32832ca8.bundle.js} +1 -1
- package/dist/{227.850b1208d8758504c020.bundle.js → 228.2ae6cdadce14b2a8d136.bundle.js} +1 -1
- package/dist/{228.d475a21da9f497b4c0b1.bundle.js → 229.adc5da04d749af7a20a2.bundle.js} +1 -1
- package/dist/{23.496fb5c26f7ecf15847d.bundle.js → 23.e5355652083e5d7508f6.bundle.js} +1 -1
- package/dist/{229.5233323a3d276417918b.bundle.js → 230.a9dcfd1d98653ea6cb9a.bundle.js} +1 -1
- package/dist/{230.b1458a52c42f319edb65.bundle.js → 231.0910590368929cb8a10f.bundle.js} +1 -1
- package/dist/{231.181cdc1b2c812bc32fc9.bundle.js → 232.ffc7d1bab4fd6cee8621.bundle.js} +1 -1
- package/dist/{232.bb1e29d93ba027c5c197.bundle.js → 233.191c85a2ecf773cb425e.bundle.js} +1 -1
- package/dist/{233.4f982b90fb94aaadb7a6.bundle.js → 234.50436adf9f8172cb23b9.bundle.js} +1 -1
- package/dist/{234.eb96e8b4491f30f453a9.bundle.js → 235.fa4a2dd39718f8240870.bundle.js} +1 -1
- package/dist/{235.a76d94928d7e60cce43d.bundle.js → 236.077f5babd406990267ac.bundle.js} +1 -1
- package/dist/{236.da4884bcdfb58815e40e.bundle.js → 237.83b4ff1f42fe5cde6085.bundle.js} +1 -1
- package/dist/{237.baa42087f28c1c847187.bundle.js → 238.9fa6a23a060b2e3f159c.bundle.js} +1 -1
- package/dist/{238.b2880eac7814cd549129.bundle.js → 239.61c28ced2ee1064cad69.bundle.js} +1 -1
- package/dist/{24.bd24da5dba9c4c547055.bundle.js → 24.759436566af8fe518dc2.bundle.js} +1 -1
- package/dist/{239.7f55d13fefec70092119.bundle.js → 240.07a46e845dddbdf2288e.bundle.js} +1 -1
- package/dist/{240.dd81861efb7bd21c3459.bundle.js → 241.efb5cc3b28e16c0bb719.bundle.js} +1 -1
- package/dist/{241.2c02998ecbab48c53e8a.bundle.js → 242.674338f25f494e54b136.bundle.js} +1 -1
- package/dist/{242.76e22236044f30b2ed9a.bundle.js → 243.cbac9af8958f6c144b71.bundle.js} +1 -1
- package/dist/{243.501f26a90bfb419a7b6c.bundle.js → 244.1f4ae82f551ad171a90b.bundle.js} +1 -1
- package/dist/{244.457d005b37a6043bd723.bundle.js → 245.79c5aec5d04a36eeafc7.bundle.js} +1 -1
- package/dist/{245.2eb56da9175fa0b49068.bundle.js → 246.6bf06664c3003d02df1b.bundle.js} +1 -1
- package/dist/{246.0ed99903758c516679b8.bundle.js → 247.23df4671087b3187df17.bundle.js} +1 -1
- package/dist/{247.d49f82813de9859d3a44.bundle.js → 248.978000119b94c0c368f2.bundle.js} +1 -1
- package/dist/{248.6e6110b7ddd2eaf06f17.bundle.js → 249.f6f480dcb9646a226273.bundle.js} +1 -1
- package/dist/{25.a628e2975afbb1ca732f.bundle.js → 25.6d0d3e344a0f47ab6c17.bundle.js} +1 -1
- package/dist/{249.3bed5e1cec98e4352919.bundle.js → 250.62a109ce1e073055300c.bundle.js} +1 -1
- package/dist/{250.64e60a3d0070df44f33b.bundle.js → 251.c6c28d0e3a0880ceb37e.bundle.js} +1 -1
- package/dist/{251.9b7196c1859ea66a171d.bundle.js → 252.6823a5e4823c41fda741.bundle.js} +1 -1
- package/dist/253.532b8ad1542d944baae4.bundle.js +1 -0
- package/dist/{253.f09ee398785ef04098bd.bundle.js → 254.3453bc29d7a2dc30d94c.bundle.js} +1 -1
- package/dist/{254.fc1584342ea7dfc974b9.bundle.js → 255.139787d1d23bf082f9ac.bundle.js} +1 -1
- package/dist/{255.0d85dc7b4115c3a539fb.bundle.js → 256.c05d310ea63337276036.bundle.js} +1 -1
- package/dist/{256.0747d91f8e5639526218.bundle.js → 257.17902e3d0fc54b54056f.bundle.js} +1 -1
- package/dist/{257.92d3025c07712b25d46a.bundle.js → 258.fb546a2f4425f58aedfc.bundle.js} +1 -1
- package/dist/{258.205179aa78ede2c8e1a3.bundle.js → 259.cb462e753df2e1311e34.bundle.js} +1 -1
- package/dist/{26.459968c63407d72b0cf2.bundle.js → 26.4e507f2438082824faff.bundle.js} +1 -1
- package/dist/{259.bd1ca354db37062f017d.bundle.js → 260.22aa29f467dd90ab00fe.bundle.js} +1 -1
- package/dist/{260.35adbb71fe882e4953b8.bundle.js → 261.f444a42c393f12dd5ba8.bundle.js} +1 -1
- package/dist/{261.02561b26372c195c71a6.bundle.js → 262.d5477e9b9fb87dc7d0e8.bundle.js} +1 -1
- package/dist/{262.bf8bc31ebda0eae527d5.bundle.js → 263.c1f62fc406567734f644.bundle.js} +1 -1
- package/dist/{263.dca72131c0b2af881e13.bundle.js → 264.aef591b63ed363195842.bundle.js} +1 -1
- package/dist/{264.9041e5756271b545f844.bundle.js → 265.328e126dd9fa75a6f563.bundle.js} +1 -1
- package/dist/{27.01f4b0043a55038abce7.bundle.js → 27.667aa60412e07e794ffa.bundle.js} +1 -1
- package/dist/{270.4e45225e0fe3f54166ef.bundle.js → 271.022586ba0179168a1f7b.bundle.js} +1 -1
- package/dist/{271.59e1d4ed781c7a29bdf9.bundle.js → 272.af23d3247ba16d3f2673.bundle.js} +1 -1
- package/dist/{272.6a9665a7d2440b6b42d2.bundle.js → 273.8e5e65b33c4f6f10adad.bundle.js} +1 -1
- package/dist/{273.c0a4f6f3ac8d27ff1ae4.bundle.js → 274.aff3402a9975219f5662.bundle.js} +1 -1
- package/dist/{274.ce7ff6e8de5ce48d97dd.bundle.js → 275.07836c346a2fc25d5cd2.bundle.js} +1 -1
- package/dist/{275.26e814974958a34f784d.bundle.js → 276.752f0438f1141a962da1.bundle.js} +1 -1
- package/dist/{276.2d76ce29c6e027f6eeb7.bundle.js → 277.913643c76ff6e1a159e0.bundle.js} +1 -1
- package/dist/{277.eebcc7811264465eb7fc.bundle.js → 278.8e415d5a1f20df552bbf.bundle.js} +1 -1
- package/dist/{278.611add14706190a66b10.bundle.js → 279.6699ede9780b12b2931e.bundle.js} +1 -1
- package/dist/{28.8f29655b64b026d5fe5b.bundle.js → 28.e32f11db5b2e08c69717.bundle.js} +1 -1
- package/dist/{279.33eb74085a355f9154d0.bundle.js → 280.57d8ffe9bbe620171f11.bundle.js} +1 -1
- package/dist/{280.645c8f6aff9ef5997230.bundle.js → 281.b5f76d0422b8652b0f1b.bundle.js} +1 -1
- package/dist/{281.b0d4998239913b722b64.bundle.js → 282.90cd06ed61cde8e1a1b9.bundle.js} +1 -1
- package/dist/{282.8dd7883e6c3fb76ae435.bundle.js → 283.e5f206ee7314d65d65c4.bundle.js} +1 -1
- package/dist/{283.5f37bfdf4cc64075d490.bundle.js → 284.b8262aed152739bbe2f1.bundle.js} +1 -1
- package/dist/{284.444dbb86eb77e997a246.bundle.js → 285.78fcf97cd834e32b10f9.bundle.js} +1 -1
- package/dist/{285.88adef005993f33deab9.bundle.js → 286.2040e258e1775468e5dd.bundle.js} +1 -1
- package/dist/{286.d141531bdfa74fbf0158.bundle.js → 287.0cf74f1a215a3aba1ce8.bundle.js} +1 -1
- package/dist/{287.7d2347ff2c3fe4f6addb.bundle.js → 288.0c43abe1e8c009a98b49.bundle.js} +1 -1
- package/dist/{288.b74bad2a14b1d42cc640.bundle.js → 289.86ed9824be63d10163b6.bundle.js} +1 -1
- package/dist/29.22af659973f9510f219d.bundle.js +1 -0
- package/dist/{289.e128ce9ac952c64b4e87.bundle.js → 290.1b63802805ed23a56e3d.bundle.js} +1 -1
- package/dist/{290.3cf5c1b4b3c3cc834d2b.bundle.js → 291.064c3a23d9a7fa42d4bc.bundle.js} +1 -1
- package/dist/{291.496f132296841a6acbda.bundle.js → 292.d403e81e322966373e6b.bundle.js} +1 -1
- package/dist/{292.133b8d6d116a3d60dfd1.bundle.js → 293.ff69338ac6554fb7b372.bundle.js} +1 -1
- package/dist/{293.151d759adc59246f93dd.bundle.js → 294.b323efbd88e3e343fc98.bundle.js} +1 -1
- package/dist/{294.15eaca99f56992eed628.bundle.js → 295.c45a433a679713d2a3b2.bundle.js} +1 -1
- package/dist/{295.d6be86522848260fdef0.bundle.js → 296.bdedef06b0e7e484a310.bundle.js} +1 -1
- package/dist/{296.b85a86ad0f0c6410d4b8.bundle.js → 297.f44f055059b9e2b157b1.bundle.js} +1 -1
- package/dist/{297.f18a8d368fa529e33b34.bundle.js → 298.1db127ecaed3808314b5.bundle.js} +1 -1
- package/dist/{298.0496d954ad1edaa01c5c.bundle.js → 299.4ddc2fb65b23d0c49b59.bundle.js} +1 -1
- package/dist/{3.459d8044de1980ded7b6.bundle.js → 3.dbe46aa2dc2872bd55cb.bundle.js} +1 -1
- package/dist/30.ea26de80540e4c0e9fd2.bundle.js +1 -0
- package/dist/{299.7174d7dcee6bc3633d46.bundle.js → 300.d4241f4bafc9748b6f4a.bundle.js} +1 -1
- package/dist/{300.834b5773970b69c2f677.bundle.js → 301.d28b7b4f9c5c4d69bdd6.bundle.js} +1 -1
- package/dist/{301.ff3b4d35f80280ff524e.bundle.js → 302.4bfe509b9c69d366a521.bundle.js} +1 -1
- package/dist/{302.ee0d123079521a3d9aa3.bundle.js → 303.701c2c2fb2020954530b.bundle.js} +1 -1
- package/dist/{303.eba8696e4910c4a7eae5.bundle.js → 304.0fe964b15c11fd5fa661.bundle.js} +1 -1
- package/dist/{304.8624c9b841349818047a.bundle.js → 305.71f161931db01d4c26cf.bundle.js} +1 -1
- package/dist/306.60e3cdc67b996555f524.bundle.js +1 -0
- package/dist/307.2d711c747e182eb01def.bundle.js +1 -0
- package/dist/{306.5a94d77dcd55f3d2a0ed.bundle.js → 308.42b3cc6c4771e4139f38.bundle.js} +1 -1
- package/dist/309.739c0037a10cd963ab9b.bundle.js +1 -0
- package/dist/31.eb32e608f952c82bf65c.bundle.js +1 -0
- package/dist/310.cf3f0c5b0d4a9065ac93.bundle.js +1 -0
- package/dist/311.d6eebf630607e3b12212.bundle.js +1 -0
- package/dist/{310.6049a837c9c142785d1f.bundle.js → 312.53e7ca1510e2d6b12646.bundle.js} +1 -1
- package/dist/{311.1e7a3a50639a6808f73d.bundle.js → 313.a8d61c7fb9e58998eecf.bundle.js} +1 -1
- package/dist/314.a7184563f49220b6d529.bundle.js +1 -0
- package/dist/{313.3b24c88cba6229714b91.bundle.js → 315.f64aa0e60a86c2db2b67.bundle.js} +1 -1
- package/dist/{314.7268040e7953839608c6.bundle.js → 316.0cb6b0ec7bb81ebffa2d.bundle.js} +1 -1
- package/dist/{315.845826ec4b461bdb8151.bundle.js → 317.523ef25ad1acbeeea678.bundle.js} +1 -1
- package/dist/{316.800809dd795621ae4f89.bundle.js → 318.c7d4297a0efecd5eb598.bundle.js} +1 -1
- package/dist/{317.1339b5d0de093d7d6a48.bundle.js → 319.95783ac3799fbdd6e242.bundle.js} +1 -1
- package/dist/{32.953ac16e169750337326.bundle.js → 32.b5dfb63a61860f97bcbe.bundle.js} +1 -1
- package/dist/{318.13503cab939b6638d9a5.bundle.js → 320.0239523e080ffe991a16.bundle.js} +1 -1
- package/dist/{319.a235d80bb1d250b03773.bundle.js → 321.fb13cdf3acf143d63313.bundle.js} +1 -1
- package/dist/{320.e29265962c13880f1068.bundle.js → 322.52cd9b6466225d427b9b.bundle.js} +1 -1
- package/dist/{321.dad6665734f631450795.bundle.js → 323.c928a67139582d01b73a.bundle.js} +1 -1
- package/dist/{322.bb5b2c445bb74780f95b.bundle.js → 324.dadefba091ad09d49821.bundle.js} +1 -1
- package/dist/{323.62e4d065f13ff3d72834.bundle.js → 325.8033879b1aa46812aab6.bundle.js} +1 -1
- package/dist/{324.07d536caa0b6e90c90a4.bundle.js → 326.fea3009218b05a39cdfa.bundle.js} +1 -1
- package/dist/{325.bf284f3e297fa264eea4.bundle.js → 327.adab3045848886841899.bundle.js} +1 -1
- package/dist/{326.2da81c1272d23401ed28.bundle.js → 328.25eb10d8ce2a3ac50be2.bundle.js} +1 -1
- package/dist/{327.eb540665685e77e832f8.bundle.js → 329.787ed338239cba8763ce.bundle.js} +1 -1
- package/dist/{33.7ead0cded2ba66a117f7.bundle.js → 33.2b46b7e1710afd2401f0.bundle.js} +1 -1
- package/dist/{328.9eb5c903e4a6d2299db1.bundle.js → 330.ec14349c36e5f17ed27b.bundle.js} +1 -1
- package/dist/{329.fe9c1cd6729fd5451975.bundle.js → 331.8283b331c5c4e215fcda.bundle.js} +1 -1
- package/dist/{330.3d999ab0c8eb9db184bd.bundle.js → 332.37723729fc255285dffc.bundle.js} +1 -1
- package/dist/333.8dbbd11939a81f0a0af2.bundle.js +1 -0
- package/dist/334.8a51b5046476c26bd865.bundle.js +1 -0
- package/dist/{333.30d4f47eb21c921145e8.bundle.js → 335.98118dc1905137230b21.bundle.js} +1 -1
- package/dist/{334.f473504bcc6ac0d68725.bundle.js → 336.68ed8dac0a7e22bd6b83.bundle.js} +1 -1
- package/dist/{335.fb57c1f7507b5b6aec98.bundle.js → 337.edf6ec9fc69dfe832f4c.bundle.js} +1 -1
- package/dist/{336.d5645426baf45e538ebf.bundle.js → 338.6295204334521c254358.bundle.js} +1 -1
- package/dist/{34.f57601b470cae3c1583f.bundle.js → 34.1ae7a0a56776a818ef83.bundle.js} +1 -1
- package/dist/{35.1a8c02cd2251e4c10baf.bundle.js → 35.308ff34fe2f37bd65fd5.bundle.js} +1 -1
- package/dist/{36.5581b902c1cf0d021f2d.bundle.js → 36.5f6cad13d384b4599d7b.bundle.js} +1 -1
- package/dist/{37.a7c64a8d44cfe90dd9cb.bundle.js → 37.aac54d41f475cf2a1584.bundle.js} +1 -1
- package/dist/{38.c270da2fca4c0f94bfec.bundle.js → 38.00b40be083213c39dbc7.bundle.js} +1 -1
- package/dist/{39.4ae895ce567a9e266bdd.bundle.js → 39.80f84936cd1aa9d187fb.bundle.js} +1 -1
- package/dist/{4.51ee17eec171dae19987.bundle.js → 4.44976305e0a5ef79282f.bundle.js} +1 -1
- package/dist/{40.28559e61a1ca32c5601b.bundle.js → 40.de857c92771b3c89dc32.bundle.js} +1 -1
- package/dist/{41.ab3e29b60b7373194d5a.bundle.js → 41.354cfbd706a2eafa7554.bundle.js} +1 -1
- package/dist/42.261ab5556c49817b11a5.bundle.js +1 -0
- package/dist/{43.d365defe4dc962564c6d.bundle.js → 43.1f66dd623108d12b72f8.bundle.js} +1 -1
- package/dist/{44.3b4c8afe35d8869625d5.bundle.js → 44.bf73d6e54c706c064c03.bundle.js} +2 -2
- package/dist/{45.4674c00f3966e8ad8edf.bundle.js → 45.f696940b065fdae41955.bundle.js} +1 -1
- package/dist/{46.6766258a215b8d1aeca6.bundle.js → 46.b88892823556df0d0165.bundle.js} +1 -1
- package/dist/{47.0aea700c89b44bdcb2f1.bundle.js → 47.020ace7c80c881993193.bundle.js} +1 -1
- package/dist/48.45dd5e4712c0965d42d2.bundle.js +1 -0
- package/dist/{49.1a55608dddc9ad175605.bundle.js → 49.dc615a1acb00de1096b4.bundle.js} +1 -1
- package/dist/{5.ed48d58292c6058c9b2b.bundle.js → 5.d09bb4d99ff4f5b94bd7.bundle.js} +1 -1
- package/dist/{50.0f9ffbff820b547390ad.bundle.js → 50.e00e0f4baf78e59b862b.bundle.js} +1 -1
- package/dist/{51.b05444108460961fab2e.bundle.js → 51.edae38b4c47f826507ff.bundle.js} +1 -1
- package/dist/{52.ed159cf67b5ceb39de3d.bundle.js → 52.91fea4ebf01e77bbbf95.bundle.js} +1 -1
- package/dist/{53.06eb55e92a2be00976a8.bundle.js → 53.57365c64d663b4e8364b.bundle.js} +1 -1
- package/dist/{54.46b81b8540a7d377eba6.bundle.js → 54.84181bb333a7c2ae8cd2.bundle.js} +1 -1
- package/dist/{56.e6205ecfc83ffac20768.bundle.js → 56.d666000501a02a4e04e1.bundle.js} +1 -1
- package/dist/{57.9870eeb47a1d5b2928a4.bundle.js → 57.1d61cb7b5f91636e60b8.bundle.js} +1 -1
- package/dist/{58.0ad8b5dffdcffafc4002.bundle.js → 58.f71e3ce102e84cf59fdb.bundle.js} +1 -1
- package/dist/{59.48a9636ffc4050653db0.bundle.js → 59.a6771707e4db6c49117d.bundle.js} +1 -1
- package/dist/{6.3ef0a6cd800508def86d.bundle.js → 6.c5b75f664a1fbb7c0671.bundle.js} +1 -1
- package/dist/{61.6f6db4ea3f9b26bc2d83.bundle.js → 61.c3cf7557aa65147683b5.bundle.js} +1 -1
- package/dist/{62.04cf829c76616d9cec40.bundle.js → 62.13c0d6dc2074d0a7d6de.bundle.js} +1 -1
- package/dist/{63.65be79713ff638f4d015.bundle.js → 63.3dc5c0919d076f2bc887.bundle.js} +1 -1
- package/dist/{65.fccd3cae49a688beeff2.bundle.js → 65.d1748458f5f3648c946a.bundle.js} +1 -1
- package/dist/{66.3d5a305849ab692d9d0d.bundle.js → 66.70bb13cbeae3112918a4.bundle.js} +1 -1
- package/dist/{67.7f6b0b78c3765c3a9b40.bundle.js → 67.a19dd4d46c94b16e1e11.bundle.js} +1 -1
- package/dist/{68.5e4606551cf4668d9b3d.bundle.js → 68.26d943dc45aa1994ae46.bundle.js} +1 -1
- package/dist/{69.743621610c922956b49d.bundle.js → 69.6edcaa977fa880570f86.bundle.js} +1 -1
- package/dist/{7.3b830cc400337ccfeae0.bundle.js → 7.5df728ea1cd03db38c96.bundle.js} +11 -11
- package/dist/{70.52883c0c5c4c7ab45f96.bundle.js → 70.78000c547209af5a6970.bundle.js} +1 -1
- package/dist/{71.d965a1902e45ed19ae49.bundle.js → 71.26c6a96bb8f62a692b07.bundle.js} +1 -1
- package/dist/{72.016e01695de4c71f1fe3.bundle.js → 72.5824f0dc52bef1079b44.bundle.js} +1 -1
- package/dist/{73.b5c243c0f237d2d20409.bundle.js → 73.a7dbfc36e424bb48e65d.bundle.js} +1 -1
- package/dist/{74.d77599c51dc06653f58e.bundle.js → 74.4e8f1c89f5df51a6f242.bundle.js} +1 -1
- package/dist/{75.678b852550fe8e7bfe32.bundle.js → 75.613a29b972d5b9602f01.bundle.js} +1 -1
- package/dist/{76.cfae09d6e8c4b269c2f0.bundle.js → 76.47b1ab48c5e602d60908.bundle.js} +1 -1
- package/dist/{77.f3adec2fb9279f4ac9ab.bundle.js → 77.ce8298645bb7f5ab1e17.bundle.js} +1 -1
- package/dist/{78.5e17979b4a3077958d0e.bundle.js → 78.f815fa7ceedadd51a065.bundle.js} +1 -1
- package/dist/{79.09cd92ac886198643a6f.bundle.js → 79.6bb7474f9a9b70d8078a.bundle.js} +1 -1
- package/dist/8.cf379344906a4bb6814f.bundle.js +1 -0
- package/dist/{80.88df9b430ca97a246891.bundle.js → 80.eba8dfc552f33eb2f17d.bundle.js} +1 -1
- package/dist/{81.b67b238ab81b6890d8f6.bundle.js → 81.1654a0741c7b8e5d5b58.bundle.js} +1 -1
- package/dist/{82.a65b7a58820aa4be0a86.bundle.js → 82.7303b38c1a6eb1f986cb.bundle.js} +1 -1
- package/dist/{83.3998ea5caad0be07c766.bundle.js → 83.3d9a8a65df820b44f880.bundle.js} +1 -1
- package/dist/{84.ab0256102f0425483618.bundle.js → 84.956c0246d6ef07680506.bundle.js} +1 -1
- package/dist/{85.79ff2cc2efe921639529.bundle.js → 85.d0f214cc7302ac3577f0.bundle.js} +1 -1
- package/dist/{86.79d9c6c14b57e2cbb504.bundle.js → 86.9f95d95ccd3a3b2549e2.bundle.js} +1 -1
- package/dist/{87.8f83796ef79f0ff73fac.bundle.js → 87.ff4d1506f38d753dbb1d.bundle.js} +1 -1
- package/dist/{88.40716b9e5bb4f08212dd.bundle.js → 88.b24a08f9b80943bc7a2d.bundle.js} +1 -1
- package/dist/{9.38bb25b6de9ca52bf5db.bundle.js → 9.ca46433c223f0543ef10.bundle.js} +1 -1
- package/dist/{91.52b4095b7d9defe2453b.bundle.js → 91.4058bcc607e0564aa71a.bundle.js} +1 -1
- package/dist/{92.cbd510129d4f9c43b1e7.bundle.js → 92.0c8daa0bf4036e2baf4f.bundle.js} +1 -1
- package/dist/{94.070b16f3fd0ae1f3e10a.bundle.js → 94.47a734256aaf0471865f.bundle.js} +1 -1
- package/dist/{96.f8bbd933b442a409bb00.bundle.js → 96.22de14e0dbb0d3d3323c.bundle.js} +1 -1
- package/dist/{bundle.3bd17fb75aec103d600c.bundle.js → bundle.4eab773c5353034a3140.bundle.js} +13 -13
- package/dist/css/import-resource-tree.css +46 -29
- package/dist/i18n/locale-en.json +29 -8
- package/dist/i18n/locale-fr.json +29 -9
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/import/templates/file-override-confirmation.html +18 -0
- package/dist/js/angular/import/templates/fileSizeLimitInfo.html +2 -2
- package/dist/js/angular/import/templates/import-resource-message.html +36 -11
- package/dist/js/angular/import/templates/import-resource-status-info.html +48 -18
- package/dist/js/angular/import/templates/import-resource-tree.html +30 -27
- package/dist/js/angular/import/templates/textSnippet.html +21 -13
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/{main.51be3c62b284bf8cdde2.bundle.js → main.47deec6a74c39a577866.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/plugins.js +61 -37
- package/dist/{polyfills-dom.53d2bfaab368a5c1c94c.bundle.js → polyfills-dom.604f4cea102b776149b7.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +29 -29
- package/dist/{vendor.28add64dc899b84882a0.bundle.js → vendor.f8cb6fd74ac0ec169bb4.bundle.js} +4 -4
- package/dist/{vendors~polyfills-core-js.1395691ef6eb73bdafe0.bundle.js → vendors~polyfills-core-js.9211b7cca892e9440a17.bundle.js} +1 -1
- package/package.json +1 -1
- package/dist/130.c007b949d4b3e99cb2ff.bundle.js +0 -1
- package/dist/137.b2e6231771715ebb81cf.bundle.js +0 -1
- package/dist/141.b86f5daf7b77d4e81c79.bundle.js +0 -1
- package/dist/153.49ca6dcaed112a4669ed.bundle.js +0 -1
- package/dist/170.3a70022acba534b3f421.bundle.js +0 -1
- package/dist/190.fce3570230e805bec890.bundle.js +0 -1
- package/dist/191.5863bb1287b46c1ccc6d.bundle.js +0 -1
- package/dist/203.7a2a206e4718bc04afd0.bundle.js +0 -1
- package/dist/204.656de3827de27874f31d.bundle.js +0 -1
- package/dist/211.e9aa3a91008ff11d6d9d.bundle.js +0 -1
- package/dist/213.fe355bdd8b675247b9a3.bundle.js +0 -1
- package/dist/217.ab6e9a90af1b129d4e92.bundle.js +0 -1
- package/dist/252.3c1cc2643b7958c54dd3.bundle.js +0 -1
- package/dist/29.380aa332d60b5034a0f5.bundle.js +0 -1
- package/dist/30.6e365e7402a166e3d3f6.bundle.js +0 -1
- package/dist/305.fd28dd6dd392752b1bd6.bundle.js +0 -1
- package/dist/307.240e94a08b6f85f7408b.bundle.js +0 -1
- package/dist/308.e337b823b8cbd61797ed.bundle.js +0 -1
- package/dist/309.d5cf65e81b68ba94e2f1.bundle.js +0 -1
- package/dist/31.50b819a63ad079e82525.bundle.js +0 -1
- package/dist/312.469d2cbbe308dfe47aab.bundle.js +0 -1
- package/dist/331.c325edc09da98846f316.bundle.js +0 -1
- package/dist/332.cfbcbe547e23c7a96700.bundle.js +0 -1
- package/dist/42.9a7968db61ad5e4c17d6.bundle.js +0 -1
- package/dist/48.9adcd9b2cdad14abcf7c.bundle.js +0 -1
- package/dist/8.dc8ed268435f0edc4e8b.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,101],{153:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"font",(function(){return s})),n.d(e,"shortMessageLimit",(function(){return a})),n.d(e,"createClusterSvgElement",(function(){return c})),n.d(e,"createClusterZone",(function(){return i})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return l})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return f})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return S})),n.d(e,"updateLinks",(function(){return m})),n.d(e,"setLinkColor",(function(){return N})),n.d(e,"setLinkStyle",(function(){return O})),n.d(e,"positionNodesOnClusterZone",(function(){return v})),n.d(e,"removeEventListeners",(function(){return x}));var o=n(105);const r={ontoOrange:"var(--primary-color)",ontoBlue:"var(--secondary-color)",ontoGreen:"var(--tertiary-color)",ontoGrey:"var(--gray-color)"},s={FONT_AWESOME:"FONT_AWESOME",ICOMOON:"ICOMOON"},a=40;function c(t){return d3.select(t).append("svg")}function i(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function d(t,e,n,o=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",o),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),o&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function l(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function f(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n),r=o.merge(t).attr("id","node-group").classed("legend",n);return function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("rect").attr("class","node-info-background").attr("rx",6),o.append("text").attr("y",e+15).attr("class","id id-host"),o.append("text").attr("y",e+45).attr("class","node-info-text"))}(o,e,n),r}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,_.isEmpty(n.recoveryStatus)?function(t){if(t.nodeState===o.NodeState.LEADER)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.FOLLOWER)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.CANDIDATE)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.NO_CONNECTION)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.OUT_OF_SYNC)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.READ_ONLY)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.RESTRICTED)return{icon:"",font:s.ICOMOON};return{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return h[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===s.ICOMOON).classed("fa-d3",e.font===s.FONT_AWESOME).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(_.isEmpty(t.recoveryStatus))return 0;const o=g(y(t));return e=o.height,n=o.width,n})).attr("height",(function(t){return _.isEmpty(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return _.isEmpty(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return y(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(_.isEmpty(t.recoveryStatus))return void e.attr("width",0);const n=y(t),o=t.recoveryStatus.message&&t.recoveryStatus.message.length>a&&n!==t.recoveryStatus.message,r=o?n:t.recoveryStatus.message,s=g(n),c=g(t.recoveryStatus.message);e.on(".tooltip",null),o&&function(t,e,n,o,r){t.on("mouseover.tooltip",()=>{t.attr("width",r.width).attr("height",r.height).attr("x",-r.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${o}</div>`)})}(e,t.recoveryStatus.message,s,r,c),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const h={[o.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:s.ICOMOON}};function y(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>a?t.recoveryStatus.message.substring(0,a)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),o=n.height,r=n.width;return document.body.removeChild(e),{height:o,width:r}}function S(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function m(t,e){t.attr("stroke",N).style("stroke-dasharray",O).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,s=o.y-n.y,a=Math.sqrt(r*r+s*s),c=r/a,i=s/a,d=n.x+55*c,l=n.y+55*i,u=o.x-55*c,f=o.y-55*i;return"M"+d+","+l+"L"+u+","+f}(t,e))}function N(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function O(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function v(t,e,n,o){t.attr("transform",(r,s)=>{const a=2*Math.PI*s/t.size(),c=e+Math.cos(a)*o,i=n+Math.sin(a)*o;return r.x=c,r.y=i,`translate(${c}, ${i})`})}function x(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},231:function(t,e,n){"use strict";n.r(e);n(10);var o=n(153),r=n(105),s=n(445);let a=240;const c=angular.module("graphdb.framework.clustermanagement.directives",["graphdb.framework.utils.localstorageadapter"]),i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},d={node_state:"legend_node_state",link_state:"legend_link_state"};c.directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$rootScope",function(t,e,n,r,c,f){return{restrict:"A",link:function(p,h){const y=p.isAdmin();function g(t,e=""){Object.keys(t).forEach(n=>{let o="";e&&(o+=e),o+="."+n;const r=t[n];"string"==typeof r?t[n]=c.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&g(r,o)})}function S(){const o="collapsedMenu"===e.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(t.innerWidth-a)),600)}function m(){return Math.max(.95*(t.innerHeight-250),600)}let N,O,v;p.showLegend=!1,f.$on("$translateChangeSuccess",(function(){g(i),function(){o.updateClusterZoneLabels(x,T,i),Object.keys(d).forEach(t=>{d3.select("#"+t).text(R(t))}),N&&N.remove();F(),B()}()})),p.$on("$destroy",(function(){D.destroy(),o.removeEventListeners()}));let x,E,T,w,C,k,b=S(),A=m(),L=Math.min(b,A)/2-100,I=b/2,M=A/2;function R(t){return i[d[t]]}function F(){N=E.append("g").attr("id","legend-group").classed("hidden",!p.showLegend).classed("legend-group",!0)}p.width=function(){return b},p.height=function(){return A};const D=Object(s.a)().attr("class","d3-tip").customPosition((function(){const t=k.getBoundingClientRect(),e=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollLeft||document.body.scrollLeft;return{left:t.left+n+"px",top:t.top-30+e+"px"}})).html((function(t){return t.toolTip})),G=function(t,e){k=e,D.show(t,k)},W=function(){k=null,D.hide()};function B(){const t=l(),e=u();!function(t,e){t.forEach(t=>{const e=_.get(i,t.customText);t.toolTip=t.hostname=e}),e.forEach(t=>{t.toolTip=t.linkTypeText=i[t.linkTypeKey]})}(t,e),N.append("rect").attr("id","legend-background").attr("class","legend-background").attr("fill","#EEEEEE");const n=N.append("text").attr("id","node_state").attr("class","id id-host").attr("x",200).attr("y",24).text(R("node_state")),r=N.append("text").attr("id","link_state").attr("class","id id-host").attr("x",200).attr("y",319).text(R("link_state")),s=N.selectAll("#node-group").data(t),a=o.createNodes(s,25,!0);o.updateNodes(a),a.select(".node.member").on("mouseover",(function(t,e){t.stopPropagation(),G(e,this)})).on("mouseout",W),a.attr("transform",(function(t){const e=Math.floor(t.id/4);return`translate(${35+65*(t.id%4)}, ${59+65*e})`})),N.call((function(t){O=t.node().getBBox().width})),n.attr("x",10+O/2),r.attr("x",10+O/2);const c=O/3,d=N.append("g").attr("id","links-group");d.attr("transform","translate(10, 329)"),e.forEach((t,e)=>{const n=c-5,r=d.append("g").classed("link",!0).classed("legend",!0).attr("transform",()=>`translate(${e*c}, 0)`);r.append("path").classed("link",!0).attr("stroke-dasharray",()=>o.setLinkStyle(t)).attr("stroke",()=>o.setLinkColor(t)).attr("d",()=>`M5,0,${n},0`),r.append("foreignObject").attr("y",10).attr("x",5).attr("width",c-10).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host").style("font-size","9px").html(t.linkTypeText),r.on("mouseover",(function(e){e.stopPropagation(),G(t,this)})).on("mouseout",W)}),N.call((function(t){v=t.node().getBBox().height,O=t.node().getBBox().width})),N.select(".legend-background").attr("height",v+50).attr("width",O+20).attr("rx","6"),Y()}function Y(){const t=A-(v+40+50);o.moveElement(N,0,t)}function P(){L=Math.min(b,A)/2-100,I=b/2,M=A/2,o.moveElement(T,I,M),T.select(".cluster-zone").attr("r",L)}function H(){P(),x!==p.clusterModel.hasCluster&&(x=!!p.clusterModel.hasCluster,function(t){let e;o.setCreateClusterZone(t,T,i,y),!t&&y&&(e=()=>{p.$apply((function(){p.showCreateClusterDialog()}))}),T.on("mouseup",e)}(x));const t=_.cloneDeep(p.clusterModel.nodes)||[],e=_.cloneDeep(p.clusterModel.links)||[];!function(t){t.forEach(t=>{if(t.hostname=r.shortenIri(t.endpoint),!_.isEmpty(t.recoveryStatus)){let e="cluster_management.cluster_graphical_view.recovery_state."+t.recoveryStatus.state.toLowerCase();t.recoveryStatus.affectedNodes&&t.recoveryStatus.affectedNodes.length>0&&(e+="_with_affected_node"),t.recoveryStatus.message=c.instant(e,{node:t.recoveryStatus.affectedNodes.join(", ")})}});const e=w.selectAll("#node-group").data(t,t=>t.address),n=o.createNodes(e,50);n.on("click",(t,e)=>{p.childContext.selectNode(e);const n=d3.select(".nodetooltip"),o=$(window).width();t.pageX<o/2?(n.style("left",t.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-t.pageX+"px")),n.style("top",t.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,I,M,L)}(t),function(t,e){const n=C.selectAll(".link").data(t,t=>t.id);o.createLinks(n),o.updateLinks(n,e)}(e,t)}p.childContext.redraw=H,p.childContext.resize=function(){b=S(),A=m(),E.attr("width",b),E.attr("height",A),H(),Y()},p.childContext.toggleLegend=()=>{p.showLegend=!p.showLegend,N.classed("hidden",!p.showLegend)},g(i),function(t){E=o.createClusterSvgElement(h[0]).attr("width",b).attr("height",A),E.call(D),T=o.createClusterZone(E,t),C=E.append("g").attr("id","links-group"),w=E.append("g").attr("id","nodes-group"),F()}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),B(),H()}}}]);const l=function(){const t=[];return t.push({nodeState:r.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:r.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:r.NodeState.CANDIDATE,customText:"node_state_candidate"}),t.push({nodeState:r.NodeState.NO_CLUSTER,customText:"node_state_no_cluster"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"node_state_out_of_sync"}),t.push({nodeState:r.NodeState.NO_CONNECTION,customText:"node_state_no_connection"}),t.push({nodeState:r.NodeState.READ_ONLY,customText:"node_state_read_only"}),t.push({nodeState:r.NodeState.RESTRICTED,customText:"node_state_restricted"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.searching_for_node",recoveryStatus:{state:r.RecoveryState.SEARCHING_FOR_NODE}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.waiting_for_snapshot",recoveryStatus:{state:r.RecoveryState.WAITING_FOR_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.receiving_snapshot",recoveryStatus:{state:r.RecoveryState.RECEIVING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.applying_snapshot",recoveryStatus:{state:r.RecoveryState.APPLYING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.building_snapshot",recoveryStatus:{state:r.RecoveryState.BUILDING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.sending_snapshot",recoveryStatus:{state:r.RecoveryState.SENDING_SNAPSHOT}}),t.forEach((t,e)=>t.id=e),t},u=function(){const t=[];return t.push({status:r.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:r.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:r.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t}},445:function(t,e,n){"use strict";e.a=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},o=u(),r=null,s=null,a=null,c=null;function i(t){var e;r="svg"===(e=(e=t).node()).tagName.toLowerCase()?e:e.ownerSVGElement,s=r.createSVGPoint(),document.body.appendChild(o)}i.show=function(){var o=Array.prototype.slice.call(arguments);o[o.length-1]instanceof SVGElement&&(a=o.pop());var r,s=n.apply(this,o),u=e.apply(this,o),p=t.apply(this,o),h=f(),y=l.length,_=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,S=c.apply(this,o);for(h.html(s).style("opacity",1).style("pointer-events","all");y--;)h.classed(l[y],!1);const m=o.filter(t=>t instanceof Event);return r=d.get(p).apply(this,m),S?Object.keys(S).forEach((function(t){h.style(t,S[t])})):h.classed(p,!0).style("top",r.top+u[0]+_+"px").style("left",r.left+u[1]+g+"px"),i},i.hide=function(){return f().style("opacity",0).style("pointer-events","none"),i},i.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),i},i.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),i},i.direction=function(e){return arguments.length?(t=null==e?e:h(e),i):t},i.offset=function(t){return arguments.length?(e=null==t?t:h(t),i):e},i.html=function(t){return arguments.length?(n=null==t?t:h(t),i):n},i.customPosition=function(t){return arguments.length?(c=null==t?t:h(t),i):c},i.destroy=function(){return o&&(f().remove(),o=null),i};var d=new Map(Object.entries({n:function(t){var e=p(t);return{top:e.n.y-o.offsetHeight,left:e.n.x-o.offsetWidth/2}},s:function(t){var e=p(t);return{top:e.s.y,left:e.s.x-o.offsetWidth/2}},e:function(t){var e=p(t);return{top:e.e.y-o.offsetHeight/2,left:e.e.x}},w:function(t){var e=p(t);return{top:e.w.y-o.offsetHeight/2,left:e.w.x-o.offsetWidth}},nw:function(t){var e=p(t);return{top:e.nw.y-o.offsetHeight,left:e.nw.x-o.offsetWidth}},ne:function(t){var e=p(t);return{top:e.ne.y-o.offsetHeight,left:e.ne.x}},sw:function(t){var e=p(t);return{top:e.sw.y,left:e.sw.x-o.offsetWidth}},se:function(t){var e=p(t);return{top:e.se.y,left:e.e.x}}})),l=d.keys();function u(){var t=d3.select(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null===o&&(o=u(),document.body.appendChild(o)),d3.select(o)}function p(t){for(var e=a||t.target;void 0===e.getScreenCTM&&"undefined"===e.parentNode;)e=e.parentNode;var n={},o=e.getScreenCTM(),r=e.getBBox(),c=r.width,i=r.height,d=r.x,l=r.y;return s.x=d,s.y=l,n.nw=s.matrixTransform(o),s.x+=c,n.ne=s.matrixTransform(o),s.y+=i,n.se=s.matrixTransform(o),s.x-=c,n.sw=s.matrixTransform(o),s.y-=i/2,n.w=s.matrixTransform(o),s.x+=c,n.e=s.matrixTransform(o),s.x-=c/2,s.y-=i/2,n.n=s.matrixTransform(o),s.y+=i,n.s=s.matrixTransform(o),n}function h(t){return"function"==typeof t?t:function(){return t}}return i}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[13,101],{153:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"font",(function(){return s})),n.d(e,"shortMessageLimit",(function(){return a})),n.d(e,"createClusterSvgElement",(function(){return c})),n.d(e,"createClusterZone",(function(){return i})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return l})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return f})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return S})),n.d(e,"updateLinks",(function(){return m})),n.d(e,"setLinkColor",(function(){return N})),n.d(e,"setLinkStyle",(function(){return O})),n.d(e,"positionNodesOnClusterZone",(function(){return v})),n.d(e,"removeEventListeners",(function(){return x}));var o=n(105);const r={ontoOrange:"var(--primary-color)",ontoBlue:"var(--secondary-color)",ontoGreen:"var(--tertiary-color)",ontoGrey:"var(--gray-color)"},s={FONT_AWESOME:"FONT_AWESOME",ICOMOON:"ICOMOON"},a=40;function c(t){return d3.select(t).append("svg")}function i(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function d(t,e,n,o=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",o),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),o&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function l(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function f(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n),r=o.merge(t).attr("id","node-group").classed("legend",n);return function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("rect").attr("class","node-info-background").attr("rx",6),o.append("text").attr("y",e+15).attr("class","id id-host"),o.append("text").attr("y",e+45).attr("class","node-info-text"))}(o,e,n),r}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,_.isEmpty(n.recoveryStatus)?function(t){if(t.nodeState===o.NodeState.LEADER)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.FOLLOWER)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.CANDIDATE)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.NO_CONNECTION)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.OUT_OF_SYNC)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.READ_ONLY)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.RESTRICTED)return{icon:"",font:s.ICOMOON};return{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return h[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===s.ICOMOON).classed("fa-d3",e.font===s.FONT_AWESOME).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(_.isEmpty(t.recoveryStatus))return 0;const o=g(y(t));return e=o.height,n=o.width,n})).attr("height",(function(t){return _.isEmpty(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return _.isEmpty(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return y(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(_.isEmpty(t.recoveryStatus))return void e.attr("width",0);const n=y(t),o=t.recoveryStatus.message&&t.recoveryStatus.message.length>a&&n!==t.recoveryStatus.message,r=o?n:t.recoveryStatus.message,s=g(n),c=g(t.recoveryStatus.message);e.on(".tooltip",null),o&&function(t,e,n,o,r){t.on("mouseover.tooltip",()=>{t.attr("width",r.width).attr("height",r.height).attr("x",-r.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${o}</div>`)})}(e,t.recoveryStatus.message,s,r,c),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${r}</div>`)}))}(t)}(t)}const h={[o.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:s.FONT_AWESOME},[o.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:s.ICOMOON}};function y(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>a?t.recoveryStatus.message.substring(0,a)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),o=n.height,r=n.width;return document.body.removeChild(e),{height:o,width:r}}function S(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function m(t,e){t.attr("stroke",N).style("stroke-dasharray",O).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,s=o.y-n.y,a=Math.sqrt(r*r+s*s),c=r/a,i=s/a,d=n.x+55*c,l=n.y+55*i,u=o.x-55*c,f=o.y-55*i;return"M"+d+","+l+"L"+u+","+f}(t,e))}function N(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function O(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function v(t,e,n,o){t.attr("transform",(r,s)=>{const a=2*Math.PI*s/t.size(),c=e+Math.cos(a)*o,i=n+Math.sin(a)*o;return r.x=c,r.y=i,`translate(${c}, ${i})`})}function x(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},232:function(t,e,n){"use strict";n.r(e);n(10);var o=n(153),r=n(105),s=n(447);let a=240;const c=angular.module("graphdb.framework.clustermanagement.directives",["graphdb.framework.utils.localstorageadapter"]),i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},d={node_state:"legend_node_state",link_state:"legend_link_state"};c.directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$rootScope",function(t,e,n,r,c,f){return{restrict:"A",link:function(p,h){const y=p.isAdmin();function g(t,e=""){Object.keys(t).forEach(n=>{let o="";e&&(o+=e),o+="."+n;const r=t[n];"string"==typeof r?t[n]=c.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&g(r,o)})}function S(){const o="collapsedMenu"===e.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(t.innerWidth-a)),600)}function m(){return Math.max(.95*(t.innerHeight-250),600)}let N,O,v;p.showLegend=!1,f.$on("$translateChangeSuccess",(function(){g(i),function(){o.updateClusterZoneLabels(x,T,i),Object.keys(d).forEach(t=>{d3.select("#"+t).text(R(t))}),N&&N.remove();F(),B()}()})),p.$on("$destroy",(function(){D.destroy(),o.removeEventListeners()}));let x,E,T,w,C,k,b=S(),A=m(),L=Math.min(b,A)/2-100,I=b/2,M=A/2;function R(t){return i[d[t]]}function F(){N=E.append("g").attr("id","legend-group").classed("hidden",!p.showLegend).classed("legend-group",!0)}p.width=function(){return b},p.height=function(){return A};const D=Object(s.a)().attr("class","d3-tip").customPosition((function(){const t=k.getBoundingClientRect(),e=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollLeft||document.body.scrollLeft;return{left:t.left+n+"px",top:t.top-30+e+"px"}})).html((function(t){return t.toolTip})),G=function(t,e){k=e,D.show(t,k)},W=function(){k=null,D.hide()};function B(){const t=l(),e=u();!function(t,e){t.forEach(t=>{const e=_.get(i,t.customText);t.toolTip=t.hostname=e}),e.forEach(t=>{t.toolTip=t.linkTypeText=i[t.linkTypeKey]})}(t,e),N.append("rect").attr("id","legend-background").attr("class","legend-background").attr("fill","#EEEEEE");const n=N.append("text").attr("id","node_state").attr("class","id id-host").attr("x",200).attr("y",24).text(R("node_state")),r=N.append("text").attr("id","link_state").attr("class","id id-host").attr("x",200).attr("y",319).text(R("link_state")),s=N.selectAll("#node-group").data(t),a=o.createNodes(s,25,!0);o.updateNodes(a),a.select(".node.member").on("mouseover",(function(t,e){t.stopPropagation(),G(e,this)})).on("mouseout",W),a.attr("transform",(function(t){const e=Math.floor(t.id/4);return`translate(${35+65*(t.id%4)}, ${59+65*e})`})),N.call((function(t){O=t.node().getBBox().width})),n.attr("x",10+O/2),r.attr("x",10+O/2);const c=O/3,d=N.append("g").attr("id","links-group");d.attr("transform","translate(10, 329)"),e.forEach((t,e)=>{const n=c-5,r=d.append("g").classed("link",!0).classed("legend",!0).attr("transform",()=>`translate(${e*c}, 0)`);r.append("path").classed("link",!0).attr("stroke-dasharray",()=>o.setLinkStyle(t)).attr("stroke",()=>o.setLinkColor(t)).attr("d",()=>`M5,0,${n},0`),r.append("foreignObject").attr("y",10).attr("x",5).attr("width",c-10).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host").style("font-size","9px").html(t.linkTypeText),r.on("mouseover",(function(e){e.stopPropagation(),G(t,this)})).on("mouseout",W)}),N.call((function(t){v=t.node().getBBox().height,O=t.node().getBBox().width})),N.select(".legend-background").attr("height",v+50).attr("width",O+20).attr("rx","6"),Y()}function Y(){const t=A-(v+40+50);o.moveElement(N,0,t)}function P(){L=Math.min(b,A)/2-100,I=b/2,M=A/2,o.moveElement(T,I,M),T.select(".cluster-zone").attr("r",L)}function H(){P(),x!==p.clusterModel.hasCluster&&(x=!!p.clusterModel.hasCluster,function(t){let e;o.setCreateClusterZone(t,T,i,y),!t&&y&&(e=()=>{p.$apply((function(){p.showCreateClusterDialog()}))}),T.on("mouseup",e)}(x));const t=_.cloneDeep(p.clusterModel.nodes)||[],e=_.cloneDeep(p.clusterModel.links)||[];!function(t){t.forEach(t=>{if(t.hostname=r.shortenIri(t.endpoint),!_.isEmpty(t.recoveryStatus)){let e="cluster_management.cluster_graphical_view.recovery_state."+t.recoveryStatus.state.toLowerCase();t.recoveryStatus.affectedNodes&&t.recoveryStatus.affectedNodes.length>0&&(e+="_with_affected_node"),t.recoveryStatus.message=c.instant(e,{node:t.recoveryStatus.affectedNodes.join(", ")})}});const e=w.selectAll("#node-group").data(t,t=>t.address),n=o.createNodes(e,50);n.on("click",(t,e)=>{p.childContext.selectNode(e);const n=d3.select(".nodetooltip"),o=$(window).width();t.pageX<o/2?(n.style("left",t.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-t.pageX+"px")),n.style("top",t.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,I,M,L)}(t),function(t,e){const n=C.selectAll(".link").data(t,t=>t.id);o.createLinks(n),o.updateLinks(n,e)}(e,t)}p.childContext.redraw=H,p.childContext.resize=function(){b=S(),A=m(),E.attr("width",b),E.attr("height",A),H(),Y()},p.childContext.toggleLegend=()=>{p.showLegend=!p.showLegend,N.classed("hidden",!p.showLegend)},g(i),function(t){E=o.createClusterSvgElement(h[0]).attr("width",b).attr("height",A),E.call(D),T=o.createClusterZone(E,t),C=E.append("g").attr("id","links-group"),w=E.append("g").attr("id","nodes-group"),F()}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),B(),H()}}}]);const l=function(){const t=[];return t.push({nodeState:r.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:r.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:r.NodeState.CANDIDATE,customText:"node_state_candidate"}),t.push({nodeState:r.NodeState.NO_CLUSTER,customText:"node_state_no_cluster"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"node_state_out_of_sync"}),t.push({nodeState:r.NodeState.NO_CONNECTION,customText:"node_state_no_connection"}),t.push({nodeState:r.NodeState.READ_ONLY,customText:"node_state_read_only"}),t.push({nodeState:r.NodeState.RESTRICTED,customText:"node_state_restricted"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.searching_for_node",recoveryStatus:{state:r.RecoveryState.SEARCHING_FOR_NODE}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.waiting_for_snapshot",recoveryStatus:{state:r.RecoveryState.WAITING_FOR_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.receiving_snapshot",recoveryStatus:{state:r.RecoveryState.RECEIVING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.applying_snapshot",recoveryStatus:{state:r.RecoveryState.APPLYING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.building_snapshot",recoveryStatus:{state:r.RecoveryState.BUILDING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.sending_snapshot",recoveryStatus:{state:r.RecoveryState.SENDING_SNAPSHOT}}),t.forEach((t,e)=>t.id=e),t},u=function(){const t=[];return t.push({status:r.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:r.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:r.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t}},447:function(t,e,n){"use strict";e.a=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},o=u(),r=null,s=null,a=null,c=null;function i(t){var e;r="svg"===(e=(e=t).node()).tagName.toLowerCase()?e:e.ownerSVGElement,s=r.createSVGPoint(),document.body.appendChild(o)}i.show=function(){var o=Array.prototype.slice.call(arguments);o[o.length-1]instanceof SVGElement&&(a=o.pop());var r,s=n.apply(this,o),u=e.apply(this,o),p=t.apply(this,o),h=f(),y=l.length,_=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,S=c.apply(this,o);for(h.html(s).style("opacity",1).style("pointer-events","all");y--;)h.classed(l[y],!1);const m=o.filter(t=>t instanceof Event);return r=d.get(p).apply(this,m),S?Object.keys(S).forEach((function(t){h.style(t,S[t])})):h.classed(p,!0).style("top",r.top+u[0]+_+"px").style("left",r.left+u[1]+g+"px"),i},i.hide=function(){return f().style("opacity",0).style("pointer-events","none"),i},i.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),i},i.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),i},i.direction=function(e){return arguments.length?(t=null==e?e:h(e),i):t},i.offset=function(t){return arguments.length?(e=null==t?t:h(t),i):e},i.html=function(t){return arguments.length?(n=null==t?t:h(t),i):n},i.customPosition=function(t){return arguments.length?(c=null==t?t:h(t),i):c},i.destroy=function(){return o&&(f().remove(),o=null),i};var d=new Map(Object.entries({n:function(t){var e=p(t);return{top:e.n.y-o.offsetHeight,left:e.n.x-o.offsetWidth/2}},s:function(t){var e=p(t);return{top:e.s.y,left:e.s.x-o.offsetWidth/2}},e:function(t){var e=p(t);return{top:e.e.y-o.offsetHeight/2,left:e.e.x}},w:function(t){var e=p(t);return{top:e.w.y-o.offsetHeight/2,left:e.w.x-o.offsetWidth}},nw:function(t){var e=p(t);return{top:e.nw.y-o.offsetHeight,left:e.nw.x-o.offsetWidth}},ne:function(t){var e=p(t);return{top:e.ne.y-o.offsetHeight,left:e.ne.x}},sw:function(t){var e=p(t);return{top:e.sw.y,left:e.sw.x-o.offsetWidth}},se:function(t){var e=p(t);return{top:e.se.y,left:e.e.x}}})),l=d.keys();function u(){var t=d3.select(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null===o&&(o=u(),document.body.appendChild(o)),d3.select(o)}function p(t){for(var e=a||t.target;void 0===e.getScreenCTM&&"undefined"===e.parentNode;)e=e.parentNode;var n={},o=e.getScreenCTM(),r=e.getBBox(),c=r.width,i=r.height,d=r.x,l=r.y;return s.x=d,s.y=l,n.nw=s.matrixTransform(o),s.x+=c,n.ne=s.matrixTransform(o),s.y+=i,n.se=s.matrixTransform(o),s.x-=c,n.sw=s.matrixTransform(o),s.y-=i/2,n.w=s.matrixTransform(o),s.x+=c,n.e=s.matrixTransform(o),s.x-=c/2,s.y-=i/2,n.n=s.matrixTransform(o),s.y+=i,n.s=s.matrixTransform(o),n}function h(t){return"function"==typeof t?t:function(){return t}}return i}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[130],{265:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"import-rdf-file",getSteps:(e,t)=>{const i=t.GuideUtils,o=t.toastr,l=t.$translate,n=t.$interpolate,r=t.EventEmitterService;e.mainAction="import-file";const c=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"import",showIntro:!0},e)}];e.resourcePath&&c.push({guideBlockName:"download-guide-resource",options:angular.extend({},{title:""},e)});const s=i.getGuideElementSelector("import-settings-import-button");let a;return c.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.content",url:"/import",elementSelector:i.getGuideElementSelector("uploadRdfFileButton"),class:"upload-rdf-file-button-guide-dialog",advanceOn:void 0,show:t=>()=>{a=r.subscribe("filesForUploadSelected",o=>{(o.files||[]).some(t=>t.name===e.resourceFile)?i.isVisible(i.getGuideElementSelector("import-file-"+e.resourceFile))?i.getOrWaiteFor(".confirm-duplicate-files-dialog").then(()=>t.next()):i.getOrWaiteFor(s).then(()=>t.next()):o.cancel=!0})},hide:()=>()=>{a&&a()},onNextValidate:()=>Promise.allSettled([i.getOrWaiteFor(".confirm-duplicate-files-dialog"),i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile))]).then(([t,r])=>"rejected"!==t.status||"rejected"!==r.status||(i.noNextErrorToast(o,l,n,"guide.step_plugin.import_rdf_file.file-must-be-uploaded",e),!1)),onNextClick:t=>{i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile)).then(e=>{e.click()}).catch(e=>{console.log(e)}).finally(()=>t.next())}},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.confirm_duplicate_files_dialog.content",elementSelector:i.getElementSelector(".confirm-duplicate-files-dialog .confirm-overwrite-btn"),url:"/import",placement:"bottom",class:"import-file-button-guide-dialog",skipFromHistory:!0,showOn:()=>i.isVisible(i.getElementSelector(".confirm-duplicate-files-dialog")),onNextClick:()=>i.clickOnElement(".confirm-duplicate-files-dialog .confirm-overwrite-btn")(),onPreviousClick:()=>i.isVisible(i.getElementSelector(".confirm-duplicate-files-dialog"))?i.clickOnElement(".confirm-duplicate-files-dialog .cancel-btn"):Promise.resolve()},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.import_rdf_file.import-settings.import.button.content",elementSelector:s,placement:"top",class:"import-settings-import-file-button-guide-dialog",onPreviousClick:()=>new Promise((function(e){i.clickOnGuideElement("import-settings-cancel-button")().then(()=>e())})),beforeShowPromise:()=>t.GuideUtils.deferredShow(300)().then(()=>i.getOrWaiteFor(s,3).catch(e=>(t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),Promise.reject(e)))),onNextClick:()=>i.clickOnGuideElement("import-settings-import-button")(),canBePaused:!1},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.import_status_info.content",url:"/import",elementSelector:".import-resource-message",class:"import-status-info-guide-dialog",beforeShowPromise:()=>i.isVisible(".import-resource-message")?Promise.resolve():i.waitFor(".import-resource-message",10),onPreviousClick:()=>i.getOrWaiteFor(i.getGuideElementSelector("import-file-"+e.resourceFile),10).then(e=>{e.click()})},e)}),c}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{266:function(e,i){PluginRegistry.add("guide.step",[{guideBlockName:"click-main-menu",getSteps:(e,i)=>{const t=i.GuideUtils,l=[];let n,o,s,u,a,r,m="",p="";switch(e.menu){case"repositories":n="menu-setup",o="menu.setup.label",m="menu-setup-guide-dialog",s="sub-menu-repositories",u="menu.repositories.label",p="sub-menu-repositories-guide-dialog",a="menu.repositories.label",r="view.repositories.helpInfo";break;case"import":n="menu-import",o="common.import",m="menu-import-guide-dialog",a="common.import",r="view.import.helpInfo";break;case"autocomplete":n="menu-setup",o="menu.setup.label",m="menu-setup-guide-dialog",s="sub-menu-autocomplete",u="menu.autocomplete.label",p="sub-menu-autocomplete-guide-dialog",a="view.autocomplete.title",r="view.autocomplete.helpInfo";break;case"visual-graph":n="menu-explore",o="menu.explore.label",m="menu-explore-guide-dialog",s="sub-menu-visual-graph",u="visual.graph.label",p="sub-menu-visual-graph-guide-dialog",a="visual.graph.label",r="view.visual.graph.helpInfo";break;case"sparql":n="menu-sparql",o="menu.sparql.label",m="menu-sparql-guide-dialog",a="view.sparql-editor.title",r="view.sparql-editor.helpInfo";break;case"class-hierarchy":n="menu-explore",o="menu.explore.label",m="menu-explore-guide-dialog",s="menu-class-hierarchy",u="menu.class.hierarchy.label",p="sub-menu-class-hierarchy-guide-dialog",a="view.class.hierarchy.title",r="view.class.hierarchy.helpInfo"}const c=s?" div":" a";return e.viewName=a,e.showIntro&&e.mainAction&&l.push({guideBlockName:"info-message",options:angular.extend({},{content:"guide.step-intro."+e.mainAction,extraContent:r,extraContentClass:"alert alert-help text-left",skipPoint:!0},e)}),l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-menu.click-menu",menuLabelKey:o,class:m,elementSelector:t.getGuideElementSelector(n),showOn:()=>(s&&t.isGuideElementVisible(s)&&t.clickOnGuideElement(n,c)(),!0),onNextClick:e=>t.clickOnGuideElement(n,c)().then(()=>{s||e.next()}),initPreviousStep:(e,i)=>{const t=e.ShepherdService.getPreviousStepFromHistory(i);return t?t.options.initPreviousStep(e,t.options.id):Promise.resolve()}},e)}),s&&l.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-menu.click-menu",menuLabelKey:u,class:p,elementSelector:t.getGuideElementSelector(s),placement:"right",canBePaused:!1,showOn:()=>(t.isGuideElementVisible(s)||t.clickOnGuideElement(n," div")(),!0),onNextClick:e=>t.clickOnGuideElement(s," a")().then(()=>e.next()),initPreviousStep:(e,i)=>{const t=e.ShepherdService.getPreviousStepFromHistory(i);return t?t.options.initPreviousStep(e,t.options.id):Promise.resolve()}},e)}),l}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{267:function(e,t){const o=(e,t)=>e.$repositories.getRepositories().find(e=>e.id===t.repositoryId)?t.repositoryId:t.repositoryIdBase,i=(e,t)=>e.GuideUtils.getGuideElementSelector(`repository-${o(e,t)}-button`);PluginRegistry.add("guide.step",[{guideBlockName:"select-repository-dropdown",getSteps:(e,t)=>{const s=t.GuideUtils;return e.mainAction="select-repository",e.getRepositoryId=()=>o(t,e),[{guideBlockName:"clickable-element",options:angular.extend({},{skipPoint:!0,content:"guide.step_plugin.choose-repository.content",elementSelector:s.getGuideElementSelector("repositoriesGroupButton"),class:"repositories-group-button-guide-dialog",onNextClick:e=>s.clickOnGuideElement("repositoriesGroupButton")().then(()=>e.next())},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository.content",elementSelector:()=>i(t,e),class:"repository-select-button-guide-dialog",advanceOn:void 0,beforeShowPromise:()=>t.GuideUtils.waitFor(i(t,e),1).catch(e=>{throw t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),e}),show:o=>()=>{$("#repositorySelectDropdown").addClass("autoCloseOff"),$(i(t,e)).on("mouseup.selectRepositoryButtonClick",(function(){o.next()}))},onNextClick:o=>{$(i(t,e)).off("mouseup.selectRepositoryButtonClick"),$("#repositorySelectDropdown").removeClass("autoCloseOff"),s.clickOnElement(i(t,e))().then(()=>o.next())},hide:()=>()=>{$("#repositorySelectDropdown").removeClass("autoCloseOff"),$(i(t,e)).off("mouseup.selectRepositoryButtonClick")},canBePaused:!1},e)}]}},{guideBlockName:"select-repository-plug",getSteps:(e,t)=>{const o=t.GuideUtils;return[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.select-repository-plug.content",elementSelector:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`),onNextClick:o.getGuideElementSelector(`repository-${e.repositoryId}-plug`)},e)}]}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{268:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"table-graph-explore",getSteps:(e,t)=>{const r=t.GuideUtils,l=t.$location,o=t.$route;e.mainAction="table-graph";const i=[{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step-intro.table-graph",scrollToHandler:r.scrollToTop,elementSelector:r.getSparqlResultsSelectorForIri(e.iri),class:"table-graph-instance-guide-dialog",placement:"top",onNextClick:(e,t)=>{r.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(e,t)=>{if(e.ShepherdService.getCurrentStepId()===t)return Promise.resolve();const r=e.ShepherdService.getPreviousStepFromHistory(t);return r.options.initPreviousStep(e,r.options.id)}},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-overview",scrollToHandler:r.scrollToTop,elementSelector:r.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,class:"table-graph-overview-guide-dialog",placement:"top",beforeShowPromise:()=>r.waitFor(`.resource-info a.source-link[href="${e.iri}"]`,3).then(()=>r.waitFor(r.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,3)),initPreviousStep:(t,o)=>{if(t.ShepherdService.getCurrentStepId()===o)return r.defaultInitPreviousStep(t,o);return`/resource?uri=${e.iri}&role=subject`!==decodeURIComponent(l.url())?(l.path("/resource").search({uri:e.iri,role:"subject"}),r.waitFor(`.resource-info a.source-link[href="${e.iri}"]`,3)):Promise.resolve()}},e)}];return angular.isArray(e.subSteps)&&e.subSteps.forEach(t=>{switch(t.type){case"link":i.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-link",elementSelector:r.getSparqlResultsSelectorForIri(t.iri),class:"table-graph-link-guide-dialog",onNextClick:(e,t)=>{r.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(i,n)=>{const a=`/resource?uri=${t.iri}&role=subject`,s=`/resource?uri=${e.iri}&role=subject`,u=decodeURIComponent(l.url());return i.ShepherdService.getCurrentStepId()===n&&s===u?Promise.resolve():a===u?r.defaultInitPreviousStep(i,n):(l.url(a),o.reload(),r.waitFor(r.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR))}},angular.extend({},e,t))});break;case"role":i.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-role",elementSelector:r.getGuideElementSelector("role-"+t.role),class:"visual_graph-role-guide-dialog",onNextClick:(e,t)=>{r.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click")).then(()=>e.next())},initPreviousStep:(e,i)=>{if(e.ShepherdService.getCurrentStepId()===i)return Promise.resolve();const n=e.ShepherdService.getPreviousStepFromHistory(i);return n.options.initPreviousStep(e,n.options.id).then(()=>{let e=l.url();return e=e.substring(0,e.indexOf("role=")+5),e+=t.role,l.url(e),o.reload(),r.waitFor(r.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR)})}},angular.extend({},e,t))});break;case"visual":i.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.table-graph-visual",elementSelector:r.getGuideElementSelector("explore-visual"),class:"table-graph-visual-button-guide-dialog",onNextClick:(e,t)=>{r.waitFor(t.elementSelector,3).then(()=>$(t.elementSelector).trigger("click"))},initPreviousStep:(e,t)=>e.ShepherdService.getCurrentStepId()===t?Promise.resolve():r.defaultInitPreviousStep(e,t)},angular.extend({},e,t))}),i.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_intro.content",extraContent:t.extraContentVisualIntro,url:"/graphs-visualizations",elementSelector:".graph-visualization",placement:"left",canBePaused:!1,forceReload:!0,onNextClick:e=>{window.history.back(),e.next()}},angular.extend({},e,t))});break;case"row":i.push({guideBlockName:"read-only-element",options:angular.extend({},{elementSelector:r.getSparqlResultsSelectorForRow(t.row),class:"visual_graph-row-guide-dialog"},angular.extend({},e,t))});break;case"table":i.push({guideBlockName:"read-only-element",options:angular.extend({},{elementSelector:r.CSS_SELECTORS.SPARQL_RESULTS_ROWS_SELECTOR,class:"visual_graph-table-guide-dialog",placement:"top"},angular.extend({},e,t))})}}),i}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[134],{269:function(e,i){const t=()=>()=>{$(".node-wrapper").addClass("disable-visual-graph-node")},o=()=>()=>{$(".node-wrapper").removeClass("disable-visual-graph-node")};PluginRegistry.add("guide.step",[{guideBlockName:"visual-graph",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$location,a=i.$route;return e.mainAction="visual-graph",[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"visual-graph",showIntro:!0},e)},{guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_input_IRI.content",forceReload:!0,url:"/graphs-visualizations",elementSelector:t.getGuideElementSelector("graphVisualisationSearchInputNotConfigured"," input"),class:"visual-graph-input-iri-guide-dialog",onNextValidate:e=>Promise.resolve(t.validateTextInput(e.elementSelector,e.easyGraphInputText))},e)},{guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_show_autocomplete.content",url:"/graphs-visualizations",elementSelector:t.getGuideElementSelector("autocomplete-"+e.iri),class:"visual-graph-show-autocomplete-guide-dialog",onNextClick:(e,i)=>t.waitFor(i.elementSelector,3).then(()=>$(i.elementSelector).trigger("click")),canBePaused:!1,forceReload:!0},e)},{guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.visual_graph_intro.content",url:"/graphs-visualizations",elementSelector:".graph-visualization",placement:"left",onPreviousClick:()=>{o.url("/graphs-visualizations"),a.reload();const i=t.getGuideElementSelector("graphVisualisationSearchInputNotConfigured"," input");return t.waitFor(i,3).then(()=>{t.validateTextInput(i,e.easyGraphInputText)})},initPreviousStep:()=>"/graphs-visualizations?uri="+e.iri!==decodeURIComponent(o.url())?(o.path("/graphs-visualizations").search({uri:e.iri}),t.waitFor(`.node-wrapper[id^="${e.iri}"] circle`,3)):Promise.resolve(),canBePaused:!1,forceReload:!0},e)}]}},{guideBlockName:"visual-graph-expand",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$rootScope,a=i.$route,n=`.node-wrapper[id^="${e.iri}"] circle`;return[{guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-expand.title",content:"guide.step_plugin.visual-graph-expand.content",url:"/graphs-visualizations",canBePaused:!1,class:"visual-graph-expand-node-guide-dialog",elementSelector:n,advanceOn:void 0,onNextClick:e=>{t.graphVizExpandNode(n),e.getCurrentStep().hide(),t.awaitAlphaDropD3(null,o)().then(()=>{e.next()})},show:e=>()=>{$(n).on("dblclick.onNodeDbClicked",(e=>()=>{t.graphVizExpandNode(n),e.getCurrentStep().hide(),t.awaitAlphaDropD3(null,o)().then(()=>{e.next()})})(e))},hide:()=>()=>{$(n).off("dblclick.onNodeDbClicked")},beforeShowPromise:()=>(a.reload(),t.deferredShow(50)().then(()=>{t.awaitAlphaDropD3(n,o)()})),initPreviousStep:(e,i)=>{const a=e.ShepherdService.getPreviousStepFromHistory(i);return a.options.initPreviousStep(e,a.id).then(()=>e.ShepherdService.getCurrentStepId()===i?Promise.resolve:(t.graphVizExpandNode(n),t.deferredShow(50)().then(()=>t.awaitAlphaDropD3(null,o)())))}},e)}]}},{guideBlockName:"visual-graph-properties",getSteps:(e,i)=>{const t=i.GuideUtils,o=i.$rootScope,a=`.node-wrapper[id^="${e.iri}"] circle`;let n,l;const r=[{guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties.title",content:"guide.step_plugin.visual-graph-properties.content",url:"/graphs-visualizations",class:"visual-graph-show-properties-intro-guide-dialog",elementSelector:a,canBePaused:!1,advanceOn:void 0,show:e=>()=>{$(a).on("click.onNodeClicked",((e,i)=>o=>{l?o.timeStamp-n<400&&(e.$timeout.cancel(l),l=null):(n=o.timeStamp,l=e.$timeout((function(){t.graphVizShowNodeInfo(a),l=null,i.next()}),500))})(i,e))},hide:()=>()=>{$(a).off("click.onNodeClicked")},onNextClick:(e,i)=>{t.graphVizShowNodeInfo(i.elementSelector),e.next()},beforeShowPromise:t.awaitAlphaDropD3(a,o)},e)},{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-side-panel.title",content:"guide.step_plugin.visual-graph-properties-side-panel.content",url:"/graphs-visualizations",elementSelector:".rdf-side-panel-content",class:"visual-graph-side-panel-content-guide-dialog",canBePaused:!1,placement:"left",beforeShowPromise:t.deferredShow(500),onPreviousClick:()=>new Promise((function(e){t.waitFor(s,3).then(()=>{$(s).trigger("click"),e()}).catch(()=>e())}))},e)}];angular.isArray(e.focusProperties)&&e.focusProperties.forEach(i=>{angular.isObject(i)||(i={property:i});const o="types"===i.property?"-types":"-property",a=i.skipGenericMessage&&i.message?null:"guide.step_plugin.visual-graph-properties-focus"+o+".content";r.push({guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-focus"+o+".title",content:a,url:"/graphs-visualizations",class:"visual-graph-properties-focus-guide-dialog",canBePaused:!1,placement:"left",elementSelector:t.getGuideElementSelector("graph-visualization-node-info-"+i.property),focusProperty:i.property,extraContent:i.message},e)})});const s=t.getGuideElementSelector("close-info-panel");return r.push({guideBlockName:"clickable-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-properties-side-panel-close.title",content:"guide.step_plugin.visual-graph-properties-side-panel-close.content",url:"/graphs-visualizations",canBePaused:!1,placement:"left",class:"visual-graph-properties-side-panel-close-guide-dialog",elementSelector:s,advanceOn:{selector:s,event:"click"},beforeShowPromise:()=>(t.graphVizShowNodeInfo(a),t.deferredShow(500)()),onNextClick:()=>t.waitFor(s,3).then(()=>$(s).trigger("click"))},e)}),r}},{guideBlockName:"visual-graph-link-focus",getSteps:(e,i)=>{const a=i.GuideUtils,n=i.$rootScope,l=`.link-wrapper[id^="${e.fromIri}>${e.toIri}"]`;return[{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-link-focus.title",content:"guide.step_plugin.visual-graph-link-focus.content",url:"/graphs-visualizations",canBePaused:!1,class:"visual-graph-link-focus-guide-dialog",elementSelector:l,show:t,hide:o,beforeShowPromise:a.awaitAlphaDropD3(l,n)},e)}]}},{guideBlockName:"visual-graph-node-focus",getSteps:(e,i)=>{const a=i.GuideUtils,n=i.$rootScope,l=`.node-wrapper[id^="${e.iri}"] circle`;return[{guideBlockName:"read-only-element",options:angular.extend({},{title:"guide.step_plugin.visual-graph-node-focus.title",content:"guide.step_plugin.visual-graph-node-focus.content",url:"/graphs-visualizations",canBePaused:!1,elementSelector:l,class:"visual-graph-node-focus-guide-dialog",show:t,hide:o,beforeShowPromise:a.awaitAlphaDropD3(l,n),initPreviousStep:(e,i)=>{if(a.isVisible(l))return Promise.resolve();const t=e.ShepherdService.getPreviousStepFromHistory(i);return t.options.initPreviousStep(e,t.id)}},e)}]}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[135],{270:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"welcome",getSteps:(e,t)=>{const n=t.GuideUtils,i=t.$translate,o=t.$interpolate;return[{guideBlockName:"info-message",options:{title:"guide.step_plugin.welcome.title",content:"guide.step_plugin.welcome.content",infoIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.info-icon-hint",e),mouseIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.mouse-icon-hint",e),inputIconHint:n.translateLocalMessage(i,o,"guide.step_plugin.welcome.input-icon-hint",e)}},{guideBlockName:"info-message",options:{title:"guide.step_plugin.welcome.title",content:"guide.step_plugin.welcome-what.content"}}]}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{271:function(e,t){const i={title:"",content:"",elementSelector:void 0,placement:"bottom",url:void 0,type:"read-only-element",maxWaitTime:3,canBePaused:!0,onNextClick:void 0,onNextValidate:()=>Promise.resolve(!0),onPreviousClick:void 0,skipPoint:!1,class:""},o=(e,t,i)=>()=>e.GuideUtils.waitFor(t,i).catch(t=>{throw e.toastr.error(e.$translate.instant("guide.unexpected.error.message")),t});PluginRegistry.add("guide.step",[{guideBlockName:"clickable-element",getStep:(e,t)=>{const n=angular.extend({},i,{advanceOn:{selector:e.elementSelector,event:"click"},initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"clickable"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"read-only-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"input-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"input"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"info-message",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"})},{guideBlockName:"guide-end",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly",title:"guide.step_plugin.guide-ended.title",content:"guide.step_plugin.guide-ended.content",show:e=>()=>{e.options.confirmCancel=!1},hide:e=>()=>{e.options.confirmCancel=!0}})}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{190:function(e,o,i){"use strict";i.r(o);var r=i(0);function t(e,o,i,t,s){e.message=t.trustAsHtml(Object(r.decodeHTML)(i.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s}))),e.cancel=()=>{o.dismiss()},e.keepBoth=()=>{o.close({overwrite:!1})},e.overwrite=()=>{o.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",t),t.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[138],{189:function(t,e){function p(t,e,p,a){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=p,t.importFormat=t.importFormats.find(t=>t.type===a),t.startImport=!0,t.sizeLimit=4e3,t.setFormat=e=>{t.importFormat=e},t.cancel=()=>{e.dismiss()},t.ok=()=>{e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",p),p.$inject=["$scope","$uibModalInstance","text","format"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[139],{188:function(o,t){function r(o,t){o.importFormat={name:"Auto",type:""},o.startImport=!0,o.cancel=function(){t.dismiss()},o.ok=function(){t.close({url:o.dataUrl,format:o.importFormat.type,startImport:o.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[140],{187:function(t,e){function a(t,e,a,s,n,r,i,l,c){t.settings=n,t.hasParserSettings=r,t.isMultiple=l,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length),t.showAdvancedSettings=!1,t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(p(),e.close(t.settings))},t.cancel=function(){p(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(i),t.target="data"},t.addReplaceGraph=function(e){let n=!0;"default"!==e&&(n=s.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",n),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):a.warning(c.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,a){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(a))},t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings};const p=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data"}angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",a),a.$inject=["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{196:function(t,e){function o(){return{link:function(t,e,o){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.0-TR9">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",o),o.$inject=[]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{124:function(e,o){function r(e,o){return{restrict:"E",templateUrl:"js/angular/import/templates/import-resource-status-info.html",scope:{resource:"="},link:r=>{const s=[];r.popoverTemplate="resourceStatusInfoTemplate.html",r.popoverIsOpen=!1,r.context=r.resource.importResource.context,r.replaceGraphs=r.resource.importResource.replaceGraphs,r.baseUrl=decodeURIComponent(r.resource.importResource.baseURI),r.forceSerial=r.resource.importResource.forceSerial,r.importedOn=r.resource.importResource.importedOn,r.parserSettings=r.resource.importResource.parserSettings,r.hasReplacedGraphs=r.resource.importResource.numReplacedGraphs>0,r.hasAddedStatements=r.resource.importResource.addedStatements>0,r.hasRemovedStatements=r.resource.importResource.removedStatements>0,r.open=()=>{r.closeAllDialogs(),r.popoverIsOpen=!0},r.closeAllDialogs=()=>{e.$broadcast("closePopovers")},r.close=()=>{r.popoverIsOpen=!1};const t=e=>{"Escape"===e.key&&r.$apply(()=>{r.close()})};s.push(r.$on("closePopovers",r.close)),o.on("keydown",t),r.$on("$destroy",()=>{o.off("keydown",t),s.forEach(e=>e())})}}}angular.module("graphdb.framework.import.directives.import-resource-status-info",[]).directive("importResourceStatusInfo",r),r.$inject=["$rootScope","$document"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{195:function(i,r){function t(i){return{restrict:"A",require:"ngModel",link:function(r,t,n,e){e.$parsers.unshift((function(r){const t=i.isValidIri(r,r.toString());return e.$setValidity("validateUri",t),r}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",t),t.$inject=["UriUtils"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[144],{273:function(o,e){PluginRegistry.add("route",{url:"/import",module:"graphdb.framework.impex.import",path:"import/app",chunk:"import",controller:"ImportViewCtrl",templateUrl:"pages/import.html",title:"common.import",reloadOnSearch:!1,helpInfo:"view.import.helpInfo"}),PluginRegistry.add("main.menu",{items:[{label:"Import",labelKey:"common.import",href:"import",order:0,role:"IS_AUTHENTICATED_FULLY",icon:"icon-import",guideSelector:"menu-import"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[145],{94:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return i}));var r=n(65);const i={USER:"user",SERVER:"server"};function c(e){let t=i.USER,n=void 0,c=[];return{updateActiveTabId:function(n){t=n,e.emit("activeTabIdUpdated",o())},getActiveTabId:o,onActiveTabIdUpdated:function(t){return e.subscribe("activeTabIdUpdated",()=>t(o()))},getFiles:u,addFile:function(t){c.push(t),e.emit("fileAdded",Object(r.cloneDeep)(t))},updateFiles:function(t){c=t,e.emit("filesUpdated",u())},onFilesUpdated:function(t){return e.subscribe("filesUpdated",()=>t(u()))},updateResources:function(t){n=t,e.emit("resourcesUpdated",d())},getResources:d,onResourcesUpdated:function(t){return e.subscribe("resourcesUpdated",()=>t(d()))}};function o(){return t}function u(){return Object(r.cloneDeep)(c)}function d(){return Object(r.cloneDeep)(n)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",c),c.$inject=["EventEmitterService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[146],{275:function(e,l){PluginRegistry.add("route",[{url:"/jdbc",module:"graphdb.framework.jdbc",path:"jdbc/app",chunk:"jdbc",controller:"JdbcListCtrl",templateUrl:"pages/jdbc.html",title:"view.jdbc.title",helpInfo:"view.jdbc.helpInfo"},{url:"/jdbc/configuration/create",module:"graphdb.framework.jdbc",path:"jdbc/app",chunk:"jdbc",controller:"JdbcCreateCtrl",templateUrl:"pages/jdbc-create.html",title:"view.jdbc.create.title",helpInfo:"view.jdbc.create.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:"JDBC",labelKey:"menu.jdbc.label",href:"jdbc",order:50,parent:"Setup",role:"IS_AUTHENTICATED_FULLY",guideSelector:"sub-menu-jdbs"}]})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{276:function(N,S,I){"use strict";I.r(S),I.d(S,"RecoveryStatusState",(function(){return A}));const A={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[148],{209:function(n,o,r){"use strict";r.r(o),r.d(o,"ConnectorCommand",(function(){return c}));const c={CREATE:"create",REPAIR:"repair",DROP:"drop"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[149],{73:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,u=!0,a=!0,n,h,o,p,c,y,Q,d,_,I,l,D,g,b,L){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=u,this._startQuerySameAs=a,this._startGraphQuery=n,this._startIRI=h,this._startIRILabel=o,this._expandQuery=p,this._resourceQuery=c,this._predicateLabelQuery=y,this._resourcePropertiesQuery=Q,this._shared=d,this._description=_,this._hint=I,this._startGraphQueryDescription=l,this._expandQueryDescription=D,this._resourceQueryDescription=g,this._predicateLabelQueryDescription=b,this._resourcePropertiesQueryDescription=L}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{234:function(e,r,t){"use strict";t.r(r);t(7),t(26),t(40),t(41);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,p){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,p,d){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=p.instant(d)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=p.instant("security.confirm.password")):(r.passwordError=p.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.addCustomRole=function(e){return e.text=e.text.toUpperCase(),e}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,p,d){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=d.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=d.instant("view.create.user.title"),e.passwordPlaceholder=d.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.create.admin"),message:d.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(d.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,d.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=d.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=d.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=d.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,p,d,l,E){angular.extend(this,p("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){d.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?l.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,d.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,p,d,l,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=l.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.saveButtonText=d.instant("common.save.btn"),e.pageTitle=d.instant("view.settings.title"),e.passwordPlaceholder=d.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=l.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.save.admin.settings"),message:d.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(d.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,d.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){l.toggleThemeMode(e.workbenchSettings.mode)},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,l.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();l.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{235:function(e,r,t){"use strict";t.r(r);t(7),t(26),t(40),t(41);var s=t(5);const n=function(e){return e.location?`${e.id}@${e.location}`:e.id},o=angular.module("graphdb.framework.security.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.jwtauth","graphdb.framework.core.services.openIDService","graphdb.framework.rest.security.service","toastr","ngTagsInput"]),i=function(e){let r=s.UserType.USER;const t={READ_REPO:{},WRITE_REPO:{}},n={},o=[];for(let i=0;i<e.length;i++){const a=e[i];if(a===s.UserRole.ROLE_ADMIN)r=s.UserType.ADMIN;else if(a===s.UserRole.ROLE_REPO_MANAGER)r!==s.UserType.ADMIN&&(r=s.UserType.REPO_MANAGER);else if(a===s.UserRole.ROLE_USER)r=s.UserType.USER;else if(0===a.indexOf("READ_REPO_")||0===a.indexOf("WRITE_REPO_")){const e=a.indexOf("_",a.indexOf("_")+1),r=a.substr(0,e),s=a.substr(e+1);t[r][s]=!0,n[s]=n[s]||{},"READ_REPO"===r?n[s].read=!0:"WRITE_REPO"===r&&(n[s].write=!0)}else 0===a.indexOf("CUSTOM_")&&o.push(a.substr("CUSTOM_".length))}return{userType:r,userTypeDescription:s.UserUtils.getUserRoleName(r),grantedAuthorities:t,repositories:n,customRoles:o}};o.controller("LoginCtrl",["$scope","$http","toastr","$jwtAuth","$openIDAuth","$location","$rootScope","$translate",function(e,r,t,s,n,o,i,a){e.username="",e.password="",s.reinitializeSecurity(),e.loginWithOpenID=function(){s.loginOpenID()},o.search().noaccess?t.error(a.instant("security.no.rights.config.error"),a.instant("security.login.error")):o.search().expired&&t.error(a.instant("security.auth.token.expired"),a.instant("security.login.error")),e.isGDBLoginEnabled=function(){return s.passwordLoginEnabled},e.isOpenIDEnabled=function(){return s.openIDEnabled},e.login=function(){return r({method:"POST",url:"rest/login",data:{username:e.username,password:e.password}}).success((function(e,r,t){s.authenticate(e,t("Authorization")).then(()=>{i.returnToUrl?o.url(i.returnToUrl):o.path("/")})})).error((function(r,s){if(401===s)t.error(a.instant("security.wrong.credentials"),a.instant("common.error")),e.wrongCredentials=!0,e.username="",e.password="";else{const e=getError(r);t.error(e,s)}}))}}]),o.controller("UsersCtrl",["$scope","$uibModal","toastr","$window","$jwtAuth","$timeout","ModalService","SecurityRestService","$translate",function(e,r,t,s,o,a,u,c,p){e.loader=!0,e.securityEnabled=function(){return o.isSecurityEnabled()},e.hasExternalAuth=function(){return o.hasExternalAuth()},e.getAuthImplementation=function(){return o.getAuthImplementation()},e.freeAccessEnabled=function(){return o.isFreeAccessEnabled()},e.getUsers=function(){c.getUsers().success((function(r){e.users=r;for(let r=0;r<e.users.length;r++){const t=i(e.users[r].grantedAuthorities);e.users[r].userType=t.userType,e.users[r].userTypeDescription=t.userTypeDescription,e.users[r].repositories=t.repositories,e.users[r].customRoles=t.customRoles}e.loader=!1})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))},e.getUsers(),e.$on("repositoryIsSet",(function(){e.getUsers()})),e.toggleSecurity=function(){if(o.toggleSecurity(!o.isSecurityEnabled()),o.isSecurityEnabled()){const r=a((function(){s.location.reload()}),500);e.$on("$destroy",(function(){a.cancel(r)}))}},e.toggleFreeAccess=function(t){!o.isFreeAccessEnabled()||o.isFreeAccessEnabled()&&t?c.getFreeAccess().then((function(s){let i=s.data.authorities,a=s.data.appSettings||{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};r.open({templateUrl:"js/angular/security/templates/modal/default-authorities.html",controller:"DefaultAuthoritiesCtrl",resolve:{data:function(){return{defaultAuthorities:function(){const r={READ_REPO:{},WRITE_REPO:{}},t=_.mapKeys(e.getRepositories(),(function(e){return n(e)}));return _.each(i,(function(e){0===e.indexOf("WRITE_REPO_")?t.hasOwnProperty(e.substr(11))&&(r.WRITE_REPO[e.substr(11)]=!0):0===e.indexOf("READ_REPO_")&&t.hasOwnProperty(e.substr(10))&&(r.READ_REPO[e.substr(10)]=!0)})),r},appSettings:a}}}}).result.then((function(e){i=e.authorities,a=e.appSettings,o.toggleFreeAccess(t||!o.isFreeAccessEnabled(),i,a,t)}))})):o.toggleFreeAccess(!o.isFreeAccessEnabled(),[])},e.editFreeAccess=function(){e.toggleFreeAccess(!0)},e.removeUser=function(r){u.openSimpleModal({title:p.instant("common.confirm.delete"),message:p.instant("security.confirm.delete.user",{name:r}),warning:!0}).result.then((function(){e.loader=!0,c.deleteUser(r).success((function(){e.getUsers()})).error((function(r){const s=getError(r);t.error(s,p.instant("common.error")),e.loader=!1}))}))},e.encodeURIComponent=function(e){return encodeURIComponent(e)}}]),o.controller("DefaultAuthoritiesCtrl",["$scope","$http","$uibModalInstance","data","$rootScope",function(e,r,t,s,o){e.grantedAuthorities=s.defaultAuthorities(),e.appSettings=s.appSettings,e.hasActiveLocation=function(){return!_.isEmpty(o.globalLocation)},e.getRepositories=function(){return o.globalRepositories},e.ok=function(){const r=[];e.repositoryCheckError=!0;for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(r.push("WRITE_REPO_"+t),r.push("READ_REPO_"+t),e.repositoryCheckError=!1);for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&-1===r.indexOf("READ_REPO_"+t)&&(r.push("READ_REPO_"+t),e.repositoryCheckError=!1);e.repositoryCheckError||t.close({authorities:r,appSettings:e.appSettings})},e.cancel=function(){t.dismiss("cancel")},e.createUniqueKey=function(e){return n(e)}}]),o.controller("CommonUserCtrl",["$rootScope","$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$translate","passwordPlaceholder",function(e,r,t,o,i,a,u,c,p,d){e.$on("$translateChangeSuccess",(function(){r.passwordPlaceholder=p.instant(d)})),r.isAdmin=function(){return c.hasRole(s.UserRole.ROLE_ADMIN)},r.hasExternalAuth=function(){return c.hasExternalAuth()},r.hasEditRestrictions=function(){return r.user&&r.user.username===s.UserType.ADMIN},r.isOverrideAuth=function(){return c.isDefaultAuthEnabled()},r.setGrantedAuthorities=function(){!function(e){function r(){for(let r=0;r<arguments.length;r++){const t=arguments[r];_.indexOf(e.user.grantedAuthorities,t)<0&&e.user.grantedAuthorities.push(t)}}if(e.user.grantedAuthorities=[],e.repositoryCheckError=!0,e.userType===s.UserType.ADMIN)e.repositoryCheckError=!1,r(s.UserRole.ROLE_ADMIN);else if(e.userType===s.UserType.REPO_MANAGER)e.repositoryCheckError=!1,r(s.UserRole.ROLE_REPO_MANAGER);else{r(s.UserRole.ROLE_USER);for(const t in e.grantedAuthorities.WRITE_REPO)e.grantedAuthorities.WRITE_REPO[t]&&(e.repositoryCheckError=!1,r("WRITE_REPO_"+t,"READ_REPO_"+t));for(const t in e.grantedAuthorities.READ_REPO)e.grantedAuthorities.READ_REPO[t]&&(e.repositoryCheckError=!1,r("READ_REPO_"+t))}e.customRoles&&e.customRoles.forEach(e=>r("CUSTOM_"+e))}(r)},r.$watch("userType",(function(){r.isUser()||(r.customRoles="")})),r.isUser=function(){return r.userType===s.UserType.USER},r.hasReadPermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&(r.grantedAuthorities.READ_REPO["*"]||r.grantedAuthorities.WRITE_REPO["*"])||r.grantedAuthorities.READ_REPO[t]||r.grantedAuthorities.WRITE_REPO[t]},r.hasWritePermission=function(e){const t=n(e);return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&r.grantedAuthorities.WRITE_REPO["*"]||r.grantedAuthorities.WRITE_REPO[t]},r.readCheckDisabled=function(e){return r.hasWritePermission(e)||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.READ_REPO["*"]||r.hasEditRestrictions()},r.writeCheckDisabled=function(e){return r.userType===s.UserType.ADMIN||r.userType===s.UserType.REPO_MANAGER||"SYSTEM"!==e.id&&"*"!==e&&r.grantedAuthorities.WRITE_REPO["*"]||r.hasEditRestrictions()},r.createUniqueKey=function(e){return n(e)},r.userType=s.UserType.USER,r.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},r.validatePassword=function(){return r.noPassword?(r.passwordError="",r.confirmPasswordError="",!0):r.user.password!==r.user.confirmpassword?(r.user.password?(r.passwordError="",r.confirmPasswordError=p.instant("security.confirm.password")):(r.passwordError=p.instant("security.enter.password"),r.confirmPasswordError=""),!1):(r.passwordError="",r.confirmPasswordError="",!0)},r.isLocalAuthentication=function(){return"Local"===c.getAuthImplementation()},r.updateUser=function(){if(!r.validateForm())return!1;r.isLocalAuthentication()&&r.setGrantedAuthorities(),r.repositoryCheckError||r.updateUserHttp()},r.setNoPassword=function(){r.noPassword&&(r.user.password="",r.user.confirmpassword="",r.passwordError="",r.confirmPasswordError="")},r.shouldDisableSameAs=function(){const e=$("#sameAsCheck");return r.user&&!r.user.appSettings.DEFAULT_INFERENCE&&e.prop("checked")&&(e.prop("checked",!1),r.user.appSettings.DEFAULT_SAMEAS=!1),r.user&&!r.user.appSettings.DEFAULT_INFERENCE},r.addCustomRole=function(e){return e.text=e.text.toUpperCase(),e}}]),o.controller("AddUserCtrl",["$scope","$http","toastr","$window","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,i,a,u,c,p,d){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.password.placeholder"})),e.mode="add",e.saveButtonText=d.instant("common.create.btn"),e.goBack=function(){const r=o((function(){n.history.back()}),100);e.$on("$destroy",(function(){o.cancel(r)}))},e.pageTitle=d.instant("view.create.user.title"),e.passwordPlaceholder=d.instant("security.password.placeholder"),e.user={username:"",password:"",confirmpassword:"",grantedAuthorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0}},e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.create.admin"),message:d.instant("security.admin.login.warning"),warning:!0}).result.then((function(){e.createUser()})):e.createUser()},e.createUserHttp=function(){e.loader=!0,c.createUser({username:e.user.username,pass:e.user.password,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(d.instant("security.user.created",{name:e.user.username}));const r=o((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){o.cancel(r)}))})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,d.instant("common.error"))}))},e.createUser=function(){e.validateForm()&&(e.setGrantedAuthorities(),e.repositoryCheckError||e.createUserHttp())},e.validateForm=function(){let r=!0;return e.user.username?e.usernameError="":(e.usernameError=d.instant("security.enter.username"),r=!1),e.noPassword?(e.passwordError="",e.confirmPasswordError=""):(e.user.password?e.passwordError="":(e.passwordError=d.instant("security.enter.password"),r=!1),e.user.confirmpassword&&e.user.password===e.user.confirmpassword?e.confirmPasswordError="":(e.confirmPasswordError=d.instant("security.confirm.password"),r=!1)),r}}]),o.controller("EditUserCtrl",["$scope","$http","toastr","$window","$routeParams","$timeout","$location","$jwtAuth","$controller","SecurityRestService","ModalService","$translate",function(e,r,t,n,o,a,u,c,p,d,l,E){angular.extend(this,p("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.mode="edit",e.saveButtonText=E.instant("common.save.btn"),e.goBack=function(){const r=a((function(){n.history.back()}),100);e.$on("$destroy",(function(){a.cancel(r)}))},e.params=o,e.pageTitle=E.instant("view.edit.user.title",{userId:e.params.userId}),e.passwordPlaceholder=E.instant("security.new.password"),e.userType=s.UserType.USER;const h={DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0};c.hasRole(s.UserRole.ROLE_ADMIN)||u.url("settings"),e.getUserData=function(){d.getUser(e.params.userId).success((function(r){e.userData=r,e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=r.appSettings||h,e.userType=s.UserType.USER;const t=i(r.grantedAuthorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles})).error((function(e){const r=getError(e);t.error(r,E.instant("common.error"))}))},e.getUserData(),e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?l.openSimpleModal({title:E.instant("security.save.admin.settings"),message:E.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,d.updateUser({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings,grantedAuthorities:e.user.grantedAuthorities}).success((function(){t.success(E.instant("security.user.updated",{name:e.user.username}));const r=a((function(){e.loader=!1,n.history.back()}),2e3);e.$on("$destroy",(function(){a.cancel(r)})),c.getPrincipal().then(r=>{e.user.username===r.username&&(r.appSettings=e.user.appSettings)})})).error((function(r){const s=getError(r);e.loader=!1,t.error(s,E.instant("common.error"))}))},e.validateForm=function(){return e.validatePassword()}}]),o.controller("RolesMappingController",["$scope","toastr","SecurityRestService","$translate",function(e,r,t,s){e.debugMapping=function(e,r){const s=r.split(":");t.getRolesMapping({role:e,method:s[1],mapping:s[0]})};e.$on("repositoryIsSet",(function(){t.getRoles().success((function(r){e.roleMappings=r,e.roles=_.keys(e.roleMappings),e.mappings=_.keys(e.roleMappings[e.roles[0]]);const t=_.map(e.roles,(function(r){return[r,_.filter(e.roleMappings[r]).length]}));e.roles=_.reverse(_.map(_.orderBy(t,(function(e){return e[1]})),(function(e){return e[0]})))})).error((function(t){const n=getError(t);e.loader=!1,r.error(n,s.instant("common.error"))}))}))}]),o.controller("ChangeUserPasswordSettingsCtrl",["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityRestService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q",function(e,r,t,n,o,a,u,c,p,d,l,E,h){angular.extend(this,u("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=l.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=E.getWorkbenchSettings(),e.saveButtonText=d.instant("common.save.btn"),e.pageTitle=d.instant("view.settings.title"),e.passwordPlaceholder=d.instant("security.new.password"),e.grantedAuthorities={READ_REPO:{},WRITE_REPO:{}},e.loader=!1,e.selectedTheme=l.getTheme(),e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===s.UserType.USER},e.goBack=function(){const r=n((function(){t.history.back()}),100);e.$on("$destroy",(function(){n.cancel(r)}))},e.getPrincipal=function(){return o.getPrincipal().then(r=>{e.currentUserData=_.cloneDeep(r)})},e.getPrincipal().then(()=>{e.redirectAdmin(),g(e)}),e.updateCurrentUserData=function(){h.when(o.getPrincipal()).then(r=>_.assign(r,e.userData))},e.redirectAdmin=function(){e.currentUserData||a.redirectToLogin()};const g=function(r){r.userData=_.cloneDeep(r.currentUserData),r.user={username:r.userData.username},r.user.password="",r.user.confirmpassword="",r.user.external=r.userData.external,r.user.appSettings=r.userData.appSettings,void 0===r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(r.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);const t=i(r.userData.authorities);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.submit=function(){e.noPassword&&e.userType===s.UserType.ADMIN?p.openSimpleModal({title:d.instant("security.save.admin.settings"),message:d.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0,c.updateUserData({username:e.user.username,pass:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings}).success((function(){e.updateCurrentUserData(),r.success(d.instant("security.user.updated",{name:e.user.username}));const s=n((function(){e.loader=!1,t.history.back()}),2e3);E.saveWorkbenchSettings(e.workbenchSettings),e.$on("$destroy",(function(){n.cancel(s)}))})).error((function(t){const s=getError(t);e.loader=!1,r.error(s,d.instant("common.error"))}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){l.toggleThemeMode(e.workbenchSettings.mode)},e.setTheme=r=>{e.selectedTheme=r,e.workbenchSettings.theme=r.name,l.applyTheme(r.name)},e.$on("$destroy",(function(){const e=E.getWorkbenchSettings();l.toggleThemeMode(e.mode)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.setThemeMode()}]),o.controller("DeleteUserCtrl",["$scope","$uibModalInstance","username",function(e,r,t){e.username=t,e.ok=function(){r.close()},e.cancel=function(){r.dismiss("cancel")}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[150],{191:function(t,s,n){"use strict";n.r(s),n.d(s,"FILE_FORMATS",(function(){return i})),n.d(s,"FileFormats",(function(){return r}));const i=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class r{static getGZS(){return i.map(t=>`.${t}.gz`)}static getBasics(){return i.map(t=>"."+t)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(t=>".brf"!==t).join(" ")}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[151],{95:function(s,n,a){"use strict";a.r(n),a.d(n,"ImportParsingSettings",(function(){return t}));class t{constructor(){this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[152],{277:function(t,i,a){"use strict";a.r(i),a.d(i,"ImportResourceFormat",(function(){return n}));const n={RDF_JSON:"application/rdf+json",RDF_LD:"application/ld+json",NDJSON_LD:"application/x-ld+NDjson",RDF_XML:"application/rdf+xml",N3:"text/rdf+n3","N-Triples":"text/plain","N-Quads":"text/x-nquads",Turtle:"text/turtle","Turtle*":"application/x-turtlestar",TriX:"application/trix",TriG:"application/x-trig","TriG*":"application/x-trigstar",BinaryRDF:"application/x-binary-rdf"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[153],{66:function(N,I,R){"use strict";R.r(I),R.d(I,"ImportResourceStatus",(function(){return n}));const n={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{99:function(e,t,s){"use strict";s.r(t),s.d(t,"ImportResourceTreeElement",(function(){return i}));class i{constructor(){this.importResource=void 0,this.parent=void 0,this.partialSelected=!1,this.indent=0,this.isImportable=!1,this.hasOngoingImport=!1,this.hasStatusInfo=!1,this.canResetStatus=!1,this.name="",this.path="",this.shorthedContext="",this.selected=!1,this.directories=[],this.files=[],this.isImportedBiggerThanModified=!1,this.isModifiedBiggerThanImported=!1,this.isEditable=!1,this.iconClass=""}addResource(e){if(e.isFile())this.files.push(e);else{if(!e.isDirectory())throw new Error("Unsupported resource type!");this.directories.push(e)}}getOrCreateDirectory(e){let t=this.directories.find(t=>t.name===e);return t||(t=new i,t.name=e,this.directories.push(t)),t}getRoot(){return this.isRoot()?this:this.parent.getRoot()}isRoot(){return void 0===this.parent}isDirectory(){return this.importResource.isDirectory()}isFile(){return!this.isRoot()&&this.importResource.isFile()}isEmpty(){return 0===this.directories.length&&0===this.files.length}toList(){const e=[];return this.parent&&e.push(this),this.directories.forEach(t=>{e.push(...t.toList())}),e.push(...this.files),e}setSelection(e,t=!0){this.selected=e,this.files.forEach(t=>t.setSelection(e,!1)),this.directories.forEach(t=>t.setSelection(e,!1)),t&&this.getRoot().updateSelectionState()}updateSelectionState(){if(this.directories.forEach(e=>e.updateSelectionState()),this.parent&&this.isDirectory()){const e=this.hasUnselectedChildren(),t=this.hasSelectedChildren();this.selected=t&&!e,this.partialSelected=t&&e}}hasUnselectedChildren(){return this.files.some(e=>!e.selected)||this.directories.some(e=>!e.selected||e.hasUnselectedChildren())}hasSelectedChildren(){return this.files.some(e=>e.selected)||this.directories.some(e=>e.selected||e.hasSelectedChildren())}selectAllWithStatus(e){this.importResource&&e.indexOf(this.importResource.status)>-1&&(this.selected=!0),this.files.forEach(t=>t.selectAllWithStatus(e)),this.directories.forEach(t=>t.selectAllWithStatus(e))}getAllSelected(){const e=[];return!this.isRoot()&&this.selected&&e.push(this),this.files.forEach(t=>e.push(...t.getAllSelected())),this.directories.forEach(t=>e.push(...t.getAllSelected())),_.cloneDeep(e)}deselectAll(){this.files.forEach(e=>e.deselectAll()),this.directories.forEach(e=>e.deselectAll()),this.selected=!1,this.partialSelected=!1}getAllSelectedFiles(){const e=[];return!this.isRoot()&&this.selected&&e.push(this.importResource),this.files.forEach(t=>e.push(...t.getAllSelectedFiles())),e}getAllSelectedFilesNames(){return this.getAllSelectedFiles().map(e=>e.name)}getResourceByName(e){if(this.importResource&&this.importResource.name===e)return this;const t=this.files.find(t=>t.importResource.name===e);if(t)return t;for(const t of this.directories){const s=t.getResourceByName(e);if(s)return s}return null}hasTextInResourcesName(e){return!!this.importResource.name.toLowerCase().includes(e.toLowerCase())||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e)))}hasTextInDirectoriesName(e){return!(!this.isDirectory()||!this.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInDirectoriesName(e))}hasTextInFilesName(e){return!(!this.isFile()||!this.name.toLowerCase().includes(e.toLowerCase()))||(!!this.files.some(t=>t.importResource.name.toLowerCase().includes(e.toLowerCase()))||this.directories.some(t=>t.hasTextInFilesName(e)))}sort(e){this.directories.sort(e),this.files.sort(e),this.directories.forEach(t=>t.sort(e))}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[155],{79:function(e,n,o){"use strict";o.r(n),o.d(n,"ImportResourceType",(function(){return t}));const t={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[156],{278:function(t,s,a){"use strict";a.r(s),a.d(s,"ImportSettings",(function(){return e}));class e{constructor(){this.name="",this.status="NONE",this.message="",this.context="",this.replaceGraphs=[],this.baseURI=null,this.forceSerial=!1,this.type="file",this.format=null,this.data=null,this.timestamp=Date.now(),this.contextLink=null,this.parserSettings={preserveBNodeIds:!1,failOnUnknownDataTypes:!1,verifyDataTypeValues:!1,normalizeDataTypeValues:!1,failOnUnknownLanguageTags:!1,verifyLanguageTags:!0,normalizeLanguageTags:!1,stopOnError:!0},this.hasContextLink=!1}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[157],{121:function(i,s,e){"use strict";e.r(s),e.d(s,"ImportViewPersistence",(function(){return l}));class l{constructor(i={}){this._isHelpVisible=void 0===i.isHelpVisible||i.isHelpVisible}get isHelpVisible(){return this._isHelpVisible}set isHelpVisible(i){this._isHelpVisible=i}toggleHelpVisibility(){this._isHelpVisible=!this._isHelpVisible}toJSON(){return{isHelpVisible:this._isHelpVisible}}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[158],{100:function(n,E,o){"use strict";o.r(E),o.d(E,"SortingType",(function(){return I}));const I={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[159],{279:function(n,s,t){"use strict";t.r(s),t.d(s,"JdbcColumnType",(function(){return c}));class c{constructor(){this.column_type="",this.sparql_type=""}}}}]);
|