graphdb-workbench 2.8.0-TR11 → 2.8.0-TR13
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.222642ac8a834644de39.bundle.js → 0.c12880b944139d726364.bundle.js} +3 -3
- package/dist/{1.ebb46b40f04cba034e61.bundle.js → 1.b5ab0c81ff05d97d9212.bundle.js} +1 -1
- package/dist/10.1179c6bc53d65a3018b4.bundle.js +1 -0
- package/dist/{101.04ecbbc205f9cce449e2.bundle.js → 100.6ec3d989e75140cf46ca.bundle.js} +1 -1
- package/dist/{102.0f9a64ceb323e719fb9e.bundle.js → 101.f066daa3cfc930d79302.bundle.js} +1 -1
- package/dist/102.791468df396a09a31d71.bundle.js +1 -0
- package/dist/{104.c6fa28ded1a4c26bc1a2.bundle.js → 103.37921e51177a654d75ac.bundle.js} +1 -1
- package/dist/{105.1f6013e09a913230f5a0.bundle.js → 104.e3e2867c1b690c43f489.bundle.js} +1 -1
- package/dist/{106.db2a24b8b831a9a41730.bundle.js → 105.f8bc439e384e9f5110fe.bundle.js} +1 -1
- package/dist/{107.76a892fb4131d6fb5c6a.bundle.js → 106.8c2ba58b4f242956a82c.bundle.js} +1 -1
- package/dist/{108.a86e28984373a10ed377.bundle.js → 107.4315a0c3620f546dd600.bundle.js} +1 -1
- package/dist/{109.396369e9ad1d6ac8515c.bundle.js → 108.02aeec3c92b68ce6c35e.bundle.js} +1 -1
- package/dist/{110.74113301e9bf04aa532c.bundle.js → 109.e0e1046fdb1e8ecd59f8.bundle.js} +1 -1
- package/dist/{10.84c92cce7ac26f335dd1.bundle.js → 11.731ed4f7b67ece4fb109.bundle.js} +1 -1
- package/dist/{111.577f12afd89f88ff3c41.bundle.js → 110.d51e761889fe08e2c49d.bundle.js} +1 -1
- package/dist/{112.97780a4fe36300f514c5.bundle.js → 111.da72110e4ddfe486912a.bundle.js} +1 -1
- package/dist/{113.5c183cbd72f4e91deeee.bundle.js → 112.77a36111c9f4da94f2d0.bundle.js} +1 -1
- package/dist/{114.f44bf4f49655b843752b.bundle.js → 113.d5bd3f0ad7bd8c52abe1.bundle.js} +1 -1
- package/dist/{115.60bf043f46bdeb922372.bundle.js → 114.2f6bdd6b8c8dd9f01217.bundle.js} +1 -1
- package/dist/{116.9d728768854e290a2653.bundle.js → 115.b9393bf71391a3f494da.bundle.js} +1 -1
- package/dist/{117.295086c4cd54397c56df.bundle.js → 116.54e31b6224e208e4c423.bundle.js} +1 -1
- package/dist/{118.6ab3f8f724a06905c5cf.bundle.js → 117.38e2c564034dc25c4815.bundle.js} +1 -1
- package/dist/{119.2f144c11c33a3bbeda21.bundle.js → 118.09e66dd3b083f2d36696.bundle.js} +1 -1
- package/dist/{120.440d48a02219554f0af0.bundle.js → 119.131ce05ec4fa52bfaf2a.bundle.js} +1 -1
- package/dist/{11.347714ca41cef8ea7f1e.bundle.js → 12.006922371a75c0e8f3aa.bundle.js} +1 -1
- package/dist/{121.b9f200eec8693987cd2b.bundle.js → 120.2fe6c930b40edfc70a3f.bundle.js} +1 -1
- package/dist/{122.10eda802eaaa781ea566.bundle.js → 121.4f96e05a93da0d050583.bundle.js} +1 -1
- package/dist/{123.1548ca1c0632bc3dcfeb.bundle.js → 122.14c6539a5cf5826291f1.bundle.js} +1 -1
- package/dist/{124.05248e4fa4e72076f8e1.bundle.js → 123.75914b050247dec2f47a.bundle.js} +1 -1
- package/dist/{125.117e9b10046dea563e1b.bundle.js → 124.db458d12650e11836826.bundle.js} +1 -1
- package/dist/{126.f1a86f86018b7c58852d.bundle.js → 125.653e9a40b0339268bfa4.bundle.js} +1 -1
- package/dist/{127.0124928e6c0f7cf3f6c4.bundle.js → 126.bc9af544cdeef53a98a4.bundle.js} +1 -1
- package/dist/{129.3e71e14cf51fed8b7fb8.bundle.js → 127.20092c02c9853f630785.bundle.js} +1 -1
- package/dist/128.d7b62fe06971afd880da.bundle.js +1 -0
- package/dist/{131.45f6c9b55329c691d5eb.bundle.js → 129.676c2740eba42a5189ae.bundle.js} +1 -1
- package/dist/{12.208a25d54fad54ce23f5.bundle.js → 13.76fc57fe53ba53fb2c7f.bundle.js} +1 -1
- package/dist/{132.423a880945adb530ff42.bundle.js → 130.ef294422e321cdff61f3.bundle.js} +1 -1
- package/dist/{133.d59607c90abb5c88f92c.bundle.js → 131.aaa123afc12ca4bdf46e.bundle.js} +1 -1
- package/dist/132.88ff26b2f0d1d51bad52.bundle.js +1 -0
- package/dist/{135.2c26864970bac0810793.bundle.js → 133.4847df13c0867a84a713.bundle.js} +1 -1
- package/dist/{136.9320c511cc2742542367.bundle.js → 134.20c075955d10d6925a62.bundle.js} +1 -1
- package/dist/135.5e771c47f8d09d2854fc.bundle.js +1 -0
- package/dist/{138.2faf8c3516d4c4f72ff0.bundle.js → 136.92a341f0772ee65da7d6.bundle.js} +1 -1
- package/dist/{139.6738727d298cb82cdd13.bundle.js → 137.7330e14ed6a57aad5f94.bundle.js} +1 -1
- package/dist/138.43357891c8faa58707b4.bundle.js +1 -0
- package/dist/{140.8aec03c5b38c631d6c1e.bundle.js → 139.2277d7941d2756767afe.bundle.js} +1 -1
- package/dist/{13.a73763d3c6e0578c2af1.bundle.js → 14.a8fc6ef8dc6fa2f2816a.bundle.js} +11 -11
- package/dist/{141.32117cd8775dbe8fcbae.bundle.js → 140.2bf9ff7d38dd8ff616af.bundle.js} +1 -1
- package/dist/{142.15e37af8c96cf9dc3e7f.bundle.js → 141.f710186615c337b2fae6.bundle.js} +1 -1
- package/dist/{143.fdd4fcbb5282cd2dd46b.bundle.js → 142.fd312126fe70574b15e3.bundle.js} +1 -1
- package/dist/{144.7cb8a8402955c6168ecb.bundle.js → 143.b31bed2d13b249d84ad0.bundle.js} +1 -1
- package/dist/{145.3fa30ed06e9163633a2e.bundle.js → 144.9f1e5dd5f0d1e6f382fd.bundle.js} +1 -1
- package/dist/{146.68ce65959f5884311fde.bundle.js → 145.33d55443d1dd19a0bacb.bundle.js} +1 -1
- package/dist/{147.ed592ab631dcbf041ddf.bundle.js → 146.7765ae4e0ecce35603f4.bundle.js} +1 -1
- package/dist/{148.97728d94afb4d290c123.bundle.js → 147.5d44d89036a267b899c1.bundle.js} +1 -1
- package/dist/{149.1201e5f6027054c6193b.bundle.js → 148.f25d2d396c86c31714f6.bundle.js} +1 -1
- package/dist/{150.c93958d2d24c3a9df09c.bundle.js → 149.f7dbe3a9918a4684fa64.bundle.js} +1 -1
- package/dist/{15.1fef7c75d6d3884c7477.bundle.js → 15.5e160943e2ce5fc32b3f.bundle.js} +1 -1
- package/dist/{151.18c5954b695558d8a75a.bundle.js → 150.c69c89d996b1a696f1b1.bundle.js} +1 -1
- package/dist/{152.d6af0cde3e1dd9fc8c1d.bundle.js → 151.23df73ebedae9acb9f8a.bundle.js} +1 -1
- package/dist/{153.eea3436e5f2ed6af5805.bundle.js → 152.050964735a12306f4d8d.bundle.js} +1 -1
- package/dist/{154.43b33419d000ca35797f.bundle.js → 153.450de3a974ca576d4f76.bundle.js} +1 -1
- package/dist/{155.8d7e2682ad34c9270fe0.bundle.js → 154.e4cfb640ab1ca3cd4286.bundle.js} +1 -1
- package/dist/{156.c27889fee0b5465eb925.bundle.js → 155.e07768c450476750f15e.bundle.js} +1 -1
- package/dist/{157.a9267e161a99f7c397f0.bundle.js → 156.0eea43daab882951002d.bundle.js} +1 -1
- package/dist/{158.19fb300f24fd7a14210a.bundle.js → 157.8647e0cfa6d9b22fba1c.bundle.js} +1 -1
- package/dist/{159.ceb87dd0c514721e6f26.bundle.js → 158.e2eb018ac1b578ce4b4e.bundle.js} +1 -1
- package/dist/{160.2eade0d127800de8d588.bundle.js → 159.a377c78f9b79f34833cd.bundle.js} +1 -1
- package/dist/16.72c5de6792b2fb3d40cb.bundle.js +1 -0
- package/dist/{161.294da81ed3f45c1250a1.bundle.js → 160.4f9ada4c29a100824fb1.bundle.js} +1 -1
- package/dist/{162.a75b63430f79142fcc5d.bundle.js → 161.d048c37d7e9b3ee1528b.bundle.js} +1 -1
- package/dist/{163.c1a4bf8dab21603362fb.bundle.js → 162.f08b5bef113ac7ac925d.bundle.js} +1 -1
- package/dist/{164.17088ebd990ca168d11d.bundle.js → 163.efa08aaff2e3cdda3711.bundle.js} +1 -1
- package/dist/{165.9d560c84a71954a90956.bundle.js → 164.1654634aa86b14797f13.bundle.js} +1 -1
- package/dist/{166.4da4ef4df1cd67bf395a.bundle.js → 165.3e5cfde1214c42087e41.bundle.js} +1 -1
- package/dist/{167.c132aacfb909005eccc6.bundle.js → 166.bb6f7d1b5cc9bc3ac381.bundle.js} +1 -1
- package/dist/{168.a4c723a0068a42dad17b.bundle.js → 167.7c7fd26d09c91dbd9c55.bundle.js} +1 -1
- package/dist/{169.06b8e5fedae202dcff73.bundle.js → 168.6a3e67fea55b932f3090.bundle.js} +1 -1
- package/dist/{170.26d8ef1cedc67545299a.bundle.js → 169.a9310a747d8bf7366f97.bundle.js} +1 -1
- package/dist/{16.bd171e40126f074bf5d9.bundle.js → 17.ce810873458ff1ffca06.bundle.js} +2 -2
- package/dist/{171.fd8a4420cd7a4b283b3f.bundle.js → 170.cf2599059e3e923207a4.bundle.js} +1 -1
- package/dist/{172.a8bd733aa0e091a38664.bundle.js → 171.a1608fd5e4c899b96352.bundle.js} +1 -1
- package/dist/{173.d3a4eb2812be244a1d32.bundle.js → 172.c42d95c2edad241cf688.bundle.js} +1 -1
- package/dist/{174.d794bc6b1c46138c6613.bundle.js → 173.18301f20eb503ef8a27a.bundle.js} +1 -1
- package/dist/{175.5e8c384818bb17dd9aab.bundle.js → 174.4a15711f0dd5f8ce0919.bundle.js} +1 -1
- package/dist/{176.746d6385829d2a680cd1.bundle.js → 175.a73ae90b613da5e597c5.bundle.js} +1 -1
- package/dist/{177.86021de382ed87019173.bundle.js → 176.4f84bdfcc0197d750474.bundle.js} +1 -1
- package/dist/{178.b7569fc8228e2ef12525.bundle.js → 177.080a382546a2c07c54c8.bundle.js} +1 -1
- package/dist/{179.631668faa65967a635b9.bundle.js → 178.456581d02bb705a29124.bundle.js} +1 -1
- package/dist/{180.6551aa17a9e417574db2.bundle.js → 179.9cd9059a32896097ca5f.bundle.js} +1 -1
- package/dist/{17.68b542dd822f35968787.bundle.js → 18.05b6388e2622fda2a4e1.bundle.js} +1 -1
- package/dist/{181.5f8b15d991de41170b3c.bundle.js → 180.5e55e866b1afe07594b5.bundle.js} +1 -1
- package/dist/181.95f7ef7fc792b50c2cc6.bundle.js +1 -0
- package/dist/{184.805cf439b2adef6bb8a7.bundle.js → 184.badf1727b917eb1cc3a3.bundle.js} +1 -1
- package/dist/{185.83602499d7b5740b0232.bundle.js → 185.dd5dc8cbc36ea29c75d1.bundle.js} +1 -1
- package/dist/{187.35cfddfd9308fabd0798.bundle.js → 187.cd3cd4940779cc26c789.bundle.js} +1 -1
- package/dist/{189.b0bac492836f82dcdfc8.bundle.js → 189.ba20e7d03ba9d5662145.bundle.js} +1 -1
- package/dist/{18.953ec403f684734e2311.bundle.js → 19.a017cb971598b8f97d9d.bundle.js} +1 -1
- package/dist/{195.3d16b1e1b1d2dafd9cc4.bundle.js → 195.a88587cea9417bf47167.bundle.js} +1 -1
- package/dist/{2.0d59ab629b316a74f299.bundle.js → 2.b24d9c8f4b672452f0cf.bundle.js} +2 -2
- package/dist/{19.09865b8ff553217fec92.bundle.js → 20.8ab4bf04280797eee840.bundle.js} +1 -1
- package/dist/{206.092c305505663ce80fac.bundle.js → 206.a4ee3c3fffdf85a82752.bundle.js} +1 -1
- package/dist/{20.570db04dfd68538d4a39.bundle.js → 21.a563810cf92e995c13c3.bundle.js} +1 -1
- package/dist/{215.5b427a823993da06a4ec.bundle.js → 215.658744c3b46d8dc85366.bundle.js} +1 -1
- package/dist/{21.62ad93276e37e4ac702f.bundle.js → 22.f7fed8a367c43a44d346.bundle.js} +2 -2
- package/dist/23.f3a3443a579f798ac397.bundle.js +2 -0
- package/dist/{239.7847b00aedc190fd0c6a.bundle.js → 239.b02f686988986a34e9b7.bundle.js} +1 -1
- package/dist/24.89d0c908a57f6cc21ce1.bundle.js +2 -0
- package/dist/{247.f993b0c29022d6f15136.bundle.js → 247.70459005b0d253fcecb7.bundle.js} +1 -1
- package/dist/{249.bcb3610366e645f33995.bundle.js → 249.9a6257284542082278c2.bundle.js} +1 -1
- package/dist/25.1679fde85cc933df66f0.bundle.js +2 -0
- package/dist/{25.a16bf1536f9beb3a61c8.bundle.js → 26.fe862a850ff9f06e4945.bundle.js} +1 -1
- package/dist/{263.3335aaa1b90fea9ad424.bundle.js → 263.87b1d661b837f6acba82.bundle.js} +1 -1
- package/dist/{268.35a3fd52026094e7d15b.bundle.js → 268.1760717d55d1cce059d8.bundle.js} +1 -1
- package/dist/{26.e292a4da414e671fbe56.bundle.js → 27.3b2aa542f87461dc430e.bundle.js} +2 -2
- package/dist/{276.6c6b691f8eee5a07acbb.bundle.js → 276.9414df55f6f14dff2306.bundle.js} +1 -1
- package/dist/{277.fc89f60cb5c8b0755f15.bundle.js → 277.a91dd1008205eb4f5162.bundle.js} +1 -1
- package/dist/{27.0ef07ce77591c681e79d.bundle.js → 28.a4203eb16286d27639bd.bundle.js} +1 -1
- package/dist/280.4e90409f55584b089387.bundle.js +1 -0
- package/dist/{284.6a0d07f30f21f0f4be50.bundle.js → 284.30dc35180864dfbc2927.bundle.js} +1 -1
- package/dist/{28.070e1e29848334dc9ebb.bundle.js → 29.d7f53701e435afe11038.bundle.js} +1 -1
- package/dist/{290.490de8b61f494279836a.bundle.js → 290.d1f08b23cd58260b1226.bundle.js} +1 -1
- package/dist/{3.8428e684412876d7abd1.bundle.js → 3.325ae6955d167cf629b6.bundle.js} +1 -1
- package/dist/30.dfba97d073872a68a48b.bundle.js +1 -0
- package/dist/304.b6372799dca7f4e9f712.bundle.js +1 -0
- package/dist/{30.1f68f17a4430a7df9cd9.bundle.js → 31.efc8d1b5a18dbec9a9aa.bundle.js} +1 -1
- package/dist/{310.a44534336e78f61eb546.bundle.js → 310.484b2c9a5912e27c15b1.bundle.js} +1 -1
- package/dist/315.d4c6d40909267d14a01b.bundle.js +1 -0
- package/dist/{31.c1cda21566969e913a57.bundle.js → 32.39304475fbf4b36b2a43.bundle.js} +1 -1
- package/dist/{322.7c4db969edcd5ded15fa.bundle.js → 322.36a6899c0565b022e54d.bundle.js} +1 -1
- package/dist/{323.d4666997f49a2f813fc2.bundle.js → 323.dcb289cffe4ff71d53a4.bundle.js} +1 -1
- package/dist/{324.020e9c4d1e9873cd9e3e.bundle.js → 324.180650d6f3bd6b4adb4d.bundle.js} +1 -1
- package/dist/{325.52a67b5eb37e212db794.bundle.js → 325.b4db54955a4ce097ad2f.bundle.js} +1 -1
- package/dist/{326.73f77ba8f2c8871554a0.bundle.js → 326.c5d3853822abe1e86a44.bundle.js} +1 -1
- package/dist/{32.5b1d35866a8521c0ddd8.bundle.js → 33.750b03f61268eaf2623b.bundle.js} +1 -1
- package/dist/330.bb63d5fc20b2bcd4d339.bundle.js +1 -0
- package/dist/{332.290a55c149676f8b12bc.bundle.js → 331.dcf5bf6589ac6508f678.bundle.js} +1 -1
- package/dist/{333.c68c64b311929e005970.bundle.js → 332.9d03e71ea008a855fa21.bundle.js} +1 -1
- package/dist/333.0b9d6cf9eaddcf7fced8.bundle.js +1 -0
- package/dist/{336.85b41400f26a45c913d2.bundle.js → 334.594168bf09ec20c0a3ca.bundle.js} +1 -1
- package/dist/{337.be3ec594318206dc00e8.bundle.js → 335.8ba957523219aa412abc.bundle.js} +1 -1
- package/dist/{338.915990e8e5e0ee62b4d1.bundle.js → 336.34e1704cf1ebe667954f.bundle.js} +1 -1
- package/dist/{339.b0202e92037aba9cb17d.bundle.js → 337.8481172aedfa9b3e2ae5.bundle.js} +1 -1
- package/dist/{340.90a0259ff21debda0ed7.bundle.js → 338.f28c4ee33fc99bbfb9d0.bundle.js} +1 -1
- package/dist/{341.6f383e4e7b8992f8aea6.bundle.js → 339.c669b86c15f773126998.bundle.js} +1 -1
- package/dist/34.cf1c5d51e0bfbf10fe2e.bundle.js +1 -0
- package/dist/{342.1da6fe384b21e903637d.bundle.js → 340.72090fb9be58672bf42d.bundle.js} +1 -1
- package/dist/{343.5d92dd5674501400d188.bundle.js → 341.97cd72809c4207c6d1da.bundle.js} +1 -1
- package/dist/{344.43a9237134f205770ce2.bundle.js → 342.865fb5893eb67ed6ac7c.bundle.js} +1 -1
- package/dist/{345.01c18050b4be81825691.bundle.js → 343.1e0cb72cc52ef6f3a593.bundle.js} +1 -1
- package/dist/{346.cdbb73c02ebb13454de5.bundle.js → 344.37dde32d5cb2fdbf6630.bundle.js} +1 -1
- package/dist/{347.48420a4e8b6af4c30cf5.bundle.js → 345.7b096bd8435e4ab16889.bundle.js} +1 -1
- package/dist/{348.eb0c9e5cf2e6f0e66bf2.bundle.js → 346.a4cd577a9e8aa56875d2.bundle.js} +1 -1
- package/dist/{349.62cda39dc01594143a0b.bundle.js → 347.35843e38ac1e710251fb.bundle.js} +1 -1
- package/dist/{350.015bc2bbf9e045ebea7e.bundle.js → 348.54a4ceaed66e168609a7.bundle.js} +1 -1
- package/dist/{351.fff6d1022304bda921f0.bundle.js → 349.2b5a807450bcf89aa7a3.bundle.js} +1 -1
- package/dist/{33.6f0a59e5fd188a8ce2fc.bundle.js → 35.ec76ac07567c2d176a4b.bundle.js} +1 -1
- package/dist/{352.5a29fe2cc31e8c3d7b5d.bundle.js → 350.5bba8d09243b3ffc8d27.bundle.js} +1 -1
- package/dist/{353.9c0c64bdfd84177d3c1b.bundle.js → 351.00c6d019c3ee260bbbb7.bundle.js} +1 -1
- package/dist/{354.cbb2e30901240d068afc.bundle.js → 352.216f8da48bf6779cbe8a.bundle.js} +1 -1
- package/dist/{355.92484d90d33cb01731cd.bundle.js → 353.8c810994084e57e681af.bundle.js} +1 -1
- package/dist/{356.c9f3f2d892ee4ae0f994.bundle.js → 354.7e3a75ab06e7bbc6e391.bundle.js} +1 -1
- package/dist/{357.9ba93f216d695ec04f0e.bundle.js → 355.4bf835922000865b78ff.bundle.js} +1 -1
- package/dist/{358.f54aa69efc0ddeea425d.bundle.js → 356.2fb2e095f752291fc36a.bundle.js} +1 -1
- package/dist/{359.7c5836271c880c903e3e.bundle.js → 357.7a005297fb7a35544edd.bundle.js} +1 -1
- package/dist/{360.fd188c7eb77ecf4bc041.bundle.js → 358.b81cae8ad3c6d372d78a.bundle.js} +1 -1
- package/dist/{361.38d8e51020cd5de85195.bundle.js → 359.da5bb8979c09500c9731.bundle.js} +1 -1
- package/dist/{34.f5a79845264515ae6574.bundle.js → 36.5ce24e912050a85868aa.bundle.js} +1 -1
- package/dist/{362.dc87ac4c16d14af79658.bundle.js → 360.b82aba282a9d8061d236.bundle.js} +1 -1
- package/dist/{363.1f0c267f2e8149e447d5.bundle.js → 361.bf3bd5dac44b4779b072.bundle.js} +1 -1
- package/dist/{364.6decef5064677280593e.bundle.js → 362.18f0adca82e101c4e5b9.bundle.js} +1 -1
- package/dist/{365.ab9b6229226d0d8c3c90.bundle.js → 363.242e5a4aba7c76394d71.bundle.js} +1 -1
- package/dist/{366.a8401578ca9a025b7bbf.bundle.js → 364.c8b7a1ca0adf6f6ab5d1.bundle.js} +1 -1
- package/dist/{367.476201de3d45ce3d4363.bundle.js → 365.da6f9e3b79056fbc9935.bundle.js} +1 -1
- package/dist/{368.1547e3f6478d479da027.bundle.js → 366.933e620636c9518da77e.bundle.js} +1 -1
- package/dist/{369.d3c2d2e8c3127df3db3d.bundle.js → 367.333dbacb07d920cb4f35.bundle.js} +1 -1
- package/dist/{370.34bec85793d564dbc5ee.bundle.js → 368.b996e000118fd2d48023.bundle.js} +1 -1
- package/dist/{371.d215bb7b41b208637d88.bundle.js → 369.e9f183ffff429673e575.bundle.js} +1 -1
- package/dist/{35.cb4a1994570fcd048ff3.bundle.js → 37.31c75f57d06df83316c6.bundle.js} +1 -1
- package/dist/{372.c76dbc1f58c39ef9e9c9.bundle.js → 370.2df5d6d470f8c4cf16de.bundle.js} +1 -1
- package/dist/{373.d7b80790d7ceeb3e66c8.bundle.js → 371.6e98e61425dae465956a.bundle.js} +1 -1
- package/dist/{374.a78220a75a28b71edd15.bundle.js → 372.8dc712fa11b03b7cb4a0.bundle.js} +1 -1
- package/dist/{375.ad5936cde217fd1cd24b.bundle.js → 373.23df17a1f315ef2daedf.bundle.js} +1 -1
- package/dist/{376.b56eccfc38f4ff00dcac.bundle.js → 374.4dd4eb5cc82b451d8945.bundle.js} +1 -1
- package/dist/{377.0307f5e28ae10b2e5559.bundle.js → 375.d5b1e69a6423a38c9caf.bundle.js} +1 -1
- package/dist/{378.8a0d517c55b0350a47a2.bundle.js → 376.be83e1d73d4b5595017c.bundle.js} +1 -1
- package/dist/{379.baebd3f64a0c560ac950.bundle.js → 377.43c7d29f15618ab44a3d.bundle.js} +1 -1
- package/dist/{380.765f42a738c22bda1042.bundle.js → 378.a5375562ce0b67f8382b.bundle.js} +1 -1
- package/dist/{381.bbf26c624dea07cfb7a8.bundle.js → 379.42bcccb9366be5787688.bundle.js} +1 -1
- package/dist/38.1dfb5763064c2adaebd6.bundle.js +1 -0
- package/dist/{382.d6ca2271ad6cf3b331da.bundle.js → 380.fbd0b1c517e7f117b69c.bundle.js} +1 -1
- package/dist/{383.53043bc87ea19731b4a6.bundle.js → 381.f5f789cf35400f2c9639.bundle.js} +1 -1
- package/dist/{384.ea90d9b7352ddcef14a8.bundle.js → 382.421cd82a9eb002f6843c.bundle.js} +1 -1
- package/dist/{385.b006e205b113c4fce1cb.bundle.js → 383.e5540db47682edab834d.bundle.js} +1 -1
- package/dist/{386.2f621d0ba89b312ca82a.bundle.js → 384.f1c40e0e60f01d8aba9a.bundle.js} +1 -1
- package/dist/{387.4ba6cbc984854dba5fe8.bundle.js → 385.48c5e5379f7dfac726ab.bundle.js} +1 -1
- package/dist/{388.efbe814406005b02e54c.bundle.js → 386.7e64e8d9c4aac0bbdb45.bundle.js} +1 -1
- package/dist/{389.64fbc1cce1d5fee57949.bundle.js → 387.e9a84b8c2892dda2f650.bundle.js} +1 -1
- package/dist/388.2e6dfb15fbcd6462c3d3.bundle.js +1 -0
- package/dist/{391.9ea58d3642d9ee8cc0b1.bundle.js → 389.5b0ede46232d8f8f4d66.bundle.js} +1 -1
- package/dist/39.78d988e336bd9d4f7cd4.bundle.js +1 -0
- package/dist/{392.9afe6ea9382e0fbe82db.bundle.js → 390.6036e2ff582e87acaec1.bundle.js} +1 -1
- package/dist/{393.a8e39fc0249cbb7db9bc.bundle.js → 391.90a84270ddca2ebe03eb.bundle.js} +1 -1
- package/dist/392.e0c451e90d8b605ed2bd.bundle.js +1 -0
- package/dist/393.3bfc31b44bfdba16d49c.bundle.js +1 -0
- package/dist/{396.547c7fde7bc12cc9d3db.bundle.js → 394.97f198143c473525a230.bundle.js} +1 -1
- package/dist/{397.0a97a309be2c1da989ab.bundle.js → 395.6ce498a744a986e8ff86.bundle.js} +1 -1
- package/dist/{398.6badaf34f20203bada77.bundle.js → 396.aefb86d4ebef8ff2a297.bundle.js} +1 -1
- package/dist/{399.f12d38319a9a79933e5a.bundle.js → 397.79cd207a9f02d868df10.bundle.js} +1 -1
- package/dist/4.6e3aeb8eee6cde5ba990.bundle.js +1 -0
- package/dist/{38.a8c8099f2e8a4f3c778f.bundle.js → 40.4cc11d63e6bcfb257927.bundle.js} +1 -1
- package/dist/{39.c95b44b1252f8486526f.bundle.js → 41.8564cea4b8d2e978c0fa.bundle.js} +1 -1
- package/dist/{40.945b15bca4903efd9b71.bundle.js → 42.d7e29d98febe1327f20d.bundle.js} +1 -1
- package/dist/{41.b8d121d5ec004cf9dea1.bundle.js → 43.970f6e2bb8846b2712b8.bundle.js} +1 -1
- package/dist/{42.82eacf4859c6cbd5f51f.bundle.js → 44.bcc6eace48b1d6434e62.bundle.js} +1 -1
- package/dist/{43.2b4a9d33022e90ac0be2.bundle.js → 45.9b655ea07221e5e2a517.bundle.js} +1 -1
- package/dist/{44.595e88a34ef82254fe25.bundle.js → 46.a29d923276330b841abe.bundle.js} +1 -1
- package/dist/{45.c470ec6048e1039fd0aa.bundle.js → 47.ba8a59361b7bef07c6a4.bundle.js} +1 -1
- package/dist/{46.d0220c9f624074d7bfd4.bundle.js → 48.c31e4bbc3f21fe58fd65.bundle.js} +1 -1
- package/dist/{47.060a414a4eaf36ed34cb.bundle.js → 49.929061b5beba2ec97451.bundle.js} +1 -1
- package/dist/{5.cb396084f605672543e7.bundle.js → 5.b2096856419b1a06ea75.bundle.js} +1 -1
- package/dist/{48.d5bc567583d5e25547dc.bundle.js → 50.20572266650787d7ee91.bundle.js} +1 -1
- package/dist/{49.6ec3a9dc86537f805bde.bundle.js → 51.920803b51e86c1f8d45a.bundle.js} +1 -1
- package/dist/{50.82e0737143a579ac7908.bundle.js → 52.42e7bb5a56f5f4c75241.bundle.js} +1 -1
- package/dist/{51.6de9a6ab46d8827104d0.bundle.js → 53.ffce7c0ac6b025c53b75.bundle.js} +1 -1
- package/dist/{53.bb3c7f37e60f65c29021.bundle.js → 54.ee14bd02621e6b4667b8.bundle.js} +1 -1
- package/dist/{54.67e090bb4a052816c714.bundle.js → 55.409784fff5aff351a7fe.bundle.js} +1 -1
- package/dist/{55.c55aabd6a1f8b25f2580.bundle.js → 56.b8582f61d881c1cad5e7.bundle.js} +1 -1
- package/dist/{56.5e98db705e0a6efb1d07.bundle.js → 57.a298ee7bb5d22e8419f8.bundle.js} +1 -1
- package/dist/{57.abc7849d969a76057940.bundle.js → 58.e8c5b3956ece53354494.bundle.js} +1 -1
- package/dist/{58.50571f2fffe2f1460096.bundle.js → 59.6b5fd868c31cfb6a2762.bundle.js} +1 -1
- package/dist/6.fa03286d27c8ae9a8ab2.bundle.js +1 -0
- package/dist/{59.f2dbfcba177233488235.bundle.js → 60.686d916962bfb4056a6c.bundle.js} +1 -1
- package/dist/{60.7ad08e1ea896217fdac9.bundle.js → 61.0f5b5f053325f96a3f34.bundle.js} +1 -1
- package/dist/{61.d7f4da04650e800f1f36.bundle.js → 62.b60e36b63fe11c962d52.bundle.js} +1 -1
- package/dist/{62.1dc54be1544831eb448b.bundle.js → 63.732d2a81f1389f90c8c9.bundle.js} +1 -1
- package/dist/{63.4aa2e5a87569d01c0ed7.bundle.js → 64.f3a6be2dd7fa51c4f3d4.bundle.js} +1 -1
- package/dist/{64.36ebe11edac1da1b0d98.bundle.js → 65.72826a0c206575c1e2b0.bundle.js} +2 -2
- package/dist/{65.896a3eaa522be746be60.bundle.js → 66.2d6293e2aff634d498fe.bundle.js} +1 -1
- package/dist/{67.83356de3de8509b1e165.bundle.js → 67.ada6349f0f83da3f3256.bundle.js} +1 -1
- package/dist/68.7237eac2d4aeac9a56bd.bundle.js +1 -0
- package/dist/{69.a739e488b08255da4565.bundle.js → 69.07b17e35f4356b0316a6.bundle.js} +1 -1
- package/dist/{7.07d30055aad7da6c8fcf.bundle.js → 7.cd9f66de5a80daeb89da.bundle.js} +1 -1
- package/dist/{70.1a91b4a4b85d13a69710.bundle.js → 70.857ff29191ca36ed5b48.bundle.js} +1 -1
- package/dist/{71.43ffebf29bde40ba3f77.bundle.js → 71.55f2d00c428565282880.bundle.js} +1 -1
- package/dist/{72.9f992138ec54216a251f.bundle.js → 72.aec349c178c91727485d.bundle.js} +1 -1
- package/dist/{74.291594bc989e21f2aba6.bundle.js → 74.ba6d30bda6286ae239d5.bundle.js} +1 -1
- package/dist/{75.676ae7a419fe23e4a872.bundle.js → 75.8020265074f8b85a9038.bundle.js} +1 -1
- package/dist/{77.8cbbc8fec14ad506f2f1.bundle.js → 77.5dd4b9ee10abc4d51d9d.bundle.js} +1 -1
- package/dist/{78.f22bca93459642c8f680.bundle.js → 78.4a3b2d46d28b4844917e.bundle.js} +1 -1
- package/dist/{79.bfb074733534a6247c06.bundle.js → 79.fcb63f57ab3b465fe83a.bundle.js} +1 -1
- package/dist/8.61d7d1eb310f8cdc62a6.bundle.js +1 -0
- package/dist/{80.cc1cebcc79df1bfccc83.bundle.js → 80.ed230d0ab87e71ce20a0.bundle.js} +1 -1
- package/dist/{81.d8af8695c90555e2969a.bundle.js → 81.a5122117f8d64f9e4593.bundle.js} +1 -1
- package/dist/{82.79dcf025720340cc80be.bundle.js → 82.8d0172da4ec38841ff65.bundle.js} +1 -1
- package/dist/{83.e40c2ed0a82336d2a200.bundle.js → 83.06f9155fd9d2840c9e0d.bundle.js} +1 -1
- package/dist/84.7a6bd4dcc42d89095d9d.bundle.js +1 -0
- package/dist/{87.3b21eccdeca424f07078.bundle.js → 85.7c2f09c86407294a40ba.bundle.js} +1 -1
- package/dist/{88.591fff6c8f27d6dada6f.bundle.js → 86.80e2092b94da006fef06.bundle.js} +1 -1
- package/dist/87.81bb296620f4b3a5fddd.bundle.js +1 -0
- package/dist/{89.fd4df0be29181be0c0ea.bundle.js → 88.ea0225ac48d9f5b7b8ee.bundle.js} +1 -1
- package/dist/{90.eec16c54cc9f9015f59f.bundle.js → 89.dcb04f91d7e151b1a309.bundle.js} +1 -1
- package/dist/9.fec09ce429afc7d37e5c.bundle.js +1 -0
- package/dist/{91.1325c47ab1e1bde6f2f4.bundle.js → 90.0b163611c3037b07a007.bundle.js} +1 -1
- package/dist/91.ae39d2216929928ed44e.bundle.js +1 -0
- package/dist/{93.de6030748b9e71e4f2cb.bundle.js → 92.e809512eeabf7ebef765.bundle.js} +1 -1
- package/dist/{94.8d63afe2e8cf0489199a.bundle.js → 93.eacf11b216749ef24662.bundle.js} +1 -1
- package/dist/{95.565e12014a029895a47e.bundle.js → 94.ea51ce6e0a719f162375.bundle.js} +1 -1
- package/dist/{96.43c4ab175d5100f42417.bundle.js → 95.0dc5550911d3d0d871da.bundle.js} +1 -1
- package/dist/{97.2aa9813bb8e2ddcf9e41.bundle.js → 96.f35153db1bf3b90d2abc.bundle.js} +1 -1
- package/dist/{98.fbabe5fb9ba60ec4359f.bundle.js → 97.5f0cbc7c62c5871a1dbb.bundle.js} +1 -1
- package/dist/{99.3058922e7c3afd38944e.bundle.js → 98.6711ad20bbd77dd418d8.bundle.js} +1 -1
- package/dist/99.35c79bc748869bc79a91.bundle.js +1 -0
- package/dist/{bundle.a729bbd26d7db7b7c024.bundle.js → bundle.f19c8bb3b73aeddf1f27.bundle.js} +5 -5
- package/dist/css/bootstrap-graphdb-theme.css +4 -0
- package/dist/css/cluster-nodes-configuration.css +100 -0
- package/dist/css/clustermanagement.css +80 -0
- package/dist/css/ttyg/agent-list.css +3 -1
- package/dist/css/ttyg/agent-settings-modal.css +5 -0
- package/dist/css/ttyg/chat-panel.css +51 -1
- package/dist/i18n/locale-en.json +48 -35
- package/dist/i18n/locale-fr.json +48 -35
- package/dist/index.html +6 -6
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +368 -0
- package/dist/js/angular/clustermanagement/templates/modal/edit-cluster-nodes-modal.html +17 -0
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +2 -2
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +17 -5
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/main.004a8c0b1d1bb1fa006f.css +1 -0
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +7 -17
- 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 +6 -4
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/login.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/{polyfills-dom.713c6eb5d06e88d29f04.bundle.js → polyfills-dom.798fd2050f81c0dff613.bundle.js} +1 -1
- package/dist/res/swagger5/index.html +12 -12
- package/dist/{vendors~polyfills-core-js.96a1bbab5b3376633c87.bundle.js → vendors~polyfills-core-js.b7d53dddc781f5fdc222.bundle.js} +1 -1
- package/package.json +1 -1
- package/dist/100.3d74de00f030601e9489.bundle.js +0 -1
- package/dist/103.e7244da5740a04da19e5.bundle.js +0 -1
- package/dist/128.fa3084ee3aa636a6943d.bundle.js +0 -1
- package/dist/130.70c607ca456d4d3e4425.bundle.js +0 -1
- package/dist/134.95838ee457c1daabe365.bundle.js +0 -1
- package/dist/137.365af441e64339f760a1.bundle.js +0 -1
- package/dist/14.50fce7384e1b3706c9ce.bundle.js +0 -1
- package/dist/22.90f57da0d101ba05a3d0.bundle.js +0 -2
- package/dist/23.419ed8a42c157f60fd4c.bundle.js +0 -2
- package/dist/24.a688d2cf70edf07b70da.bundle.js +0 -2
- package/dist/280.7a1fff29dbaae2ab91a2.bundle.js +0 -1
- package/dist/29.a86d9d0af0b450c51ec6.bundle.js +0 -1
- package/dist/304.ac7b142113801e8e627c.bundle.js +0 -1
- package/dist/315.b56535ccf659e0dc2b00.bundle.js +0 -1
- package/dist/330.54d08af7ae2a1b1543d4.bundle.js +0 -1
- package/dist/331.7ad05387c5ea80f14b3b.bundle.js +0 -1
- package/dist/334.b18e698ff9268dd2f3c0.bundle.js +0 -1
- package/dist/335.283607f4b4419c912c3a.bundle.js +0 -1
- package/dist/36.6b37b8a1eb9f42181b77.bundle.js +0 -1
- package/dist/37.36f01213afb3bece36cc.bundle.js +0 -1
- package/dist/390.d36f1c675013d10bcfb4.bundle.js +0 -1
- package/dist/394.488259a20fcc3f78c877.bundle.js +0 -1
- package/dist/395.6a033799cf93451ad83f.bundle.js +0 -1
- package/dist/4.f38e704c5745f63d3884.bundle.js +0 -1
- package/dist/52.b8414a9fb196b747d2a6.bundle.js +0 -1
- package/dist/6.7898509555e816ce326d.bundle.js +0 -1
- package/dist/66.f7242d9a5ed559431ea7.bundle.js +0 -1
- package/dist/68.270fc7723abcb2e37f46.bundle.js +0 -1
- package/dist/8.861e38cf9146e3e75649.bundle.js +0 -1
- package/dist/84.564dbdaadac4d8f943e6.bundle.js +0 -1
- package/dist/85.a26dd294cbde346e535a.bundle.js +0 -1
- package/dist/86.a0e03ca9e6b275e5d86c.bundle.js +0 -1
- package/dist/9.ef09c58a5a6d39c69a24.bundle.js +0 -1
- package/dist/92.9f757b1920f681d4001a.bundle.js +0 -1
- package/dist/js/angular/clustermanagement/templates/modal/add-nodes-dialog.html +0 -67
- package/dist/js/angular/clustermanagement/templates/modal/cluster-create-dialog.html +0 -173
- package/dist/js/angular/clustermanagement/templates/modal/remove-nodes-dialog.html +0 -39
- package/dist/js/angular/clustermanagement/templates/modal/replace-nodes-dialog.html +0 -86
- package/dist/main.4a2c53e12c5400301af1.css +0 -1
- /package/dist/{vendor.097ea64a1a6385ba13cb.bundle.js → vendor.3ae36bbbdf44fc52984f.bundle.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[74,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[74,97,189],{115:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return i})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return a})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return n}));var s=t(93);const i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),n=e=>e.map(e=>a(e))},225:function(e,r,t){"use strict";t.r(r);var s=t(115);angular.module("graphdb.framework.rest.graphconfig.service",[]).factory("GraphConfigRestService",i);function i(e){return{getGraphConfigs:function(){return e.get("rest/explore-graph/config")},getGraphConfigSamples:function(){return e.get("rest/explore-graph/samples")},loadGraphForConfig:function(r,t,s,i){return e.get(`rest/explore-graph/config/graph/${encodeURIComponent(r.id)}?includeInferred=${t}&linksLimit=${s}&sameAsState=${i}`)},getConfig:function(r){return e.get("rest/explore-graph/config/"+encodeURIComponent(r)).then(e=>Object(s.mapGraphsConfigResponseToModel)(e.data))},createGraphConfig:function(r){return e.post("rest/explore-graph/config",r)},updateGraphConfig:function(r){return console.log("rest update",r),e.put("rest/explore-graph/config/"+encodeURIComponent(r.id),r)},deleteGraphConfig:function(r){return e.delete("rest/explore-graph/config/"+encodeURIComponent(r.id))},validateQuery:function(r,t,s,i,a){return e({method:"POST",url:"rest/explore-graph/validate",data:{query:r,queryType:t,params:s,all:i,oneOf:a}})}}}i.$inject=["$http"]},93:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return i}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class i{constructor(e,r,t=s.SEARCH,i,a=!0,n=!0,u,o,p,h,c,d,y,Q,l,g,_,I,f,m,D){this._id=e,this._name=r,this._startMode=t,this._owner=i,this._startQueryIncludeInferred=a,this._startQuerySameAs=n,this._startGraphQuery=u,this._startIRI=o,this._startIRILabel=p,this._expandQuery=h,this._resourceQuery=c,this._predicateLabelQuery=d,this._resourcePropertiesQuery=y,this._shared=Q,this._description=l,this._hint=g,this._startGraphQueryDescription=_,this._expandQueryDescription=I,this._resourceQueryDescription=f,this._predicateLabelQueryDescription=m,this._resourcePropertiesQueryDescription=D}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[75,239,240],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[75,239,240],{104:function(t,i,e){"use strict";e.r(i),e.d(i,"ContextType",(function(){return s})),e.d(i,"ContextTypes",(function(){return n}));class s{constructor(t,i){this.id=t,this.labelKey=i}static getAllType(){return[n.ALL,n.EXPLICIT,n.IMPLICIT]}static getContextType(t){return this.getAllType().find(i=>i.id===t)}}const n={ALL:new s("all","explore.explicit.implicit"),EXPLICIT:new s("explicit","explore.explicit"),IMPLICIT:new s("implicit","explore.implicit")}},124:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceDetails",(function(){return s}));class s{constructor(){this.image=void 0,this.uri=void 0,this.label=void 0,this.encodeURI=void 0,this.comment=void 0,this.context=void 0}}},161:function(t,i,e){"use strict";e.r(i),e.d(i,"ResourceInfo",(function(){return o}));var s=e(124),n=e(104);class o{constructor(){this.role="subject",this.uri=void 0,this.triple=void 0,this.context=void 0,this.contextType=n.ContextTypes.EXPLICIT,this.sameAs=!0,this.details=new s.ResourceDetails,this.blanks=!0}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[77,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[77,103,259],{73:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatMessageModel",(function(){return i})),e.d(s,"CHAT_MESSAGE_ROLE",(function(){return a}));class i{constructor(t){this._id=t.id,this._role=t.role,this._message=t.message,this._timestamp=t.timestamp}get id(){return this._id}set id(t){this._id=t}get role(){return this._role}set role(t){this._role=t}get message(){return this._message}set message(t){this._message=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}}const a={USER:"user",ASSISTANT:"assistant"}},80:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatItemModel",(function(){return a})),e.d(s,"ChatItemsListModel",(function(){return h}));var i=e(73);class a{constructor(t,s){this._chatId=t,this._agentId=void 0,this._question=s,this._answers=[]}get chatId(){return this._chatId}set chatId(t){this._chatId=t}get agentId(){return this._agentId}set agentId(t){this._agentId=t}get question(){return this._question}set question(t){this._question=t}get answers(){return this._answers}set answers(t){this._answers=t}setQuestionMessage(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}getQuestionMessage(){return this._question.message}toCreateChatRequestPayload(){return{agentId:this._agentId,question:this._question.message}}toAskRequestPayload(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message}}toExplainResponsePayload(t){return{conversationId:this._chatId,answerId:t}}}class h{constructor(t=[]){this._items=t}isEmpty(){return 0===this._items.length}appendItem(t){this._items.push(t)}get items(){return this._items}set items(t){this._items=t||[]}getLast(){if(!this.isEmpty())return this._items[this._items.length-1]}}},90:function(t,s,e){"use strict";e.r(s),e.d(s,"ChatModel",(function(){return a})),e.d(s,"ChatByDayModel",(function(){return h})),e.d(s,"ChatsListModel",(function(){return n}));var i=e(80);class a{constructor(t,s){this.hashGenerator=s,this._id=t.id,this._name=t.name,this._timestamp=t.timestamp,this._chatHistory=t.chatHistory||new i.ChatItemsListModel,this.hash=this.generateHash()}generateHash(){return this.hashGenerator(JSON.stringify(this))}get id(){return this._id}set id(t){this._id=t}get name(){return this._name}set name(t){this.generateHash(),this._name=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chatHistory(){return this._chatHistory}set chatHistory(t){this._chatHistory=t||new i.ChatItemsListModel}toRenameRequestPayload(){return{name:this._name}}}class h{constructor(t){this._day=t.day,this._timestamp=t.timestamp,this._chats=t.chats}get day(){return this._day}set day(t){this._day=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get chats(){return this._chats}set chats(t){this._chats=t}}class n{constructor(t){this._chats=t||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}sortByTime(){this._chats.sort((t,s)=>s.timestamp-t.timestamp)}updateChatTimestamp(t,s){const e=this._chats.find(s=>s.id===t);e&&(e.timestamp=s),this.sortByTime(),this.updateChatsByDay()}deleteChat(t){this._chats=this._chats.filter(s=>s.id!==t.id),this.sortByTime(),this.updateChatsByDay()}updateChatsByDay(){this._chatsByDay=[],this._chats.forEach(t=>{const s=new Date(1e3*t.timestamp).toDateString(),e=this._chatsByDay.find(t=>t.day===s);e?e.chats.push(t):this._chatsByDay.push(new h({day:s,timestamp:1e3*t.timestamp,chats:[t]}))})}appendChat(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}replaceChat(t,s){this._chats=this._chats.map(e=>e.id===s.id?t:e),this.sortByTime(),this.updateChatsByDay()}isEmpty(){return 0===this._chats.length}getFirstChat(){return this._chats[0]}deselectAll(){this._chats.forEach(t=>{t.selected=!1})}selectChat(t){this.deselectAll(),this._chats.forEach(s=>{s.selected=s.id===t.id})}getChat(t){return this._chats.find(s=>s.id===t)}getNonPersistedChat(){return this._chats.find(t=>!t.id)}renameChat(t){const s=this._chats.find(s=>s.id===t.id);s&&(s.name=t.name)}get chats(){return this._chats}set chats(t){this._chats=t}get chatsByDay(){return this._chatsByDay}set chatsByDay(t){this._chatsByDay=t}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[78,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[78,116,276],{143:function(t,e,a){"use strict";a.r(e),a.d(e,"HeapMemoryChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(t){super(t,!1,!1)}chartSetup(t){const e={yAxis:{axisLabel:{formatter:t=>this.hasSelectedSeries()?s.formatBytesValue(t,this.dataHolder,this.selectedSeries):s.formatBytesValue(t,this.dataHolder)},min:0},tooltip:{valueFormatter:t=>s.formatBytesValue(t,null,this.selectedSeries)}};_.merge(t,e)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[t,e]=this.dataHolder;t.name=this.translateService.instant("resource.memory.committed"),e.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(t,e,a){const[r,s]=t,i=this.parseData(a);this.latestData={committed:i.committed,used:i.used,max:i.max},r.data.push({value:[e,i.committed]}),s.data.push({value:[e,i.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const t=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}parseData(t){return t.heapMemoryUsage}updateRange(t,e,a){super.updateRange(t,e,a)}}},257:function(t,e,a){"use strict";a.r(e),a.d(e,"NonHeapMemoryChart",(function(){return s}));var r=a(143);class s extends r.HeapMemoryChart{constructor(t){super(t,!1,!1)}parseData(t){return t.nonHeapMemoryUsage}}},72:function(t,e,a){"use strict";a.r(e),a.d(e,"ChartData",(function(){return s}));var r=a(504);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}constructor(t,e,a,r){this.filter=r,this.disableRangeUpdate=e,this.disableOldDataRemoval=a,this.translateService=t,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(t){this.refreshHandlers.push(t)}unregisterRefreshHandler(t){const e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}initialChartSetup(t=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(t=!1){t||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(t=>t(this.chartOptions))}setSubTitle(t,e=0){this.chartOptions.title.show=!0;let a="";t.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const i=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==i&&(a+=`{b|${i}}`),s+1<t.length&&(a+=e>0&&(s+1)%e==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(t){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(t=>!0===t)}removeOldData(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach(t=>t.data.shift())}addNewData(t,e,a,r){}setSelectedSeries(t){this.selectedSeries=t}updateRange(t,e){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(t,e,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return r.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(t,e){const a=t.filter(t=>!e||angular.isUndefined(e[t.name])||!0===e[t.name]).map(t=>s.getMaxValueForDataSeries(t));return Math.max(1,...a)}static getMaxValueForDataSeries(t){return Math.max(...t.data.map(t=>t.value[1]))}static calculateMaxChartValueAndDivisions(t,e,a){let r;r=Array.isArray(t)?s.getMaxValueFromDataHolder(t,a):s.getMaxValueForDataSeries(t);const i=Math.ceil(r*(e||s.DEFAULT_MULTIPLIER))||1;return[i,Math.ceil(i/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(t,e,a){const[r,i]=s.calculateMaxChartValueAndDivisions(t,e,a);return[r,i]}static formatBytesValue(t,e,a){let r=t;e&&(r=s.getMaxValueFromDataHolder(e,a));const i=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(t)/Math.pow(1024,i)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}`}formatNumber(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[79],{364:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(290),n(33),n(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[79],{364:function(e,t,n){"use strict";n.r(t);n(7),n(31),n(290),n(33),n(536);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth"])},536:function(e,t){
|
|
2
2
|
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,i=27,a=32,r=38,o=40,s=37,u=39,l=46,c=188,g=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,i,r,o,p,f){function m(e,t,n,i){var a,r,s,u,l={};return a=function(t){return f.safeToString(t[e.displayProperty])},r=function(t,n){t[e.displayProperty]=n},s=function(t){var i=a(t),r=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!f.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return o.when(r&&n({$tag:t})).then(f.promisifyValue)},u=function(e){return o.when(i({$tag:e})).then(f.promisifyValue)},l.items=[],l.addText=function(e){var t={};return r(t,e),l.add(t)},l.add=function(n){var i=a(n);return e.replaceSpacesWithDashes&&(i=f.replaceSpacesWithDashes(i)),r(n,i),s(n).then((function(){l.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){i&&t.trigger("invalid-tag",{$tag:n})}))},l.remove=function(e){var n=l.items[e];return u(n).then((function(){return l.items.splice(e,1),l.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e]},l.selectPrior=function(){l.select(--l.index)},l.selectNext=function(){l.select(++l.index)},l.removeSelected=function(){return l.remove(l.index)},l.clearSelection=function(){l.selected=null,l.index=-1},l.getItems=function(){return e.useStrings?l.items.map(a):l.items},l.clearSelection(),l}function h(e){return-1!==d.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,g],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,g],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(o,g,d,p){var m,h,v=[n,c,a,e,l,s,u],T=o.tagList,y=o.events,$=o.options,x=g.find("input"),b=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",T.items.length<=$.maxTags),p.$setValidity("minTags",T.items.length>=$.minTags),p.$setValidity("leftoverText",!(!o.hasFocus&&!$.allowLeftoverText)||!o.newTag.text())},h=function(){t((function(){x[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},o.newTag={text:function(e){return angular.isDefined(e)?(o.text=e,void y.trigger("input-change",e)):o.text||""},invalid:null},o.track=function(e){return e[$.keyProperty||$.displayProperty]},o.getTagClass=function(e,t){var n=e===T.selected;return[o.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},o.$watch("tags",(function(e){if(e){if(T.items=f.makeObjectArray(e,$.displayProperty),$.useStrings)return;o.tags=T.items}else T.items=[]})),o.$watch("tags.length",(function(){m(),p.$validate()})),d.$observe("disabled",(function(e){o.disabled=e})),o.eventHandlers={input:{keydown:function(e){y.trigger("input-keydown",e)},focus:function(){o.hasFocus||(o.hasFocus=!0,y.trigger("input-focus"))},blur:function(){t((function(){var e=i.prop("activeElement"),t=e===x[0],n=g[0].contains(e);(t||!n)&&(o.hasFocus=!1,y.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):r.clipboardData.getData("Text")},y.trigger("input-paste",e)}},host:{click:function(){o.disabled||h()}},tag:{click:function(e){y.trigger("tag-clicked",{$tag:e})}}},y.on("tag-added",o.onTagAdded).on("invalid-tag",o.onInvalidTag).on("tag-removed",o.onTagRemoved).on("tag-clicked",o.onTagClicked).on("tag-added",(function(){o.newTag.text("")})).on("tag-added tag-removed",(function(){o.tags=T.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){o.newTag.invalid=!0})).on("option-change",(function(e){-1!==b.indexOf(e.name)&&m()})).on("input-change",(function(){T.clearSelection(),o.newTag.invalid=null})).on("input-focus",(function(){g.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){$.addOnBlur&&!$.addFromAutocompleteOnly&&T.addText(o.newTag.text()),g.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var i,r,g,d,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=$.addOnEnter,m[c]=$.addOnComma,m[a]=$.addOnSpace,i=!$.addFromAutocompleteOnly&&m[p],r=(p===e||p===l)&&T.selected,d=p===e&&0===o.newTag.text().length&&$.enableEditingLastTag,g=(p===e||p===s||p===u)&&0===o.newTag.text().length&&!$.enableEditingLastTag,i?T.addText(o.newTag.text()):d?(T.selectPrior(),T.removeSelected().then((function(e){e&&o.newTag.text(e[$.displayProperty])}))):r?T.removeSelected():g&&(p===s||p===e?T.selectPrior():p===u&&T.selectNext()),(i||g||r||d)&&t.preventDefault())})).on("input-paste",(function(e){if($.addOnPaste){var t=e.getTextData().split($.pasteSplitPattern);t.length>1&&(t.forEach((function(e){T.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,i,a){var r=a.registerTagItem(),o=r.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){r.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,a,s,u,l,c){function g(e,t,n){var i,a,r,o={};return r=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter((function(e){return!c.findInObjectArray(n,e,r(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=c.replaceSpacesWithDashes(e),n=c.replaceSpacesWithDashes(n)),c.defaultComparer(e,n)}))}))},o.reset=function(){a=null,o.items=[],o.visible=!1,o.index=-1,o.selected=null,o.query=null},o.show=function(){t.selectFirstMatch?o.select(0):o.selected=null,o.visible=!0},o.load=c.debounce((function(n,s){o.query=n;var l=u.when(e({$query:n}));a=l,l.then((function(e){l===a&&(e=c.makeObjectArray(e.data||e,r()),e=i(e,s),o.items=e.slice(0,t.maxResultsToShow),o.items.length>0?o.show():o.reset())}))}),t.debounceDelay),o.selectNext=function(){o.select(++o.index)},o.selectPrior=function(){o.select(--o.index)},o.select=function(e){0>e?e=o.items.length-1:e>=o.items.length&&(e=0),o.index=e,o.selected=o.items[e],n.trigger("suggestion-selected",e)},o.reset(),o}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=c.simplePubSub(),l.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new g(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,a,s,u){var l,g=[n,t,i,r,o],d=e.suggestionList,p=u.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),l=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){d.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return d.selected&&(p.addTag(angular.copy(d.selected)),d.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var i=t===d.selected;return[e.matchClass({$match:t,$index:n,$selected:i}),{selected:i}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){d.reset()})).on("input-change",(function(e){l(e)?d.load(e,p.getTags()):d.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&l(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(a){var s=a.keyCode,u=!1;if(!c.isModifierOn(a)&&-1!==g.indexOf(s))return d.visible?s===o?(d.selectNext(),u=!0):s===r?(d.selectPrior(),u=!0):s===i?(d.reset(),u=!0):(s===n||s===t)&&(u=e.addSuggestion()):s===o&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),u=!0),u?(a.preventDefault(),a.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),i=n.parent(),a=n.prop("offsetTop"),r=n.prop("offsetHeight"),o=i.prop("clientHeight"),s=i.prop("scrollTop");s>a?i.prop("scrollTop",a):a+r>o+s&&i.prop("scrollTop",a+r-o)}(a,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,i,a,r){var o=r.registerAutocompleteMatch(),s=o.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,i,a){a((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,i,a){var r,o,s=e.getTextAutosizeThreshold();(r=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(r),o=function(e){var t,a=e;return angular.isString(a)&&0===a.length&&(a=i.placeholder),a&&(r.text(a),r.css("display",""),t=r.prop("offsetWidth"),r.css("display","none")),n.css("width",t?t+s+"px":""),e},a.$parsers.unshift(o),a.$formatters.unshift(o),i.$observe("placeholder",(function(e){a.$modelValue||o(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(i){var a={};return a[String]=function(e){return e},a[Number]=function(e){return parseInt(e,10)},a[Boolean]=function(e){return"true"===e.toLowerCase()},a[RegExp]=function(e){return new RegExp(e)},{load:function(n,r,o,s){var u=function(){return!0};r.options={},angular.forEach(s,(function(s,l){var c,g,d,p,f,m;c=s[0],g=s[1],d=s[2]||u,p=a[c],f=function(){var t=e[n]&&e[n][l];return angular.isDefined(t)?t:g},m=function(e){r.options[l]=e&&d(e)?p(e):f()},t[n]&&t[n][l]?o.$observe(l,(function(e){m(e),r.events.trigger("option-change",{name:l,newValue:e})})):m(o[l]&&i(o[l])(r.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var i;return function(){var a=arguments;e.cancel(i),i=e((function(){t.apply(null,a)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var i={};i[t]=e,n.push(i)})),n},findInObjectArray:function(e,t,i,a){var r=null;return a=a||n.defaultComparer,e.some((function(e){return a(e[i],t[i])?(r=e,!0):void 0})),r},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var i=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(i,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,i){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(i?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,i){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(i)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,78,108,109,110,111,112,113,114,115,116,276,280],{107:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",a),a.$inject=["$http"];function a(e){return{getClusterConfig:function(){return e.get("rest/cluster/config")},createCluster:function(t){return e.post("rest/cluster/httpConfig",t)},updateClusterConfiguration:function(t){t.nodes&&delete t.nodes;return e.patch("rest/cluster/config",t)},deleteCluster:function(t){const a=$.param({force:t});return e.delete("rest/cluster/config?"+a)},replaceNodesInCluster:function(t){return e.patch("rest/cluster/httpConfig",t)},getClusterStatus:function(){return e.get("rest/cluster/group/status")},getNodeStatus:function(){return e.get("rest/cluster/node/status")}}}},143:function(e,t,a){"use strict";a.r(t),a.d(t,"HeapMemoryChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.hasSelectedSeries()?s.formatBytesValue(e,this.dataHolder,this.selectedSeries):s.formatBytesValue(e,this.dataHolder)},min:0},tooltip:{valueFormatter:e=>s.formatBytesValue(e,null,this.selectedSeries)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.memory.committed"),t.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}addNewData(e,t,a){const[r,s]=e,o=this.parseData(a);this.latestData={committed:o.committed,used:o.used,max:o.max},r.data.push({value:[t,o.committed]}),s.data.push({value:[t,o.used]}),this.configureSubtitle()}configureSubtitle(){if(this.latestData.max>0){const e=[{label:this.translateService.instant("resource.memory.heap.max"),value:s.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(e)}}parseData(e){return e.heapMemoryUsage}updateRange(e,t,a){super.updateRange(e,t,a)}}},185:function(e,t,a){"use strict";a.r(t);a(7),a(32),a(34),a(107);var r=a(256),s=a(143),o=a(257),i=a(258),n=a(259),l=a(260),c=a(261),u=a(262),h=a(263),d=a(264);angular.module("graphdb.framework.jmx.resources.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","graphdb.framework.rest.cluster.service"]).controller("ResourcesCtrl",["$scope","$timeout","MonitoringRestService","$translate","$repositories","$q","ClusterRestService","$filter",function(e,t,a,m,p,f,S,g){e.AVAILABLE_TABS=Object.freeze({RESOURCE_MONITOR:"resource",PERFORMANCE_MONITOR:"performance",CLUSTER_HEALTH:"cluster"});const y=window.location.hash.slice(1),v=Object.keys(e.AVAILABLE_TABS).find(t=>e.AVAILABLE_TABS[t]===y);e.activeTab=e.AVAILABLE_TABS[v]||e.AVAILABLE_TABS.RESOURCE_MONITOR,e.resourceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{cpuLoad:new i.CpuLoadChart(m),fileDescriptors:new r.FileDescriptorsChart(m,g),heapMemory:new s.HeapMemoryChart(m),offHeapMemory:new o.NonHeapMemoryChart(m),diskStorage:new n.DiskStorageChart(m)}},e.performanceMonitorData={error:{hasError:!1,message:"",retries:0},charts:{connectionsChart:new u.ConnectionsChart(m),epoolChart:new d.EpoolChart(m),queriesChart:new l.QueriesChart(m)}},e.structuresMonitorData={error:{hasError:!1,message:"",retries:0},charts:{globalCacheChart:new c.GlobalCacheChart(m,g)}},e.clusterHealthData={error:{hasError:!1,message:"",retries:0},charts:{clusterHealthChart:new h.ClusterHealthChart(m)}},e.hasCluster=!1;e.loader=!0,e.switchTab=t=>{e.activeTab=t,window.location.hash=t},e.getActiveRepository=function(){return p.getActiveRepository()};const D=function(e){return a.monitorQueryTransactionStatistics(e).then((function(e){return e.data}))},b=function(e){return a.monitorQuery(e).then((function(e){return e.data}))},C=function(){return a.monitorCluster()},w=e=>{if(e.chartsHolder.error.hasError){if(3===e.chartsHolder.error.retries)return e.poll&&t.cancel(e.poll),Promise.resolve();e.chartsHolder.error.retries++}return e.fetchFn().then((function(t){x(t,e)})).then(()=>{O(e)}).catch(t=>{A(e,t)}).finally(()=>{e.poll&&t.cancel(e.poll),e.poll=t(()=>w(e),2e3)})},x=(e,t,a)=>{const r=e.data;r&&H(r,t,a)},H=(e,t,a)=>{const r=new Date;a?a(r,e):Object.values(t.chartsHolder.charts).forEach(t=>{t.addData(r,e)})},A=(e,t)=>{e.chartsHolder.error.hasError=!!t,e.chartsHolder.error.hasError&&(e.chartsHolder.error.message=getError(t))},O=e=>{e.chartsHolder.error.hasError=!1,e.chartsHolder.error.message=""};e.monitors=[],e.monitors.push({chartsHolder:e.resourceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){return a.monitorResources()},poll:null}),e.monitors.push({chartsHolder:e.structuresMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?a.monitorStructures(t):Promise.resolve({})},poll:null}),e.monitors.push({chartsHolder:e.performanceMonitorData,error:{hasError:!1,message:"",retries:0},fetchFn:function(){const t=e.getActiveRepository();return t?f.all([D(t),b(t)]).then(e=>{const[t,a]=e;return{data:{performanceData:t,activeQueryData:a}}}):Promise.resolve({})},poll:null}),S.getNodeStatus().then(()=>{e.hasCluster=!0;const t={chartsHolder:e.clusterHealthData,fetchFn:C,poll:null};e.monitors.push(t),w(t)}).catch(()=>{e.hasCluster=!1});let R=null;f.all(e.monitors.map(e=>w(e))).finally(()=>{e.loader&&(R&&t.cancel(R),R=t((function(){e.loader=!1}),500))}),e.$on("$destroy",(function(){R&&t.cancel(R);for(const a of e.monitors)a.poll&&t.cancel(a.poll)}))}])},256:function(e,t,a){"use strict";a.r(t),a.d(t,"FileDescriptorsChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},min:0},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.file_descriptors.open"),type:"line",areaStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,color:r.ChartData.COLORS[1],data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.file_descriptors.open"),this.configureSubtitle()}addNewData(e,t,a){this.latestData={maxFileDescriptors:a.maxFileDescriptors,openFileDescriptors:a.openFileDescriptors},this.configureSubtitle(),a.openFileDescriptors&&e[0].data.push({value:[t,a.openFileDescriptors]})}configureSubtitle(){let e;e=this.latestData.openFileDescriptors?[{label:this.translateService.instant("resource.system.file_descriptors.max"),value:this.formatNumber(this.latestData.maxFileDescriptors)}]:[{label:this.translateService.instant("resource.system.file_descriptors.only_unix")}],this.setSubTitle(e)}updateRange(e){super.updateRange(e,2)}}},257:function(e,t,a){"use strict";a.r(t),a.d(t,"NonHeapMemoryChart",(function(){return s}));var r=a(143);class s extends r.HeapMemoryChart{constructor(e){super(e,!1,!1)}parseData(e){return e.nonHeapMemoryUsage}}},258:function(e,t,a){"use strict";a.r(t),a.d(t,"CpuLoadChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>e+"%"},min:0,max:function(e){return Math.round(e.max>50?100:2*e.max)}},tooltip:{valueFormatter:function(e){return e+"%"}}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.system.cpu_load.label"),type:"line",smoothMonotone:"x",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.system.cpu_load.label")}addNewData(e,t,a){e[0].data.push({value:[t,this.formatValue(a.cpuLoad)]})}formatValue(e){return+parseFloat(e).toFixed(4)}updateRange(e){}}},259:function(e,t,a){"use strict";a.r(t),a.d(t,"DiskStorageChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!0,!0)}chartSetup(e){const t={height:250,tooltip:{trigger:"axis",axisPointer:{type:"shadow",label:null},valueFormatter:function(e){return(100*e).toFixed(2)+"%"}},xAxis:{type:"value",min:0,max:1,splitNumber:2,axisLabel:{formatter:function(e){return(100*e).toFixed(2)+"%"}}},yAxis:{type:"category",data:[this.translateService.instant("resource.storage.logs"),this.translateService.instant("resource.storage.work"),this.translateService.instant("resource.storage.data")]},legend:{itemStyle:{opacity:1}}};_.merge(e,t)}createDataHolder(){return[this.createDataHolderForItem("resource.storage.used",r.ChartData.COLORS[1]),this.createDataHolderForItem("resource.storage.free",r.ChartData.COLORS[0])]}createDataHolderForItem(e,t){return{name:this.translateService.instant(e),type:"bar",stack:!0,showSymbol:!1,smooth:!0,barCategoryGap:"10%",color:t,itemStyle:{opacity:r.ChartData.AREA_BAR_OPACITY},label:{show:!0,color:"black",opacity:1,formatter:function({value:e}){return(100*e).toFixed(2)+"%"}},emphasis:{itemStyle:{color:t,opacity:1},label:{color:"white"}},data:[]}}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.storage.used"),t.name=this.translateService.instant("resource.storage.free"),this.chartSetup(this.chartOptions),this.configureSubtitle()}addNewData(e,t,a,r){const s=a.storageMemory,[o,i]=e;this.latestData={data:{used:s.dataDirUsed,free:s.dataDirFree},work:{used:s.workDirUsed,free:s.workDirFree},logs:{used:s.logsDirUsed,free:s.logsDirFree}},this.configureSubtitle();const n=s.dataDirUsed+s.dataDirFree,l=s.workDirUsed+s.workDirFree,c=s.logsDirUsed+s.logsDirFree,u=s.dataDirUsed/n,h=s.workDirUsed/l,d=s.logsDirUsed/c,m=s.dataDirFree/n,p=s.workDirFree/l,f=s.logsDirFree/c;o.data.push(d,h,u),i.data.push(f,p,m)}configureSubtitle(){const e=[{label:this.translateService.instant("resource.storage.subtitle.data"),value:[s.formatBytesValue(this.latestData.data.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.data.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.work"),value:[s.formatBytesValue(this.latestData.work.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.work.free,null,this.selectedSeries)]},{label:this.translateService.instant("resource.storage.subtitle.logs"),value:[s.formatBytesValue(this.latestData.logs.used,null,this.selectedSeries),s.formatBytesValue(this.latestData.logs.free,null,this.selectedSeries)]}];this.setSubTitle(e)}}},260:function(e,t,a){"use strict";a.r(t),a.d(t,"QueriesChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.queries.running"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e]=this.dataHolder;e.name=this.translateService.instant("resource.queries.running"),this.configureSubtitle()}addNewData(e,t,a){const{activeQueryData:r,performanceData:s}=a;this.latestData={slowQueries:s.queries.slow,suboptimal:s.queries.suboptimal,activeQueryData:r,performanceData:s},e[0].data.push({value:[t,r.length]}),this.configureSubtitle()}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}configureSubtitle(){const e=[{label:this.translateService.instant("resource.queries.slow"),value:this.latestData.slowQueries},{label:this.translateService.instant("resource.queries.suboptimal"),value:this.latestData.suboptimal}];this.setSubTitle(e)}}},261:function(e,t,a){"use strict";a.r(t),a.d(t,"GlobalCacheChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e,t){super(e,!1,!1,t)}chartSetup(e){const t={yAxis:{axisLabel:{formatter:e=>this.formatNumber(e)},minInterval:1},tooltip:{valueFormatter:e=>this.formatNumber(e)}};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resources.global_cache.hits"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resources.global_cache.miss"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resources.global_cache.hits"),t.name=this.translateService.instant("resources.global_cache.miss")}addNewData(e,t,a){const[r,s]=e;r.data.push({value:[t,a.cacheHit]}),s.data.push({value:[t,a.cacheMiss]})}}},262:function(e,t,a){"use strict";a.r(t),a.d(t,"ConnectionsChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!1,!1)}createDataHolder(){return[{name:this.translateService.instant("resource.connections.active"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.connections.open"),type:"line",showSymbol:!1,smooth:!0,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.connections.active"),t.name=this.translateService.instant("resource.connections.open")}addNewData(e,t,a){const[r,s]=e,{activeTransactions:o,openConnections:i}=a.performanceData;r.data.push({value:[t,o]}),s.data.push({value:[t,i]})}updateRange(e,t){const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis.max=a,this.chartOptions.yAxis.minInterval=s}}},263:function(e,t,a){"use strict";a.r(t),a.d(t,"ClusterHealthChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!0,!1),this.nodesCount=0}createDataHolder(){const[e,t,a,r]=s.COLORS;return[{name:this.translateService.instant("resources.cluster_health.in_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:e,data:[]},{name:this.translateService.instant("resources.cluster_health.syncing"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:a,data:[]},{name:this.translateService.instant("resources.cluster_health.out_sync"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:t,data:[]},{name:this.translateService.instant("resources.cluster_health.disconnected"),type:"line",stack:"nodes",showSymbol:!1,step:"middle",areaStyle:{},lineStyle:{width:0},color:r,data:[]}]}addNewData(e,t,a){const r=a.nodesStats;this.nodesCount=r.nodesInCluster;const[s,o,i,n]=e;this.latestData={nodesInSync:r.nodesInCluster,nodesOutOfSync:r.nodesOutOfSync,nodesDisconnected:r.nodesDisconnected,nodesSyncing:r.nodesSyncing,term:a.term,failureRecoveriesCount:a.failureRecoveriesCount,failedTransactionsCount:a.failedTransactionsCount},s.data.push({value:[t,r.nodesInSync]}),i.data.push({value:[t,r.nodesOutOfSync]}),n.data.push({value:[t,r.nodesDisconnected]}),o.data.push({value:[t,r.nodesSyncing]}),this.configureSubtitle()}translateLabels(){const[e,t,a,r]=this.dataHolder;e.name=this.translateService.instant("resources.cluster_health.in_sync"),t.name=this.translateService.instant("resources.cluster_health.syncing"),a.name=this.translateService.instant("resources.cluster_health.out_sync"),r.name=this.translateService.instant("resources.cluster_health.disconnected"),this.configureSubtitle()}updateRange(e,t){this.chartOptions.yAxis.max=this.nodesCount,this.chartOptions.yAxis.splitNumber=this.nodesCount}configureSubtitle(){const e=[{label:this.translateService.instant("resource.cluster_health.leader_elections"),value:this.latestData.term},{label:this.translateService.instant("resource.cluster_health.recoveries"),value:this.latestData.failureRecoveriesCount},{label:this.translateService.instant("resource.cluster_health.failed_transactions"),value:this.latestData.failedTransactionsCount}];this.setSubTitle(e)}}},264:function(e,t,a){"use strict";a.r(t),a.d(t,"EpoolChart",(function(){return s}));var r=a(72);class s extends r.ChartData{constructor(e){super(e,!1,!1)}chartSetup(e){const t={grid:{containLabel:!0,left:40},yAxis:[{name:this.translateService.instant("resource.epool.reads"),nameLocation:"middle",type:"value",nameGap:40},{name:this.translateService.instant("resource.epool.writes"),nameLocation:"middle",type:"value",nameGap:40}]};_.merge(e,t)}createDataHolder(){return[{name:this.translateService.instant("resource.epool.reads"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:0,data:[]},{name:this.translateService.instant("resource.epool.writes"),type:"line",showSymbol:!1,smooth:!0,yAxisIndex:1,data:[]}]}translateLabels(){const[e,t]=this.dataHolder;e.name=this.translateService.instant("resource.epool.reads"),t.name=this.translateService.instant("resource.epool.writes"),this.chartSetup(this.chartOptions)}addNewData(e,t,a,r){const s=a.performanceData,[o,i]=e;let n=0,l=0;const c=s.entityPool.epoolReads,u=s.entityPool.epoolWrites;r||(n=c-this.lastestData.reads,l=u-this.lastestData.writes),this.lastestData={reads:c,writes:u},o.data.push({value:[t,n]}),i.data.push({value:[t,l]})}updateRange(e){e.forEach((e,t)=>{const[a,s]=r.ChartData.getIntegerRangeForValues(e,this.selectedSeries);this.chartOptions.yAxis[t].max=a,this.chartOptions.yAxis[t].minInterval=s})}}},72:function(e,t,a){"use strict";a.r(t),a.d(t,"ChartData",(function(){return s}));var r=a(504);class s{static get DEFAULT_MULTIPLIER(){return 1.2}static get MAXIMUM_DIVISIONS(){return 10}static get COLORS(){return[s.cssVar("--secondary-color"),s.cssVar("--primary-color"),s.cssVar("--tertiary-color"),s.cssVar("--gray-color")]}static get AREA_BAR_OPACITY(){return.5}static cssVar(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}constructor(e,t,a,r){this.filter=r,this.disableRangeUpdate=t,this.disableOldDataRemoval=a,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}registerRefreshHandler(e){this.refreshHandlers.push(e)}unregisterRefreshHandler(e){const t=this.refreshHandlers.indexOf(e);t>-1&&this.refreshHandlers.splice(t,1)}initialChartSetup(e=!0){this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),e&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}refresh(e=!1){e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach(e=>e(this.chartOptions))}setSubTitle(e,t=0){this.chartOptions.title.show=!0;let a="";e.forEach((r,s)=>{if(Array.isArray(r.value)&&!r.value.length)return;const o=Array.isArray(r.value)?r.value.join("/"):r.value;a+=`{a|${r.label}}`,void 0!==o&&(a+=`{b|${o}}`),s+1<e.length&&(a+=t>0&&(s+1)%t==0?"\n":"{a| · }")}),this.chartOptions.title.text=a}chartSetup(e){}createDataHolder(){throw new Error("Must implement data holder creation")}addData(e,t){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,e,t,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}hasSelectedSeries(){return!this.selectedSeries||Object.values(this.selectedSeries).some(e=>!0===e)}removeOldData(e,t){this.disableOldDataRemoval||e[0].data.length>t&&e.forEach(e=>e.data.shift())}addNewData(e,t,a,r){}setSelectedSeries(e){this.selectedSeries=e}updateRange(e,t){if(this.disableRangeUpdate)return;const[a]=s.calculateMaxChartValueAndDivisions(e,t,this.selectedSeries);this.chartOptions.yAxis.max=a}isFirstLoad(){return this.firstLoad}getDefaultChartOptions(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:s.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:s.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(e){return r.b.format(e.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:s.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:s.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:s.cssVar("--main-font"),fontWeight:400}}}static getMaxValueFromDataHolder(e,t){const a=e.filter(e=>!t||angular.isUndefined(t[e.name])||!0===t[e.name]).map(e=>s.getMaxValueForDataSeries(e));return Math.max(1,...a)}static getMaxValueForDataSeries(e){return Math.max(...e.data.map(e=>e.value[1]))}static calculateMaxChartValueAndDivisions(e,t,a){let r;r=Array.isArray(e)?s.getMaxValueFromDataHolder(e,a):s.getMaxValueForDataSeries(e);const o=Math.ceil(r*(t||s.DEFAULT_MULTIPLIER))||1;return[o,Math.ceil(o/s.MAXIMUM_DIVISIONS)]}static getIntegerRangeForValues(e,t,a){const[r,o]=s.calculateMaxChartValueAndDivisions(e,t,a);return[r,o]}static formatBytesValue(e,t,a){let r=e;t&&(r=s.getMaxValueFromDataHolder(t,a));const o=Math.floor(Math.log(r)/Math.log(1024));return`${(parseFloat(e)/Math.pow(1024,o)).toFixed(2)} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o]}`}formatNumber(e){if(!angular.isUndefined(e)&&this.filter)return this.filter("currency")(e,"",0)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[80,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[80,121],{146:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRolePrefix",(function(){return{restrict:"A",link:function(r,e,n){const t=[];function a(r,e){if(!r||"*"===r)return r;const n=r.startsWith("!"),t=n?"!CUSTOM_":"CUSTOM_";return e?t+r.replace(/^!/,""):n?"!"+r.replace(t,""):r.replace(t,"")}function o(r){return r.startsWith("CUSTOM_")||r.startsWith("!CUSTOM_")}const s="tags-input"===e[0].nodeName.toLowerCase();if(("INPUT"===e[0].tagName||"TEXTAREA"===e[0].tagName||s)&&n.ngModel){const i=e.controller("ngModel");s?(i.$parsers.push((function(r){return Array.isArray(r)&&(i.$warning=r.some(r=>o(r))),r})),t.push(r.$watch(n.ngModel,(function(r){Array.isArray(r)&&(i.$warning=r.some(r=>o(r)))}),!0))):(i.$parsers.push((function(r){return i.$warning=!(!r||!o(r)),r})),i.$formatters.push((function(r){return a(r,!1)})),i.$parsers.push((function(r){return a(r,!0)})))}t.push(r.$on("$destroy",()=>{t.forEach(r=>r())}))}}}))},294:function(r,e,n){"use strict";n.r(e);n(7),n(31),n(37),n(145),n(286),n(32),n(146);angular.module("graphdb.framework.aclmanagement",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.aclmanagement.directives","graphdb.framework.aclmanagement.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[81,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[81,122],{135:function(e,t,s){"use strict";s.r(t),s.d(t,"ACListModel",(function(){return i})),s.d(t,"ACRuleModel",(function(){return o})),s.d(t,"StatementACRuleModel",(function(){return n})),s.d(t,"PluginACRuleModel",(function(){return c})),s.d(t,"ClearGraphACRuleModel",(function(){return l})),s.d(t,"SystemACRuleModel",(function(){return u})),s.d(t,"ACL_POLICY",(function(){return p})),s.d(t,"ACL_OPERATION",(function(){return h})),s.d(t,"ACL_SCOPE",(function(){return _})),s.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return d})),s.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return R})),s.d(t,"DEFAULT_URI_VALUES",(function(){return f}));var r=s(30);class i{constructor(e=[]){this._aclRules=new Map,e.forEach(e=>{const t=e.scope;this._aclRules.has(t)||this._aclRules.set(t,[]),this._aclRules.get(t).push(e)})}size(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}appendNewRule(e,t,s,r,i,o,n,c,l){const u=a.createRule(e,t,s,r,i,o,n,c,l);this._aclRules.has(e)||this._aclRules.set(e,[]),u.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(u)}addRule(e,t){const s=this._aclRules.get(e);s?s.splice(t,0,a.createRule(e)):this._aclRules.set(e,[a.createRule(e)])}removeRule(e,t){const s=this._aclRules.get(e);s&&s.splice(t,1)}replaceRule(e,t,s){const r=this._aclRules.get(e);r&&r.splice(t,1,s)}getRule(e,t){const s=this._aclRules.get(e);return s?s[t]:null}isRuleDuplicated(e,t){const s=this.getRule(e,t);return!!s&&this._aclRules.get(e).some((e,i)=>i!==t&&Object(r.isEqual)(s,e))}setPrefixWarningFlag(e,t){const s=this.getRule(e,t);s&&s.checkCustomOrNegatedPrefix()}getRuleCopy(e,t){const s=this.getRule(e,t);return a.createRule(s.scope,s.policy,s.role,s.operation,s.subject,s.predicate,s.object,s.context,s.plugin)}moveUp(e,t){const s=this._aclRules.get(e),r=s[t-1];s[t-1]=s[t],s[t]=r}moveDown(e,t){const s=this._aclRules.get(e),r=s[t+1];s[t+1]=s[t],s[t]=r}toJSON(){const e=[];return this._aclRules.forEach(t=>{t.forEach(t=>e.push(t.toJSON()))}),e}get aclRules(){return this._aclRules}set aclRules(e){this._aclRules=e}getRulesByScope(e){return this._aclRules.get(e)||[]}getRuleKeysByScope(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}class o{constructor(e,t,s=p.ALLOW){this._scope=e,this._role=t,this._policy=s}get scope(){return this._scope}set scope(e){this._scope=e}get roleWithoutCustomPrefix(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}get role(){return this._role}set role(e){this._role=e}get policy(){return this._policy}set policy(e){this._policy=e}get warnForPrefix(){return this._warnForPrefix}checkCustomOrNegatedPrefix(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}toJSON(){}}class n extends o{constructor(e,t,s,r,i,o,n){super(_.STATEMENT,e,t),this._subject=s||"*",this._predicate=r||"*",this._object=i||"*",this._context=o||"*",this._operation=n||h.ALL}get subject(){return this._subject}set subject(e){this._subject=e}get predicate(){return this._predicate}set predicate(e){this._predicate=e}get object(){return this._object}set object(e){this._object=e}get context(){return this._context}set context(e){this._context=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}class c extends o{constructor(e,t,s,r){super(_.PLUGIN,e,t),this._plugin=s||"*",this._operation=r||h.ALL}get plugin(){return this._plugin}set plugin(e){this._plugin=e}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}class l extends o{constructor(e,t,s,r){super(_.CLEAR_GRAPH,e,t),this._context=s||"*",this._defaultResults=r||["*","default","custom"]}get context(){return this._context}set context(e){this._context=e}get defaultResults(){return this._defaultResults}set defaultResults(e){this._defaultResults=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}class u extends o{constructor(e,t,s){super(_.SYSTEM,e,t),this._operation=s||h.ALL}get operation(){return this._operation}set operation(e){this._operation=e}toJSON(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}class a{static createRule(e,t,s,r,i,o,a,p,h){switch(e){case _.STATEMENT:return new n(s,t,i,o,a,p,r);case _.PLUGIN:return new c(s,t,h,r);case _.CLEAR_GRAPH:return new l(s,t,p);case _.SYSTEM:return new u(s,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}const p={ALLOW:"allow",DENY:"deny"},h={READ:"read",WRITE:"write",ALL:"*"},_={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},d=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],R=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],f=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},189:function(e,t,s){"use strict";s.r(t),s.d(t,"mapAclRulesResponse",(function(){return i}));var r=s(135);const i=e=>{const t=new r.ACListModel;return e&&e.data&&e.data.forEach(e=>{t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)}),t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[82,287],{190:function(e,t,o){"use strict";o.r(t);o(
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[82,287],{190:function(e,t,o){"use strict";o.r(t);o(40);var n=o(97),r=o(0);function i(e,t,o,i,c,a,s,u,l,d,f,p){let g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};const b=function(){d.checkAutocompleteStatus().success((function(t){e.autocompleteEnabled=t,f.setAutocompleteStatus(t)})).error((function(e){o.error(getError(e))}))},I=function(){d.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},L=function(){d.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},v=function(){d.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))};e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),d.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(h(),b(),I(),L(),v()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};const R=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&L()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){s.cancel(e.loaderTimeout),t?e.loaderTimeout=s((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||p.instant("common.loading")},e.toggleAutocomplete=function(){const t=!e.autocompleteEnabled;e.setLoader(!0,t?p.instant("autocomplete.enabling"):p.instant("autocomplete.disabling")),d.toggleAutocomplete(t).success((function(){b(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,p.instant("autocomplete.index.iri")),d.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){I(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,p.instant("autocomplete.index.build")),d.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,p.instant("index.interrupt")),d.interruptIndexing().success((function(){L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,n){a.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:n}}}}).result.then((function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update"));let n=t.labelIri.toString();if(n=l.expandPrefix(n,e.namespaces),l.isValidIri(t,n)&&""!==n)t.labelIri=n,d.addLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}));else{const n=Object(r.decodeHTML)(p.instant("not.valid.iri",{value:t.labelIri.toString()}));o.error(n),e.setLoader(!1)}}(t)}))},e.removeLabel=function(t){!function(t){e.setLoader(!0,p.instant("autocomplete.update")),d.removeLabelConfig(t).success((function(){v(),L()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}));const h=()=>{u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then(t=>{e.namespaces=t}).catch(e=>{const t=getError(e);o.error(t,p.instant("error.getting.namespaces.for.repo"))})};c.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),R())}function c(e,t,o,n){e.label=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close(e.label)},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",c),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteRestService","$autocompleteStatus","$translate"],c.$inject=["$scope","$uibModalInstance","$timeout","data"]},97:function(e,t,o){"use strict";o.r(t),o.d(t,"mapNamespacesResponse",(function(){return n}));const n=e=>e&&e.data?e.data.results.bindings.map(e=>({prefix:e.prefix.value,uri:e.namespace.value})):[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[83,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[83,125],{191:function(o,e){function n(o,e,n){o.loading=!1,o.initialized=!1,o.backupAndRestoreInfos=void 0,o.hasClusterOperation=!1,o.paused=!1;let a=void 0;o.hasToShowValue=o=>"boolean"==typeof o||!!o,o.togglePause=()=>{o.paused=!o.paused};const r=()=>{o.loading||o.paused||(o.loading=!0,n.monitorBackup().then(e=>{o.backupAndRestoreInfos=e,o.initialized=!0,o.hasClusterOperation=o.backupAndRestoreInfos.some(o=>o.nodePerformingClusterBackup)}).finally(()=>o.loading=!1))};o.$on("$destroy",()=>{a&&e.cancel(a)}),r(),a=e(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",n),n.$inject=["$scope","$interval","MonitoringRestService"]},298:function(o,e,n){"use strict";n.r(e);n(191);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[84,280],{107:function(t,e){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(t){return{getClusterConfig:function(){return t.get("rest/cluster/config")},createCluster:function(e){return t.post("rest/cluster/httpConfig",e)},updateClusterConfiguration:function(e){e.nodes&&delete e.nodes;return t.patch("rest/cluster/config",e)},deleteCluster:function(e){const r=$.param({force:e});return t.delete("rest/cluster/config?"+r)},replaceNodesInCluster:function(e){return t.patch("rest/cluster/httpConfig",e)},getClusterStatus:function(){return t.get("rest/cluster/group/status")},getNodeStatus:function(){return t.get("rest/cluster/node/status")}}}},194:function(t,e,r){"use strict";r.r(e);r(107);function n(t,e,r,n,s,o,a){t.pageTitle=o.instant("cluster_management.cluster_page.edit_page_title"),t.errors=[],t.clusterConfiguration=_.cloneDeep(a.clusterConfiguration),t.loader=!1,t.updateClusterConfiguration=()=>(t.setLoader(!0,o.instant("cluster_management.cluster_page.updating_cluster_loader")),n.updateClusterConfiguration(t.clusterConfiguration).then(()=>{s.success(o.instant("cluster_management.cluster_page.notifications.update_success")),e.close()}).catch((function(t){u(t.data,t.status)})).finally(()=>t.setLoader(!1))),t.isClusterConfigurationValid=()=>!t.clusterConfigurationForm.$invalid,t.setLoader=(e,n)=>{r.cancel(t.loaderTimeout),e?t.loaderTimeout=r(()=>{t.loader=e,t.loaderMessage=n},300):t.loader=!1},t.ok=()=>{t.isClusterConfigurationValid()?t.updateClusterConfiguration():s.warning(o.instant("cluster_management.cluster_page.notifications.form_invalid"))},t.cancel=()=>{e.dismiss("cancel")};const u=(e,r)=>{delete t.preconditionErrors,s.error(o.instant("cluster_management.cluster_page.notifications.update_failed")),t.errors.splice(0),409===r||"string"==typeof e?t.errors.push(e):412===r?t.preconditionErrors=Object.keys(e).map(t=>`${t} - ${e[t]}`):400===r&&t.errors.push(...e)}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",n),n.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,129],{201:function(e,t,n){"use strict";n.r(t);var r=n(98);function l(e,t,n,l,i){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:n=>{n.isAdmin=!1,n.closeClusterConfigurationPanel=()=>{i.hideClusterConfigurationPanel()},n.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:n.clusterConfiguration})}}).result.finally((function(){n.$emit(r.UPDATE_CLUSTER,{force:!0})}))},n.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{n.$emit(r.DELETE_CLUSTER,{force:e})})};n.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration",[]).directive("clusterConfiguration",l),l.$inject=["$jwtAuth","$uibModal","$translate","toastr","ClusterViewContextService"]},98:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return r})),n.d(t,"DELETE_CLUSTER",(function(){return l})),n.d(t,"CLICK_IN_VIEW",(function(){return i})),n.d(t,"NODE_SELECTED",(function(){return u})),n.d(t,"CREATE_CLUSTER",(function(){return o})),n.d(t,"MODEL_UPDATED",(function(){return a}));const r="updateCluster",l="deleteCluster",i="clickInView",u="nodeSelected",o="createCluster",a="modelUpdated"}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[86,129],{198:function(e,t,n){"use strict";n.r(t);n(11),n(199);var o=n(108),r=n(30),s=n(98);let a=240;const i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},c={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,u,_,f){return{restrict:"E",scope:{clusterModel:"="},link:function(p,g){const h=angular.element(e),E=[];let w,m,C,y,v,S=N(),k=O(),L=Math.min(S,k)/2-100,b=S/2,A=k/2;function M(){const e=f.getClusterViewD3Container();S=N(),k=O(),e.attr("width",S),e.attr("height",k),U()}function D(e,t=""){Object.keys(e).forEach(n=>{let o="";t&&(o+=t),o+="."+n;const r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&D(r,o)})}function N(){const o="collapsedMenu"===t.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-a)),600)}function O(){return Math.max(.95*(e.innerHeight-250),675)}function T(){o.updateClusterZoneLabels(m,C,i),Object.keys(c).forEach(e=>{d3.select("#"+e).text(function(e){return i[c[e]]}(e))})}function R(){L=Math.min(S,k)/2-100,b=S/2,A=k/2,o.moveElement(C,b,A),C.select(".cluster-zone").attr("r",L)}function I(e){p.$emit(s.CLICK_IN_VIEW,e.target)}function U(){R(),m!==p.clusterModel.hasCluster&&(m=!!p.clusterModel.hasCluster,function(e){o.setCreateClusterZone(e,C,i,w),!e&&w&&C.on("mouseup",()=>{p.$emit(s.CREATE_CLUSTER)})}(m));const e=function(){const e=Object(r.cloneDeep)(p.clusterModel.nodes)||[];return e.forEach(e=>{if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){let t="cluster_management.cluster_graphical_view.recovery_state."+e.recoveryStatus.state.toLowerCase();e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}}),e}();!function(e){const t=y.selectAll("#node-group").data(e,e=>e.address),n=o.createNodes(t,45);n.on("click",(e,t)=>{p.$emit(s.NODE_SELECTED,t);const n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,b,A,L)}(e);!function(e,t){const n=v.selectAll(".link").data(e,e=>e.id);o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(p.clusterModel.links)||[],e)}p.width=function(){return S},p.height=function(){return k};p.$on("$destroy",(function(){h.unbind("resize",M),h.unbind("mousedown",I),o.removeEventListeners(),E.forEach(e=>e())})),w=u.isAdmin(),h.bind("resize",M),h.bind("mousedown",I),E.push(_.$on("$translateChangeSuccess",(function(){D(i),T()}))),E.push(p.$on(s.MODEL_UPDATED,(function(){U()}))),D(i),function(e){const t=o.createClusterSvgElement(g[0]).attr("width",S).attr("height",k);C=o.createClusterZone(t,e),v=t.append("g").attr("id","links-group"),y=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),f.updateClusterViewD3Container(t)}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),U()}}}])},98:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return s})),n.d(t,"NODE_SELECTED",(function(){return a})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));const o="updateCluster",r="deleteCluster",s="clickInView",a="nodeSelected",i="createCluster",c="modelUpdated"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[87,181],{136:function(e,t,s){"use strict";s.r(t),s.d(t,"Location",(function(){return i})),s.d(t,"Node",(function(){return n})),s.d(t,"Link",(function(){return o})),s.d(t,"ClusterModel",(function(){return r})),s.d(t,"ClusterViewModel",(function(){return a})),s.d(t,"ClusterItemViewModel",(function(){return d})),s.d(t,"ClusterConfiguration",(function(){return l}));class i{constructor(e,t,s=null,i=!1,n=!1){this._endpoint=e,this._rpcAddress=t,this._error=s,this._isAvailable=i,this._isLocal=n}get isLocal(){return this._isLocal}get endpoint(){return this._endpoint}get rpcAddress(){return this._rpcAddress}get error(){return this._error}get isAvailable(){return this._isAvailable}set endpoint(e){this._endpoint=e}set rpcAddress(e){this._rpcAddress=e}set error(e){this._error=e}set isAvailable(e){this._isAvailable=e}set isLocal(e){this._isLocal=e}static fromJSON({endpoint:e,rpcAddress:t,error:s=null,isAvailable:n=!1,isLocal:o=!1}){return new i(e,t,s,n,o)}}class n{constructor(e,t,s,i,n,o,r,a){this._address=e,this._nodeState=t,this._term=s,this._syncStatus=i,this._lastLogTerm=n,this._lastLogIndex=o,this._endpoint=r,this._recoveryStatus=a}get address(){return this._address}get nodeState(){return this._nodeState}get term(){return this._term}get syncStatus(){return this._syncStatus}get lastLogTerm(){return this._lastLogTerm}get lastLogIndex(){return this._lastLogIndex}get endpoint(){return this._endpoint}get recoveryStatus(){return this._recoveryStatus}set address(e){this._address=e}set nodeState(e){this._nodeState=e}set term(e){this._term=e}set syncStatus(e){this._syncStatus=e}set lastLogTerm(e){this._lastLogTerm=e}set lastLogIndex(e){this._lastLogIndex=e}set endpoint(e){this._endpoint=e}set recoveryStatus(e){this._recoveryStatus=e}static fromJSON({address:e,nodeState:t,term:s,syncStatus:i,lastLogTerm:o,lastLogIndex:r,endpoint:a,recoveryStatus:d}){return new n(e,t,s,i,o,r,a,d)}}class o{constructor(e,t,s,i){this._id=e,this._source=t,this._target=s,this._status=i}static fromJSON({id:e,source:t,target:s,status:i}){return new o(e,t,s,i)}}class r{constructor(e,t,s,i){this._locations=e,this._hasCluster=t,this._nodes=s,this._links=i}get locations(){return this._locations}set locations(e){this._locations=e}get hasCluster(){return this._hasCluster}set hasCluster(e){this._hasCluster=e}get nodes(){return this._nodes}set nodes(e){this._nodes=e}get links(){return this._links}set links(e){this._links=e}static fromJSON(e){const t=e.locations.map(i.fromJSON),s=e.nodes.map(n.fromJSON),a=e.links.map(o.fromJSON);return new r(t,e.hasCluster,s,a)}}class a{constructor(e){this._clusterModel=r.fromJSON(e),this._addToCluster=new Map,this._deleteFromCluster=new Map,this._currentNodesCount=0,this._clusterConfiguration=new l,this._localNodeEndpoint=e.locations.find(e=>e.isLocal).endpoint,this.MINIMUM_NODES_REQUIRED=2}getAttached(){const e=this._clusterModel.nodes.concat(Array.from(this._addToCluster.values()));return this._currentNodesCount=e.filter(e=>!this._deleteFromCluster.has(e.endpoint)).length,e}getViewModel(){let e=0;return this.getAttached().map(t=>{const s=new d(t);return this._deleteFromCluster.has(t.endpoint)?s.isDeleted=!0:s.index=e++,this._localNodeEndpoint===t.endpoint&&(s.isLocal=!0),s})}getAvailable(e=!1){const t=this._clusterModel.nodes;return this._clusterModel.locations.filter(s=>{const i=!this.isPresentInList(t,s.endpoint),n=s.isAvailable,o=!this._addToCluster.has(s.endpoint),r=!!e||!this._deleteFromCluster.has(s.endpoint);return i&&n&&r&&o})}getAvailableNodeEndpoints(){return this.getAvailable().map(e=>e.endpoint)}getLocalNode(){return this._clusterModel.locations.find(e=>e.isLocal)}addToCluster(e){const t=e.endpoint;e.endpoint&&this.addToLocations(e),this._deleteFromCluster.has(t)?this._deleteFromCluster.delete(t):this._addToCluster.set(t,e)}addToLocations(e){const t=u.findIndexByEndpoint(this._clusterModel.locations,e.endpoint);-1===t?this._clusterModel.locations.push(e):this._clusterModel.locations.splice(t,1)}deleteFromCluster(e){const t=e.endpoint;this._addToCluster.has(t)?this._addToCluster.delete(t):this._deleteFromCluster.set(t,e)}getDeleteFromCluster(){return Array.from(this._deleteFromCluster.values())}getUpdateActions(){const e=Array.from(this._addToCluster.values()).map(e=>e.endpoint),t={addNodes:e,removeNodes:Array.from(this._deleteFromCluster.values()).map(e=>e.endpoint)},s=this.updateClusterConfiguration(e);return s&&(t.clusterConfiguration=s),t}updateClusterConfiguration(e){return this.hasCluster()?null:(this._clusterConfiguration.nodes=e,this._clusterConfiguration.toJSON())}getClusterConfiguration(){return this._clusterConfiguration}restoreFromDeletion(e){this._deleteFromCluster.delete(e.endpoint)}isChanged(){return this._addToCluster.size>0||this._deleteFromCluster.size>0}isPresentInList(e,t){return u.isPresentInList(e,t)}findByEndpoint(e,t){return u.findByEndpoint(e,t)}findIndexByEndpoint(e,t){return u.findIndexByEndpoint(e,t)}hasValidNodesCount(){return this._currentNodesCount>=this.MINIMUM_NODES_REQUIRED}canDeleteNode(){const e=Math.floor(this._clusterModel.nodes.length/2);return this._deleteFromCluster.size<e}hasCluster(){return this._clusterModel.hasCluster}}class d{constructor(e){this._item=e,this._endpoint=e.endpoint,this._isDeleted=!1,this._index=void 0,this._isLocal=!1}getEndPoint(){return this._item.endpoint}getAddress(){return void 0!==this._item._address?this._item._address:void 0!==this._item.rpcAddress?this._item.rpcAddress:null}isNode(){return void 0!==this._item._address}isLocation(){return void 0===this._item._address}getNodeState(){return this.isNode()?this._item._nodeState:null}getIsAvailable(){return this.isNode()?null:this._item.isAvailable}getTerm(){return this.isNode()?this._item.term:null}getSyncStatus(){return this.isNode()?this._item.syncStatus:null}getIsLocal(){return this.isNode()?null:this._item.isLocal}get item(){return this._item}get endpoint(){return this._endpoint}set endpoint(e){return this._endpoint=e}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}get index(){return this._index}set index(e){this._index=e}get isLocal(){return this._isLocal}set isLocal(e){this._isLocal=e}}class l{constructor(){this._electionMinTimeout=8e3,this._electionRangeTimeout=6e3,this._heartbeatInterval=2e3,this._messageSizeKB=64,this._verificationTimeout=1500,this._transactionLogMaximumSizeGB=50,this._nodes=[]}get electionMinTimeout(){return this._electionMinTimeout}set electionMinTimeout(e){this._electionMinTimeout=e}get electionRangeTimeout(){return this._electionRangeTimeout}set electionRangeTimeout(e){this._electionRangeTimeout=e}get heartbeatInterval(){return this._heartbeatInterval}set heartbeatInterval(e){this._heartbeatInterval=e}get messageSizeKB(){return this._messageSizeKB}set messageSizeKB(e){this._messageSizeKB=e}get verificationTimeout(){return this._verificationTimeout}set verificationTimeout(e){this._verificationTimeout=e}get transactionLogMaximumSizeGB(){return this._transactionLogMaximumSizeGB}set transactionLogMaximumSizeGB(e){this._transactionLogMaximumSizeGB=e}get nodes(){return this._nodes}set nodes(e){this._nodes=e}toJSON(){return{electionMinTimeout:this.electionMinTimeout,electionRangeTimeout:this.electionRangeTimeout,heartbeatInterval:this.heartbeatInterval,messageSizeKB:this.messageSizeKB,verificationTimeout:this.verificationTimeout,transactionLogMaximumSizeGB:this.transactionLogMaximumSizeGB,nodes:this.nodes}}}class u{static isPresentInList(e,t){return e.some(e=>e.endpoint===t)}static findByEndpoint(e,t){return e.find(e=>e.endpoint===t)}static findIndexByEndpoint(e,t){return e.findIndex(e=>e.endpoint===t)}}},202:function(e,t,s){"use strict";s.r(t);var i=s(136);function n(e,t,s,n,o,r,a){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-nodes-configuration.html",link:s=>{const d=[];s.rowHeights={},s.editedNodeIndex=void 0,s.allSuggestions=[],s.loader=!1,s.errors=[],s.addNewLocation=!1,s.hasCluster=!1,s.addNode=()=>{s.addNewLocation=!0,s.newLocation=new i.Location},s.filterSuggestions=e=>{const t=e.endpoint&&e.endpoint.toLowerCase();t?(s.suggestions=s.allSuggestions.filter(e=>e.toLowerCase().includes(t)),s.showDropdown=!0):(s.suggestions=[],s.showDropdown=!1)},s.selectSuggestion=(e,t)=>{e.endpoint=t,s.suggestions=[],s.showDropdown=!1},s.hideSuggestions=()=>{t(()=>{s.showDropdown=!1},200)},s.saveNode=e=>{const t=r.getAvailable(!0),s=r.findByEndpoint(t,e),i=r.getPendingReplace();if(s)!function(e,t){t?(r.replace(t,e),o.deleteLocation(t.endpoint)):r.addLocation(e);c()}(s,i);else{const t=o.createNewLocation(e);l(t,i,e)}},s.deleteNode=(t,s)=>{a.openSimpleModal({title:e.instant("location.confirm.detach"),message:e.instant("location.confirm.detach.warning",{uri:s.endpoint}),warning:!0}).result.then(()=>{s.isLocation()&&o.deleteLocation(s.getEndPoint()),r.deleteFromCluster(s.item)})},s.replaceNode=(t,i)=>{a.openSimpleModal({title:e.instant("location.change.confirm"),message:e.instant("location.change.confirm.warning"),warning:!0}).result.then(()=>{r.setPendingReplace(i.item),s.editedNodeIndex=t})},s.isClusterConfigurationValid=()=>{const e=void 0===s.editedNodeIndex,t=!1===s.addNewLocation,i=r.hasValidNodesCount(),n=s.form.$valid;return e&&t&&i&&n},s.setLoader=(e,i)=>{t.cancel(s.loaderTimeout),e?s.loaderTimeout=t(()=>{s.loader=e,s.loaderMessage=i},300):s.loader=!1},s.getAdvancedOptionsClass=()=>{const e=document.getElementById("advancedOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"},s.cancel=()=>{s.editedNodeIndex=void 0,s.addNewLocation=!1,r.emitUpdateClusterView()},s.restoreNode=e=>{r.restoreNode(e.item)};const l=(t,i,n)=>{s.setLoader(!0,e.instant("cluster_management.update_cluster_group_dialog.messages.connecting_node")),g(t).then(e=>{i?r.replace(i,e):r.addLocation(e)}).catch(e=>u(e,n)).finally(()=>{i&&o.deleteLocation(i.endpoint),c()})},u=(e,t)=>{h(e.data,e.status),o.deleteLocation(t),r.emitUpdateClusterView()},c=()=>{r.setPendingReplace(void 0),s.editedNodeIndex=void 0,s.addNewLocation=!1,s.setLoader(!1)},h=(t,i)=>{let o;s.errors.splice(0),400===i?s.errors.push(...t):409===i?s.errors.push(t):(t.message||"string"==typeof t)&&(o=t.message||t),n.error(o,e.instant("cluster_management.cluster_page.notifications.create_failed"))},g=e=>o.addLocationHttp(e).then(e=>{if(e)return i.Location.fromJSON(e)}).catch(e=>{throw e}),_=s.$watchGroup(["editedNodeIndex","addNewLocation","clusterConfiguration.electionMinTimeout","clusterConfiguration.electionRangeTimeout","clusterConfiguration.heartbeatInterval","clusterConfiguration.messageSizeKB","clusterConfiguration.verificationTimeout","clusterConfiguration.transactionLogMaximumSizeGB"],(e,t)=>{const i=s.isClusterConfigurationValid();r.updateClusterValidity(i)});d.push(_),d.push(r.onClusterViewChanged(e=>{s.hasCluster=r.hasCluster(),s.viewModel=r.getViewModel(),s.clusterNodesEndpoints=s.viewModel.map(e=>e.endpoint),s.clusterConfiguration=r.getClusterConfiguration(),s.allSuggestions=r.getAvailableNodeEndpoints(),s.canDeleteNode=r.canDeleteNode()})),s.$on("$destroy",()=>{d.forEach(e=>e())})}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-nodes-configuration",[]).directive("clusterNodesConfiguration",n),n.$inject=["$translate","$timeout","productInfo","toastr","RemoteLocationsService","ClusterContextService","ModalService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[88,184,185],{108:function(t,e,n){"use strict";n.r(e),n.d(e,"createClusterSvgElement",(function(){return N})),n.d(e,"createClusterZone",(function(){return S})),n.d(e,"setCreateClusterZone",(function(){return f})),n.d(e,"updateClusterZoneLabels",(function(){return h})),n.d(e,"moveElement",(function(){return O})),n.d(e,"createNodes",(function(){return E})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return A})),n.d(e,"updateLinks",(function(){return R})),n.d(e,"ARROW_CONFIG",(function(){return C})),n.d(e,"addArrowHead",(function(){return m})),n.d(e,"setArrowLink",(function(){return v})),n.d(e,"setLinkColor",(function(){return T})),n.d(e,"setLinkStyle",(function(){return L})),n.d(e,"positionNodesOnClusterZone",(function(){return x})),n.d(e,"createHexagon",(function(){return w})),n.d(e,"removeEventListeners",(function(){return b}));var r=n(91),o=n(30);const a="var(--primary-color)",s="var(--secondary-color)",i="var(--gray-color)",c={[r.LinkState.IN_SYNC]:s,[r.LinkState.SYNCING]:s,[r.LinkState.OUT_OF_SYNC]:i,[r.LinkState.RECEIVING_SNAPSHOT]:s},d={[r.LinkState.IN_SYNC]:"none",[r.LinkState.SYNCING]:"10 10",[r.LinkState.OUT_OF_SYNC]:"10 10",[r.LinkState.RECEIVING_SNAPSHOT]:"10 10"},u="FONT_AWESOME",l="ICOMOON";function N(t){return d3.select(t).append("svg").classed("cluster-diagram",!0)}function S(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","4"),e}function f(t,e,n,r=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",r),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),r&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",a).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function h(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function O(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function E(t,e,n){const r=t.enter().append("g").attr("id","node-group").classed("legend",n),o=r.merge(t).attr("id","node-group").classed("legend",n);return w(r,e),t.exit().remove(),r.append("text").attr("class","icon-any node-icon"),n||function(t,e){const n=t.append("g");n.append("rect").attr("class","id-host-background").attr("rx",6),n.append("rect").attr("class","node-info-background").attr("rx",6),n.append("text").attr("y",e+25).attr("class","id id-host"),n.append("text").attr("y",e+55).attr("class","node-info-text")}(r,e),o}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,Object(o.isEmpty)(n.recoveryStatus)?function(t){const e=y[t.nodeState];return e||{icon:"",font:""}}(t):function(t){const e=t.recoveryStatus;if(!e||!e.state)return{icon:"",font:""};return _[e.state]||{icon:"",font:""}}(t));var n;d3.select(this).classed("icon-any",e.font===l).classed("fa-d3",e.font===u).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===r.NodeState.LEADER).classed("follower",t=>t.nodeState===r.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===r.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==r.NodeState.LEADER&&t.nodeState!==r.NodeState.FOLLOWER&&t.nodeState!==r.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(Object(o.isEmpty)(t.recoveryStatus))return 0;const r=g(I(t));return e=r.height,n=r.width,n})).attr("height",(function(t){return Object(o.isEmpty)(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return Object(o.isEmpty)(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return I(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").each((function(t){const e=d3.select(this);if(Object(o.isEmpty)(t.recoveryStatus))return void e.attr("width",0);const n=I(t),r=t.recoveryStatus.message&&t.recoveryStatus.message.length>40&&n!==t.recoveryStatus.message,a=r?n:t.recoveryStatus.message,s=g(n),i=g(t.recoveryStatus.message);e.on(".tooltip",null),r&&function(t,e,n,r,o){t.on("mouseover.tooltip",()=>{t.attr("width",o.width).attr("height",o.height).attr("x",-o.width/2).html(`<div>${e}</div>`)}),t.on("mouseout.tooltip",()=>{t.attr("width",n.width).attr("height",n.height).attr("x",-n.width/2).html(`<div>${r}</div>`)})}(e,t.recoveryStatus.message,s,a,i),e.attr("width",s.width).attr("height",s.height).attr("x",-s.width/2).html(`<div>${a}</div>`)}))}(t)}(t)}const _={[r.RecoveryState.SEARCHING_FOR_NODE]:{icon:"",font:u},[r.RecoveryState.WAITING_FOR_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECEIVING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.APPLYING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.BUILDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.SENDING_SNAPSHOT]:{icon:"",font:u},[r.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING]:{icon:"",font:l}},y={[r.NodeState.CANDIDATE]:{icon:"",font:l},[r.NodeState.NO_CONNECTION]:{icon:"",font:l},[r.NodeState.OUT_OF_SYNC]:{icon:"",font:l},[r.NodeState.READ_ONLY]:{icon:"",font:l},[r.NodeState.RESTRICTED]:{icon:"",font:l}};function I(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>40?t.recoveryStatus.message.substring(0,40)+"...":t.recoveryStatus.message||""}function g(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),r=n.height,o=n.width;return document.body.removeChild(e),{height:r,width:o}}function A(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function R(t,e){t.attr("class",t=>"link "+t.id.replaceAll(":","-")).attr("stroke",T).style("stroke-dasharray",L).style("marker-mid",t=>v(t,C.BIG)).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),r=e.find(e=>e.address===t.target),o=r.x-n.x,a=r.y-n.y,s=Math.sqrt(o*o+a*a),i=o/s,c=a/s,d=n.x+55*i,u=n.y+55*c,l=r.x-55*i,N=r.y-55*c;return"M"+d+","+u+"L"+(d+l)/2+","+(u+N)/2+"L"+l+","+N}(t,e))}const C={SMALL:{name:"small",size:3},BIG:{name:"big",size:5}};function m(t,e){t.append("svg:defs").append("svg:marker").attr("id","arrowhead_"+e.name).attr("viewBox",`0 0 ${2*e.size} ${2*e.size}`).attr("refX",e.size).attr("refY",e.size).attr("markerWidth",e.size).attr("markerHeight",e.size).attr("orient","auto-start-reverse").append("path").attr("d",`M 0 0 L ${2*e.size} ${e.size} L 0 ${2*e.size} z`).style("fill","var(--secondary-color)")}function v(t,e){if(t.status===r.LinkState.RECEIVING_SNAPSHOT)return`url(#arrowhead_${e.name})`}function T(t){return c[t.status]||"none"}function L(t){return d[t.status]||"none"}function x(t,e,n,r){t.attr("transform",(o,a)=>{const s=2*Math.PI*a/t.size(),i=e+Math.cos(s)*r,c=n+Math.sin(s)*r;return o.x=i,o.y=c,`translate(${i}, ${c})`})}function w(t,e){const n=Math.sqrt(3)/2,r=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];return t.selectAll("path.area").data([r]).enter().append("path").attr("class","node member").attr("stroke-width","10").attr("stroke-linejoin","round").attr("d",d3.line())}function b(){d3.select(document).selectAll(".node-info-fo").on(".tooltip",null)}},91:function(t,e,n){"use strict";n.r(e),n.d(e,"NodeState",(function(){return r})),n.d(e,"RecoveryState",(function(){return o})),n.d(e,"LinkState",(function(){return a}));const r={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},o={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},a={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[89,137],{100:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,o){return{link:function(e,a){const r=()=>{const t=o('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);a.html(t)};r();const i=t.$on("$translateChangeSuccess",r);e.$on("$destroy",i)}}}])},304:function(e,t,o){"use strict";o.r(t);o(7),o(31),o(288),o(100),o(32),o(507);angular.module("graphdb.framework.impex.export",["ui.bootstrap","toastr","ngRoute","ngCookies","graphdb.framework.impex.export.controllers","graphdb.framework.core.directives.paginations","graphdb.framework.core.services.repositories","graphdb.framework.core.directives"]).config(["$uibTooltipProvider",function(e){e.setTriggers({showExportDDTooltip:"showExportDDTooltip"})}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[9,68,91,275,315],{116:function(e,o,t){"use strict";t.r(o),t.d(o,"STATIC_RULESETS",(function(){return i})),t.d(o,"REPOSITORY_TYPES",(function(){return r})),t.d(o,"FILENAME_PATTERN",(function(){return n})),t.d(o,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],r={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},n=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},117:function(e,o,t){"use strict";t.r(o);var i=t(96);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,o,t,r){r.$validators.validUrl=function(e,o){if(r.$isEmpty(o))return"false"!==t.allowEmpty;if(!i.UrlUtils.isValidUrl(o))return!1;if(t.exclude&&!i.UrlUtils.doesNotContain(o,t.exclude))return!1;if(t.excludeProtocol){const e=t.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(o,e))return!1}return!0}}}}))},145:function(e,o,t){"use strict";t.r(o),t.d(o,"getFileName",(function(){return a}));var i=t(116),r=t(0),n=(t(187),t(21));const a=function(e){let o=e.lastIndexOf("/");-1===o&&(o=e.lastIndexOf("\\"));let t=e;return-1!==o&&(t=t.substring(o+1)),t},s=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},l=function(){const e=document.getElementById("shaclOptions");if(e){const o=e.getAttribute("aria-expanded");if(o&&"true"===o)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,o){e.queryTimeout&&(o.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(o.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),o.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),o.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(o.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),o.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),o.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),o.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},d=function(e,o){return"isInvalidQueryLimit"===e?o.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?o.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?o.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?o.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?o.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?o.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?o.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?o.instant("invalid.bound.join.block.size"):void 0},u=function(e,o){const t=Object.keys(e),i=Object.values(e);for(let e=0;e<t.length;e++)if(i[e])return d(t[e],o);return""},p=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},f=function(e){return e.getLocations().then(e=>e.filter(e=>e.isGraphDBLocation()&&!e.errorMsg&&!e.degradedReason))};function m(e,o,t,a,s,l,c,d,u,p,f,m,y){e.RemoteLocationType=n.RemoteLocationType,e.loader=!0,e.locations=[],e.isLocationInactive=function(o){return!o.active||!e.hasActiveLocation()};const v=m.defer();function R(){return s.getLocations(v).then(o=>(e.locations=o,o)).finally(()=>e.loader=!1)}e.getLocalLocation=(o,t)=>e.locations.filter(e=>{let i=!0;return t&&(i=e.locationType===t),i&&e.local===o}),e.hasActiveLocation=function(){return s.hasActiveLocation()},e.getActiveLocation=function(){return s.getActiveLocation()},e.getLocationError=function(){return s.getLocationError()},e.getDegradedReason=function(){return s.getDegradedReason()},e.getRepositories=function(){return s.getRepositories()},e.isRepoActive=function(e){return s.isRepoActive(e)},e.deleteLocation=function(o){l.openSimpleModal({title:f.instant("location.confirm.detach"),message:f.instant("location.confirm.detach.warning",{uri:o}),warning:!0}).result.then((function(){e.loader=!0,s.deleteLocation(o).finally(()=>R())}))},e.addLocationHttp=function(o){e.loader=!0,d.addLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.addLocation=()=>{e.openRemoteLocationDialog()},e.editLocation=o=>{void 0===o.locationType&&(o.locationType=n.RemoteLocationType.GRAPH_DB),e.openRemoteLocationDialog(o)},e.openRemoteLocationDialog=o=>{t.open({templateUrl:"js/angular/repositories/templates/manage-remote-location-dialog.template.html",windowClass:"addLocationDialog",controller:"ManageRemoteLocationDialogController",resolve:{data:()=>({remoteLocation:o})}}).result.then(t=>{o?e.editLocationHttp(t):e.addLocationHttp(t)})},e.editLocationHttp=function(o){e.loader=!0,d.editLocation(o).success((function(){s.init()})).error((function(e){const o=getError(e);a.error(o,f.instant("common.error"))})).finally(()=>R())},e.setRepository=function(e){s.setRepository(e)},e.deleteRepository=function(o){l.openSimpleModal({title:f.instant("common.confirm.delete"),message:Object(r.decodeHTML)(f.instant("delete.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.deleteRepository(o).finally(()=>{R(),e.loader=!1}),function(e){const o="dependencies-selectedGraph-"+e.id,t="classHierarchy-selectedGraph-"+e.id;angular.forEach(u.keys(),(function(e){(e.startsWith(t)||e.startsWith(o))&&u.remove(e)}))}(o)}))},e.restartRepository=function(o){l.openSimpleModal({title:f.instant("confirm.restart.repo"),message:Object(r.decodeHTML)(f.instant("confirm.restart.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,s.restartRepository(o).finally(()=>R())}))},e.toggleDefaultRepository=function(o){e.getDefaultRepository()===o?s.setDefaultRepository(null):s.setDefaultRepository(o)},e.getDefaultRepository=function(){return s.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let o=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const t=c.getAuthToken();return t&&(o=`${o}&authToken=${encodeURIComponent(t)}`),o},e.copyToClipboard=function(e){l.openCopyToClipboardModal(e)},e.fromFile=function(){t.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){s.init()}))},e.openActiveLocationSettings=function(){t.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},R();const T=p((function(){y.isActive()&&!o.guidePaused||(s.initQuick(),R())}),5e3);e.$on("$destroy",(function(){p.cancel(T),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return s.getRepositoriesFromLocation(e)}}function y(e,o,t,i,r){e.upload=function(o){o&&o.length&&(e.uploadFile=o[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,t.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,o.close()})).error((function(o){const t=getError(o);i.error(t,r.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){o.dismiss("cancel")}}function v(e,o,t,i,r){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?o.close(e.newLocation):t.error(r.instant("location.cannot.be.empty.error"))},e.cancel=function(){o.dismiss("cancel")}}function R(e,o,t,i){e.editedLocation=_.cloneDeep(t),e.docBase=p(i),e.ok=function(){o.close(e.editedLocation)},e.cancel=function(){o.dismiss("cancel")}}function T(e,o){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){o.path(`${o.path()}/${e}`)}}function g(e,o,t,r,n,a,d,p,m,y){function v(e){switch(e){case i.REPOSITORY_TYPES.graphdbRepo:o.pageTitle=y.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:o.pageTitle=y.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:o.pageTitle=y.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}var R;o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.params=p,o.repositoryType=p.repositoryType,o.enable=!0,o.loader=!0,o.pageTitle=y.instant("view.create.repo.title"),o.repositoryInfo={id:"",params:{},title:"",type:"",location:""},o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},f(r).then(e=>{o.locations=e}),o.changedLocation=function(){o.$broadcast("changedLocation")},o.getConfig=function(e){m.getRepositoryConfiguration(e).then((function(e){const t=e.data;var i;o.repositoryInfo.params=t.params,o.repositoryInfo.type=t.type,s(o.repositoryInfo.params),(i=o.repositoryInfo.params)&&i.member&&(i.member.value=[]),o.loader=!1,a((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.loader=!1}))},o.repositoryType&&(function(e){return o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R=o.repositoryType)||function(e){return!o.isFreeEdition()&&!o.isEnterprise()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return o.isFreeEdition()&&e===i.REPOSITORY_TYPES.graphdbRepo}(R)||function(e){return e===i.REPOSITORY_TYPES.ontop}(R)||function(e){return e===i.REPOSITORY_TYPES.fedx}(R))?(o.repositoryInfo.type=o.repositoryType,o.getConfig(o.repositoryType),v(o.repositoryType)):n.path("/repository/create"),o.hasActiveLocation=function(){return r.hasActiveLocation()},o.activeLocation=function(){return r.getActiveLocation()};let T=!1;o.uploadRuleset=function(e){e&&e.length&&(o.uploadFile=e[0],o.uploadFileLoader=!0,d.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:o.uploadFile,location:o.repositoryInfo.location}}).progress((function(e){})).success((function(e){if(e.success){T=!1;const t=o.uploadFile.name,i={id:e.fileLocation,name:"Custom: "+t};o.rulesetPie?o.rulesets[0]=i:o.rulesets.unshift(i),o.rulesetPie=e.fileLocation,o.rulesetPieFile=t,o.repositoryInfo.params.ruleset.value=o.rulesetPie}else t.error(e.errorMessage),T=!0,o.uploadFile="";o.uploadFileLoader=!1})).error((function(e){const i=getError(e);t.error(i,y.instant("common.error")),o.uploadFile="",o.uploadFileLoader=!1,T=!0})))},o.noMembersError=function(){t.error(y.instant("fedx.create.repo.no.members.warning"))},o.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete n.$$search.previous,n.path("/")):n.path("/repository")},o.createRepoHttp=function(){o.loader=!0,m.createRepository(o.repositoryInfo).then((function(){return t.success(y.instant("created.repo.success.msg",{repoId:o.repositoryInfo.id})),r.init()})).then(()=>o.goBackToPreviousLocation()).catch((function(e){const o=getError(e.data);t.error(o,y.instant("common.error"))})).finally(()=>{o.loader=!1})},o.createRepo=function(){if(!o.repositoryInfo.id)return void t.error(y.instant("empty.repoid.warning"));o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,y);T?t.error(y.instant("invalid.ruleset.file.error")):o.isInvalidRepoName?t.error(y.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?t.error(e):o.createRepoHttp()},o.rulesetWarning=function(){const e=o.repositoryInfo.params;return void 0===e||void 0===e.ruleset||void 0===e.disableSameAs?"":0===e.ruleset.value.indexOf("owl")&&"true"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===e.ruleset.value.indexOf("rdfs")&&"false"===e.disableSameAs.value?y.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):e.ruleset.value===o.rulesetPie?y.instant("repoTooltips.rulesetWarnings.customRuleset"):""},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()},o.autofocusId="autofocus";const g=e.$on("$translateChangeSuccess",()=>{v(o.repositoryType)});o.$on("$destroy",()=>{g()})}function L(e,o,t,i,r,n,a){e.dialogTitle=a||n.instant("update.file.content.header"),i&&t.getRepositoryFileContent(i).success((function(o){e.fileContent=o})).error((function(e){const o=getError(e);r.error(o,n.instant("common.error"))})),e.ok=function(){o.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){o.dismiss("cancel")}}function h(e,o,t,n,d,p,m,y,v,R){o.rulesets=i.STATIC_RULESETS.slice(),o.repositoryTypes=i.REPOSITORY_TYPES,o.editRepoPage=!0,o.canEditRepoId=!1,o.isRepoInCluster=!0,o.params=t,o.loader=!0,o.repositoryInfo={},o.repositoryInfo.id=o.params.repositoryId,o.repositoryInfo.location=o.params.location,o.repositoryInfo.restartRequested=!1,o.repositoryType="",o.saveRepoId=o.params.repositoryId,o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId}),o.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},o.hasActiveLocation=function(){return d.hasActiveLocation()};o.$watch(o.hasActiveLocation,(function(){if(o.hasActiveLocation){let e;f(d).then(e=>(o.locations=e,y.getRepository(o.repositoryInfo))).then(t=>(e=t,R.monitorActiveOperations(o.repositoryInfo.id))).then(e=>{o.isRepoInCluster=e.hasClusterOperation()}).catch(t=>e?Promise.resolve():(o.repositoryInfo=void 0,Promise.reject(t))).then(()=>{(e=>{const t=e.data;if(angular.isDefined(t.params.ruleset)){let e=!1;if(angular.forEach(o.rulesets,(function(o){o.id===t.params.ruleset.value&&(e=!0)})),t.params.ruleset&&!e){const e=a(t.params.ruleset.value);o.rulesets.unshift({id:t.params.ruleset.value,name:"Custom: "+e})}}o.repositoryInfo=t,o.setRepositoryType(t.type),s(o.repositoryInfo.params),o.repositoryInfo.saveId=o.saveRepoId,o.loader=!1})(e)}).catch(e=>{const i=e.data,a=e.status,s=t.repositoryId;let l;l=404===a&&"system"!==s?Object(r.decodeHTML)(v.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(r.decodeHTML)(v.instant("edit.system.repo.warning")):getError(i),n.error(l,v.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){o.loader=!1,p.path("repository")}),1e3):o.loader=!1})}})),o.setRepositoryType=function(e){o.repositoryType=e},o.noMembersError=function(){n.error(v.instant("fedx.create.repo.no.members.warning"))},o.editRepoHttp=function(){o.loader=!0,y.editRepository(o.repositoryInfo.saveId,o.repositoryInfo).success((function(){n.success(v.instant("edit.repo.success.msg",{saveId:o.repositoryInfo.saveId})),d.init().finally(()=>o.goBackToPreviousLocation()),o.repositoryInfo.saveId===o.repositoryInfo.id&&o.repositoryInfo.restartRequested&&d.restartRepository(o.repositoryInfo)})).error((function(e){const t=getError(e);n.error(t,v.instant("common.error")),o.loader=!1}))},o.editRepository=function(){o.isInvalidRepoName=!i.FILENAME_PATTERN.test(o.repositoryInfo.id),c(o.repositoryInfo.params,o.invalidValues);const e=u(o.invalidValues,v);let t=Object(r.decodeHTML)(v.instant("edit.repo.save.changes.msg",{repoId:o.repositoryInfo.id}));o.repositoryInfo.saveId!==o.repositoryInfo.id?t+=Object(r.decodeHTML)(v.instant("edit.repo.rename.changes.msg")):o.repositoryInfo.restartRequested?t+=Object(r.decodeHTML)(v.instant("edit.repo.restart.requested.msg")):t+=Object(r.decodeHTML)(v.instant("edit.repo.restart.needed.msg")),o.isInvalidRepoName?n.error(v.instant("wrong.repo.name.error")):"fedx"===o.repositoryType&&0===o.repositoryInfo.params.member.value.length?o.noMembersError():e?n.error(e):m.openSimpleModal({title:v.instant("common.confirm.save"),message:t,warning:!0}).result.then((function(){o.editRepoHttp()}))},o.editRepositoryId=function(){if(o.isRepoInCluster)return;let e=Object(r.decodeHTML)(v.instant("edit.repo.id.warning.msg"));o.isEnterprise()&&(e+=Object(r.decodeHTML)(v.instant("edit.repo.id.cluster.warning.msg"))),m.openSimpleModal({title:v.instant("confirm.enable.edit"),message:e,warning:!0}).result.then((function(){o.canEditRepoId=!0}))},o.goBackToPreviousLocation=function(){angular.isDefined(t.previous)?(delete p.$$search.previous,p.path("/")):p.path("/repository")},o.validateNumberInput=function(){c(o.repositoryInfo.params,o.invalidValues)},o.getShaclOptionsClass=function(){return l()};const T=e.$on("$translateChangeSuccess",()=>{o.pageTitle=v.instant("view.edit.repo.title",{repositoryId:o.params.repositoryId})});o.$on("$destroy",()=>{T()})}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload","graphdb.framework.repositories.controllers.manage-remote-location-dialog"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",v).controller("EditLocationCtrl",R).controller("ChooseRepositoryCtrl",T).controller("AddRepositoryCtrl",g).controller("EditRepositoryCtrl",h).controller("EditRepositoryFileCtrl",L).controller("UploadRepositoryConfigCtrl",y),m.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","AuthTokenService","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],y.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],R.$inject=["$scope","$uibModalInstance","location","productInfo"],T.$inject=["$scope","$location"],g.$inject=["$rootScope","$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],L.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate","dialogTitle"],h.$inject=["$rootScope","$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate","MonitoringRestService"]},187:function(e,o,t){"use strict";t.r(o);var i=t(21);t(117);function r(e,o,t,r){e.RemoteLocationType=i.RemoteLocationType,e.RemoteLocationAuthType=i.RemoteLocationAuthType,e.isEdit=!!r.remoteLocation,e.remoteLocation=r.remoteLocation?new i.RemoteLocationModel({...r.remoteLocation}):new i.RemoteLocationModel,e.docBase="https://graphdb.ontotext.com/documentation/"+t.productShortVersion,e.ok=()=>{e.remoteLocationForm.$pristine||e.remoteLocationForm.$invalid||o.close(e.remoteLocation)},e.cancel=()=>{o.dismiss("cancel")},e.onLocationTypeChanged=()=>{i.RemoteLocationType.ONTOPIC===e.remoteLocation.locationType?e.remoteLocation.authType=i.RemoteLocationAuthType.BASIC:e.remoteLocation.authType=i.RemoteLocationAuthType.NONE}}angular.module("graphdb.framework.repositories.controllers.manage-remote-location-dialog",["graphdb.framework.core.directives.validate-url"]).controller("ManageRemoteLocationDialogController",r),r.$inject=["$scope","$uibModalInstance","productInfo","data"]},96:function(e,o,t){"use strict";t.r(o),t.d(o,"UrlUtils",(function(){return n}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,r=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class n{static isValidUrl(e){return i.test(e)||r.test(e)}static doesNotContain(e,o){return!new RegExp(o).test(e)}static doesNotUseProtocol(e,o){return!new RegExp("^("+o.join("|")+")://","i").test(e)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[90,137],{100:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,t){const n=()=>{const i=a('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);t.html(i)};n();const s=i.$on("$translateChangeSuccess",n);e.$on("$destroy",s)}}}])},238:function(e,i,a){"use strict";a.r(i);a(42),a(100);var t=a(2);function n(e,i,a,n,s,r){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.init=function(){a.getGuides().then(i=>{e.guides=n("orderBy")(i,"guideOrder"),e.guides.forEach(e=>{switch(e.translatedGuideName=t.GuideUtils.translateLocalMessage(s,r,e.guideName),e.translatedGuideDescription=t.GuideUtils.translateLocalMessage(s,r,e.guideDescription),e.guideLevel){case void 0:case 0:e.guideLevelLabel="view.guides.level.beginner";break;case 1:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}),e.matchedElements=e.guides,e.changePagination()})},e.startGuide=function(e){a.startGuide(e)},this.translationSubscription||(this.translationSubscription=i.$on("$translateChangeSuccess",()=>{e.init()})),e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()},e.init()}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",n),n.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[91,315],{117:function(t,e,r){"use strict";r.r(e);var i=r(96);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(t,e,r,s){s.$validators.validUrl=function(t,e){if(s.$isEmpty(e))return"false"!==r.allowEmpty;if(!i.UrlUtils.isValidUrl(e))return!1;if(r.exclude&&!i.UrlUtils.doesNotContain(e,r.exclude))return!1;if(r.excludeProtocol){const t=r.excludeProtocol.split(",");if(!i.UrlUtils.doesNotUseProtocol(e,t))return!1}return!0}}}}))},96:function(t,e,r){"use strict";r.r(e),r.d(e,"UrlUtils",(function(){return o}));const i=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,s=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class o{static isValidUrl(t){return i.test(t)||s.test(t)}static doesNotContain(t,e){return!new RegExp(e).test(t)}static doesNotUseProtocol(t,e){return!new RegExp("^("+e.join("|")+")://","i").test(t)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[92,254],{112:function(t,e,a){"use strict";a.r(e),a.d(e,"VIEW_SPARQL_EDITOR",(function(){return n}));const n="graphdb-workbench-sparql-editor"},212:function(t,e,a){"use strict";a.r(e),a.d(e,"YasguiPersistenceMigrationService",(function(){return o}));var n=a(112);const i="yagui__"+n.VIEW_SPARQL_EDITOR,s="completed",r="rejected",o=function(){const t=()=>({val:{active:null,tabs:[],tabConfig:{}}}),e=(t,e,a=null)=>{t.val.migration={date:(new Date).toISOString(),status:e,error:a}},a=(t,e)=>{t.val.tabs.push(e)},n=(t,e)=>{t.val.tabConfig[e.id]=e},o=t=>{let e=localStorage.getItem(t);if(e)return e=JSON.parse(e),e},l=t=>{t.val.tabs=t.val.tabs.filter(t=>!t.startsWith("_"))},g=t=>{for(const e in t.val.tabConfig)e.startsWith("_")&&delete t.val.tabConfig[e]},c=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},u=(t,e)=>`${e} ${t}`,d=()=>Math.random().toString(36).substring(7);return{isMigrationNeeded:()=>{const t=o(i);let e=!1;return t&&(e=t.val.migration&&(t.val.migration.status===s||t.val.migration.status===r)),!(!localStorage.getItem("ls.tabs-state")||e)},revertMigration:()=>{const t=o(i);l(t),g(t),c(i,t)},migrateYasguiPersistence:r=>{let l=o("ls.tabs-state");l=Object.freeze(l);let g=o(i);g||(g=t()),l.map(t=>({id:t.id,name:t.name,yasqe:{value:t.query,sameAs:t.sameAs,infer:t.inference,pageSize:1e3,pageNumber:1},yasr:{response:null,settings:{selectedPlugin:"extended_table",pluginsConfig:{}}},requestConfig:{method:"POST"}})).forEach((t,e)=>{t.id="_"+d(),t.name=t.name||u(e,r),a(g,t.id),n(g,t)}),g.val.active=g.val.tabs[0],e(g,s),c(i,g)},rejectMigration:()=>{const t=o(i);e(t,r),c(i,t)}}}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[93,147],{221:function(r,e,n){"use strict";n.r(e);n(7);angular.module("graphdb.framework.externalsync.directives",[]).directive("createProgress",(function(){return{templateUrl:"pages/connectorProgress.html",controller:"CreateProgressCtrl",restrict:"EA"}}))},306:function(r,e,n){"use strict";n.r(e);n(7),n(31),n(37),n(184),n(221);angular.module("graphdb.framework.externalsync",["graphdb.framework.core.controllers","graphdb.framework.externalsync.controllers","graphdb.framework.externalsync.directives","graphdb.framework.core.directives"]).filter("singular",(function(){return function(r){return angular.isUndefined(r)?r:r.replace(/ies$/,"y").replace(/s$/,"")}}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[94,310],{141:function(e,i,t){"use strict";t.r(i),t.d(i,"FileUtils",(function(){return s}));class s{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const i=e.lastIndexOf(".");return{filename:e.substring(0,i),extension:e.substring(i+1)}}}},250:function(e,i,t){"use strict";t.r(i),t.d(i,"FilePrefixRegistry",(function(){return n}));var s=t(141);class n{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const i=s.FileUtils.getFilenameAndExtension(e.name).filename,t=i.lastIndexOf("-");let n=t<0?0:i.substring(t+1),r=i.substring(0,t);if(t<0?(n=0,r=i):(n=i.substring(t+1),r=i.substring(0,t)),n){n=parseInt(n);const e=this.filesPrefixRegistry[r]||0;this.filesPrefixRegistry[r]=e<n?n:e}else this.filesPrefixRegistry[r]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:i,extension:t}=s.FileUtils.getFilenameAndExtension(e.name),n=`${i}-${this.getIndexForFile(i)}.${t}`;return new File([e],n,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let i=this.filesPrefixRegistry[e];return void 0!==i?i++:i=0,this.filesPrefixRegistry[e]=i,i}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[95,194],{75:function(e,t,n){"use strict";n.r(t),n.d(t,"ImportResourceStatus",(function(){return c}));const c={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},95:function(e,t,n){"use strict";n.r(t),n.d(t,"TABS",(function(){return r}));var c=n(30),o=n(75);const r={USER:"user",SERVER:"server"};function s(e){let t=r.USER,n=[],s=[],u=[],d=!0,i=[];return{updateActiveTabId:function(n){t=n,e.emitSync("activeTabIdUpdated",l())},getActiveTabId:l,onActiveTabIdUpdated:function(t){return e.subscribeSync("activeTabIdUpdated",e=>t(e))},getFiles:m,addFile:function(t){const n=m();n.push(t),f(n),e.emitSync("fileAdded",Object(c.cloneDeep)(t))},updateFiles:f,onFilesUpdated:function(t){return e.subscribeSync("filesUpdated",e=>t(e))},getImportedResources:U,updateImportedResources:function(t){n=t,e.emitSync("importedResourcesUpdated",U()),e.emitSync("resourcesUpdated",R())},onImportedResourcesUpdated:function(t){return e.subscribeSync("importedResourcesUpdated",e=>t(e))},getResources:R,onResourcesUpdated:function(t){return e.subscribeSync("resourcesUpdated",e=>t(e))},updateShowLoader:function(t){d=t,e.emitSync("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribeSync("showLoaderUpdated",e=>t(e))},updateSelectedFilesNames:function(t){i=Object(c.cloneDeep)(t),e.emitSync("selectedFilesNamesUpdated",a())},getSelectedFilesNames:a,onSelectedFilesNamesUpdated:function(t){return e.subscribeSync("selectedFilesNamesUpdated",e=>t(e))},updateResourceForUpload:function(e){const t=S(),n=t.find(({name:t})=>t===e.name);n?Object.assign(n,e):t.push(e);b(t)},getResourceForUpload:function(e){return Object(c.cloneDeep)(s.find(({name:t})=>t===e))},updateResourcesForUpload:b,getResourcesForUpload:S,onResourcesForUploadChanged:function(t){return e.subscribeSync("resourcesForUploadChanged",e=>t(e))}};function a(){return Object(c.cloneDeep)(i)}function p(){return d}function l(){return t}function f(t){u=Object(c.cloneDeep)(t),e.emitSync("filesUpdated",m())}function m(){return Object(c.cloneDeep)(u)}function U(){return Object(c.cloneDeep)(n)||[]}function R(){const e=U();let t=S();const n=[],c=[];return e.forEach(({name:e})=>{const r=t.find(({name:t})=>t===e);r&&(r.status===o.ImportResourceStatus.UPLOADED?n.push(r):c.push(r))}),n.length>0&&(t=t.filter(({name:e})=>!n.some(({name:t})=>t===e)),b(t,!1)),e.filter(({name:e})=>!c.some(t=>e===t)).concat(t)}function b(t,n=!0){s=Object(c.cloneDeep)(t),e.emitSync("resourcesForUploadChanged",S()),n&&e.emitSync("resourcesUpdated",R())}function S(){return Object(c.cloneDeep)(s)||[]}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]}}]);
|