binbot-charts 0.5.9 → 0.6.0

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 (312) hide show
  1. package/dist/TVChartContainer.d.mts +45 -0
  2. package/dist/TVChartContainer.d.ts +45 -0
  3. package/dist/TVChartContainer.js +752 -0
  4. package/dist/TVChartContainer.js.map +1 -0
  5. package/dist/TVChartContainer.mjs +735 -0
  6. package/dist/TVChartContainer.mjs.map +1 -0
  7. package/package.json +4 -2
  8. package/dist/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -112
  9. package/dist/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  10. package/dist/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -322
  11. package/dist/public/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  12. package/dist/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  13. package/dist/public/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  14. package/dist/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  15. package/dist/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -89
  16. package/dist/public/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  17. package/dist/public/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  18. package/dist/public/charting_library/bundles/18.78de69cfba051874e071.js +0 -120
  19. package/dist/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  20. package/dist/public/charting_library/bundles/2.60931787a6734697ac13.js +0 -118
  21. package/dist/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -128
  22. package/dist/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  23. package/dist/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  24. package/dist/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  25. package/dist/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  26. package/dist/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -611
  27. package/dist/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  28. package/dist/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -69
  29. package/dist/public/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  30. package/dist/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  31. package/dist/public/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  32. package/dist/public/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -231
  33. package/dist/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -166
  34. package/dist/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -121
  35. package/dist/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  36. package/dist/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  37. package/dist/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  38. package/dist/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  39. package/dist/public/charting_library/bundles/37.90129e4904155350d6a1.js +0 -199
  40. package/dist/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -74
  41. package/dist/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  42. package/dist/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  43. package/dist/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -29
  44. package/dist/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  45. package/dist/public/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  46. package/dist/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  47. package/dist/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -363
  48. package/dist/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  49. package/dist/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -114
  50. package/dist/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -95
  51. package/dist/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  52. package/dist/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  53. package/dist/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -62
  54. package/dist/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  55. package/dist/public/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  56. package/dist/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  57. package/dist/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -76
  58. package/dist/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -203
  59. package/dist/public/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -303
  60. package/dist/public/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -95
  61. package/dist/public/charting_library/bundles/57.236996ec416da4c1f683.js +0 -108
  62. package/dist/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -61
  63. package/dist/public/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  64. package/dist/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  65. package/dist/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  66. package/dist/public/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -118
  67. package/dist/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -61
  68. package/dist/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  69. package/dist/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  70. package/dist/public/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  71. package/dist/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  72. package/dist/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  73. package/dist/public/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  74. package/dist/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  75. package/dist/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -68
  76. package/dist/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  77. package/dist/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  78. package/dist/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  79. package/dist/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  80. package/dist/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  81. package/dist/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  82. package/dist/public/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  83. package/dist/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  84. package/dist/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  85. package/dist/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  86. package/dist/public/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  87. package/dist/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  88. package/dist/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  89. package/dist/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  90. package/dist/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  91. package/dist/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  92. package/dist/public/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  93. package/dist/public/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  94. package/dist/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  95. package/dist/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  96. package/dist/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  97. package/dist/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  98. package/dist/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  99. package/dist/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  100. package/dist/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  101. package/dist/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  102. package/dist/public/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  103. package/dist/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  104. package/dist/public/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  105. package/dist/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -263
  106. package/dist/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -52
  107. package/dist/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -399
  108. package/dist/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -97
  109. package/dist/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -49
  110. package/dist/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -1199
  111. package/dist/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -181
  112. package/dist/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -107
  113. package/dist/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -131
  114. package/dist/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -71
  115. package/dist/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -250
  116. package/dist/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -78
  117. package/dist/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -508
  118. package/dist/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -92
  119. package/dist/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -85
  120. package/dist/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -104
  121. package/dist/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -361
  122. package/dist/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -224
  123. package/dist/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -228
  124. package/dist/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -26194
  125. package/dist/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -60
  126. package/dist/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -101
  127. package/dist/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -116
  128. package/dist/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -4029
  129. package/dist/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -735
  130. package/dist/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -16
  131. package/dist/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -369
  132. package/dist/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -130
  133. package/dist/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -405
  134. package/dist/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -1807
  135. package/dist/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -3715
  136. package/dist/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -354
  137. package/dist/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -566
  138. package/dist/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -79
  139. package/dist/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -8
  140. package/dist/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -52
  141. package/dist/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -5
  142. package/dist/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -11
  143. package/dist/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -189
  144. package/dist/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -39
  145. package/dist/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -174
  146. package/dist/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -204
  147. package/dist/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -125
  148. package/dist/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -320
  149. package/dist/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -123
  150. package/dist/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -35
  151. package/dist/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -74
  152. package/dist/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -1304
  153. package/dist/public/charting_library/charting_library.cjs.js +0 -98
  154. package/dist/public/charting_library/charting_library.esm.js +0 -101
  155. package/dist/public/charting_library/charting_library.js +0 -99
  156. package/dist/public/charting_library/charting_library.standalone.js +0 -99
  157. package/dist/src/App.js +0 -81
  158. package/dist/src/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -112
  159. package/dist/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  160. package/dist/src/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -322
  161. package/dist/src/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  162. package/dist/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  163. package/dist/src/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  164. package/dist/src/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  165. package/dist/src/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -89
  166. package/dist/src/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  167. package/dist/src/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  168. package/dist/src/charting_library/bundles/18.78de69cfba051874e071.js +0 -120
  169. package/dist/src/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  170. package/dist/src/charting_library/bundles/2.60931787a6734697ac13.js +0 -118
  171. package/dist/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -128
  172. package/dist/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  173. package/dist/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  174. package/dist/src/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  175. package/dist/src/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  176. package/dist/src/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -611
  177. package/dist/src/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  178. package/dist/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -69
  179. package/dist/src/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  180. package/dist/src/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  181. package/dist/src/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  182. package/dist/src/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -231
  183. package/dist/src/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -166
  184. package/dist/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -121
  185. package/dist/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  186. package/dist/src/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  187. package/dist/src/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  188. package/dist/src/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  189. package/dist/src/charting_library/bundles/37.90129e4904155350d6a1.js +0 -199
  190. package/dist/src/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -74
  191. package/dist/src/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  192. package/dist/src/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  193. package/dist/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -29
  194. package/dist/src/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  195. package/dist/src/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  196. package/dist/src/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  197. package/dist/src/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -363
  198. package/dist/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  199. package/dist/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -114
  200. package/dist/src/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -95
  201. package/dist/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  202. package/dist/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  203. package/dist/src/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -62
  204. package/dist/src/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  205. package/dist/src/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  206. package/dist/src/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  207. package/dist/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -76
  208. package/dist/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -203
  209. package/dist/src/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -303
  210. package/dist/src/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -95
  211. package/dist/src/charting_library/bundles/57.236996ec416da4c1f683.js +0 -108
  212. package/dist/src/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -61
  213. package/dist/src/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  214. package/dist/src/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  215. package/dist/src/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  216. package/dist/src/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -118
  217. package/dist/src/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -61
  218. package/dist/src/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  219. package/dist/src/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  220. package/dist/src/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  221. package/dist/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  222. package/dist/src/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  223. package/dist/src/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  224. package/dist/src/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  225. package/dist/src/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -68
  226. package/dist/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  227. package/dist/src/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  228. package/dist/src/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  229. package/dist/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  230. package/dist/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  231. package/dist/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  232. package/dist/src/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  233. package/dist/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  234. package/dist/src/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  235. package/dist/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  236. package/dist/src/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  237. package/dist/src/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  238. package/dist/src/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  239. package/dist/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  240. package/dist/src/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  241. package/dist/src/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  242. package/dist/src/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  243. package/dist/src/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  244. package/dist/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  245. package/dist/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  246. package/dist/src/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  247. package/dist/src/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  248. package/dist/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  249. package/dist/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  250. package/dist/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  251. package/dist/src/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  252. package/dist/src/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  253. package/dist/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  254. package/dist/src/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  255. package/dist/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -263
  256. package/dist/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -52
  257. package/dist/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -399
  258. package/dist/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -97
  259. package/dist/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -49
  260. package/dist/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -1199
  261. package/dist/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -181
  262. package/dist/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -107
  263. package/dist/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -131
  264. package/dist/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -71
  265. package/dist/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -250
  266. package/dist/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -78
  267. package/dist/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -508
  268. package/dist/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -92
  269. package/dist/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -85
  270. package/dist/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -104
  271. package/dist/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -361
  272. package/dist/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -224
  273. package/dist/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -228
  274. package/dist/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -26194
  275. package/dist/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -60
  276. package/dist/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -101
  277. package/dist/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -116
  278. package/dist/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -4029
  279. package/dist/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -735
  280. package/dist/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -16
  281. package/dist/src/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -369
  282. package/dist/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -130
  283. package/dist/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -405
  284. package/dist/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -1807
  285. package/dist/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -3715
  286. package/dist/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -354
  287. package/dist/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -566
  288. package/dist/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -79
  289. package/dist/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -8
  290. package/dist/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -52
  291. package/dist/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -5
  292. package/dist/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -11
  293. package/dist/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -189
  294. package/dist/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -39
  295. package/dist/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -174
  296. package/dist/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -204
  297. package/dist/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -125
  298. package/dist/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -320
  299. package/dist/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -123
  300. package/dist/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -35
  301. package/dist/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -74
  302. package/dist/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -1304
  303. package/dist/src/charting_library/charting_library.cjs.js +0 -98
  304. package/dist/src/charting_library/charting_library.esm.js +0 -101
  305. package/dist/src/charting_library/charting_library.js +0 -99
  306. package/dist/src/charting_library/charting_library.standalone.js +0 -515
  307. package/dist/src/components/TVChartContainer.js +0 -122
  308. package/dist/src/components/datafeed.js +0 -199
  309. package/dist/src/components/helpers.js +0 -58
  310. package/dist/src/components/index.js +0 -7
  311. package/dist/src/components/streaming.js +0 -92
  312. package/dist/src/index.js +0 -14
@@ -1,174 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __rest = (this && this.__rest) || function (s, e) {
11
- var t = {};
12
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
13
- t[p] = s[p];
14
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
15
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
16
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
17
- t[p[i]] = s[p[i]];
18
- }
19
- return t;
20
- };
21
- (window.webpackJsonp = window.webpackJsonp || []).push([["study-market"], { "++0f": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentcolor" stroke-width="1.3" d="M12 9l5 5-5 5"/></svg>'; }, "+l/S": function (e, t, n) { }, "/KDZ": function (e, t, n) {
22
- "use strict";
23
- n.d(t, "a", (function () { return r; }));
24
- var i = n("q1tI");
25
- class r extends i.PureComponent {
26
- constructor(e) { super(e), this._handleChange = () => { this.forceUpdate(); }, this.state = { query: window.matchMedia(this.props.rule) }; }
27
- componentDidMount() { this._subscribe(this.state.query); }
28
- componentDidUpdate(e, t) { this.state.query !== t.query && (this._unsubscribe(t.query), this._subscribe(this.state.query)); }
29
- componentWillUnmount() { this._unsubscribe(this.state.query); }
30
- render() { return this.props.children(this.state.query.matches); }
31
- static getDerivedStateFromProps(e, t) { return e.rule !== t.query.media ? { query: window.matchMedia(e.rule) } : null; }
32
- _subscribe(e) { e.addListener(this._handleChange); }
33
- _unsubscribe(e) { e.removeListener(this._handleChange); }
34
- }
35
- }, "0NLZ": function (e, t, n) { e.exports = { container: "container-12vIMEmh" }; }, "2A9e": function (e) { 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"}'); }, "2x13": function (e, t, n) { e.exports = { wrapper: "wrapper-DggvOZTm", container: "container-DggvOZTm", tab: "tab-DggvOZTm", active: "active-DggvOZTm", title: "title-DggvOZTm", icon: "icon-DggvOZTm", titleText: "titleText-DggvOZTm", nested: "nested-DggvOZTm", isTablet: "isTablet-DggvOZTm", isMobile: "isMobile-DggvOZTm" }; }, "9DSJ": function (e, t, n) { e.exports = { "tablet-small-breakpoint": "screen and (max-width: 428px)", dialog: "dialog-3kc5LZDR", dialogLibrary: "dialogLibrary-3kc5LZDR", listContainer: "listContainer-3kc5LZDR", scroll: "scroll-3kc5LZDR", sidebarContainer: "sidebarContainer-3kc5LZDR", noContentBlock: "noContentBlock-3kc5LZDR" }; }, An2S: function (e, t, n) {
36
- "use strict";
37
- n.d(t, "a", (function () { return d; })), n.d(t, "c", (function () { return m; })), n.d(t, "b", (function () { return p; }));
38
- var i = n("q1tI"), r = n.n(i), a = n("TSYQ"), s = n.n(a), o = n("Iivm"), l = n("++0f"), c = n("2x13");
39
- function u(e) { return { isMobile: "mobile" === e, isTablet: "tablet" === e }; }
40
- function d(e) { const { mode: t, className: n } = e, i = __rest(e, ["mode", "className"]), { isMobile: a, isTablet: o } = u(t), l = s()(c.container, o && c.isTablet, a && c.isMobile, n); return r.a.createElement("div", Object.assign(Object.assign({}, i), { className: l, "data-role": "dialog-sidebar" })); }
41
- function m(e) { return r.a.createElement("div", Object.assign({ className: c.wrapper }, e)); }
42
- function p(e) { const { mode: t, title: n, icon: i, isActive: a, onClick: d } = e, m = __rest(e, ["mode", "title", "icon", "isActive", "onClick"]), { isMobile: p, isTablet: h } = u(t); return r.a.createElement("div", Object.assign(Object.assign({}, m), { className: s()(c.tab, h && c.isTablet, p && c.isMobile, a && c.active), onClick: d }), r.a.createElement(o.a, { className: c.icon, icon: i }), !h && r.a.createElement("span", { className: c.title }, r.a.createElement("span", { className: c.titleText }, n), p && r.a.createElement(o.a, { className: c.nested, icon: l }))); }
43
- }, PMRz: function (e, t, n) { e.exports = { "tablet-small-breakpoint": "screen and (max-width: 428px)", container: "container-3Ywm3-oo", selected: "selected-3Ywm3-oo", disabled: "disabled-3Ywm3-oo", favorite: "favorite-3Ywm3-oo", actions: "actions-3Ywm3-oo", highlighted: "highlighted-3Ywm3-oo", light: "light-3Ywm3-oo", "highlight-animation-theme-light": "highlight-animation-theme-light-3Ywm3-oo", dark: "dark-3Ywm3-oo", "highlight-animation-theme-dark": "highlight-animation-theme-dark-3Ywm3-oo", pill: "pill-3Ywm3-oo", main: "main-3Ywm3-oo", paddingLeft: "paddingLeft-3Ywm3-oo", isActive: "isActive-3Ywm3-oo", author: "author-3Ywm3-oo", likes: "likes-3Ywm3-oo" }; }, XfUw: function (e, t) { 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="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'; }, ZWNO: function (e, t, n) {
44
- "use strict";
45
- function i(e) { let t = 0; return e.isTop && e.isLeft || (t += 1), e.isTop && e.isRight || (t += 2), e.isBottom && e.isLeft || (t += 8), e.isBottom && e.isRight || (t += 4), t; }
46
- n.d(t, "a", (function () { return i; }));
47
- }, cu5P: function (e, t, n) { e.exports = { title: "title-1gYObTuJ", disabled: "disabled-1gYObTuJ", icon: "icon-1gYObTuJ", locked: "locked-1gYObTuJ", open: "open-1gYObTuJ", actionIcon: "actionIcon-1gYObTuJ", selected: "selected-1gYObTuJ", codeIcon: "codeIcon-1gYObTuJ" }; }, fEjm: function (e, t, n) { e.exports = { favorite: "favorite-I_fAY9V2", disabled: "disabled-I_fAY9V2", active: "active-I_fAY9V2", checked: "checked-I_fAY9V2" }; }, iYOJ: function (e, t, n) { e.exports = { title: "title-hq9up-8e", small: "small-hq9up-8e", normal: "normal-hq9up-8e", large: "large-hq9up-8e" }; }, idtP: function (e, t, n) { e.exports = { container: "container-39xfFXyr", image: "image-39xfFXyr", title: "title-39xfFXyr", description: "description-39xfFXyr", button: "button-39xfFXyr" }; }, jPOK: function (e, t, n) {
48
- "use strict";
49
- n.d(t, "a", (function () { return s; }));
50
- var i = n("q1tI"), r = n("TSYQ"), a = n("Owlf");
51
- n("SzKR");
52
- function s(e) {
53
- const t = r("tv-spinner", "tv-spinner--shown", "tv-spinner--size_" + (e.size || a.a));
54
- return i.createElement("div", { className: t, style: e.style, role: "progressbar" }, i.createElement("div", { className: "tv-spinner__spinner-layer" }, i.createElement("div", { className: "tv-spinner__background tv-spinner__width_element" }), i.createElement("div", {
55
- className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--left"
56
- }), i.createElement("div", { className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--right" })));
57
- }
58
- }, mwqF: function (e, t, n) {
59
- "use strict";
60
- var i = n("q1tI"), r = n.n(i), a = n("TSYQ"), s = n("wwkJ"), o = n("ZWNO");
61
- function l(e, t) { const { intent: n = "primary", size: i = "m", appearance: r = "default", useFullWidth: s = !1, tabIndex: l = 0, icon: c, className: u, isGrouped: d, cellState: m, disablePositionAdjustment: p = !1 } = t, h = function (e, t) { let n = ""; return 0 !== e && (1 & e && (n = a(n, t["no-corner-top-left"])), 2 & e && (n = a(n, t["no-corner-top-right"])), 4 & e && (n = a(n, t["no-corner-bottom-right"])), 8 & e && (n = a(n, t["no-corner-bottom-left"]))), n; }(Object(o.a)(m), e); return a(u, e.button, e["size-" + i], e["intent-" + n], e["appearance-" + r], s && e["full-width"], -1 === l && e.noOutline, c && "s" !== i && e["with-icon"], h, d && e.grouped, !p && e["adjust-position"], m.isTop && e["first-row"], m.isLeft && e["first-col"]); }
62
- var c = n("2A9e");
63
- n("+l/S");
64
- function u(e) { const { className: t, intent: n, size: o, appearance: u, disabled: d, useFullWidth: m, reference: p, icon: h, children: g, tabIndex: f } = e, v = __rest(e, ["className", "intent", "size", "appearance", "disabled", "useFullWidth", "reference", "icon", "children", "tabIndex"]), { isGrouped: b, cellState: _, disablePositionAdjustment: y } = Object(i.useContext)(s.a), w = l(c, { intent: n, size: o, appearance: u, disabled: d, useFullWidth: m, tabIndex: f, icon: h, isGrouped: b, cellState: _, disablePositionAdjustment: y }); return r.a.createElement("button", Object.assign({ className: a(w, t), disabled: d, ref: p, tabIndex: f }, v), h && "s" !== o && r.a.createElement("span", { className: c.icon }, h), r.a.createElement("span", { className: c.content }, g)); }
65
- n.d(t, "a", (function () { return u; }));
66
- }, pr86: function (e, t, n) {
67
- "use strict";
68
- n.d(t, "a", (function () { return u; }));
69
- n("YFKU");
70
- var i = n("q1tI"), r = n("TSYQ"), a = n("Iivm"), s = n("sg5d"), o = n("XfUw"), l = n("fEjm");
71
- const c = { add: window.t("Add to favorites"), remove: window.t("Remove from favorites") };
72
- function u(e) { const { className: t, isFilled: n, isActive: u, onClick: d } = e, m = __rest(e, ["className", "isFilled", "isActive", "onClick"]); return i.createElement(a.a, Object.assign(Object.assign({}, m), { className: r(l.favorite, "apply-common-tooltip", n && l.checked, u && l.active, t), icon: n ? s : o, onClick: d, title: n ? c.remove : c.add })); }
73
- }, sg5d: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'; }, vbTm: function (e, t, n) { e.exports = { container: "container-gb0TB1FN" }; }, vqb8: function (e, t, n) {
74
- "use strict";
75
- n.d(t, "a", (function () { return r; }));
76
- var i = n("q1tI");
77
- const r = e => { const t = "watchedValue" in e ? e.watchedValue : void 0, n = "defaultValue" in e ? e.defaultValue : e.watchedValue.value(), [r, a] = Object(i.useState)(t ? t.value() : n); return Object(i.useEffect)(() => { if (t) {
78
- a(t.value());
79
- const e = e => a(e);
80
- return t.subscribe(e), () => t.unsubscribe(e);
81
- } return () => { }; }, [t]), r; };
82
- }, wwkJ: function (e, t, n) {
83
- "use strict";
84
- n.d(t, "a", (function () { return r; }));
85
- var i = n("q1tI");
86
- const r = n.n(i).a.createContext({ isGrouped: !1, cellState: { isTop: !0, isRight: !0, isBottom: !0, isLeft: !0 } });
87
- }, zbLM: function (e, t, n) {
88
- "use strict";
89
- n.r(t);
90
- var i = n("q1tI"), r = n.n(i), a = n("i8i4"), s = n.n(a), o = n("YFKU"), l = n("mMWL"), c = n("CW80"), u = n("0YCj"), d = n.n(u), m = n("Kxc7");
91
- function p(e, t) {
92
- const n = e.title.toLowerCase(), i = t.title.toLowerCase();
93
- return n < i ? -1 : n > i ? 1 : 0;
94
- }
95
- const h = { earning: new RegExp("EPS"), earnings: new RegExp("EPS"), "trailing twelve months": new RegExp("TTM") };
96
- function g(e) { var t; const { id: n, description: i, shortDescription: r, description_localized: a, is_hidden_study: s, version: l } = e, c = m.enabled("graying_disabled_tools_enabled") && (null === (t = window.ChartApiInstance) || void 0 === t ? void 0 : t.studiesAccessController.isToolGrayed(i)); return { id: n, title: a || Object(o.t)(i, { context: "study" }), shortDescription: r, shortTitle: r, isStrategy: d.a.isScriptStrategy(e), isHidden: s, descriptor: { type: "java", studyId: e.id }, packageName: d.a.getPackageName(n), isGrayed: c, version: l }; }
97
- var f = n("TSYQ"), v = n.n(f), b = n("jPOK"), _ = n("g89m"), y = n("qFKp"), w = n("QHWU"), O = n("An2S"), E = n("0NLZ");
98
- function N(e) { const { reference: t, className: n } = e, i = __rest(e, ["reference", "className"]); return r.a.createElement("div", Object.assign(Object.assign({ ref: t, className: v()(E.container, n) }, i), { "data-role": "dialog-content" })); }
99
- var k = n("cu5P");
100
- function C(e) { const { children: t, className: n, disabled: i } = e; return r.a.createElement("span", { className: v()(k.title, i && k.disabled, n) }, t); }
101
- const S = r.a.createContext(null);
102
- var x = n("1LIl"), T = n("vqb8"), j = n("oiZD"), I = n("zM7N"), D = n("pr86"), Y = n("/3z9"), R = n("PMRz");
103
- function q(e) { const t = Object(i.useContext)(S), { style: n, layoutMode: a, item: s, query: o, regExpRules: l, isBeta: c, isNew: u, isUpdated: d, isSelected: m, isHighlighted: p, reference: h, onClick: g, renderActions: f } = e, { isFavorite: b, isStrategy: _, isLocked: y, public: w } = s, O = void 0 !== b, E = F(g, s), N = Object(i.useCallback)(e => e.stopPropagation(), []), k = (null == t ? void 0 : t.toggleFavorite) ? F(t.toggleFavorite, s) : void 0, Y = Object(T.a)({ watchedValue: j.watchedTheme }) === I.a.Dark ? R.dark : R.light, q = v()(R.container, s.isGrayed && R.disabled, m && R.selected, p && R.highlighted, p && Y); return r.a.createElement("div", { ref: h, className: q, onClick: E, style: n, "data-role": "list-item", "data-disabled": s.isGrayed, "data-title": s.title, "data-id": s.id }, r.a.createElement("div", { className: v()(R.main, !O && R.paddingLeft) }, O && r.a.createElement(D.a, { className: v()(R.favorite, b && R.isActive), isFilled: b, onClick: k }), r.a.createElement(C, { disabled: s.isGrayed }, r.a.createElement(x.a, { queryString: o, rules: l, text: s.title })), !1, c && r.a.createElement(Pill, { label: "Beta", className: R.pill, color: "gray" }), u && r.a.createElement(Pill, { label: "New", className: R.pill, color: "orange" }), d && r.a.createElement(Pill, { label: "Updated", className: R.pill, color: "green" })), w && r.a.createElement("a", { href: w.authorLink, className: R.author, target: "_blank", onClick: N }, w.authorName), "mobile" !== a && w && r.a.createElement("span", { className: R.likes }, w.likesCount), !1); }
104
- function F(e, t) { return n => { const i = 0 === Object(Y.modifiersFromEvent)(n) && 0 === n.button; !n.defaultPrevented && e && i && (n.preventDefault(), e(t)); }; }
105
- var P = n("iYOJ");
106
- function L(e) { const { title: t, type: n, className: i } = e; return r.a.createElement("h3", { className: v()(P.title, "Small" === n && P.small, "Normal" === n && P.normal, "Large" === n && P.large, i) }, t); }
107
- var M = n("vbTm");
108
- function Z(e) { const { style: t, children: n } = e; return r.a.createElement("div", { style: t, className: M.container }, n); }
109
- var A = n("Iivm"), J = n("mwqF"), z = n("idtP");
110
- function B(e) {
111
- const { className: t, icon: n, title: i, description: a, buttonText: s, buttonAction: o } = e;
112
- return r.a.createElement("div", { className: v()(z.container, t) }, n && r.a.createElement(A.a, { icon: n, className: z.image }), i && r.a.createElement("h3", { className: z.title }, i), a && r.a.createElement("p", { className: z.description }, a), s && o && r.a.createElement(J.a, { onClick: o, className: z.button }, s));
113
- }
114
- function K(e) { const [t, n] = Object(i.useState)(null); function r(e) { return e.findIndex(e => (null == t ? void 0 : t.id) === e.id); } return [t, n, function () { n(function () { var n; const i = r(e), a = i === e.length - 1; return null === t || -1 === i ? null !== (n = e[0]) && void 0 !== n ? n : null : a ? e[i] : e[i + 1]; }()); }, function () { n(function () { var n; const i = r(e); return null === t || 0 === i || -1 === i ? null !== (n = e[0]) && void 0 !== n ? n : null : e[i - 1]; }()); }]; }
115
- var V = n("H9Gg"), W = n("9DSJ");
116
- function G(e) {
117
- const { reference: t, data: n, isOpened: a, onClose: s, applyStudy: l } = e, [c, u] = Object(i.useState)(""), d = Object(i.useMemo)(() => Object(V.a)(c, h), [c]), m = Object(i.useMemo)(() => c ? Object(V.c)({ data: n, rules: d, queryString: c, primaryKey: "shortDescription", secondaryKey: "title", optionalPrimaryKey: "shortTitle" }) : n, [c, d, n]), { highlightedItem: p, selectedItem: g, selectedNodeReference: f, scrollContainerRef: E, searchInputRef: k, onClickStudy: C, handleKeyDown: S } = function (e, t, n, r) { let a = 0; const [s, o] = Object(i.useState)(null), l = Object(i.useRef)(null), c = Object(i.useRef)(null), [u, d, m, p] = K(t), h = Object(i.useRef)(null); return Object(i.useEffect)(() => { e ? g(0) : d(null); }, [e]), Object(i.useEffect)(() => { void 0 !== r && (g(0), d(null)); }, [r]), Object(i.useEffect)(() => (s && (a = setTimeout(() => { o(null); }, 1500)), () => { clearInterval(a); }), [s]), { highlightedItem: s, scrollContainerRef: l, selectedNodeReference: c, selectedItem: u, searchInputRef: h, onClickStudy: function (e) { if (!n)
118
- return; n(e), d(e), o(e); }, handleKeyDown: function (e) { const [t, i] = function (e, t) { if (null === e.current || null === t.current)
119
- return [0, 0]; const n = e.current.getBoundingClientRect(), i = t.current.getBoundingClientRect(), { height: r } = n, a = n.top - i.top, s = n.bottom - i.bottom + r < 0 ? 0 : r, o = a - r > 0 ? 0 : r, { scrollTop: l } = t.current; return [l - o, l + s]; }(c, l); 40 === Object(Y.hashFromEvent)(e) && (e.preventDefault(), m(), g(i)); 38 === Object(Y.hashFromEvent)(e) && (e.preventDefault(), p(), g(t)); if (13 === Object(Y.hashFromEvent)(e) && u) {
120
- if (!n)
121
- return;
122
- n(u), o(u);
123
- } } }; function g(e) { null !== l.current && l.current.scrollTo && l.current.scrollTo(0, e); } }(a, m, l), x = "" === c && !m.length;
124
- return Object(i.useEffect)(() => { var e; a || u(""), y.CheckMobile.any() || null === (e = k.current) || void 0 === e || e.focus(); }, [a]), r.a.createElement(_.a, { isOpened: a, onClose: s, onClickOutside: s, className: v()(W.dialogLibrary), render: function () {
125
- return r.a.createElement(r.a.Fragment, null, r.a.createElement(w.a, { reference: k, placeholder: Object(o.t)("Search"), onChange: T, onFocus: j }), r.a.createElement(O.c, null, r.a.createElement(N, { reference: E, className: W.scroll }, x ? r.a.createElement(b.a, null) : m.length ? r.a.createElement(r.a.Fragment, null, r.a.createElement(Z, null, r.a.createElement(L, { title: Object(o.t)("Script name") })), m.map(e => {
126
- const t = (null == g ? void 0 : g.id) === e.id;
127
- return r.a.createElement(q, { key: e.id, item: e, onClick: () => C(e), query: c, regExpRules: d, reference: t ? f : void 0,
128
- isSelected: (null == g ? void 0 : g.id) === e.id, isHighlighted: (null == p ? void 0 : p.id) === e.id });
129
- })) : r.a.createElement(B, { className: W.noContentBlock, description: Object(o.t)("No indicators matched your criteria.") }))));
130
- }, title: Object(o.t)("Indicators"), dataName: "indicators-dialog", onKeyDown: S, ref: t });
131
- function T(e) { u(e.target.value); }
132
- function j() { var e; c.length > 0 && (null === (e = k.current) || void 0 === e || e.select()); }
133
- }
134
- var U = n("FQhm"), Q = n("hY0g"), X = n.n(Q);
135
- n.d(t, "IndicatorsLibraryContainer", (function () { return H; }));
136
- class H extends class {
137
- constructor(e) { this._searchInputRef = r.a.createRef(), this._dialog = r.a.createRef(), this._visibility = new X.a(!1), this._container = document.createElement("div"), this._isForceRender = !1, this._parentSource = null, this._isDestroyed = !1, this._chartWidgetCollection = e; }
138
- isDestroyed() { return this._isDestroyed; }
139
- visible() { return this._visibility.readonly(); }
140
- resetAllStudies() { }
141
- updateFavorites() { }
142
- open(e) { this._parentSource = null != e ? e : null, this._setProps({ isOpened: !0 }), this._visibility.setValue(!0), U.emit("indicators_dialog"); }
143
- show() { this.open(); }
144
- hide() { this._parentSource = null, this._setProps({ isOpened: !1 }), this._visibility.setValue(!1); }
145
- destroy() { this._isDestroyed = !0, s.a.unmountComponentAtNode(this._container); }
146
- _shouldPreventRender() { return this._isDestroyed || !this._isForceRender && !this._getProps().value().isOpened; }
147
- _getRenderData() { return { props: this._getProps().value(), container: this._getContainer() }; }
148
- _applyStudy(e) { var t, n; e.isGrayed ? U.emit("onGrayedObjectClicked", { type: "study", name: e.shortDescription }) : (y.CheckMobile.any() || null === (t = this._searchInputRef.current) || void 0 === t || t.select(), function (e, t, n) {
149
- return __awaiter(this, void 0, void 0, function* () { const i = t.descriptor; if ("java" === i.type) {
150
- const e = Object(c.tryFindStudyLineToolNameByStudyId)(i.studyId);
151
- if (null !== e)
152
- return l.tool.setValue(e), null;
153
- } const r = e.activeChartWidget.value(); return r ? r.insertStudy(t.descriptor, n, t.shortDescription) : null; });
154
- }(this._chartWidgetCollection, e, null !== (n = this._parentSource) && void 0 !== n ? n : void 0).then(() => { var e; y.CheckMobile.any() || (null === document.activeElement || document.activeElement === document.body || null !== this._dialog.current && this._dialog.current.contains(document.activeElement)) && (null === (e = this._searchInputRef.current) || void 0 === e || e.focus()); })); }
155
- _setProps(e) { const t = this._getProps().value(), { isOpened: n } = t; this._isForceRender = n && "isOpened" in e && !e.isOpened; const i = Object.assign(Object.assign({}, t), e); this._getProps().setValue(i); }
156
- _requestBuiltInJavaStudies() { return this._chartWidgetCollection.activeChartWidget.value().metaInfoRepository().findAllJavaStudies(); }
157
- _focus() { var e; this._getProps().value().isOpened && (null === (e = this._dialog.current) || void 0 === e || e.focus()); }
158
- _getContainer() { return this._container; }
159
- _getDialog() { return this._dialog; }
160
- } {
161
- constructor(e, t) { super(e), this._studies = {}, this._options = { onWidget: !1 }, this._getStudies = e => this._studies[e] || [], t && (this._options = t), this._props = new X.a({ data: [], applyStudy: this._applyStudy.bind(this), isOpened: !1, reference: this._getDialog(), onClose: this.hide.bind(this) }), this._getProps().subscribe(this._render.bind(this)), this._init(); }
162
- _getProps() { return this._props; }
163
- _init() {
164
- return __awaiter(this, void 0, void 0, function* () {
165
- const e = yield this._requestBuiltInJavaStudies();
166
- this._studies = function (e) { const t = {}; return e.forEach(e => { const { packageName: n } = e; n in t ? t[n].push(e) : t[n] = [e]; }), t; }(function (e, t = !0) { return e.filter(e => { const n = !!t || !function (e) { return e.isStrategy; }(e); return !e.isHidden && n; }); }(e.map(g)));
167
- const t = [...this._getStudies("tv-basicstudies"), ...this._getStudies("Script$STD"), ...this._getStudies("tv-volumebyprice")].filter(e => !e.isStrategy).sort(p);
168
- this._setProps({ data: t });
169
- });
170
- }
171
- _render() { if (this._shouldPreventRender())
172
- return; const { props: e, container: t } = this._getRenderData(); s.a.render(r.a.createElement(G, Object.assign({}, e)), t); }
173
- }
174
- } }]);
@@ -1,204 +0,0 @@
1
- (window.webpackJsonp = window.webpackJsonp || []).push([["study-pane-views"], { "1sos": function (t, e, i) {
2
- "use strict";
3
- i.r(e), i.d(e, "HorizLinePaneView", (function () { return o; }));
4
- var s = i("Eyy1"), n = i("VdBB"), r = i("Zy3/"), a = i("l4sv");
5
- class o {
6
- constructor(t, e, i) { this._data = [], this._invalidated = !0, this._provider = t, this._model = e, this._hitTestResult = void 0 !== i ? new n.HitTestResult(n.HitTestResult.CUSTOM, i) : new n.HitTestResult(n.HitTestResult.REGULAR); }
7
- update() { this._invalidated = !0; }
8
- renderer() { this._invalidated && (this._updateViewInternal(), this._invalidated = !1); const t = new r.CompositeRenderer; for (const e of this._data) {
9
- const i = new a.HorizontalLineRenderer;
10
- i.setData(e), i.setHitTest(this._hitTestResult), t.append(i);
11
- } return t; }
12
- _updateViewInternal() { this._data = []; const t = this._provider.priceScale(), e = this._model.timeScale(); if (!t || t.isEmpty() || e.isEmpty())
13
- return; const i = this._provider.graphics().horizlines(); if (0 === i.size)
14
- return; const n = this._model.timeScale().visibleBarsStrictRange(); if (null === n)
15
- return; const r = this._provider.firstValue(); if (null === r)
16
- return; const a = n.firstBar(), o = n.lastBar(); i.forEach((i, n) => { const l = this._provider.properties().graphics.horizlines[n]; l.visible.value() && i.forEach(i => { const n = i.startIndex, c = i.endIndex; !i.extendRight && Math.max(n, c) < a || !i.extendLeft && Math.min(n, c) > o || this._data.push({ y: t.priceToCoordinate(Object(s.ensureDefined)(i.level), r), left: i.extendLeft ? void 0 : e.indexToCoordinate(n), right: i.extendRight ? void 0 : e.indexToCoordinate(c), color: l.color.value(), linewidth: l.width.value(), linestyle: l.style.value() }); }); }); }
17
- }
18
- }, BCbF: function (t, e, i) {
19
- "use strict";
20
- i.r(e), i.d(e, "PolygonRenderer", (function () { return u; }));
21
- var s = i("f6yo"), n = i("GEp6"), r = i("jFln"), a = i("pJOz"), o = i("a7Ha"), l = i("VdBB"), c = i("Tmoa"), h = i("cPgM"), d = i("Zp/P");
22
- class u extends h.ScaledPaneRenderer {
23
- constructor(t) { super(), this._data = null, this._backHittest = new l.HitTestResult(l.HitTestResult.MOVEPOINT_BACKGROUND), this._points = [], this._hittest = t || new l.HitTestResult(l.HitTestResult.MOVEPOINT); }
24
- setData(t) { this._data = t, this._points = t.points; }
25
- hitTest(t) { if (null === this._data || void 0 !== this._data.mouseTouchable && !this._data.mouseTouchable)
26
- return null; const e = Math.max(Object(d.interactionTolerance)().line, Math.ceil(this._data.linewidth / 2)), i = this._points.length; if (1 === i) {
27
- return Object(s.pointInCircle)(t, this._points[0], e) ? this._hittest : null;
28
- } for (let s = 1; s < i; s++) {
29
- const i = this._points[s - 1], r = this._points[s];
30
- if (Object(n.distanceToSegment)(i, r, t).distance <= e)
31
- return this._hittest;
32
- } if (this._data.filled && this._data.fillBackground && i > 0) {
33
- const s = this._points[0], r = this._points[i - 1];
34
- if (Object(n.distanceToSegment)(s, r, t).distance <= e)
35
- return this._hittest;
36
- } return this._data.filled && this._data.fillBackground && Object(s.pointInPolygon)(t, this._data.points) ? this._backHittest : null; }
37
- _drawImpl(t, e) {
38
- var i, s;
39
- const n = this._points.length;
40
- if (null === this._data || 0 === n)
41
- return;
42
- if (1 === n)
43
- return void this._drawPoint(t, this._points[0], this._data.linewidth / 2, this._data.color);
44
- t.beginPath();
45
- const l = null !== (i = this._data.linecap) && void 0 !== i ? i : "butt";
46
- t.lineCap = l, t.strokeStyle = this._data.color,
47
- t.lineWidth = this._data.linewidth, t.lineJoin = null !== (s = this._data.linejoin) && void 0 !== s ? s : "miter", Object(r.setLineStyle)(t, this._data.linestyle);
48
- const h = this._points[0];
49
- t.moveTo(h.x, h.y);
50
- for (const e of this._points)
51
- t.lineTo(e.x, e.y);
52
- if (this._data.filled && this._data.fillBackground && (t.fillStyle = Object(c.generateColor)(this._data.backcolor, this._data.transparency), t.fill()), this._data.filled && !this._data.skipClosePath && t.closePath(), this._data.linewidth > 0 && t.stroke(), n > 1) {
53
- if ("butt" !== l && (t.lineCap = "butt"), this._data.leftend === o.LineEnd.Arrow) {
54
- const i = this._correctArrowPoints(this._points[1], this._points[0], t.lineWidth, l);
55
- Object(a.drawArrow)(i[0], i[1], t, t.lineWidth, e.pixelRatio);
56
- }
57
- if (this._data.rightend === o.LineEnd.Arrow) {
58
- const i = this._correctArrowPoints(this._points[n - 2], this._points[n - 1], t.lineWidth, l);
59
- Object(a.drawArrow)(i[0], i[1], t, t.lineWidth, e.pixelRatio);
60
- }
61
- }
62
- }
63
- _drawPoint(t, e, i, s) { 0 !== i && (t.beginPath(), t.fillStyle = s, t.arc(e.x, e.y, i, 0, 2 * Math.PI, !0), t.fill(), t.closePath()); }
64
- _correctArrowPoints(t, e, i, s) { const n = e.subtract(t), r = n.length(); if ("butt" === s || r < 1)
65
- return [t, e]; const a = r + i / 2; return [t, n.scaled(a / r).add(t)]; }
66
- }
67
- }, BJvp: function (t, e, i) {
68
- "use strict";
69
- i.r(e), i.d(e, "PolygonPaneView", (function () { return c; }));
70
- var s = i("Eyy1"), n = i("aO4+"), r = i("VdBB"), a = i("Zy3/"), o = i("8Uy/"), l = i("BCbF");
71
- class c {
72
- constructor(t, e, i) { this._data = [], this._invalidated = !0, this._provider = t, this._model = e, this._hitTestResult = void 0 !== i ? new r.HitTestResult(r.HitTestResult.CUSTOM, i) : new r.HitTestResult(r.HitTestResult.REGULAR); }
73
- update() { this._invalidated = !0; }
74
- renderer() { this._invalidated && (this._updateViewInternal(), this._invalidated = !1); const t = new a.CompositeRenderer; for (const e of this._data) {
75
- const i = new l.PolygonRenderer(this._hitTestResult);
76
- i.setData(e), t.append(i);
77
- } return t; }
78
- _updateViewInternal() { this._data = []; const t = this._provider.priceScale(), e = this._model.timeScale(); if (!t || t.isEmpty() || e.isEmpty())
79
- return; const i = this._provider.graphics().polygons(); if (0 === i.size)
80
- return; const r = this._model.timeScale().visibleBarsStrictRange(); if (null === r)
81
- return; const a = this._provider.firstValue(); if (null === a)
82
- return; const l = r.firstBar(), c = r.lastBar(), h = this._provider.properties().graphics.polygons, d = Object(s.ensureDefined)(this._provider.metaInfo().graphics.polygons); i.forEach((i, r) => { const u = h[r]; 100 !== u.transparency.value() && i.forEach(i => { let h = 1 / 0, p = -1 / 0; for (const t of i.points) {
83
- const e = t.index + (t.offset || 0);
84
- h = Math.min(h, e), p = Math.max(p, e);
85
- } if (p < l || c < h)
86
- return; const f = i.points.map(i => { const r = e.indexToCoordinate(i.index + (i.offset || 0)), o = t.priceToCoordinate(Object(s.ensureDefined)(i.level), a); return new n.Point(r, o); }); this._data.push({ points: f, color: u.color.value(), backcolor: u.color.value(), linewidth: void 0 !== u.showBorder && u.showBorder.value() ? 1 : 0, linestyle: o.LINESTYLE_SOLID, filled: !0, fillBackground: !0, transparency: u.transparency.value(), mouseTouchable: Object(s.ensureDefined)(d[r]).mouseTouchable }); }); }); }
87
- }
88
- }, Gj0v: function (t, e, i) {
89
- "use strict";
90
- i.r(e);
91
- var s = i("Eyy1"), n = i("VdBB"), r = i("Zy3/"), a = i("qgcf"), o = i("aO4+"), l = i("eJTA"), c = i("ikwP"), h = i("KG+6"), d = i("nEwK"), u = i("zDbI");
92
- function p(t, e) { return { min: Math.min(t, e), max: Math.max(t, e) }; }
93
- function f(t) { return t.max - t.min; }
94
- class _ {
95
- constructor(t) { this._data = t; }
96
- hitTest(t, e) { const i = this._data; for (const s of i.histograms) {
97
- if (s.yRange.min >= t.y || t.y >= s.yRange.max)
98
- continue;
99
- let r = s.yRange.min, a = null;
100
- const o = f(s.xRange);
101
- for (const l of s.bars) {
102
- const c = i.styles[l.styleId];
103
- if (!c.visible)
104
- continue;
105
- if (c.location === h.b.Absolute && (s.xRange.min >= t.x || t.x >= s.xRange.max))
106
- continue;
107
- null === a && (a = 0, s.bars.forEach(t => { const e = t.subBarValues.reduce((t, e) => t + e); a = Math.max(a, e); }));
108
- const d = v(s.xRange, c, e.cssWidth), { xBasePoint: u, sign: f } = d, _ = p(r, r + l.height);
109
- r += l.height;
110
- const g = Math.max(c.percentWidth * o / 100 - l.subBarValues.length, 0);
111
- for (let e = 0; e < l.subBarValues.length; e++) {
112
- const i = _.min, s = _.max, r = 0 === e ? u : u + f * (g * l.subBarValues[e - 1] / a), o = r + f * (g * l.subBarValues[e] / a);
113
- if ((t.x >= r && t.x <= o || t.x >= o && t.x <= r) && t.y >= i && t.y <= s)
114
- return new n.HitTestResult(n.HitTestResult.REGULAR);
115
- }
116
- }
117
- } return null; }
118
- draw(t, e) { const i = this._data; t.save(), i.histograms.forEach(s => { const n = []; let r = s.yRange.min, a = 0, o = 0; s.bars.forEach(t => { const e = t.subBarValues.reduce((t, e) => t + e); a = Math.max(a, e), o += t.height; }); const c = o / s.bars.length, h = (d = c, u = e.pixelRatio, Math.floor(d * u) >= 1 * u ? Math.floor(u) : 0); var d, u; const _ = f(s.xRange), b = []; if (s.bars.forEach(o => { const l = i.styles[o.styleId]; if (!l.visible)
119
- return; if (l.showValues)
120
- for (let t = 0; t < o.subBarValues.length; t++)
121
- n[t] = (n[t] || 0) + o.subBarValues[t]; const c = v(s.xRange, l, e.cssWidth), { xBasePoint: d, sign: u } = c, f = p(r, r + o.height); if (r += o.height, f.min > e.cssHeight || f.max < 0)
122
- return; const R = Math.max(l.percentWidth * _ / 100 - o.subBarValues.length, 0); for (let i = 0; i < o.subBarValues.length; i++) {
123
- const s = f.min, n = f.max, r = 0 === i ? d : d + u * (R * o.subBarValues[i - 1] / a), c = r + u * (R * o.subBarValues[i] / a);
124
- if (Math.abs(c - r) < .5)
125
- continue;
126
- t.fillStyle = l.colors[i], t.beginPath();
127
- const p = Math.round(r * e.pixelRatio), _ = Math.round(s * e.pixelRatio), v = Math.round(c * e.pixelRatio), g = Math.round(n * e.pixelRatio), m = v - p, b = Math.max(g - _ - h, 1);
128
- t.rect(p, _, m, b), t.fill();
129
- } if (!l.showValues)
130
- return; const y = g(o.subBarValues, l.direction), x = m(_, f, c, l, y); b.push(x); }), b.length > 0) {
131
- const t = i.styles[s.bars[0].styleId], a = v(s.xRange, t, e.cssWidth), o = p(r, r + c), h = g(n, t.direction), d = m(_, o, a, t, h);
132
- d.color = Object(l.shiftColor)(d.color, 1.5), b.push(d);
133
- } const y = Math.min(...b.map(t => t.fontSize)); if (y >= 7.5)
134
- for (const i of b)
135
- i.fontSize = y, R(t, e, i); }), t.restore(); }
136
- }
137
- function v(t, e, i) { const s = e.location === h.b.Absolute, n = e.location === h.b.Relative, r = e.direction === h.a.LeftToRight, a = e.direction === h.a.RightToLeft; let o, l; if (s && r)
138
- o = t.min, l = 1;
139
- else if (s && a)
140
- o = t.max, l = -1;
141
- else if (n && r)
142
- o = 0, l = 1;
143
- else {
144
- if (!n || !a)
145
- throw new Error(`Unknown location/direction values: ${e.location}/${e.direction}`);
146
- o = i, l = -1;
147
- } return { xBasePoint: o, sign: l }; }
148
- function g(t, e) { e === h.a.RightToLeft && (t = t.slice()).reverse(); const i = new d.VolumeFormatter; return t.map(t => i.format(t)).join("x"); }
149
- function m(t, e, i, s, n) {
150
- const r = Math.min(Math.round(1.7 * t / n.length), Math.round(.6 * f(e))), a = s.direction === h.a.LeftToRight ? "left" : "right", { xBasePoint: l, sign: c } = i, d = l + 3 * c, u = e.min + .7 * f(e);
151
- return { text: n, color: s.valuesColor, fontSize: r, align: a, point: new o.Point(d, u) };
152
- }
153
- function R(t, e, i) { const { text: s, color: n, fontSize: r, align: a, point: o } = i; t.font = `${r}px ${u.CHART_FONT_FAMILY}`, t.fillStyle = n, t.textAlign = a, Object(c.drawScaled)(t, e.pixelRatio, () => t.fillText(s, o.x, o.y)); }
154
- var b = i("Tmoa");
155
- i.d(e, "HHistPaneView", (function () { return y; }));
156
- class y {
157
- constructor(t, e, i) { this._invalidated = !0, this._provider = t, this._model = e, this._rendererData = { histograms: [], styles: {} }, this._textData = [], this._hhistRenderer = new _(this._rendererData); }
158
- update() { this._invalidated = !0; }
159
- renderer() { this._invalidated && (this._updateViewInternal(), this._invalidated = !1); const t = new r.CompositeRenderer; t.append(this._hhistRenderer); for (const e of this._textData)
160
- t.append(new a.TextRenderer(e, new n.HitTestResult(n.HitTestResult.REGULAR))); return t; }
161
- _resetRenderersData() { this._rendererData.histograms = [], this._textData = []; }
162
- _prepareStyles() { const t = Object(s.ensureDefined)(this._provider.graphicsInfo().hhists), e = Object.keys(t), i = this._provider.properties().graphics.hhists; this._rendererData.styles = {}; for (const n of e) {
163
- const e = Object(s.ensureDefined)(i.child(n)), r = Object(s.ensureDefined)(t[n]), a = Object(b.generateColor)(e.colors[0].value(), e.transparencies[0].value()), o = e.colors[1] ? Object(b.generateColor)(e.colors[1].value(), e.transparencies[1].value()) : a;
164
- this._rendererData.styles[n] = { colors: [a, o], visible: e.visible.value(), percentWidth: e.percentWidth.value(), location: r.location, direction: e.direction.value(), showValues: e.showValues.value(), valuesColor: e.valuesColor.value() };
165
- } }
166
- _updateViewInternal() { this._resetRenderersData(); const t = this._provider.priceScale(), e = this._model.timeScale(); if (!t || t.isEmpty() || e.isEmpty())
167
- return; if (null === this._provider.firstValue())
168
- return; const i = this._provider.graphics().hhistsByTimePointIndex(); if (0 === i.size)
169
- return; const n = e.visibleBarsStrictRange(); if (null === n)
170
- return; const r = n.firstBar(), a = n.lastBar(); this._prepareStyles(), Object(s.ensureDefined)(i).forEach((i, s) => { let n = 1 / 0, o = -1 / 0; i.forEach(t => { n = Math.min(n, t.firstBarTime), o = Math.max(o, t.lastBarTime); }), o < r || n > a || this._updateDataForRenderers(i, t, e); }); }
171
- _updateDataForRenderers(t, e, i) { if (t.size <= 0)
172
- return; let n = null; if (t.forEach(t => { n = n || t; }), null === n)
173
- return; let r = n; t.forEach(t => { t.priceLow < r.priceLow && (r = t); }); const a = function (t, e) { return p(e.indexToCoordinate(t.firstBarTime), e.indexToCoordinate(t.lastBarTime)); }(n, i), o = []; t.forEach(t => { null == t.rate[t.rate.length - 1] && t.rate.splice(-1, 1); const i = function (t, e, i) { return p(e.priceToCoordinate(t.priceHigh, i), e.priceToCoordinate(t.priceLow, i)); }(t, e, Object(s.ensureNotNull)(this._provider.firstValue())); o.push({ yRange: i, subBarValues: t.rate, styleId: t.styleId }); }), o.sort((t, e) => t.yRange.min - e.yRange.min); const l = []; let c = o[0].yRange.min; for (const t of o) {
174
- const e = t.yRange.max - c;
175
- l.push(Object.assign({ height: e }, t)), c = t.yRange.max;
176
- } this._rendererData.histograms.push({ xRange: a, yRange: p(o[0].yRange.min, c), bars: l }); }
177
- }
178
- }, psYU: function (t, e, i) {
179
- "use strict";
180
- i.r(e), i.d(e, "VertLinePaneView", (function () { return l; }));
181
- var s = i("Eyy1"), n = i("VdBB"), r = i("972a"), a = i("Zy3/"), o = i("z+cS");
182
- class l {
183
- constructor(t, e, i) {
184
- this._data = [], this._invalidated = !0, this._provider = t,
185
- this._model = e, this._hitTestResult = void 0 !== i ? new n.HitTestResult(n.HitTestResult.CUSTOM, i) : new n.HitTestResult(n.HitTestResult.REGULAR);
186
- }
187
- update() { this._invalidated = !0; }
188
- renderer() { this._invalidated && (this._updateViewInternal(), this._invalidated = !1); const t = new a.CompositeRenderer; for (const e of this._data) {
189
- const i = new o.VerticalLineRenderer;
190
- i.setData(e), i.setHitTest(this._hitTestResult), t.append(i);
191
- } return t; }
192
- _updateViewInternal() { this._data = []; const t = this._provider.priceScale(), e = this._model.timeScale(); if (!t || t.isEmpty() || e.isEmpty())
193
- return; const i = this._provider.graphicsInfo().vertlines, n = this._provider.graphics().vertlines(); if (0 === n.size || void 0 === i)
194
- return; const a = this._model.timeScale().visibleBarsStrictRange(); if (null === a)
195
- return; const o = this._provider.firstValue(); if (null === o)
196
- return; const l = a.firstBar(), c = a.lastBar(); n.forEach((n, a) => { const h = this._provider.properties().graphics.vertlines[a]; if (!h.visible.value())
197
- return; let d = 0; switch (Object(s.ensureDefined)(i[a]).halign) {
198
- case r.a.Left:
199
- d = -e.barSpacing() / 2;
200
- break;
201
- case r.a.Right: d = e.barSpacing() / 2;
202
- } n.forEach(i => { const n = i.index; n < l || c < n || this._data.push({ x: e.indexToCoordinate(n) + d, top: i.extendTop ? void 0 : t.priceToCoordinate(Object(s.ensureDefined)(i.endPrice), o), bottom: i.extendBottom ? void 0 : t.priceToCoordinate(Object(s.ensureDefined)(i.startPrice), o), color: h.color.value(), linewidth: h.width.value(), linestyle: h.style.value() }); }); }); }
203
- }
204
- } }]);
@@ -1,125 +0,0 @@
1
- (window.webpackJsonp = window.webpackJsonp || []).push([["study-property-pages-with-definitions"], { "4lou": function (e, t, i) {
2
- "use strict";
3
- i.r(t), i.d(t, "RegressionTrendDefinitionsViewModel", (function () { return h; }));
4
- i("YFKU"), i("HbRj");
5
- var s = i("HSjo"), o = i("cKLu"), n = i("25b6");
6
- const l = window.t("Base"), r = window.t("Up"), c = window.t("Down"), u = window.t("Pearson's R"), d = window.t("Extend Lines");
7
- class h extends o.StudyLineDataSourceDefinitionsViewModel {
8
- constructor(e, t) { super(e, t); }
9
- _stylePropertyDefinitions() { const e = this._source.properties().childs().styles.childs(), t = this._source.name(), i = Object(n.c)(t), o = e.baseLine.childs(), h = Object(s.i)({ checked: Object(s.b)(this._undoModel, o.visible, `Change ${t} base line visibility`), color: Object(s.v)(this._undoModel, o.color, e.transparency, `Change ${t} base line color`), width: Object(s.b)(this._undoModel, o.linewidth, `Change ${t} base line width`), style: Object(s.b)(this._undoModel, o.linestyle, `Change ${t} base line style`) }, { id: i + "BaseLine", title: l }), a = e.upLine.childs(), p = Object(s.i)({ checked: Object(s.b)(this._undoModel, a.visible, `Change ${t} up line visibility`), color: Object(s.v)(this._undoModel, a.color, e.transparency, `Change ${t} up line color`), width: Object(s.b)(this._undoModel, a.linewidth, `Change ${t} up line width`), style: Object(s.b)(this._undoModel, a.linestyle, `Change ${t} up line style`) }, { id: i + "UpLine", title: r }), y = e.downLine.childs(); return [h, p, Object(s.i)({ checked: Object(s.b)(this._undoModel, y.visible, `Change ${t} down line visibility`), color: Object(s.v)(this._undoModel, y.color, e.transparency, `Change ${t} down line color`), width: Object(s.b)(this._undoModel, y.linewidth, `Change ${t} down line width`), style: Object(s.b)(this._undoModel, y.linestyle, `Change ${t} down line style`) }, { id: i + "DownLine", title: c }), Object(s.c)({ checked: Object(s.b)(this._undoModel, e.extendLines, `Change ${t} Extend Lines`) }, { id: i + "ExtendLines", title: d }), Object(s.c)({ checked: Object(s.b)(this._undoModel, e.showPearsons, `Change ${t} show pearson's r`) }, { id: i + "Pearsons", title: u })]; }
10
- }
11
- }, WUYT: function (e, t, i) {
12
- "use strict";
13
- i.r(t);
14
- i("YFKU"), i("HbRj");
15
- var s = i("Eyy1"), o = i("Kxc7"), n = i("HSjo"), l = i("1yQO"), r = i("loJ+"), c = i("zqjM"), u = i("hY0g"), d = i.n(u), h = i("0YCj"), a = i.n(h), p = i("pPtI"), y = i("lgIt");
16
- const b = window.t("Style"), _ = window.t("Inputs"), f = window.t("Visibility"), j = ["1", "3", "5", "15", "30", "45", "60", "120", "180", "240", "1D", "1W", "1M"].map(e => ({ value: e, title: Object(p.getTranslatedResolutionModel)(e).hint }));
17
- var w = i("Equz"), S = i("25b6");
18
- i.d(t, "StudyOverlayDefinitionsViewModel", (function () { return P; }));
19
- const g = [{ title: window.t("Bars"), value: 0 }, { title: window.t("Candles"), value: 1 }, { title: window.t("Hollow Candles"), value: 9 }, { title: window.t("Line"), value: 2 }, { title: window.t("Area"), value: 3 }, { title: window.t("Baseline"), value: 10 }], O = window.t("Style"), m = window.t("Price Line"), I = window.t("Override Min Tick");
20
- class P extends class {
21
- constructor(e, t) {
22
- this._inputSourceItems = null, this._propertyPages = [], this._sourceInput = null, this._source = t, this._undoModel = e;
23
- const i = this._sortInputs(this._source.metaInfo().inputs);
24
- for (const e of i)
25
- "source" === e.type && (this._sourceInput = e);
26
- this._createPropertyRages(), null !== this._inputSourceItems && this._undoModel.model().dataSourceCollectionChanged().subscribe(this, () => { null !== this._inputSourceItems && this._inputSourceItems.setValue(this._getInputSourceItems()); });
27
- }
28
- destroy() { null !== this._inputSourceItems && this._undoModel.model().dataSourceCollectionChanged().unsubscribeAll(this), this._propertyPages.forEach(e => { Object(n.u)(e.definitions.value()); }); }
29
- propertyPages() { return Promise.resolve(this._propertyPages); }
30
- _createPropertyRages() { this._propertyPages = []; const e = this._createInputsPropertyPage(); null !== e && this._propertyPages.push(e); const t = this._createStylePropertyPage(); null !== t && this._propertyPages.push(t), this._propertyPages.push(this._createVisibilitiesPropertyPage()); }
31
- _createStylePropertyPage() { const e = this._stylePropertyDefinitions(); return null !== e ? Object(l.a)(e, "style", b) : null; }
32
- _createVisibilitiesPropertyPage() { const e = this._source.properties().childs().intervalsVisibilities.childs(); return Object(l.a)(Object(y.a)(this._undoModel, e, this._source.title(!0)), "visibility", f); }
33
- _stylePropertyDefinitions() { return null; }
34
- _createInputsPropertyPage() { const e = this._inputsPropertyDefinitions(); return null !== e ? Object(l.a)(e, "inputs", _) : null; }
35
- _inputsPropertyDefinitions() { const e = this._sortInputs(this._source.metaInfo().inputs), t = this._source.properties().childs().inputs.childs(); return null !== this._sourceInput && (this._inputSourceItems = new d.a(this._getInputSourceItems())), Object(r.a)(this._undoModel, e, t, !1, { resolutionItems: j, customSymbolInputSetter: this._customSymbolInputSetter(), getSymbolInfoBySymbol: this._getSymbolInfoBySymbol.bind(this), onSymbolsInfosChanged: this._source.symbolsResolved(), sourcesItems: this._inputSourceItems }); }
36
- _sortInputs(e) { return e; }
37
- _getInputSourceItems() { const e = c.b.slice(), t = Object(s.ensureNotNull)(this._sourceInput); if (this._source && this._source.isChildStudy()) {
38
- const i = this._source.parentSource(), s = i.title(), o = a.a.getChildSourceInputTitles(t, i.metaInfo(), s);
39
- for (const t of Object.keys(o))
40
- e.push({ id: t, value: t, title: o[t] });
41
- } if (o.enabled("study_on_study") && this._source && (this._source.isChildStudy() || a.a.canBeChild(this._source.metaInfo()))) {
42
- const t = new Set([this._source, ...this._source.getAllChildren()]);
43
- this._undoModel.model().allStudies().filter(e => e.canHaveChildren() && !t.has(e)).forEach(t => { const i = t.title(!0, void 0, !0), o = t.sourceId() || "#" + t.id(), n = t.metaInfo(), l = n.styles, r = n.plots || []; if (1 === r.length)
44
- e.push({ id: o, value: o, title: i });
45
- else if (r.length > 1) {
46
- const t = r.reduce((e, t, n) => { if (!a.a.canPlotBeSourceOfChildStudy(t.type))
47
- return e; let r; try {
48
- r = Object(s.ensureDefined)(Object(s.ensureDefined)(l)[t.id]).title;
49
- }
50
- catch (e) {
51
- r = t.id;
52
- } return Object.assign(Object.assign({}, e), { [`${o}$${n}`]: `${i}: ${r}` }); }, {});
53
- for (const i of Object.keys(t))
54
- e.push({ id: i, value: i, title: t[i] });
55
- } });
56
- } return e; }
57
- _customSymbolInputSetter() { }
58
- _getSymbolInfoBySymbol(e) { return this._source.resolvedSymbolInfoBySymbol(e.value()); }
59
- } {
60
- constructor(e, t) {
61
- super(e, t), this._stylesPropertyPage = null, this.propertyPages().then(e => {
62
- this._stylesPropertyPage = e.filter(e => "style" === e.id)[0];
63
- }), this._source.properties().childs().style.subscribe(this, e => { null !== this._stylesPropertyPage && (Object(n.u)(this._stylesPropertyPage.definitions.value()), this._stylesPropertyPage.definitions.setValue(this._stylePropertyDefinitions())); });
64
- }
65
- destroy() { this._source.properties().childs().style.unsubscribeAll(this), super.destroy(); }
66
- _customSymbolInputSetter() { return e => { this._undoModel.setSymbol(this._source, e); }; }
67
- _stylePropertyDefinitions() { const e = this._source.properties().childs(), t = Object(n.k)({ option: Object(n.b)(this._undoModel, e.style, "Change study overlay style") }, { id: "StudyOverlayStyle", title: O, options: new d.a(g) }), i = Object(n.c)({ checked: Object(n.b)(this._undoModel, e.showPriceLine, "Change Price Price Line") }, { id: "StudyOverlayPriceLine", title: m }), s = Object(n.k)({ option: Object(n.b)(this._undoModel, e.minTick, "Change study overlay style") }, { id: "StudyOverlayMinTick", title: I, options: new d.a(Object(c.d)()) }), o = Object(S.c)(this._source.title()); return [Object(n.l)([t, ...this._getSeriesStylesDefinitions()], "SeriesStyleGroup" + o), i, s]; }
68
- _getSeriesStylesDefinitions() { const e = this._source.properties().childs(); return Object(w.a)(this._undoModel, e, e.style.value(), { seriesPriceSources: c.b, lineStyleTypes: c.c, isJapaneseChartsAvailable: !1 }, "mainSeries"); }
69
- }
70
- }, cKLu: function (e, t, i) {
71
- "use strict";
72
- i.r(t), i.d(t, "StudyLineDataSourceDefinitionsViewModel", (function () { return a; }));
73
- var s = i("YFKU"), o = (i("HbRj"), i("HSjo")), n = i("Cn8r"), l = i("hY0g"), r = i.n(l), c = i("zqjM"), u = i("loJ+"), d = i("CA9d"), h = i("25b6");
74
- class a extends n.a {
75
- constructor(e, t) { super(e, t); }
76
- _inputsPropertyDefinitions() { const e = this._undoModel.model().studyMetaInfoRepository().findByIdSync({ type: "java", studyId: this._source.studyId() }); return null === e ? null : Object(u.a)(this._undoModel, e.inputs, this._source.properties().childs().inputs.childs(), !1, { sourcesItems: new r.a(c.b) }); }
77
- _coordinatesPropertyDefinitions() { const e = this._source.points(), t = this._source.pointsProperty().childs().points, i = []; return e.forEach((e, n) => { const l = t[n].childs(); if (!l)
78
- return; const r = Object(d.a)(this._undoModel, l); i.push(Object(o.f)({ x: r.property }, Object.assign({ id: Object(h.c)(`${this._source.name()}Point${n}`), title: Object(s.t)("#{count} (bar)", { context: "linetool point" }).format({ count: (n + 1).toString() }) }, r.info))); }), i; }
79
- }
80
- }, "loJ+": function (e, t, i) {
81
- "use strict";
82
- i.d(t, "a", (function () { return d; }));
83
- var s = i("Eyy1"), o = i("HSjo"), n = i("hY0g"), l = i.n(n), r = i("25b6");
84
- function c(e, t) { const i = e.id; return "first_visible_bar_time" !== i && "last_visible_bar_time" !== i && ("time" !== e.type && (!e.isHidden && (!(t && !e.confirm) && void 0 === e.groupId))); }
85
- function u(e) { return e.name || Object(r.a)(e.id.toLowerCase()); }
86
- function d(e, t, i, n, r) {
87
- const d = [];
88
- for (const h of t) {
89
- if (!c(h, n))
90
- continue;
91
- const t = u(h), a = window.t(t, { context: "input" });
92
- let p = null;
93
- if ("resolution" === h.type)
94
- p = Object(o.k)({ option: Object(o.b)(e, i[h.id], "Change " + t) }, { id: "StudyInput" + t, title: a, options: new l.a(r.resolutionItems) });
95
- else if ("source" === h.type) {
96
- const n = Object(s.ensure)(r.sourcesItems);
97
- p = Object(o.k)({ option: Object(o.b)(e, i[h.id], "Change " + t) }, { id: "StudyInput" + t, title: a, options: n });
98
- }
99
- else if ("options" in h && void 0 !== h.options) {
100
- const s = [];
101
- for (const e of h.options) {
102
- const t = h.optionsTitles && h.optionsTitles[e] || e, i = window.t(t);
103
- s.push({ value: e, title: i });
104
- }
105
- p = Object(o.k)({ option: Object(o.b)(e, i[h.id], "Change " + t) }, { id: "StudyInput" + t, title: a, options: new l.a(s) });
106
- }
107
- else if ("symbol" === h.type) {
108
- const n = i[h.id], l = Object(s.ensure)(r.getSymbolInfoBySymbol), c = Object(s.ensure)(r.onSymbolsInfosChanged);
109
- p = Object(o.p)({ symbol: Object(o.z)(e, n, l, c, "Change " + a, r.customSymbolInputSetter) }, { id: "StudyInput" + t, title: a });
110
- }
111
- else if ("session" === h.type)
112
- p = Object(o.o)({ session: Object(o.b)(e, i[h.id], "Change " + t) }, { id: "StudyInput" + t, title: a });
113
- else if ("bool" === h.type)
114
- p = Object(o.c)({ checked: Object(o.b)(e, i[h.id], "Change " + a) }, { id: "StudyInput" + t, title: a });
115
- else if ("integer" === h.type || "float" === h.type || "price" === h.type) {
116
- const s = { id: "StudyInput" + t, title: a, type: "float" === h.type || "price" === h.type ? 1 : 0, defval: h.defval };
117
- h.min && (s.min = new l.a(h.min)), h.max && (s.max = new l.a(h.max)), void 0 !== h.step && isFinite(h.step) && h.step > 0 && (s.step = new l.a(h.step)), p = Object(o.j)({ value: Object(o.b)(e, i[h.id], "Change " + a) }, s);
118
- }
119
- else
120
- p = Object(o.q)({ text: Object(o.b)(e, i[h.id], "Change " + a) }, { id: "StudyInput" + t, title: a, isEditable: !0, isMultiLine: !1 });
121
- d.push(p);
122
- }
123
- return 0 === d.length ? null : d;
124
- }
125
- } }]);