graphdb-workbench 2.1.1-TR3 → 2.1.1-TR4

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.
Files changed (225) hide show
  1. package/dist/10.cabc799d9aabc46e7be7.bundle.js +2 -0
  2. package/dist/10.cabc799d9aabc46e7be7.bundle.js.map +1 -0
  3. package/dist/{105.65711fa9d6de57d190f9.bundle.js → 105.2131aef847d9db645b1a.bundle.js} +2 -2
  4. package/dist/{105.65711fa9d6de57d190f9.bundle.js.map → 105.2131aef847d9db645b1a.bundle.js.map} +1 -1
  5. package/dist/{106.e7c5e11358f6938931d9.bundle.js → 106.d8e91ce7c4e16ae96137.bundle.js} +2 -2
  6. package/dist/{106.e7c5e11358f6938931d9.bundle.js.map → 106.d8e91ce7c4e16ae96137.bundle.js.map} +1 -1
  7. package/dist/{108.8d296d8910c98a05757b.bundle.js → 108.ff55b38321cd246e0f10.bundle.js} +2 -2
  8. package/dist/{108.8d296d8910c98a05757b.bundle.js.map → 108.ff55b38321cd246e0f10.bundle.js.map} +1 -1
  9. package/dist/{109.fd11f34786d805c279cd.bundle.js → 109.3683904d9ad66df4fe4d.bundle.js} +2 -2
  10. package/dist/{109.fd11f34786d805c279cd.bundle.js.map → 109.3683904d9ad66df4fe4d.bundle.js.map} +1 -1
  11. package/dist/{10.0de26dd0c213dafee946.bundle.js → 11.b2fd98471071348c3964.bundle.js} +2 -2
  12. package/dist/{10.0de26dd0c213dafee946.bundle.js.map → 11.b2fd98471071348c3964.bundle.js.map} +1 -1
  13. package/dist/{114.6d54e7d1c547bf1ac768.bundle.js → 114.ed2c2d1606cd75dbd7c6.bundle.js} +2 -2
  14. package/dist/{114.6d54e7d1c547bf1ac768.bundle.js.map → 114.ed2c2d1606cd75dbd7c6.bundle.js.map} +1 -1
  15. package/dist/{11.af5499ccbb5c1b7d37d0.bundle.js → 12.cf2225402504b37eb28e.bundle.js} +3 -3
  16. package/dist/12.cf2225402504b37eb28e.bundle.js.map +1 -0
  17. package/dist/{12.d9f7654c2a2bf64acb1d.bundle.js → 13.9b9388352980715b16bb.bundle.js} +2 -2
  18. package/dist/{12.d9f7654c2a2bf64acb1d.bundle.js.map → 13.9b9388352980715b16bb.bundle.js.map} +1 -1
  19. package/dist/136.3199d393576be61f53fd.bundle.js +1 -1
  20. package/dist/136.3199d393576be61f53fd.bundle.js.map +1 -1
  21. package/dist/{13.7f2846cd1d80e418d29f.bundle.js → 14.c512cd1282fe7dec36bf.bundle.js} +2 -2
  22. package/dist/{13.7f2846cd1d80e418d29f.bundle.js.map → 14.c512cd1282fe7dec36bf.bundle.js.map} +1 -1
  23. package/dist/{14.6c814a96b94a6cc03b41.bundle.js → 15.e870cbcf6346cc68bd66.bundle.js} +2 -2
  24. package/dist/{14.6c814a96b94a6cc03b41.bundle.js.map → 15.e870cbcf6346cc68bd66.bundle.js.map} +1 -1
  25. package/dist/{15.516b0302360113a02b82.bundle.js → 16.23e12f234078c8777ed0.bundle.js} +2 -2
  26. package/dist/{15.516b0302360113a02b82.bundle.js.map → 16.23e12f234078c8777ed0.bundle.js.map} +1 -1
  27. package/dist/{16.7b34aea1e49787127422.bundle.js → 17.d1ac5f88f9ef9ee1c789.bundle.js} +2 -2
  28. package/dist/{16.7b34aea1e49787127422.bundle.js.map → 17.d1ac5f88f9ef9ee1c789.bundle.js.map} +1 -1
  29. package/dist/{17.1e93fec0b014a1048269.bundle.js → 18.63478730d60e02069d90.bundle.js} +2 -2
  30. package/dist/{17.1e93fec0b014a1048269.bundle.js.map → 18.63478730d60e02069d90.bundle.js.map} +1 -1
  31. package/dist/{18.c6c9a8738ed0556139c5.bundle.js → 19.b5b3699a309774176fc3.bundle.js} +2 -2
  32. package/dist/{18.c6c9a8738ed0556139c5.bundle.js.map → 19.b5b3699a309774176fc3.bundle.js.map} +1 -1
  33. package/dist/{2.1624e5bea1a914b95ebb.bundle.js → 2.a574cb520c748d9f8d48.bundle.js} +3 -3
  34. package/dist/2.a574cb520c748d9f8d48.bundle.js.map +1 -0
  35. package/dist/{19.dcaf58a9b5defe59bc31.bundle.js → 20.d707dfb57f695469ffaa.bundle.js} +2 -2
  36. package/dist/{19.dcaf58a9b5defe59bc31.bundle.js.map → 20.d707dfb57f695469ffaa.bundle.js.map} +1 -1
  37. package/dist/{20.b15f2511253f8338e0fe.bundle.js → 21.d5214e697ec9f78652d2.bundle.js} +2 -2
  38. package/dist/{20.b15f2511253f8338e0fe.bundle.js.map → 21.d5214e697ec9f78652d2.bundle.js.map} +1 -1
  39. package/dist/{21.4a6eb31c92aa54ce7ce1.bundle.js → 22.e1562d53daf95dd1fdca.bundle.js} +2 -2
  40. package/dist/{21.4a6eb31c92aa54ce7ce1.bundle.js.map → 22.e1562d53daf95dd1fdca.bundle.js.map} +1 -1
  41. package/dist/{22.4d9fa14231cd2732427b.bundle.js → 23.c1b822e6ccc61632355b.bundle.js} +2 -2
  42. package/dist/{22.4d9fa14231cd2732427b.bundle.js.map → 23.c1b822e6ccc61632355b.bundle.js.map} +1 -1
  43. package/dist/{23.9e3968b629f8405f0f54.bundle.js → 24.740f8b8ec6dd9bb85f67.bundle.js} +3 -3
  44. package/dist/24.740f8b8ec6dd9bb85f67.bundle.js.map +1 -0
  45. package/dist/{24.bae404a70ae31386741b.bundle.js → 25.8c30b7bafb4875a3cc51.bundle.js} +2 -2
  46. package/dist/{24.bae404a70ae31386741b.bundle.js.map → 25.8c30b7bafb4875a3cc51.bundle.js.map} +1 -1
  47. package/dist/{25.0597669f1a183645c772.bundle.js → 26.176ffe2071a8d5d382b6.bundle.js} +2 -2
  48. package/dist/{25.0597669f1a183645c772.bundle.js.map → 26.176ffe2071a8d5d382b6.bundle.js.map} +1 -1
  49. package/dist/{26.5e86db82dcf098c6f274.bundle.js → 27.be71055c959c1ac75177.bundle.js} +3 -3
  50. package/dist/{26.5e86db82dcf098c6f274.bundle.js.map → 27.be71055c959c1ac75177.bundle.js.map} +1 -1
  51. package/dist/{27.90a28f377aa2351a97a6.bundle.js → 28.af25c8fe6f70c61986cc.bundle.js} +2 -2
  52. package/dist/{27.90a28f377aa2351a97a6.bundle.js.map → 28.af25c8fe6f70c61986cc.bundle.js.map} +1 -1
  53. package/dist/{28.dcbb911abdaaf770369b.bundle.js → 29.54cbff989a44a0f71dfd.bundle.js} +2 -2
  54. package/dist/{28.dcbb911abdaaf770369b.bundle.js.map → 29.54cbff989a44a0f71dfd.bundle.js.map} +1 -1
  55. package/dist/{29.e56776b72f96806592f9.bundle.js → 30.238b3282d752df6de2d5.bundle.js} +2 -2
  56. package/dist/{29.e56776b72f96806592f9.bundle.js.map → 30.238b3282d752df6de2d5.bundle.js.map} +1 -1
  57. package/dist/{30.2493a3ab4e5005163a33.bundle.js → 31.4ecdb66b2c224a63525e.bundle.js} +2 -2
  58. package/dist/{30.2493a3ab4e5005163a33.bundle.js.map → 31.4ecdb66b2c224a63525e.bundle.js.map} +1 -1
  59. package/dist/{32.692379fd859322e24a6a.bundle.js → 32.2582e2eccf29e8d5ec80.bundle.js} +2 -2
  60. package/dist/{32.692379fd859322e24a6a.bundle.js.map → 32.2582e2eccf29e8d5ec80.bundle.js.map} +1 -1
  61. package/dist/{33.2b08fc5cf42609b8a1a9.bundle.js → 33.04790d6b317f0eade307.bundle.js} +2 -2
  62. package/dist/{33.2b08fc5cf42609b8a1a9.bundle.js.map → 33.04790d6b317f0eade307.bundle.js.map} +1 -1
  63. package/dist/37.ef412d4cbc60967faa5e.bundle.js +2 -0
  64. package/dist/37.ef412d4cbc60967faa5e.bundle.js.map +1 -0
  65. package/dist/{37.66cc1fa41455fde1c201.bundle.js → 38.7deea9e0319084f9f852.bundle.js} +2 -2
  66. package/dist/{37.66cc1fa41455fde1c201.bundle.js.map → 38.7deea9e0319084f9f852.bundle.js.map} +1 -1
  67. package/dist/39.be2d8c75e4ab391ba984.bundle.js +2 -0
  68. package/dist/39.be2d8c75e4ab391ba984.bundle.js.map +1 -0
  69. package/dist/{39.ec29479e3f0c23b626f6.bundle.js → 40.9272ebe1d2246ae3054f.bundle.js} +2 -2
  70. package/dist/{39.ec29479e3f0c23b626f6.bundle.js.map → 40.9272ebe1d2246ae3054f.bundle.js.map} +1 -1
  71. package/dist/{40.1e2b5ccb3dcdee5e6b81.bundle.js → 41.f69dd805b7e51756518f.bundle.js} +2 -2
  72. package/dist/{40.1e2b5ccb3dcdee5e6b81.bundle.js.map → 41.f69dd805b7e51756518f.bundle.js.map} +1 -1
  73. package/dist/{41.297f8392dafa2af5e874.bundle.js → 42.16be14526c7bf039754b.bundle.js} +2 -2
  74. package/dist/{41.297f8392dafa2af5e874.bundle.js.map → 42.16be14526c7bf039754b.bundle.js.map} +1 -1
  75. package/dist/{42.9a13772d165bfabbf5ac.bundle.js → 43.f76be157f75bc7b3ea68.bundle.js} +2 -2
  76. package/dist/{42.9a13772d165bfabbf5ac.bundle.js.map → 43.f76be157f75bc7b3ea68.bundle.js.map} +1 -1
  77. package/dist/{43.c67da41a52ba9b0eb508.bundle.js → 44.ccd45256fba55ce28d80.bundle.js} +2 -2
  78. package/dist/{43.c67da41a52ba9b0eb508.bundle.js.map → 44.ccd45256fba55ce28d80.bundle.js.map} +1 -1
  79. package/dist/{44.6d8cff7a83daeb5ef962.bundle.js → 45.f1cb114b656ef4af2bc5.bundle.js} +2 -2
  80. package/dist/{44.6d8cff7a83daeb5ef962.bundle.js.map → 45.f1cb114b656ef4af2bc5.bundle.js.map} +1 -1
  81. package/dist/{45.aaec72bd569ec7e51094.bundle.js → 46.a9d1c07290ab98930744.bundle.js} +2 -2
  82. package/dist/{45.aaec72bd569ec7e51094.bundle.js.map → 46.a9d1c07290ab98930744.bundle.js.map} +1 -1
  83. package/dist/{46.923c5b8312749b3e3bb6.bundle.js → 47.e3d0e12eb54f0ea80c7b.bundle.js} +2 -2
  84. package/dist/{46.923c5b8312749b3e3bb6.bundle.js.map → 47.e3d0e12eb54f0ea80c7b.bundle.js.map} +1 -1
  85. package/dist/{47.244ee9d7807bc1103d77.bundle.js → 48.3c8d17c03f3fc081be89.bundle.js} +2 -2
  86. package/dist/{47.244ee9d7807bc1103d77.bundle.js.map → 48.3c8d17c03f3fc081be89.bundle.js.map} +1 -1
  87. package/dist/{48.8f1d7872a0efc5293c0e.bundle.js → 49.b4fe44e1a4aeeeb8a39e.bundle.js} +2 -2
  88. package/dist/{48.8f1d7872a0efc5293c0e.bundle.js.map → 49.b4fe44e1a4aeeeb8a39e.bundle.js.map} +1 -1
  89. package/dist/{49.1bb5a5fc03aab1cb710e.bundle.js → 50.6e68d9b649f03d5744b9.bundle.js} +2 -2
  90. package/dist/{49.1bb5a5fc03aab1cb710e.bundle.js.map → 50.6e68d9b649f03d5744b9.bundle.js.map} +1 -1
  91. package/dist/{50.f43de5b83f3fe0f1d4bd.bundle.js → 51.d023fa9b3d250baf210b.bundle.js} +2 -2
  92. package/dist/{50.f43de5b83f3fe0f1d4bd.bundle.js.map → 51.d023fa9b3d250baf210b.bundle.js.map} +1 -1
  93. package/dist/{51.8e4867cdb91b3a714b7c.bundle.js → 52.d84c24bdb469228ecf87.bundle.js} +2 -2
  94. package/dist/{51.8e4867cdb91b3a714b7c.bundle.js.map → 52.d84c24bdb469228ecf87.bundle.js.map} +1 -1
  95. package/dist/{52.87e251b63ec08a4fb27d.bundle.js → 53.8cf4f5609ed4e19b7426.bundle.js} +2 -2
  96. package/dist/{52.87e251b63ec08a4fb27d.bundle.js.map → 53.8cf4f5609ed4e19b7426.bundle.js.map} +1 -1
  97. package/dist/{53.40c4a95f13039c58e79b.bundle.js → 54.b7813e67817fea3ffff5.bundle.js} +2 -2
  98. package/dist/{53.40c4a95f13039c58e79b.bundle.js.map → 54.b7813e67817fea3ffff5.bundle.js.map} +1 -1
  99. package/dist/{54.20cfbf8ce92320d392c6.bundle.js → 55.10bb020070b8c5910e4c.bundle.js} +2 -2
  100. package/dist/{54.20cfbf8ce92320d392c6.bundle.js.map → 55.10bb020070b8c5910e4c.bundle.js.map} +1 -1
  101. package/dist/{55.81121264a9d4f0c993c0.bundle.js → 56.f7576b85862142bb7673.bundle.js} +2 -2
  102. package/dist/{55.81121264a9d4f0c993c0.bundle.js.map → 56.f7576b85862142bb7673.bundle.js.map} +1 -1
  103. package/dist/{56.3b6df77c3c43dc974a2a.bundle.js → 57.f432e4a7f6dbf5fa9e6e.bundle.js} +2 -2
  104. package/dist/{56.3b6df77c3c43dc974a2a.bundle.js.map → 57.f432e4a7f6dbf5fa9e6e.bundle.js.map} +1 -1
  105. package/dist/{57.da9c7da4dfcc8dc08eef.bundle.js → 58.4666a30220eb06c98de3.bundle.js} +2 -2
  106. package/dist/{57.da9c7da4dfcc8dc08eef.bundle.js.map → 58.4666a30220eb06c98de3.bundle.js.map} +1 -1
  107. package/dist/{58.78114ab4366f7a58909f.bundle.js → 59.feebf4602360cb8257bb.bundle.js} +2 -2
  108. package/dist/{58.78114ab4366f7a58909f.bundle.js.map → 59.feebf4602360cb8257bb.bundle.js.map} +1 -1
  109. package/dist/{59.52e5b2cfc641339e3c2f.bundle.js → 60.4c94265e0d3417d76f01.bundle.js} +2 -2
  110. package/dist/{59.52e5b2cfc641339e3c2f.bundle.js.map → 60.4c94265e0d3417d76f01.bundle.js.map} +1 -1
  111. package/dist/{60.25abbcbe64af8c67d9e0.bundle.js → 61.119fc16a46b4ac7fb477.bundle.js} +2 -2
  112. package/dist/{60.25abbcbe64af8c67d9e0.bundle.js.map → 61.119fc16a46b4ac7fb477.bundle.js.map} +1 -1
  113. package/dist/{61.d1c037716803baa45b56.bundle.js → 62.41c0ac4da8e49e4d4dd3.bundle.js} +2 -2
  114. package/dist/{61.d1c037716803baa45b56.bundle.js.map → 62.41c0ac4da8e49e4d4dd3.bundle.js.map} +1 -1
  115. package/dist/{62.48bd33d36bdf26cc7407.bundle.js → 63.8a51fd07dd8d92177b89.bundle.js} +2 -2
  116. package/dist/{62.48bd33d36bdf26cc7407.bundle.js.map → 63.8a51fd07dd8d92177b89.bundle.js.map} +1 -1
  117. package/dist/{63.3830d630aa0165983e01.bundle.js → 64.acc32081892f499d8ff3.bundle.js} +2 -2
  118. package/dist/{63.3830d630aa0165983e01.bundle.js.map → 64.acc32081892f499d8ff3.bundle.js.map} +1 -1
  119. package/dist/{64.04e416af3fb797ddf3f0.bundle.js → 65.75e5679260f79e06a315.bundle.js} +2 -2
  120. package/dist/{64.04e416af3fb797ddf3f0.bundle.js.map → 65.75e5679260f79e06a315.bundle.js.map} +1 -1
  121. package/dist/{65.cf91619343091aaf1c9e.bundle.js → 66.d0ee50381c28966b1105.bundle.js} +2 -2
  122. package/dist/{65.cf91619343091aaf1c9e.bundle.js.map → 66.d0ee50381c28966b1105.bundle.js.map} +1 -1
  123. package/dist/{66.c9f09ca9a81991f230ce.bundle.js → 67.58d8539fcac19288b820.bundle.js} +2 -2
  124. package/dist/{66.c9f09ca9a81991f230ce.bundle.js.map → 67.58d8539fcac19288b820.bundle.js.map} +1 -1
  125. package/dist/{67.ae87bcfb95e94702a27f.bundle.js → 68.9428f49abea727e95256.bundle.js} +2 -2
  126. package/dist/{67.ae87bcfb95e94702a27f.bundle.js.map → 68.9428f49abea727e95256.bundle.js.map} +1 -1
  127. package/dist/{68.fc9ca88b3a5537d2e39e.bundle.js → 69.c88dd57b21890c058b3d.bundle.js} +2 -2
  128. package/dist/{68.fc9ca88b3a5537d2e39e.bundle.js.map → 69.c88dd57b21890c058b3d.bundle.js.map} +1 -1
  129. package/dist/{69.464963ff8d617bb6d9f3.bundle.js → 70.ede527b8438e19a67ebc.bundle.js} +2 -2
  130. package/dist/{69.464963ff8d617bb6d9f3.bundle.js.map → 70.ede527b8438e19a67ebc.bundle.js.map} +1 -1
  131. package/dist/{70.13469cc5b9db5e443fd2.bundle.js → 71.2ddcb945966fd051a3a1.bundle.js} +2 -2
  132. package/dist/{70.13469cc5b9db5e443fd2.bundle.js.map → 71.2ddcb945966fd051a3a1.bundle.js.map} +1 -1
  133. package/dist/{71.ea9b774fdae25b0ce480.bundle.js → 72.d2f8a53e83efcb8ab953.bundle.js} +2 -2
  134. package/dist/{71.ea9b774fdae25b0ce480.bundle.js.map → 72.d2f8a53e83efcb8ab953.bundle.js.map} +1 -1
  135. package/dist/{72.c6ef4e0cc60344aafaee.bundle.js → 73.c29f06e5825684d56a9c.bundle.js} +2 -2
  136. package/dist/{72.c6ef4e0cc60344aafaee.bundle.js.map → 73.c29f06e5825684d56a9c.bundle.js.map} +1 -1
  137. package/dist/{73.408f48d9db7bdc35bee0.bundle.js → 74.b50a23c1751e0fc30aec.bundle.js} +2 -2
  138. package/dist/{73.408f48d9db7bdc35bee0.bundle.js.map → 74.b50a23c1751e0fc30aec.bundle.js.map} +1 -1
  139. package/dist/75.4f9197361b6427d97b6c.bundle.js +2 -0
  140. package/dist/75.4f9197361b6427d97b6c.bundle.js.map +1 -0
  141. package/dist/{75.576b5409a001d5eb28dc.bundle.js → 76.467d072ae323ab41fd3d.bundle.js} +2 -2
  142. package/dist/{75.576b5409a001d5eb28dc.bundle.js.map → 76.467d072ae323ab41fd3d.bundle.js.map} +1 -1
  143. package/dist/{76.9e51826f348a4f327a83.bundle.js → 77.41a60a354d0fb3103b00.bundle.js} +2 -2
  144. package/dist/{76.9e51826f348a4f327a83.bundle.js.map → 77.41a60a354d0fb3103b00.bundle.js.map} +1 -1
  145. package/dist/{77.9fe36e72f7ebd901d664.bundle.js → 78.7de8a0f70f6dc1debd05.bundle.js} +2 -2
  146. package/dist/{77.9fe36e72f7ebd901d664.bundle.js.map → 78.7de8a0f70f6dc1debd05.bundle.js.map} +1 -1
  147. package/dist/{78.4f9916789294f1edda70.bundle.js → 79.2f8b2ebcbd07d466c913.bundle.js} +2 -2
  148. package/dist/{78.4f9916789294f1edda70.bundle.js.map → 79.2f8b2ebcbd07d466c913.bundle.js.map} +1 -1
  149. package/dist/{8.f134424f4bc45dea8f3d.bundle.js → 8.b21d6a5c1a9412deb34f.bundle.js} +2 -2
  150. package/dist/{8.f134424f4bc45dea8f3d.bundle.js.map → 8.b21d6a5c1a9412deb34f.bundle.js.map} +1 -1
  151. package/dist/{79.0e030dfb3c7cda26ea35.bundle.js → 80.8e71a1aaf3beb2320bf0.bundle.js} +2 -2
  152. package/dist/{79.0e030dfb3c7cda26ea35.bundle.js.map → 80.8e71a1aaf3beb2320bf0.bundle.js.map} +1 -1
  153. package/dist/{80.68dc4e725f568b80238f.bundle.js → 81.2939c5d2b47cf48be6d5.bundle.js} +2 -2
  154. package/dist/{80.68dc4e725f568b80238f.bundle.js.map → 81.2939c5d2b47cf48be6d5.bundle.js.map} +1 -1
  155. package/dist/{81.a845c0986e8e91ce96d6.bundle.js → 82.69913e9f45a1dd96c6be.bundle.js} +2 -2
  156. package/dist/{81.a845c0986e8e91ce96d6.bundle.js.map → 82.69913e9f45a1dd96c6be.bundle.js.map} +1 -1
  157. package/dist/{83.6591fdab4c8434a8e35a.bundle.js → 83.73515cde0a2215275d32.bundle.js} +2 -2
  158. package/dist/{83.6591fdab4c8434a8e35a.bundle.js.map → 83.73515cde0a2215275d32.bundle.js.map} +1 -1
  159. package/dist/{86.d93b7597d94aae9028e9.bundle.js → 86.4b571d114bba8ed6a350.bundle.js} +2 -2
  160. package/dist/{86.d93b7597d94aae9028e9.bundle.js.map → 86.4b571d114bba8ed6a350.bundle.js.map} +1 -1
  161. package/dist/{87.c6a2833b9670bddd66a8.bundle.js → 87.69eaa604c4d381ec2340.bundle.js} +2 -2
  162. package/dist/{87.c6a2833b9670bddd66a8.bundle.js.map → 87.69eaa604c4d381ec2340.bundle.js.map} +1 -1
  163. package/dist/91.8e7850e1155a0f57ff60.bundle.js +2 -0
  164. package/dist/91.8e7850e1155a0f57ff60.bundle.js.map +1 -0
  165. package/dist/{93.44ed0eab05b8b601b8a3.bundle.js → 93.d4fb5fe720a8d95b2b37.bundle.js} +2 -2
  166. package/dist/{93.44ed0eab05b8b601b8a3.bundle.js.map → 93.d4fb5fe720a8d95b2b37.bundle.js.map} +1 -1
  167. package/dist/{96.759140cd5fd055fd4657.bundle.js → 96.a4044cdbb3c9f43d86d3.bundle.js} +2 -2
  168. package/dist/{96.759140cd5fd055fd4657.bundle.js.map → 96.a4044cdbb3c9f43d86d3.bundle.js.map} +1 -1
  169. package/dist/{97.ee7b3025753059ceac78.bundle.js → 97.9c2220bd069a1fa37786.bundle.js} +2 -2
  170. package/dist/{97.ee7b3025753059ceac78.bundle.js.map → 97.9c2220bd069a1fa37786.bundle.js.map} +1 -1
  171. package/dist/{bundle.f1bb50b1cdb763d31063.bundle.js → bundle.e011c1d35dc9c7092fba.bundle.js} +19 -19
  172. package/dist/bundle.e011c1d35dc9c7092fba.bundle.js.map +1 -0
  173. package/dist/css/bootstrap-graphdb-theme.css +1 -0
  174. package/dist/css/plugins.css +7 -18
  175. package/dist/i18n/locale-en.json +2 -2
  176. package/dist/i18n/locale-fr.json +2 -2
  177. package/dist/index.html +4 -4
  178. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  179. package/dist/{main.2642e50d9d3a370ced71.css → main.764d23be9469cc31aa65.css} +1 -1
  180. package/dist/pages/autocomplete.html +1 -1
  181. package/dist/pages/choose-repository-type.html +1 -1
  182. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  183. package/dist/pages/create-index.html +4 -4
  184. package/dist/pages/dependencies.html +1 -1
  185. package/dist/pages/domainRangeInfo.html +2 -2
  186. package/dist/pages/edit.html +1 -1
  187. package/dist/pages/explore.html +1 -1
  188. package/dist/pages/export.html +1 -1
  189. package/dist/pages/find.html +1 -1
  190. package/dist/pages/graph-config/saveGraphConfig.html +11 -11
  191. package/dist/pages/graphs-visualizations.html +7 -7
  192. package/dist/pages/guides.html +1 -1
  193. package/dist/pages/import.html +1 -1
  194. package/dist/pages/jdbc-create.html +5 -5
  195. package/dist/pages/monitor/queries.html +1 -1
  196. package/dist/pages/monitor/resources.html +2 -2
  197. package/dist/pages/namespaces.html +2 -2
  198. package/dist/pages/plugins.html +5 -6
  199. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  200. package/dist/pages/rdfrank.html +2 -2
  201. package/dist/pages/repositories.html +2 -2
  202. package/dist/pages/repository.html +5 -5
  203. package/dist/pages/similarity-indexes.html +1 -1
  204. package/dist/pages/sparql-template-create.html +5 -5
  205. package/dist/pages/sparql.html +3 -3
  206. package/dist/pages/webapi.html +2 -2
  207. package/dist/plugins.js +5 -16
  208. package/dist/res/swagger/index.html +27 -27
  209. package/dist/{vendor.abaa38fc9fe8e5441ac8.bundle.js → vendor.31cf390ca240d8cd1ef3.bundle.js} +1 -1
  210. package/dist/{vendor.abaa38fc9fe8e5441ac8.bundle.js.map → vendor.31cf390ca240d8cd1ef3.bundle.js.map} +1 -1
  211. package/package.json +1 -1
  212. package/dist/11.af5499ccbb5c1b7d37d0.bundle.js.map +0 -1
  213. package/dist/2.1624e5bea1a914b95ebb.bundle.js.map +0 -1
  214. package/dist/23.9e3968b629f8405f0f54.bundle.js.map +0 -1
  215. package/dist/31.6baef0f1d3aa7de28abd.bundle.js +0 -2
  216. package/dist/31.6baef0f1d3aa7de28abd.bundle.js.map +0 -1
  217. package/dist/38.d472c0044efa1f2cf10e.bundle.js +0 -2
  218. package/dist/38.d472c0044efa1f2cf10e.bundle.js.map +0 -1
  219. package/dist/74.570a5b71b06fb157f9b0.bundle.js +0 -2
  220. package/dist/74.570a5b71b06fb157f9b0.bundle.js.map +0 -1
  221. package/dist/82.8449a19aa4546aec8494.bundle.js +0 -2
  222. package/dist/82.8449a19aa4546aec8494.bundle.js.map +0 -1
  223. package/dist/91.7d22597bd507ab05d240.bundle.js +0 -2
  224. package/dist/91.7d22597bd507ab05d240.bundle.js.map +0 -1
  225. package/dist/bundle.f1bb50b1cdb763d31063.bundle.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./src/js/angular/autocomplete/plugin.js"],"names":["PluginRegistry","add","label","labelKey","href","order","role","icon","guideSelector","parent"],"mappings":"2EAAAA,eAAeC,IAAI,QAAS,CACxB,IAAO,gBACP,OAAU,iCACV,KAAQ,mBACR,MAAS,eACT,WAAc,mBACd,YAAe,0BACf,MAAS,0BACT,SAAY,+BAGhBD,eAAeC,IAAI,YAAa,CAC5B,MAAS,CACL,CAACC,MAAO,QAASC,SAAU,mBAAoBC,KAAM,IAAKC,MAAO,EAAGC,KAAM,yBAA0BC,KAAM,gBAAiBC,cAAe,cAC1I,CAACN,MAAO,eAAgBC,SAAU,0BAA2BC,KAAM,eAAgBC,MAAO,GAAII,OAAQ,QAASH,KAAM,yBAA0BE,cAAe","file":"45.aaec72bd569ec7e51094.bundle.js","sourcesContent":["PluginRegistry.add('route', {\n 'url': '/autocomplete',\n 'module': 'graphdb.framework.autocomplete',\n 'path': 'autocomplete/app',\n 'chunk': 'autocomplete',\n 'controller': 'AutocompleteCtrl',\n 'templateUrl': 'pages/autocomplete.html',\n 'title': 'view.autocomplete.title',\n 'helpInfo': 'view.autocomplete.helpInfo'\n});\n\nPluginRegistry.add('main.menu', {\n 'items': [\n {label: 'Setup', labelKey: 'menu.setup.label', href: '#', order: 5, role: 'IS_AUTHENTICATED_FULLY', icon: \"icon-settings\", guideSelector: 'menu-setup'},\n {label: 'Autocomplete', labelKey: 'menu.autocomplete.label', href: 'autocomplete', order: 40, parent: 'Setup', role: \"IS_AUTHENTICATED_FULLY\", guideSelector: 'sub-menu-autocomplete'}\n ]\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./src/js/angular/autocomplete/plugin.js"],"names":["PluginRegistry","add","label","labelKey","href","order","role","icon","guideSelector","parent"],"mappings":"2EAAAA,eAAeC,IAAI,QAAS,CACxB,IAAO,gBACP,OAAU,iCACV,KAAQ,mBACR,MAAS,eACT,WAAc,mBACd,YAAe,0BACf,MAAS,0BACT,SAAY,+BAGhBD,eAAeC,IAAI,YAAa,CAC5B,MAAS,CACL,CAACC,MAAO,QAASC,SAAU,mBAAoBC,KAAM,IAAKC,MAAO,EAAGC,KAAM,yBAA0BC,KAAM,gBAAiBC,cAAe,cAC1I,CAACN,MAAO,eAAgBC,SAAU,0BAA2BC,KAAM,eAAgBC,MAAO,GAAII,OAAQ,QAASH,KAAM,yBAA0BE,cAAe","file":"46.a9d1c07290ab98930744.bundle.js","sourcesContent":["PluginRegistry.add('route', {\n 'url': '/autocomplete',\n 'module': 'graphdb.framework.autocomplete',\n 'path': 'autocomplete/app',\n 'chunk': 'autocomplete',\n 'controller': 'AutocompleteCtrl',\n 'templateUrl': 'pages/autocomplete.html',\n 'title': 'view.autocomplete.title',\n 'helpInfo': 'view.autocomplete.helpInfo'\n});\n\nPluginRegistry.add('main.menu', {\n 'items': [\n {label: 'Setup', labelKey: 'menu.setup.label', href: '#', order: 5, role: 'IS_AUTHENTICATED_FULLY', icon: \"icon-settings\", guideSelector: 'menu-setup'},\n {label: 'Autocomplete', labelKey: 'menu.autocomplete.label', href: 'autocomplete', order: 40, parent: 'Setup', role: \"IS_AUTHENTICATED_FULLY\", guideSelector: 'sub-menu-autocomplete'}\n ]\n});\n"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[46],{50:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"createClusterSvgElement",(function(){return a})),n.d(e,"createClusterZone",(function(){return s})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return c})),n.d(e,"moveElement",(function(){return l})),n.d(e,"createNodes",(function(){return u})),n.d(e,"updateNodes",(function(){return i})),n.d(e,"createLinks",(function(){return p})),n.d(e,"updateLinks",(function(){return S})),n.d(e,"setLinkColor",(function(){return N})),n.d(e,"setLinkStyle",(function(){return h})),n.d(e,"positionNodesOnClusterZone",(function(){return x}));var o=n(46);const r={ontoOrange:"var(--onto-orange)",ontoBlue:"var(--onto-blue)",ontoGreen:"var(--onto-green)",ontoGrey:"var(--onto-grey)"};function a(t){return d3.select(t).append("svg")}function s(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function d(t,e,n){if(e.select(".cluster-zone").classed("no-cluster",!t),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||"No cluster group configured").attr("y",-50).classed("h2",!0).style("text-anchor","middle"),t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn||"Click here to create a cluster").style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function c(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 l(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function u(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n);!function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.svg.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("text").attr("y",e+10).attr("class","id id-host").style("text-anchor","middle"))}(o,e,n)}function i(t){!function(t){t.select(".icon-any.node-icon").text(f)}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+2})).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-1})).attr("fill","#EEEEEE")}(t)}function f(t){return t.nodeState===o.NodeState.LEADER?"":t.nodeState===o.NodeState.FOLLOWER?"":t.nodeState===o.NodeState.CANDIDATE?"":t.nodeState===o.NodeState.NO_CONNECTION?"":t.nodeState===o.NodeState.OUT_OF_SYNC?"":t.nodeState===o.NodeState.READ_ONLY?"":t.nodeState===o.NodeState.RESTRICTED?"":""}function p(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function S(t,e){t.attr("stroke",N).style("stroke-dasharray",h).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,a=o.y-n.y,s=Math.sqrt(r*r+a*a),d=r/s,c=a/s,l=n.x+55*d,u=n.y+55*c,i=o.x-55*d,f=o.y-55*c;return"M"+l+","+u+"L"+i+","+f}(t,e))}function N(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function h(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function x(t,e,n,o){t.attr("transform",(r,a)=>{const s=2*Math.PI*a/t[0].length;var d=e+Math.cos(s)*o,c=n+Math.sin(s)*o;return r.x=d,r.y=c,`translate(${d}, ${c})`})}}}]);
2
- //# sourceMappingURL=46.923c5b8312749b3e3bb6.bundle.js.map
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[47],{50:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"createClusterSvgElement",(function(){return a})),n.d(e,"createClusterZone",(function(){return s})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return c})),n.d(e,"moveElement",(function(){return l})),n.d(e,"createNodes",(function(){return u})),n.d(e,"updateNodes",(function(){return i})),n.d(e,"createLinks",(function(){return p})),n.d(e,"updateLinks",(function(){return S})),n.d(e,"setLinkColor",(function(){return N})),n.d(e,"setLinkStyle",(function(){return h})),n.d(e,"positionNodesOnClusterZone",(function(){return x}));var o=n(46);const r={ontoOrange:"var(--onto-orange)",ontoBlue:"var(--onto-blue)",ontoGreen:"var(--onto-green)",ontoGrey:"var(--onto-grey)"};function a(t){return d3.select(t).append("svg")}function s(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function d(t,e,n){if(e.select(".cluster-zone").classed("no-cluster",!t),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||"No cluster group configured").attr("y",-50).classed("h2",!0).style("text-anchor","middle"),t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn||"Click here to create a cluster").style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function c(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 l(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function u(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n);!function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.svg.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("text").attr("y",e+10).attr("class","id id-host").style("text-anchor","middle"))}(o,e,n)}function i(t){!function(t){t.select(".icon-any.node-icon").text(f)}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+2})).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-1})).attr("fill","#EEEEEE")}(t)}function f(t){return t.nodeState===o.NodeState.LEADER?"":t.nodeState===o.NodeState.FOLLOWER?"":t.nodeState===o.NodeState.CANDIDATE?"":t.nodeState===o.NodeState.NO_CONNECTION?"":t.nodeState===o.NodeState.OUT_OF_SYNC?"":t.nodeState===o.NodeState.READ_ONLY?"":t.nodeState===o.NodeState.RESTRICTED?"":""}function p(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function S(t,e){t.attr("stroke",N).style("stroke-dasharray",h).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,a=o.y-n.y,s=Math.sqrt(r*r+a*a),d=r/s,c=a/s,l=n.x+55*d,u=n.y+55*c,i=o.x-55*d,f=o.y-55*c;return"M"+l+","+u+"L"+i+","+f}(t,e))}function N(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function h(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function x(t,e,n,o){t.attr("transform",(r,a)=>{const s=2*Math.PI*a/t[0].length;var d=e+Math.cos(s)*o,c=n+Math.sin(s)*o;return r.x=d,r.y=c,`translate(${d}, ${c})`})}}}]);
2
+ //# sourceMappingURL=47.e3d0e12eb54f0ea80c7b.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./src/js/angular/clustermanagement/cluster-drawing.service.js"],"names":["clusterColors","ontoOrange","ontoBlue","ontoGreen","ontoGrey","createClusterSvgElement","element","d3","select","append","createClusterZone","parent","clusterZone","classed","style","setCreateClusterZone","hasCluster","translationsMap","selectAll","remove","textGroup","attr","text","no_cluster_configured","create_cluster_btn","updateClusterZoneLabels","moveElement","x","y","createNodes","nodesDataBinding","nodeRadius","isLegend","nodeGroup","enter","radius","_s32","Math","sqrt","points","data","svg","line","createHexagon","exit","nodeElements","nodeTextHost","addHostnameToNodes","updateNodes","nodes","getNodeIconType","updateNodesIcon","node","nodeState","LEADER","FOLLOWER","CANDIDATE","updateNodesClasses","each","d","labelNode","this","hostname","getBBox","width","height","updateNodesHostnameText","NO_CONNECTION","OUT_OF_SYNC","READ_ONLY","RESTRICTED","createLinks","linksDataBinding","updateLinks","setLinkColor","setLinkStyle","link","source","find","address","target","deltaX","deltaY","dist","normX","normY","sourceX","sourceY","targetX","targetY","getLinkCoordinates","status","IN_SYNC","SYNCING","positionNodesOnClusterZone","clusterZoneX","clusterZoneY","clusterZoneRadius","index","theta","PI","length","cos","sin"],"mappings":"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","file":"46.923c5b8312749b3e3bb6.bundle.js","sourcesContent":["import {LinkState, NodeState} from \"./controllers\";\n\nexport const clusterColors = {\n ontoOrange: 'var(--onto-orange)',\n ontoBlue: 'var(--onto-blue)',\n ontoGreen: 'var(--onto-green)',\n ontoGrey: 'var(--onto-grey)'\n};\n\nexport function createClusterSvgElement(element) {\n return d3.select(element)\n .append('svg');\n}\n\nexport function createClusterZone(parent) {\n const clusterZone = parent.append('g');\n clusterZone\n .append(\"circle\")\n .classed('cluster-zone', true)\n .style('fill', 'transparent')\n .style('stroke-width', '2');\n return clusterZone;\n}\n\nexport function setCreateClusterZone(hasCluster, clusterZone, translationsMap) {\n clusterZone\n .select('.cluster-zone')\n .classed('no-cluster', !hasCluster);\n\n if (hasCluster) {\n clusterZone.selectAll('#no-cluster-zone').remove();\n } else {\n const textGroup = clusterZone\n .append('g')\n .attr(\"id\", \"no-cluster-zone\");\n textGroup\n .append('text')\n .attr('id', 'no-cluster-label')\n .text(translationsMap.no_cluster_configured || 'No cluster group configured')\n .attr('y', -50)\n .classed('h2', true)\n .style('text-anchor', \"middle\");\n textGroup.append('text')\n .attr('id', 'create-cluster-label')\n .classed('h3', true)\n .text(translationsMap.create_cluster_btn || 'Click here to create a cluster')\n .style('text-anchor', \"middle\");\n textGroup.append('text')\n .attr('y', 130)\n .attr('class', 'icon-any repo')\n .attr('fill', clusterColors.ontoOrange)\n .style('text-anchor', \"middle\")\n .classed('settings-icon', true)\n .text(\"\\ue92b\");\n }\n}\n\nexport function updateClusterZoneLabels(hasCluster, clusterZone, translationsMap) {\n if (hasCluster) {\n return;\n }\n clusterZone.select('#no-cluster-zone #no-cluster-label')\n .text(translationsMap.no_cluster_configured);\n clusterZone.select('#no-cluster-zone #create-cluster-label')\n .text(translationsMap.create_cluster_btn);\n}\n\nexport function moveElement(element, x, y) {\n element.attr('transform', () => {\n return `translate(${x}, ${y})`;\n });\n}\n\nexport function createNodes(nodesDataBinding, nodeRadius, isLegend) {\n const nodeGroup = nodesDataBinding.enter()\n .append('g')\n .attr('id', 'node-group')\n .classed('legend', isLegend);\n\n createHexagon(nodeGroup, nodeRadius);\n nodesDataBinding.exit().remove();\n\n nodeGroup\n .append('text')\n .attr('class', 'icon-any node-icon');\n\n addHostnameToNodes(nodeGroup, nodeRadius, isLegend);\n}\n\nfunction addHostnameToNodes(nodeElements, nodeRadius, isLegend) {\n const nodeTextHost = nodeElements.append('g');\n\n if (isLegend) {\n nodeTextHost.append('foreignObject')\n .attr('y', nodeRadius)\n .attr('x', -nodeRadius)\n .attr('width', nodeRadius * 2)\n .attr('height', 10)\n .attr('class', 'label-wrapper')\n .append('xhtml:div')\n .attr('class', 'id id-host');\n } else {\n nodeTextHost\n .append('rect')\n .attr('class', 'id-host-background')\n .attr('rx', 6);\n\n nodeTextHost\n .append('text')\n .attr('y', nodeRadius + 10)\n .attr('class', 'id id-host')\n .style('text-anchor', 'middle');\n }\n}\n\nexport function updateNodes(nodes) {\n updateNodesIcon(nodes);\n updateNodesClasses(nodes);\n updateNodesHostnameText(nodes);\n}\n\nfunction updateNodesClasses(nodes) {\n nodes\n .select('.node.member')\n .classed('leader', (node) => node.nodeState === NodeState.LEADER)\n .classed('follower', (node) => node.nodeState === NodeState.FOLLOWER)\n .classed('candidate', (node) => node.nodeState === NodeState.CANDIDATE)\n .classed('other', (node) => {\n return node.nodeState !== NodeState.LEADER &&\n node.nodeState !== NodeState.FOLLOWER &&\n node.nodeState !== NodeState.CANDIDATE;\n });\n}\n\nfunction updateNodesIcon(nodes) {\n nodes\n .select('.icon-any.node-icon')\n .text(getNodeIconType);\n}\n\nfunction getNodeIconType(node) {\n if (node.nodeState === NodeState.LEADER) {\n return '\\ue935';\n } else if (node.nodeState === NodeState.FOLLOWER) {\n return '\\ue963';\n } else if (node.nodeState === NodeState.CANDIDATE) {\n return '\\ue914';\n } else if (node.nodeState === NodeState.NO_CONNECTION) {\n return '\\ue931';\n } else if (node.nodeState === NodeState.OUT_OF_SYNC) {\n return '\\ue920';\n } else if (node.nodeState === NodeState.READ_ONLY) {\n return '\\ue95c';\n } else if (node.nodeState === NodeState.RESTRICTED) {\n return '\\ue933';\n }\n return '';\n}\n\nfunction updateNodesHostnameText(nodes) {\n nodes\n .select('.id.id-host')\n .each(function (d) {\n d.labelNode = this;\n })\n .text(function (d) {\n return d.hostname;\n });\n\n // Add padding styling to text background. left/right +5. top/bottom +1\n nodes\n .select('.id-host-background')\n .attr('width', function (d) {\n return d3.select(d.labelNode).node().getBBox().width + 10;\n })\n .attr('height', function (d) {\n return d3.select(d.labelNode).node().getBBox().height + 2;\n })\n .attr('x', function (d) {\n return d3.select(d.labelNode).node().getBBox().x - 5;\n })\n .attr('y', function (d) {\n return d3.select(d.labelNode).node().getBBox().y - 1;\n })\n .attr('fill', '#EEEEEE');\n}\n\nexport function createLinks(linksDataBinding) {\n linksDataBinding.enter()\n .append('path')\n .classed('link', true);\n\n linksDataBinding.exit().remove();\n}\n\nexport function updateLinks(linksDataBinding, nodes) {\n linksDataBinding\n .attr('stroke', setLinkColor)\n .style('stroke-dasharray', setLinkStyle)\n .attr('d', (link) => getLinkCoordinates(link, nodes));\n}\n\nexport function setLinkColor(link) {\n if (link.status === LinkState.IN_SYNC || link.status === LinkState.SYNCING) {\n return clusterColors.ontoGreen;\n } else if (link.status === LinkState.OUT_OF_SYNC) {\n return clusterColors.ontoGrey;\n }\n return 'none';\n}\n\nexport function setLinkStyle(link) {\n if (link.status === LinkState.OUT_OF_SYNC || link.status === LinkState.SYNCING) {\n return '10 10';\n }\n return 'none';\n}\n\nfunction getLinkCoordinates(link, nodes) {\n const source = nodes.find((node) => node.address === link.source);\n const target = nodes.find((node) => node.address === link.target);\n\n const deltaX = target.x - source.x;\n const deltaY = target.y - source.y;\n const dist = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n const normX = deltaX / dist;\n const normY = deltaY / dist;\n\n // Padding from node center point\n const sourcePadding = 55;\n const targetPadding = 55;\n const sourceX = source.x + (sourcePadding * normX);\n const sourceY = source.y + (sourcePadding * normY);\n const targetX = target.x - (targetPadding * normX);\n const targetY = target.y - (targetPadding * normY);\n return 'M' + sourceX + ',' + sourceY + 'L' + targetX + ',' + targetY;\n}\n\nexport function positionNodesOnClusterZone(nodes, clusterZoneX, clusterZoneY, clusterZoneRadius) {\n nodes\n .attr('transform', (node, index) => {\n // Calculate initial positions for the new nodes based on\n // spreading them evenly on a circle around the center of the page.\n const theta = 2 * Math.PI * index / nodes[0].length;\n var x = clusterZoneX + Math.cos(theta) * clusterZoneRadius;\n var y = clusterZoneY + Math.sin(theta) * clusterZoneRadius;\n node.x = x;\n node.y = y;\n return `translate(${x}, ${y})`;\n });\n}\n\nfunction createHexagon(nodeGroup, radius) {\n const _s32 = (Math.sqrt(3) / 2);\n const xDiff = 0;\n const yDiff = 0;\n const points = [[radius + xDiff, yDiff], [radius / 2 + xDiff, radius * _s32 + yDiff], [-radius / 2 + xDiff, radius * _s32 + yDiff],\n [-radius + xDiff, yDiff],\n [-radius / 2 + xDiff, -radius * _s32 + yDiff], [radius / 2 + xDiff, -radius * _s32 + yDiff], [radius + xDiff, yDiff],\n [radius / 2 + xDiff, radius * _s32 + yDiff]];\n return nodeGroup\n .selectAll(\"path.area\")\n .data([points])\n .enter()\n .append(\"path\")\n .attr('class', 'node member')\n .attr(\"d\", d3.svg.line());\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./src/js/angular/clustermanagement/cluster-drawing.service.js"],"names":["clusterColors","ontoOrange","ontoBlue","ontoGreen","ontoGrey","createClusterSvgElement","element","d3","select","append","createClusterZone","parent","clusterZone","classed","style","setCreateClusterZone","hasCluster","translationsMap","selectAll","remove","textGroup","attr","text","no_cluster_configured","create_cluster_btn","updateClusterZoneLabels","moveElement","x","y","createNodes","nodesDataBinding","nodeRadius","isLegend","nodeGroup","enter","radius","_s32","Math","sqrt","points","data","svg","line","createHexagon","exit","nodeElements","nodeTextHost","addHostnameToNodes","updateNodes","nodes","getNodeIconType","updateNodesIcon","node","nodeState","LEADER","FOLLOWER","CANDIDATE","updateNodesClasses","each","d","labelNode","this","hostname","getBBox","width","height","updateNodesHostnameText","NO_CONNECTION","OUT_OF_SYNC","READ_ONLY","RESTRICTED","createLinks","linksDataBinding","updateLinks","setLinkColor","setLinkStyle","link","source","find","address","target","deltaX","deltaY","dist","normX","normY","sourceX","sourceY","targetX","targetY","getLinkCoordinates","status","IN_SYNC","SYNCING","positionNodesOnClusterZone","clusterZoneX","clusterZoneY","clusterZoneRadius","index","theta","PI","length","cos","sin"],"mappings":"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","file":"47.e3d0e12eb54f0ea80c7b.bundle.js","sourcesContent":["import {LinkState, NodeState} from \"./controllers\";\n\nexport const clusterColors = {\n ontoOrange: 'var(--onto-orange)',\n ontoBlue: 'var(--onto-blue)',\n ontoGreen: 'var(--onto-green)',\n ontoGrey: 'var(--onto-grey)'\n};\n\nexport function createClusterSvgElement(element) {\n return d3.select(element)\n .append('svg');\n}\n\nexport function createClusterZone(parent) {\n const clusterZone = parent.append('g');\n clusterZone\n .append(\"circle\")\n .classed('cluster-zone', true)\n .style('fill', 'transparent')\n .style('stroke-width', '2');\n return clusterZone;\n}\n\nexport function setCreateClusterZone(hasCluster, clusterZone, translationsMap) {\n clusterZone\n .select('.cluster-zone')\n .classed('no-cluster', !hasCluster);\n\n if (hasCluster) {\n clusterZone.selectAll('#no-cluster-zone').remove();\n } else {\n const textGroup = clusterZone\n .append('g')\n .attr(\"id\", \"no-cluster-zone\");\n textGroup\n .append('text')\n .attr('id', 'no-cluster-label')\n .text(translationsMap.no_cluster_configured || 'No cluster group configured')\n .attr('y', -50)\n .classed('h2', true)\n .style('text-anchor', \"middle\");\n textGroup.append('text')\n .attr('id', 'create-cluster-label')\n .classed('h3', true)\n .text(translationsMap.create_cluster_btn || 'Click here to create a cluster')\n .style('text-anchor', \"middle\");\n textGroup.append('text')\n .attr('y', 130)\n .attr('class', 'icon-any repo')\n .attr('fill', clusterColors.ontoOrange)\n .style('text-anchor', \"middle\")\n .classed('settings-icon', true)\n .text(\"\\ue92b\");\n }\n}\n\nexport function updateClusterZoneLabels(hasCluster, clusterZone, translationsMap) {\n if (hasCluster) {\n return;\n }\n clusterZone.select('#no-cluster-zone #no-cluster-label')\n .text(translationsMap.no_cluster_configured);\n clusterZone.select('#no-cluster-zone #create-cluster-label')\n .text(translationsMap.create_cluster_btn);\n}\n\nexport function moveElement(element, x, y) {\n element.attr('transform', () => {\n return `translate(${x}, ${y})`;\n });\n}\n\nexport function createNodes(nodesDataBinding, nodeRadius, isLegend) {\n const nodeGroup = nodesDataBinding.enter()\n .append('g')\n .attr('id', 'node-group')\n .classed('legend', isLegend);\n\n createHexagon(nodeGroup, nodeRadius);\n nodesDataBinding.exit().remove();\n\n nodeGroup\n .append('text')\n .attr('class', 'icon-any node-icon');\n\n addHostnameToNodes(nodeGroup, nodeRadius, isLegend);\n}\n\nfunction addHostnameToNodes(nodeElements, nodeRadius, isLegend) {\n const nodeTextHost = nodeElements.append('g');\n\n if (isLegend) {\n nodeTextHost.append('foreignObject')\n .attr('y', nodeRadius)\n .attr('x', -nodeRadius)\n .attr('width', nodeRadius * 2)\n .attr('height', 10)\n .attr('class', 'label-wrapper')\n .append('xhtml:div')\n .attr('class', 'id id-host');\n } else {\n nodeTextHost\n .append('rect')\n .attr('class', 'id-host-background')\n .attr('rx', 6);\n\n nodeTextHost\n .append('text')\n .attr('y', nodeRadius + 10)\n .attr('class', 'id id-host')\n .style('text-anchor', 'middle');\n }\n}\n\nexport function updateNodes(nodes) {\n updateNodesIcon(nodes);\n updateNodesClasses(nodes);\n updateNodesHostnameText(nodes);\n}\n\nfunction updateNodesClasses(nodes) {\n nodes\n .select('.node.member')\n .classed('leader', (node) => node.nodeState === NodeState.LEADER)\n .classed('follower', (node) => node.nodeState === NodeState.FOLLOWER)\n .classed('candidate', (node) => node.nodeState === NodeState.CANDIDATE)\n .classed('other', (node) => {\n return node.nodeState !== NodeState.LEADER &&\n node.nodeState !== NodeState.FOLLOWER &&\n node.nodeState !== NodeState.CANDIDATE;\n });\n}\n\nfunction updateNodesIcon(nodes) {\n nodes\n .select('.icon-any.node-icon')\n .text(getNodeIconType);\n}\n\nfunction getNodeIconType(node) {\n if (node.nodeState === NodeState.LEADER) {\n return '\\ue935';\n } else if (node.nodeState === NodeState.FOLLOWER) {\n return '\\ue963';\n } else if (node.nodeState === NodeState.CANDIDATE) {\n return '\\ue914';\n } else if (node.nodeState === NodeState.NO_CONNECTION) {\n return '\\ue931';\n } else if (node.nodeState === NodeState.OUT_OF_SYNC) {\n return '\\ue920';\n } else if (node.nodeState === NodeState.READ_ONLY) {\n return '\\ue95c';\n } else if (node.nodeState === NodeState.RESTRICTED) {\n return '\\ue933';\n }\n return '';\n}\n\nfunction updateNodesHostnameText(nodes) {\n nodes\n .select('.id.id-host')\n .each(function (d) {\n d.labelNode = this;\n })\n .text(function (d) {\n return d.hostname;\n });\n\n // Add padding styling to text background. left/right +5. top/bottom +1\n nodes\n .select('.id-host-background')\n .attr('width', function (d) {\n return d3.select(d.labelNode).node().getBBox().width + 10;\n })\n .attr('height', function (d) {\n return d3.select(d.labelNode).node().getBBox().height + 2;\n })\n .attr('x', function (d) {\n return d3.select(d.labelNode).node().getBBox().x - 5;\n })\n .attr('y', function (d) {\n return d3.select(d.labelNode).node().getBBox().y - 1;\n })\n .attr('fill', '#EEEEEE');\n}\n\nexport function createLinks(linksDataBinding) {\n linksDataBinding.enter()\n .append('path')\n .classed('link', true);\n\n linksDataBinding.exit().remove();\n}\n\nexport function updateLinks(linksDataBinding, nodes) {\n linksDataBinding\n .attr('stroke', setLinkColor)\n .style('stroke-dasharray', setLinkStyle)\n .attr('d', (link) => getLinkCoordinates(link, nodes));\n}\n\nexport function setLinkColor(link) {\n if (link.status === LinkState.IN_SYNC || link.status === LinkState.SYNCING) {\n return clusterColors.ontoGreen;\n } else if (link.status === LinkState.OUT_OF_SYNC) {\n return clusterColors.ontoGrey;\n }\n return 'none';\n}\n\nexport function setLinkStyle(link) {\n if (link.status === LinkState.OUT_OF_SYNC || link.status === LinkState.SYNCING) {\n return '10 10';\n }\n return 'none';\n}\n\nfunction getLinkCoordinates(link, nodes) {\n const source = nodes.find((node) => node.address === link.source);\n const target = nodes.find((node) => node.address === link.target);\n\n const deltaX = target.x - source.x;\n const deltaY = target.y - source.y;\n const dist = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n const normX = deltaX / dist;\n const normY = deltaY / dist;\n\n // Padding from node center point\n const sourcePadding = 55;\n const targetPadding = 55;\n const sourceX = source.x + (sourcePadding * normX);\n const sourceY = source.y + (sourcePadding * normY);\n const targetX = target.x - (targetPadding * normX);\n const targetY = target.y - (targetPadding * normY);\n return 'M' + sourceX + ',' + sourceY + 'L' + targetX + ',' + targetY;\n}\n\nexport function positionNodesOnClusterZone(nodes, clusterZoneX, clusterZoneY, clusterZoneRadius) {\n nodes\n .attr('transform', (node, index) => {\n // Calculate initial positions for the new nodes based on\n // spreading them evenly on a circle around the center of the page.\n const theta = 2 * Math.PI * index / nodes[0].length;\n var x = clusterZoneX + Math.cos(theta) * clusterZoneRadius;\n var y = clusterZoneY + Math.sin(theta) * clusterZoneRadius;\n node.x = x;\n node.y = y;\n return `translate(${x}, ${y})`;\n });\n}\n\nfunction createHexagon(nodeGroup, radius) {\n const _s32 = (Math.sqrt(3) / 2);\n const xDiff = 0;\n const yDiff = 0;\n const points = [[radius + xDiff, yDiff], [radius / 2 + xDiff, radius * _s32 + yDiff], [-radius / 2 + xDiff, radius * _s32 + yDiff],\n [-radius + xDiff, yDiff],\n [-radius / 2 + xDiff, -radius * _s32 + yDiff], [radius / 2 + xDiff, -radius * _s32 + yDiff], [radius + xDiff, yDiff],\n [radius / 2 + xDiff, radius * _s32 + yDiff]];\n return nodeGroup\n .selectAll(\"path.area\")\n .data([points])\n .enter()\n .append(\"path\")\n .attr('class', 'node member')\n .attr(\"d\", d3.svg.line());\n}\n"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[47],{101:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_ADMIN",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
2
- //# sourceMappingURL=47.244ee9d7807bc1103d77.bundle.js.map
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[48],{101:function(e,t){PluginRegistry.add("route",[{url:"/cluster",module:"graphdb.framework.clustermanagement",chunk:"clustermanagement",path:"clustermanagement/app",controller:"ClusterManagementCtrl",templateUrl:"pages/cluster-management/clusterInfo.html",helpInfo:"view.clusterManagement.helpInfo",title:"view.clusterManagement.title"}]),PluginRegistry.add("main.menu",{items:[{label:"Cluster",labelKey:"menu.cluster.label",href:"cluster",order:20,role:"ROLE_ADMIN",parent:"Setup",guideSelector:"sub-menu-cluster"}]})}}]);
2
+ //# sourceMappingURL=48.3c8d17c03f3fc081be89.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./src/js/angular/clustermanagement/plugin.js"],"names":["PluginRegistry","add","label","labelKey","href","order","role","parent","guideSelector"],"mappings":"4EAAAA,eAAeC,IAAI,QAAS,CACxB,CACI,IAAO,WACP,OAAU,sCACV,MAAS,oBACT,KAAQ,wBACR,WAAc,wBACd,YAAe,4CACf,SAAY,kCACZ,MAAS,kCAIjBD,eAAeC,IAAI,YAAa,CAC5B,MAAS,CAAC,CACNC,MAAO,UACPC,SAAU,qBACVC,KAAM,UACNC,MAAO,GACPC,KAAM,aACNC,OAAQ,QACRC,cAAe","file":"47.244ee9d7807bc1103d77.bundle.js","sourcesContent":["PluginRegistry.add('route', [\n {\n 'url': '/cluster',\n 'module': 'graphdb.framework.clustermanagement',\n 'chunk': 'clustermanagement',\n 'path': 'clustermanagement/app',\n 'controller': 'ClusterManagementCtrl',\n 'templateUrl': 'pages/cluster-management/clusterInfo.html',\n 'helpInfo': 'view.clusterManagement.helpInfo',\n 'title': 'view.clusterManagement.title'\n }\n]);\n\nPluginRegistry.add('main.menu', {\n 'items': [{\n label: 'Cluster',\n labelKey: 'menu.cluster.label',\n href: 'cluster',\n order: 20,\n role: 'ROLE_ADMIN',\n parent: 'Setup',\n guideSelector: 'sub-menu-cluster'\n }]\n});\n\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./src/js/angular/clustermanagement/plugin.js"],"names":["PluginRegistry","add","label","labelKey","href","order","role","parent","guideSelector"],"mappings":"4EAAAA,eAAeC,IAAI,QAAS,CACxB,CACI,IAAO,WACP,OAAU,sCACV,MAAS,oBACT,KAAQ,wBACR,WAAc,wBACd,YAAe,4CACf,SAAY,kCACZ,MAAS,kCAIjBD,eAAeC,IAAI,YAAa,CAC5B,MAAS,CAAC,CACNC,MAAO,UACPC,SAAU,qBACVC,KAAM,UACNC,MAAO,GACPC,KAAM,aACNC,OAAQ,QACRC,cAAe","file":"48.3c8d17c03f3fc081be89.bundle.js","sourcesContent":["PluginRegistry.add('route', [\n {\n 'url': '/cluster',\n 'module': 'graphdb.framework.clustermanagement',\n 'chunk': 'clustermanagement',\n 'path': 'clustermanagement/app',\n 'controller': 'ClusterManagementCtrl',\n 'templateUrl': 'pages/cluster-management/clusterInfo.html',\n 'helpInfo': 'view.clusterManagement.helpInfo',\n 'title': 'view.clusterManagement.title'\n }\n]);\n\nPluginRegistry.add('main.menu', {\n 'items': [{\n label: 'Cluster',\n labelKey: 'menu.cluster.label',\n href: 'cluster',\n order: 20,\n role: 'ROLE_ADMIN',\n parent: 'Setup',\n guideSelector: 'sub-menu-cluster'\n }]\n});\n\n"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[48],{57:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
2
- //# sourceMappingURL=48.8f1d7872a0efc5293c0e.bundle.js.map
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[49],{57:function(e,t){function i(e){return{restrict:"A",scope:{min:"=",max:"="},link:function(t,i,n){const o={debounce:_.debounce,delay:100,loadDelay:10,compressor:1,min:n.fitTextMin||"inherit",max:n.fitTextMax||"inherit",calcSize:10,lines:1},a=i.parent(),c=i[0],l=c.style,f=window.getComputedStyle(i[0],null),r=i.children().length||o.lines,s="inherit"===o.min?f["font-size"]:o.min,d="inherit"===o.max?f["font-size"]:o.max,p=f["line-height"],u=f.display;let h;function m(){const e=o.calcSize*r/c.offsetWidth/r;return Math.max(Math.min(function(e){const t=parseFloat(getComputedStyle(a[0]).paddingLeft),i=parseFloat(getComputedStyle(a[0]).paddingRight);return(a[0].offsetWidth-(t+i))*e*o.compressor}(e),parseFloat(d)),parseFloat(s))}function w(){h&&e.cancel(h),h=e((function(){c.offsetHeight*c.offsetWidth!=0&&(l.fontSize=o.calcSize+"px",l.lineHeight="1",l.display="inline-block",l.fontSize=m()+"px",l.lineHeight=p,l.display=u)}),o.loadDelay)}t.$watch((function(){return[a[0].offsetWidth,i[0].offsetWidth].join("_")}),(function(){w()})),$(window).on("resize",o.debounce((function(){t.$apply(w)}),o.delay)),t.$on("$destroy",(function(){h&&e.cancel(h),$(window).off("resize")}))}}}angular.module("graphdb.framework.core.directives.fittext",[]).directive("fitText",i),i.$inject=["$timeout"]}}]);
2
+ //# sourceMappingURL=49.b4fe44e1a4aeeeb8a39e.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./src/js/angular/core/directives/fit-text.directive.js"],"names":["fitTextDirective","$timeout","restrict","scope","min","max","link","element","attrs","config","_","debounce","fitTextMin","fitTextMax","parent","domElem","domElemStyle","style","computed","window","getComputedStyle","newlines","children","length","lines","minFontSize","maxFontSize","lineHeight","display","resizePromise","calculate","ratio","calcSize","offsetWidth","Math","paddingLeft","parseFloat","paddingRight","compressor","getMaxFontSize","resizer","cancel","offsetHeight","fontSize","loadDelay","$watch","join","$","on","$apply","delay","$on","off","angular","module","directive","$inject"],"mappings":"2EAOA,SAASA,EAAiBC,GACtB,MAAO,CACHC,SAAU,IACVC,MAAO,CACHC,IAAK,IACLC,IAAK,KAETC,KAAM,SAAUH,EAAOI,EAASC,GAE5B,MAAMC,EAAS,CACX,SAAYC,EAAEC,SACd,MAAS,IACT,UAAa,GACb,WAAc,EACd,IAAOH,EAAMI,YAAc,UAC3B,IAAOJ,EAAMK,YAAc,UAC3B,SAAY,GACZ,MAAS,GAGPC,EAASP,EAAQO,SACjBC,EAAUR,EAAQ,GAClBS,EAAeD,EAAQE,MACvBC,EAAWC,OAAOC,iBAAiBb,EAAQ,GAAI,MAC/Cc,EAAWd,EAAQe,WAAWC,QAAUd,EAAOe,MAC/CC,EAA6B,YAAfhB,EAAOL,IAAoBc,EAAS,aAAeT,EAAOL,IACxEsB,EAA6B,YAAfjB,EAAOJ,IAAoBa,EAAS,aAAeT,EAAOJ,IACxEsB,EAAaT,EAAS,eACtBU,EAAUV,EAAkB,QAClC,IAAIW,EAEJ,SAASC,IACL,MAAMC,EAAStB,EAAOuB,SAAWX,EAAYN,EAAQkB,YAAcZ,EACnE,OAAOa,KAAK7B,IAAI6B,KAAK9B,IAGzB,SAAwB2B,GACpB,MAAMI,EAAcC,WAAWhB,iBAAiBN,EAAO,IAAIqB,aACrDE,EAAeD,WAAWhB,iBAAiBN,EAAO,IAAIuB,cAE5D,OAAQvB,EAAO,GAAGmB,aAAeE,EAAcE,IAAiBN,EAAQtB,EAAO6B,WAPtDC,CAAeR,GAAQK,WAAWV,IAAeU,WAAWX,IA0BzF,SAASe,IACDX,GACA5B,EAASwC,OAAOZ,GAGpBA,EAAgB5B,GAAS,WApBrBc,EAAQ2B,aAAe3B,EAAQkB,aAAgB,IAKnDjB,EAAa2B,SAAWlC,EAAOuB,SAAW,KAC1ChB,EAAaW,WAAa,IAC1BX,EAAaY,QAAU,eAGvBZ,EAAa2B,SAAWb,IAAc,KACtCd,EAAaW,WAAaA,EAC1BX,EAAaY,QAAUA,KAUpBnB,EAAOmC,WAGdzC,EAAM0C,QAAO,WACT,MAAO,CACH/B,EAAO,GAAGmB,YACV1B,EAAQ,GAAG0B,aACba,KAAK,QACR,WACCN,OAGJO,EAAE5B,QAAQ6B,GAAG,SAAUvC,EAAOE,UAAS,WACnCR,EAAM8C,OAAOT,KACd/B,EAAOyC,QAEV/C,EAAMgD,IAAI,YAAY,WACdtB,GACA5B,EAASwC,OAAOZ,GAEpBkB,EAAE5B,QAAQiC,IAAI,eA5F9BC,QACKC,OAAO,4CAA6C,IACpDC,UAAU,UAAWvD,GAE1BA,EAAiBwD,QAAU,CAAC","file":"48.8f1d7872a0efc5293c0e.bundle.js","sourcesContent":["// This is a rework of the ng-FitText.js which can be found here https://github.com/patrickmarabeas/ng-FitText.js\nangular\n .module('graphdb.framework.core.directives.fittext', [])\n .directive('fitText', fitTextDirective);\n\nfitTextDirective.$inject = ['$timeout'];\n\nfunction fitTextDirective($timeout) {\n return {\n restrict: 'A',\n scope: {\n min: '=',\n max: '='\n },\n link: function (scope, element, attrs) {\n\n const config = {\n 'debounce': _.debounce,\n 'delay': 100,\n 'loadDelay': 10,\n 'compressor': 1,\n 'min': attrs.fitTextMin || 'inherit',\n 'max': attrs.fitTextMax || 'inherit',\n 'calcSize': 10,\n 'lines': 1\n };\n\n const parent = element.parent();\n const domElem = element[0];\n const domElemStyle = domElem.style;\n const computed = window.getComputedStyle(element[0], null);\n const newlines = element.children().length || config.lines;\n const minFontSize = config.min === 'inherit' ? computed['font-size'] : config.min;\n const maxFontSize = config.max === 'inherit' ? computed['font-size'] : config.max;\n const lineHeight = computed['line-height'];\n const display = computed['display'];\n let resizePromise;\n\n function calculate() {\n const ratio = (config.calcSize * newlines) / domElem.offsetWidth / newlines;\n return Math.max(Math.min(getMaxFontSize(ratio), parseFloat(maxFontSize)), parseFloat(minFontSize));\n }\n\n function getMaxFontSize(ratio) {\n const paddingLeft = parseFloat(getComputedStyle(parent[0]).paddingLeft);\n const paddingRight = parseFloat(getComputedStyle(parent[0]).paddingRight);\n\n return (parent[0].offsetWidth - (paddingLeft + paddingRight)) * ratio * config.compressor;\n }\n\n function resize() {\n if (domElem.offsetHeight * domElem.offsetWidth === 0) {\n return;\n }\n\n // Preset standard values for making the size calculation\n domElemStyle.fontSize = config.calcSize + 'px';\n domElemStyle.lineHeight = '1';\n domElemStyle.display = 'inline-block';\n\n // Set usage values\n domElemStyle.fontSize = calculate() + 'px';\n domElemStyle.lineHeight = lineHeight;\n domElemStyle.display = display;\n }\n\n function resizer() {\n if (resizePromise) {\n $timeout.cancel(resizePromise);\n }\n\n resizePromise = $timeout(function () {\n resize();\n }, config.loadDelay);\n }\n\n scope.$watch(function () {\n return [\n parent[0].offsetWidth,\n element[0].offsetWidth\n ].join('_');\n }, function () {\n resizer();\n });\n\n $(window).on('resize', config.debounce(function () {\n scope.$apply(resizer)\n }, config.delay));\n\n scope.$on('$destroy', function () {\n if (resizePromise) {\n $timeout.cancel(resizePromise);\n }\n $(window).off('resize');\n });\n }\n };\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./src/js/angular/core/directives/fit-text.directive.js"],"names":["fitTextDirective","$timeout","restrict","scope","min","max","link","element","attrs","config","_","debounce","fitTextMin","fitTextMax","parent","domElem","domElemStyle","style","computed","window","getComputedStyle","newlines","children","length","lines","minFontSize","maxFontSize","lineHeight","display","resizePromise","calculate","ratio","calcSize","offsetWidth","Math","paddingLeft","parseFloat","paddingRight","compressor","getMaxFontSize","resizer","cancel","offsetHeight","fontSize","loadDelay","$watch","join","$","on","$apply","delay","$on","off","angular","module","directive","$inject"],"mappings":"2EAOA,SAASA,EAAiBC,GACtB,MAAO,CACHC,SAAU,IACVC,MAAO,CACHC,IAAK,IACLC,IAAK,KAETC,KAAM,SAAUH,EAAOI,EAASC,GAE5B,MAAMC,EAAS,CACX,SAAYC,EAAEC,SACd,MAAS,IACT,UAAa,GACb,WAAc,EACd,IAAOH,EAAMI,YAAc,UAC3B,IAAOJ,EAAMK,YAAc,UAC3B,SAAY,GACZ,MAAS,GAGPC,EAASP,EAAQO,SACjBC,EAAUR,EAAQ,GAClBS,EAAeD,EAAQE,MACvBC,EAAWC,OAAOC,iBAAiBb,EAAQ,GAAI,MAC/Cc,EAAWd,EAAQe,WAAWC,QAAUd,EAAOe,MAC/CC,EAA6B,YAAfhB,EAAOL,IAAoBc,EAAS,aAAeT,EAAOL,IACxEsB,EAA6B,YAAfjB,EAAOJ,IAAoBa,EAAS,aAAeT,EAAOJ,IACxEsB,EAAaT,EAAS,eACtBU,EAAUV,EAAkB,QAClC,IAAIW,EAEJ,SAASC,IACL,MAAMC,EAAStB,EAAOuB,SAAWX,EAAYN,EAAQkB,YAAcZ,EACnE,OAAOa,KAAK7B,IAAI6B,KAAK9B,IAGzB,SAAwB2B,GACpB,MAAMI,EAAcC,WAAWhB,iBAAiBN,EAAO,IAAIqB,aACrDE,EAAeD,WAAWhB,iBAAiBN,EAAO,IAAIuB,cAE5D,OAAQvB,EAAO,GAAGmB,aAAeE,EAAcE,IAAiBN,EAAQtB,EAAO6B,WAPtDC,CAAeR,GAAQK,WAAWV,IAAeU,WAAWX,IA0BzF,SAASe,IACDX,GACA5B,EAASwC,OAAOZ,GAGpBA,EAAgB5B,GAAS,WApBrBc,EAAQ2B,aAAe3B,EAAQkB,aAAgB,IAKnDjB,EAAa2B,SAAWlC,EAAOuB,SAAW,KAC1ChB,EAAaW,WAAa,IAC1BX,EAAaY,QAAU,eAGvBZ,EAAa2B,SAAWb,IAAc,KACtCd,EAAaW,WAAaA,EAC1BX,EAAaY,QAAUA,KAUpBnB,EAAOmC,WAGdzC,EAAM0C,QAAO,WACT,MAAO,CACH/B,EAAO,GAAGmB,YACV1B,EAAQ,GAAG0B,aACba,KAAK,QACR,WACCN,OAGJO,EAAE5B,QAAQ6B,GAAG,SAAUvC,EAAOE,UAAS,WACnCR,EAAM8C,OAAOT,KACd/B,EAAOyC,QAEV/C,EAAMgD,IAAI,YAAY,WACdtB,GACA5B,EAASwC,OAAOZ,GAEpBkB,EAAE5B,QAAQiC,IAAI,eA5F9BC,QACKC,OAAO,4CAA6C,IACpDC,UAAU,UAAWvD,GAE1BA,EAAiBwD,QAAU,CAAC","file":"49.b4fe44e1a4aeeeb8a39e.bundle.js","sourcesContent":["// This is a rework of the ng-FitText.js which can be found here https://github.com/patrickmarabeas/ng-FitText.js\nangular\n .module('graphdb.framework.core.directives.fittext', [])\n .directive('fitText', fitTextDirective);\n\nfitTextDirective.$inject = ['$timeout'];\n\nfunction fitTextDirective($timeout) {\n return {\n restrict: 'A',\n scope: {\n min: '=',\n max: '='\n },\n link: function (scope, element, attrs) {\n\n const config = {\n 'debounce': _.debounce,\n 'delay': 100,\n 'loadDelay': 10,\n 'compressor': 1,\n 'min': attrs.fitTextMin || 'inherit',\n 'max': attrs.fitTextMax || 'inherit',\n 'calcSize': 10,\n 'lines': 1\n };\n\n const parent = element.parent();\n const domElem = element[0];\n const domElemStyle = domElem.style;\n const computed = window.getComputedStyle(element[0], null);\n const newlines = element.children().length || config.lines;\n const minFontSize = config.min === 'inherit' ? computed['font-size'] : config.min;\n const maxFontSize = config.max === 'inherit' ? computed['font-size'] : config.max;\n const lineHeight = computed['line-height'];\n const display = computed['display'];\n let resizePromise;\n\n function calculate() {\n const ratio = (config.calcSize * newlines) / domElem.offsetWidth / newlines;\n return Math.max(Math.min(getMaxFontSize(ratio), parseFloat(maxFontSize)), parseFloat(minFontSize));\n }\n\n function getMaxFontSize(ratio) {\n const paddingLeft = parseFloat(getComputedStyle(parent[0]).paddingLeft);\n const paddingRight = parseFloat(getComputedStyle(parent[0]).paddingRight);\n\n return (parent[0].offsetWidth - (paddingLeft + paddingRight)) * ratio * config.compressor;\n }\n\n function resize() {\n if (domElem.offsetHeight * domElem.offsetWidth === 0) {\n return;\n }\n\n // Preset standard values for making the size calculation\n domElemStyle.fontSize = config.calcSize + 'px';\n domElemStyle.lineHeight = '1';\n domElemStyle.display = 'inline-block';\n\n // Set usage values\n domElemStyle.fontSize = calculate() + 'px';\n domElemStyle.lineHeight = lineHeight;\n domElemStyle.display = display;\n }\n\n function resizer() {\n if (resizePromise) {\n $timeout.cancel(resizePromise);\n }\n\n resizePromise = $timeout(function () {\n resize();\n }, config.loadDelay);\n }\n\n scope.$watch(function () {\n return [\n parent[0].offsetWidth,\n element[0].offsetWidth\n ].join('_');\n }, function () {\n resizer();\n });\n\n $(window).on('resize', config.debounce(function () {\n scope.$apply(resizer)\n }, config.delay));\n\n scope.$on('$destroy', function () {\n if (resizePromise) {\n $timeout.cancel(resizePromise);\n }\n $(window).off('resize');\n });\n }\n };\n}\n"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[49],{40:function(a,e){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",(function(){return{template:'<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"></pagination>'}}))}}]);
2
- //# sourceMappingURL=49.1bb5a5fc03aab1cb710e.bundle.js.map
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[50],{40:function(a,e){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",(function(){return{template:'<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"></pagination>'}}))}}]);
2
+ //# sourceMappingURL=50.6e68d9b649f03d5744b9.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///./src/js/angular/core/directives/paginations.js"],"names":["angular","module","directive","template"],"mappings":"2EAAAA,QAAQC,OAAO,gDAAiD,IAC3DC,UAAU,eAAe,WACtB,MAAO,CACHC,SAAU","file":"49.1bb5a5fc03aab1cb710e.bundle.js","sourcesContent":["angular.module('graphdb.framework.core.directives.paginations', [])\n .directive('paginations', function () {\n return {\n template: '<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\"></pagination>',\n };\n });\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///./src/js/angular/core/directives/paginations.js"],"names":["angular","module","directive","template"],"mappings":"2EAAAA,QAAQC,OAAO,gDAAiD,IAC3DC,UAAU,eAAe,WACtB,MAAO,CACHC,SAAU","file":"50.6e68d9b649f03d5744b9.bundle.js","sourcesContent":["angular.module('graphdb.framework.core.directives.paginations', [])\n .directive('paginations', function () {\n return {\n template: '<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\"></pagination>',\n };\n });\n"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[50],{43:function(e,t,n){"use strict";n.r(t);n(5),n(17);var r=n(0);function i(e,t,n,i,o,a,s,u,c,d,l,g,y,f,p){const m={id:"1",name:"",query:"select * where { \n\t?s ?p ?o .\n} limit 100 \n",inference:!0,sameAs:!0};let h,T;function w(t){!function(){if(i.isActiveRepoOntopType())return;const t=document.getElementById("sameAs");!t||e.currentQuery.inference||t.disabled?e.currentQuery.inference&&t.disabled&&(t.removeAttribute("disabled"),e.currentQuery.sameAs=h.appSettings.DEFAULT_SAMEAS):(t.disabled=!0,e.currentQuery.sameAs=!1)}(),e.tabs.forEach((function(n,r){n.id===t.id&&(e.tabs[r].query=t.query,i.isActiveRepoOntopType()||(e.tabs[r].inference=t.inference,e.tabs[r].sameAs=t.sameAs))})),y.set(f.TABS_STATE,e.tabs)}function b(t,n,r,i){const o=angular.element(document.getElementById("yasr-inner"));e.queryIsRunning=t,t?(e.queryStartTime=Date.now(),e.countTimeouted=!1,e.progressMessage=n,e.extraMessage=r,e.noLoaderTimer=i,o.addClass("hide")):(e.progressMessage="",e.extraMessage="",e.noLoaderTimer=!1,e.currentTrackAlias=null,e.abortRequested=!1,o.removeClass("hide")),null===e.$$phase&&e.$apply()}function C(n){function r(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0}if(e.orientationViewMode){if("yasr"===e.viewMode){let e=r()-document.querySelector(".CodeMirror-wrap").getBoundingClientRect().top;e-=40,document.querySelector(".CodeMirror-wrap").style.height=e+"px"}else e.noPadding={},document.querySelector(".CodeMirror-wrap").style.height="";document.getElementById("yasr").style.minHeight=""}else if(e.noPadding={paddingRight:15,paddingLeft:0},window.editor&&document.querySelector(".CodeMirror-wrap")){let e=r()-document.querySelector(".CodeMirror-wrap").getBoundingClientRect().top;e-=40,document.querySelector(".CodeMirror-wrap").style.height=e+"px",document.getElementById("yasr").style.minHeight=e+"px"}else{let r;r=t(n?function(){e.fixSizesOnHorizontalViewModeSwitch(n)}:e.fixSizesOnHorizontalViewModeSwitch,100),e.$on("$destroy",(function(){t.cancel(r)}))}window.yasr&&window.yasr.container&&t((function(){window.yasr.container.resize()}),100)}function S(){C(!0)}function q(t,n){n.newRepo&&(e.tabsData=y.get(f.TABS_STATE),e.tabsData.forEach((function(e){e.yasrData=void 0,e.queryType=void 0,e.resultsCount=0,e.allResultsCount=0,e.sizeDelta=void 0})),y.set(f.TABS_STATE,e.tabsData),e.tabs=e.tabsData,e.currentQuery={},e.errorMessage=null,e.repositoryError=null)}function E(e){t((function(){$('a[data-id = "'+e+'"]').tab("show")}),0)}function v(r,o){if(e.executedQueryTab=e.currentQuery,o){if("SELECT"!==window.editor.getQueryType()&&"CONSTRUCT"!==window.editor.getQueryType())return void n.warning(p.instant("query.editor.warning.msg"));if(i.isActiveRepoOntopType())return void n.warning(p.instant("query.editor.virtual.repo.warning.msg"))}if(e.explainRequested=o,!e.queryIsRunning){if(r?e.currentTabConfig.resultsCount=0:e.resetCurrentTabConfig(),e.lastRunQueryMode=window.editor.getQueryMode(),"update"===e.lastRunQueryMode&&i.isActiveRepoOntopType())return void n.warning(p.instant("query.editor.virtual.repo.update.warning.msg"));if(b(!0,"update"===e.lastRunQueryMode?p.instant("query.editor.executing.update"):p.instant("query.editor.evaluating.query")),"none"!==e.viewMode){e.viewMode="none",e.orientationViewMode&&e.fixSizesOnHorizontalViewModeSwitch();const n=t(window.editor.query,500);e.$on("$destroy",(function(){t.cancel(n)}))}else window.editor.query()}}function Q(){e.showSampleQueries=!e.showSampleQueries,e.showSampleQueries?s.getSavedQueries().success((function(t){e.sampleQueries=t,$("#sampleQueriesCollapse").collapse("show").width("300px")})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.get.saved.queries.error"))})):$("#sampleQueriesCollapse").collapse("hide")}function M(t){let n=void 0;return e.tabsData.forEach((function(e){if(e.name===t.name&&e.query===t.body)return n=e.id,e})),n}function A(t){return function(n,r,i){e.savedQuery={name:n,query:r||window.editor.getValue(),shared:i},$(t).modal("show")}}function D(t){for(let n=0;n<e.tabsData.length;n++){if(e.tabsData[n].id===t)return n}}e.getPrincipal=function(){return d.getPrincipal().then(t=>{h=t,function(e,t){m.inference=t.appSettings.DEFAULT_INFERENCE,m.sameAs=t.appSettings.DEFAULT_SAMEAS,e.skipCountQuery=!t.appSettings.EXECUTE_COUNT,e.ignoreSharedQueries=t.appSettings.IGNORE_SHARED_QUERIES,e.tabsData=e.tabs=y.get(f.TABS_STATE)||[m],e.$watchCollection("[currentQuery.inference, currentQuery.sameAs]",(function(e,t,n){w(n.currentQuery)})),e.$on("repositoryIsSet",q)}(e,h)})},e.getPrincipal(),this.hint=document.createElement("span"),this.hint.innerHTML=p.instant("query.editor.autocomplete.hint"),this.hint.style.fontSize="12px",this.hint.style.color="gray",this.hint.style.backgroundColor="white",this.hint.style.position="absolute",this.hint.style.zIndex="3",this.hint.style.paddingLeft="12px",e.$watch((function(){return angular.element(".CodeMirror-hints").length}),e=>{if(e){const e=angular.element(".CodeMirror-hints")[0].getBoundingClientRect();document.body.appendChild(this.hint),this.hint.style.top=e.top-20+"px",this.hint.style.left=e.right-this.hint.offsetWidth-12+"px"}else this.hint&&this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint)}),e.resetCurrentTabConfig=function(){e.currentTabConfig={pageSize:1e3,page:1,allResultsCount:0,resultsCount:0}},e.queryExists=!1,e.resetCurrentTabConfig(),e.saveTab=function(t){const n=D(t);if(void 0===n)return{};const r=e.tabsData[n];return e.saveQueryToLocal(r),r},e.loadTab=function(n){e.tabsData=y.get(f.TABS_STATE)||[m];const r=D(n),o=e.tabsData[r];o.yasrData&&b(!0,p.instant("query.editor.render.results.msg"),null,!0);t((function(){""===e.currentQuery.query&&(e.currentQuery.query=" "),t((function(){window.editor.setValue(e.currentQuery.query),e.yasr.updateDownloadDropdown(),e.$broadcast("tabLoaded",e.currentQuery.id),e.yasr.options.output=o.outputType,o.yasrData&&(o.yasrData.customError?(e.yasr.results={getException:function(){return o.yasrData.customError}},b(!1)):t((function(){e.setYasrResponse(o.yasrData,o.textStatus,o.jqXhrOrErrorString),b(!1),$(".yasr_btnGroup li:nth-child(2)").hasClass("active")&&t((function(){$(".yasr_btnGroup li:nth-child(2) a").get(0).click()}),0)}),0))}),0)}),0),y.set(f.TABS_STATE_CURRENT_ID,n),e.currentQuery=o,t((function(){e.currentTabConfig={},e.currentTabConfig.queryType=o.queryType,e.currentTabConfig.resultsCount=o.resultsCount,e.currentTabConfig.offset=o.offset,e.currentTabConfig.allResultsCount=o.allResultsCount,e.currentTabConfig.allResultsCountExact=o.allResultsCountExact,e.currentTabConfig.page=o.page,e.currentTabConfig.pageSize=o.pageSize,e.currentTabConfig.timeFinished=o.timeFinished,e.currentTabConfig.timeTook=o.timeTook,e.currentTabConfig.sizeDelta=o.sizeDelta,e.currentTabConfig.customUpdateMessage=o.customUpdateMessage,e.currentTabConfig.errorMessage=o.errorMessage,e.currentTabConfig.warningMessage=o.warningMessage,e.$apply()}),0),$("#yasr").css("padding","0"),T||(T=setInterval(_,200));!function(){const t=i.isActiveRepoOntopType(),n=i.isActiveRepoFedXType();(function(e){const t=document.getElementById("sameAs"),n=document.getElementById("inference");t&&(t.disabled=!!e);n&&(n.disabled=!!e)})(t),e.nocount=!(!t&&!n)||!h.appSettings.EXECUTE_COUNT,t&&(e.currentQuery.inference=!0,e.currentQuery.sameAs=!0)}()},e.addNewTab=function(n,r,i){if(!z(!0))return;let o;o=r||i?{id:"1",name:r,query:i,inference:h.appSettings.DEFAULT_INFERENCE,sameAs:h.appSettings.DEFAULT_SAMEAS}:{id:"1",name:"",query:"select * where { \n\t?s ?p ?o .\n} limit 100 \n",inference:h.appSettings.DEFAULT_INFERENCE,sameAs:h.appSettings.DEFAULT_SAMEAS};R++;const a=""+R;e.tabsData=e.tabs;const s=o;s.id=a,e.tabsData.push(s),y.set(f.TABS_STATE_MAXID,R),y.set(f.TABS_STATE,e.tabsData);const u=Array.prototype.slice.call(arguments,1);t((function(){e.$apply(),E(a),n&&n.apply(this,u)}),0),e.tabs=e.tabsData},e.isTabChangeOk=z,e.runQuery=v,e.abortCurrentQuery=function(){g.abortQueryByAlias(e.currentTrackAlias).success((function(){e.abortRequested=!0}))},e.editQuery=function(t){o.open({templateUrl:"js/angular/core/directives/queryeditor/templates/query-sample.html",controller:"QuerySampleModalCtrl",resolve:{data:function(){return{title:p.instant("query.editor.edit.saved.query",{name:t.name}),query:t,edit:!0,okButtonText:p.instant("common.save.btn")}}}}).result.then((function(r){const i={name:r.name,body:r.body,shared:r.shared};t.name!==r.name?s.addNewSavedQuery(i).success((function(){e.deleteQueryHttp(t.name,!0)})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.edit.saved.query.error"))})):s.editSavedQuery(i).success((function(){$("#editQueryContainer").modal("hide"),e.toggleSampleQueries(),n.success(p.instant("query.editor.edit.saved.query.success.msg",{name:t.name}))})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.edit.saved.query.error"))}))}))},e.getNamespaces=function(){b(!0,p.instant("common.refreshing.namespaces"),p.instant("common.extra.message")),e.namespacesLoading=!0,l.getRepositoryNamespaces().success((function(t){const n={};t.results.bindings.forEach((function(e){n[e.prefix.value]=e.namespace.value})),e.namespaces=n})).error((function(t){e.repositoryError=getError(t)})).finally((function(){b(!1),e.namespacesLoading=!1}))},e.changePagination=function(){v(!0,e.explainRequested)},e.toggleSampleQueries=Q,e.addKnownPrefixes=function(){s.addKnownPrefixes(JSON.stringify(window.editor.getValue())).success((function(e){angular.isDefined(window.editor)&&angular.isDefined(e)&&e!==window.editor.getValue()&&window.editor.setValue(e)})).error((function(e){const t=getError(e);return n.error(t,p.instant("common.add.known.prefixes.error")),!0}))},e.getExistingTabId=M,e.querySelected=function(t){const n=M(t);e.toggleSampleQueries(),e.isTabChangeOk(!1)&&(e.highlightNextTabChange=!0,angular.isDefined(n)?E(n):e.addNewTab(null,t.name,t.body))},e.deleteQuery=function(t){a.openSimpleModal({title:p.instant("common.confirm"),message:p.instant("query.editor.delete.saved.query.warning.msg",{savedQueryName:t}),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.deleteQueryHttp=function(t,r){s.deleteSavedQuery(t).success((function(){e.toggleSampleQueries(),r||n.success(p.instant("query.editor.delete.saved.query.success.msg",{savedQueryName:t}))})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.delete.saved.query.error"))}))},e.saveQuery=function(t,n){o.open({templateUrl:"js/angular/core/directives/queryeditor/templates/query-sample.html",controller:"QuerySampleModalCtrl",resolve:{data:function(){return{title:p.instant("query.editor.create.saved.query.msg"),query:{name:t.name,body:t.query,shared:t.shared},edit:!1,okButtonText:p.instant("common.create.btn"),queryExists:n,existingQueryErrMsg:Object(r.decodeHTML)(p.instant("query.sample.existing.query.warning",{name:t.name}))}}}}).result.then((function(t){e.saveQueryHttp(t)}),(function(){}))},e.saveQueryHttp=function(t){s.addNewSavedQuery(t).success((function(){n.success(p.instant("query.editor.save.saved.query.success.msg",{name:t.name}))})).error((function(r,i){const o=getError(r);n.error(o,p.instant("query.editor.create.saved.query.error"));let a=!1;409===i&&(a=!0),t.query=t.body,e.saveQuery(t,a)}))},e.saveQueryToLocal=w,e.setLoader=b,e.getLoaderMessage=function(){const t=(Date.now()-e.queryStartTime)/1e3;let n="",r="";e.noLoaderTimer||(n=e.getHumanReadableSeconds(t));r=e.progressMessage?p.instant("query.editor.progress.msg",{progressMessage:e.progressMessage,timeHuman:n}):p.instant("common.running.operation",{timeHuman:n});e.extraMessage&&t>10&&(r+=p.instant("query.editor.extra.msg",{extraMessage:e.extraMessage}));return r},e.fixSizesOnHorizontalViewModeSwitch=C,e.changeViewMode=function(){e.viewMode="none",e.orientationViewMode=!e.orientationViewMode,y.set(f.VIEW_MODE,e.orientationViewMode),C()},e.showHideEditor=S,e.focusQueryEditor=function(){angular.element(document).find(".editable-input").is(":focus")||angular.element(document).find(".CodeMirror textarea:first-child").focus()},e.orientationViewMode=!y.get(f.VIEW_MODE)||"true"===y.get(f.VIEW_MODE),e.viewMode="none",e.getActiveRepository=function(){return i.getActiveRepository()},e.getActiveRepositoryNoError=function(){if(!e.repositoryError)return i.getActiveRepository()},e.orientationViewMode||S(),window.onbeforeunload=function(){e.currentQuery&&e.saveTab(e.currentQuery.id),y.set(f.TABS_STATE,e.tabs)},e.$on("$destroy",(function(){e.currentQuery&&e.saveTab(e.currentQuery.id),y.set(f.TABS_STATE,e.tabs),clearInterval(T)})),e.$on("$destroy",(function(){clearInterval(T),window.editor=null,window.yasr=null})),$(document).mouseup((function(t){const n=$("#sampleQueriesCollapse");!n.is(t.target)&&0===n.has(t.target).length&&e.showSampleQueries&&Q()}));let R=y.get(f.TABS_STATE_MAXID)||1;function x(e){return $(e).attr("data-id")}function _(){if(e.currentTabConfig.resultsCount>=0){const e=$(".saveAsDropDown");e.length>0&&!window.editor.queryValid?yasr.header.find(".saveAsDropDown").remove():0===e.length&&window.editor.queryValid&&yasr.updateDownloadDropdown()}}function z(t){return!(e.queryIsRunning&&!e.namespacesLoading)||(t?n.info(p.instant("query.editor.new.tab.running.query.warning.msg")):n.info(p.instant("query.editor.tab.switching.running.query.warning.msg")),!1)}e.highlightNextTabChange=!1,e.$on("tabAction",(function(n,r){r.relatedTarget&&(t.cancel(r.relatedTarget.timer),$(r.relatedTarget).css("color",""),e.saveTab(x(r.relatedTarget))),e.loadTab(x(r.target));const i=["var(--onto-orange)","","var(--onto-orange)"],o=[400,400,400];if(e.highlightNextTabChange){e.highlightNextTabChange=!1;let n=0;$(r.target).css("color",i[n]);const a=function(){n++,n<i.length?($(r.target).css("color",i[n]),r.target.timer=t(a,o[n])):$(r.target).css("color","")};t(a,o[n])}})),e.$on("deleteAllexeptSelected",(function(t,n){e.tabsData=n,e.tabs=n})),e.currentQuery={},e.showSampleQueries=!1,e.savedQuery={},e.sampleQueries={},e.editQueryModal=A("#editQueryContainer"),e.deleteQueryModal=A("#confirmDeleteContainer"),e.saveQueryModal=A("#saveQueryContainer"),e.getResultsDescription=function(){let t;if(0===e.currentTabConfig.resultsCount)t="No results.";else{const n=(e.currentTabConfig.page-1)*e.currentTabConfig.pageSize+Math.min(e.currentTabConfig.resultsCount,e.currentTabConfig.pageSize);t=p.instant("query.editor.showing.results.from.msg")+u("currency")(e.currentTabConfig.offset,"",0)+p.instant("query.editor.to")+u("currency")(n,"",0),e.currentTabConfig.allResultsCount>0&&(t+=p.instant(e.currentTabConfig.allResultsCountExact?"query.editor.of":"query.editor.of.at.least"),t+=u("currency")(e.currentTabConfig.allResultsCount,"",0)),t+="."}return t},e.getUpdateDescription=function(){return e.currentTabConfig.customUpdateMessage?p.instant(e.currentTabConfig.customUpdateMessage.msg,{name:e.currentTabConfig.customUpdateMessage.name}):void 0===e.currentTabConfig.sizeDelta?"":e.currentTabConfig.sizeDelta<0?p.instant("yasr.removed.statements.result.msg",{sizeDelta:Math.abs(e.currentTabConfig.sizeDelta)}):e.currentTabConfig.sizeDelta>0?p.instant("yasr.added.statements.result.msg",{sizeDelta:e.currentTabConfig.sizeDelta}):p.instant("yasr.statements.no.change.msg")},e.getStaleWarningMessage=function(){const t=60*Math.round((Date.now()-e.currentTabConfig.timeFinished)/6e4);if(t>=3600)return p.instant("yasr.stale.result.msg",{secondsAgo:e.getHumanReadableSeconds(t)})};const N=function(){};angular.element(c).bind("resize",N),e.$on("$destroy",(function(){angular.element(c).unbind("resize",N)}))}function o(e,t,n,r){n.queryExists&&(e.queryExists=!0),e.query=angular.copy(n.query),e.title=n.title,e.edit=n.edit,e.okButtonText=n.okButtonText,e.existingQueryErrMsg=r.trustAsHtml(n.existingQueryErrMsg),e.ok=function(){e.form.$valid&&t.close(e.query)},e.cancel=function(){t.dismiss("cancel")}}angular.module("graphdb.framework.core.directives.queryeditor.controllers",["graphdb.framework.utils.localstorageadapter","graphdb.framework.rest.sparql.service"]).controller("QueryEditorCtrl",i).controller("QuerySampleModalCtrl",o),i.$inject=["$scope","$timeout","toastr","$repositories","$modal","ModalService","SparqlRestService","$filter","$window","$jwtAuth","RDF4JRepositoriesRestService","MonitoringRestService","LocalStorageAdapter","LSKeys","$translate"],o.$inject=["$scope","$modalInstance","data","$sce"]}}]);
2
- //# sourceMappingURL=50.f43de5b83f3fe0f1d4bd.bundle.js.map
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[51],{43:function(e,t,n){"use strict";n.r(t);n(5),n(17);var r=n(0);function i(e,t,n,i,o,a,s,u,c,d,l,g,y,f,p){const m={id:"1",name:"",query:"select * where { \n\t?s ?p ?o .\n} limit 100 \n",inference:!0,sameAs:!0};let h,T;function w(t){!function(){if(i.isActiveRepoOntopType())return;const t=document.getElementById("sameAs");!t||e.currentQuery.inference||t.disabled?e.currentQuery.inference&&t.disabled&&(t.removeAttribute("disabled"),e.currentQuery.sameAs=h.appSettings.DEFAULT_SAMEAS):(t.disabled=!0,e.currentQuery.sameAs=!1)}(),e.tabs.forEach((function(n,r){n.id===t.id&&(e.tabs[r].query=t.query,i.isActiveRepoOntopType()||(e.tabs[r].inference=t.inference,e.tabs[r].sameAs=t.sameAs))})),y.set(f.TABS_STATE,e.tabs)}function b(t,n,r,i){const o=angular.element(document.getElementById("yasr-inner"));e.queryIsRunning=t,t?(e.queryStartTime=Date.now(),e.countTimeouted=!1,e.progressMessage=n,e.extraMessage=r,e.noLoaderTimer=i,o.addClass("hide")):(e.progressMessage="",e.extraMessage="",e.noLoaderTimer=!1,e.currentTrackAlias=null,e.abortRequested=!1,o.removeClass("hide")),null===e.$$phase&&e.$apply()}function C(n){function r(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0}if(e.orientationViewMode){if("yasr"===e.viewMode){let e=r()-document.querySelector(".CodeMirror-wrap").getBoundingClientRect().top;e-=40,document.querySelector(".CodeMirror-wrap").style.height=e+"px"}else e.noPadding={},document.querySelector(".CodeMirror-wrap").style.height="";document.getElementById("yasr").style.minHeight=""}else if(e.noPadding={paddingRight:15,paddingLeft:0},window.editor&&document.querySelector(".CodeMirror-wrap")){let e=r()-document.querySelector(".CodeMirror-wrap").getBoundingClientRect().top;e-=40,document.querySelector(".CodeMirror-wrap").style.height=e+"px",document.getElementById("yasr").style.minHeight=e+"px"}else{let r;r=t(n?function(){e.fixSizesOnHorizontalViewModeSwitch(n)}:e.fixSizesOnHorizontalViewModeSwitch,100),e.$on("$destroy",(function(){t.cancel(r)}))}window.yasr&&window.yasr.container&&t((function(){window.yasr.container.resize()}),100)}function S(){C(!0)}function q(t,n){n.newRepo&&(e.tabsData=y.get(f.TABS_STATE),e.tabsData.forEach((function(e){e.yasrData=void 0,e.queryType=void 0,e.resultsCount=0,e.allResultsCount=0,e.sizeDelta=void 0})),y.set(f.TABS_STATE,e.tabsData),e.tabs=e.tabsData,e.currentQuery={},e.errorMessage=null,e.repositoryError=null)}function E(e){t((function(){$('a[data-id = "'+e+'"]').tab("show")}),0)}function v(r,o){if(e.executedQueryTab=e.currentQuery,o){if("SELECT"!==window.editor.getQueryType()&&"CONSTRUCT"!==window.editor.getQueryType())return void n.warning(p.instant("query.editor.warning.msg"));if(i.isActiveRepoOntopType())return void n.warning(p.instant("query.editor.virtual.repo.warning.msg"))}if(e.explainRequested=o,!e.queryIsRunning){if(r?e.currentTabConfig.resultsCount=0:e.resetCurrentTabConfig(),e.lastRunQueryMode=window.editor.getQueryMode(),"update"===e.lastRunQueryMode&&i.isActiveRepoOntopType())return void n.warning(p.instant("query.editor.virtual.repo.update.warning.msg"));if(b(!0,"update"===e.lastRunQueryMode?p.instant("query.editor.executing.update"):p.instant("query.editor.evaluating.query")),"none"!==e.viewMode){e.viewMode="none",e.orientationViewMode&&e.fixSizesOnHorizontalViewModeSwitch();const n=t(window.editor.query,500);e.$on("$destroy",(function(){t.cancel(n)}))}else window.editor.query()}}function Q(){e.showSampleQueries=!e.showSampleQueries,e.showSampleQueries?s.getSavedQueries().success((function(t){e.sampleQueries=t,$("#sampleQueriesCollapse").collapse("show").width("300px")})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.get.saved.queries.error"))})):$("#sampleQueriesCollapse").collapse("hide")}function M(t){let n=void 0;return e.tabsData.forEach((function(e){if(e.name===t.name&&e.query===t.body)return n=e.id,e})),n}function A(t){return function(n,r,i){e.savedQuery={name:n,query:r||window.editor.getValue(),shared:i},$(t).modal("show")}}function D(t){for(let n=0;n<e.tabsData.length;n++){if(e.tabsData[n].id===t)return n}}e.getPrincipal=function(){return d.getPrincipal().then(t=>{h=t,function(e,t){m.inference=t.appSettings.DEFAULT_INFERENCE,m.sameAs=t.appSettings.DEFAULT_SAMEAS,e.skipCountQuery=!t.appSettings.EXECUTE_COUNT,e.ignoreSharedQueries=t.appSettings.IGNORE_SHARED_QUERIES,e.tabsData=e.tabs=y.get(f.TABS_STATE)||[m],e.$watchCollection("[currentQuery.inference, currentQuery.sameAs]",(function(e,t,n){w(n.currentQuery)})),e.$on("repositoryIsSet",q)}(e,h)})},e.getPrincipal(),this.hint=document.createElement("span"),this.hint.innerHTML=p.instant("query.editor.autocomplete.hint"),this.hint.style.fontSize="12px",this.hint.style.color="gray",this.hint.style.backgroundColor="white",this.hint.style.position="absolute",this.hint.style.zIndex="3",this.hint.style.paddingLeft="12px",e.$watch((function(){return angular.element(".CodeMirror-hints").length}),e=>{if(e){const e=angular.element(".CodeMirror-hints")[0].getBoundingClientRect();document.body.appendChild(this.hint),this.hint.style.top=e.top-20+"px",this.hint.style.left=e.right-this.hint.offsetWidth-12+"px"}else this.hint&&this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint)}),e.resetCurrentTabConfig=function(){e.currentTabConfig={pageSize:1e3,page:1,allResultsCount:0,resultsCount:0}},e.queryExists=!1,e.resetCurrentTabConfig(),e.saveTab=function(t){const n=D(t);if(void 0===n)return{};const r=e.tabsData[n];return e.saveQueryToLocal(r),r},e.loadTab=function(n){e.tabsData=y.get(f.TABS_STATE)||[m];const r=D(n),o=e.tabsData[r];o.yasrData&&b(!0,p.instant("query.editor.render.results.msg"),null,!0);t((function(){""===e.currentQuery.query&&(e.currentQuery.query=" "),t((function(){window.editor.setValue(e.currentQuery.query),e.yasr.updateDownloadDropdown(),e.$broadcast("tabLoaded",e.currentQuery.id),e.yasr.options.output=o.outputType,o.yasrData&&(o.yasrData.customError?(e.yasr.results={getException:function(){return o.yasrData.customError}},b(!1)):t((function(){e.setYasrResponse(o.yasrData,o.textStatus,o.jqXhrOrErrorString),b(!1),$(".yasr_btnGroup li:nth-child(2)").hasClass("active")&&t((function(){$(".yasr_btnGroup li:nth-child(2) a").get(0).click()}),0)}),0))}),0)}),0),y.set(f.TABS_STATE_CURRENT_ID,n),e.currentQuery=o,t((function(){e.currentTabConfig={},e.currentTabConfig.queryType=o.queryType,e.currentTabConfig.resultsCount=o.resultsCount,e.currentTabConfig.offset=o.offset,e.currentTabConfig.allResultsCount=o.allResultsCount,e.currentTabConfig.allResultsCountExact=o.allResultsCountExact,e.currentTabConfig.page=o.page,e.currentTabConfig.pageSize=o.pageSize,e.currentTabConfig.timeFinished=o.timeFinished,e.currentTabConfig.timeTook=o.timeTook,e.currentTabConfig.sizeDelta=o.sizeDelta,e.currentTabConfig.customUpdateMessage=o.customUpdateMessage,e.currentTabConfig.errorMessage=o.errorMessage,e.currentTabConfig.warningMessage=o.warningMessage,e.$apply()}),0),$("#yasr").css("padding","0"),T||(T=setInterval(_,200));!function(){const t=i.isActiveRepoOntopType(),n=i.isActiveRepoFedXType();(function(e){const t=document.getElementById("sameAs"),n=document.getElementById("inference");t&&(t.disabled=!!e);n&&(n.disabled=!!e)})(t),e.nocount=!(!t&&!n)||!h.appSettings.EXECUTE_COUNT,t&&(e.currentQuery.inference=!0,e.currentQuery.sameAs=!0)}()},e.addNewTab=function(n,r,i){if(!z(!0))return;let o;o=r||i?{id:"1",name:r,query:i,inference:h.appSettings.DEFAULT_INFERENCE,sameAs:h.appSettings.DEFAULT_SAMEAS}:{id:"1",name:"",query:"select * where { \n\t?s ?p ?o .\n} limit 100 \n",inference:h.appSettings.DEFAULT_INFERENCE,sameAs:h.appSettings.DEFAULT_SAMEAS};R++;const a=""+R;e.tabsData=e.tabs;const s=o;s.id=a,e.tabsData.push(s),y.set(f.TABS_STATE_MAXID,R),y.set(f.TABS_STATE,e.tabsData);const u=Array.prototype.slice.call(arguments,1);t((function(){e.$apply(),E(a),n&&n.apply(this,u)}),0),e.tabs=e.tabsData},e.isTabChangeOk=z,e.runQuery=v,e.abortCurrentQuery=function(){g.abortQueryByAlias(e.currentTrackAlias).success((function(){e.abortRequested=!0}))},e.editQuery=function(t){o.open({templateUrl:"js/angular/core/directives/queryeditor/templates/query-sample.html",controller:"QuerySampleModalCtrl",resolve:{data:function(){return{title:p.instant("query.editor.edit.saved.query",{name:t.name}),query:t,edit:!0,okButtonText:p.instant("common.save.btn")}}}}).result.then((function(r){const i={name:r.name,body:r.body,shared:r.shared};t.name!==r.name?s.addNewSavedQuery(i).success((function(){e.deleteQueryHttp(t.name,!0)})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.edit.saved.query.error"))})):s.editSavedQuery(i).success((function(){$("#editQueryContainer").modal("hide"),e.toggleSampleQueries(),n.success(p.instant("query.editor.edit.saved.query.success.msg",{name:t.name}))})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.edit.saved.query.error"))}))}))},e.getNamespaces=function(){b(!0,p.instant("common.refreshing.namespaces"),p.instant("common.extra.message")),e.namespacesLoading=!0,l.getRepositoryNamespaces().success((function(t){const n={};t.results.bindings.forEach((function(e){n[e.prefix.value]=e.namespace.value})),e.namespaces=n})).error((function(t){e.repositoryError=getError(t)})).finally((function(){b(!1),e.namespacesLoading=!1}))},e.changePagination=function(){v(!0,e.explainRequested)},e.toggleSampleQueries=Q,e.addKnownPrefixes=function(){s.addKnownPrefixes(JSON.stringify(window.editor.getValue())).success((function(e){angular.isDefined(window.editor)&&angular.isDefined(e)&&e!==window.editor.getValue()&&window.editor.setValue(e)})).error((function(e){const t=getError(e);return n.error(t,p.instant("common.add.known.prefixes.error")),!0}))},e.getExistingTabId=M,e.querySelected=function(t){const n=M(t);e.toggleSampleQueries(),e.isTabChangeOk(!1)&&(e.highlightNextTabChange=!0,angular.isDefined(n)?E(n):e.addNewTab(null,t.name,t.body))},e.deleteQuery=function(t){a.openSimpleModal({title:p.instant("common.confirm"),message:p.instant("query.editor.delete.saved.query.warning.msg",{savedQueryName:t}),warning:!0}).result.then((function(){e.deleteQueryHttp(t)}))},e.deleteQueryHttp=function(t,r){s.deleteSavedQuery(t).success((function(){e.toggleSampleQueries(),r||n.success(p.instant("query.editor.delete.saved.query.success.msg",{savedQueryName:t}))})).error((function(e){const t=getError(e);n.error(t,p.instant("query.editor.delete.saved.query.error"))}))},e.saveQuery=function(t,n){o.open({templateUrl:"js/angular/core/directives/queryeditor/templates/query-sample.html",controller:"QuerySampleModalCtrl",resolve:{data:function(){return{title:p.instant("query.editor.create.saved.query.msg"),query:{name:t.name,body:t.query,shared:t.shared},edit:!1,okButtonText:p.instant("common.create.btn"),queryExists:n,existingQueryErrMsg:Object(r.decodeHTML)(p.instant("query.sample.existing.query.warning",{name:t.name}))}}}}).result.then((function(t){e.saveQueryHttp(t)}),(function(){}))},e.saveQueryHttp=function(t){s.addNewSavedQuery(t).success((function(){n.success(p.instant("query.editor.save.saved.query.success.msg",{name:t.name}))})).error((function(r,i){const o=getError(r);n.error(o,p.instant("query.editor.create.saved.query.error"));let a=!1;409===i&&(a=!0),t.query=t.body,e.saveQuery(t,a)}))},e.saveQueryToLocal=w,e.setLoader=b,e.getLoaderMessage=function(){const t=(Date.now()-e.queryStartTime)/1e3;let n="",r="";e.noLoaderTimer||(n=e.getHumanReadableSeconds(t));r=e.progressMessage?p.instant("query.editor.progress.msg",{progressMessage:e.progressMessage,timeHuman:n}):p.instant("common.running.operation",{timeHuman:n});e.extraMessage&&t>10&&(r+=p.instant("query.editor.extra.msg",{extraMessage:e.extraMessage}));return r},e.fixSizesOnHorizontalViewModeSwitch=C,e.changeViewMode=function(){e.viewMode="none",e.orientationViewMode=!e.orientationViewMode,y.set(f.VIEW_MODE,e.orientationViewMode),C()},e.showHideEditor=S,e.focusQueryEditor=function(){angular.element(document).find(".editable-input").is(":focus")||angular.element(document).find(".CodeMirror textarea:first-child").focus()},e.orientationViewMode=!y.get(f.VIEW_MODE)||"true"===y.get(f.VIEW_MODE),e.viewMode="none",e.getActiveRepository=function(){return i.getActiveRepository()},e.getActiveRepositoryNoError=function(){if(!e.repositoryError)return i.getActiveRepository()},e.orientationViewMode||S(),window.onbeforeunload=function(){e.currentQuery&&e.saveTab(e.currentQuery.id),y.set(f.TABS_STATE,e.tabs)},e.$on("$destroy",(function(){e.currentQuery&&e.saveTab(e.currentQuery.id),y.set(f.TABS_STATE,e.tabs),clearInterval(T)})),e.$on("$destroy",(function(){clearInterval(T),window.editor=null,window.yasr=null})),$(document).mouseup((function(t){const n=$("#sampleQueriesCollapse");!n.is(t.target)&&0===n.has(t.target).length&&e.showSampleQueries&&Q()}));let R=y.get(f.TABS_STATE_MAXID)||1;function x(e){return $(e).attr("data-id")}function _(){if(e.currentTabConfig.resultsCount>=0){const e=$(".saveAsDropDown");e.length>0&&!window.editor.queryValid?yasr.header.find(".saveAsDropDown").remove():0===e.length&&window.editor.queryValid&&yasr.updateDownloadDropdown()}}function z(t){return!(e.queryIsRunning&&!e.namespacesLoading)||(t?n.info(p.instant("query.editor.new.tab.running.query.warning.msg")):n.info(p.instant("query.editor.tab.switching.running.query.warning.msg")),!1)}e.highlightNextTabChange=!1,e.$on("tabAction",(function(n,r){r.relatedTarget&&(t.cancel(r.relatedTarget.timer),$(r.relatedTarget).css("color",""),e.saveTab(x(r.relatedTarget))),e.loadTab(x(r.target));const i=["var(--onto-orange)","","var(--onto-orange)"],o=[400,400,400];if(e.highlightNextTabChange){e.highlightNextTabChange=!1;let n=0;$(r.target).css("color",i[n]);const a=function(){n++,n<i.length?($(r.target).css("color",i[n]),r.target.timer=t(a,o[n])):$(r.target).css("color","")};t(a,o[n])}})),e.$on("deleteAllexeptSelected",(function(t,n){e.tabsData=n,e.tabs=n})),e.currentQuery={},e.showSampleQueries=!1,e.savedQuery={},e.sampleQueries={},e.editQueryModal=A("#editQueryContainer"),e.deleteQueryModal=A("#confirmDeleteContainer"),e.saveQueryModal=A("#saveQueryContainer"),e.getResultsDescription=function(){let t;if(0===e.currentTabConfig.resultsCount)t="No results.";else{const n=(e.currentTabConfig.page-1)*e.currentTabConfig.pageSize+Math.min(e.currentTabConfig.resultsCount,e.currentTabConfig.pageSize);t=p.instant("query.editor.showing.results.from.msg")+u("currency")(e.currentTabConfig.offset,"",0)+p.instant("query.editor.to")+u("currency")(n,"",0),e.currentTabConfig.allResultsCount>0&&(t+=p.instant(e.currentTabConfig.allResultsCountExact?"query.editor.of":"query.editor.of.at.least"),t+=u("currency")(e.currentTabConfig.allResultsCount,"",0)),t+="."}return t},e.getUpdateDescription=function(){return e.currentTabConfig.customUpdateMessage?p.instant(e.currentTabConfig.customUpdateMessage.msg,{name:e.currentTabConfig.customUpdateMessage.name}):void 0===e.currentTabConfig.sizeDelta?"":e.currentTabConfig.sizeDelta<0?p.instant("yasr.removed.statements.result.msg",{sizeDelta:Math.abs(e.currentTabConfig.sizeDelta)}):e.currentTabConfig.sizeDelta>0?p.instant("yasr.added.statements.result.msg",{sizeDelta:e.currentTabConfig.sizeDelta}):p.instant("yasr.statements.no.change.msg")},e.getStaleWarningMessage=function(){const t=60*Math.round((Date.now()-e.currentTabConfig.timeFinished)/6e4);if(t>=3600)return p.instant("yasr.stale.result.msg",{secondsAgo:e.getHumanReadableSeconds(t)})};const N=function(){};angular.element(c).bind("resize",N),e.$on("$destroy",(function(){angular.element(c).unbind("resize",N)}))}function o(e,t,n,r){n.queryExists&&(e.queryExists=!0),e.query=angular.copy(n.query),e.title=n.title,e.edit=n.edit,e.okButtonText=n.okButtonText,e.existingQueryErrMsg=r.trustAsHtml(n.existingQueryErrMsg),e.ok=function(){e.form.$valid&&t.close(e.query)},e.cancel=function(){t.dismiss("cancel")}}angular.module("graphdb.framework.core.directives.queryeditor.controllers",["graphdb.framework.utils.localstorageadapter","graphdb.framework.rest.sparql.service"]).controller("QueryEditorCtrl",i).controller("QuerySampleModalCtrl",o),i.$inject=["$scope","$timeout","toastr","$repositories","$modal","ModalService","SparqlRestService","$filter","$window","$jwtAuth","RDF4JRepositoriesRestService","MonitoringRestService","LocalStorageAdapter","LSKeys","$translate"],o.$inject=["$scope","$modalInstance","data","$sce"]}}]);
2
+ //# sourceMappingURL=51.d023fa9b3d250baf210b.bundle.js.map