binbot-charts 0.0.1 → 0.0.4

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 (350) hide show
  1. package/README.md +5 -7
  2. package/babel.config.json +18 -0
  3. package/dist/TVChartContainer.js +85 -0
  4. package/dist/ar-tv-chart.f0bc1e45.html +1 -0
  5. package/dist/bundles/0.d46f0b5e9380d7893de5.js +334 -0
  6. package/dist/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
  7. package/{public/put-charting-library-here → dist/bundles/1.92647ec0a7beb8b2898d.css} +0 -0
  8. package/{public/put-datafeeds-here → dist/bundles/1.92647ec0a7beb8b2898d.rtl.css} +0 -0
  9. package/dist/bundles/1.f02c87d35fbc8ffcaedb.js +3 -0
  10. package/dist/bundles/10.21e665b7935d5bc4ba64.js +807 -0
  11. package/dist/bundles/11.8b65dc2e0d8b6e5041c4.css +1 -0
  12. package/dist/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +1 -0
  13. package/dist/bundles/11.df012db70159a159d927.js +3 -0
  14. package/dist/bundles/12.37750b21f6d8d35c6e6e.js +3 -0
  15. package/dist/bundles/12.ef8057448f3a7ae1c3d8.css +1 -0
  16. package/dist/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +1 -0
  17. package/dist/bundles/13.699469c73d09b7add56d.js +3 -0
  18. package/dist/bundles/13.9240f13280154f2593b7.css +1 -0
  19. package/dist/bundles/13.9240f13280154f2593b7.rtl.css +1 -0
  20. package/dist/bundles/14.8095b40dd1e7deedf401.css +1 -0
  21. package/dist/bundles/14.8095b40dd1e7deedf401.rtl.css +1 -0
  22. package/dist/bundles/14.d1148b38d59df9ca5061.js +3 -0
  23. package/dist/bundles/15.44f2acca80348a1da1a6.js +526 -0
  24. package/dist/bundles/16.680572949c1125757d35.js +3 -0
  25. package/dist/bundles/16.d567c9db608f3d98d8de.css +1 -0
  26. package/dist/bundles/16.d567c9db608f3d98d8de.rtl.css +1 -0
  27. package/dist/bundles/17.404a01f527881dfff424.js +3 -0
  28. package/dist/bundles/17.ec35a19db935279c5b42.css +1 -0
  29. package/dist/bundles/17.ec35a19db935279c5b42.rtl.css +1 -0
  30. package/dist/bundles/18.78de69cfba051874e071.js +569 -0
  31. package/dist/bundles/19.048f7f5d36fef428ca8d.js +3 -0
  32. package/dist/bundles/19.75c30426f9d3ad5ca0c5.css +1 -0
  33. package/dist/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +1 -0
  34. package/dist/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
  35. package/dist/bundles/2.60931787a6734697ac13.js +507 -0
  36. package/dist/bundles/20.bc09ed47c5a62e1bc5c2.js +540 -0
  37. package/dist/bundles/21.4c7b5cccb67a95e7e782.js +3 -0
  38. package/dist/bundles/21.8153544955cdc47262e3.css +1 -0
  39. package/dist/bundles/21.8153544955cdc47262e3.rtl.css +1 -0
  40. package/dist/bundles/22.ca4300bcf614d8d5f4ab.js +3 -0
  41. package/dist/bundles/22.da9773799a06c6066d1e.css +1 -0
  42. package/dist/bundles/22.da9773799a06c6066d1e.rtl.css +1 -0
  43. package/dist/bundles/23.256ba98e6a03200bdeba.js +3 -0
  44. package/dist/bundles/23.ee754f50171546186397.css +1 -0
  45. package/dist/bundles/23.ee754f50171546186397.rtl.css +1 -0
  46. package/dist/bundles/24.bc4fafedb1730259aa10.js +3 -0
  47. package/dist/bundles/24.e70c1623e0c74477ef2e.css +1 -0
  48. package/dist/bundles/24.e70c1623e0c74477ef2e.rtl.css +1 -0
  49. package/dist/bundles/25.7416db26ed3dcc87c05a.js +2731 -0
  50. package/dist/bundles/26.3aeec391d4e6e19989ee.js +3 -0
  51. package/dist/bundles/26.69139a843bc1c84f790b.css +1 -0
  52. package/dist/bundles/26.69139a843bc1c84f790b.rtl.css +1 -0
  53. package/dist/bundles/27.e3ec08b1fb9df5f36ada.js +477 -0
  54. package/dist/bundles/28.3140e8cb507ad2593c76.css +1 -0
  55. package/dist/bundles/28.3140e8cb507ad2593c76.rtl.css +1 -0
  56. package/dist/bundles/28.9f103042c27ea2df422f.js +3 -0
  57. package/dist/bundles/29.07af6dca962ea27209f0.css +1 -0
  58. package/dist/bundles/29.07af6dca962ea27209f0.rtl.css +1 -0
  59. package/dist/bundles/29.3df8712b85d45a626aa0.js +3 -0
  60. package/dist/bundles/3.76c398b01b707e5b251c.js +3 -0
  61. package/dist/bundles/3.eeb90413029441681f91.css +1 -0
  62. package/dist/bundles/3.eeb90413029441681f91.rtl.css +1 -0
  63. package/dist/bundles/30.0b732ccb122d160480b6.js +1244 -0
  64. package/dist/bundles/31.8d2b7a538755fd1bb760.js +935 -0
  65. package/dist/bundles/32.13ce02217cf8f9dd6d90.js +636 -0
  66. package/dist/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
  67. package/dist/bundles/33.02ed7df481ae8243d2f2.css +1 -0
  68. package/dist/bundles/33.02ed7df481ae8243d2f2.rtl.css +1 -0
  69. package/dist/bundles/33.4d0dd1f7001fc02099bb.js +3 -0
  70. package/dist/bundles/34.4b6099931f57311efc1a.css +1 -0
  71. package/dist/bundles/34.4b6099931f57311efc1a.rtl.css +1 -0
  72. package/dist/bundles/34.c9baa59add71a1e48fd2.js +3 -0
  73. package/dist/bundles/35.999f0e072062b7369a1a.css +1 -0
  74. package/dist/bundles/35.999f0e072062b7369a1a.rtl.css +1 -0
  75. package/dist/bundles/35.ed9e360f9686ad3a9497.js +3 -0
  76. package/dist/bundles/36.1882d1a8d312a0e193e9.js +3 -0
  77. package/dist/bundles/36.f315a19c17d5636af8f7.css +1 -0
  78. package/dist/bundles/36.f315a19c17d5636af8f7.rtl.css +1 -0
  79. package/dist/bundles/37.90129e4904155350d6a1.js +1288 -0
  80. package/dist/bundles/38.41f3d509b61c8af47de3.js +502 -0
  81. package/dist/bundles/39.74a7bc3b464cd284827f.css +1 -0
  82. package/dist/bundles/39.74a7bc3b464cd284827f.rtl.css +1 -0
  83. package/dist/bundles/39.bc1e9ce938fd5152831f.js +3 -0
  84. package/dist/bundles/4.92647ec0a7beb8b2898d.css +0 -0
  85. package/dist/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
  86. package/dist/bundles/4.c7430b8d89cddcf51345.js +3 -0
  87. package/dist/bundles/40.b59f41ba4cacbfb8acc3.js +255 -0
  88. package/dist/bundles/40566afd832a155e5e370a8bd423de4b.svg +1 -0
  89. package/dist/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
  90. package/dist/bundles/41.8fa0fb0bd4ad0241ef2f.css +1 -0
  91. package/dist/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +1 -0
  92. package/dist/bundles/41.a19b0ae5d68f855d2753.js +3 -0
  93. package/dist/bundles/42.494986b0981f6d116fef.js +3 -0
  94. package/dist/bundles/42.9078fb8f1629e3eee9bd.css +1 -0
  95. package/dist/bundles/42.9078fb8f1629e3eee9bd.rtl.css +1 -0
  96. package/dist/bundles/43.619c5ed4a592cc2965a4.js +3 -0
  97. package/dist/bundles/43.8bf90585004742c338c5.css +1 -0
  98. package/dist/bundles/43.8bf90585004742c338c5.rtl.css +1 -0
  99. package/dist/bundles/44.0a7df307e4f397763ce8.js +3474 -0
  100. package/dist/bundles/45.12a19785e3864bd62a76.css +1 -0
  101. package/dist/bundles/45.12a19785e3864bd62a76.rtl.css +1 -0
  102. package/dist/bundles/45.db9dbd3e9bfeca5333da.js +3 -0
  103. package/dist/bundles/46.f1d4cfe6d6f830b4a011.js +495 -0
  104. package/dist/bundles/47.a3da3f774c90bd22798e.js +555 -0
  105. package/dist/bundles/48.a3fdb9dd54af71b3bda6.css +1 -0
  106. package/dist/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +1 -0
  107. package/dist/bundles/48.a93f9cb8b1bcc0e0f21e.js +3 -0
  108. package/dist/bundles/49.bacd609f7eb77a4a4b68.js +3 -0
  109. package/dist/bundles/49.d723843c9192493b8c13.css +1 -0
  110. package/dist/bundles/49.d723843c9192493b8c13.rtl.css +1 -0
  111. package/dist/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
  112. package/dist/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
  113. package/dist/bundles/5.5e97b270ab80d99e9085.js +335 -0
  114. package/dist/bundles/50.8d5cba5b90176d3d2e3d.css +1 -0
  115. package/dist/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +1 -0
  116. package/dist/bundles/50.b282667dddcb7fe1569a.js +3 -0
  117. package/dist/bundles/51.11871c50951db825ace3.js +3 -0
  118. package/dist/bundles/51.300c3df03ca063ec03a0.css +1 -0
  119. package/dist/bundles/51.300c3df03ca063ec03a0.rtl.css +1 -0
  120. package/dist/bundles/52.0379a85baae3ab43b15c.js +3 -0
  121. package/dist/bundles/52.29cec22b3525b47af67e.css +1 -0
  122. package/dist/bundles/52.29cec22b3525b47af67e.rtl.css +1 -0
  123. package/dist/bundles/53.1d3ec98cfb8e19affb1c.js +808 -0
  124. package/dist/bundles/54.bb5888ae55ea0a253a5b.js +1083 -0
  125. package/dist/bundles/55.3c35a629db21ab961f11.js +1733 -0
  126. package/dist/bundles/56.b3e69145c0fee614443d.js +723 -0
  127. package/dist/bundles/57.236996ec416da4c1f683.js +473 -0
  128. package/dist/bundles/58.7ffac4ba908b95705e63.js +410 -0
  129. package/dist/bundles/59.397cb6699b74d64072a8.js +3 -0
  130. package/dist/bundles/59.418f1db161eefae63284.css +1 -0
  131. package/dist/bundles/59.418f1db161eefae63284.rtl.css +1 -0
  132. package/dist/bundles/6.2221bb6a5d920bbb4bb2.css +1 -0
  133. package/dist/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +1 -0
  134. package/dist/bundles/6.2d67b0ae77825dbd455d.js +3 -0
  135. package/dist/bundles/60.6b5eced2ef8fa856be88.js +3 -0
  136. package/dist/bundles/60.d4583c71cca790a25900.css +1 -0
  137. package/dist/bundles/60.d4583c71cca790a25900.rtl.css +1 -0
  138. package/dist/bundles/61.38a3040c925fadff7b64.js +743 -0
  139. package/dist/bundles/62.63b309f5f8da9ca013b8.js +309 -0
  140. package/dist/bundles/63.8255c7f5191bcafcee7c.js +3 -0
  141. package/dist/bundles/63.898a61bf08239711dc74.css +1 -0
  142. package/dist/bundles/63.898a61bf08239711dc74.rtl.css +1 -0
  143. package/dist/bundles/64.6f232bdb0fb4cdcc2d7d.css +1 -0
  144. package/dist/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +1 -0
  145. package/dist/bundles/64.ec4b4d03b28c77658dde.js +3 -0
  146. package/dist/bundles/65.556980fc277562af83c8.css +1 -0
  147. package/dist/bundles/65.556980fc277562af83c8.rtl.css +1 -0
  148. package/dist/bundles/65.f895a78b4e04257983ff.js +3 -0
  149. package/dist/bundles/66.2979e9b7c35e7bf03a37.js +3 -0
  150. package/dist/bundles/66.84b4001b5c622a569dde.css +1 -0
  151. package/dist/bundles/66.84b4001b5c622a569dde.rtl.css +1 -0
  152. package/dist/bundles/67.19c83a0c303c290216d2.css +1 -0
  153. package/dist/bundles/67.19c83a0c303c290216d2.rtl.css +1 -0
  154. package/dist/bundles/67.25fd4b78c8c514988aeb.js +3 -0
  155. package/dist/bundles/68.8b4124c875484d11fd94.js +3 -0
  156. package/dist/bundles/68.fa7424ae9c5fe5483aac.css +1 -0
  157. package/dist/bundles/68.fa7424ae9c5fe5483aac.rtl.css +1 -0
  158. package/dist/bundles/69.094b4a764d3dc17820cf.css +1 -0
  159. package/dist/bundles/69.094b4a764d3dc17820cf.rtl.css +1 -0
  160. package/dist/bundles/69.43756a5c7477730eb0c4.js +3 -0
  161. package/dist/bundles/7.2c7c4f8a49c6380227de.js +315 -0
  162. package/dist/bundles/70.c27146ec029eda556108.css +1 -0
  163. package/dist/bundles/70.c27146ec029eda556108.rtl.css +1 -0
  164. package/dist/bundles/70.cb9d1bb5a00896c1bb97.js +3 -0
  165. package/dist/bundles/71.15e639d294c4209f256e.css +1 -0
  166. package/dist/bundles/71.15e639d294c4209f256e.rtl.css +1 -0
  167. package/dist/bundles/71.6a9d0842f5e48f68399c.js +3 -0
  168. package/dist/bundles/72.07441fd67b864b86147b.css +1 -0
  169. package/dist/bundles/72.07441fd67b864b86147b.rtl.css +1 -0
  170. package/dist/bundles/72.e3925aaf38d2c8997638.js +3 -0
  171. package/dist/bundles/73.6b8b9e5e2c8e2b753cb8.css +1 -0
  172. package/dist/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +1 -0
  173. package/dist/bundles/73.8ca1a096c5bdc2e5fb8a.js +3 -0
  174. package/dist/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
  175. package/dist/bundles/74.34dcc0d3cd1bbfa5e951.js +3 -0
  176. package/dist/bundles/74.8c591c252b2e7ad8f744.css +1 -0
  177. package/dist/bundles/74.8c591c252b2e7ad8f744.rtl.css +1 -0
  178. package/dist/bundles/75.1c9a3a6524248ddf88bf.js +3 -0
  179. package/dist/bundles/75.fefbc386c59bf7d4f9f7.css +1 -0
  180. package/dist/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +1 -0
  181. package/dist/bundles/76.5d20bed213399f326603.js +3 -0
  182. package/dist/bundles/76.f14d71a31295d8cd8d8b.css +1 -0
  183. package/dist/bundles/76.f14d71a31295d8cd8d8b.rtl.css +1 -0
  184. package/dist/bundles/77.3e4ccccc7d3eb03c488f.js +3 -0
  185. package/dist/bundles/77.9c35f7046b848fbfd7f5.css +1 -0
  186. package/dist/bundles/77.9c35f7046b848fbfd7f5.rtl.css +1 -0
  187. package/dist/bundles/78.0d502ab4d94441708606.css +1 -0
  188. package/dist/bundles/78.0d502ab4d94441708606.rtl.css +1 -0
  189. package/dist/bundles/78.1d1d47a915b06f1496fb.js +3 -0
  190. package/dist/bundles/79.86e92b77f8cf32e6bc37.js +3 -0
  191. package/dist/bundles/79.b990749a4839f9123f26.css +1 -0
  192. package/dist/bundles/79.b990749a4839f9123f26.rtl.css +1 -0
  193. package/dist/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
  194. package/dist/bundles/8.e66ab8f27911a033604f.css +1 -0
  195. package/dist/bundles/8.e66ab8f27911a033604f.rtl.css +1 -0
  196. package/dist/bundles/8.ffab20b86db484062268.js +3 -0
  197. package/dist/bundles/80.5bdd53d5fc42d40eee28.css +1 -0
  198. package/dist/bundles/80.5bdd53d5fc42d40eee28.rtl.css +1 -0
  199. package/dist/bundles/80.b5bc6acec3b531a510a9.js +3 -0
  200. package/dist/bundles/81.552e046aa828739c508b.css +1 -0
  201. package/dist/bundles/81.552e046aa828739c508b.rtl.css +1 -0
  202. package/dist/bundles/81.e6a1f76017a44b03480b.js +3 -0
  203. package/dist/bundles/82.8c2919e6c8f54e36e9e6.js +3 -0
  204. package/dist/bundles/82.e06fe84c8cdead4bd52e.css +1 -0
  205. package/dist/bundles/82.e06fe84c8cdead4bd52e.rtl.css +1 -0
  206. package/dist/bundles/83.e238aa056c5d4827cbdd.css +1 -0
  207. package/dist/bundles/83.e238aa056c5d4827cbdd.rtl.css +1 -0
  208. package/dist/bundles/83.f3e53bb5a5940e084955.js +3 -0
  209. package/dist/bundles/84.8acc496b4deeeeefb5af.js +3 -0
  210. package/dist/bundles/84.bb4fc57627c8626019fd.css +1 -0
  211. package/dist/bundles/84.bb4fc57627c8626019fd.rtl.css +1 -0
  212. package/dist/bundles/85.39c78fbeaabae306f343.js +3 -0
  213. package/dist/bundles/85.e0ba32bafcab02208901.css +1 -0
  214. package/dist/bundles/85.e0ba32bafcab02208901.rtl.css +1 -0
  215. package/dist/bundles/86.4bbbb9e6262243419986.js +3 -0
  216. package/dist/bundles/86.9244fc2bcc2370425a15.css +1 -0
  217. package/dist/bundles/86.9244fc2bcc2370425a15.rtl.css +1 -0
  218. package/dist/bundles/87.605cbc508223ec27341c.css +1 -0
  219. package/dist/bundles/87.605cbc508223ec27341c.rtl.css +1 -0
  220. package/dist/bundles/87.cf03fa0a76bfcadd157d.js +3 -0
  221. package/dist/bundles/88.158dd8a18e176936a343.css +1 -0
  222. package/dist/bundles/88.158dd8a18e176936a343.rtl.css +1 -0
  223. package/dist/bundles/88.d1e3aec63ece25f6b8a9.js +3 -0
  224. package/dist/bundles/89.5f142643917701de773b.css +1 -0
  225. package/dist/bundles/89.5f142643917701de773b.rtl.css +1 -0
  226. package/dist/bundles/89.d8aa43b4b9378722d572.js +3 -0
  227. package/dist/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
  228. package/dist/bundles/9.84ecbc930e51cb26d06a.js +3 -0
  229. package/dist/bundles/9.8ab09f93a5113a634119.css +1 -0
  230. package/dist/bundles/9.8ab09f93a5113a634119.rtl.css +1 -0
  231. package/dist/bundles/90.877114560c4828a97702.css +1 -0
  232. package/dist/bundles/90.877114560c4828a97702.rtl.css +1 -0
  233. package/dist/bundles/90.ce47bb68fc3fc88b5590.js +3 -0
  234. package/dist/bundles/91.2142b248a2bb29549a99.css +1 -0
  235. package/dist/bundles/91.2142b248a2bb29549a99.rtl.css +1 -0
  236. package/dist/bundles/91.a9b79ef7ba0a62311a53.js +3 -0
  237. package/dist/bundles/92.76d5ca7ebec10a1a7a12.js +3 -0
  238. package/dist/bundles/92.e46f0aa06bcdbddf3831.css +1 -0
  239. package/dist/bundles/92.e46f0aa06bcdbddf3831.rtl.css +1 -0
  240. package/dist/bundles/93.17d34ca77a7fc85a24d9.css +1 -0
  241. package/dist/bundles/93.17d34ca77a7fc85a24d9.rtl.css +1 -0
  242. package/dist/bundles/93.6de56ef1975f4a31e542.js +3 -0
  243. package/dist/bundles/94.231bea5fb12b806ef287.js +3 -0
  244. package/dist/bundles/94.b204218cb73b576333a1.css +1 -0
  245. package/dist/bundles/94.b204218cb73b576333a1.rtl.css +1 -0
  246. package/dist/bundles/95.51244d1c4baf49d08807.css +1 -0
  247. package/dist/bundles/95.51244d1c4baf49d08807.rtl.css +1 -0
  248. package/dist/bundles/95.6f7da80aac5cf2bf77d6.js +3 -0
  249. package/dist/bundles/96.43bb935eee30715afff7.js +3 -0
  250. package/dist/bundles/96.be9ad3d6a7c91501bb55.css +1 -0
  251. package/dist/bundles/96.be9ad3d6a7c91501bb55.rtl.css +1 -0
  252. package/dist/bundles/a6506134daec7169f68f563f084a9d41.svg +1 -0
  253. package/dist/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +1285 -0
  254. package/dist/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
  255. package/dist/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +260 -0
  256. package/dist/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +2205 -0
  257. package/dist/bundles/chart-event-hint.94e94e93f9fdee936b66.js +367 -0
  258. package/dist/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +228 -0
  259. package/dist/bundles/chart-widget-gui.226991e9f53aba124fc2.js +4265 -0
  260. package/dist/bundles/compare-model.0e6bbdc5f5942c9a716e.js +667 -0
  261. package/dist/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +432 -0
  262. package/dist/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +724 -0
  263. package/dist/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +440 -0
  264. package/dist/bundles/drawing-toolbar.8cc497633535648562e7.js +1814 -0
  265. package/dist/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
  266. package/dist/bundles/export-data.c819cfa996e2815ff11d.js +238 -0
  267. package/dist/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
  268. package/dist/bundles/floating-toolbars.d78a058b82ab09013aac.js +2373 -0
  269. package/dist/bundles/full-tooltips-popup.96fc751e06523b742440.js +423 -0
  270. package/dist/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +656 -0
  271. package/dist/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +604 -0
  272. package/dist/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +2313 -0
  273. package/dist/bundles/hammerjs.e5489031ed611f47bf09.js +993 -0
  274. package/dist/bundles/header-toolbar.4bff61e047f9b8379494.js +1293 -0
  275. package/dist/bundles/library.579e6e3fd95b660ad833.css +1 -0
  276. package/dist/bundles/library.579e6e3fd95b660ad833.rtl.css +1 -0
  277. package/dist/bundles/library.8b0dd8732414a2bcbcb1.js +1 -0
  278. package/dist/bundles/line-tools-icons.090f39d92664af3915a5.js +349 -0
  279. package/dist/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +683 -0
  280. package/dist/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +573 -0
  281. package/dist/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +11748 -0
  282. package/dist/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +3491 -0
  283. package/dist/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +81 -0
  284. package/dist/bundles/moment.78e587a83a009ca48cda.js +2059 -0
  285. package/dist/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +305 -0
  286. package/dist/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +2953 -0
  287. package/dist/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +7693 -0
  288. package/dist/bundles/react.9f2899b40ad0e104f6c9.js +7156 -0
  289. package/dist/bundles/redux.43c3f6d214bcf2d1fbd1.js +1691 -0
  290. package/dist/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +3692 -0
  291. package/dist/bundles/runtime.dfe30490f666a6b5d4fe.js +654 -0
  292. package/dist/bundles/series-icons-map.ec8043f64d8b06dbce29.js +53 -0
  293. package/dist/bundles/series-pane-views.eefe35e1c508ac16c102.js +113 -0
  294. package/dist/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +44 -0
  295. package/dist/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +60 -0
  296. package/dist/bundles/simple-dialog.bd79f02afd512f0f36dd.js +919 -0
  297. package/dist/bundles/source-properties-editor.e858d44541ebb6f974a2.js +265 -0
  298. package/dist/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +1030 -0
  299. package/dist/bundles/study-pane-views.9a873dcf74adedf7600b.js +682 -0
  300. package/dist/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +502 -0
  301. package/dist/bundles/study-template-dialog.fe56a9893a3695e93531.js +1598 -0
  302. package/dist/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +642 -0
  303. package/dist/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +112 -0
  304. package/dist/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +153 -0
  305. package/dist/bundles/vendors.6f5e0d8d267cb3e63ee0.js +5316 -0
  306. package/dist/charting_library.cjs.js +499 -0
  307. package/dist/charting_library.d.ts +2087 -0
  308. package/dist/charting_library.esm.js +503 -0
  309. package/dist/charting_library.js +506 -0
  310. package/dist/charting_library.standalone.js +500 -0
  311. package/dist/cs-tv-chart.f0bc1e45.html +1 -0
  312. package/dist/da_DK-tv-chart.f0bc1e45.html +1 -0
  313. package/dist/datafeed-api.d.ts +274 -0
  314. package/dist/de-tv-chart.f0bc1e45.html +1 -0
  315. package/dist/el-tv-chart.f0bc1e45.html +1 -0
  316. package/dist/en-tv-chart.f0bc1e45.html +1 -0
  317. package/dist/es-tv-chart.f0bc1e45.html +1 -0
  318. package/dist/et_EE-tv-chart.f0bc1e45.html +1 -0
  319. package/dist/fa-tv-chart.f0bc1e45.html +1 -0
  320. package/dist/fr-tv-chart.f0bc1e45.html +1 -0
  321. package/dist/he_IL-tv-chart.f0bc1e45.html +1 -0
  322. package/dist/hu_HU-tv-chart.f0bc1e45.html +1 -0
  323. package/dist/id_ID-tv-chart.f0bc1e45.html +1 -0
  324. package/dist/it-tv-chart.f0bc1e45.html +1 -0
  325. package/dist/ja-tv-chart.f0bc1e45.html +1 -0
  326. package/dist/ko-tv-chart.f0bc1e45.html +1 -0
  327. package/dist/ms_MY-tv-chart.f0bc1e45.html +1 -0
  328. package/dist/nl_NL-tv-chart.f0bc1e45.html +1 -0
  329. package/dist/no-tv-chart.f0bc1e45.html +1 -0
  330. package/dist/package.json +8 -0
  331. package/dist/pl-tv-chart.f0bc1e45.html +1 -0
  332. package/dist/pt-tv-chart.f0bc1e45.html +1 -0
  333. package/dist/ro-tv-chart.f0bc1e45.html +1 -0
  334. package/dist/ru-tv-chart.f0bc1e45.html +1 -0
  335. package/dist/sk_SK-tv-chart.f0bc1e45.html +1 -0
  336. package/dist/sv-tv-chart.f0bc1e45.html +1 -0
  337. package/dist/th-tv-chart.f0bc1e45.html +1 -0
  338. package/dist/tr-tv-chart.f0bc1e45.html +1 -0
  339. package/dist/vi-tv-chart.f0bc1e45.html +1 -0
  340. package/dist/zh-tv-chart.f0bc1e45.html +1 -0
  341. package/dist/zh_TW-tv-chart.f0bc1e45.html +1 -0
  342. package/package.json +10 -6
  343. package/src/App.jsx +2 -2
  344. package/src/components/TVChartContainer.jsx +17 -30
  345. package/src/components/datafeed.js +201 -0
  346. package/src/components/helpers.js +32 -0
  347. package/src/components/streaming.js +136 -0
  348. package/copy_charting_library_files.sh +0 -30
  349. package/public/charting_library/yarn.lock +0 -4
  350. package/src/charting_library/yarn.lock +0 -4
@@ -0,0 +1,1598 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/web.dom-collections.iterator.js");
4
+
5
+ require("core-js/modules/es.array.includes.js");
6
+
7
+ require("core-js/modules/es.string.includes.js");
8
+
9
+ require("core-js/modules/es.symbol.description.js");
10
+
11
+ require("core-js/modules/es.promise.js");
12
+
13
+ require("core-js/modules/es.json.stringify.js");
14
+
15
+ require("core-js/modules/es.array.reverse.js");
16
+
17
+ const _excluded = ["inputClassName", "labelClassName"],
18
+ _excluded2 = ["className", "intent", "size", "appearance", "disabled", "useFullWidth", "reference", "icon", "children", "tabIndex"],
19
+ _excluded3 = ["render", "onClose", "onSubmit", "onCancel", "footerLeftRenderer", "submitButtonText", "submitButtonDisabled", "defaultActionOnClose", "submitOnEnterKey"];
20
+
21
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
22
+
23
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
+
25
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
26
+
27
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
28
+
29
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
30
+
31
+ (window.webpackJsonp = window.webpackJsonp || []).push([["study-template-dialog"], {
32
+ "+l/S": function lS(e, t, n) {},
33
+ "/KDZ": function KDZ(e, t, n) {
34
+ "use strict";
35
+
36
+ n.d(t, "a", function () {
37
+ return i;
38
+ });
39
+ var s = n("q1tI");
40
+
41
+ class i extends s.PureComponent {
42
+ constructor(e) {
43
+ super(e), this._handleChange = () => {
44
+ this.forceUpdate();
45
+ }, this.state = {
46
+ query: window.matchMedia(this.props.rule)
47
+ };
48
+ }
49
+
50
+ componentDidMount() {
51
+ this._subscribe(this.state.query);
52
+ }
53
+
54
+ componentDidUpdate(e, t) {
55
+ this.state.query !== t.query && (this._unsubscribe(t.query), this._subscribe(this.state.query));
56
+ }
57
+
58
+ componentWillUnmount() {
59
+ this._unsubscribe(this.state.query);
60
+ }
61
+
62
+ render() {
63
+ return this.props.children(this.state.query.matches);
64
+ }
65
+
66
+ static getDerivedStateFromProps(e, t) {
67
+ return e.rule !== t.query.media ? {
68
+ query: window.matchMedia(e.rule)
69
+ } : null;
70
+ }
71
+
72
+ _subscribe(e) {
73
+ e.addListener(this._handleChange);
74
+ }
75
+
76
+ _unsubscribe(e) {
77
+ e.removeListener(this._handleChange);
78
+ }
79
+
80
+ }
81
+ },
82
+ "02pg": function pg(e, t, n) {
83
+ "use strict";
84
+
85
+ n.d(t, "a", function () {
86
+ return a;
87
+ });
88
+ var s = n("q1tI"),
89
+ i = n("TSYQ"),
90
+ o = n("XiJV");
91
+
92
+ function a(e) {
93
+ return s.createElement("div", {
94
+ className: i(o.separator, e.className)
95
+ });
96
+ }
97
+ },
98
+ "0W35": function W35(e, t, n) {
99
+ "use strict";
100
+
101
+ var s = n("q1tI"),
102
+ i = n("17x9");
103
+
104
+ class o extends s.PureComponent {
105
+ constructor() {
106
+ super(...arguments), this._subscriptions = new Set(), this._getName = () => this.props.name, this._getValues = () => this.props.values, this._getOnChange = () => this.props.onChange, this._subscribe = e => {
107
+ this._subscriptions.add(e);
108
+ }, this._unsubscribe = e => {
109
+ this._subscriptions.delete(e);
110
+ };
111
+ }
112
+
113
+ getChildContext() {
114
+ return {
115
+ switchGroupContext: {
116
+ getName: this._getName,
117
+ getValues: this._getValues,
118
+ getOnChange: this._getOnChange,
119
+ subscribe: this._subscribe,
120
+ unsubscribe: this._unsubscribe
121
+ }
122
+ };
123
+ }
124
+
125
+ render() {
126
+ return this.props.children;
127
+ }
128
+
129
+ componentDidUpdate(e) {
130
+ this._notify(this._getUpdates(this.props.values, e.values));
131
+ }
132
+
133
+ _notify(e) {
134
+ this._subscriptions.forEach(t => t(e));
135
+ }
136
+
137
+ _getUpdates(e, t) {
138
+ return [...t, ...e].filter(n => t.includes(n) ? !e.includes(n) : e.includes(n));
139
+ }
140
+
141
+ }
142
+
143
+ function a(e) {
144
+ var t;
145
+ return (t = class extends s.PureComponent {
146
+ constructor() {
147
+ super(...arguments), this._onChange = e => {
148
+ this.context.switchGroupContext.getOnChange()(e);
149
+ }, this._onUpdate = e => {
150
+ e.includes(this.props.value) && this.forceUpdate();
151
+ };
152
+ }
153
+
154
+ componentDidMount() {
155
+ this.context.switchGroupContext.subscribe(this._onUpdate);
156
+ }
157
+
158
+ render() {
159
+ return s.createElement(e, _objectSpread(_objectSpread({}, this.props), {}, {
160
+ name: this._getName(),
161
+ onChange: this._onChange,
162
+ checked: this._isChecked()
163
+ }));
164
+ }
165
+
166
+ componentWillUnmount() {
167
+ this.context.switchGroupContext.unsubscribe(this._onUpdate);
168
+ }
169
+
170
+ _getName() {
171
+ return this.context.switchGroupContext.getName();
172
+ }
173
+
174
+ _isChecked() {
175
+ return this.context.switchGroupContext.getValues().includes(this.props.value);
176
+ }
177
+
178
+ }).contextTypes = {
179
+ switchGroupContext: i.any.isRequired
180
+ }, t;
181
+ }
182
+
183
+ o.childContextTypes = {
184
+ switchGroupContext: i.any.isRequired
185
+ }, n.d(t, "a", function () {
186
+ return o;
187
+ }), n.d(t, "b", function () {
188
+ return a;
189
+ });
190
+ },
191
+ "2A9e": function A9e(e) {
192
+ e.exports = JSON.parse('{"button":"button-1iktpaT1","content":"content-2PGssb8d","noOutline":"noOutline-d9Yp4qvi","grouped":"grouped-2NxOpIxM","adjust-position":"adjust-position-2zd-ooQC","first-row":"first-row-11wXF7aC","first-col":"first-col-pbJu53tK","no-corner-top-left":"no-corner-top-left-3ZsS65Fk","no-corner-top-right":"no-corner-top-right-3MYQOwk_","no-corner-bottom-right":"no-corner-bottom-right-3II18BAU","no-corner-bottom-left":"no-corner-bottom-left-3KZuX8tv","appearance-default":"appearance-default-dMjF_2Hu","intent-primary":"intent-primary-1-IOYcbg","intent-success":"intent-success-25a4XZXM","intent-default":"intent-default-2ZbSqQDs","intent-warning":"intent-warning-24j5HMi0","intent-danger":"intent-danger-1EETHCla","appearance-stroke":"appearance-stroke-12lxiUSM","appearance-text":"appearance-text-DqKJVT3U","appearance-inverse":"appearance-inverse-r1Y2JQg_","size-s":"size-s-3mait84m","size-m":"size-m-2G7L7Qat","size-l":"size-l-2NEs9_xt","full-width":"full-width-1wU8ljjC","with-icon":"with-icon-yumghDr-","icon":"icon-1grlgNdV"}');
193
+ },
194
+ "6KyJ": function KyJ(e, t, n) {
195
+ "use strict";
196
+
197
+ var s,
198
+ i = n("q1tI"),
199
+ o = n("TSYQ"),
200
+ a = n("K9GE"),
201
+ r = n("YZ9j");
202
+ n("O7m7");
203
+ !function (e) {
204
+ e[e.Initial = 0] = "Initial", e[e.Appear = 1] = "Appear", e[e.Active = 2] = "Active";
205
+ }(s || (s = {}));
206
+
207
+ class l extends i.PureComponent {
208
+ constructor(e) {
209
+ super(e), this._stateChangeTimeout = null, this.state = {
210
+ state: s.Initial
211
+ };
212
+ }
213
+
214
+ render() {
215
+ const {
216
+ className: e,
217
+ color: t = "black"
218
+ } = this.props,
219
+ n = o(r.item, {
220
+ [r[t]]: Boolean(t)
221
+ });
222
+ return i.createElement("span", {
223
+ className: o(r.loader, e, this._getStateClass())
224
+ }, i.createElement("span", {
225
+ className: n
226
+ }), i.createElement("span", {
227
+ className: n
228
+ }), i.createElement("span", {
229
+ className: n
230
+ }));
231
+ }
232
+
233
+ componentDidMount() {
234
+ this.setState({
235
+ state: s.Appear
236
+ }), this._stateChangeTimeout = setTimeout(() => {
237
+ this.setState({
238
+ state: s.Active
239
+ });
240
+ }, 2 * a.b);
241
+ }
242
+
243
+ componentWillUnmount() {
244
+ this._stateChangeTimeout && (clearTimeout(this._stateChangeTimeout), this._stateChangeTimeout = null);
245
+ }
246
+
247
+ _getStateClass() {
248
+ switch (this.state.state) {
249
+ case s.Initial:
250
+ return r["loader-initial"];
251
+
252
+ case s.Appear:
253
+ return r["loader-appear"];
254
+
255
+ default:
256
+ return "";
257
+ }
258
+ }
259
+
260
+ }
261
+
262
+ n.d(t, "a", function () {
263
+ return l;
264
+ });
265
+ },
266
+ "8NUT": function NUT(e, t, n) {
267
+ e.exports = {
268
+ "small-height-breakpoint": "screen and (max-height: 360px)",
269
+ footer: "footer-KW8170fm",
270
+ submitButton: "submitButton-KW8170fm",
271
+ buttons: "buttons-KW8170fm"
272
+ };
273
+ },
274
+ "8RO/": function RO(e, t, n) {
275
+ "use strict";
276
+
277
+ n.d(t, "a", function () {
278
+ return i;
279
+ }), n.d(t, "b", function () {
280
+ return o;
281
+ });
282
+ var s = n("3ClC");
283
+
284
+ function i(e, t) {
285
+ return {
286
+ indicators: e.orderedDataSources(!0).filter(e => Object(s.isStudy)(e) && !Object(s.isESDStudy)(e)).map(e => ({
287
+ id: e.metaInfo().id,
288
+ description: e.title(!0, void 0, !0)
289
+ })),
290
+ interval: t
291
+ };
292
+ }
293
+
294
+ function o(e) {
295
+ const t = new Map();
296
+ return e.forEach(e => {
297
+ const [n, s] = t.get(e.id) || [e.description, 0];
298
+ t.set(e.id, [n, s + 1]);
299
+ }), Array.from(t.values()).map(_ref => {
300
+ let [e, t] = _ref;
301
+ return "".concat(e).concat(t > 1 ? " x " + t : "");
302
+ }).join(", ");
303
+ }
304
+ },
305
+ ASyk: function ASyk(e, t, n) {
306
+ e.exports = {
307
+ "tablet-normal-breakpoint": "screen and (max-width: 768px)",
308
+ "small-height-breakpoint": "screen and (max-height: 360px)",
309
+ "tablet-small-breakpoint": "screen and (max-width: 428px)"
310
+ };
311
+ },
312
+ E9Pn: function E9Pn(e, t, n) {},
313
+ F0Qt: function F0Qt(e) {
314
+ e.exports = JSON.parse('{"wrapper":"wrapper-21v50zE8","input":"input-24iGIobO","box":"box-3574HVnv","icon":"icon-2jsUbtec","noOutline":"noOutline-3VoWuntz","intent-danger":"intent-danger-1Sr9dowC","check":"check-382c8Fu1","dot":"dot-3gRd-7Qt"}');
315
+ },
316
+ FaeL: function FaeL(e, t, n) {
317
+ e.exports = {
318
+ autocomplete: "autocomplete-2wlTLOUu",
319
+ caret: "caret-2wlTLOUu",
320
+ icon: "icon-2wlTLOUu",
321
+ suggestions: "suggestions-2wlTLOUu",
322
+ suggestion: "suggestion-2wlTLOUu",
323
+ noResults: "noResults-2wlTLOUu",
324
+ selected: "selected-2wlTLOUu",
325
+ opened: "opened-2wlTLOUu"
326
+ };
327
+ },
328
+ IDfV: function IDfV(e, t, n) {
329
+ "use strict";
330
+
331
+ n.r(t);
332
+ var s,
333
+ i = n("Eyy1"),
334
+ o = n("YFKU"),
335
+ a = n("q1tI"),
336
+ r = n.n(a),
337
+ l = n("i8i4"),
338
+ c = (n("HbRj"), n("TSYQ")),
339
+ u = n("fV0y"),
340
+ h = n("ML8+"),
341
+ d = n("xADF"),
342
+ p = n("wHCJ"),
343
+ m = n("RgaO");
344
+ !function (e) {
345
+ e[e.Enter = 13] = "Enter", e[e.Space = 32] = "Space", e[e.Backspace = 8] = "Backspace", e[e.DownArrow = 40] = "DownArrow", e[e.UpArrow = 38] = "UpArrow", e[e.RightArrow = 39] = "RightArrow", e[e.LeftArrow = 37] = "LeftArrow", e[e.Escape = 27] = "Escape", e[e.Tab = 9] = "Tab";
346
+ }(s || (s = {}));
347
+ var f = n("FaeL");
348
+
349
+ function b(e, t) {
350
+ return "" === e || -1 !== t.toLowerCase().indexOf(e.toLowerCase());
351
+ }
352
+
353
+ class g extends a.PureComponent {
354
+ constructor(e) {
355
+ if (super(e), this._setInputRef = e => {
356
+ e && (this._inputElement = e, this.props.setupHTMLInput && this.props.setupHTMLInput(e), this._inputElement.addEventListener("keyup", this._handleKeyUpEnter));
357
+ }, this._handleCaretClick = () => {
358
+ this.state.isOpened ? this.props.preventOnFocusOpen && this._focus() : this.props.preventOnFocusOpen ? this._open() : this._focus();
359
+ }, this._handleOutsideClick = () => {
360
+ const {
361
+ allowUserDefinedValues: e,
362
+ value: t,
363
+ onChange: n
364
+ } = this.props,
365
+ {
366
+ queryValue: s
367
+ } = this.state;
368
+ e ? n && s !== t && n(s) : this.setState(this._valueToQuery(t)), this._close();
369
+ }, this._handleFocus = e => {
370
+ this.props.preventOnFocusOpen || this._open(), this.props.onFocus && this.props.onFocus(e);
371
+ }, this._handleChange = e => {
372
+ const {
373
+ preventSearchOnEmptyQuery: t,
374
+ allowUserDefinedValues: n,
375
+ onChange: s,
376
+ onSuggestionsOpen: i,
377
+ onSuggestionsClose: o
378
+ } = this.props,
379
+ a = e.currentTarget.value;
380
+ if (t && "" === a) this.setState({
381
+ queryValue: a,
382
+ isOpened: !1,
383
+ active: void 0
384
+ }), o && o();else {
385
+ const e = this._suggestions(a),
386
+ t = Object.keys(e).length > 0;
387
+
388
+ this.setState({
389
+ queryValue: a,
390
+ isOpened: t,
391
+ active: n ? void 0 : this._getActiveKeyByValue(a)
392
+ }), t && i && i();
393
+ }
394
+ n && s && s(a);
395
+ }, this._handleItemClick = e => {
396
+ const t = e.currentTarget.id;
397
+ this.setState({
398
+ queryValue: this._source()[t]
399
+ }), this.props.onChange && this.props.onChange(t), this._close();
400
+ }, this._handleKeyDown = e => {
401
+ if (-1 === [s.DownArrow, s.UpArrow, s.Enter, s.Escape].indexOf(e.which)) return;
402
+ const {
403
+ allowUserDefinedValues: t,
404
+ value: n,
405
+ onChange: i,
406
+ onSuggestionsOpen: o
407
+ } = this.props,
408
+ {
409
+ active: a,
410
+ isOpened: r,
411
+ queryValue: l
412
+ } = this.state;
413
+ r && (e.preventDefault(), e.stopPropagation());
414
+
415
+ const c = this._suggestions(l);
416
+
417
+ switch (e.which) {
418
+ case s.DownArrow:
419
+ case s.UpArrow:
420
+ const u = Object.keys(c);
421
+
422
+ if (!r && u.length && e.which === s.DownArrow) {
423
+ this.setState({
424
+ isOpened: !0,
425
+ active: u[0]
426
+ }), o && o();
427
+ break;
428
+ }
429
+
430
+ let h;
431
+
432
+ if (void 0 === a) {
433
+ if (e.which === s.UpArrow) {
434
+ this._close();
435
+
436
+ break;
437
+ }
438
+
439
+ h = 0;
440
+ } else h = u.indexOf(a) + (e.which === s.UpArrow ? -1 : 1);
441
+
442
+ h < 0 && (h = 0), h > u.length - 1 && (h = u.length - 1);
443
+ const d = u[h];
444
+ this.setState({
445
+ active: d
446
+ });
447
+ const p = document.getElementById(d);
448
+ p && this._scrollIfNotVisible(p, this._suggestionsElement);
449
+ break;
450
+
451
+ case s.Escape:
452
+ this._close(), r || this._blur();
453
+ break;
454
+
455
+ case s.Enter:
456
+ let m = a;
457
+ t && (r && m ? this.setState(this._valueToQuery(m)) : m = l), void 0 !== m && (this._close(), r || this._blur(), m !== n ? i && i(m) : this.setState(this._valueToQuery(m)));
458
+ }
459
+ }, this._setSuggestionsRef = e => {
460
+ e && (this._suggestionsElement = e);
461
+ }, this._scrollIfNotVisible = (e, t) => {
462
+ const n = t.scrollTop,
463
+ s = t.scrollTop + t.clientHeight,
464
+ i = e.offsetTop,
465
+ o = i + e.clientHeight;
466
+ i <= n ? e.scrollIntoView(!0) : o >= s && e.scrollIntoView(!1);
467
+ }, !(e => Array.isArray(e.source) || !e.allowUserDefinedValues)(e)) throw new Error("allowUserDefinedProps === true cay only be used if source is array");
468
+ this.state = _objectSpread({
469
+ isOpened: !1,
470
+ active: e.value
471
+ }, this._valueToQuery(e.value));
472
+ }
473
+
474
+ UNSAFE_componentWillReceiveProps(e) {
475
+ const {
476
+ allowUserDefinedValues: t,
477
+ value: n
478
+ } = e;
479
+ if (n === this.props.value && this.state.isOpened) return;
480
+ const s = t ? n : "" === n ? "" : this._source()[n] || this.state.queryValue;
481
+ this.setState({
482
+ queryValue: s,
483
+ active: n
484
+ });
485
+ }
486
+
487
+ componentWillUnmount() {
488
+ this._inputElement && this._inputElement.removeEventListener("keyup", this._handleKeyUpEnter);
489
+ }
490
+
491
+ render() {
492
+ return a.createElement(m.a, {
493
+ handler: this._handleOutsideClick,
494
+ click: !0
495
+ }, e => a.createElement("div", {
496
+ className: c(f.autocomplete, {
497
+ [f.opened]: this.state.isOpened
498
+ }, "js-dialog-skip-escape"),
499
+ ref: e
500
+ }, a.createElement(p.a, {
501
+ name: this.props.name,
502
+ endSlot: Object.keys(this._suggestions(this.state.queryValue)).length ? a.createElement(d.b, null, a.createElement("span", {
503
+ className: f.caret,
504
+ onClick: this._handleCaretClick
505
+ }, a.createElement(h.a, {
506
+ className: f.icon,
507
+ dropped: this.state.isOpened
508
+ }))) : void 0,
509
+ maxLength: this.props.maxLength,
510
+ reference: this._setInputRef,
511
+ stretch: !0,
512
+ placeholder: this.props.placeholder,
513
+ value: this.state.queryValue,
514
+ intent: this.props.error ? "danger" : void 0,
515
+ onChange: this._handleChange,
516
+ onFocus: this._handleFocus,
517
+ onBlur: this.props.onBlur,
518
+ onMouseOver: this.props.onMouseOver,
519
+ onMouseOut: this.props.onMouseOut,
520
+ onKeyDown: this._handleKeyDown,
521
+ autoComplete: "off"
522
+ }), this._renderSuggestions()));
523
+ }
524
+
525
+ _focus() {
526
+ this._inputElement.focus();
527
+ }
528
+
529
+ _blur() {
530
+ this._inputElement.blur();
531
+ }
532
+
533
+ _open() {
534
+ const {
535
+ onSuggestionsOpen: e
536
+ } = this.props;
537
+ this._focus(), this.setState({
538
+ isOpened: !0
539
+ }), e && e();
540
+ }
541
+
542
+ _close() {
543
+ const {
544
+ onSuggestionsClose: e
545
+ } = this.props;
546
+ this.setState({
547
+ isOpened: !1,
548
+ active: void 0
549
+ }), e && e();
550
+ }
551
+
552
+ _source() {
553
+ let e = {};
554
+ return Array.isArray(this.props.source) ? this.props.source.forEach(t => {
555
+ e[t] = t;
556
+ }) : e = this.props.source, e;
557
+ }
558
+
559
+ _suggestions(e) {
560
+ const {
561
+ filter: t = b
562
+ } = this.props,
563
+ n = this._source(),
564
+ s = {};
565
+
566
+ return Object.keys(n).filter(s => t(e, n[s])).forEach(e => s[e] = n[e]), s;
567
+ }
568
+
569
+ _renderSuggestions() {
570
+ const e = this._suggestions(this.state.queryValue),
571
+ t = Object.keys(e).map(t => {
572
+ const n = c(f.suggestion, {
573
+ [f.selected]: this.state.active === t
574
+ });
575
+ return a.createElement("li", {
576
+ id: t,
577
+ key: t,
578
+ className: n,
579
+ onClick: this._handleItemClick
580
+ }, e[t]);
581
+ }),
582
+ n = a.createElement("li", {
583
+ className: f.noResults
584
+ }, window.t("No results found"));
585
+
586
+ return !t.length && this.props.noEmptyText ? null : a.createElement("ul", {
587
+ className: f.suggestions,
588
+ ref: this._setSuggestionsRef
589
+ }, t.length ? t : n);
590
+ }
591
+
592
+ _handleKeyUpEnter(e) {
593
+ e.which === s.Enter && e.stopImmediatePropagation();
594
+ }
595
+
596
+ _getActiveKeyByValue(e) {
597
+ const {
598
+ filter: t = b
599
+ } = this.props,
600
+ n = this._suggestions(e),
601
+ s = Object.keys(n);
602
+
603
+ for (const i of s) if (t(e, n[i])) return i;
604
+
605
+ return s[0];
606
+ }
607
+
608
+ _valueToQuery(e) {
609
+ return {
610
+ queryValue: this._source()[e] || ""
611
+ };
612
+ }
613
+
614
+ }
615
+
616
+ var v = n("Iivm"),
617
+ _ = n("ycFu"),
618
+ w = n("+EG+"),
619
+ C = n("6KyJ"),
620
+ S = n("tz2P");
621
+
622
+ function y(e) {
623
+ const {
624
+ isLoading: t
625
+ } = e;
626
+ return r.a.createElement("span", {
627
+ className: t ? S.loading : void 0
628
+ }, window.t("Save"), t && r.a.createElement(C.a, {
629
+ color: "white"
630
+ }));
631
+ }
632
+
633
+ class O extends a.PureComponent {
634
+ constructor(e) {
635
+ super(e), this._dialogRef = a.createRef(), this._manager = null, this._handleSubmit = () => {
636
+ this.setState({
637
+ isLoading: !0
638
+ }), this.props.onSubmit(this);
639
+ }, this.state = {
640
+ isLoading: !1
641
+ };
642
+ }
643
+
644
+ render() {
645
+ const {
646
+ isOpened: e,
647
+ saveDisabled: t,
648
+ title: n,
649
+ onClose: s
650
+ } = this.props;
651
+ return a.createElement(_.a, {
652
+ ref: this._dialogRef,
653
+ onClose: s,
654
+ onSubmit: this._handleSubmit,
655
+ onCancel: s,
656
+ onClickOutside: s,
657
+ isOpened: e,
658
+ title: n,
659
+ dataName: "save-rename-dialog",
660
+ render: this._renderDialogBody(),
661
+ defaultActionOnClose: "none",
662
+ submitButtonText: a.createElement(y, {
663
+ isLoading: this.state.isLoading
664
+ }),
665
+ submitButtonDisabled: t
666
+ });
667
+ }
668
+
669
+ focus() {
670
+ Object(i.ensureNotNull)(this._dialogRef.current).focus();
671
+ }
672
+
673
+ manager() {
674
+ return this._manager;
675
+ }
676
+
677
+ submit() {
678
+ this.props.onSubmit(this);
679
+ }
680
+
681
+ close() {
682
+ this.props.onClose();
683
+ }
684
+
685
+ dropLoading() {
686
+ this.setState({
687
+ isLoading: !1
688
+ });
689
+ }
690
+
691
+ _renderDialogBody() {
692
+ return () => a.createElement(w.b.Consumer, null, e => (this._manager = e, this.props.children));
693
+ }
694
+
695
+ }
696
+
697
+ var E = n("xJ0h"),
698
+ x = n("j+m7");
699
+ const N = window.t("Template name"),
700
+ T = window.t("Saved indicators"),
701
+ k = window.t("Remember Symbol"),
702
+ A = window.t("Remember Interval");
703
+
704
+ function L(e) {
705
+ const {
706
+ title: t,
707
+ saveSymbolHintText: n,
708
+ saveIntervalHintText: s,
709
+ indicatorsText: o,
710
+ source: l,
711
+ onClose: h,
712
+ onSubmit: d
713
+ } = e,
714
+ [p, m] = Object(a.useState)(""),
715
+ [f, b] = Object(a.useState)(!1),
716
+ [_, w] = Object(a.useState)(!1),
717
+ [C, S] = Object(a.useState)(!1),
718
+ y = Object(a.useRef)(null),
719
+ L = Object(a.useRef)(null);
720
+ return Object(a.useEffect)(() => {
721
+ Object(i.ensureNotNull)(L.current).focus();
722
+ }, []), r.a.createElement(O, {
723
+ ref: y,
724
+ isOpened: !0,
725
+ saveDisabled: !p,
726
+ title: t,
727
+ onClose: h,
728
+ onSubmit: function onSubmit(e) {
729
+ d({
730
+ title: p,
731
+ saveSymbol: f,
732
+ saveInterval: _
733
+ }, e);
734
+ }
735
+ }, r.a.createElement("div", {
736
+ className: c(x.container, C && x.withSuggestions)
737
+ }, r.a.createElement("div", {
738
+ className: x.title
739
+ }, N), r.a.createElement("div", {
740
+ className: x.autocomplete
741
+ }, r.a.createElement(g, {
742
+ maxLength: 64,
743
+ value: p,
744
+ onChange: m,
745
+ onBlur: function onBlur() {
746
+ Object(i.ensureNotNull)(y.current).focus();
747
+ },
748
+ source: l,
749
+ allowUserDefinedValues: !0,
750
+ preventOnFocusOpen: !0,
751
+ noEmptyText: !0,
752
+ preventSearchOnEmptyQuery: !0,
753
+ filter: function filter(e, t) {
754
+ return Boolean("" === e || e && -1 !== t.toLowerCase().indexOf(e.toLowerCase()));
755
+ },
756
+ setupHTMLInput: function setupHTMLInput(e) {
757
+ L.current = e;
758
+ },
759
+ onSuggestionsOpen: function onSuggestionsOpen() {
760
+ S(!0);
761
+ },
762
+ onSuggestionsClose: function onSuggestionsClose() {
763
+ S(!1);
764
+ }
765
+ })), r.a.createElement("div", {
766
+ className: x.saveSymbol
767
+ }, r.a.createElement(u.a, {
768
+ label: r.a.createElement("span", {
769
+ className: x.hintLabel
770
+ }, k, r.a.createElement(v.a, {
771
+ icon: E,
772
+ className: c(x.hintMark, "apply-common-tooltip"),
773
+ title: n
774
+ })),
775
+ onChange: function onChange() {
776
+ b(!f), Object(i.ensureNotNull)(y.current).focus();
777
+ },
778
+ checked: f
779
+ })), r.a.createElement("div", {
780
+ className: x.saveInterval
781
+ }, r.a.createElement(u.a, {
782
+ label: r.a.createElement("span", {
783
+ className: x.hintLabel
784
+ }, A, r.a.createElement(v.a, {
785
+ icon: E,
786
+ className: c(x.hintMark, "apply-common-tooltip"),
787
+ title: s
788
+ })),
789
+ onChange: function onChange() {
790
+ w(!_), Object(i.ensureNotNull)(y.current).focus();
791
+ },
792
+ checked: _
793
+ })), r.a.createElement("div", {
794
+ className: x.title
795
+ }, T), r.a.createElement("div", {
796
+ className: c(x.indicators, C && x.withSuggestions)
797
+ }, o)));
798
+ }
799
+
800
+ var D = n("FQhm"),
801
+ I = n("ZjKI");
802
+
803
+ class j {
804
+ constructor(e) {
805
+ this._container = document.createElement("div"), this.close = () => {
806
+ this.unmount(), this._onClose && this._onClose();
807
+ }, this.unmount = () => {
808
+ D.unsubscribe(I.CLOSE_POPUPS_AND_DIALOGS_COMMAND, this.unmount, null), l.unmountComponentAtNode(this._container);
809
+ }, this._title = e.title, this._saveSymbolHintText = e.saveSymbolHintText, this._saveIntervalHintText = e.saveIntervalHintText, this._indicatorsText = e.indicatorsText, this._source = e.source, this._onSubmit = e.onSubmit, this._onClose = e.onClose, D.subscribe(I.CLOSE_POPUPS_AND_DIALOGS_COMMAND, this.unmount, null);
810
+ }
811
+
812
+ mount() {
813
+ l.render(r.a.createElement(L, {
814
+ title: this._title,
815
+ saveSymbolHintText: this._saveSymbolHintText,
816
+ saveIntervalHintText: this._saveIntervalHintText,
817
+ indicatorsText: this._indicatorsText,
818
+ source: this._source,
819
+ onClose: this.close,
820
+ onSubmit: this._onSubmit
821
+ }), this._container);
822
+ }
823
+
824
+ destroy() {
825
+ this.unmount();
826
+ }
827
+
828
+ show() {
829
+ this.mount();
830
+ }
831
+
832
+ }
833
+
834
+ var F = n("zUrt"),
835
+ U = n("fZEr"),
836
+ P = n("xDuj"),
837
+ V = n("8RO/");
838
+ n.d(t, "StudyTemplateSaver", function () {
839
+ return H;
840
+ });
841
+ const q = Object(o.t)("Save Indicator Template"),
842
+ M = Object(o.t)("Selecting this option will set the {symbol} symbol on the chart when this template is applied"),
843
+ B = Object(o.t)("Selecting this option will set the {interval} interval on the chart when this template is applied"),
844
+ R = Object(o.t)("Study Template '{templateName}' already exists. Do you really want to replace it?");
845
+
846
+ function K(e, t, n) {
847
+ const s = () => {
848
+ F.backend.invalidateStudyTemplatesList(), F.backend.getStudyTemplatesList().then(t);
849
+ };
850
+
851
+ F.backend.saveStudyTemplate(e).then(s);
852
+ }
853
+
854
+ class H {
855
+ constructor(e) {
856
+ this._dialog = null, this._onSave = e => {
857
+ this._options.onSave(e), this._close();
858
+ }, this._showSaveDialog = async () => {
859
+ const e = this._controller.model().mainSeries().symbol(),
860
+ t = this._controller.model().mainSeries().interval(),
861
+ n = await this._getActualTemplateList();
862
+
863
+ await this._showTemplateSaveRenameDialog(n, e, t);
864
+ }, this._close = () => {
865
+ this._dialog && (this._dialog.destroy(), this._dialog = null);
866
+ }, this._options = e, this._controller = e.controller;
867
+ }
868
+
869
+ show() {
870
+ window.runOrSignIn(this._showSaveDialog, {
871
+ source: "Study templates save as",
872
+ sourceMeta: "Chart"
873
+ });
874
+ }
875
+
876
+ _prepareData(e, t, n) {
877
+ const s = this._controller.model().studyTemplate(t, n);
878
+
879
+ return {
880
+ name: e,
881
+ content: JSON.stringify(s),
882
+ meta_info: Object(V.a)(this._controller, s.interval)
883
+ };
884
+ }
885
+
886
+ _doSave(e, t, n) {
887
+ const {
888
+ title: s,
889
+ saveSymbol: i,
890
+ saveInterval: o
891
+ } = t;
892
+ if (!s) return;
893
+
894
+ const a = n.manager() || void 0,
895
+ r = this._prepareData(s, i, o);
896
+
897
+ if (e.find(e => e.name === s)) {
898
+ const e = e => {
899
+ e ? K(r, this._onSave) : (n.focus(), n.dropLoading());
900
+ };
901
+
902
+ (function (e, t) {
903
+ return new Promise(n => Object(U.showConfirm)({
904
+ text: R.format({
905
+ templateName: e
906
+ }),
907
+ onConfirm: _ref2 => {
908
+ let {
909
+ dialogClose: e
910
+ } = _ref2;
911
+ n(!0), e();
912
+ },
913
+ onClose: () => n(!1)
914
+ }, t));
915
+ })(s, a).then(e);
916
+ } else {
917
+ K(r, this._onSave);
918
+ }
919
+ }
920
+
921
+ _getActualTemplateList() {
922
+ return F.backend.invalidateStudyTemplatesList(), F.backend.getStudyTemplatesList();
923
+ }
924
+
925
+ _showTemplateSaveRenameDialog(e, t, n) {
926
+ const s = Object(V.a)(this._controller);
927
+ (this._dialog = new j({
928
+ source: e.map(e => e.name),
929
+ title: q,
930
+ saveSymbolHintText: M.format({
931
+ symbol: t
932
+ }),
933
+ saveIntervalHintText: B.format({
934
+ interval: Object(P.translatedIntervalString)(n)
935
+ }),
936
+ indicatorsText: Object(V.b)(s.indicators),
937
+ onSubmit: (t, n) => this._doSave(e, t, n),
938
+ onClose: this._close
939
+ })).show();
940
+ }
941
+
942
+ }
943
+ },
944
+ ItnF: function ItnF(e, t, n) {
945
+ e.exports = {
946
+ dialog: "dialog-2cMrvu9r",
947
+ wrapper: "wrapper-2cMrvu9r",
948
+ separator: "separator-2cMrvu9r"
949
+ };
950
+ },
951
+ "ML8+": function ML8(e, t, n) {
952
+ "use strict";
953
+
954
+ n.d(t, "a", function () {
955
+ return l;
956
+ });
957
+ var s = n("q1tI"),
958
+ i = n("TSYQ"),
959
+ o = n("Iivm"),
960
+ a = n("cvzQ"),
961
+ r = n("R4+T");
962
+
963
+ function l(e) {
964
+ const {
965
+ dropped: t,
966
+ className: n
967
+ } = e;
968
+ return s.createElement(o.a, {
969
+ className: i(n, a.icon, {
970
+ [a.dropped]: t
971
+ }),
972
+ icon: r
973
+ });
974
+ }
975
+ },
976
+ O7m7: function O7m7(e, t, n) {},
977
+ "P4l+": function P4l(e, t, n) {},
978
+ "R4+T": function R4T(e, t) {
979
+ e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>';
980
+ },
981
+ R5JZ: function R5JZ(e, t, n) {
982
+ "use strict";
983
+
984
+ function s(e, t, n, s, i) {
985
+ function o(i) {
986
+ if (e > i.timeStamp) return;
987
+ const o = i.target;
988
+ void 0 !== n && null !== t && null !== o && o.ownerDocument === s && (t.contains(o) || n(i));
989
+ }
990
+
991
+ return i.click && s.addEventListener("click", o, !1), i.mouseDown && s.addEventListener("mousedown", o, !1), i.touchEnd && s.addEventListener("touchend", o, !1), i.touchStart && s.addEventListener("touchstart", o, !1), () => {
992
+ s.removeEventListener("click", o, !1), s.removeEventListener("mousedown", o, !1), s.removeEventListener("touchend", o, !1), s.removeEventListener("touchstart", o, !1);
993
+ };
994
+ }
995
+
996
+ n.d(t, "a", function () {
997
+ return s;
998
+ });
999
+ },
1000
+ XiJV: function XiJV(e, t, n) {
1001
+ e.exports = {
1002
+ separator: "separator-3No0pWrk"
1003
+ };
1004
+ },
1005
+ YZ9j: function YZ9j(e) {
1006
+ e.exports = JSON.parse('{"loader":"loader-8x1ZxRwP","item":"item-2-89r_cd","tv-button-loader":"tv-button-loader-23vqS1uY","black":"black-20Ytsf0V","white":"white-1ucCcc2I","gray":"gray-XDhHSS-T","loader-initial":"loader-initial-1deQDeio","loader-appear":"loader-appear-2krFtMrd"}');
1007
+ },
1008
+ cvzQ: function cvzQ(e, t, n) {
1009
+ e.exports = {
1010
+ icon: "icon-19OjtB6A",
1011
+ dropped: "dropped-19OjtB6A"
1012
+ };
1013
+ },
1014
+ fV0y: function fV0y(e, t, n) {
1015
+ "use strict";
1016
+
1017
+ var s = n("q1tI"),
1018
+ i = n("TSYQ"),
1019
+ o = n("0W35"),
1020
+ a = n("vCF3"),
1021
+ r = n("qibD");
1022
+ n("E9Pn");
1023
+
1024
+ class l extends s.PureComponent {
1025
+ render() {
1026
+ const _this$props = this.props,
1027
+ {
1028
+ inputClassName: e,
1029
+ labelClassName: t
1030
+ } = _this$props,
1031
+ n = _objectWithoutProperties(_this$props, _excluded),
1032
+ o = i(this.props.className, r.checkbox, {
1033
+ [r.reverse]: Boolean(this.props.labelPositionReverse),
1034
+ [r.baseline]: Boolean(this.props.labelAlignBaseline)
1035
+ }),
1036
+ l = i(r.label, t, {
1037
+ [r.disabled]: this.props.disabled
1038
+ });
1039
+
1040
+ let c = null;
1041
+ return this.props.label && (c = s.createElement("span", {
1042
+ className: l,
1043
+ title: this.props.title
1044
+ }, this.props.label)), s.createElement("label", {
1045
+ className: o
1046
+ }, s.createElement(a.a, _objectSpread(_objectSpread({}, n), {}, {
1047
+ className: e
1048
+ })), c);
1049
+ }
1050
+
1051
+ }
1052
+
1053
+ l.defaultProps = {
1054
+ value: "on"
1055
+ };
1056
+ Object(o.b)(l);
1057
+ n.d(t, "a", function () {
1058
+ return l;
1059
+ });
1060
+ },
1061
+ g89m: function g89m(e, t, n) {
1062
+ "use strict";
1063
+
1064
+ var s = n("q1tI"),
1065
+ i = n.n(s),
1066
+ o = n("Eyy1"),
1067
+ a = n("TSYQ"),
1068
+ r = n.n(a),
1069
+ l = n("/3z9"),
1070
+ c = n("d700"),
1071
+ u = n("WXjp"),
1072
+ h = n("02pg"),
1073
+ d = n("uhCe"),
1074
+ p = n("/KDZ"),
1075
+ m = n("pafz"),
1076
+ f = n("ZjKI"),
1077
+ b = n("FQhm"),
1078
+ g = n("Iivm");
1079
+ const v = i.a.createContext({
1080
+ setHideClose: () => {}
1081
+ });
1082
+
1083
+ var _ = n("zztK"),
1084
+ w = n("px1m");
1085
+
1086
+ function C(e) {
1087
+ const {
1088
+ title: t,
1089
+ subtitle: n,
1090
+ showCloseIcon: o = !0,
1091
+ onClose: a,
1092
+ renderBefore: l,
1093
+ renderAfter: c,
1094
+ draggable: u,
1095
+ className: h,
1096
+ unsetAlign: d
1097
+ } = e,
1098
+ [p, m] = Object(s.useState)(!1);
1099
+ return i.a.createElement(v.Provider, {
1100
+ value: {
1101
+ setHideClose: m
1102
+ }
1103
+ }, i.a.createElement("div", {
1104
+ className: r()(w.container, h, (n || d) && w.unsetAlign)
1105
+ }, l, i.a.createElement("div", {
1106
+ "data-dragg-area": u,
1107
+ className: w.title
1108
+ }, i.a.createElement("div", {
1109
+ className: w.ellipsis
1110
+ }, t), n && i.a.createElement("div", {
1111
+ className: r()(w.ellipsis, w.subtitle)
1112
+ }, n)), c, o && !p && i.a.createElement(g.a, {
1113
+ className: w.close,
1114
+ icon: _,
1115
+ onClick: a,
1116
+ "data-name": "close",
1117
+ "data-role": "button"
1118
+ })));
1119
+ }
1120
+
1121
+ var S = n("ItnF");
1122
+ n.d(t, "a", function () {
1123
+ return E;
1124
+ });
1125
+ const y = {
1126
+ vertical: 20
1127
+ },
1128
+ O = {
1129
+ vertical: 0
1130
+ };
1131
+
1132
+ class E extends i.a.PureComponent {
1133
+ constructor() {
1134
+ super(...arguments), this._controller = null, this._reference = null, this._renderChildren = (e, t) => (this._controller = e, this.props.render({
1135
+ requestResize: this._requestResize,
1136
+ centerAndFit: this._centerAndFit,
1137
+ isSmallWidth: t
1138
+ })), this._handleReference = e => this._reference = e, this._handleClose = () => {
1139
+ this.props.onClose();
1140
+ }, this._handleKeyDown = e => {
1141
+ var t;
1142
+ if (!e.defaultPrevented) switch (this.props.onKeyDown && this.props.onKeyDown(e), Object(l.hashFromEvent)(e)) {
1143
+ case 27:
1144
+ if (e.defaultPrevented) return;
1145
+ if (this.props.forceCloseOnEsc && this.props.forceCloseOnEsc()) return void this._handleClose();
1146
+ const {
1147
+ activeElement: n
1148
+ } = document,
1149
+ s = Object(o.ensureNotNull)(this._reference);
1150
+
1151
+ if (null !== n) {
1152
+ if (e.preventDefault(), "true" === (t = n).getAttribute("data-haspopup") && "true" !== t.getAttribute("data-expanded")) return void this._handleClose();
1153
+ if (Object(c.b)(n)) return void s.focus();
1154
+ if (s.contains(n)) return void this._handleClose();
1155
+ }
1156
+
1157
+ }
1158
+ }, this._requestResize = () => {
1159
+ null !== this._controller && this._controller.recalculateBounds();
1160
+ }, this._centerAndFit = () => {
1161
+ null !== this._controller && this._controller.centerAndFit();
1162
+ };
1163
+ }
1164
+
1165
+ componentDidMount() {
1166
+ b.subscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND, this._handleClose, null);
1167
+ }
1168
+
1169
+ componentWillUnmount() {
1170
+ b.unsubscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND, this._handleClose, null);
1171
+ }
1172
+
1173
+ focus() {
1174
+ Object(o.ensureNotNull)(this._reference).focus();
1175
+ }
1176
+
1177
+ getElement() {
1178
+ return this._reference;
1179
+ }
1180
+
1181
+ contains(e) {
1182
+ var t, n;
1183
+ return null !== (n = null === (t = this._reference) || void 0 === t ? void 0 : t.contains(e)) && void 0 !== n && n;
1184
+ }
1185
+
1186
+ render() {
1187
+ const {
1188
+ className: e,
1189
+ headerClassName: t,
1190
+ isOpened: n,
1191
+ title: s,
1192
+ dataName: o,
1193
+ onClickOutside: a,
1194
+ additionalElementPos: l,
1195
+ additionalHeaderElement: c,
1196
+ backdrop: f,
1197
+ shouldForceFocus: b = !0,
1198
+ showSeparator: g,
1199
+ subtitle: v,
1200
+ draggable: _ = !0,
1201
+ fullScreen: w = !1,
1202
+ showCloseIcon: E = !0,
1203
+ rounded: x = !0,
1204
+ isAnimationEnabled: N,
1205
+ growPoint: T,
1206
+ dialogTooltip: k,
1207
+ unsetHeaderAlign: A
1208
+ } = this.props,
1209
+ L = "after" !== l ? c : void 0,
1210
+ D = "after" === l ? c : void 0;
1211
+ return i.a.createElement(p.a, {
1212
+ rule: d.a.SmallHeight
1213
+ }, l => i.a.createElement(p.a, {
1214
+ rule: d.a.TabletSmall
1215
+ }, c => i.a.createElement(u.a, {
1216
+ rounded: !(c || w) && x,
1217
+ className: r()(S.dialog, e),
1218
+ isOpened: n,
1219
+ reference: this._handleReference,
1220
+ onKeyDown: this._handleKeyDown,
1221
+ onClickOutside: a,
1222
+ onClickBackdrop: a,
1223
+ fullscreen: c || w,
1224
+ guard: l ? O : y,
1225
+ boundByScreen: c || w,
1226
+ shouldForceFocus: b,
1227
+ backdrop: f,
1228
+ draggable: _,
1229
+ isAnimationEnabled: N,
1230
+ growPoint: T,
1231
+ name: this.props.dataName,
1232
+ dialogTooltip: k
1233
+ }, i.a.createElement("div", {
1234
+ className: S.wrapper,
1235
+ "data-name": o,
1236
+ "data-dialog-name": "string" == typeof s ? s : ""
1237
+ }, void 0 !== s && i.a.createElement(C, {
1238
+ draggable: _ && !(c || w),
1239
+ onClose: this._handleClose,
1240
+ renderAfter: D,
1241
+ renderBefore: L,
1242
+ subtitle: v,
1243
+ title: s,
1244
+ showCloseIcon: E,
1245
+ className: t,
1246
+ unsetAlign: A
1247
+ }), g && i.a.createElement(h.a, {
1248
+ className: S.separator
1249
+ }), i.a.createElement(m.a.Consumer, null, e => this._renderChildren(e, c || w))))));
1250
+ }
1251
+
1252
+ }
1253
+ },
1254
+ ijHL: function ijHL(e, t, n) {
1255
+ "use strict";
1256
+
1257
+ function s(e) {
1258
+ return o(e, a);
1259
+ }
1260
+
1261
+ function i(e) {
1262
+ return o(e, r);
1263
+ }
1264
+
1265
+ function o(e, t) {
1266
+ const n = Object.entries(e).filter(t),
1267
+ s = {};
1268
+
1269
+ for (const [e, t] of n) s[e] = t;
1270
+
1271
+ return s;
1272
+ }
1273
+
1274
+ function a(e) {
1275
+ const [t, n] = e;
1276
+ return 0 === t.indexOf("data-") && "string" == typeof n;
1277
+ }
1278
+
1279
+ function r(e) {
1280
+ return 0 === e[0].indexOf("aria-");
1281
+ }
1282
+
1283
+ n.d(t, "b", function () {
1284
+ return s;
1285
+ }), n.d(t, "a", function () {
1286
+ return i;
1287
+ }), n.d(t, "c", function () {
1288
+ return o;
1289
+ }), n.d(t, "e", function () {
1290
+ return a;
1291
+ }), n.d(t, "d", function () {
1292
+ return r;
1293
+ });
1294
+ },
1295
+ "j+m7": function jM7(e, t, n) {
1296
+ e.exports = {
1297
+ container: "container-1FV_LSwA",
1298
+ withSuggestions: "withSuggestions-1FV_LSwA",
1299
+ title: "title-1FV_LSwA",
1300
+ autocomplete: "autocomplete-1FV_LSwA",
1301
+ saveSymbol: "saveSymbol-1FV_LSwA",
1302
+ saveInterval: "saveInterval-1FV_LSwA",
1303
+ indicators: "indicators-1FV_LSwA",
1304
+ hintLabel: "hintLabel-1FV_LSwA",
1305
+ hintMark: "hintMark-1FV_LSwA"
1306
+ };
1307
+ },
1308
+ mwqF: function mwqF(e, t, n) {
1309
+ "use strict";
1310
+
1311
+ var s = n("q1tI"),
1312
+ i = n.n(s),
1313
+ o = n("TSYQ"),
1314
+ a = n("wwkJ"),
1315
+ r = n("ZWNO");
1316
+
1317
+ function l(e, t) {
1318
+ const {
1319
+ intent: n = "primary",
1320
+ size: s = "m",
1321
+ appearance: i = "default",
1322
+ useFullWidth: a = !1,
1323
+ tabIndex: l = 0,
1324
+ icon: c,
1325
+ className: u,
1326
+ isGrouped: h,
1327
+ cellState: d,
1328
+ disablePositionAdjustment: p = !1
1329
+ } = t,
1330
+ m = function (e, t) {
1331
+ let n = "";
1332
+ return 0 !== e && (1 & e && (n = o(n, t["no-corner-top-left"])), 2 & e && (n = o(n, t["no-corner-top-right"])), 4 & e && (n = o(n, t["no-corner-bottom-right"])), 8 & e && (n = o(n, t["no-corner-bottom-left"]))), n;
1333
+ }(Object(r.a)(d), e);
1334
+
1335
+ return o(u, e.button, e["size-" + s], e["intent-" + n], e["appearance-" + i], a && e["full-width"], -1 === l && e.noOutline, c && "s" !== s && e["with-icon"], m, h && e.grouped, !p && e["adjust-position"], d.isTop && e["first-row"], d.isLeft && e["first-col"]);
1336
+ }
1337
+
1338
+ var c = n("2A9e");
1339
+ n("+l/S");
1340
+
1341
+ function u(e) {
1342
+ const {
1343
+ className: t,
1344
+ intent: n,
1345
+ size: r,
1346
+ appearance: u,
1347
+ disabled: h,
1348
+ useFullWidth: d,
1349
+ reference: p,
1350
+ icon: m,
1351
+ children: f,
1352
+ tabIndex: b
1353
+ } = e,
1354
+ g = _objectWithoutProperties(e, _excluded2),
1355
+ {
1356
+ isGrouped: v,
1357
+ cellState: _,
1358
+ disablePositionAdjustment: w
1359
+ } = Object(s.useContext)(a.a),
1360
+ C = l(c, {
1361
+ intent: n,
1362
+ size: r,
1363
+ appearance: u,
1364
+ disabled: h,
1365
+ useFullWidth: d,
1366
+ tabIndex: b,
1367
+ icon: m,
1368
+ isGrouped: v,
1369
+ cellState: _,
1370
+ disablePositionAdjustment: w
1371
+ });
1372
+
1373
+ return i.a.createElement("button", _objectSpread({
1374
+ className: o(C, t),
1375
+ disabled: h,
1376
+ ref: p,
1377
+ tabIndex: b
1378
+ }, g), m && "s" !== r && i.a.createElement("span", {
1379
+ className: c.icon
1380
+ }, m), i.a.createElement("span", {
1381
+ className: c.content
1382
+ }, f));
1383
+ }
1384
+
1385
+ n.d(t, "a", function () {
1386
+ return u;
1387
+ });
1388
+ },
1389
+ px1m: function px1m(e, t, n) {
1390
+ e.exports = {
1391
+ "small-height-breakpoint": "screen and (max-height: 360px)",
1392
+ container: "container-2sL5JydP",
1393
+ unsetAlign: "unsetAlign-2sL5JydP",
1394
+ title: "title-2sL5JydP",
1395
+ subtitle: "subtitle-2sL5JydP",
1396
+ ellipsis: "ellipsis-2sL5JydP",
1397
+ close: "close-2sL5JydP"
1398
+ };
1399
+ },
1400
+ qibD: function qibD(e) {
1401
+ e.exports = JSON.parse('{"checkbox":"checkbox-3xZUD-2M","reverse":"reverse-3xeTx96y","label":"label-cyItEVpF","baseline":"baseline-6TXKro4X"}');
1402
+ },
1403
+ tUxN: function tUxN(e, t) {
1404
+ e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>';
1405
+ },
1406
+ tz2P: function tz2P(e, t, n) {
1407
+ e.exports = {
1408
+ loading: "loading-20Nb4yny"
1409
+ };
1410
+ },
1411
+ uhCe: function uhCe(e, t, n) {
1412
+ "use strict";
1413
+
1414
+ n.d(t, "a", function () {
1415
+ return i;
1416
+ });
1417
+ var s = n("ASyk");
1418
+ const i = {
1419
+ SmallHeight: s["small-height-breakpoint"],
1420
+ TabletSmall: s["tablet-small-breakpoint"],
1421
+ TabletNormal: s["tablet-normal-breakpoint"]
1422
+ };
1423
+ },
1424
+ vCF3: function vCF3(e, t, n) {
1425
+ "use strict";
1426
+
1427
+ n.d(t, "a", function () {
1428
+ return l;
1429
+ });
1430
+ var s = n("q1tI"),
1431
+ i = n("TSYQ"),
1432
+ o = n("Iivm"),
1433
+ a = n("tUxN"),
1434
+ r = n("F0Qt");
1435
+ n("P4l+");
1436
+
1437
+ function l(e) {
1438
+ const t = i(r.box, r["intent-" + e.intent], {
1439
+ [r.check]: !Boolean(e.indeterminate),
1440
+ [r.dot]: Boolean(e.indeterminate),
1441
+ [r.noOutline]: -1 === e.tabIndex
1442
+ }),
1443
+ n = i(r.wrapper, e.className);
1444
+ return s.createElement("span", {
1445
+ className: n,
1446
+ title: e.title
1447
+ }, s.createElement("input", {
1448
+ id: e.id,
1449
+ tabIndex: e.tabIndex,
1450
+ className: r.input,
1451
+ type: "checkbox",
1452
+ name: e.name,
1453
+ checked: e.checked,
1454
+ disabled: e.disabled,
1455
+ value: e.value,
1456
+ autoFocus: e.autoFocus,
1457
+ role: e.role,
1458
+ onChange: function onChange() {
1459
+ e.onChange && e.onChange(e.value);
1460
+ },
1461
+ ref: e.reference
1462
+ }), s.createElement("span", {
1463
+ className: t
1464
+ }, s.createElement(o.a, {
1465
+ icon: a,
1466
+ className: r.icon
1467
+ })));
1468
+ }
1469
+ },
1470
+ xJ0h: function xJ0h(e, t) {
1471
+ e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 8.5h1.5V14"/><circle fill="currentColor" cx="9" cy="5" r="1"/><path stroke="currentColor" d="M16.5 9a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0z"/></svg>';
1472
+ },
1473
+ ycFu: function ycFu(e, t, n) {
1474
+ "use strict";
1475
+
1476
+ n.d(t, "a", function () {
1477
+ return d;
1478
+ });
1479
+ var s = n("q1tI"),
1480
+ i = n.n(s),
1481
+ o = n("TSYQ"),
1482
+ a = n.n(o),
1483
+ r = n("mwqF"),
1484
+ l = n("Eyy1"),
1485
+ c = (n("YFKU"), n("/3z9")),
1486
+ u = n("g89m"),
1487
+ h = n("8NUT");
1488
+
1489
+ class d extends i.a.PureComponent {
1490
+ constructor() {
1491
+ super(...arguments), this._dialogRef = i.a.createRef(), this._handleClose = () => {
1492
+ const {
1493
+ defaultActionOnClose: e,
1494
+ onSubmit: t,
1495
+ onCancel: n,
1496
+ onClose: s
1497
+ } = this.props;
1498
+
1499
+ switch (e) {
1500
+ case "submit":
1501
+ t();
1502
+ break;
1503
+
1504
+ case "cancel":
1505
+ n();
1506
+ }
1507
+
1508
+ s();
1509
+ }, this._handleCancel = () => {
1510
+ this.props.onCancel(), this.props.onClose();
1511
+ }, this._handleKeyDown = e => {
1512
+ const {
1513
+ onSubmit: t,
1514
+ submitButtonDisabled: n,
1515
+ submitOnEnterKey: s
1516
+ } = this.props;
1517
+
1518
+ switch (Object(c.hashFromEvent)(e)) {
1519
+ case 13:
1520
+ !n && s && (e.preventDefault(), t());
1521
+ }
1522
+ };
1523
+ }
1524
+
1525
+ render() {
1526
+ const _this$props2 = this.props,
1527
+ {
1528
+ render: e,
1529
+ onClose: t,
1530
+ onSubmit: n,
1531
+ onCancel: s,
1532
+ footerLeftRenderer: o,
1533
+ submitButtonText: a,
1534
+ submitButtonDisabled: r,
1535
+ defaultActionOnClose: l,
1536
+ submitOnEnterKey: c
1537
+ } = _this$props2,
1538
+ h = _objectWithoutProperties(_this$props2, _excluded3);
1539
+
1540
+ return i.a.createElement(u.a, _objectSpread(_objectSpread({}, h), {}, {
1541
+ ref: this._dialogRef,
1542
+ onKeyDown: this._handleKeyDown,
1543
+ render: this._renderChildren(),
1544
+ onClose: this._handleClose
1545
+ }));
1546
+ }
1547
+
1548
+ focus() {
1549
+ Object(l.ensureNotNull)(this._dialogRef.current).focus();
1550
+ }
1551
+
1552
+ _renderChildren() {
1553
+ return e => {
1554
+ const {
1555
+ render: t,
1556
+ footerLeftRenderer: n,
1557
+ additionalButtons: s,
1558
+ submitButtonText: o,
1559
+ submitButtonDisabled: l,
1560
+ onSubmit: c,
1561
+ cancelButtonText: u,
1562
+ showCancelButton: d = !0,
1563
+ submitButtonClassName: p,
1564
+ cancelButtonClassName: m,
1565
+ buttonsWrapperClassName: f
1566
+ } = this.props;
1567
+ return i.a.createElement(i.a.Fragment, null, t(e), i.a.createElement("div", {
1568
+ className: h.footer
1569
+ }, n && n(e.isSmallWidth), i.a.createElement("div", {
1570
+ className: a()(h.buttons, f)
1571
+ }, s, d && i.a.createElement(r.a, {
1572
+ className: m,
1573
+ name: "cancel",
1574
+ appearance: "stroke",
1575
+ onClick: this._handleCancel
1576
+ }, null != u ? u : window.t("Cancel")), i.a.createElement("span", {
1577
+ className: h.submitButton
1578
+ }, i.a.createElement(r.a, {
1579
+ className: p,
1580
+ disabled: l,
1581
+ name: "submit",
1582
+ onClick: c,
1583
+ "data-name": "submit-button"
1584
+ }, null != o ? o : window.t("Ok"))))));
1585
+ };
1586
+ }
1587
+
1588
+ }
1589
+
1590
+ d.defaultProps = {
1591
+ defaultActionOnClose: "submit",
1592
+ submitOnEnterKey: !0
1593
+ };
1594
+ },
1595
+ zztK: function zztK(e, t) {
1596
+ e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="none"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>';
1597
+ }
1598
+ }]);