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,405 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- (window.webpackJsonp = window.webpackJsonp || []).push([["new-edit-object-dialog"], { "/YRR": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 16.5l5-5a1.414 1.414 0 0 1 2 0m11-1l-5 5a1.414 1.414 0 0 1-2 0"/><path fill="currentColor" d="M14 5h1v2h-1zM14 10h1v2h-1zM14 15h1v2h-1zM14 20h1v2h-1z"/></svg>'; }, "01Ho": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M14.354 6.646L14 6.293l-.354.353-7 7-.353.354.353.354 7 7 .354.353.354-.353 7-7 .353-.354-.353-.354-7-7z"/></svg>'; }, "1yQO": function (e, t, n) {
13
- "use strict";
14
- n.d(t, "a", (function () { return r; }));
15
- var l = n("hY0g"), a = n.n(l);
16
- function r(e, t, n, l = null) { const r = { id: t, title: n, definitions: new a.a(e) }; return null !== l && (r.icon = l), r; }
17
- }, "4Njr": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M14 21l7.424-6.114a.5.5 0 0 0-.318-.886H18.5V7h-9v7H6.894a.5.5 0 0 0-.318.886L14 21z"/></svg>'; }, "4ZyK": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M8.5 22v-5.5m0 0v-8L12 7l4 2.5 3.5-1v8l-3.5 1-4-2.5-3.5 1.5z"/></svg>'; }, "4pMH": function (e, t, n) { }, "5ijr": function (e) { e.exports = JSON.parse('{"switcherWrapper":"switcherWrapper-1wFH-_jm","size-small":"size-small-1gT-kZYO","size-large":"size-large-MOSirnj_","intent-select":"intent-select-2kut8F29","switcherThumbWrapper":"switcherThumbWrapper-2u191lDO","input":"input-J7QIcTTo","switcherTrack":"switcherTrack-2XruDVTa","intent-default":"intent-default-3soo5rvS","switcherThumb":"switcherThumb-2yuEucci","focus":"focus-uZMRkCO0"}'); }, "9FXF": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M6.5 12.5v8h3v-8h-3zM12.5 7.5v13h3v-13h-3zM18.5 15.5v5h3v-5h-3z"/></svg>'; }, D2im: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path stroke="currentColor" d="M17 8.5h7M20.5 12V5M10 19.5h7M13.5 23v-7M3 12.5h7M6.5 16V9"/></svg>'; }, Dj0x: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M11 18.5h-.5V8.793l.146-.147 3-3L14 5.293l.354.353 3 3 .146.147V18.5H11z"/></svg>'; }, KKsp: function (e, t, n) {
18
- "use strict";
19
- n.d(t, "a", (function () { return i; }));
20
- var l = n("q1tI"), a = n("TSYQ"), r = n.n(a), s = n("NOPy");
21
- function i(e) { const { size: t = "normal", className: n } = e; return l.createElement("div", { className: r()(s.separator, "small" === t && s.small, "normal" === t && s.normal, "large" === t && s.large, n) }); }
22
- }, Ly1u: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M7.5 7.5h13v13h-13z"/></svg>'; }, MB0Y: function (e, t, n) {
23
- "use strict";
24
- var l = n("q1tI"), a = n.n(l), r = n("TSYQ"), s = n.n(r), i = n("5ijr");
25
- n("4pMH");
26
- function o(e) {
27
- const { className: t = "", intent: n = "default", size: l = "small", disabled: a } = e;
28
- return r(t, i.switcherWrapper, i["size-" + l], !a && i["intent-" + n]);
29
- }
30
- class c extends l.PureComponent {
31
- render() { const _a = this.props, { reference: e, size: t, intent: n } = _a, a = __rest(_a, ["reference", "size", "intent"]), s = r(i.input, -1 !== this.props.tabIndex && i.focus); return l.createElement("div", { className: o(this.props) }, l.createElement("input", Object.assign(Object.assign({}, a), { type: "checkbox", className: s, ref: e })), l.createElement("div", { className: i.switcherThumbWrapper }, l.createElement("div", { className: i.switcherTrack }), l.createElement("div", { className: i.switcherThumb }))); }
32
- }
33
- var p = n("ijHL"), d = n("OP2o");
34
- n.d(t, "a", (function () { return h; })), n.d(t, "b", (function () { return u; }));
35
- const h = d;
36
- function u(e) { const { className: t, checked: n, id: l, label: r, labelDescription: i, value: o, preventLabelHighlight: h, reference: u, switchReference: m, theme: b = d, disabled: w } = e, g = s()(b.label, n && !h && b.labelOn), v = s()(t, b.wrapper, n && b.wrapperWithOnLabel); return a.a.createElement("label", { className: v, htmlFor: l, ref: u }, a.a.createElement("div", { className: b.labelRow }, a.a.createElement("div", { className: g }, r), i && a.a.createElement("div", { className: b.labelHint }, i)), a.a.createElement(c, Object.assign({ disabled: w, className: b.switch, reference: m, checked: n, onChange: function (t) { const n = t.target.checked; void 0 !== e.onChange && e.onChange(n); }, value: o, tabIndex: -1, id: l }, Object(p.b)(e)))); }
37
- }, NOPy: function (e, t, n) { e.exports = { separator: "separator-eqcGT_ow", small: "small-eqcGT_ow", normal: "normal-eqcGT_ow", large: "large-eqcGT_ow" }; }, OP2o: function (e, t, n) { e.exports = { wrapper: "wrapper-1Eudat6L", hovered: "hovered-1Eudat6L", labelRow: "labelRow-1Eudat6L", label: "label-1Eudat6L", labelHint: "labelHint-1Eudat6L", labelOn: "labelOn-1Eudat6L" }; }, V1YL: function (e, t, n) { e.exports = { recalculateCheckbox: "recalculateCheckbox-2z5ytJSA", descriptionCell: "descriptionCell-2z5ytJSA" }; }, W7Dn: function (e, t, n) { e.exports = { scrollable: "scrollable-2CTvqFKf" }; }, Y5hB: function (e, t, n) {
38
- "use strict";
39
- n.r(t);
40
- var l = n("YFKU"), a = n("i8i4"), r = n("q1tI"), s = n.n(r), i = n("Eyy1"), o = (n("bSeV"), n("CLNU")), c = n("Vdly"), p = n("Kxc7"), d = n("FQhm"), h = n("JWMC"), u = n("aDg1"), m = n("vHME"), b = n("ycFu"), w = n("tWVy"), g = n("tmL0"), v = n("3ClC"), y = n("LWBq"), C = n("CW80"), f = n("pLAj"), E = n("W7Dn");
41
- class S extends r.PureComponent {
42
- constructor(e) { super(e), this._renderFooterLeft = e => { const { source: t, model: n } = this.props; if (Object(C.isLineTool)(t))
43
- return r.createElement(f.a, { source: t, model: n }); if (Object(v.isStudy)(t))
44
- return r.createElement(m.a, { model: n, source: t, mode: e ? "compact" : "normal" }); throw new TypeError("Unsupported source type."); }, this._handleSelect = e => { this.setState({ activeTabId: e }, () => { this._requestResize && this._requestResize(); }), this.props.onActiveTabChanged && this.props.onActiveTabChanged(e); }, this._handleScroll = () => { w.a.fire(); }, this._handleSubmit = () => { this.props.onSubmit(), this.props.onClose(); }; const { pages: t, initialActiveTab: n } = this.props; this.state = { activeTabId: t.allIds.includes(n) ? n : t.allIds[0] }; }
45
- render() {
46
- const { title: e, onCancel: t, onClose: n } = this.props, { activeTabId: l } = this.state;
47
- return r.createElement(b.a, { dataName: "indicator-properties-dialog", title: e, isOpened: !0, onSubmit: this._handleSubmit, onCancel: t, onClickOutside: n, onClose: n, footerLeftRenderer: this._renderFooterLeft,
48
- render: this._renderChildren(l), submitOnEnterKey: !1 });
49
- }
50
- _renderChildren(e) { return ({ requestResize: t }) => { this._requestResize = t; const { pages: n, source: l, model: a } = this.props, s = n.byId[e], i = "Component" in s ? void 0 : s.page; return r.createElement(r.Fragment, null, r.createElement(u.a, { activeTabId: e, onSelect: this._handleSelect, tabs: n }), r.createElement(g.a, { className: E.scrollable, onScroll: this._handleScroll }, "Component" in s ? r.createElement(s.Component, { source: l, model: a }) : r.createElement(y.a, { page: i, tableKey: e }))); }; }
51
- }
52
- var P = n("PjdP"), _ = n("HfwS"), x = n("HGyE");
53
- class O extends r.PureComponent {
54
- render() { const { input: e, value: t, onChange: n, onBlur: l, onKeyDown: a } = this.props, s = e.options.reduce((e, t) => (e[t] = "NONE" === t ? window.t("Default") : t, e), {}), i = Object.assign(Object.assign({}, e), { optionsTitles: s }); return r.createElement(x.b, { input: i, value: t, onChange: n, onBlur: l, onKeyDown: a }); }
55
- }
56
- const k = Object(_.a)(O);
57
- var j = n("h5Dg"), T = n("rJEJ"), L = n("XDrA"), N = n("+8gn"), V = n("Q+1u");
58
- n("HbRj");
59
- const I = r.createContext(null), M = window.t("{currency} per order"), R = window.t("{currency} per contract");
60
- class B extends r.PureComponent {
61
- render() { const { input: e } = this.props, t = Object(i.ensureNotNull)(this.context), n = Object.assign(Object.assign({}, e), { optionsTitles: { percent: "%", cash_per_order: M.format({ currency: t }), cash_per_contract: R.format({ currency: t }) } }); return r.createElement(x.a, { input: n }); }
62
- }
63
- B.contextType = I;
64
- const D = window.t("Contracts"), F = window.t("% of equity");
65
- class z extends r.PureComponent {
66
- render() { const { input: e } = this.props, t = Object(i.ensureNotNull)(this.context), n = Object.assign(Object.assign({}, e), { optionsTitles: { fixed: D, cash_per_order: t, percent_of_equity: F } }); return r.createElement(x.a, { input: n }); }
67
- }
68
- z.contextType = I;
69
- var H = n("+GxX"), W = n("V1YL");
70
- class G extends r.PureComponent {
71
- render() {
72
- const { inputs: e } = this.props;
73
- return r.createElement(V.a, null, r.createElement(T.a, { label: window.t("Initial capital") }, r.createElement(P.a, { input: e.initial_capital })), r.createElement(T.a, { label: window.t("Base currency") }, r.createElement(k, { input: e.currency })), r.createElement(T.a, { label: window.t("Order size"), labelAlign: "adaptive" }, r.createElement(L.a, null, r.createElement(P.a, { input: e.default_qty_value }), r.createElement(z, { input: e.default_qty_type }))), r.createElement(T.a, { label: window.t("Pyramiding") }, r.createElement("span", null, r.createElement(P.a, { input: e.pyramiding })), r.createElement("span", { className: W.descriptionCell }, window.t("orders", { context: "Pyramiding: count orders" }))), r.createElement(V.a.Separator, null), r.createElement(T.a, { label: window.t("Commission"), labelAlign: "adaptive" }, r.createElement(L.a, null, r.createElement(P.a, { input: e.commission_value }), r.createElement(B, { input: e.commission_type }))), r.createElement(T.a, { label: window.t("Verify Price for Limit Orders") }, r.createElement("span", null, r.createElement(P.a, { input: e.backtest_fill_limits_assumption })), r.createElement("span", { className: W.descriptionCell }, window.t("ticks", { context: "slippage ... ticks" }))), r.createElement(T.a, { label: window.t("Slippage") }, r.createElement("span", null, r.createElement(P.a, { input: e.slippage })), r.createElement("span", { className: W.descriptionCell }, window.t("ticks", { context: "slippage ... ticks"
74
- }))), r.createElement(V.a.Separator, null), Object(H.isFeatureEnabled)("show_strategy_margin_inputs") && e.margin_long && e.margin_short && r.createElement(r.Fragment, null, r.createElement(T.a, { label: window.t("Margin For Long Positions") }, r.createElement("span", null, r.createElement(P.a, { input: e.margin_long })), r.createElement("span", { className: W.descriptionCell }, "%")), r.createElement(T.a, { label: window.t("Margin For Short Positions") }, r.createElement("span", null, r.createElement(P.a, { input: e.margin_short })), r.createElement("span", { className: W.descriptionCell }, "%")), r.createElement(V.a.Separator, null)), r.createElement(T.a, { label: window.t("Recalculate"), labelAlign: "top" }, r.createElement("div", null, r.createElement("div", { className: W.recalculateCheckbox }, r.createElement(j.a, { label: window.t("After Order is Filled"), input: e.calc_on_order_fills })), r.createElement("div", { className: W.recalculateCheckbox }, r.createElement(j.a, { label: window.t("On Every Tick"), input: e.calc_on_every_tick })))));
75
- }
76
- }
77
- function A(e) { const { property: t, model: n, inputs: l, study: a } = e; return r.createElement(N.a, { property: t.inputs, model: n, study: a }, r.createElement(G, { inputs: l })); }
78
- G.contextType = N.b;
79
- var U = n("z61+"), q = n("txPx");
80
- const $ = Object(q.getLogger)("Platform.GUI.PropertyDialog.Indicators.StrategyPage");
81
- class K extends r.PureComponent {
82
- constructor(e) { super(e), this._handleWatchedDataChange = () => { this.setState({ currency: this._getCurrency() }); }; const { source: t } = this.props; if (this._source = t, !Object(v.isStudy)(this._source))
83
- throw new TypeError("Strategy page works only for study."); this._properties = t.properties(); const n = t.metaInfo(), l = new U.a(n); this._inputs = l.getStrategyProperties(), this.state = { currency: this._getCurrency() }; }
84
- componentDidMount() { this._source.watchedData.subscribe(this._handleWatchedDataChange); }
85
- componentWillUnmount() { this._source.watchedData.unsubscribe(this._handleWatchedDataChange); }
86
- render() { return r.createElement(I.Provider, { value: this.state.currency }, r.createElement(A, { inputs: this._inputs, property: this._properties, model: this.props.model, study: this.props.source })); }
87
- _getCurrency() { const e = this._source, t = e.reportData(); if (null === t || void 0 === t.currency) {
88
- void 0 !== this.state && null === this.state.currency || $.logWarn("Can't obtain currency from strategy report");
89
- const t = e.metaInfo().inputs.find(e => "currency" === e.internalID), n = null == t ? void 0 : t.defval;
90
- if (n && "NONE" !== n)
91
- return n.toString();
92
- const l = this.props.model.mainSeries().symbolInfo();
93
- return (null == l ? void 0 : l.original_currency_code) || (null == l ? void 0 : l.currency_code) || null;
94
- } return t.currency; }
95
- }
96
- var Y = n("5Ssy");
97
- class Q extends r.PureComponent {
98
- constructor(e) { super(e), this._properties = this.props.source.properties(), this._inputs = new U.a(this.props.source.metaInfo()).getUserEditableInputs(); }
99
- render() { return r.createElement(Y.a, { property: this._properties, model: this.props.model, study: this.props.source, inputs: this._inputs }); }
100
- }
101
- var J = n("RMU6"), X = n("23IT"), Z = n("0YCj"), ee = n.n(Z), te = n("Z1Tk"), ne = n("S0KV");
102
- const le = window.t("Change Visibility");
103
- class ae extends r.PureComponent {
104
- constructor() {
105
- super(...arguments), this._onChange = e => {
106
- const { setValue: t } = this.context, { visible: n } = this.props;
107
- n && Object(ne.b)(n, n => t(n, e, le));
108
- };
109
- }
110
- render() { const { id: e, title: t, visible: n, disabled: l } = this.props, a = Object(o.clean)(window.t(t, { context: "input" }), !0); return r.createElement(j.b, { label: a, disabled: l, input: { id: e, type: "bool", defval: !0, name: "visible" }, value: !n || Object(ne.a)(n), onChange: this._onChange }); }
111
- }
112
- ae.contextType = te.b;
113
- var re = n("KKsp"), se = n("MB0Y"), ie = n("CHgb"), oe = n("xHjM"), ce = n("/YRR"), pe = n("rlj/"), de = n("kBAl"), he = n("ZtdB"), ue = n("D2im"), me = n("tH7p"), be = n("tQCG"), we = n("9FXF"), ge = n("sPU+");
114
- const ve = { [X.LineStudyPlotStyle.Line]: { type: X.LineStudyPlotStyle.Line, order: 0, icon: oe, label: window.t("Line") }, [X.LineStudyPlotStyle.LineWithBreaks]: { type: X.LineStudyPlotStyle.LineWithBreaks, order: 1, icon: ce, label: window.t("Line With Breaks") }, [X.LineStudyPlotStyle.StepLine]: { type: X.LineStudyPlotStyle.StepLine, order: 2, icon: pe, label: window.t("Step Line") }, [X.LineStudyPlotStyle.StepLineWithDiamonds]: { type: X.LineStudyPlotStyle.StepLineWithDiamonds, order: 3, icon: de, label: window.t("Step Line With Diamonds") }, [X.LineStudyPlotStyle.Histogram]: { type: X.LineStudyPlotStyle.Histogram, order: 4, icon: he, label: window.t("Histogram") }, [X.LineStudyPlotStyle.Cross]: { type: X.LineStudyPlotStyle.Cross, order: 5, icon: ue, label: window.t("Cross", { context: "chart_type" }) }, [X.LineStudyPlotStyle.Area]: { type: X.LineStudyPlotStyle.Area, order: 6, icon: me, label: window.t("Area") }, [X.LineStudyPlotStyle.AreaWithBreaks]: { type: X.LineStudyPlotStyle.AreaWithBreaks, order: 7, icon: be, label: window.t("Area With Breaks") }, [X.LineStudyPlotStyle.Columns]: { type: X.LineStudyPlotStyle.Columns, order: 8, icon: we, label: window.t("Columns") }, [X.LineStudyPlotStyle.Circles]: { type: X.LineStudyPlotStyle.Circles, order: 9, icon: ge, label: window.t("Circles") } }, ye = Object.values(ve).sort((e, t) => e.order - t.order).map(e => ({ value: e.type, selectedContent: s.a.createElement(ie.a, { icon: e.icon }), content: s.a.createElement(ie.b, { icon: e.icon, label: e.label }) })), Ce = window.t("Price Line");
115
- class fe extends s.a.PureComponent {
116
- render() { const { id: e, plotType: t, className: n, priceLine: l, plotTypeChange: a, priceLineChange: r, disabled: i } = this.props; if (!(t in ve))
117
- return null; const o = { readonly: !0, content: s.a.createElement(s.a.Fragment, null, s.a.createElement(se.b, { id: "PlotTypePriceLineSwitch", checked: l, label: Ce, preventLabelHighlight: !0, value: "priceLineSwitcher", onChange: r }), s.a.createElement(re.a, null)) }; return s.a.createElement(ie.c, { id: e, disabled: i, className: n, hideArrowButton: !0, items: [o, ...ye], value: t, onChange: a }); }
118
- }
119
- var Ee = n("lkVX"), Se = n("wwEg");
120
- const Pe = window.t("Change Plot Type"), _e = window.t("Change Price Line");
121
- class xe extends r.PureComponent {
122
- constructor() { super(...arguments), this._onPlotTypeChange = e => { const { setValue: t } = this.context, { styleProp: { plottype: n } } = this.props; n && t(n, e, Pe); }, this._onPriceLineChange = e => { const { setValue: t } = this.context, { styleProp: { trackPrice: n } } = this.props; n && t(n, e, _e); }; }
123
- render() {
124
- const { id: e, paletteColor: t, paletteColorProps: n, styleProp: l, isLine: a, hasPlotTypeSelect: s, grouped: i, offset: o } = this.props, c = n.childs();
125
- return r.createElement(T.a, { grouped: i, label: r.createElement("div", {
126
- className: Se.childRowContainer
127
- }, window.t(t.name, { context: "input" })), offset: o }, r.createElement(Ee.a, { disabled: !l.visible.value(), color: c.color, transparency: l.transparency, thickness: a ? c.width : void 0, isPaletteColor: !0 }), a && s && l.plottype && l.trackPrice ? r.createElement(fe, { id: Object(J.a)(e, "plot-type-select"), disabled: !l.visible.value(), className: Se.smallStyleControl, plotType: l.plottype.value(), priceLine: l.trackPrice.value(), plotTypeChange: this._onPlotTypeChange, priceLineChange: this._onPriceLineChange }) : null);
128
- }
129
- }
130
- xe.contextType = te.b;
131
- class Oe extends r.PureComponent {
132
- render() { const { plot: e, area: t, palette: n, paletteProps: l, hideVisibilitySwitch: a, styleProp: s, showOnlyTitle: o, showSeparator: c = !0, offset: p } = this.props, d = e ? e.id : Object(i.ensureDefined)(t).id, h = !d.startsWith("fill") && e && Object(X.isLinePlot)(e); return r.createElement(r.Fragment, null, !a && r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2, offset: p }, o ? r.createElement("div", null, t ? t.title : s.title.value()) : r.createElement(ae, { id: d, title: t ? t.title : s.title.value(), visible: s.visible }))), function (e, t, n, l, a, s) { const o = t.colors, c = n.colors; return Object.keys(o).map((t, n) => r.createElement(xe, { key: t, id: e, grouped: !0, paletteColor: Object(i.ensureDefined)(o[t]), paletteColorProps: Object(i.ensureDefined)(c[t]), styleProp: l, isLine: a, hasPlotTypeSelect: 0 === n, offset: s })); }(d, n, l, s, h, p), c && r.createElement(V.a.GroupSeparator, null)); }
133
- }
134
- Oe.contextType = te.b;
135
- var ke = n("3lVo");
136
- const je = window.t("Change Plot Type"), Te = window.t("Change Price Line");
137
- class Le extends r.PureComponent {
138
- constructor() { super(...arguments), this._onPlotTypeChange = e => { const { setValue: t } = this.context, { property: { plottype: n } } = this.props; n && t(n, e, je); }, this._onPriceLineChange = e => { const { setValue: t } = this.context, { property: { trackPrice: n } } = this.props; n && t(n, e, Te); }; }
139
- render() { const { id: e, isRGB: t, property: { title: n, color: l, plottype: a, linewidth: s, transparency: i, trackPrice: o, visible: c } } = this.props; return r.createElement(T.a, { label: r.createElement(ae, { id: e, title: n.value(), visible: c }) }, t ? this._getInputForRgb() : r.createElement(Ee.a, { disabled: !c.value(), color: l, transparency: i, thickness: s }), r.createElement(fe, { id: Object(J.a)(e, "plot-type-select"), disabled: !c.value(), className: Se.smallStyleControl, plotType: a.value(), priceLine: o.value(), plotTypeChange: this._onPlotTypeChange, priceLineChange: this._onPriceLineChange })); }
140
- _getInputForRgb() { const { id: e, showLineWidth: t, property: n } = this.props, { linewidth: l, visible: a } = n; return l && t ? r.createElement(ke.a, { id: Object(J.a)(e, "line-width-select"), property: l, disabled: !a.value() }) : null; }
141
- }
142
- Le.contextType = te.b;
143
- const Ne = r.createContext(null);
144
- class Ve extends r.PureComponent {
145
- render() { const { id: e, isRGB: t, title: n, visible: l, color: a, transparency: s, thickness: i, children: o, switchable: c = !0, offset: p, grouped: d } = this.props; return r.createElement(T.a, { label: c ? r.createElement(ae, { id: e, title: n, visible: l }) : n, offset: p, grouped: d }, t ? null : r.createElement(Ee.a, { disabled: l && !(Array.isArray(l) ? l[0].value() : l.value()), color: a, transparency: s, thickness: i }), o); }
146
- }
147
- Ve.contextType = te.b;
148
- class Ie extends r.PureComponent {
149
- render() {
150
- const { id: e, isRGB: t, property: { colorup: n, colordown: l, transparency: a, visible: s } } = this.props;
151
- return r.createElement(Ne.Consumer, null, o => r.createElement(r.Fragment, null, r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2, grouped: !0 }, r.createElement(ae, { id: e, title: pt(Object(i.ensureNotNull)(o), e), visible: s }))), !t && r.createElement(r.Fragment, null, r.createElement(Ve, { id: e, title: at, color: n, transparency: a, visible: s, switchable: !1, offset: !0, grouped: !0 }), r.createElement(Ve, { id: e, title: rt, color: l, transparency: a, visible: s, switchable: !1, offset: !0, grouped: !0 })), r.createElement(V.a.GroupSeparator, null)));
152
- }
153
- }
154
- Ie.contextType = te.b;
155
- var Me = n("/SnT"), Re = n.n(Me), Be = n("TSYQ"), De = n.n(Be), Fe = n("wHCJ"), ze = n("PECq"), He = n("972a");
156
- const We = { [He.c.AboveBar]: { value: He.c.AboveBar, content: window.t("Above Bar"), order: 0 }, [He.c.BelowBar]: { value: He.c.BelowBar, content: window.t("Below Bar"), order: 1 }, [He.c.Top]: { value: He.c.Top, content: window.t("Top"), order: 2 }, [He.c.Bottom]: { value: He.c.Bottom, content: window.t("Bottom"), order: 3 }, [He.c.Absolute]: { value: He.c.Absolute, content: window.t("Absolute"), order: 4 } }, Ge = Object.values(We).sort((e, t) => e.order - t.order);
157
- class Ae extends r.PureComponent {
158
- render() { const { id: e, shapeLocation: t, className: n, menuItemClassName: l, shapeLocationChange: a, disabled: s } = this.props; return r.createElement(ze.a, { id: e, disabled: s, className: n, menuItemClassName: l, items: Ge, value: t, onChange: a }); }
159
- }
160
- const Ue = window.t("Change Char"), qe = window.t("Change Location");
161
- class $e extends r.PureComponent {
162
- constructor() { super(...arguments), this._onCharChange = e => { const { setValue: t } = this.context, n = e.currentTarget.value.trim(), l = Re()(n), a = 0 === l.length ? "" : l[l.length - 1], { property: { char: r } } = this.props; t(r, a, Ue); }, this._onLocationChange = e => { const { setValue: t } = this.context, { property: { location: n } } = this.props; t(n, e, qe); }; }
163
- render() { const { id: e, isRGB: t, property: { title: n, color: l, transparency: a, char: s, location: i, visible: o }, hasPalette: c } = this.props; return r.createElement(T.a, { grouped: c, label: r.createElement(ae, { id: e, title: n.value(), visible: o }) }, !c && !t && r.createElement(Ee.a, { disabled: !o.value(), color: l, transparency: a }), r.createElement(Fe.a, { disabled: !o.value(), className: Se.smallStyleControl, value: s.value(), onChange: this._onCharChange }), r.createElement(Ae, { id: Object(J.a)(e, "shape-style-select"), disabled: !o.value(), className: Be(Se.defaultSelect, Se.additionalSelect), menuItemClassName: Se.defaultSelectItem, shapeLocation: i.value(), shapeLocationChange: this._onLocationChange })); }
164
- }
165
- $e.contextType = te.b;
166
- var Ke = n("Nu4p");
167
- const Ye = { arrow_down: n("4Njr"), arrow_up: n("lOpG"), circle: n("br6c"), cross: n("m+Gx"), diamond: n("01Ho"), flag: n("4ZyK"), label_down: n("kMtk"), label_up: n("Dj0x"), square: n("Ly1u"), triangle_down: n("leq5"), triangle_up: n("flzi"), x_cross: n("iB0j") };
168
- function Qe(e) { return Ye[e]; }
169
- const Je = [];
170
- Object.keys(Ke.a).forEach(e => { const t = Ke.a[e]; Je.push({ id: t.id, value: t.id, selectedContent: s.a.createElement(ie.a, { icon: Qe(t.icon) }), content: s.a.createElement(ie.b, { icon: Qe(t.icon), label: t.guiName }) }); });
171
- class Xe extends s.a.PureComponent {
172
- render() {
173
- const { id: e, shapeStyleId: t, className: n, shapeStyleChange: l, disabled: a } = this.props;
174
- return s.a.createElement(ie.c, { id: e, disabled: a, className: n, hideArrowButton: !0, items: Je, value: t, onChange: l });
175
- }
176
- }
177
- const Ze = window.t("Change Shape"), et = window.t("Change Location");
178
- class tt extends r.PureComponent {
179
- constructor() { super(...arguments), this._onPlotTypeChange = e => { const { setValue: t } = this.context, { property: { plottype: n } } = this.props; t(n, e, Ze); }, this._onLocationChange = e => { const { setValue: t } = this.context, { property: { location: n } } = this.props; t(n, e, et); }; }
180
- render() { const { id: e, isRGB: t, hasPalette: n, property: { title: l, color: a, transparency: s, plottype: i, location: o, visible: c } } = this.props; return r.createElement(T.a, { grouped: n, label: r.createElement(ae, { id: e, title: l.value(), visible: c }) }, !n && !t && r.createElement(Ee.a, { disabled: !c.value(), color: a, transparency: s }), r.createElement(Xe, { id: Object(J.a)(e, "shape-style-select"), disabled: !c.value(), className: Se.smallStyleControl, shapeStyleId: i.value(), shapeStyleChange: this._onPlotTypeChange }), r.createElement(Ae, { id: Object(J.a)(e, "shape-location-select"), disabled: !c.value(), className: Be(Se.defaultSelect, Se.additionalSelect), menuItemClassName: Se.defaultSelectItem, shapeLocation: o.value(), shapeLocationChange: this._onLocationChange })); }
181
- }
182
- tt.contextType = te.b;
183
- var nt = n("m/cY");
184
- const lt = Object(q.getLogger)("Chart.Study.PropertyPage"), at = Object(l.t)("Up"), rt = Object(l.t)("Down"), st = Object(l.t)("Body"), it = Object(l.t)("Wick"), ot = Object(l.t)("Border");
185
- class ct extends r.PureComponent {
186
- render() {
187
- const { plot: e, palettes: t, study: n } = this.props, l = e.id, a = n.properties().styles[l], s = e.type, i = t.main, o = !!n.metaInfo().isRGB;
188
- if ("line" === s || "bar_colorer" === s || "bg_colorer" === s)
189
- return i && i.palette && i.paletteProps ? r.createElement(Oe, { plot: e, palette: i.palette, paletteProps: i.paletteProps, styleProp: a }) : r.createElement(Le, { id: l, property: a, isRGB: o, showLineWidth: "line" === s });
190
- if ("arrows" === s) {
191
- const s = this._getPlotSwitch(l, pt(n, l), a.visible);
192
- if (o)
193
- return s;
194
- const i = t.up, c = t.down;
195
- return i || c ? r.createElement(r.Fragment, null, s, i && i.palette && i.paletteProps ? r.createElement(Oe, { plot: e, palette: i.palette, paletteProps: i.paletteProps, styleProp: Object.assign(Object.assign({}, a), { title: Object(nt.a)(at) }), showSeparator: !1, showOnlyTitle: !0, offset: !0 }) : r.createElement(Ve, { id: l, isRGB: o, title: at, color: a.colorup, visible: a.visible, transparency: a.transparency, switchable: !1, grouped: !0, offset: !0 }), c && c.palette && c.paletteProps ? r.createElement(Oe, { plot: e, palette: c.palette, paletteProps: c.paletteProps, styleProp: Object.assign(Object.assign({}, a), { title: Object(nt.a)(rt) }), showSeparator: !1, showOnlyTitle: !0, offset: !0 }) : r.createElement(Ve, { id: l, isRGB: o, title: rt, color: a.colordown, visible: a.visible, transparency: a.transparency, switchable: !1, grouped: !0, offset: !0 }), r.createElement(V.a.GroupSeparator, null)) : r.createElement(Ie, { id: l, property: a, isRGB: o, plot: e, palettes: t, styleProp: a });
196
- }
197
- if ("chars" === s || "shapes" === s)
198
- return r.createElement(r.Fragment, null, "chars" === s ? r.createElement($e, { id: l, property: a, hasPalette: Boolean(i && i.palette), isRGB: o }) : r.createElement(tt, { id: l, property: a, hasPalette: Boolean(i && i.palette), isRGB: o
199
- }), i && i.palette && i.paletteProps && r.createElement(Oe, { plot: e, palette: i.palette, paletteProps: i.paletteProps, hideVisibilitySwitch: !0, styleProp: a }));
200
- if (Object(X.isOhlcPlot)(e)) {
201
- const a = e.target, s = n.properties().ohlcPlots[a], c = this._getPlotSwitch(l, s.title.value(), s.visible);
202
- if (o)
203
- return c;
204
- const p = t.wick && t.wick.palette && t.wick.paletteProps, d = t.border && t.border.palette && t.border.paletteProps;
205
- return r.createElement(r.Fragment, null, c, i && i.palette && i.paletteProps ? r.createElement(Oe, { plot: e, palette: i.palette, paletteProps: i.paletteProps, styleProp: Object.assign(Object.assign({}, s), { title: Object(nt.a)(st) }), showSeparator: !1, showOnlyTitle: !0, offset: !0 }) : r.createElement(Ve, { id: l, isRGB: o, title: st, visible: s.visible, color: s.color, transparency: s.transparency, switchable: !1, grouped: !0, offset: !0 }), t.wick && t.wick.palette && t.wick.paletteProps && r.createElement(Oe, { plot: e, palette: t.wick.palette, paletteProps: t.wick.paletteProps, styleProp: Object.assign(Object.assign({}, s), { title: Object(nt.a)(it) }), showSeparator: !1, showOnlyTitle: !0, offset: !0 }), Boolean(!p && s.wickColor) && r.createElement(Ve, { id: l, isRGB: o, title: it, visible: s.visible, color: s.wickColor, transparency: s.transparency, switchable: !1, grouped: !0, offset: !0 }), t.border && t.border.palette && t.border.paletteProps && r.createElement(Oe, { plot: e, palette: t.border.palette, paletteProps: t.border.paletteProps, styleProp: Object.assign(Object.assign({}, s), { title: Object(nt.a)(ot) }), showSeparator: !1, showOnlyTitle: !0, offset: !0 }), Boolean(!d && s.borderColor) && r.createElement(Ve, { id: l, isRGB: o, title: ot, visible: s.visible, color: s.borderColor, transparency: s.transparency, switchable: !1, grouped: !0, offset: !0 }), r.createElement(V.a.GroupSeparator, null));
206
- }
207
- return lt.logError("Unknown plot type: " + s), null;
208
- }
209
- _getPlotSwitch(e, t, n) { return r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2 }, r.createElement(ae, { id: e, title: t, visible: n }))); }
210
- }
211
- function pt(e, t) { const n = Object(i.ensureDefined)(e.metaInfo().styles), { title: l } = Object(i.ensureDefined)(n[t]); return Object(i.ensureDefined)(l); }
212
- var dt = n("YS4w"), ht = n("KacW");
213
- const ut = window.t("Change Line Style");
214
- class mt extends s.a.PureComponent {
215
- constructor() { super(...arguments), this._onLineStyleChange = e => { const { setValue: t } = this.context, { lineStyle: n } = this.props; Object(ne.b)(n, n => t(n, e, ut)); }; }
216
- render() { const _a = this.props, { lineStyle: e } = _a, t = __rest(_a, ["lineStyle"]); return s.a.createElement(ht.a, Object.assign(Object.assign({}, t), { lineStyle: Object(ne.a)(e), lineStyleChange: this._onLineStyleChange })); }
217
- }
218
- mt.contextType = te.b;
219
- const bt = window.t("Change Value");
220
- class wt extends r.PureComponent {
221
- constructor() { super(...arguments), this._onValueChange = e => { const { setValue: t } = this.context, { value: n } = this.props.property; t(n, e, bt); }; }
222
- render() {
223
- const { id: e, property: { name: t, color: n, linestyle: l, linewidth: a, transparency: s, value: i, visible: o } } = this.props;
224
- return r.createElement(T.a, { labelAlign: "adaptive", label: r.createElement(ae, { id: e, title: t.value(), visible: o }) }, r.createElement("div", { className: Se.block }, r.createElement("div", { className: Se.group }, r.createElement(Ee.a, { disabled: !o.value(), color: n, transparency: s, thickness: a }), r.createElement(mt, { id: Object(J.a)(e, "line-style-select"), disabled: !o.value(), className: Se.smallStyleControl, lineStyle: l
225
- })), r.createElement("div", { className: Be(Se.wrapGroup, Se.defaultSelect, Se.additionalSelect) }, r.createElement(dt.b, { input: { id: "", name: "", type: "float", defval: 0 }, value: i.value(), disabled: !o.value(), onChange: this._onValueChange }))));
226
- }
227
- }
228
- wt.contextType = te.b;
229
- class gt extends r.PureComponent {
230
- render() { const { orders: { visible: e, showLabels: t, showQty: n } } = this.props; return r.createElement(r.Fragment, null, r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2 }, r.createElement(ae, { id: "chart-orders-switch", title: window.t("Trades on Chart"), visible: e }))), r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2 }, r.createElement(ae, { id: "chart-orders-labels-switch", title: window.t("Signal Labels"), visible: t }))), r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2 }, r.createElement(ae, { id: "chart-orders-qty-switch", title: window.t("Quantity"), visible: n })))); }
231
- }
232
- gt.contextType = te.b;
233
- var vt = n("KG+6"), yt = n("kk0y");
234
- const Ct = [{ value: vt.a.LeftToRight, content: window.t("Left") }, { value: vt.a.RightToLeft, content: window.t("Right") }], ft = window.t("Width (% of the Box)"), Et = window.t("Placement"), St = window.t("Show Values"), Pt = window.t("Text Color"), _t = window.t("Change Percent Width"), xt = window.t("Change Placement"), Ot = window.t("Change Show Values");
235
- class kt extends r.PureComponent {
236
- constructor() { super(...arguments), this._onPercentWidthChange = e => { const { setValue: t } = this.context, { percentWidth: n } = this.props.property.childs(); t(n, e, _t); }, this._onPlacementChange = e => { const { setValue: t } = this.context, { direction: n } = this.props.property.childs(); t(n, e, xt); }, this._onShowValuesChange = e => { const { setValue: t } = this.context, { showValues: n } = this.props.property.childs(); t(n, e, Ot); }; }
237
- render() {
238
- const { title: e, percentWidth: t, direction: n, showValues: l, valuesColor: a, visible: s } = this.props.property.childs();
239
- return r.createElement(r.Fragment, null, r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { placement: "first", colSpan: 2, grouped: !0 }, r.createElement(ae, { id: e.value(), title: e.value(), visible: s }))), r.createElement(T.a, { label: r.createElement("div", { className: Se.childRowContainer }, ft), grouped: !0 }, r.createElement(yt.b, { input: { id: "", name: "", type: "integer", defval: 0 }, value: t.value(), disabled: !s.value(), onChange: this._onPercentWidthChange })), r.createElement(T.a, { label: r.createElement("div", { className: Se.childRowContainer }, Et), grouped: !0 }, r.createElement(ze.a, { id: "hhist-graphic-placement-select", disabled: !s.value(), className: Se.defaultSelect, menuItemClassName: Se.defaultSelectItem, items: Ct, value: n.value(), onChange: this._onPlacementChange })), r.createElement(V.a.Row, null, r.createElement(V.a.Cell, { className: Se.childRowContainer, placement: "first", colSpan: 2, grouped: !0 }, r.createElement(j.b, { label: St, input: { id: e.value() + "_showValues", type: "bool", defval: !0, name: "visible" }, value: !l || l.value(), disabled: !s.value(), onChange: this._onShowValuesChange }))), r.createElement(T.a, { label: r.createElement("div", { className: Se.childRowContainer }, Pt), grouped: !0 }, r.createElement(Ee.a, { disabled: s && !s.value(), color: a
240
- })), this._renderColors(), r.createElement(V.a.GroupSeparator, null));
241
- }
242
- _renderColors() { const { colors: e, titles: t, transparencies: n, visible: l } = this.props.property.childs(); return e.childNames().map(a => r.createElement(T.a, { key: a, grouped: !0, label: r.createElement("div", { className: Se.childRowContainer }, t.childs()[a].value()) }, r.createElement(Ee.a, { disabled: !l.value(), color: e.childs()[a], transparency: n.childs()[a] }))); }
243
- }
244
- kt.contextType = te.b;
245
- class jt extends r.PureComponent {
246
- render() { const { title: e } = this.props, { color: t, transparency: n, width: l, style: a, visible: s } = this.props.property.childs(); return r.createElement(T.a, { label: r.createElement(ae, { id: e.value(), title: e.value(), visible: s }) }, r.createElement(Ee.a, { disabled: !s.value(), color: t, transparency: n, thickness: l }), r.createElement(mt, { id: Object(J.a)(e.value(), "line-style-select"), disabled: !s.value(), className: Se.smallStyleControl, lineStyle: a })); }
247
- }
248
- jt.contextType = te.b;
249
- class Tt extends r.PureComponent {
250
- render() { const { graphicType: e, study: t } = this.props, n = t.metaInfo().graphics, l = t.properties().graphics, a = Object(i.ensureDefined)(n[e]); return Object.keys(a).map((t, n) => { const a = l[e][t]; return "horizlines" === e || "vertlines" === e || "lines" === e ? r.createElement(jt, { key: t, title: "lines" === e ? a.title : a.name, property: a }) : "hhists" === e ? r.createElement(kt, { key: t, property: a }) : null; }); }
251
- }
252
- const Lt = window.t("Change Font"), Nt = ["Verdana", "Courier New", "Times New Roman", "Arial"].map(e => ({ value: e, content: e }));
253
- class Vt extends r.PureComponent {
254
- constructor() { super(...arguments), this._onFontFamilyChange = e => { const { setValue: t } = this.context, { fontFamily: n } = this.props; t(n, e, Lt); }; }
255
- render() { const { id: e, fontFamily: t, className: n, disabled: l } = this.props; return r.createElement(ze.a, { id: e, disabled: l, className: De()(n, Se.defaultSelect), menuItemClassName: Se.defaultSelectItem, items: Nt, value: t.value(), onChange: this._onFontFamilyChange }); }
256
- }
257
- Vt.contextType = te.b;
258
- var It = n("UXjO");
259
- const Mt = window.t("Change Font Size"), Rt = [10, 11, 12, 14, 16, 20, 24, 28, 32, 40].map(e => ({ value: e, title: e.toString() }));
260
- class Bt extends r.PureComponent {
261
- constructor() { super(...arguments), this._onFontSizeChange = e => { const { setValue: t } = this.context, { fontSize: n } = this.props; t(n, e, Mt); }; }
262
- render() { const _a = this.props, { fontSize: e } = _a, t = __rest(_a, ["fontSize"]); return r.createElement(It.a, Object.assign(Object.assign({}, t), { fontSizes: Rt, fontSize: e.value(), fontSizeChange: this._onFontSizeChange })); }
263
- }
264
- Bt.contextType = te.b;
265
- const Dt = window.t("Change Visibility"), Ft = window.t("Labels Font"), zt = window.t("Show Labels"), Ht = { Traditional: new Set(["S5/R5", "S4/R4", "S3/R3", "S2/R2", "S1/R1", "P"]), Fibonacci: new Set(["S3/R3", "S2/R2", "S1/R1", "P"]), Woodie: new Set(["S4/R4", "S3/R3", "S2/R2", "S1/R1", "P"]), Classic: new Set(["S4/R4", "S3/R3", "S2/R2", "S1/R1", "P"]), DM: new Set(["S1/R1", "P"]), DeMark: new Set(["S1/R1", "P"]), Camarilla: new Set(["S4/R4", "S3/R3", "S2/R2", "S1/R1", "P"]) };
266
- class Wt extends s.a.PureComponent {
267
- constructor() { super(...arguments), this._onChange = e => { const { setValue: t } = this.context, { levelsStyle: n } = this.props.property.childs(), { showLabels: l } = n.childs(); t(l, e, Dt); }; }
268
- render() {
269
- const { font: e, fontsize: t, levelsStyle: n } = this.props.property.childs();
270
- return s.a.createElement(s.a.Fragment, null, s.a.createElement(T.a, { labelAlign: "adaptive", label: s.a.createElement("span", null, Ft) }, s.a.createElement("div", { className: Se.block }, s.a.createElement("div", { className: Se.group }, s.a.createElement(Vt, { id: "pivot-points-standard-font-family-select", fontFamily: e })), s.a.createElement("div", { className: Be(Se.wrapGroup, Se.additionalSelect) }, s.a.createElement(Bt, { id: "pivot-points-standard-font-size-select", fontSize: t })))), s.a.createElement(V.a.Row, null, s.a.createElement(V.a.Cell, { placement: "first", colSpan: 2 }, s.a.createElement(j.b, { label: zt, input: { id: "ShowLabels", type: "bool", defval: !0, name: "visible" }, value: n.childs().showLabels.value(), onChange: this._onChange }))), this._renderColors());
271
- }
272
- _renderColors() { const { levelsStyle: e, inputs: t } = this.props.property.childs(), { colors: n, widths: l, visibility: a } = e.childs(), { kind: r } = t.childs(), o = Object(i.ensureDefined)(Ht[r.value()]); return n.childNames().filter(e => o.has(e)).map(e => s.a.createElement(Ve, { key: e, id: e, title: e, color: n.childs()[e], visible: a.childs()[e], thickness: l.childs()[e] })); }
273
- }
274
- Wt.contextType = te.b;
275
- const Gt = Object(l.t)("Change Visibility"), At = Object(l.t)("Volume Profile"), Ut = Object(l.t)("Show Values"), qt = Object(l.t)("Width (% of the Box)"), $t = Object(l.t)("Placement"), Kt = Object(l.t)("Developing VA"), Yt = [{ value: vt.a.RightToLeft, content: Object(l.t)("Right") }, { value: vt.a.LeftToRight, content: Object(l.t)("Left") }];
276
- class Qt extends s.a.PureComponent {
277
- constructor() { super(...arguments), this._onChange = e => { this._setHhistsProperty("visible", e); }, this._onShowValuesChange = e => { this._setHhistsProperty("showValues", e); }, this._onValueChange = e => { this._setHhistsProperty("percentWidth", e); }, this._onDirectionChange = e => { this._setHhistsProperty("direction", e); }; }
278
- render() {
279
- var e, t;
280
- const { metaInfo: n } = this.props, { graphics: a, styles: r } = this.props.property.childs(), { hhists: o, horizlines: c, polygons: p } = a.childs(), d = Object(i.ensureDefined)(n.graphics.hhists), h = Object.keys(d), u = o.childs()[h[0]], m = u.childs().visible, b = h.map(e => o.childs()[e].childs().showValues), w = u.childs().percentWidth, g = u.childs().direction, v = h.map(e => o.childs()[e].childs().valuesColor), y = c.childs().pocLines, C = Object(i.ensureDefined)(null === (e = n.graphics.horizlines) || void 0 === e ? void 0 : e.pocLines), f = r.childs().developingPoc, E = Object(i.ensureDefined)(null === (t = n.styles) || void 0 === t ? void 0 : t.developingPoc), S = r.childs().developingVAHigh, P = r.childs().developingVALow, _ = n.graphics.polygons && n.graphics.polygons.histBoxBg;
281
- return s.a.createElement(s.a.Fragment, null, s.a.createElement(V.a.Row, null, s.a.createElement(V.a.Cell, { placement: "first", colSpan: 2 }, s.a.createElement(j.b, { label: At, input: { id: "VolumeProfile", type: "bool", defval: !0, name: "visible" }, value: m.value(), onChange: this._onChange }))), s.a.createElement(V.a.Row, null, s.a.createElement(V.a.Cell, { placement: "first" }, s.a.createElement("div", { className: Se.childRowContainer }, s.a.createElement(j.b, { disabled: !m.value(), label: Ut, input: { id: "ShowValues", type: "bool", defval: !0, name: "visible" }, value: b[0].value(), onChange: this._onShowValuesChange }))), s.a.createElement(V.a.Cell, {
282
- placement: "last"
283
- }, s.a.createElement(Ee.a, { disabled: !m.value() || !b[0].value(), color: v }))), s.a.createElement(V.a.Row, null, s.a.createElement(V.a.Cell, { placement: "first" }, s.a.createElement("div", { className: Se.childRowContainer }, qt)), s.a.createElement(V.a.Cell, { placement: "last" }, s.a.createElement(yt.b, { disabled: !m.value(), input: { id: "", name: "", type: "integer", defval: 0 }, value: w.value(), onChange: this._onValueChange }))), s.a.createElement(V.a.Row, null, s.a.createElement(V.a.Cell, { placement: "first" }, s.a.createElement("div", { className: Se.childRowContainer }, $t)), s.a.createElement(V.a.Cell, { placement: "last" }, s.a.createElement(ze.a, { id: "hhist-direction-select", disabled: !m.value(), className: Se.defaultSelect, menuItemClassName: Se.defaultSelectItem, items: Yt, value: g.value(), onChange: this._onDirectionChange }))), h.map(e => s.a.createElement(s.a.Fragment, { key: e }, o.childs()[e].childs().colors.childNames().map((t, n) => { const a = d[e]; return s.a.createElement(T.a, { key: n, label: s.a.createElement("div", { className: Se.childRowContainer }, a && Object(l.t)(a.titles[n]) || "") }, s.a.createElement(Ee.a, { disabled: !m.value(), color: o.childs()[e].childs().colors.childs()[n], transparency: o.childs()[e].childs().transparencies.childs()[n] })); }))), s.a.createElement(Ve, { id: "pocLines", title: C.name, color: y.childs().color, visible: y.childs().visible, thickness: y.childs().width }, s.a.createElement(mt, { id: "poc-lines-line-style-select", disabled: !y.childs().visible.value(), className: Se.smallStyleControl, lineStyle: y.childs().style })), f && s.a.createElement(Ve, { id: "developingPoc", title: E.title && Object(l.t)(E.title) || "", color: f.childs().color, visible: f.childs().visible, thickness: f.childs().linewidth }, s.a.createElement(mt, { id: "developing-poc-line-style-select", disabled: !f.childs().visible.value(), className: Se.smallStyleControl, lineStyle: f.childs().linestyle })), S && P && s.a.createElement(Ve, { id: "developingPoc", title: Kt, color: [S.childs().color, P.childs().color], visible: [S.childs().visible, P.childs().visible], thickness: [S.childs().linewidth, P.childs().linewidth] }, s.a.createElement(mt, { id: "developing-VA-line-style-select", disabled: !S.childs().visible.value() && !P.childs().visible.value(), className: Se.smallStyleControl, lineStyle: [S.childs().linestyle, P.childs().linestyle] })), p && s.a.createElement(T.a, { label: s.a.createElement("div", null, _ && Object(l.t)(_.name) || "") }, s.a.createElement(Ee.a, { color: p.childs().histBoxBg.childs().color, transparency: p.childs().histBoxBg.childs().transparency })));
284
- }
285
- _setHhistsProperty(e, t) { const { setValue: n } = this.context, { metaInfo: l, property: a } = this.props, r = a.childs().graphics.childs().hhists, s = Object.keys(Object(i.ensureDefined)(l.graphics.hhists)); for (let l = 0; l < s.length; l++) {
286
- const a = r.childs()[s[l]].child(e);
287
- n(Object(i.ensureDefined)(a), t, Gt);
288
- } }
289
- }
290
- function Jt() { const e = Object(i.ensureNotNull)(Object(r.useContext)(Ne)), t = e.metaInfo(), n = e.properties(); return s.a.createElement(Qt, { metaInfo: t, property: n }); }
291
- Qt.contextType = te.b;
292
- var Xt = n("KJt4");
293
- const Zt = { VbPFixed: Jt, PivotPointsStandard: function () {
294
- const e = Object(i.ensureNotNull)(Object(r.useContext)(Ne)).properties();
295
- return s.a.createElement(Wt, { property: e });
296
- }, VbPVisible: Jt };
297
- class en extends r.PureComponent {
298
- render() { const e = Object(i.ensureNotNull)(this.context); return r.createElement(Ne.Consumer, null, t => r.createElement(te.a, { property: Object(i.ensureNotNull)(t).properties(), model: e }, r.createElement(V.a, null, this._renderCustomContent(Object(i.ensureNotNull)(t).metaInfo().shortId)))); }
299
- _renderCustomContent(e) { if (e in Zt) {
300
- const t = Zt[e];
301
- return r.createElement(t, null);
302
- } return null; }
303
- }
304
- en.contextType = Xt.a;
305
- var tn = n("Ecpn");
306
- const nn = window.t("Default"), ln = window.t("Precision"), an = window.t("Change Precision"), rn = [{ value: "default", content: nn }];
307
- for (let e = 0; e <= 8; e++)
308
- rn.push({ value: e, content: e.toString() });
309
- class sn extends r.PureComponent {
310
- constructor() { super(...arguments), this._onChange = e => { const { setValue: t } = this.context, { precision: n } = this.props; t(n, e, an); }; }
311
- render() { const { id: e, precision: t } = this.props; return r.createElement(T.a, { label: ln }, r.createElement(ze.a, { id: e, className: Se.defaultSelect, menuItemClassName: Se.defaultSelectItem, items: rn, value: t.value(), onChange: this._onChange })); }
312
- }
313
- sn.contextType = te.b;
314
- const on = window.t("Default"), cn = window.t("Override Min Tick"), pn = window.t("Change Min Tick"), dn = [{ priceScale: 1, minMove: 1, frac: !1 }, { priceScale: 10, minMove: 1, frac: !1 }, { priceScale: 100, minMove: 1, frac: !1 }, { priceScale: 1e3, minMove: 1, frac: !1 }, { priceScale: 1e4, minMove: 1, frac: !1 }, { priceScale: 1e5, minMove: 1, frac: !1 }, { priceScale: 1e6, minMove: 1, frac: !1 }, { priceScale: 1e7, minMove: 1, frac: !1 }, { priceScale: 1e8, minMove: 1, frac: !1 }, { priceScale: 2, minMove: 1, frac: !0 }, { priceScale: 4, minMove: 1, frac: !0 }, { priceScale: 8, minMove: 1, frac: !0 }, { priceScale: 16, minMove: 1, frac: !0 }, { priceScale: 32, minMove: 1, frac: !0 }, { priceScale: 64, minMove: 1, frac: !0 }, { priceScale: 128, minMove: 1, frac: !0 }, { priceScale: 320, minMove: 1, frac: !0 }], hn = [{ id: "tick-default", value: "default", content: on }];
315
- for (let e = 0; e < dn.length; e++) {
316
- const t = dn[e];
317
- hn.push({ value: t.priceScale + "," + t.minMove + "," + t.frac, content: t.minMove + "/" + t.priceScale });
318
- }
319
- class un extends r.PureComponent {
320
- constructor() { super(...arguments), this._onChange = e => { const { setValue: t } = this.context, { minTick: n } = this.props; t(n, e, pn); }; }
321
- render() { const { id: e, minTick: t } = this.props; return r.createElement(T.a, { label: cn }, r.createElement(ze.a, { id: e, className: Se.defaultSelect, menuItemClassName: Se.defaultSelectItem, items: hn, value: t.value(), onChange: this._onChange })); }
322
- }
323
- un.contextType = te.b;
324
- var mn = n("5YG5");
325
- class bn extends r.PureComponent {
326
- constructor() { super(...arguments), this._findPlotPalettes = e => { const { study: t } = this.props, n = t.metaInfo(), l = Object(i.ensureDefined)(n.palettes); return Object(X.isBarColorerPlot)(e) || Object(X.isBgColorerPlot)(e) ? { main: { palette: l[e.palette], paletteProps: t.properties().palettes[e.palette] } } : this._findPalettesByTargetId(e.id); }; }
327
- render() {
328
- const { study: e } = this.props, t = e.metaInfo();
329
- if (Object(tn.a)(t.shortId))
330
- return r.createElement(en, null);
331
- const n = e.properties(), { precision: l, strategy: a, minTick: s } = n, i = t.plots.length > 0, o = Object(mn.a)(e).canOverrideMinTick();
332
- return r.createElement(V.a, null, this._plotsElement(), this._bandsElement(), this._bandsBackgroundsElement(), this._areasBackgroundsElement(), this._filledAreasElement(), this._graphicsElement(), i && r.createElement(sn, { id: Object(J.a)(t.id, "precision-select"), precision: l }), o && r.createElement(un, { id: Object(J.a)(t.id, "min-tick-select"), minTick: s }), ee.a.isScriptStrategy(t) && r.createElement(gt, { orders: a.orders }));
333
- }
334
- _plotsElement() { const { study: e } = this.props, t = e.metaInfo(); return new U.a(t).getUserEditablePlots().filter(e => !(Object(X.isUpColorerPlot)(e) || Object(X.isDownColorerPlot)(e) || Object(X.isCandleBorderColorerPlot)(e) || Object(X.isCandleWickColorerPlot)(e))).map(t => { const n = Object(X.isOhlcPlot)(t) ? Object.assign(Object.assign({}, t), { id: t.target }) : t, l = this._findPlotPalettes(n); return r.createElement(ct, { key: t.id, plot: t, palettes: l, study: e }); }); }
335
- _bandsElement() { const { study: e } = this.props, t = e.properties(), { bands: n } = t; return n && n.childNames().map((e, t) => { const l = n.child(e); if (!l.isHidden || !l.isHidden.value())
336
- return r.createElement(wt, { key: t, id: l.name.value(), property: l }); }); }
337
- _bandsBackgroundsElement() { const { study: e } = this.props, t = e.properties(), { bandsBackground: n } = t; return n && r.createElement(Ve, { id: "bandsBackground", title: "Background", visible: n.fillBackground, color: n.backgroundColor, transparency: n.transparency }); }
338
- _areasBackgroundsElement() { const { study: e } = this.props, t = e.metaInfo(), n = e.properties(), { areaBackground: l } = n; return t.isRGB ? null : l && r.createElement(Ve, { id: "areaBackground", title: "Background", visible: l.fillBackground, color: l.backgroundColor, transparency: l.transparency }); }
339
- _filledAreasElement() { const { study: e } = this.props, t = e.metaInfo(), n = t.filledAreas; return !n || t.isRGB ? [] : n.map(t => { if (t.isHidden)
340
- return null; const n = e.properties().filledAreasStyle[t.id], l = t.title || "Background"; if (t.palette) {
341
- const e = this._findPalettesByTargetId(t.id), l = Object(i.ensureDefined)(e.main);
342
- return r.createElement(Oe, { key: t.id, area: t, palette: Object(i.ensureDefined)(l.palette), paletteProps: Object(i.ensureDefined)(l.paletteProps), styleProp: n });
343
- } return r.createElement(Ve, { key: t.id, id: t.id, title: l, color: n.color, visible: n.visible, transparency: n.transparency }); }); }
344
- _graphicsElement() { const { study: e } = this.props, t = e.metaInfo().graphics; return t && Object.keys(t).map((t, n) => r.createElement(Tt, { key: t, graphicType: t, study: e })); }
345
- _findPalettesByTargetId(e) {
346
- const { study: t } = this.props, n = t.metaInfo(), l = n.plots, a = Object(i.ensureDefined)(n.palettes), r = {};
347
- for (const n of l)
348
- (Object(X.isColorerPlot)(n) || Object(X.isOhlcColorerPlot)(n)) && n.target === e && (r.main = { palette: a[n.palette], paletteProps: t.properties().palettes[n.palette] }), Object(X.isUpColorerPlot)(n) && n.target === e && (r.up = { palette: a[n.palette], paletteProps: t.properties().palettes[n.palette] }), Object(X.isDownColorerPlot)(n) && n.target === e && (r.down = { palette: a[n.palette], paletteProps: t.properties().palettes[n.palette] }), Object(X.isCandleWickColorerPlot)(n) && n.target === e && (r.wick = { palette: a[n.palette], paletteProps: t.properties().palettes[n.palette] }), Object(X.isCandleBorderColorerPlot)(n) && n.target === e && (r.border = { palette: a[n.palette],
349
- paletteProps: t.properties().palettes[n.palette] });
350
- return r;
351
- }
352
- }
353
- function wn(e) { return Object(te.c)(bn, Object.assign(Object.assign({}, e), { property: e.study.properties() })); }
354
- class gn extends r.PureComponent {
355
- render() { return r.createElement(Xt.a.Provider, { value: this.props.model }, r.createElement(Ne.Provider, { value: this.props.source }, r.createElement(wn, { study: this.props.source }))); }
356
- }
357
- var vn = n("1yQO"), yn = n("sQaR"), Cn = n("lgIt");
358
- n.d(t, "EditObjectDialogRenderer", (function () { return fn; }));
359
- class fn extends yn.a {
360
- constructor(e, t, n, l) { super(), this._timeout = null, this._handleClose = () => { a.unmountComponentAtNode(this._container), this._setVisibility(!1), this._subscription.unsubscribe(this, this._handleCollectionChanged); }, this._handleCancel = () => { this._model.undoToCheckpoint(this._checkpoint); }, this._handleSubmit = () => { }, this._handleActiveTabChanged = e => { c.setValue(this._activeTabSettingsName(), e); }, this._source = e, this._model = t, this._propertyPages = l, this._checkpoint = this._ensureCheckpoint(n), this._subscription = this._model.model().dataSourceCollectionChanged(), this._subscription.subscribe(this, this._handleCollectionChanged); }
361
- hide(e) { e ? this._handleCancel() : this._handleSubmit(), this._handleClose(); }
362
- isVisible() { return this.visible().value(); }
363
- show(e = {}) { if (!p.enabled("property_pages"))
364
- return; const t = this._source.metaInfo(); if (Object(C.isLineTool)(this._source) && Object(h.trackEvent)("GUI", "Drawing Properties", this._source.name()), Object(v.isStudy)(this._source)) {
365
- const e = !this._source.isPine() || this._source.isStandardPine() ? t.description : "Custom Pine";
366
- Object(h.trackEvent)("GUI", "Study Properties", e);
367
- } let n = { byId: { inputs: { title: window.t("Inputs"), Component: Q }, style: { title: window.t("Style"), Component: gn }, properties: { title: window.t("Properties"), Component: K } }, allIds: [] }; const l = new U.a(t); l.hasUserEditableInputs() && n.allIds.push("inputs"), l.hasUserEditableProperties() && n.allIds.push("properties"), l.hasUserEditableStyles() && n.allIds.push("style"), this._propertyPages || (n.byId.visibilities = { title: window.t("Visibility"), page: this._createVisibilitiesPropertyPage() }, n.allIds.push("visibilities")), n = this._getPagesForStudyLineTool(n); const s = e.initialTab || c.getValue(this._activeTabSettingsName()) || "inputs"; let i = Object(o.clean)(t.shortDescription, !0); a.render(r.createElement(S, { title: i, model: this._model, source: this._source, initialActiveTab: n.allIds.includes(s) ? s : n.allIds[0], pages: n, onSubmit: this._handleSubmit, onCancel: this._handleCancel, onClose: this._handleClose, onActiveTabChanged: this._handleActiveTabChanged }), this._container), this._setVisibility(!0), d.emit("edit_object_dialog", { objectType: "study", scriptTitle: this._source.title() }); }
368
- _createVisibilitiesPropertyPage() { const e = this._source.properties().childs().intervalsVisibilities.childs(); return Object(vn.a)(Object(Cn.a)(this._model, e, this._source.title(!0)), "visibility", window.t("Visibility")); }
369
- _activeTabSettingsName() { return "properties_dialog.active_tab.study"; }
370
- _ensureCheckpoint(e) { return void 0 === e && (e = this._model.createUndoCheckpoint()), e; }
371
- _getPagesForStudyLineTool(e) {
372
- if (this._propertyPages) {
373
- const t = this._propertyPages.filter(e => "coordinates" === e.id || "visibility" === e.id), n = { allIds: t.map(e => e.id), byId: t.reduce((e, t) => (Object.assign(Object.assign({}, e), { [t.id]: { title: t.title, page: t } })), {}) };
374
- return { allIds: [...e.allIds, ...n.allIds], byId: Object.assign(Object.assign({}, e.byId), n.byId) };
375
- }
376
- return e;
377
- }
378
- _handleCollectionChanged() { null === this._timeout && (this._timeout = setTimeout(() => { this._closeDialogIfSourceIsDeleted(), this._timeout = null; })); }
379
- _closeDialogIfSourceIsDeleted() { null === this._model.model().dataSourceForId(this._source.id()) && this._handleClose(); }
380
- }
381
- }, ZtdB: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path stroke="currentColor" d="M4.5 20v-7m3 7V10m3 10V8m3 12V10m3 10v-8m3 8V10m3 10V8"/></svg>'; }, br6c: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><circle stroke="currentColor" cx="14" cy="14" r="6.5"/></svg>'; }, flzi: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M19.424 16.735l.478.765H8.098l.478-.765 5-8L14 8.057l.424.678 5 8z"/></svg>'; }, iB0j: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path stroke="currentColor" d="M9 9l11 11M9 20L20 9"/></svg>'; }, kBAl: 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 fill="currentColor" fill-rule="evenodd" d="M9.8 2.7l.7-.7.7.7 2.1 2.1.2.2H18v9.5l.2.2 2.1 2.1.2.2H24v1h-3.5l-.2.2-2.1 2.1-.7.7-.7-.7-2.1-2.1-.7-.7.7-.7 2.1-2.1.2-.2V6h-3.5l-.2.2-2.1 2.1-.2.2V24H5.5v-1H10V8.5l-.2-.2-2.1-2.1-.7-.7.7-.7 2.1-2.1zM8.4 5.5l2.09 2.09 2.09-2.09-2.09-2.09L8.41 5.5zm9.09 14.09l-2.09-2.09 2.09-2.09 2.09 2.09-2.09 2.09z"/></svg>'; }, kMtk: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M11 8.5h-.5v9.707l.146.147 3 3 .354.353.354-.353 3-3 .146-.147V8.5H11z"/></svg>'; }, lOpG: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M14 7l7.424 6.114a.5.5 0 0 1-.318.886H18.5v7h-9v-7H6.894a.5.5 0 0 1-.318-.886L14 7z"/></svg>'; }, leq5: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M19.424 11.265l.478-.765H8.098l.478.765 5 8 .424.678.424-.678 5-8z"/></svg>'; }, lgIt: function (e, t, n) {
382
- "use strict";
383
- n.d(t, "a", (function () { return f; }));
384
- var l = n("Kxc7"), a = n("HSjo"), r = n("hY0g"), s = n.n(r), i = n("pPtI");
385
- const o = window.t("Ticks"), c = window.t("Seconds"), p = window.t("Minutes"), d = window.t("Hours"), h = window.t("Days"), u = window.t("Weeks"), m = window.t("Months"), b = (window.t("Ranges"), [1, 59]), w = [1, 59], g = [1, 24], v = [1, 366], y = [1, 52], C = [1, 12];
386
- function f(e, t, n) {
387
- const r = [];
388
- if (l.enabled("tick_resolution")) {
389
- const l = Object(a.c)({ checked: Object(a.b)(e, t.ticks, `Change ${n} Visibility On Ticks`) }, { id: "IntervalsVisibilitiesTicks", title: o });
390
- r.push(l);
391
- }
392
- if (Object(i.isSecondsEnabled)()) {
393
- const l = Object(a.n)({ checked: Object(a.b)(e, t.seconds, `Change ${n} Visibility On Seconds`),
394
- from: Object(a.b)(e, t.secondsFrom, `Change ${n} Seconds From`), to: Object(a.b)(e, t.secondsTo, `Change ${n} Seconds To`) }, { id: "IntervalsVisibilitiesSecond", title: c, min: new s.a(b[0]), max: new s.a(b[1]) });
395
- r.push(l);
396
- }
397
- const f = Object(a.n)({ checked: Object(a.b)(e, t.minutes, `Change ${n} Visibility On Minutes`), from: Object(a.b)(e, t.minutesFrom, `Change ${n} Minutes From`), to: Object(a.b)(e, t.minutesTo, `Change ${n} Minutes To`) }, { id: "IntervalsVisibilitiesMinutes", title: p, min: new s.a(w[0]), max: new s.a(w[1]) }), E = Object(a.n)({ checked: Object(a.b)(e, t.hours, `Change ${n} Visibility On Hours`), from: Object(a.b)(e, t.hoursFrom, `Change ${n} Hours From`), to: Object(a.b)(e, t.hoursTo, `Change ${n} Hours To`) }, { id: "IntervalsVisibilitiesHours", title: d, min: new s.a(g[0]), max: new s.a(g[1]) }), S = Object(a.n)({ checked: Object(a.b)(e, t.days, `Change ${n} Visibility On Days`), from: Object(a.b)(e, t.daysFrom, `Change ${n} Days From`), to: Object(a.b)(e, t.daysTo, `Change ${n} Days To`) }, { id: "IntervalsVisibilitiesDays", title: h, min: new s.a(v[0]), max: new s.a(v[1]) });
398
- r.push(f, E, S);
399
- const P = Object(a.n)({ checked: Object(a.b)(e, t.weeks, `Change ${n} Visibility On Weeks`), from: Object(a.b)(e, t.weeksFrom, `Change ${n} Weeks From`), to: Object(a.b)(e, t.weeksTo, `Change ${n} Weeks To`) }, { id: "IntervalsVisibilitiesWeeks", title: u, min: new s.a(y[0]), max: new s.a(y[1]) }), _ = Object(a.n)({ checked: Object(a.b)(e, t.months, `Change ${n} Visibility On Months`), from: Object(a.b)(e, t.monthsFrom, `Change ${n} Months From`), to: Object(a.b)(e, t.monthsTo, `Change ${n} Months To`) }, { id: "IntervalsVisibilitiesMonths", title: m, min: new s.a(C[0]), max: new s.a(C[1]) });
400
- return r.push(P, _), r;
401
- }
402
- }, "m+Gx": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path stroke="currentColor" d="M9 14.5h11M14.5 20V9"/></svg>'; }, "rlj/": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 17v5.5h4v-18h4v12h4v-9h4V21"/></svg>'; }, "sPU+": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M10.5 13a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0zM16.5 19a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0zM22.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/></svg>'; }, tH7p: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 13.52v4.98a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1V8.914c0-.89-1.077-1.337-1.707-.707l-4.66 4.66a1 1 0 0 1-1.332.074l-3.716-2.973a1 1 0 0 0-1.198-.039l-3.96 2.772a1 1 0 0 0-.427.82z"/></svg>'; }, tQCG: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M13 11.5l-1.915-1.532a1 1 0 0 0-1.198-.039l-3.96 2.772a1 1 0 0 0-.427.82V18.5a1 1 0 0 0 1 1H13m3.5-7l4.293-4.293c.63-.63 1.707-.184 1.707.707V18.5a1 1 0 0 1-1 1H16"/><path fill="currentColor" d="M14 6h1v2h-1zM14 11h1v2h-1zM14 16h1v2h-1zM14 21h1v2h-1z"/></svg>'; }, wwEg: function (e, t, n) {
403
- e.exports = { smallStyleControl: "smallStyleControl-11tnC1DU",
404
- additionalSelect: "additionalSelect-11tnC1DU", childRowContainer: "childRowContainer-11tnC1DU", defaultSelect: "defaultSelect-11tnC1DU", defaultSelectItem: "defaultSelectItem-11tnC1DU", block: "block-11tnC1DU", group: "group-11tnC1DU", wrapGroup: "wrapGroup-11tnC1DU", textMarkGraphicBlock: "textMarkGraphicBlock-11tnC1DU", textMarkGraphicWrapGroup: "textMarkGraphicWrapGroup-11tnC1DU" };
405
- }, xHjM: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 16.5l4.586-4.586a2 2 0 0 1 2.828 0l3.172 3.172a2 2 0 0 0 2.828 0L23.5 10.5"/></svg>'; } }]);