ngx-hana-nameserver-history-viewer 1.1.1 → 1.1.90
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.
- package/README.md +7 -6
- package/esm2020/ngx-hana-nameserver-history-viewer.mjs +5 -0
- package/esm2020/public-api.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/alert/alert.component.mjs +68 -0
- package/esm2020/src/nameserver-history-viewer/components/alert/alert.module.mjs +22 -0
- package/esm2020/src/nameserver-history-viewer/components/alert/index.mjs +3 -0
- package/esm2020/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.mjs +112 -0
- package/esm2020/src/nameserver-history-viewer/components/file-drop-input/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/index.mjs +9 -0
- package/esm2020/src/nameserver-history-viewer/components/instruction/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/instruction/instruction.component.mjs +42 -0
- package/esm2020/src/nameserver-history-viewer/components/nameserver-history.component.mjs +550 -0
- package/esm2020/src/nameserver-history-viewer/components/port-selector/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/port-selector/port-selector.component.mjs +69 -0
- package/esm2020/src/nameserver-history-viewer/components/port-selector/port-selector.service.mjs +41 -0
- package/esm2020/src/nameserver-history-viewer/components/progress-bar/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.mjs +40 -0
- package/esm2020/src/nameserver-history-viewer/components/time-range-selector/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.mjs +70 -0
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.mjs +90 -0
- package/esm2020/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.mjs +49 -0
- package/esm2020/src/nameserver-history-viewer/index.mjs +3 -0
- package/esm2020/src/nameserver-history-viewer/nameserver-history.module.mjs +63 -0
- package/esm2020/src/nameserver-history-viewer/services/chart.service.mjs +323 -0
- package/esm2020/src/nameserver-history-viewer/services/file.service.mjs +390 -0
- package/esm2020/src/nameserver-history-viewer/services/index.mjs +4 -0
- package/esm2020/src/nameserver-history-viewer/services/ui.service.mjs +557 -0
- package/esm2020/src/nameserver-history-viewer/types/abort.types.mjs +6 -0
- package/esm2020/src/nameserver-history-viewer/types/alert.types.mjs +8 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-data-item.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-data.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-header.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content-time.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/chart-content.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/color-rgba.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/html-element.type.mjs +9 -0
- package/esm2020/src/nameserver-history-viewer/types/index.mjs +28 -0
- package/esm2020/src/nameserver-history-viewer/types/item.types.mjs +14 -0
- package/esm2020/src/nameserver-history-viewer/types/legend-color.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-backup.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-columnstore.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-host.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-item.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-persistence.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-rowstore.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-server.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-sql.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info-threads.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/load-history-info.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/port.types.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/types/scale-group.types.mjs +17 -0
- package/esm2020/src/nameserver-history-viewer/types/unit-category.types.mjs +10 -0
- package/esm2020/src/nameserver-history-viewer/types/unit.types.mjs +14 -0
- package/esm2020/src/nameserver-history-viewer/utils/chart-util.mjs +25 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.mjs +57 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.mjs +139 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/index.mjs +41 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.mjs +106 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.mjs +168 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-downsample/utils.mjs +114 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.mjs +527 -0
- package/esm2020/src/nameserver-history-viewer/utils/chartjs-zoom/index.mjs +2 -0
- package/esm2020/src/nameserver-history-viewer/utils/file-util.mjs +154 -0
- package/esm2020/src/nameserver-history-viewer/utils/index.mjs +5 -0
- package/esm2020/src/nameserver-history-viewer/utils/time-util.mjs +101 -0
- package/esm2020/src/nameserver-history-viewer/utils/ui-util.mjs +162 -0
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs +4081 -0
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs.map +1 -0
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs +4081 -0
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs.map +1 -0
- package/ngx-hana-nameserver-history-viewer.d.ts +1 -1
- package/package.json +36 -61
- package/src/nameserver-history-viewer/components/alert/alert.component.d.ts +4 -1
- package/src/nameserver-history-viewer/components/alert/alert.module.d.ts +6 -0
- package/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.d.ts +3 -0
- package/src/nameserver-history-viewer/components/instruction/instruction.component.d.ts +3 -0
- package/src/nameserver-history-viewer/components/nameserver-history.component.d.ts +33 -14
- package/src/nameserver-history-viewer/components/port-selector/port-selector.component.d.ts +4 -1
- package/src/nameserver-history-viewer/components/port-selector/port-selector.service.d.ts +3 -0
- package/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.d.ts +3 -0
- package/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.d.ts +3 -0
- package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.d.ts +3 -0
- package/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.d.ts +3 -0
- package/src/nameserver-history-viewer/index.d.ts +1 -0
- package/src/nameserver-history-viewer/nameserver-history.module.d.ts +17 -0
- package/src/nameserver-history-viewer/services/chart.service.d.ts +4 -1
- package/src/nameserver-history-viewer/services/file.service.d.ts +4 -0
- package/src/nameserver-history-viewer/services/ui.service.d.ts +5 -2
- package/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.d.ts +3 -0
- package/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.d.ts +1 -1
- package/src/nameserver-history-viewer/utils/file-util.d.ts +11 -0
- package/bundles/ngx-hana-nameserver-history-viewer.umd.js +0 -6298
- package/bundles/ngx-hana-nameserver-history-viewer.umd.js.map +0 -1
- package/bundles/ngx-hana-nameserver-history-viewer.umd.min.js +0 -2
- package/bundles/ngx-hana-nameserver-history-viewer.umd.min.js.map +0 -1
- package/esm2015/ngx-hana-nameserver-history-viewer.js +0 -10
- package/esm2015/public-api.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/alert/alert.component.js +0 -108
- package/esm2015/src/nameserver-history-viewer/components/alert/alert.module.js +0 -21
- package/esm2015/src/nameserver-history-viewer/components/alert/index.js +0 -7
- package/esm2015/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.js +0 -141
- package/esm2015/src/nameserver-history-viewer/components/file-drop-input/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/index.js +0 -13
- package/esm2015/src/nameserver-history-viewer/components/instruction/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/instruction/instruction.component.js +0 -62
- package/esm2015/src/nameserver-history-viewer/components/nameserver-history.component.js +0 -742
- package/esm2015/src/nameserver-history-viewer/components/port-selector/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/port-selector/port-selector.component.js +0 -93
- package/esm2015/src/nameserver-history-viewer/components/port-selector/port-selector.service.js +0 -56
- package/esm2015/src/nameserver-history-viewer/components/progress-bar/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.js +0 -35
- package/esm2015/src/nameserver-history-viewer/components/time-range-selector/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.js +0 -68
- package/esm2015/src/nameserver-history-viewer/components/timezone-selector/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.js +0 -135
- package/esm2015/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.js +0 -72
- package/esm2015/src/nameserver-history-viewer/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/nameserver-history.module.js +0 -42
- package/esm2015/src/nameserver-history-viewer/services/chart.service.js +0 -423
- package/esm2015/src/nameserver-history-viewer/services/file.service.js +0 -447
- package/esm2015/src/nameserver-history-viewer/services/index.js +0 -8
- package/esm2015/src/nameserver-history-viewer/services/ui.service.js +0 -817
- package/esm2015/src/nameserver-history-viewer/types/abort.types.js +0 -13
- package/esm2015/src/nameserver-history-viewer/types/alert.types.js +0 -13
- package/esm2015/src/nameserver-history-viewer/types/chart-content-data-item.types.js +0 -15
- package/esm2015/src/nameserver-history-viewer/types/chart-content-data.types.js +0 -9
- package/esm2015/src/nameserver-history-viewer/types/chart-content-header.types.js +0 -15
- package/esm2015/src/nameserver-history-viewer/types/chart-content-time.types.js +0 -9
- package/esm2015/src/nameserver-history-viewer/types/chart-content.types.js +0 -21
- package/esm2015/src/nameserver-history-viewer/types/color-rgba.types.js +0 -19
- package/esm2015/src/nameserver-history-viewer/types/html-element.type.js +0 -19
- package/esm2015/src/nameserver-history-viewer/types/index.js +0 -32
- package/esm2015/src/nameserver-history-viewer/types/item.types.js +0 -19
- package/esm2015/src/nameserver-history-viewer/types/legend-color.types.js +0 -9
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-backup.types.js +0 -19
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-columnstore.types.js +0 -19
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-host.types.js +0 -35
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-item.types.js +0 -31
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-persistence.types.js +0 -27
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-rowstore.types.js +0 -15
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-server.types.js +0 -25
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.js +0 -19
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-sql.types.js +0 -37
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.js +0 -15
- package/esm2015/src/nameserver-history-viewer/types/load-history-info-threads.types.js +0 -23
- package/esm2015/src/nameserver-history-viewer/types/load-history-info.types.js +0 -31
- package/esm2015/src/nameserver-history-viewer/types/port.types.js +0 -17
- package/esm2015/src/nameserver-history-viewer/types/scale-group.types.js +0 -35
- package/esm2015/src/nameserver-history-viewer/types/unit-category.types.js +0 -21
- package/esm2015/src/nameserver-history-viewer/types/unit.types.js +0 -19
- package/esm2015/src/nameserver-history-viewer/utils/chart-util.js +0 -38
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.js +0 -100
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.js +0 -88
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.js +0 -213
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/index.js +0 -46
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.js +0 -158
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.js +0 -295
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-downsample/utils.js +0 -130
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.js +0 -733
- package/esm2015/src/nameserver-history-viewer/utils/chartjs-zoom/index.js +0 -6
- package/esm2015/src/nameserver-history-viewer/utils/file-util.js +0 -149
- package/esm2015/src/nameserver-history-viewer/utils/index.js +0 -9
- package/esm2015/src/nameserver-history-viewer/utils/time-util.js +0 -135
- package/esm2015/src/nameserver-history-viewer/utils/ui-util.js +0 -203
- package/esm5/ngx-hana-nameserver-history-viewer.js +0 -10
- package/esm5/public-api.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/alert/alert.component.js +0 -140
- package/esm5/src/nameserver-history-viewer/components/alert/alert.module.js +0 -25
- package/esm5/src/nameserver-history-viewer/components/alert/index.js +0 -7
- package/esm5/src/nameserver-history-viewer/components/file-drop-input/file-drop-input.component.js +0 -155
- package/esm5/src/nameserver-history-viewer/components/file-drop-input/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/index.js +0 -13
- package/esm5/src/nameserver-history-viewer/components/instruction/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/instruction/instruction.component.js +0 -67
- package/esm5/src/nameserver-history-viewer/components/nameserver-history.component.js +0 -990
- package/esm5/src/nameserver-history-viewer/components/port-selector/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/port-selector/port-selector.component.js +0 -93
- package/esm5/src/nameserver-history-viewer/components/port-selector/port-selector.service.js +0 -81
- package/esm5/src/nameserver-history-viewer/components/progress-bar/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/progress-bar/progress-bar.component.js +0 -26
- package/esm5/src/nameserver-history-viewer/components/time-range-selector/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/time-range-selector/time-range-selector.component.js +0 -58
- package/esm5/src/nameserver-history-viewer/components/timezone-selector/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.component.js +0 -164
- package/esm5/src/nameserver-history-viewer/components/timezone-selector/timezone-selector.service.js +0 -102
- package/esm5/src/nameserver-history-viewer/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/nameserver-history.module.js +0 -46
- package/esm5/src/nameserver-history-viewer/services/chart.service.js +0 -578
- package/esm5/src/nameserver-history-viewer/services/file.service.js +0 -566
- package/esm5/src/nameserver-history-viewer/services/index.js +0 -8
- package/esm5/src/nameserver-history-viewer/services/ui.service.js +0 -1036
- package/esm5/src/nameserver-history-viewer/types/abort.types.js +0 -13
- package/esm5/src/nameserver-history-viewer/types/alert.types.js +0 -13
- package/esm5/src/nameserver-history-viewer/types/chart-content-data-item.types.js +0 -15
- package/esm5/src/nameserver-history-viewer/types/chart-content-data.types.js +0 -9
- package/esm5/src/nameserver-history-viewer/types/chart-content-header.types.js +0 -15
- package/esm5/src/nameserver-history-viewer/types/chart-content-time.types.js +0 -9
- package/esm5/src/nameserver-history-viewer/types/chart-content.types.js +0 -21
- package/esm5/src/nameserver-history-viewer/types/color-rgba.types.js +0 -19
- package/esm5/src/nameserver-history-viewer/types/html-element.type.js +0 -19
- package/esm5/src/nameserver-history-viewer/types/index.js +0 -32
- package/esm5/src/nameserver-history-viewer/types/item.types.js +0 -19
- package/esm5/src/nameserver-history-viewer/types/legend-color.types.js +0 -9
- package/esm5/src/nameserver-history-viewer/types/load-history-info-backup.types.js +0 -19
- package/esm5/src/nameserver-history-viewer/types/load-history-info-columnstore.types.js +0 -19
- package/esm5/src/nameserver-history-viewer/types/load-history-info-host.types.js +0 -35
- package/esm5/src/nameserver-history-viewer/types/load-history-info-item.types.js +0 -31
- package/esm5/src/nameserver-history-viewer/types/load-history-info-persistence.types.js +0 -27
- package/esm5/src/nameserver-history-viewer/types/load-history-info-rowstore.types.js +0 -15
- package/esm5/src/nameserver-history-viewer/types/load-history-info-server.types.js +0 -25
- package/esm5/src/nameserver-history-viewer/types/load-history-info-session-admission-control.types.js +0 -19
- package/esm5/src/nameserver-history-viewer/types/load-history-info-sql.types.js +0 -37
- package/esm5/src/nameserver-history-viewer/types/load-history-info-sync-primitives.types.js +0 -15
- package/esm5/src/nameserver-history-viewer/types/load-history-info-threads.types.js +0 -23
- package/esm5/src/nameserver-history-viewer/types/load-history-info.types.js +0 -31
- package/esm5/src/nameserver-history-viewer/types/port.types.js +0 -17
- package/esm5/src/nameserver-history-viewer/types/scale-group.types.js +0 -35
- package/esm5/src/nameserver-history-viewer/types/unit-category.types.js +0 -21
- package/esm5/src/nameserver-history-viewer/types/unit.types.js +0 -19
- package/esm5/src/nameserver-history-viewer/utils/chart-util.js +0 -39
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/chartjs_ext.js +0 -100
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/data_culling.js +0 -88
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/data_mipmap.js +0 -307
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/index.js +0 -46
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/lttb_data_mipmap.js +0 -232
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/responsive_downsample_plugin.js +0 -350
- package/esm5/src/nameserver-history-viewer/utils/chartjs-downsample/utils.js +0 -142
- package/esm5/src/nameserver-history-viewer/utils/chartjs-zoom/chart.zoom.js +0 -733
- package/esm5/src/nameserver-history-viewer/utils/chartjs-zoom/index.js +0 -6
- package/esm5/src/nameserver-history-viewer/utils/file-util.js +0 -150
- package/esm5/src/nameserver-history-viewer/utils/index.js +0 -9
- package/esm5/src/nameserver-history-viewer/utils/time-util.js +0 -135
- package/esm5/src/nameserver-history-viewer/utils/ui-util.js +0 -205
- package/fesm2015/ngx-hana-nameserver-history-viewer.js +0 -5223
- package/fesm2015/ngx-hana-nameserver-history-viewer.js.map +0 -1
- package/fesm5/ngx-hana-nameserver-history-viewer.js +0 -6295
- package/fesm5/ngx-hana-nameserver-history-viewer.js.map +0 -1
- package/ngx-hana-nameserver-history-viewer.metadata.json +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Generated bundle index. Do not edit.
|
|
7
|
-
*/
|
|
8
|
-
export { NameserverHistoryModule } from './public-api';
|
|
9
|
-
export { AlertModule as ɵh, FileDropInputComponent as ɵb, InstructionComponent as ɵf, NameServerHistoryComponent as ɵa, PortSelectorComponent as ɵe, ProgressBarComponent as ɵc, TimeRangeSelectorComponent as ɵg, TimezoneSelectorComponent as ɵd } from './src/nameserver-history-viewer/components';
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWhhbmEtbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1oYW5hLW5hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvIiwic291cmNlcyI6WyJuZ3gtaGFuYS1uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3Q0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLFdBQVcsSUFBSSxFQUFFLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQywwQkFBMEIsSUFBSSxFQUFFLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQywwQkFBMEIsSUFBSSxFQUFFLEVBQUMseUJBQXlCLElBQUksRUFBRSxFQUFDLE1BQU0sNENBQTRDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7QWxlcnRNb2R1bGUgYXMgybVoLEZpbGVEcm9wSW5wdXRDb21wb25lbnQgYXMgybViLEluc3RydWN0aW9uQ29tcG9uZW50IGFzIMm1ZixOYW1lU2VydmVySGlzdG9yeUNvbXBvbmVudCBhcyDJtWEsUG9ydFNlbGVjdG9yQ29tcG9uZW50IGFzIMm1ZSxQcm9ncmVzc0JhckNvbXBvbmVudCBhcyDJtWMsVGltZVJhbmdlU2VsZWN0b3JDb21wb25lbnQgYXMgybVnLFRpbWV6b25lU2VsZWN0b3JDb21wb25lbnQgYXMgybVkfSBmcm9tICcuL3NyYy9uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyL2NvbXBvbmVudHMnOyJdfQ==
|
package/esm2015/public-api.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
export { NameserverHistoryModule } from './src/nameserver-history-viewer/index';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1oYW5hLW5hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSx3Q0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvaW5kZXgnO1xyXG4iXX0=
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
6
|
-
export class AlertComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.alertMessageChange = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @param {?} changes
|
|
12
|
-
* @return {?}
|
|
13
|
-
*/
|
|
14
|
-
ngOnChanges(changes) {
|
|
15
|
-
if (changes.alertMessage) {
|
|
16
|
-
this._setMessage(changes.alertMessage.currentValue);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* @param {?} msgString
|
|
22
|
-
* @return {?}
|
|
23
|
-
*/
|
|
24
|
-
_setMessage(msgString) {
|
|
25
|
-
this.message = void 0;
|
|
26
|
-
if (msgString && msgString.length > 0) {
|
|
27
|
-
this._showMessage(msgString);
|
|
28
|
-
this._setTimeout();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @private
|
|
33
|
-
* @param {?} msgString
|
|
34
|
-
* @return {?}
|
|
35
|
-
*/
|
|
36
|
-
_showMessage(msgString) {
|
|
37
|
-
setTimeout(() => this.message = msgString, 100);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @private
|
|
41
|
-
* @return {?}
|
|
42
|
-
*/
|
|
43
|
-
_setTimeout() {
|
|
44
|
-
if (this.alertTimeout > 0) {
|
|
45
|
-
// clear time out first, it doesn't matter whether the _timeout is undefined or not.
|
|
46
|
-
clearTimeout(this._timeout);
|
|
47
|
-
this._timeout = setTimeout(() => this.clearAlert(), this.alertTimeout);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
|
-
clearAlert() {
|
|
54
|
-
this.alertMessage = void 0;
|
|
55
|
-
this.alertType = void 0;
|
|
56
|
-
this.alertMessageChange.emit(this.alertMessage);
|
|
57
|
-
clearTimeout(this._timeout);
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* get css class base on the alert type
|
|
61
|
-
* @return {?}
|
|
62
|
-
*/
|
|
63
|
-
get alertClassType() {
|
|
64
|
-
if (this.alertType) {
|
|
65
|
-
switch (this.alertType.toLowerCase()) {
|
|
66
|
-
case 'success':
|
|
67
|
-
return 'alert-success';
|
|
68
|
-
case 'error':
|
|
69
|
-
return 'alert-error';
|
|
70
|
-
case 'info':
|
|
71
|
-
return 'alert-info';
|
|
72
|
-
case 'warning':
|
|
73
|
-
return 'alert-warning';
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
AlertComponent.decorators = [
|
|
79
|
-
{ type: Component, args: [{
|
|
80
|
-
selector: 'alert',
|
|
81
|
-
template: "<div class=\"alert-container\" *ngIf=\"message\">\n <div [ngClass]=\"alertClassType\">\n {{message}}\n <a class=\"close\" (click)=\"clearAlert()\">×</a>\n </div>\n</div>\n\n\n\n\n",
|
|
82
|
-
styles: [".alert-container{position:relative;width:100%;text-align:left}.alert-container .alert-error,.alert-container .alert-info,.alert-container .alert-success,.alert-container .alert-warning,.alert-container .fadein{animation:1s fadein;-moz-animation:1s fadein;-webkit-animation:1s fadein;-o-animation:1s fadein}@keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}.alert-container .alert,.alert-container .alert-error,.alert-container .alert-info,.alert-container .alert-success,.alert-container .alert-warning{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}"]
|
|
83
|
-
}] }
|
|
84
|
-
];
|
|
85
|
-
AlertComponent.propDecorators = {
|
|
86
|
-
alertMessage: [{ type: Input }],
|
|
87
|
-
alertType: [{ type: Input }],
|
|
88
|
-
alertTimeout: [{ type: Input }],
|
|
89
|
-
alertMessageChange: [{ type: Output }]
|
|
90
|
-
};
|
|
91
|
-
if (false) {
|
|
92
|
-
/** @type {?} */
|
|
93
|
-
AlertComponent.prototype.alertMessage;
|
|
94
|
-
/** @type {?} */
|
|
95
|
-
AlertComponent.prototype.alertType;
|
|
96
|
-
/** @type {?} */
|
|
97
|
-
AlertComponent.prototype.alertTimeout;
|
|
98
|
-
/** @type {?} */
|
|
99
|
-
AlertComponent.prototype.alertMessageChange;
|
|
100
|
-
/** @type {?} */
|
|
101
|
-
AlertComponent.prototype.message;
|
|
102
|
-
/**
|
|
103
|
-
* @type {?}
|
|
104
|
-
* @private
|
|
105
|
-
*/
|
|
106
|
-
AlertComponent.prototype._timeout;
|
|
107
|
-
}
|
|
108
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWhhbmEtbmFtZXNl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ydFR5cGUudG9Mb3dlckNhc2UoKSkge1xuICAgICAgICBjYXNlICdzdWNjZXNzJzpcbiAgICAgICAgICByZXR1cm4gJ2FsZXJ0LXN1Y2Nlc3MnO1xuICAgICAgICBjYXNlICdlcnJvcic6XG4gICAgICAgICAgcmV0dXJuICdhbGVydC1lcnJvcic7XG4gICAgICAgIGNhc2UgJ2luZm8nOlxuICAgICAgICAgIHJldHVybiAnYWxlcnQtaW5mbyc7XG4gICAgICAgIGNhc2UgJ3dhcm5pbmcnOlxuICAgICAgICAgIHJldHVybiAnYWxlcnQtd2FybmluZyc7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { AlertComponent } from './alert.component';
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
export class AlertModule {
|
|
9
|
-
}
|
|
10
|
-
AlertModule.decorators = [
|
|
11
|
-
{ type: NgModule, args: [{
|
|
12
|
-
declarations: [
|
|
13
|
-
AlertComponent,
|
|
14
|
-
],
|
|
15
|
-
exports: [AlertComponent],
|
|
16
|
-
imports: [CommonModule],
|
|
17
|
-
providers: [],
|
|
18
|
-
bootstrap: [],
|
|
19
|
-
},] }
|
|
20
|
-
];
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWhhbmEtbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci8iLCJzb3VyY2VzIjpbInNyYy9uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyL2NvbXBvbmVudHMvYWxlcnQvYWxlcnQubW9kdWxlLnRzIl0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ateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
export { AlertComponent } from './alert.component';
|
|
6
|
-
export { AlertModule } from './alert.module';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtaGFuYS1uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyLyIsInNvdXJjZXMiOlsic3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9hbGVydC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsK0JBQWMsbUJBQW1CLENBQUM7QUFDbEMsNEJBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FsZXJ0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vYWxlcnQubW9kdWxlJztcclxuXHJcblxyXG5cclxuXHJcbiJdfQ==
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
6
|
-
export class FileDropInputComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.dropAreaText = '';
|
|
9
|
-
this.inputAreaText = '';
|
|
10
|
-
this.fileDrop = new EventEmitter();
|
|
11
|
-
this.fileInput = new EventEmitter();
|
|
12
|
-
this.droppingFlag = false;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
* @param {?} event
|
|
17
|
-
* @return {?}
|
|
18
|
-
*/
|
|
19
|
-
static _stopAndPrevent(event) {
|
|
20
|
-
event.stopPropagation(); // Stops some browsers from redirecting.
|
|
21
|
-
event.preventDefault(); // Stops some browsers' default action, like open the file directly
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @param {?} event
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
browseFiles(event) {
|
|
28
|
-
this.fileInput.emit(event);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @param {?} event
|
|
32
|
-
* @return {?}
|
|
33
|
-
*/
|
|
34
|
-
onDragOver(event) {
|
|
35
|
-
FileDropInputComponent._stopAndPrevent(event);
|
|
36
|
-
if (!this.droppingFlag) {
|
|
37
|
-
this.droppingFlag = true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @param {?} event
|
|
42
|
-
* @return {?}
|
|
43
|
-
*/
|
|
44
|
-
onDragLeave(event) {
|
|
45
|
-
FileDropInputComponent._stopAndPrevent(event);
|
|
46
|
-
if (this.droppingFlag) {
|
|
47
|
-
this.droppingFlag = false;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @param {?} event
|
|
52
|
-
* @return {?}
|
|
53
|
-
*/
|
|
54
|
-
onDropFiles(event) {
|
|
55
|
-
FileDropInputComponent._stopAndPrevent(event);
|
|
56
|
-
this.droppingFlag = false;
|
|
57
|
-
/** @type {?} */
|
|
58
|
-
let length = 0;
|
|
59
|
-
if (event.dataTransfer.items) {
|
|
60
|
-
length = event.dataTransfer.items.length;
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
length = event.dataTransfer.files.length;
|
|
64
|
-
}
|
|
65
|
-
if (length > 1) {
|
|
66
|
-
event.error = 'Multiple files/folders are not supported';
|
|
67
|
-
this.fileDrop.emit(event);
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
if (length === 1) {
|
|
71
|
-
/** @type {?} */
|
|
72
|
-
let fileEntry;
|
|
73
|
-
if (event.dataTransfer.items) {
|
|
74
|
-
if (event.dataTransfer.items[0].webkitGetAsEntry) {
|
|
75
|
-
fileEntry = event.dataTransfer.items[0].webkitGetAsEntry();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
if (event.dataTransfer.files[0].webkitGetAsEntry) {
|
|
80
|
-
fileEntry = event.dataTransfer.files[0].webkitGetAsEntry();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
if (fileEntry) {
|
|
84
|
-
if (fileEntry.isFile) {
|
|
85
|
-
event.error = void 0;
|
|
86
|
-
}
|
|
87
|
-
else if (fileEntry.isDirectory) {
|
|
88
|
-
event.error = `Folder (${fileEntry.name}) is not supported.`;
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
event.error = `Internal error, can not get the type of the dropped item (${fileEntry.name}).`;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
/** @type {?} */
|
|
95
|
-
const file = event.dataTransfer.files && event.dataTransfer.files.length > 0 ? event.dataTransfer.files[0] : null;
|
|
96
|
-
if (file) {
|
|
97
|
-
event.file = file;
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
event.error = 'Internal error, can not get the dropped file.';
|
|
101
|
-
}
|
|
102
|
-
this.fileDrop.emit(event);
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
FileDropInputComponent.decorators = [
|
|
108
|
-
{ type: Component, args: [{
|
|
109
|
-
selector: 'file-drop-input',
|
|
110
|
-
template: `
|
|
111
|
-
<div class="file-drop-input" [class.file-drop-dropping]="droppingFlag" (drop)="onDropFiles($event)"
|
|
112
|
-
(dragover)="onDragOver($event)" (dragleave)="onDragLeave($event)">
|
|
113
|
-
<div class="drop-content">
|
|
114
|
-
<label class="input-button">
|
|
115
|
-
<input type="file" (change)="browseFiles($event)" accept=".trc"/> {{inputAreaText}}
|
|
116
|
-
</label>{{dropAreaText}}
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
`,
|
|
120
|
-
styles: [".file-drop-dropping{background-color:rgba(148,148,148,.6)}.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 #4169e1}.file-drop-input .drop-content .input-button input{display:none}"]
|
|
121
|
-
}] }
|
|
122
|
-
];
|
|
123
|
-
FileDropInputComponent.propDecorators = {
|
|
124
|
-
dropAreaText: [{ type: Input }],
|
|
125
|
-
inputAreaText: [{ type: Input }],
|
|
126
|
-
fileDrop: [{ type: Output }],
|
|
127
|
-
fileInput: [{ type: Output }]
|
|
128
|
-
};
|
|
129
|
-
if (false) {
|
|
130
|
-
/** @type {?} */
|
|
131
|
-
FileDropInputComponent.prototype.dropAreaText;
|
|
132
|
-
/** @type {?} */
|
|
133
|
-
FileDropInputComponent.prototype.inputAreaText;
|
|
134
|
-
/** @type {?} */
|
|
135
|
-
FileDropInputComponent.prototype.fileDrop;
|
|
136
|
-
/** @type {?} */
|
|
137
|
-
FileDropInputComponent.prototype.fileInput;
|
|
138
|
-
/** @type {?} */
|
|
139
|
-
FileDropInputComponent.prototype.droppingFlag;
|
|
140
|
-
}
|
|
141
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1kcm9wLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1oYW5hLW5hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvIiwic291cmNlcyI6WyJzcmMvbmFtZXNlcnZlci1oaXN0b3J5LXZpZXdlci9jb21wb25lbnRzL2ZpbGUtZHJvcC1pbnB1dC9maWxlLWRyb3AtaW5wdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSx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ICB9IGVsc2Uge1xyXG4gICAgICAgIGV2ZW50LmVycm9yID0gJ0ludGVybmFsIGVycm9yLCBjYW4gbm90IGdldCB0aGUgZHJvcHBlZCBmaWxlLic7XHJcbiAgICAgIH1cclxuICAgICAgdGhpcy5maWxlRHJvcC5lbWl0KGV2ZW50KTtcclxuICAgICAgcmV0dXJuO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
export { FileDropInputComponent } from './file-drop-input.component';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtaGFuYS1uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyLyIsInNvdXJjZXMiOlsic3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9maWxlLWRyb3AtaW5wdXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHVDQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9maWxlLWRyb3AtaW5wdXQuY29tcG9uZW50JztcclxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
export { AlertComponent, AlertModule } from './alert';
|
|
6
|
-
export { FileDropInputComponent } from './file-drop-input';
|
|
7
|
-
export { ProgressBarComponent } from './progress-bar';
|
|
8
|
-
export { TimezoneSelectorComponent } from './timezone-selector';
|
|
9
|
-
export { PortSelectorComponent } from './port-selector';
|
|
10
|
-
export { InstructionComponent } from './instruction';
|
|
11
|
-
export { TimeRangeSelectorComponent } from './time-range-selector';
|
|
12
|
-
export { NameServerHistoryComponent } from './nameserver-history.component';
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtaGFuYS1uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyLyIsInNvdXJjZXMiOlsic3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsNENBQWMsU0FBUyxDQUFDO0FBQ3hCLHVDQUFjLG1CQUFtQixDQUFDO0FBQ2xDLHFDQUFjLGdCQUFnQixDQUFDO0FBQy9CLDBDQUFjLHFCQUFxQixDQUFDO0FBQ3BDLHNDQUFjLGlCQUFpQixDQUFDO0FBQ2hDLHFDQUFjLGVBQWUsQ0FBQztBQUM5QiwyQ0FBYyx1QkFBdUIsQ0FBQztBQUN0QywyQ0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWxlcnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2ZpbGUtZHJvcC1pbnB1dCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcHJvZ3Jlc3MtYmFyJztcclxuZXhwb3J0ICogZnJvbSAnLi90aW1lem9uZS1zZWxlY3Rvcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vcG9ydC1zZWxlY3Rvcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vaW5zdHJ1Y3Rpb24nO1xyXG5leHBvcnQgKiBmcm9tICcuL3RpbWUtcmFuZ2Utc2VsZWN0b3InO1xyXG5leHBvcnQgKiBmcm9tICcuL25hbWVzZXJ2ZXItaGlzdG9yeS5jb21wb25lbnQnO1xyXG4iXX0=
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
export { InstructionComponent } from './instruction.component';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtaGFuYS1uYW1lc2VydmVyLWhpc3Rvcnktdmlld2VyLyIsInNvdXJjZXMiOlsic3JjL25hbWVzZXJ2ZXItaGlzdG9yeS12aWV3ZXIvY29tcG9uZW50cy9pbnN0cnVjdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEscUNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2luc3RydWN0aW9uLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
package/esm2015/src/nameserver-history-viewer/components/instruction/instruction.component.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
-
export class InstructionComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.step1Finished = false;
|
|
9
|
-
this.step2Finished = false;
|
|
10
|
-
this.step3Finished = false;
|
|
11
|
-
this.step4Finished = false;
|
|
12
|
-
this.step5Finished = false;
|
|
13
|
-
this.show = true;
|
|
14
|
-
/**
|
|
15
|
-
* Output event bind to (show)
|
|
16
|
-
*/
|
|
17
|
-
this.showChange = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @return {?}
|
|
21
|
-
*/
|
|
22
|
-
onClose() {
|
|
23
|
-
this.show = false;
|
|
24
|
-
this.showChange.emit(this.show);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
InstructionComponent.decorators = [
|
|
28
|
-
{ type: Component, args: [{
|
|
29
|
-
selector: 'instruction',
|
|
30
|
-
template: "<div class=\"instruction\" *ngIf=\"show\">\n <div class=\"close\" (click)=\"onClose()\">×</div>\n <div class=\"mandatory\" [class.completed]=\"step1Finished\">\n <label>Select nameserver history file <span class=\"flag\">*</span></label> <br>\n <ul>\n <li>Click the \"Browse\" </li>\n <li>Drag and drop your file to \"Drop File Here\"</li>\n </ul>\n </div>\n <div class=\"optional\" [class.completed]=\"step2Finished\">\n <label>Select time range and timezone <span class=\"flag\">(optional)</span></label> <br>\n <ul>\n <li>If you do not select time range, this tool will read from the beginning until it reaches the configured maxRowsLimitation. </li>\n <li>If you do not select time zone, this tool will use your local default timezone.</li>\n </ul>\n </div>\n <div class=\"optional\" [class.completed]=\"step3Finished\">\n <label>Select ports <span class=\"flag\">(optional)</span></label> <br>\n <ul>\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>\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>\n <li>If you do not know any port information, you can click \"Load\" to load all ports from the nameserver history file.</li>\n </ul>\n </div>\n <div class=\"mandatory\" [class.completed]=\"step4Finished\">\n <label>Load the data from nameserver history file and show the chart <span class=\"flag\">*</span></label> <br>\n <ul><li>Click button \"Show\"</li></ul>\n </div>\n <div class=\"optional\" [class.completed]=\"step5Finished\">\n <label>Reset the chart <span class=\"flag\">(optional)</span></label> <br>\n <ul><li>If you zoomed in, you can go back to original status by clicking \"Reset Chart\"</li></ul>\n </div>\n</div>\n",
|
|
31
|
-
styles: [".instruction{margin-top:15px;padding:15px;position:relative;width:100%;height:auto;text-align:left;text-shadow:0 0 1px #ddd;font-size:16px;font-weight:400;background:#f8f8f8;box-shadow:inset 0 20px 20px -20px rgba(0,0,0,.6);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}"]
|
|
32
|
-
}] }
|
|
33
|
-
];
|
|
34
|
-
InstructionComponent.propDecorators = {
|
|
35
|
-
step1Finished: [{ type: Input }],
|
|
36
|
-
step2Finished: [{ type: Input }],
|
|
37
|
-
step3Finished: [{ type: Input }],
|
|
38
|
-
step4Finished: [{ type: Input }],
|
|
39
|
-
step5Finished: [{ type: Input }],
|
|
40
|
-
show: [{ type: Input }],
|
|
41
|
-
showChange: [{ type: Output }]
|
|
42
|
-
};
|
|
43
|
-
if (false) {
|
|
44
|
-
/** @type {?} */
|
|
45
|
-
InstructionComponent.prototype.step1Finished;
|
|
46
|
-
/** @type {?} */
|
|
47
|
-
InstructionComponent.prototype.step2Finished;
|
|
48
|
-
/** @type {?} */
|
|
49
|
-
InstructionComponent.prototype.step3Finished;
|
|
50
|
-
/** @type {?} */
|
|
51
|
-
InstructionComponent.prototype.step4Finished;
|
|
52
|
-
/** @type {?} */
|
|
53
|
-
InstructionComponent.prototype.step5Finished;
|
|
54
|
-
/** @type {?} */
|
|
55
|
-
InstructionComponent.prototype.show;
|
|
56
|
-
/**
|
|
57
|
-
* Output event bind to (show)
|
|
58
|
-
* @type {?}
|
|
59
|
-
*/
|
|
60
|
-
InstructionComponent.prototype.showChange;
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdHJ1Y3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vb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