ngx-hana-nameserver-history-viewer 1.1.2 → 1.1.9-2.beta

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 (241) hide show
  1. package/README.md +6 -5
  2. package/esm2020/ngx-hana-nameserver-history-viewer.mjs +5 -0
  3. package/esm2020/public-api.mjs +2 -0
  4. package/esm2020/src/nameserver-history-viewer/components/alert/alert.component.mjs +68 -0
  5. package/esm2020/src/nameserver-history-viewer/components/alert/alert.module.mjs +22 -0
  6. package/esm2020/src/nameserver-history-viewer/components/alert/index.mjs +3 -0
  7. package/esm2020/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.mjs +112 -0
  8. package/esm2020/src/nameserver-history-viewer/components/file-drop-input/index.mjs +2 -0
  9. package/esm2020/src/nameserver-history-viewer/components/index.mjs +9 -0
  10. package/esm2020/src/nameserver-history-viewer/components/instruction/index.mjs +2 -0
  11. package/esm2020/src/nameserver-history-viewer/components/instruction/instruction.component.mjs +42 -0
  12. package/esm2020/src/nameserver-history-viewer/components/nameserver-history.component.mjs +550 -0
  13. package/esm2020/src/nameserver-history-viewer/components/port-selector/index.mjs +2 -0
  14. package/esm2020/src/nameserver-history-viewer/components/port-selector/port-selector.component.mjs +69 -0
  15. package/esm2020/src/nameserver-history-viewer/components/port-selector/port-selector.service.mjs +41 -0
  16. package/esm2020/src/nameserver-history-viewer/components/progress-bar/index.mjs +2 -0
  17. package/esm2020/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.mjs +40 -0
  18. package/esm2020/src/nameserver-history-viewer/components/time-range-selector/index.mjs +2 -0
  19. package/esm2020/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.mjs +70 -0
  20. package/esm2020/src/nameserver-history-viewer/components/timezone-selector/index.mjs +2 -0
  21. package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.mjs +90 -0
  22. package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.mjs +49 -0
  23. package/esm2020/src/nameserver-history-viewer/index.mjs +3 -0
  24. package/esm2020/src/nameserver-history-viewer/nameserver-history.module.mjs +63 -0
  25. package/esm2020/src/nameserver-history-viewer/services/chart.service.mjs +323 -0
  26. package/esm2020/src/nameserver-history-viewer/services/file.service.mjs +390 -0
  27. package/esm2020/src/nameserver-history-viewer/services/index.mjs +4 -0
  28. package/esm2020/src/nameserver-history-viewer/services/ui.service.mjs +557 -0
  29. package/esm2020/src/nameserver-history-viewer/types/abort.types.mjs +6 -0
  30. package/esm2020/src/nameserver-history-viewer/types/alert.types.mjs +8 -0
  31. package/esm2020/src/nameserver-history-viewer/types/chart-content-data-item.types.mjs +2 -0
  32. package/esm2020/src/nameserver-history-viewer/types/chart-content-data.types.mjs +2 -0
  33. package/esm2020/src/nameserver-history-viewer/types/chart-content-header.types.mjs +2 -0
  34. package/esm2020/src/nameserver-history-viewer/types/chart-content-time.types.mjs +2 -0
  35. package/esm2020/src/nameserver-history-viewer/types/chart-content.types.mjs +2 -0
  36. package/esm2020/src/nameserver-history-viewer/types/color-rgba.types.mjs +2 -0
  37. package/esm2020/src/nameserver-history-viewer/types/html-element.type.mjs +9 -0
  38. package/esm2020/src/nameserver-history-viewer/types/index.mjs +28 -0
  39. package/esm2020/src/nameserver-history-viewer/types/item.types.mjs +14 -0
  40. package/esm2020/src/nameserver-history-viewer/types/legend-color.types.mjs +2 -0
  41. package/esm2020/src/nameserver-history-viewer/types/load-history-info-backup.types.mjs +2 -0
  42. package/esm2020/src/nameserver-history-viewer/types/load-history-info-columnstore.types.mjs +2 -0
  43. package/esm2020/src/nameserver-history-viewer/types/load-history-info-host.types.mjs +2 -0
  44. package/esm2020/src/nameserver-history-viewer/types/load-history-info-item.types.mjs +2 -0
  45. package/esm2020/src/nameserver-history-viewer/types/load-history-info-persistence.types.mjs +2 -0
  46. package/esm2020/src/nameserver-history-viewer/types/load-history-info-rowstore.types.mjs +2 -0
  47. package/esm2020/src/nameserver-history-viewer/types/load-history-info-server.types.mjs +2 -0
  48. package/esm2020/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.mjs +2 -0
  49. package/esm2020/src/nameserver-history-viewer/types/load-history-info-sql.types.mjs +2 -0
  50. package/esm2020/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.mjs +2 -0
  51. package/esm2020/src/nameserver-history-viewer/types/load-history-info-threads.types.mjs +2 -0
  52. package/esm2020/src/nameserver-history-viewer/types/load-history-info.types.mjs +2 -0
  53. package/esm2020/src/nameserver-history-viewer/types/port.types.mjs +2 -0
  54. package/esm2020/src/nameserver-history-viewer/types/scale-group.types.mjs +17 -0
  55. package/esm2020/src/nameserver-history-viewer/types/unit-category.types.mjs +10 -0
  56. package/esm2020/src/nameserver-history-viewer/types/unit.types.mjs +14 -0
  57. package/esm2020/src/nameserver-history-viewer/utils/chart-util.mjs +25 -0
  58. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.mjs +2 -0
  59. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.mjs +57 -0
  60. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.mjs +139 -0
  61. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/index.mjs +41 -0
  62. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.mjs +106 -0
  63. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.mjs +168 -0
  64. package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/utils.mjs +114 -0
  65. package/esm2020/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.mjs +527 -0
  66. package/esm2020/src/nameserver-history-viewer/utils/chartjs-zoom/index.mjs +2 -0
  67. package/esm2020/src/nameserver-history-viewer/utils/file-util.mjs +154 -0
  68. package/esm2020/src/nameserver-history-viewer/utils/index.mjs +5 -0
  69. package/esm2020/src/nameserver-history-viewer/utils/time-util.mjs +101 -0
  70. package/esm2020/src/nameserver-history-viewer/utils/ui-util.mjs +162 -0
  71. package/fesm2015/{ngx-hana-nameserver-history-viewer.js → ngx-hana-nameserver-history-viewer.mjs} +971 -2679
  72. package/fesm2015/ngx-hana-nameserver-history-viewer.mjs.map +1 -0
  73. package/fesm2020/ngx-hana-nameserver-history-viewer.mjs +4081 -0
  74. package/fesm2020/ngx-hana-nameserver-history-viewer.mjs.map +1 -0
  75. package/ngx-hana-nameserver-history-viewer.d.ts +1 -1
  76. package/package.json +33 -57
  77. package/src/nameserver-history-viewer/components/alert/alert.component.d.ts +4 -1
  78. package/src/nameserver-history-viewer/components/alert/alert.module.d.ts +6 -0
  79. package/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.d.ts +3 -0
  80. package/src/nameserver-history-viewer/components/instruction/instruction.component.d.ts +3 -0
  81. package/src/nameserver-history-viewer/components/nameserver-history.component.d.ts +33 -14
  82. package/src/nameserver-history-viewer/components/port-selector/port-selector.component.d.ts +4 -1
  83. package/src/nameserver-history-viewer/components/port-selector/port-selector.service.d.ts +3 -0
  84. package/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.d.ts +3 -0
  85. package/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.d.ts +3 -0
  86. package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.d.ts +3 -0
  87. package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.d.ts +3 -0
  88. package/src/nameserver-history-viewer/index.d.ts +1 -0
  89. package/src/nameserver-history-viewer/nameserver-history.module.d.ts +17 -0
  90. package/src/nameserver-history-viewer/services/chart.service.d.ts +4 -1
  91. package/src/nameserver-history-viewer/services/file.service.d.ts +4 -0
  92. package/src/nameserver-history-viewer/services/ui.service.d.ts +5 -2
  93. package/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.d.ts +1 -1
  94. package/src/nameserver-history-viewer/utils/file-util.d.ts +11 -0
  95. package/bundles/ngx-hana-nameserver-history-viewer.umd.js +0 -6735
  96. package/bundles/ngx-hana-nameserver-history-viewer.umd.js.map +0 -1
  97. package/bundles/ngx-hana-nameserver-history-viewer.umd.min.js +0 -2
  98. package/bundles/ngx-hana-nameserver-history-viewer.umd.min.js.map +0 -1
  99. package/esm2015/ngx-hana-nameserver-history-viewer.js +0 -10
  100. package/esm2015/public-api.js +0 -6
  101. package/esm2015/src/nameserver-history-viewer/components/alert/alert.component.js +0 -114
  102. package/esm2015/src/nameserver-history-viewer/components/alert/alert.module.js +0 -21
  103. package/esm2015/src/nameserver-history-viewer/components/alert/index.js +0 -7
  104. package/esm2015/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.js +0 -141
  105. package/esm2015/src/nameserver-history-viewer/components/file-drop-input/index.js +0 -6
  106. package/esm2015/src/nameserver-history-viewer/components/index.js +0 -13
  107. package/esm2015/src/nameserver-history-viewer/components/instruction/index.js +0 -6
  108. package/esm2015/src/nameserver-history-viewer/components/instruction/instruction.component.js +0 -62
  109. package/esm2015/src/nameserver-history-viewer/components/nameserver-history.component.js +0 -868
  110. package/esm2015/src/nameserver-history-viewer/components/port-selector/index.js +0 -6
  111. package/esm2015/src/nameserver-history-viewer/components/port-selector/port-selector.component.js +0 -93
  112. package/esm2015/src/nameserver-history-viewer/components/port-selector/port-selector.service.js +0 -60
  113. package/esm2015/src/nameserver-history-viewer/components/progress-bar/index.js +0 -6
  114. package/esm2015/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.js +0 -35
  115. package/esm2015/src/nameserver-history-viewer/components/time-range-selector/index.js +0 -6
  116. package/esm2015/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.js +0 -68
  117. package/esm2015/src/nameserver-history-viewer/components/timezone-selector/index.js +0 -6
  118. package/esm2015/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.js +0 -151
  119. package/esm2015/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.js +0 -80
  120. package/esm2015/src/nameserver-history-viewer/index.js +0 -6
  121. package/esm2015/src/nameserver-history-viewer/nameserver-history.module.js +0 -42
  122. package/esm2015/src/nameserver-history-viewer/services/chart.service.js +0 -504
  123. package/esm2015/src/nameserver-history-viewer/services/file.service.js +0 -487
  124. package/esm2015/src/nameserver-history-viewer/services/index.js +0 -8
  125. package/esm2015/src/nameserver-history-viewer/services/ui.service.js +0 -922
  126. package/esm2015/src/nameserver-history-viewer/types/abort.types.js +0 -13
  127. package/esm2015/src/nameserver-history-viewer/types/alert.types.js +0 -13
  128. package/esm2015/src/nameserver-history-viewer/types/chart-content-data-item.types.js +0 -15
  129. package/esm2015/src/nameserver-history-viewer/types/chart-content-data.types.js +0 -9
  130. package/esm2015/src/nameserver-history-viewer/types/chart-content-header.types.js +0 -15
  131. package/esm2015/src/nameserver-history-viewer/types/chart-content-time.types.js +0 -9
  132. package/esm2015/src/nameserver-history-viewer/types/chart-content.types.js +0 -21
  133. package/esm2015/src/nameserver-history-viewer/types/color-rgba.types.js +0 -19
  134. package/esm2015/src/nameserver-history-viewer/types/html-element.type.js +0 -19
  135. package/esm2015/src/nameserver-history-viewer/types/index.js +0 -32
  136. package/esm2015/src/nameserver-history-viewer/types/item.types.js +0 -19
  137. package/esm2015/src/nameserver-history-viewer/types/legend-color.types.js +0 -9
  138. package/esm2015/src/nameserver-history-viewer/types/load-history-info-backup.types.js +0 -19
  139. package/esm2015/src/nameserver-history-viewer/types/load-history-info-columnstore.types.js +0 -19
  140. package/esm2015/src/nameserver-history-viewer/types/load-history-info-host.types.js +0 -35
  141. package/esm2015/src/nameserver-history-viewer/types/load-history-info-item.types.js +0 -31
  142. package/esm2015/src/nameserver-history-viewer/types/load-history-info-persistence.types.js +0 -27
  143. package/esm2015/src/nameserver-history-viewer/types/load-history-info-rowstore.types.js +0 -15
  144. package/esm2015/src/nameserver-history-viewer/types/load-history-info-server.types.js +0 -25
  145. package/esm2015/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.js +0 -25
  146. package/esm2015/src/nameserver-history-viewer/types/load-history-info-sql.types.js +0 -37
  147. package/esm2015/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.js +0 -15
  148. package/esm2015/src/nameserver-history-viewer/types/load-history-info-threads.types.js +0 -23
  149. package/esm2015/src/nameserver-history-viewer/types/load-history-info.types.js +0 -31
  150. package/esm2015/src/nameserver-history-viewer/types/port.types.js +0 -17
  151. package/esm2015/src/nameserver-history-viewer/types/scale-group.types.js +0 -35
  152. package/esm2015/src/nameserver-history-viewer/types/unit-category.types.js +0 -21
  153. package/esm2015/src/nameserver-history-viewer/types/unit.types.js +0 -19
  154. package/esm2015/src/nameserver-history-viewer/utils/chart-util.js +0 -38
  155. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.js +0 -100
  156. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.js +0 -88
  157. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.js +0 -222
  158. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/index.js +0 -46
  159. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.js +0 -166
  160. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.js +0 -311
  161. package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/utils.js +0 -130
  162. package/esm2015/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.js +0 -827
  163. package/esm2015/src/nameserver-history-viewer/utils/chartjs-zoom/index.js +0 -6
  164. package/esm2015/src/nameserver-history-viewer/utils/file-util.js +0 -162
  165. package/esm2015/src/nameserver-history-viewer/utils/index.js +0 -9
  166. package/esm2015/src/nameserver-history-viewer/utils/time-util.js +0 -139
  167. package/esm2015/src/nameserver-history-viewer/utils/ui-util.js +0 -239
  168. package/esm5/ngx-hana-nameserver-history-viewer.js +0 -10
  169. package/esm5/public-api.js +0 -6
  170. package/esm5/src/nameserver-history-viewer/components/alert/alert.component.js +0 -146
  171. package/esm5/src/nameserver-history-viewer/components/alert/alert.module.js +0 -25
  172. package/esm5/src/nameserver-history-viewer/components/alert/index.js +0 -7
  173. package/esm5/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.js +0 -155
  174. package/esm5/src/nameserver-history-viewer/components/file-drop-input/index.js +0 -6
  175. package/esm5/src/nameserver-history-viewer/components/index.js +0 -13
  176. package/esm5/src/nameserver-history-viewer/components/instruction/index.js +0 -6
  177. package/esm5/src/nameserver-history-viewer/components/instruction/instruction.component.js +0 -67
  178. package/esm5/src/nameserver-history-viewer/components/nameserver-history.component.js +0 -1116
  179. package/esm5/src/nameserver-history-viewer/components/port-selector/index.js +0 -6
  180. package/esm5/src/nameserver-history-viewer/components/port-selector/port-selector.component.js +0 -93
  181. package/esm5/src/nameserver-history-viewer/components/port-selector/port-selector.service.js +0 -85
  182. package/esm5/src/nameserver-history-viewer/components/progress-bar/index.js +0 -6
  183. package/esm5/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.js +0 -26
  184. package/esm5/src/nameserver-history-viewer/components/time-range-selector/index.js +0 -6
  185. package/esm5/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.js +0 -58
  186. package/esm5/src/nameserver-history-viewer/components/timezone-selector/index.js +0 -6
  187. package/esm5/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.js +0 -180
  188. package/esm5/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.js +0 -110
  189. package/esm5/src/nameserver-history-viewer/index.js +0 -6
  190. package/esm5/src/nameserver-history-viewer/nameserver-history.module.js +0 -46
  191. package/esm5/src/nameserver-history-viewer/services/chart.service.js +0 -659
  192. package/esm5/src/nameserver-history-viewer/services/file.service.js +0 -606
  193. package/esm5/src/nameserver-history-viewer/services/index.js +0 -8
  194. package/esm5/src/nameserver-history-viewer/services/ui.service.js +0 -1141
  195. package/esm5/src/nameserver-history-viewer/types/abort.types.js +0 -13
  196. package/esm5/src/nameserver-history-viewer/types/alert.types.js +0 -13
  197. package/esm5/src/nameserver-history-viewer/types/chart-content-data-item.types.js +0 -15
  198. package/esm5/src/nameserver-history-viewer/types/chart-content-data.types.js +0 -9
  199. package/esm5/src/nameserver-history-viewer/types/chart-content-header.types.js +0 -15
  200. package/esm5/src/nameserver-history-viewer/types/chart-content-time.types.js +0 -9
  201. package/esm5/src/nameserver-history-viewer/types/chart-content.types.js +0 -21
  202. package/esm5/src/nameserver-history-viewer/types/color-rgba.types.js +0 -19
  203. package/esm5/src/nameserver-history-viewer/types/html-element.type.js +0 -19
  204. package/esm5/src/nameserver-history-viewer/types/index.js +0 -32
  205. package/esm5/src/nameserver-history-viewer/types/item.types.js +0 -19
  206. package/esm5/src/nameserver-history-viewer/types/legend-color.types.js +0 -9
  207. package/esm5/src/nameserver-history-viewer/types/load-history-info-backup.types.js +0 -19
  208. package/esm5/src/nameserver-history-viewer/types/load-history-info-columnstore.types.js +0 -19
  209. package/esm5/src/nameserver-history-viewer/types/load-history-info-host.types.js +0 -35
  210. package/esm5/src/nameserver-history-viewer/types/load-history-info-item.types.js +0 -31
  211. package/esm5/src/nameserver-history-viewer/types/load-history-info-persistence.types.js +0 -27
  212. package/esm5/src/nameserver-history-viewer/types/load-history-info-rowstore.types.js +0 -15
  213. package/esm5/src/nameserver-history-viewer/types/load-history-info-server.types.js +0 -25
  214. package/esm5/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.js +0 -25
  215. package/esm5/src/nameserver-history-viewer/types/load-history-info-sql.types.js +0 -37
  216. package/esm5/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.js +0 -15
  217. package/esm5/src/nameserver-history-viewer/types/load-history-info-threads.types.js +0 -23
  218. package/esm5/src/nameserver-history-viewer/types/load-history-info.types.js +0 -31
  219. package/esm5/src/nameserver-history-viewer/types/port.types.js +0 -17
  220. package/esm5/src/nameserver-history-viewer/types/scale-group.types.js +0 -35
  221. package/esm5/src/nameserver-history-viewer/types/unit-category.types.js +0 -21
  222. package/esm5/src/nameserver-history-viewer/types/unit.types.js +0 -19
  223. package/esm5/src/nameserver-history-viewer/utils/chart-util.js +0 -39
  224. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.js +0 -100
  225. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.js +0 -88
  226. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.js +0 -316
  227. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/index.js +0 -46
  228. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.js +0 -240
  229. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.js +0 -366
  230. package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/utils.js +0 -142
  231. package/esm5/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.js +0 -827
  232. package/esm5/src/nameserver-history-viewer/utils/chartjs-zoom/index.js +0 -6
  233. package/esm5/src/nameserver-history-viewer/utils/file-util.js +0 -163
  234. package/esm5/src/nameserver-history-viewer/utils/index.js +0 -9
  235. package/esm5/src/nameserver-history-viewer/utils/time-util.js +0 -139
  236. package/esm5/src/nameserver-history-viewer/utils/ui-util.js +0 -241
  237. package/fesm2015/ngx-hana-nameserver-history-viewer.js.map +0 -1
  238. package/fesm5/ngx-hana-nameserver-history-viewer.js +0 -6861
  239. package/fesm5/ngx-hana-nameserver-history-viewer.js.map +0 -1
  240. package/ngx-hana-nameserver-history-viewer-1.1.2.tgz +0 -0
  241. package/ngx-hana-nameserver-history-viewer.metadata.json +0 -1
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # ngx-hana-nameserver-history-viewer
2
2
 
3
- [![npm](https://img.shields.io/npm/v/ngx-hana-nameserver-history-viewer.svg?style=flat-square)](https://www.npmjs.com/package/ngx-hana-nameserver-history-viewer) [![npm downloads](https://img.shields.io/npm/dm/ngx-hana-nameserver-history-viewer.svg)](https://www.npmjs.com/package/ngx-hana-nameserver-history-viewer) [![Travis](https://img.shields.io/travis/ckyycc/ngx-hana-nameserver-history-viewer.svg?style=flat-square)](https://travis-ci.org/ckyycc/ngx-hana-nameserver-history-viewer) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/ckyycc/ngx-hana-nameserver-history-viewer/blob/master/LICENSE)
3
+ [![npm](https://img.shields.io/npm/v/ngx-hana-nameserver-history-viewer.svg?style=flat-square)](https://www.npmjs.com/package/ngx-hana-nameserver-history-viewer) [![npm downloads](https://img.shields.io/npm/dm/ngx-hana-nameserver-history-viewer.svg)](https://www.npmjs.com/package/ngx-hana-nameserver-history-viewer) [![Travis](https://img.shields.io/travis/ckyycc/ngx-hana-nameserver-history-viewer.svg?style=flat-square)](https://travis-ci.com/ckyycc/ngx-hana-nameserver-history-viewer) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/ckyycc/ngx-hana-nameserver-history-viewer/blob/master/LICENSE)
4
4
 
5
- An Angular 7 module of SAP HANA nameserver history viewer. Supports MDC, different timezone and zoom-in.\
6
- For Angular 6 support please use older versions (<= [v1.0.15](https://github.com/ckyycc/ngx-hana-nameserver-history-viewer/tree/1.0.15) ).
5
+ An Angular 13 module of SAP HANA nameserver history viewer. Supports MDC, different timezone and zoom-in.\
6
+ For Angular 7 support please use versions ([v1.1.1](https://github.com/ckyycc/ngx-hana-nameserver-history-viewer/tree/1.1.1) ~ [v1.1.3](https://github.com/ckyycc/ngx-hana-nameserver-history-viewer/tree/1.1.3) ).
7
+ For Angular 6 support please use older versions (<= [v1.0.15](https://github.com/ckyycc/ngx-hana-nameserver-history-viewer/tree/1.0.15) ).\
7
8
 
8
9
  ## Demo
9
10
 
@@ -20,7 +21,7 @@ npm install ngx-hana-nameserver-history-viewer --save
20
21
 
21
22
  ### Requirements
22
23
 
23
- The library depends on [ngx-selection-table](https://github.com/ckyycc/ngx-selection-table), [ngx-dropdown-list](https://github.com/ckyycc/ngx-dropdown-list), [moment-timezone](https://github.com/moment/moment-timezone), [papaparse](https://github.com/mholt/PapaParse), [ng-pick-datetime](https://github.com/DanielYKPan/date-time-picker), [chart.js](https://github.com/chartjs/Chart.js) and [hammer.js](https://github.com/hammerjs/hammer.js/).
24
+ The library depends on [ngx-selection-table](https://github.com/ckyycc/ngx-selection-table), [ngx-dropdown-list](https://github.com/ckyycc/ngx-dropdown-list), [moment-timezone](https://github.com/moment/moment-timezone), [papaparse](https://github.com/mholt/PapaParse), [angular-datetime-picker](https://github.com/danielmoncada/date-time-picker), [chart.js](https://github.com/chartjs/Chart.js) and [hammer.js](https://github.com/hammerjs/hammer.js).
24
25
 
25
26
  The only file required is the ng-pick-datetime `picker.min.css` file:
26
27
 
@@ -85,7 +86,7 @@ timezone | Timezone name, can't be abbreviation | [timezone]="'America/Vancouve
85
86
 
86
87
  Todo
87
88
  ----
88
- * ~~Support Angular 7~~
89
+ * ~~Support Angular 13~~
89
90
  * Reduce memory usage
90
91
  * ...
91
92
 
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWhhbmEtbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL25neC1oYW5hLW5hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './src/nameserver-history-viewer/index';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvaW5kZXgnO1xyXG4iXX0=
@@ -0,0 +1,68 @@
1
+ import { Component, Input, Output, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class AlertComponent {
5
+ constructor() {
6
+ this.alertMessageChange = new EventEmitter();
7
+ }
8
+ ngOnChanges(changes) {
9
+ if (changes.alertMessage) {
10
+ this._setMessage(changes.alertMessage.currentValue);
11
+ }
12
+ }
13
+ _setMessage(msgString) {
14
+ this.message = void 0;
15
+ if (msgString && msgString.length > 0) {
16
+ this._showMessage(msgString);
17
+ this._setTimeout();
18
+ }
19
+ }
20
+ _showMessage(msgString) {
21
+ setTimeout(() => this.message = msgString, 100);
22
+ }
23
+ _setTimeout() {
24
+ if (this.alertTimeout > 0) {
25
+ // clear time out first, it doesn't matter whether the _timeout is undefined or not.
26
+ clearTimeout(this._timeout);
27
+ this._timeout = setTimeout(() => this.clearAlert(), this.alertTimeout);
28
+ }
29
+ }
30
+ clearAlert() {
31
+ this.alertMessage = void 0;
32
+ this.alertType = void 0;
33
+ this.alertMessageChange.emit(this.alertMessage);
34
+ clearTimeout(this._timeout);
35
+ }
36
+ /**
37
+ * get css class base on the alert type
38
+ */
39
+ get alertClassType() {
40
+ if (this.alertType) {
41
+ switch (this.alertType.toLowerCase()) {
42
+ case 'success':
43
+ return 'alert-success';
44
+ case 'error':
45
+ return 'alert-error';
46
+ case 'info':
47
+ return 'alert-info';
48
+ case 'warning':
49
+ return 'alert-warning';
50
+ }
51
+ }
52
+ }
53
+ }
54
+ AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
55
+ AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AlertComponent, selector: "alert", inputs: { alertMessage: "alertMessage", alertType: "alertType", alertTimeout: "alertTimeout" }, outputs: { alertMessageChange: "alertMessageChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"alert-container\" *ngIf=\"message\">\r\n <div [ngClass]=\"alertClassType\">\r\n {{message}}\r\n <a class=\"close\" (click)=\"clearAlert()\">&times;</a>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n", styles: [".alert-container{position:relative;width:100%;text-align:left}.alert-container .fadein,.alert-container .alert-error,.alert-container .alert-warning,.alert-container .alert-info,.alert-container .alert-success{animation:fadein 1s;-moz-animation:fadein 1s;-webkit-animation:fadein 1s;-o-animation:fadein 1s}@keyframes fadein{0%{opacity:0}to{opacity:1}}.alert-container .alert,.alert-container .alert-error,.alert-container .alert-warning,.alert-container .alert-info,.alert-container .alert-success{display:inline-block;padding:.5rem 1rem;border:1px solid transparent;border-radius:.25rem;font-size:12px}.alert-container .alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-container .alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-container .alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-container .alert-error{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-container .close{color:#000;text-shadow:0 1px 0 #fff;opacity:.5;box-sizing:border-box}.alert-container .close:hover{cursor:pointer;font-weight:900;color:red}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlertComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'alert', template: "<div class=\"alert-container\" *ngIf=\"message\">\r\n <div [ngClass]=\"alertClassType\">\r\n {{message}}\r\n <a class=\"close\" (click)=\"clearAlert()\">&times;</a>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n", styles: [".alert-container{position:relative;width:100%;text-align:left}.alert-container .fadein,.alert-container .alert-error,.alert-container .alert-warning,.alert-container .alert-info,.alert-container .alert-success{animation:fadein 1s;-moz-animation:fadein 1s;-webkit-animation:fadein 1s;-o-animation:fadein 1s}@keyframes fadein{0%{opacity:0}to{opacity:1}}.alert-container .alert,.alert-container .alert-error,.alert-container .alert-warning,.alert-container .alert-info,.alert-container .alert-success{display:inline-block;padding:.5rem 1rem;border:1px solid transparent;border-radius:.25rem;font-size:12px}.alert-container .alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert-container .alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-container .alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.alert-container .alert-error{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-container .close{color:#000;text-shadow:0 1px 0 #fff;opacity:.5;box-sizing:border-box}.alert-container .close:hover{cursor:pointer;font-weight:900;color:red}\n"] }]
59
+ }], propDecorators: { alertMessage: [{
60
+ type: Input
61
+ }], alertType: [{
62
+ type: Input
63
+ }], alertTimeout: [{
64
+ type: Input
65
+ }], alertMessageChange: [{
66
+ type: Output
67
+ }] } });
68
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9hbGVydC9hbGVydC5jb21wb25lbnQudHMiLCIuLi8uLi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AgICBzd2l0Y2ggKHRoaXMuYWxlcnRUeXBlLnRvTG93ZXJDYXNlKCkpIHtcclxuICAgICAgICBjYXNlICdzdWNjZXNzJzpcclxuICAgICAgICAgIHJldHVybiAnYWxlcnQtc3VjY2Vzcyc7XHJcbiAgICAgICAgY2FzZSAnZXJyb3InOlxyXG4gICAgICAgICAgcmV0dXJuICdhbGVydC1lcnJvcic7XHJcbiAgICAgICAgY2FzZSAnaW5mbyc6XHJcbiAgICAgICAgICByZXR1cm4gJ2FsZXJ0LWluZm8nO1xyXG4gICAgICAgIGNhc2UgJ3dhcm5pbmcnOlxyXG4gICAgICAgICAgcmV0dXJuICdhbGVydC13YXJuaW5nJztcclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiYWxlcnQtY29udGFpbmVyXCIgKm5nSWY9XCJtZXNzYWdlXCI+XHJcbiAgPGRpdiBbbmdDbGFzc109XCJhbGVydENsYXNzVHlwZVwiPlxyXG4gICAge3ttZXNzYWdlfX1cclxuICAgIDxhIGNsYXNzPVwiY2xvc2VcIiAoY2xpY2spPVwiY2xlYXJBbGVydCgpXCI+JnRpbWVzOzwvYT5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcblxyXG5cclxuXHJcblxyXG4iXX0=
@@ -0,0 +1,22 @@
1
+ import { AlertComponent } from './alert.component';
2
+ import { NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i0 from "@angular/core";
5
+ export class AlertModule {
6
+ }
7
+ AlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ AlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlertModule, declarations: [AlertComponent], imports: [CommonModule], exports: [AlertComponent] });
9
+ AlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlertModule, providers: [], imports: [[CommonModule]] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AlertModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ AlertComponent,
15
+ ],
16
+ exports: [AlertComponent],
17
+ imports: [CommonModule],
18
+ providers: [],
19
+ bootstrap: [],
20
+ }]
21
+ }] });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9hbGVydC9hbGVydC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLG1CQUFtQixDQUFDO0FBQ2pELE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDOztBQVc3QyxNQUFNLE9BQU8sV0FBVzs7eUdBQVgsV0FBVzswR0FBWCxXQUFXLGlCQVBwQixjQUFjLGFBR04sWUFBWSxhQURaLGNBQWM7MEdBS2IsV0FBVyxhQUhYLEVBQUUsWUFESixDQUFDLFlBQVksQ0FBQzs0RkFJWixXQUFXO2tCQVR2QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixjQUFjO3FCQUNmO29CQUNELE9BQU8sRUFBRSxDQUFDLGNBQWMsQ0FBQztvQkFDekIsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixTQUFTLEVBQUUsRUFBRTtvQkFDYixTQUFTLEVBQUUsRUFBRTtpQkFDZCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7QWxlcnRDb21wb25lbnR9IGZyb20gJy4vYWxlcnQuY29tcG9uZW50JztcclxuaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7Q29tbW9uTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIEFsZXJ0Q29tcG9uZW50LFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW0FsZXJ0Q29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcclxuICBwcm92aWRlcnM6IFtdLFxyXG4gIGJvb3RzdHJhcDogW10sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBbGVydE1vZHVsZSB7fVxyXG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './alert.component';
2
+ export * from './alert.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci9jb21wb25lbnRzL2FsZXJ0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWxlcnQuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9hbGVydC5tb2R1bGUnO1xyXG5cclxuXHJcblxyXG5cclxuIl19
@@ -0,0 +1,112 @@
1
+ import { Component, Input, Output, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FileDropInputComponent {
4
+ constructor() {
5
+ this.dropAreaText = '';
6
+ this.inputAreaText = '';
7
+ this.fileDrop = new EventEmitter();
8
+ this.fileInput = new EventEmitter();
9
+ this.droppingFlag = false;
10
+ }
11
+ static _stopAndPrevent(event) {
12
+ event.stopPropagation(); // Stops some browsers from redirecting.
13
+ event.preventDefault(); // Stops some browsers' default action, like open the file directly
14
+ }
15
+ browseFiles(event) {
16
+ this.fileInput.emit(event);
17
+ }
18
+ onDragOver(event) {
19
+ FileDropInputComponent._stopAndPrevent(event);
20
+ if (!this.droppingFlag) {
21
+ this.droppingFlag = true;
22
+ }
23
+ }
24
+ onDragLeave(event) {
25
+ FileDropInputComponent._stopAndPrevent(event);
26
+ if (this.droppingFlag) {
27
+ this.droppingFlag = false;
28
+ }
29
+ }
30
+ onDropFiles(event) {
31
+ FileDropInputComponent._stopAndPrevent(event);
32
+ this.droppingFlag = false;
33
+ let length = 0;
34
+ if (event.dataTransfer.items) {
35
+ length = event.dataTransfer.items.length;
36
+ }
37
+ else {
38
+ length = event.dataTransfer.files.length;
39
+ }
40
+ if (length > 1) {
41
+ event.error = 'Multiple files/folders are not supported';
42
+ this.fileDrop.emit(event);
43
+ return;
44
+ }
45
+ if (length === 1) {
46
+ let fileEntry;
47
+ if (event.dataTransfer.items) {
48
+ if (event.dataTransfer.items[0].webkitGetAsEntry) {
49
+ fileEntry = event.dataTransfer.items[0].webkitGetAsEntry();
50
+ }
51
+ }
52
+ else {
53
+ if (event.dataTransfer.files[0].webkitGetAsEntry) {
54
+ fileEntry = event.dataTransfer.files[0].webkitGetAsEntry();
55
+ }
56
+ }
57
+ if (fileEntry) {
58
+ if (fileEntry.isFile) {
59
+ event.error = void 0;
60
+ }
61
+ else if (fileEntry.isDirectory) {
62
+ event.error = `Folder (${fileEntry.name}) is not supported.`;
63
+ }
64
+ else {
65
+ event.error = `Internal error, can not get the type of the dropped item (${fileEntry.name}).`;
66
+ }
67
+ }
68
+ const file = event.dataTransfer.files && event.dataTransfer.files.length > 0 ? event.dataTransfer.files[0] : null;
69
+ if (file) {
70
+ event.file = file;
71
+ }
72
+ else {
73
+ event.error = 'Internal error, can not get the dropped file.';
74
+ }
75
+ this.fileDrop.emit(event);
76
+ return;
77
+ }
78
+ }
79
+ }
80
+ FileDropInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileDropInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
+ FileDropInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FileDropInputComponent, selector: "file-drop-input", inputs: { dropAreaText: "dropAreaText", inputAreaText: "inputAreaText" }, outputs: { fileDrop: "fileDrop", fileInput: "fileInput" }, ngImport: i0, template: `
82
+ <div class="file-drop-input" [class.file-drop-dropping]="droppingFlag" (drop)="onDropFiles($event)"
83
+ (dragover)="onDragOver($event)" (dragleave)="onDragLeave($event)">
84
+ <div class="drop-content">
85
+ <label class="input-button">
86
+ <input type="file" (change)="browseFiles($event)" accept=".trc"/> {{inputAreaText}}&nbsp;
87
+ </label>{{dropAreaText}}
88
+ </div>
89
+ </div>
90
+ `, isInline: true, styles: [".file-drop-dropping{background-color:#94949499}.file-drop-input{width:100%;height:100%;border-radius:1px;border:0}.file-drop-input .drop-content{color:#4169e1;height:46px;display:flex;justify-content:center;align-items:center}.file-drop-input .drop-content .input-button{display:inline-block;border:none;outline:0;cursor:pointer;font-weight:700;padding:0 2px;color:#00008b}.file-drop-input .drop-content .input-button:hover{text-shadow:1px 1px 3px royalblue}.file-drop-input .drop-content .input-button input{display:none}\n"] });
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FileDropInputComponent, decorators: [{
92
+ type: Component,
93
+ args: [{ selector: 'file-drop-input', template: `
94
+ <div class="file-drop-input" [class.file-drop-dropping]="droppingFlag" (drop)="onDropFiles($event)"
95
+ (dragover)="onDragOver($event)" (dragleave)="onDragLeave($event)">
96
+ <div class="drop-content">
97
+ <label class="input-button">
98
+ <input type="file" (change)="browseFiles($event)" accept=".trc"/> {{inputAreaText}}&nbsp;
99
+ </label>{{dropAreaText}}
100
+ </div>
101
+ </div>
102
+ `, styles: [".file-drop-dropping{background-color:#94949499}.file-drop-input{width:100%;height:100%;border-radius:1px;border:0}.file-drop-input .drop-content{color:#4169e1;height:46px;display:flex;justify-content:center;align-items:center}.file-drop-input .drop-content .input-button{display:inline-block;border:none;outline:0;cursor:pointer;font-weight:700;padding:0 2px;color:#00008b}.file-drop-input .drop-content .input-button:hover{text-shadow:1px 1px 3px royalblue}.file-drop-input .drop-content .input-button input{display:none}\n"] }]
103
+ }], propDecorators: { dropAreaText: [{
104
+ type: Input
105
+ }], inputAreaText: [{
106
+ type: Input
107
+ }], fileDrop: [{
108
+ type: Output
109
+ }], fileInput: [{
110
+ type: Output
111
+ }] } });
112
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1kcm9wLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyL2NvbXBvbmVudHMvZmlsZS1kcm9wLWlucHV0L2ZpbGUtZHJvcC1pbnB1dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFpQnZFLE1BQU0sT0FBTyxzQkFBc0I7SUFmbkM7UUFrQkUsaUJBQVksR0FBRyxFQUFFLENBQUM7UUFFbEIsa0JBQWEsR0FBRyxFQUFFLENBQUM7UUFFWixhQUFRLEdBQXNCLElBQUksWUFBWSxFQUFPLENBQUM7UUFFdEQsY0FBUyxHQUFzQixJ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RBc0VudHJ5KCk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICAgIGlmIChmaWxlRW50cnkpIHtcclxuICAgICAgICBpZiAoZmlsZUVudHJ5LmlzRmlsZSkge1xyXG4gICAgICAgICAgZXZlbnQuZXJyb3IgPSB2b2lkIDA7XHJcbiAgICAgICAgfSBlbHNlIGlmIChmaWxlRW50cnkuaXNEaXJlY3RvcnkpIHtcclxuICAgICAgICAgIGV2ZW50LmVycm9yID0gYEZvbGRlciAoJHtmaWxlRW50cnkubmFtZX0pIGlzIG5vdCBzdXBwb3J0ZWQuYDtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgZXZlbnQuZXJyb3IgPSBgSW50ZXJuYWwgZXJyb3IsIGNhbiBub3QgZ2V0IHRoZSB0eXBlIG9mIHRoZSBkcm9wcGVkIGl0ZW0gKCR7ZmlsZUVudHJ5Lm5hbWV9KS5gO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG5cclxuICAgICAgY29uc3QgZmlsZTogRmlsZSA9IGV2ZW50LmRhdGFUcmFuc2Zlci5maWxlcyAmJiBldmVudC5kYXRhVHJhbnNmZXIuZmlsZXMubGVuZ3RoID4gMCA/IGV2ZW50LmRhdGFUcmFuc2Zlci5maWxlc1swXSA6IG51bGw7XHJcbiAgICAgIGlmIChmaWxlKSB7XHJcbiAgICAgICAgZXZlbnQuZmlsZSA9IGZpbGU7XHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgZXZlbnQuZXJyb3IgPSAnSW50ZXJuYWwgZXJyb3IsIGNhbiBub3QgZ2V0IHRoZSBkcm9wcGVkIGZpbGUuJztcclxuICAgICAgfVxyXG4gICAgICB0aGlzLmZpbGVEcm9wLmVtaXQoZXZlbnQpO1xyXG4gICAgICByZXR1cm47XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './file-drop-input.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci9jb21wb25lbnRzL2ZpbGUtZHJvcC1pbnB1dC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9maWxlLWRyb3AtaW5wdXQuY29tcG9uZW50JztcclxuIl19
@@ -0,0 +1,9 @@
1
+ export * from './alert';
2
+ export * from './file-drop-input';
3
+ export * from './progress-bar';
4
+ export * from './timezone-selector';
5
+ export * from './port-selector';
6
+ export * from './instruction';
7
+ export * from './time-range-selector';
8
+ export * from './nameserver-history.component';
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hbGVydCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZmlsZS1kcm9wLWlucHV0JztcclxuZXhwb3J0ICogZnJvbSAnLi9wcm9ncmVzcy1iYXInO1xyXG5leHBvcnQgKiBmcm9tICcuL3RpbWV6b25lLXNlbGVjdG9yJztcclxuZXhwb3J0ICogZnJvbSAnLi9wb3J0LXNlbGVjdG9yJztcclxuZXhwb3J0ICogZnJvbSAnLi9pbnN0cnVjdGlvbic7XHJcbmV4cG9ydCAqIGZyb20gJy4vdGltZS1yYW5nZS1zZWxlY3Rvcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vbmFtZXNlcnZlci1oaXN0b3J5LmNvbXBvbmVudCc7XHJcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './instruction.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci9jb21wb25lbnRzL2luc3RydWN0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2luc3RydWN0aW9uLmNvbXBvbmVudCc7XHJcbiJdfQ==
@@ -0,0 +1,42 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class InstructionComponent {
5
+ constructor() {
6
+ this.step1Finished = false;
7
+ this.step2Finished = false;
8
+ this.step3Finished = false;
9
+ this.step4Finished = false;
10
+ this.step5Finished = false;
11
+ this.show = true;
12
+ /**
13
+ * Output event bind to (show)
14
+ */
15
+ this.showChange = new EventEmitter();
16
+ }
17
+ onClose() {
18
+ this.show = false;
19
+ this.showChange.emit(this.show);
20
+ }
21
+ }
22
+ InstructionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InstructionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ InstructionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: InstructionComponent, selector: "instruction", inputs: { step1Finished: "step1Finished", step2Finished: "step2Finished", step3Finished: "step3Finished", step4Finished: "step4Finished", step5Finished: "step5Finished", show: "show" }, outputs: { showChange: "showChange" }, ngImport: i0, template: "<div class=\"instruction\" *ngIf=\"show\">\r\n <div class=\"close\" (click)=\"onClose()\">&times;</div>\r\n <div class=\"mandatory\" [class.completed]=\"step1Finished\">\r\n <label>Select nameserver history file <span class=\"flag\">*</span></label> <br>\r\n <ul>\r\n <li>Click the \"Browse\" </li>\r\n <li>Drag and drop your file to \"Drop File Here\"</li>\r\n </ul>\r\n </div>\r\n <div class=\"optional\" [class.completed]=\"step2Finished\">\r\n <label>Select time range and timezone <span class=\"flag\">(optional)</span></label> <br>\r\n <ul>\r\n <li>If you do not select time range, this tool will read from the beginning until it reaches the configured maxRowsLimitation. </li>\r\n <li>If you do not select time zone, this tool will use your local default timezone.</li>\r\n </ul>\r\n </div>\r\n <div class=\"optional\" [class.completed]=\"step3Finished\">\r\n <label>Select ports <span class=\"flag\">(optional)</span></label> <br>\r\n <ul>\r\n <li>If you do not choose any port, this tool will try to load data for all ports until it reaches the configured maxRowsLimitation.</li>\r\n <li>After choosing one port, this tool will only try to load data for the selected port until it reaches the configured maxRowsLimitation.</li>\r\n <li>If you do not know any port information, you can click \"Load\" to load all ports from the nameserver history file.</li>\r\n </ul>\r\n </div>\r\n <div class=\"mandatory\" [class.completed]=\"step4Finished\">\r\n <label>Load the data from nameserver history file and show the chart <span class=\"flag\">*</span></label> <br>\r\n <ul><li>Click button \"Show\"</li></ul>\r\n </div>\r\n <div class=\"optional\" [class.completed]=\"step5Finished\">\r\n <label>Reset the chart <span class=\"flag\">(optional)</span></label> <br>\r\n <ul><li>If you zoomed in, you can go back to original status by clicking \"Reset Chart\"</li></ul>\r\n </div>\r\n</div>\r\n", styles: [".instruction{margin-top:15px;padding:15px;position:relative;width:100%;height:auto;text-align:left;text-shadow:0 0 1px #DDDDDD;font-size:16px;font-weight:400;background:#f8f8f8;box-shadow:inset 0 20px 20px -20px #0009;border:1px dashed #0782d0}.instruction .close{position:absolute;top:2px;right:4px;color:red;font-size:14px}.instruction .close:hover{font-weight:700;cursor:pointer}.instruction li{font-size:14px;display:list-item}.instruction .mandatory{color:#3a4048}.instruction .mandatory .flag{color:red;display:inline}.instruction .optional{color:#3a4048}.instruction .optional .flag{color:#00008b;display:inline}.instruction .completed{color:#2e8b57}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InstructionComponent, decorators: [{
25
+ type: Component,
26
+ args: [{ selector: 'instruction', template: "<div class=\"instruction\" *ngIf=\"show\">\r\n <div class=\"close\" (click)=\"onClose()\">&times;</div>\r\n <div class=\"mandatory\" [class.completed]=\"step1Finished\">\r\n <label>Select nameserver history file <span class=\"flag\">*</span></label> <br>\r\n <ul>\r\n <li>Click the \"Browse\" </li>\r\n <li>Drag and drop your file to \"Drop File Here\"</li>\r\n </ul>\r\n </div>\r\n <div class=\"optional\" [class.completed]=\"step2Finished\">\r\n <label>Select time range and timezone <span class=\"flag\">(optional)</span></label> <br>\r\n <ul>\r\n <li>If you do not select time range, this tool will read from the beginning until it reaches the configured maxRowsLimitation. </li>\r\n <li>If you do not select time zone, this tool will use your local default timezone.</li>\r\n </ul>\r\n </div>\r\n <div class=\"optional\" [class.completed]=\"step3Finished\">\r\n <label>Select ports <span class=\"flag\">(optional)</span></label> <br>\r\n <ul>\r\n <li>If you do not choose any port, this tool will try to load data for all ports until it reaches the configured maxRowsLimitation.</li>\r\n <li>After choosing one port, this tool will only try to load data for the selected port until it reaches the configured maxRowsLimitation.</li>\r\n <li>If you do not know any port information, you can click \"Load\" to load all ports from the nameserver history file.</li>\r\n </ul>\r\n </div>\r\n <div class=\"mandatory\" [class.completed]=\"step4Finished\">\r\n <label>Load the data from nameserver history file and show the chart <span class=\"flag\">*</span></label> <br>\r\n <ul><li>Click button \"Show\"</li></ul>\r\n </div>\r\n <div class=\"optional\" [class.completed]=\"step5Finished\">\r\n <label>Reset the chart <span class=\"flag\">(optional)</span></label> <br>\r\n <ul><li>If you zoomed in, you can go back to original status by clicking \"Reset Chart\"</li></ul>\r\n </div>\r\n</div>\r\n", styles: [".instruction{margin-top:15px;padding:15px;position:relative;width:100%;height:auto;text-align:left;text-shadow:0 0 1px #DDDDDD;font-size:16px;font-weight:400;background:#f8f8f8;box-shadow:inset 0 20px 20px -20px #0009;border:1px dashed #0782d0}.instruction .close{position:absolute;top:2px;right:4px;color:red;font-size:14px}.instruction .close:hover{font-weight:700;cursor:pointer}.instruction li{font-size:14px;display:list-item}.instruction .mandatory{color:#3a4048}.instruction .mandatory .flag{color:red;display:inline}.instruction .optional{color:#3a4048}.instruction .optional .flag{color:#00008b;display:inline}.instruction .completed{color:#2e8b57}\n"] }]
27
+ }], propDecorators: { step1Finished: [{
28
+ type: Input
29
+ }], step2Finished: [{
30
+ type: Input
31
+ }], step3Finished: [{
32
+ type: Input
33
+ }], step4Finished: [{
34
+ type: Input
35
+ }], step5Finished: [{
36
+ type: Input
37
+ }], show: [{
38
+ type: Input
39
+ }], showChange: [{
40
+ type: Output
41
+ }] } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdHJ1Y3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9pbnN0cnVjdGlvbi9pbnN0cnVjdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8u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