{ "version": 3, "sources": ["projects/shared-lib/src/lib/components/pbb-docking/pbb-docking.component.ts", "projects/shared-lib/src/lib/components/pbb-docking/pbb-docking.component.html"], "sourcesContent": ["import { AfterViewInit, Component, ElementRef, EventEmitter, Input, ViewChild, ViewChildren } from '@angular/core';\r\n\r\nimport { Subscription } from 'rxjs';\r\n\r\nimport { MatDialog } from '@angular/material/dialog';\r\n\r\nimport { groupBy, GroupResult } from '@progress/kendo-data-query';\r\nimport { ResizeResult } from 'ngxtension/resize';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { TourService } from 'ngx-ui-tour-md-menu';\r\n\r\nimport _ from 'lodash';\r\n\r\nimport { TacticalDashboardOverviewGaugeComponent } from '../../components/tactical-dashboard-overview-gauge/tactical-dashboard-overview-gauge.component';\r\nimport { TacticalWidgetSummaryTilePopupComponent } from '../../components/tactical-widget-summary-tile-popup/tactical-widget-summary-tile-popup.component';\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nimport { Global } from '../../_constants/global.variables';\r\n\r\nimport { IGlobal } from '../../_models/global.model';\r\n\r\nimport { DashboardService } from '../../services/dashboard.service';\r\nimport { DataService } from '../../services/data.service';\r\nimport { UtilityService } from '../../services/utility.service';\r\n\r\nimport { DialogModalParentComponent } from '../dialog-modal-parent/dialog-modal-parent.component';\r\n\r\n@Component({\r\n\tselector: 'lib-pbb-docking',\r\n\ttemplateUrl: './pbb-docking.component.html',\r\n\tstyleUrls: ['./pbb-docking.component.scss'],\r\n})\r\nexport class PbbDockingComponent implements AfterViewInit {\r\n\t@ViewChildren('seriesItems')\r\n\tpublic series: any;\r\n\r\n\t@ViewChild('chart')\r\n\tpublic chart: any;\r\n\tpublic graphTypes: string[] = ['area', 'bar', 'column', 'donut', 'horizontalWaterfall', 'line', 'verticalArea', 'verticalLine', 'waterfall'];\r\n\r\n\t@ViewChild('childOverviewGauge')\r\n\tchildOverviewGauge: TacticalDashboardOverviewGaugeComponent;\r\n\r\n\t@Input() widgetObject: any;\r\n\t@Input() private dashboardTimeScopeChanged: EventEmitter;\r\n\t@Input() private dashboardUpdateIntervalChanged: EventEmitter;\r\n\t@Input() private widgetResizedEvent: EventEmitter;\r\n\tpublic global: IGlobal = Global;\r\n\r\n\tfullDataCacheSubscription: any;\r\n\tcolorChangedSubscription: any;\r\n\tdashboardUpdateIntervalSubscription: any;\r\n\tdashboardTimeScopeChangedSubscription: any;\r\n\tselectedMatTabLabel: string;\r\n\tupdateInterval: any;\r\n\tdisplayNoTimeScopeMessage: boolean = false;\r\n\tdisplayNoUpdateIntervalMessage: boolean = false;\r\n\tsecondsAgoInterval: any;\r\n\tlastUpdatedDate: Date;\r\n\tdisplayTimeAgoMessage: any;\r\n\tupdateControllerInterval: any;\r\n\tparentContainerSize: any;\r\n\twidgetTabsChartConfigurations: any;\r\n\ttheme: string;\r\n\tchartBackgroundColor: string = '#27304C';\r\n\tchartLabelColors: string = 'white';\r\n\tgridLineColor: string = 'white';\r\n\taxisItemColor: string = 'white';\r\n\th1Number: number = undefined;\r\n\th4Percent: number = undefined;\r\n\tfontSize1 = 'medium';\r\n\tfontSize2 = 'small';\r\n\t// cardClass1 = 'card-tile-lg';\r\n\t// cardClass2 = 'card-tile-md';\r\n\t// cardWideClass2 = 'card-wide-tile-lg';\r\n\tcardTileCenterTitleClass = 'grid-card-title-center-sm';\r\n\tcardWideTileCenterTitleClass = 'grid-wide-card-title-center-sm';\r\n\theaderGridTitle = 'grid-title-lg';\r\n\tcontentHeight: any;\r\n\ttotalAssetLength: any;\r\n\ttotalDocksForToday: any;\r\n\tpercentCalculated: boolean = false;\r\n\tgaugeDisplayData: any;\r\n\tchartDataFinalIsReady: boolean = false;\r\n\twidgetTabConfigurationsFinishedMapping: boolean = false;\r\n\tsummaryArray = [];\r\n\tsummaryArray1 = [];\r\n\tsummaryArray2 = [];\r\n\tsparklineData = [];\r\n\twidgetResizedSubscription: any;\r\n\tnaviageToFirstTab: any;\r\n\tpublic label = {\r\n\t\tvisible: false,\r\n\t};\r\n\tpublic progressStyles: { [key: string]: any } = {\r\n\t\tbackground: 'limegreen',\r\n\t};\r\n\tisLoading: boolean;\r\n\r\n\tpublic timeScopeObject: any;\r\n\tpublic tab: any;\r\n\tpublic options: any = [];\r\n\tpublic optionsSettingsOnly: any = [];\r\n\tpublic navigationOpened: any;\r\n\r\n\tpublic widgetTabs: any = [\r\n\t\t{\r\n\t\t\tisLoading: false,\r\n\t\t\ttabHasBeenLoaded: false,\r\n\t\t\ttextLabel: 'Summary',\r\n\t\t\ttooltip:\r\n\t\t\t\t'Summary showing within the current scope settings (Site) the total amount of assets that are currently docked.Click on the info to navigate to corresponding tab for details.',\r\n\t\t},\r\n\t\t{\r\n\t\t\tisLoading: false,\r\n\t\t\ttabHasBeenLoaded: false,\r\n\t\t\ttextLabel: 'Current Docked Assets',\r\n\t\t\tgraphType: this.graphTypes[3],\r\n\t\t\ttooltip:\r\n\t\t\t\t'Donut chart showing within the current scope settings (Site, asset type) the amount of assets currently docked with a tooltip that shows which assets are in each category.',\r\n\t\t\tgraphTypesLimitations: [2, 3],\r\n\t\t\tdownloadableData: true,\r\n\t\t\tchartDataIsReady: false,\r\n\t\t\tlegendVisible: true,\r\n\t\t\tgroupable: true,\r\n\t\t\tgroupColumns: [{ field: 'IsAircraftDocked' }],\r\n\t\t\ttableStructure: [\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'DateOfObservationDateObject',\r\n\t\t\t\t\ttitle: 'Date',\r\n\t\t\t\t\tfilter: 'date',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t\tformatOption: 'shortDate',\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'SiteName',\r\n\t\t\t\t\ttitle: 'Site',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'GateName',\r\n\t\t\t\t\ttitle: 'Gate Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ProperAssetName',\r\n\t\t\t\t\ttitle: 'Asset Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'IsAircraftDocked',\r\n\t\t\t\t\ttitle: 'Aircraft Docked Status',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tisLoading: false,\r\n\t\t\ttabHasBeenLoaded: false,\r\n\t\t\ttextLabel: 'Assets Docked Current Time',\r\n\t\t\ttooltip:\r\n\t\t\t\t'Detailed chart showing within the current scope settings (Site) the amount of Assets docked at the time this report was generated over the last amount of days selected on timescope. ',\r\n\t\t\tgraphTypesLimitations: [],\r\n\t\t\tgraphType: this.graphTypes[5],\r\n\t\t\tdownloadableData: true,\r\n\t\t\tchartDataIsReady: false,\r\n\t\t\tgroupable: true,\r\n\t\t\tgroupColumns: [{ field: 'ProperAssetName' }],\r\n\r\n\t\t\ttableStructure: [\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ObservationDateTime',\r\n\t\t\t\t\ttitle: 'Date',\r\n\t\t\t\t\tfilter: 'date',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t\t// formatOption: 'shortDate'\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'SiteName',\r\n\t\t\t\t\ttitle: 'Site',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'GateName',\r\n\t\t\t\t\ttitle: 'Gate Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ProperAssetName',\r\n\t\t\t\t\ttitle: 'Asset Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ObservationTextValue',\r\n\t\t\t\t\ttitle: 'Docked',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tisLoading: false,\r\n\t\t\ttabHasBeenLoaded: false,\r\n\t\t\ttextLabel: 'Total Minutes Docked For Day',\r\n\t\t\trendered: false,\r\n\t\t\tgraphType: this.graphTypes[5],\r\n\t\t\ttooltip:\r\n\t\t\t\t'Detailed line chart showing within the current scope settings (Site) the total amount of time Assets were docked for each day of the trend along with the amount of times they were docked.',\r\n\t\t\tlegendVisible: true,\r\n\t\t\tdownloadableData: true,\r\n\t\t\tgroupable: true,\r\n\t\t\tgroupColumns: [{ field: 'ProperAssetName' }],\r\n\r\n\t\t\ttableStructure: [\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'DateOfObservationDateObject',\r\n\t\t\t\t\ttitle: 'Date',\r\n\t\t\t\t\tfilter: 'date',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t\tformatOption: 'shortDate',\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'SiteName',\r\n\t\t\t\t\ttitle: 'Site',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'GateName',\r\n\t\t\t\t\ttitle: 'Gate Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ProperAssetName',\r\n\t\t\t\t\ttitle: 'Asset Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'AircraftDockedMinutes',\r\n\t\t\t\t\ttitle: 'Minutes Docked in Day',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tisLoading: false,\r\n\t\t\ttabHasBeenLoaded: false,\r\n\t\t\ttextLabel: 'Total Times Docked For Day',\r\n\t\t\trendered: false,\r\n\t\t\tgraphType: this.graphTypes[5],\r\n\t\t\ttooltip:\r\n\t\t\t\t'Detailed line chart showing within the current scope settings (Site) the total amount of times Assets were docked for each day of the trend along with the amount of minutes they were docked.',\r\n\t\t\tlegendVisible: true,\r\n\t\t\tdownloadableData: true,\r\n\t\t\tgroupable: true,\r\n\t\t\tgroupColumns: [{ field: 'ProperAssetName' }],\r\n\r\n\t\t\ttableStructure: [\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'DateOfObservationDateObject',\r\n\t\t\t\t\ttitle: 'Date',\r\n\t\t\t\t\tfilter: 'date',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t\tformatOption: 'shortDate',\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'SiteName',\r\n\t\t\t\t\ttitle: 'Site',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'GateName',\r\n\t\t\t\t\ttitle: 'Gate Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ProperAssetName',\r\n\t\t\t\t\ttitle: 'Asset Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'AircraftDockedCount',\r\n\t\t\t\t\ttitle: 'Count of Aircraft Docked in Day',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t\t{\r\n\t\t\tisLoading: false,\r\n\t\t\ttabHasBeenLoaded: false,\r\n\t\t\ttextLabel: 'Docks For Today Detail',\r\n\t\t\tgraphType: this.graphTypes[2],\r\n\t\t\ttooltip:\r\n\t\t\t\t'Detailed chart showing docks for today',\r\n\t\t\tlegendVisible: true,\r\n\t\t\tdownloadableData: true,\r\n\t\t\tgroupable: true,\r\n\t\t\tgroupColumns: [],\r\n\t\t\ttableStructure: [\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'SiteName',\r\n\t\t\t\t\ttitle: 'Site',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'ProperAssetName',\r\n\t\t\t\t\ttitle: 'Asset Name',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'DurationInSeconds',\r\n\t\t\t\t\ttitle: 'Seconds Docked',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'DurationInMinutes',\r\n\t\t\t\t\ttitle: 'Minutes Docked',\r\n\t\t\t\t\t_width: 100,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'StartDate',\r\n\t\t\t\t\ttitle: 'Start Date',\r\n\t\t\t\t\tfilter: 'date',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tfield: 'EndDate',\r\n\t\t\t\t\ttitle: 'End Date',\r\n\t\t\t\t\tfilter: 'date',\r\n\t\t\t\t\t_width: 300,\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t},\r\n\t];\r\n\tnoDataForSite: boolean = false;\r\n\ttimeoutToExpire: any;\r\n\tselectedTabIndex: number = 0;\r\n\tWidgetTabSettings: any = [];\r\n\twidgetNavigateToFirstTabSubscription: Subscription;\r\n\twidgetToggleLegendHiddenSubscription: Subscription;\r\n\r\n\tConditionalShadingRecord: any;\r\n\tpercentTextColor: any = [];\r\n\tconditionalColorPercentAmount: any = [];\r\n\tholeSize = 30;\r\n\tholeCenterTextClass = 'donut-center-text-md';\r\n\tdonutClass = 'donut-md';\r\n\tpublic percentAssetsInUse = [];\r\n\tpublic percentAssetsNotInUse = [];\r\n\r\n\tconstructor(\r\n\t\tpublic dataService: DataService,\r\n\t\tprivate dashboardService: DashboardService,\r\n\t\tprivate dialog: MatDialog,\r\n\t\tpublic toastr: ToastrService,\r\n\t\tprivate utilityService: UtilityService,\r\n\t\tprivate elem: ElementRef,\r\n\t\tpublic tourService: TourService,\r\n\t) {}\r\n\tpublic labelContent(e: any): string {\r\n\t\treturn e.category + ': ' + e.value;\r\n\t}\r\n\tpublic labelContentShort(e: any): string {\r\n\t\treturn e.value;\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tthis.tab = this.widgetTabs[0];\r\n\t\tthis.updateInterval =\r\n\t\t\tthis.dashboardService.determineProperTacticalDashboardUpdateIntervalForWidget(\r\n\t\t\t\tthis.widgetObject\r\n\t\t\t);\r\n\t\tthis.timeScopeObject =\r\n\t\tthis.dashboardService.determineProperTimeScopeForWidget({\r\n\t\t\twidgetObject: this.widgetObject,\r\n\t\t\tUTCConfiguration: false,\r\n\t\t});\r\n\t\tthis.buildNavigationOptionsArray();\r\n\t}\r\n\r\n\tngAfterViewInit() {\r\n\r\n\r\n\t\tvar bounds = this.elem.nativeElement.getBoundingClientRect();\r\n\t\tthis.cardResize(bounds);\r\n\r\n\t\tif(Global.isMobile == true) {\r\n\t\t\tthis.contentHeight = 'calc(100% - 20px)';\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.contentHeight = 'calc(100% - 120px)';\r\n\t\t}\r\n\r\n\t\tlet statement =\r\n\t\t\t'API.GetWidgetTabSettings @WidgetId = ' +\r\n\t\t\tthis.widgetObject.WidgetId;\r\n\t\tthis.dataService.SQLActionAsPromise(statement).then((data: any) => {\r\n\t\t\tthis.WidgetTabSettings = data;\r\n\t\t\tthis.WidgetTabSettings.forEach((tabSetting) => {\r\n\t\t\t\tthis.widgetTabs[tabSetting.TabIndex].legendVisible =\r\n\t\t\t\t\t!tabSetting.IsLegendHidden;\r\n\t\t\t});\r\n\t\t\tconsole.log(this);\r\n\t\t});\r\n\r\n\t\tthis.ConditionalShadingRecord = this.dataService.cache.tacticalDashboardWidgetConditionalShadings.filter((p: any) => {\r\n\t\t\treturn p.WidgetId == this.widgetObject.WidgetId;\r\n\t\t});\r\n\r\n\t\tif (this.ConditionalShadingRecord.length > 0) {\r\n\t\t\tthis.ConditionalShadingRecord.sort((a, b) => parseFloat(a.Value) - parseFloat(b.Value));\r\n\t\t}\r\n\r\n\t\tif (this.widgetResizedEvent) {\r\n\t\t\tthis.widgetResizedSubscription = this.widgetResizedEvent.subscribe((data) => {\r\n\t\t\t\tif (this.widgetObject.WidgetId == data.item.WidgetId) {\r\n\t\t\t\t\tthis.cardResize(data);\r\n\t\t\t\t\tthis.fontResize(data);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\tthis.widgetNavigateToFirstTabSubscription = this.dashboardService._widgetNavigateToFirstTab.subscribe((widgetObject: any) => {\r\n\t\t\tif (widgetObject && parseInt(this.widgetObject.WidgetId) === parseInt(widgetObject.WidgetId)) {\r\n\t\t\t\tthis.selectedTabIndex = 0\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.widgetToggleLegendHiddenSubscription = this.dashboardService._widgetToggleLegendHidden.subscribe((widgetObject: any) => {\r\n\t\t\tif (widgetObject && parseInt(this.widgetObject.WidgetId) === parseInt(widgetObject.WidgetId)) {\r\n\t\t\t\tthis.toggleLegendHidden(this.tab ,this.selectedTabIndex);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.isLoading = true;\r\n\t\tif (!Global.FullDataCacheExists) {\r\n\t\t\tthis.fullDataCacheSubscription =\r\n\t\t\t\tthis.dataService.fullDataCacheExists$.subscribe((data: any) => {\r\n\t\t\t\t\tif (data === true) {\r\n\t\t\t\t\t\tthis.initialize();\r\n\t\t\t\t\t\tthis.fullDataCacheSubscription.unsubscribe();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.initialize();\r\n\t\t}\r\n\r\n\t\tthis.colorChangedSubscription =\r\n\t\t\tthis.dataService.colorChanged$.subscribe((data: any) => {\r\n\t\t\t\tif (data === 'light') {\r\n\t\t\t\t\tthis.CreateTheme('light');\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.CreateTheme('dark');\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\tif (Global.Theme === 'light') {\r\n\t\t\tthis.CreateTheme('light');\r\n\t\t} else {\r\n\t\t\tthis.CreateTheme('dark');\r\n\t\t}\r\n\r\n\t\tif (this.dashboardUpdateIntervalChanged) {\r\n\t\t\tthis.dashboardUpdateIntervalSubscription =\r\n\t\t\t\tthis.dashboardUpdateIntervalChanged.subscribe((data) => {\r\n\t\t\t\t\tconsole.log(data);\r\n\t\t\t\t\tlet foundWidgetWithSameWidgetId = data.find(\r\n\t\t\t\t\t\t(widgetThatWasChanged) => {\r\n\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\twidgetThatWasChanged.WidgetId ===\r\n\t\t\t\t\t\t\t\tthis.widgetObject.WidgetId\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\r\n\t\t\t\t\tif (!_.isNil(foundWidgetWithSameWidgetId)) {\r\n\t\t\t\t\t\t//if data (which is list of widgets that had the time zone changed as an array of widgets includes a widget with this widget id, we can assume this widget needs to be updated. needs to initialize with new selected time zone in mind. )\r\n\t\t\t\t\t\tthis.initialize();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t}\r\n\t\tif (this.dashboardTimeScopeChanged) {\r\n\t\t\tthis.dashboardTimeScopeChangedSubscription =\r\n\t\t\t\tthis.dashboardTimeScopeChanged.subscribe((data) => {\r\n\t\t\t\t\tlet foundWidgetWithSameWidgetId = data.find(\r\n\t\t\t\t\t\t(widgetThatWasChanged) => {\r\n\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\twidgetThatWasChanged.WidgetId ===\r\n\t\t\t\t\t\t\t\tthis.widgetObject.WidgetId\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\r\n\t\t\t\t\tif (!_.isNil(foundWidgetWithSameWidgetId)) {\r\n\t\t\t\t\t\tconsole.log('Widget Time Zone Changed');\r\n\t\t\t\t\t\tthis.initialize();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t}\r\n\t\t// this.chartDataIsReady = true;\r\n\t\tthis.tab = this.widgetTabs[0];\r\n\t}\r\n\r\n\r\n\r\n\topenConditionalShadingSettingsPopup(tileNumber) {\r\n\t\tlet tileConditionalShadingRecord =\r\n\t\t\tthis.dataService.cache.tacticalDashboardWidgetConditionalShadings.filter((p: any) => {\r\n\t\t\t\treturn p.WidgetId == this.widgetObject.WidgetId && p.SummaryTileIndex == tileNumber;\r\n\t\t\t});\r\n\t\tif(tileConditionalShadingRecord.length == 0) {\r\n\t\t\ttileConditionalShadingRecord.WidgetId = this.widgetObject.WidgetId;\r\n\t\t\ttileConditionalShadingRecord.SummaryTileIndex = tileNumber;\r\n\t\t}\r\n\r\n\t\tvar DialogRef = this.dialog.open(TacticalWidgetSummaryTilePopupComponent, {\r\n\t\t\twidth: '50%',\r\n\t\t\theight: '40%',\r\n\t\t\tdata: tileConditionalShadingRecord,\r\n\t\t});\r\n\r\n\r\n\t\tDialogRef.afterClosed().subscribe((result) => {\r\n\t\t\tlet tileConditionalShadingRecordLatest =\r\n\t\t\t\tthis.dataService.cache.tacticalDashboardWidgetConditionalShadings.filter((p: any) => {\r\n\t\t\t\t\treturn p.WidgetId == this.widgetObject.WidgetId;\r\n\t\t\t\t});\r\n\t\t\tthis.ConditionalShadingRecord = [];\r\n\t\t\ttileConditionalShadingRecordLatest.forEach((r) => {\r\n\t\t\t\tthis.ConditionalShadingRecord.push(r);\r\n\t\t\t});\r\n\r\n\t\t\tthis.ConditionalShadingRecord.sort((a, b) => parseFloat(a.Value) - parseFloat(b.Value));\r\n\t\t\tthis.ConditionalColorSummaryTiles();\r\n\r\n\t\t});\r\n\r\n\t}\r\n\r\n\tprivate ConditionalColorSummaryTiles() {\r\n\t\tthis.percentTextColor[1] = this.percentTextColor[2] = \"lightseagreen\";\r\n\r\n\t\tthis.conditionalColorPercentAmount[1] = this.summaryArray[2];\r\n\t\tthis.conditionalColorPercentAmount[2] = this.summaryArray[3];\r\n\r\n\r\n\t\tif (this.ConditionalShadingRecord.length > 0) {\r\n\t\t\tthis.ConditionalShadingRecord.forEach((r) => {\r\n\r\n\t\t\t\tswitch (r.Operator) {\r\n\t\t\t\t\tcase 'Is greater than' :\r\n\t\t\t\t\t\tif(this.conditionalColorPercentAmount[r.SummaryTileIndex] > r.Value) {\r\n\t\t\t\t\t\t\tthis.percentTextColor[r.SummaryTileIndex] = r.HexColor;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'Is less than' :\r\n\t\t\t\t\t\tif(this.conditionalColorPercentAmount[r.SummaryTileIndex] < r.Value) {\r\n\t\t\t\t\t\t\tthis.percentTextColor[r.SummaryTileIndex] = r.HexColor;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'Is equal to' :\r\n\t\t\t\t\t\tvar conditionalColorPercentAmountRounded = Math.round(this.conditionalColorPercentAmount[r.SummaryTileIndex]);\r\n\t\t\t\t\t\tif(conditionalColorPercentAmountRounded == r.Value) {\r\n\t\t\t\t\t\t\tthis.percentTextColor[r.SummaryTileIndex] = r.HexColor;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 'Is not equal to' :\r\n\t\t\t\t\t\tvar conditionalColorPercentAmountRounded = Math.round(this.conditionalColorPercentAmount[r.SummaryTileIndex]);\r\n\t\t\t\t\t\tif(conditionalColorPercentAmountRounded != r.Value) {\r\n\t\t\t\t\t\t\tthis.percentTextColor[r.SummaryTileIndex] = r.HexColor;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\tthis.percentAssetsInUse = [\r\n\t\t\t{\r\n\t\t\t\tkind: \"assets in use\",\r\n\t\t\t\tshare: this.summaryArray[2] / 100,\r\n\t\t\t\tcolor: this.percentTextColor[1],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tkind: \"other\",\r\n\t\t\t\tshare: 1 - this.summaryArray[2] / 100,\r\n\t\t\t\tcolor: \"grey\",\r\n\t\t\t},\r\n\t\t];\r\n\r\n\r\n\t\tthis.percentAssetsNotInUse = [\r\n\t\t\t{\r\n\t\t\t\tkind: \"assets in use\",\r\n\t\t\t\tshare: this.summaryArray[3] / 100,\r\n\t\t\t\tcolor: this.percentTextColor[2],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tkind: \"other\",\r\n\t\t\t\tshare: 1 - this.summaryArray[3] / 100,\r\n\t\t\t\tcolor: \"grey\",\r\n\t\t\t},\r\n\t\t];\r\n\r\n\t}\r\n\r\n\r\n\tfontResize(data: any) {\r\n\r\n\t\tif (data.height < 400 || data.width < 400) {\r\n\t\t\tthis.fontSize1 = 'small';\r\n\t\t\tthis.fontSize2 = 'x-small';\r\n\t\t}\r\n\r\n\t\telse if ((data.height > 400 && data.height < 500) || (data.width > 400 && data.width < 600)) {\r\n\t\t\tthis.fontSize1 = 'medium';\r\n\t\t\tthis.fontSize2 = 'small';\r\n\t\t}\r\n\r\n\t\telse if ((data.height > 500 && data.height < 700) || (data.width > 600 && data.width < 800)) {\r\n\t\t\tthis.fontSize1 = 'large';\r\n\t\t\tthis.fontSize2 = 'medium';\r\n\t\t}\r\n\t\telse if (data.height > 700 || data.width > 800) {\r\n\t\t\tthis.fontSize1 = 'x-large';\r\n\t\t\tthis.fontSize2 = 'large';\r\n\t }\r\n }\r\n\r\n\r\n\r\n\tcardResize(data: any) {\r\n\r\n\t\tif (data.height < 400 || data.width < 400) {\r\n\t\t\t// this.cardClass2 = 'card-tile-xs';\r\n\t\t\t// this.cardWideClass2 = 'card-wide-tile-sm';\r\n\r\n\t\t\tthis.cardTileCenterTitleClass = 'grid-card-title-center-sm';\r\n\t\t\tthis.cardWideTileCenterTitleClass = 'grid-wide-card-title-center-sm';\r\n\r\n\t\t\tthis.holeSize = 55;\r\n\t\t\tthis.holeCenterTextClass = 'donut-center-text-xs';\r\n\t\t\tthis.donutClass = 'donut-sm';\r\n\r\n\t\t}\r\n\r\n\t\telse if ((data.height > 400 && data.height < 500) || (data.width > 400 && data.width < 600)) {\r\n\t\t\t// this.cardClass2 = 'card-tile-sm';\r\n\t\t\t// this.cardWideClass2 = 'card-wide-tile-md';\r\n\r\n\t\t\tthis.cardTileCenterTitleClass = 'grid-card-title-center-md';\r\n\t\t\tthis.cardWideTileCenterTitleClass = 'grid-wide-card-title-center-md';\r\n\r\n\t\t\tthis.holeSize = 60;\r\n\t\t\tthis.holeCenterTextClass = 'donut-center-text-sm';\r\n\t\t\tthis.donutClass = 'donut-sm';\r\n\r\n\t\t}\r\n\r\n\t\telse if ((data.height > 500 && data.height < 700) || (data.width > 600 && data.width < 800)) {\r\n\t\t\t// this.cardClass2 = 'card-tile-sm';\r\n\t\t\t// this.cardWideClass2 = 'card-wide-tile-md';\r\n\r\n\t\t\tthis.cardTileCenterTitleClass = 'grid-card-title-center-md';\r\n\t\t\tthis.cardWideTileCenterTitleClass = 'grid-wide-card-title-center-md';\r\n\r\n\t\t\tthis.holeSize = 60;\r\n\t\t\tthis.holeCenterTextClass = 'donut-center-text-sm';\r\n\t\t\tthis.donutClass = 'donut-sm';\r\n\r\n\t\t}\r\n\t\telse if (data.height > 700 || data.width > 800) {\r\n\t\t\t// this.cardClass2 = 'card-tile-md';\r\n\t\t\t// this.cardWideClass2 = 'card-wide-tile-lg';\r\n\r\n\t\t\tthis.cardTileCenterTitleClass = 'grid-card-title-center-md';\r\n\t\t\tthis.cardWideTileCenterTitleClass = 'grid-wide-card-title-center-md';\r\n\r\n\t\t\tthis.holeSize = 60;\r\n\t\t\tthis.holeCenterTextClass = 'donut-center-text-sm';\r\n\t\t\tthis.donutClass = 'donut-sm';\r\n\r\n\t\t}\r\n\r\n\t\tif (data.width < 400) {\r\n\t\t\tthis.headerGridTitle = 'grid-title-sm';\r\n\t\t}\r\n\t\telse if (data.width > 400 && data.width < 600) {\r\n\t\t\tthis.headerGridTitle = 'grid-title-sm';\r\n\t\t}\r\n\t\telse if (data.width > 600 && data.width < 800) {\r\n\t\t\tthis.headerGridTitle = 'grid-title-lg';\r\n\t\t}\r\n\t\telse if (data.width > 800) {\r\n\t\t\tthis.headerGridTitle = 'grid-title-lg';\r\n\t\t}\r\n\r\n\t}\r\n\r\n\r\n\tstartIntervals() {\r\n\t\tthis.updateInterval =\r\n\t\t\tthis.dashboardService.determineProperTacticalDashboardUpdateIntervalForWidget(\r\n\t\t\t\tthis.widgetObject\r\n\t\t\t);\r\n\r\n\t\tif (this.updateInterval === undefined) {\r\n\t\t\tthis.isLoading = false;\r\n\t\t\tthis.displayNoUpdateIntervalMessage = true;\r\n\t\t\treturn;\r\n\t\t} else {\r\n\t\t\tthis.isLoading = true;\r\n\t\t\tthis.displayNoUpdateIntervalMessage = false;\r\n\t\t}\r\n\t\tlet intervalUpdate = this.updateInterval.UpdateInterval * 60000;\r\n\t\tif (this.secondsAgoInterval !== undefined) {\r\n\t\t\tclearInterval(this.secondsAgoInterval);\r\n\t\t\tthis.secondsAgoInterval = undefined;\r\n\t\t}\r\n\t\tthis.retrieveData();\r\n\r\n\t\tthis.secondsAgoInterval = setInterval(() => {\r\n\t\t\tif (this.lastUpdatedDate !== undefined) {\r\n\t\t\t\tthis.displayTimeAgoMessage =\r\n\t\t\t\t\tthis.dashboardService.calculateTimeAgo(\r\n\t\t\t\t\t\tthis.lastUpdatedDate\r\n\t\t\t\t\t);\r\n\t\t\t\tthis.widgetObject.displayTimeAgoMessage =\r\n\t\t\t\t\tthis.displayTimeAgoMessage;\r\n\t\t\t}\r\n\t\t}, 1000);\r\n\t\tif (this.updateControllerInterval !== undefined) {\r\n\t\t\tclearInterval(this.updateControllerInterval);\r\n\t\t\tthis.updateControllerInterval = undefined;\r\n\t\t}\r\n\t\tthis.updateControllerInterval = setInterval(() => {\r\n\t\t\tthis.retrieveData();\r\n\t\t}, intervalUpdate);\r\n\t}\r\n\r\n\tdestroyIntervals() {\r\n\t\tif (this.updateControllerInterval) {\r\n\t\t\tclearInterval(this.updateControllerInterval);\r\n\t\t\tthis.updateControllerInterval = undefined;\r\n\t\t}\r\n\t\tif (this.secondsAgoInterval) {\r\n\t\t\tclearInterval(this.secondsAgoInterval);\r\n\t\t\tthis.secondsAgoInterval = undefined;\r\n\t\t\tthis.displayTimeAgoMessage = undefined;\r\n\t\t\tthis.widgetObject.displayTimeAgoMessage = undefined;\r\n\t\t}\r\n\t}\r\n\r\n\tinitialize() {\r\n\t\tif (_.isNil(this.widgetObject.SiteList)) {\r\n\t\t\tthis.isLoading = false;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tlet statement =\r\n\t\t\t'API.TacticalDashboardsRetrieveAllRecordsForWidgetId @widgetId = ' +\r\n\t\t\tthis.widgetObject.WidgetId +\r\n\t\t\t', @userId = ' +\r\n\t\t\tGlobal.User.currentUser.Id;\r\n\t\tthis.dataService.SQLActionAsPromise(statement).then((data: any) => {\r\n\t\t\tthis.widgetTabsChartConfigurations = data;\r\n\t\t\tthis.widgetTabs.forEach((tab, index) => {\r\n\t\t\t\tif (this.widgetTabsChartConfigurations.length > 0) {\r\n\t\t\t\t\tlet foundWidgetTabConfiguration =\r\n\t\t\t\t\t\tthis.widgetTabsChartConfigurations.find(\r\n\t\t\t\t\t\t\t(configurationrecord) => {\r\n\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\tconfigurationrecord.WidgetTabIndex === index\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\tif (foundWidgetTabConfiguration !== undefined) {\r\n\t\t\t\t\t\ttab.graphType = Global.tacticalDashboardGraphTypes.find(\r\n\t\t\t\t\t\t\t(graphType) =>\r\n\t\t\t\t\t\t\t\tgraphType.id ==\r\n\t\t\t\t\t\t\t\tfoundWidgetTabConfiguration.ChartTypeId\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tthis.widgetTabConfigurationsFinishedMapping = true;\r\n\r\n\t\t\tthis.selectedTabIndex =\r\n\t\t\t\tthis.widgetObject.SelectedTabIndex !== undefined\r\n\t\t\t\t\t? this.widgetObject.SelectedTabIndex\r\n\t\t\t\t\t: 0;\r\n\t\t\tthis.selectedMatTabLabel =\r\n\t\t\t\tthis.widgetTabs[\r\n\t\t\t\t\tthis.widgetObject.SelectedTabIndex !== undefined\r\n\t\t\t\t\t\t? this.widgetObject.SelectedTabIndex\r\n\t\t\t\t\t\t: 0\r\n\t\t\t\t].textLabel;\r\n\t\t\tthis.widgetTabs[\r\n\t\t\t\tthis.widgetObject.SelectedTabIndex !== undefined\r\n\t\t\t\t\t? this.widgetObject.SelectedTabIndex\r\n\t\t\t\t\t: 0\r\n\t\t\t].tabHasBeenLoaded = true;\r\n\r\n\t\t\tthis.tab = this.widgetTabs[this.selectedTabIndex];\r\n\r\n\t\t\tthis.startIntervals();\r\n\t\t});\r\n\t}\r\n\r\n\tshowDialogModalPopupGrid(tab) {\r\n\t\tconst cuSummaryModal = this.dialog.open(DialogModalParentComponent, {\r\n\t\t\twidth: Global.isMobile ? '95%' : '60%',\r\n\t\t\theight: Global.isMobile ? '95%' : '80%',\r\n\t\t\tdata: {\r\n\t\t\t\tgraphId: uuidv4(),\r\n\t\t\t\tgroupable: tab.groupable,\r\n\t\t\t\tgroupColumns: tab.groupable === true ? tab.groupColumns : [],\r\n\t\t\t\tpopupTitle: 'Raw Data: ' + tab.textLabel,\r\n\t\t\t\tWidgetName: 'Kendo-Grid',\r\n\t\t\t\ttableStructure: tab.tableStructure,\r\n\t\t\t\ttableData: tab.tableData,\r\n\t\t\t\tcanCreateDashboardWidgetFromPopup: false,\r\n\t\t\t},\r\n\t\t\tmaxWidth: '100vw',\r\n\t\t\tmaxHeight: '100vh',\r\n\t\t});\r\n\t}\r\n\r\n\tretrieveData() {\r\n\t\tthis.timeScopeObject =\r\n\t\tthis.dashboardService.determineProperTimeScopeForWidget({\r\n\t\t\twidgetObject: this.widgetObject,\r\n\t\t\tUTCConfiguration: false,\r\n\t\t});\r\n\t\tif (this.timeScopeObject === undefined) {\r\n\t\t\tthis.displayNoTimeScopeMessage = true;\r\n\t\t\tthis.isLoading = false;\r\n\t\t} else {\r\n\t\t\tthis.displayNoTimeScopeMessage = false;\r\n\t\t\tif (\r\n\t\t\t\tthis.widgetTabs[0].tabHasBeenLoaded === true ||\r\n\t\t\t\tthis.widgetTabs[1].tabHasBeenLoaded === true\r\n\t\t\t) {\r\n\t\t\t\tthis.widgetTabs[0].isLoading = this.widgetTabs[1].isLoading =\r\n\t\t\t\t\ttrue;\r\n\t\t\t\tlet statement =\r\n\t\t\t\t\t\"API.TacticalDashboard_GS_CurrentAircraftDocked @accessToken= '\" +\r\n\t\t\t\t\tGlobal.User.currentUser.ODataAccessToken +\r\n\t\t\t\t\t\"'\";\r\n\t\t\t\tif (!_.isNil(this.widgetObject.SiteList)) {\r\n\t\t\t\t\tstatement =\r\n\t\t\t\t\t\tstatement +\r\n\t\t\t\t\t\t\", @siteIdList = '\" +\r\n\t\t\t\t\t\tthis.widgetObject.SiteList +\r\n\t\t\t\t\t\t\"'\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.dataService\r\n\t\t\t\t\t.SQLActionAsPromise(statement)\r\n\t\t\t\t\t.then((data: any) => {\r\n\t\t\t\t\t\tif (data.length === 0) {\r\n\t\t\t\t\t\t\tthis.widgetTabs[0].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[1].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[0].isLoading =\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[1].isLoading = false;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tdata.forEach((asset) => {\r\n\t\t\t\t\t\t\t\tasset.DateOfObservationDateObject = new Date();\r\n\t\t\t\t\t\t\t\tasset.ProperAssetName =\r\n\t\t\t\t\t\t\t\t\tasset.SiteName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\tasset.GateName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\tasset.AssetName;\r\n\t\t\t\t\t\t\t\tif (asset.AircraftDockedStatus === 0) {\r\n\t\t\t\t\t\t\t\t\tasset.IsAircraftDocked = false;\r\n\t\t\t\t\t\t\t\t\tasset.IsAircraftDockedInt = 0;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tasset.IsAircraftDocked = true;\r\n\t\t\t\t\t\t\t\t\tasset.IsAircraftDockedInt = 1;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthis.widgetTabs[0].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[1].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[1].chartData = [\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tdataType: 'Aircraft Docked Total',\r\n\t\t\t\t\t\t\t\t\ttotal: 0,\r\n\t\t\t\t\t\t\t\t\ttooltip: [],\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tdataType: 'Aircraft Not Docked Total',\r\n\t\t\t\t\t\t\t\t\ttotal: 0,\r\n\t\t\t\t\t\t\t\t\ttooltip: [],\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t];\r\n\r\n\t\t\t\t\t\t\tlet notDocked = [];\r\n\t\t\t\t\t\t\tlet docked = [];\r\n\t\t\t\t\t\t\tdata.forEach((asset, index) => {\r\n\t\t\t\t\t\t\t\tif (asset.IsAircraftDocked === false) {\r\n\t\t\t\t\t\t\t\t\tnotDocked.push(asset);\r\n\t\t\t\t\t\t\t\t} else if (asset.IsAircraftDocked === true) {\r\n\t\t\t\t\t\t\t\t\tdocked.push(asset);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tdocked.forEach((asset, index) => {\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[1].chartData[0].total =\r\n\t\t\t\t\t\t\t\t\tthis.widgetTabs[1].chartData[0].total + 1;\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[1].chartData[0].tooltip.push(\r\n\t\t\t\t\t\t\t\t\tasset.ProperAssetName\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tnotDocked.forEach((asset, index) => {\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[1].chartData[1].total =\r\n\t\t\t\t\t\t\t\t\tthis.widgetTabs[1].chartData[1].total + 1;\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[1].chartData[1].tooltip.push(\r\n\t\t\t\t\t\t\t\t\tasset.ProperAssetName\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\tconsole.log(this.widgetTabs[1].chartData);\r\n\t\t\t\t\t\t\tthis.widgetTabs[1].chartDataIsReady = true;\r\n\r\n\r\n\t\t\t\t\t\t\tthis.totalAssetLength = data.length;\r\n\t\t\t\t\t\t\tthis.summaryArray[0] = this.widgetTabs[1].chartData[0].total; // Assets Docked\r\n\t\t\t\t\t\t\tthis.summaryArray[1] = this.widgetTabs[1].chartData[1].total; // Assets Not docked\r\n\t\t\t\t\t\t\tif (this.summaryArray[0] === 0) {\r\n\t\t\t\t\t\t\t\tthis.summaryArray[2] = 0.0 // Percent Docked\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tthis.summaryArray[2] = parseFloat(((this.summaryArray[0] / this.totalAssetLength) * 100).toFixed(1)); //Percent Docked\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (this.summaryArray[1] === 0) {\r\n\t\t\t\t\t\t\t\tthis.summaryArray[3] = 0.0 // Percent Not Docked\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tthis.summaryArray[3] = parseFloat(((this.summaryArray[1] / this.totalAssetLength) * 100).toFixed(1)); //Percent Not Docked\r\n\t\t\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\t\t\tthis.ConditionalColorSummaryTiles();\r\n\r\n\r\n\t\t\t\t\t\t\tthis.percentCalculated = true;\r\n\t\t\t\t\t\t\tthis.widgetTabs[0].isLoading =\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[1].isLoading = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (this.widgetTabs[2].tabHasBeenLoaded === true) {\r\n\t\t\t\tthis.widgetTabs[2].isLoading = true;\r\n\t\t\t\tlet specificMomentInTime =\r\n\t\t\t\t\t\"API.TacticalDashboard_GS_AircraftDocked_ForSpecificMomentInTime @accessToken='\" +\r\n\t\t\t\t\tGlobal.User.currentUser.ODataAccessToken +\r\n\t\t\t\t\t\"'\";\r\n\t\t\t\tif (!_.isNil(this.widgetObject.SiteList)) {\r\n\t\t\t\t\tspecificMomentInTime =\r\n\t\t\t\t\t\tspecificMomentInTime +\r\n\t\t\t\t\t\t\", @siteIdList = '\" +\r\n\t\t\t\t\t\tthis.widgetObject.SiteList +\r\n\t\t\t\t\t\t\"'\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\tspecificMomentInTime =\r\n\t\t\t\t\tspecificMomentInTime +\r\n\t\t\t\t\t', @startDateTimeMS=' +\r\n\t\t\t\t\tthis.timeScopeObject.queryStartDate +\r\n\t\t\t\t\t', @endDateTimeMS= ' +\r\n\t\t\t\t\tthis.timeScopeObject.queryEndDate;\r\n\r\n\t\t\t\tthis.dataService\r\n\t\t\t\t\t.SQLActionAsPromise(specificMomentInTime)\r\n\t\t\t\t\t.then((data: any) => {\r\n\t\t\t\t\t\tif (data.length === 0) {\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].chartData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].isLoading = false;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tconsole.log(data);\r\n\t\t\t\t\t\t\tdata.forEach((record) => {\r\n\t\t\t\t\t\t\t\trecord.ProperAssetName =\r\n\t\t\t\t\t\t\t\t\trecord.SiteName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\trecord.GateName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\trecord.AssetName;\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].chartData = _.uniqBy(\r\n\t\t\t\t\t\t\t\tdata,\r\n\t\t\t\t\t\t\t\t(e: any) => {\r\n\t\t\t\t\t\t\t\t\treturn e.DateOfObservation;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].chartDataIsReady = true;\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[2].isLoading = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (\r\n\t\t\t\tthis.widgetTabs[0].tabHasBeenLoaded === true ||\r\n\t\t\t\tthis.widgetTabs[3].tabHasBeenLoaded === true ||\r\n\t\t\t\tthis.widgetTabs[4].tabHasBeenLoaded === true\r\n\t\t\t) {\r\n\t\t\t\tthis.widgetTabs[0].isLoading =\r\n\t\t\t\t\tthis.widgetTabs[3].isLoading =\r\n\t\t\t\t\tthis.widgetTabs[4].isLoading =\r\n\t\t\t\t\t\ttrue;\r\n\t\t\t\tlet aircraftDockedDuration =\r\n\t\t\t\t\t'API.TacticalDashboard_GS_AircraftDocked_Duration ' +\r\n\t\t\t\t\t'@startDateTimeMS=' +\r\n\t\t\t\t\tthis.timeScopeObject.queryStartDate +\r\n\t\t\t\t\t', @endDateTimeMS= ' +\r\n\t\t\t\t\tthis.timeScopeObject.queryEndDate +\r\n\t\t\t\t\t\" , @accessToken='\" +\r\n\t\t\t\t\tGlobal.User.currentUser.ODataAccessToken +\r\n\t\t\t\t\t\"'\";\r\n\t\t\t\tif (!_.isNil(this.widgetObject.SiteList)) {\r\n\t\t\t\t\taircraftDockedDuration =\r\n\t\t\t\t\t\taircraftDockedDuration +\r\n\t\t\t\t\t\t\", @siteIdList = '\" +\r\n\t\t\t\t\t\tthis.widgetObject.SiteList +\r\n\t\t\t\t\t\t\"'\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.dataService\r\n\t\t\t\t\t.SQLActionAsPromise(aircraftDockedDuration)\r\n\t\t\t\t\t.then((data: any) => {\r\n\t\t\t\t\t\tif (data.length === 0) {\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].chartData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].isLoading = false;\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].chartData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].isLoading = false;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tconsole.log(data);\r\n\t\t\t\t\t\t\tdata.forEach((record) => {\r\n\t\t\t\t\t\t\t\trecord.DateOfObservationDateObject = new Date(\r\n\t\t\t\t\t\t\t\t\trecord.DateOfObservation\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\trecord.ProperAssetName =\r\n\t\t\t\t\t\t\t\t\trecord.SiteName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\trecord.GateName +\r\n\t\t\t\t\t\t\t\t\t' PBB';\r\n\t\t\t\t\t\t\t\tif (record.AircraftDockedCount == null)\r\n\t\t\t\t\t\t\t\t\trecord.AircraftDockedCount = 0;\r\n\t\t\t\t\t\t\t\tif (record.AircraftDockedMinutes == null)\r\n\t\t\t\t\t\t\t\t\trecord.AircraftDockedMinutes = 0;\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].chartData = [];\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].chartData = groupBy(data, [\r\n\t\t\t\t\t\t\t\t{ field: 'ProperAssetName' },\r\n\t\t\t\t\t\t\t]) as GroupResult[];\r\n\t\t\t\t\t\t\tif (this.widgetTabs[3].chartData.length > 0) {\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[3].chartData.push({\r\n\t\t\t\t\t\t\t\t\tvalue: 'Toggle All Series',\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].chartDataIsReady = true;\r\n\t\t\t\t\t\t\tthis.widgetTabs[3].isLoading = false;\r\n\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].chartData = [];\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].chartData = groupBy(data, [\r\n\t\t\t\t\t\t\t\t{ field: 'ProperAssetName' },\r\n\t\t\t\t\t\t\t]) as GroupResult[];\r\n\t\t\t\t\t\t\tif (this.widgetTabs[4].chartData.length > 0) {\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[4].chartData.push({\r\n\t\t\t\t\t\t\t\t\tvalue: 'Toggle All Series',\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tlet sortByDockCount = data;\r\n\t\t\t\t\t\t\tsortByDockCount.sort(\r\n\t\t\t\t\t\t\t\t(a, b) =>\r\n\t\t\t\t\t\t\t\t\tb.AircraftDockedCount -\r\n\t\t\t\t\t\t\t\t\ta.AircraftDockedCount\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tif (sortByDockCount.length > 0) {\r\n\t\t\t\t\t\t\t\tthis.summaryArray1[0] =\r\n\t\t\t\t\t\t\t\t\tsortByDockCount[0].AircraftDockedCount; //Highest AircraftDockedCount\r\n\t\t\t\t\t\t\t\tthis.summaryArray1[1] =\r\n\t\t\t\t\t\t\t\t\tsortByDockCount[0].DateOfObservation; //Highest AircraftDockedCount DateOfObservation\r\n\t\t\t\t\t\t\t\tthis.summaryArray1[2] =\r\n\t\t\t\t\t\t\t\t\tsortByDockCount[0].ProperAssetName; //Highest AircraftDockedCount Asset Name\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tlet sortByDockDuration = data;\r\n\t\t\t\t\t\t\tsortByDockDuration.sort(\r\n\t\t\t\t\t\t\t\t(a, b) =>\r\n\t\t\t\t\t\t\t\t\tb.AircraftDockedMinutes -\r\n\t\t\t\t\t\t\t\t\ta.AircraftDockedMinutes\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tif (sortByDockDuration.length > 0) {\r\n\t\t\t\t\t\t\t\tthis.summaryArray1[3] =\r\n\t\t\t\t\t\t\t\t\tsortByDockDuration[0].AircraftDockedMinutes; //Highest AircraftDockedMinutes\r\n\t\t\t\t\t\t\t\tthis.summaryArray1[4] =\r\n\t\t\t\t\t\t\t\t\tsortByDockDuration[0].DateOfObservation; //Highest AircraftDockedMinutes DateOfObservation\r\n\t\t\t\t\t\t\t\tthis.summaryArray1[5] =\r\n\t\t\t\t\t\t\t\t\tsortByDockDuration[0].ProperAssetName; //Highest AircraftDockedMinutes Asset Name\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tlet sortByDockByDay = groupBy(data, [\r\n\t\t\t\t\t\t\t\t{ field: 'DateOfObservation' },\r\n\t\t\t\t\t\t\t]) as any[];\r\n\t\t\t\t\t\t\tsortByDockByDay.forEach((asset: any) => {\r\n\t\t\t\t\t\t\t\tasset.TotalDocksCount = 0;\r\n\t\t\t\t\t\t\t\tasset.items.forEach((dock) => {\r\n\t\t\t\t\t\t\t\t\tasset.TotalDocksCount =\r\n\t\t\t\t\t\t\t\t\t\tasset.TotalDocksCount +\r\n\t\t\t\t\t\t\t\t\t\tdock.AircraftDockedCount;\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tsortByDockByDay.sort(\r\n\t\t\t\t\t\t\t\t(a, b) =>\r\n\t\t\t\t\t\t\t\t\tnew Date(b.value).getTime() -\r\n\t\t\t\t\t\t\t\t\tnew Date(a.value).getTime()\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tthis.createSparkLineChart(sortByDockByDay); //Sparkline Data\r\n\t\t\t\t\t\t\tthis.widgetTabs[4].chartDataIsReady = true;\r\n\t\t\t\t\t\t\tthis.widgetTabs[0].isLoading =\r\n\t\t\t\t\t\t\t\tthis.widgetTabs[4].isLoading = false;\r\n\t\t\t\t\t\t\t// this.totalMinutesOnForDayChartDataIsReady = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (this.widgetTabs[5].tabHasBeenLoaded === true) {\r\n\t\t\t\tthis.widgetTabs[5].isLoading = true;\r\n\t\t\t\tlet aircraftDockedTodayDetail =\r\n\t\t\t\t\t\"API.TacticalDashboard_GS_AircraftDocked_Detail_Today @accessToken='\" +\r\n\t\t\t\t\tGlobal.User.currentUser.ODataAccessToken +\r\n\t\t\t\t\t\"'\";\r\n\t\t\t\tif (!_.isNil(this.widgetObject.SiteList)) {\r\n\t\t\t\t\taircraftDockedTodayDetail =\r\n\t\t\t\t\t\taircraftDockedTodayDetail +\r\n\t\t\t\t\t\t\", @siteIdList = '\" +\r\n\t\t\t\t\t\tthis.widgetObject.SiteList +\r\n\t\t\t\t\t\t\"'\";\r\n\t\t\t\t}\r\n\t\t\t\tthis.dataService\r\n\t\t\t\t\t.SQLActionAsPromise(aircraftDockedTodayDetail)\r\n\t\t\t\t\t.then((data: any) => {\r\n\t\t\t\t\t\tif (data.length === 0) {\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].chartData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].isLoading = false;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tconsole.log(\"Docks For Today\", data);\r\n\t\t\t\t\t\t\tdata.forEach((record) => {\r\n\t\t\t\t\t\t\t\trecord.ProperAssetName =\r\n\t\t\t\t\t\t\t\t\trecord.SiteName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\trecord.GateName +\r\n\t\t\t\t\t\t\t\t\t' ' +\r\n\t\t\t\t\t\t\t\t\trecord.AssetName;\r\n\r\n\t\t\t\t\t\t\t\trecord.DurationInMinutes = (\r\n\t\t\t\t\t\t\t\t\trecord.DurationInSeconds / 60\r\n\t\t\t\t\t\t\t\t).toFixed(2);\r\n\t\t\t\t\t\t\t\trecord.count = 1;\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tlet assetAggregated = groupBy(data, [\r\n\t\t\t\t\t\t\t\t{ field: 'ProperAssetName' },\r\n\t\t\t\t\t\t\t]) as any[];\r\n\t\t\t\t\t\t\tassetAggregated.forEach((group) => {\r\n\t\t\t\t\t\t\t\tgroup.inUseLength = group.items.length;\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\tthis.totalDocksForToday = data?.length;\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].chartData = assetAggregated;\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].chartDataIsReady = true;\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].tableData = data;\r\n\t\t\t\t\t\t\tthis.widgetTabs[5].isLoading = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tthis.lastUpdatedDate = new Date();\r\n\r\n\t\t\tthis.isLoading = false;\r\n\r\n\t\t\tvar bounds = this.elem.nativeElement.getBoundingClientRect();\r\n\t\t\tthis.cardResize(bounds);\r\n\t\t}\r\n\t}\r\n\r\n\r\n\tprivate buildNavigationOptionsArray() {\r\n\t\tvar service = this;\r\n\r\n\t\tvar navigationWidth = Global.isMobile ? \"105px\" : \"115px\";\r\n\r\n\t\tservice.options = [\r\n\t\t\t{\r\n\t\t\t\tid: 1,\r\n\t\t\t\twidth: navigationWidth,\r\n\t\t\t\tname: \"Navigation\",\r\n\t\t\t\tchildren: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Summary\",\r\n\t\t\t\t\t\taction: () => { service.navigateToTab(0, \"Summary\"); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Current Docked\",\r\n\t\t\t\t\t\taction: () => { service.navigateToTab(1, \"Current Docked Assets\"); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Docked by Day\",\r\n\t\t\t\t\t\taction: () => { service.navigateToTab(2, \"Assets Docked Current Time\"); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Minutes Docked\",\r\n\t\t\t\t\t\taction: () => { service.navigateToTab(3, \"Total Minutes Docked For Day\"); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Dock Count\",\r\n\t\t\t\t\t\taction: () => { service.navigateToTab(4, \"Total Times Docked For Day\"); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Docks Today\",\r\n\t\t\t\t\t\taction: () => { service.navigateToTab(5, \"Docks For Today Detail\"); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\r\n\r\n\t\t\t\t\t// {\r\n\t\t\t\t\t// \tid: 11,\r\n\t\t\t\t\t// \twidth: navigationWidth,\r\n\t\t\t\t\t// \tname: \"Raw Data\",\r\n\t\t\t\t\t// \tchildren: [\r\n\t\t\t\t\t// \t\t{\r\n\t\t\t\t\t// \t\t\tid: 12,\r\n\t\t\t\t\t// \t\t\twidth: navigationWidth,\r\n\t\t\t\t\t// \t\t\tname: \"Current Docked\",\r\n\t\t\t\t\t// \t\t\taction: () => { service.showDialogModalPopupGrid(service.widgetTabs[1]); this.navigationOpened=false; }\r\n\t\t\t\t\t// \t\t},\r\n\t\t\t\t\t// \t\t{\r\n\t\t\t\t\t// \t\t\tid: 12,\r\n\t\t\t\t\t// \t\t\twidth: navigationWidth,\r\n\t\t\t\t\t// \t\t\tname: \"Docked by Day\",\r\n\t\t\t\t\t// \t\t\taction: () => { service.showDialogModalPopupGrid(service.widgetTabs[2]); this.navigationOpened=false; }\r\n\t\t\t\t\t// \t\t},\r\n\t\t\t\t\t// \t\t{\r\n\t\t\t\t\t// \t\t\tid: 12,\r\n\t\t\t\t\t// \t\t\twidth: navigationWidth,\r\n\t\t\t\t\t// \t\t\tname: \"Minutes Docked\",\r\n\t\t\t\t\t// \t\t\taction: () => { service.showDialogModalPopupGrid(service.widgetTabs[3]); this.navigationOpened=false; }\r\n\t\t\t\t\t// \t\t},\r\n\t\t\t\t\t// \t\t{\r\n\t\t\t\t\t// \t\t\tid: 12,\r\n\t\t\t\t\t// \t\t\twidth: navigationWidth,\r\n\t\t\t\t\t// \t\t\tname: \"Dock Count\",\r\n\t\t\t\t\t// \t\t\taction: () => { service.showDialogModalPopupGrid(service.widgetTabs[4]); this.navigationOpened=false; }\r\n\t\t\t\t\t// \t\t},\r\n\t\t\t\t\t// \t\t{\r\n\t\t\t\t\t// \t\t\tid: 12,\r\n\t\t\t\t\t// \t\t\twidth: navigationWidth,\r\n\t\t\t\t\t// \t\t\tname: \"Docks Today\",\r\n\t\t\t\t\t// \t\t\taction: () => { service.showDialogModalPopupGrid(service.widgetTabs[5]); this.navigationOpened=false; }\r\n\t\t\t\t\t// \t\t},\r\n\r\n\t\t\t\t\t// \t],\r\n\r\n\r\n\t\t\t\t\t// }\r\n\r\n\t\t\t\t],\r\n\t\t\t\troot: true,\r\n\t\t\t\topened: false\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tid: 2,\r\n\t\t\t\twidth: navigationWidth,\r\n\t\t\t\tname: \"Settings\",\r\n\t\t\t\tchildren: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Site\",\r\n\t\t\t\t\t\taction: () => { service.widgetObject.editWidgetSettings(service.widgetObject); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Edit Name\",\r\n\t\t\t\t\t\taction: () => { service.widgetObject.editWidgetName(service.widgetObject); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Reload\",\r\n\t\t\t\t\t\taction: () => { service.dashboardService._reloadedWidget.next(service.widgetObject); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Delete\",\r\n\t\t\t\t\t\taction: () => { service.widgetObject.deleteFunction(); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Timescope\",\r\n\t\t\t\t\t\taction: () => { service.widgetObject.editTimeScopeSettings(service.widgetObject); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Interval\",\r\n\t\t\t\t\t\taction: () => { service.widgetObject.editIntervalSettings(service.widgetObject); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 10,\r\n\t\t\t\t\t\twidth: navigationWidth,\r\n\t\t\t\t\t\tname: \"Legend\",\r\n\t\t\t\t\t\taction: () => { service.toggleLegendHidden(service.tab, service.selectedTabIndex); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid: 23,\r\n\t\t\t\t\t\twidth: navigationWidth,\t\t// id has to match id in toggle method below\r\n\t\t\t\t\t\tname: service.widgetObject.RememberSelectedTabIndex == 0 ? \"Remember Nav\" : \"Forget Nav\",\r\n\t\t\t\t\t\taction: () => { service.widgetObject.invertRememberingOfSelectedTabIndex(service.widgetObject); this.toggleRememberingOfSelectedTabIndexName(); this.navigationOpened=false; }\r\n\t\t\t\t\t},\r\n\r\n\t\t\t\t],\r\n\t\t\t\troot: true,\r\n\t\t\t\topened: false\r\n\t\t\t}\r\n\t\t];\r\n\r\n\t\tlet optionsDesktop = [\r\n\t\t\t{\r\n\t\t\t\tid: 22,\t\t// id has to match id in toggle method below\r\n\t\t\t\twidth: navigationWidth,\r\n\t\t\t\tname: service.widgetObject.dragEnabled ? \"Disable Drag\" : \"Allow Drag\",\r\n\t\t\t\taction: () => { service.widgetObject.invertDraggableSetting(service.widgetObject); this.toggleDragName(); this.navigationOpened=false;}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tid: 21,\t\t// id has to match id in toggle method below\r\n\t\t\t\twidth: navigationWidth,\r\n\t\t\t\tname: service.widgetObject.resizeEnabled ? \"Disable Resize\" : \"Allow Resize\",\r\n\t\t\t\taction: () => { service.widgetObject.invertResizeSetting(service.widgetObject); this.toggleResizeName(); this.navigationOpened=false;}\r\n\t\t\t},\r\n\t\t];\r\n\r\n\t\tif(Global.isMobile == false) {\r\n\t\t\tservice.options[1].children = service.options[1].children.concat(optionsDesktop);\r\n\t\t}\r\n\r\n\t\tservice.optionsSettingsOnly = service.options.where((item:any) => { return item.id == 2 }).toArray(); //- Settings tab only when no Site selected.\r\n\r\n\t\tconsole.log(\"options built\", service.options);\r\n\r\n\t}\r\n\r\n\r\n\tpublic editWidgetSettings() {\r\n\t\tthis.widgetObject.editWidgetSettings(this.widgetObject)\r\n\t}\r\n\r\n\tpublic refreshWidget() {\r\n\t\tthis.dashboardService._reloadedWidget.next(this.widgetObject);\r\n\t}\r\n\r\n\tpublic changeWidgetInterval() {\r\n\t\tthis.widgetObject.editIntervalSettings(this.widgetObject);\r\n\t}\r\n\r\n\tpublic changeWidgetTimescope() {\r\n\t\tthis.widgetObject.editTimeScopeSettings(this.widgetObject);\r\n\t}\r\n\r\n\r\n\tprivate toggleRememberingOfSelectedTabIndexName() {\r\n\t\t//console.log(\"options:\", this.options)\r\n\r\n\t\tvar settings = this.options.where((item:any) => { return item.id == 2 }).firstOrDefault();\r\n\t\tvar rememberTabSetting = settings.children.where((item:any) => { return item.id == 23 }).firstOrDefault();\r\n\r\n\t\trememberTabSetting.name = this.widgetObject.RememberSelectedTabIndex == 0 ? \"Remember Nav\" : \"Forget Nav\";\r\n\r\n\t}\r\n\r\n\tprivate toggleDragName() {\r\n\t\t//console.log(\"options:\", this.options)\r\n\r\n\t\tvar settings = this.options.where((item:any) => { return item.id == 2 }).firstOrDefault();\r\n\t\tvar dragSetting = settings.children.where((item:any) => { return item.id == 22 }).firstOrDefault();\r\n\r\n\t\tdragSetting.name = this.widgetObject.dragEnabled ? \"Disable Drag\" : \"Enable Drag\";\r\n\r\n\t}\r\n\r\n\tprivate toggleResizeName() {\r\n\t\t//console.log(\"options:\", this.options)\r\n\r\n\t\tvar settings = this.options.where((item:any) => { return item.id == 2 }).firstOrDefault();\r\n\t\tvar resizeSetting = settings.children.where((item:any) => { return item.id == 21 }).firstOrDefault();\r\n\r\n\t\tresizeSetting.name = this.widgetObject.resizeEnabled ? \"Disable Resize\" : \"Allow Resize\";\r\n\r\n\t}\r\n\r\n\tpublic checkNavigation(opened: any) {\r\n\t\tGlobal.User.DebugMode && console.log(\"checkNavigation opened = %O\", opened);\r\n\t\tthis.navigationOpened = opened;\r\n\t\tthis.isLoading = false;\r\n\t}\r\n\r\n\tpublic checkSelectedItem(selected: any) {\r\n\t\tGlobal.User.DebugMode && console.log(\"checkSelectedItem invoked. selected = %O\", selected);\r\n\t}\r\n\r\n\tpublic openCloseNavigation() {\r\n\t\tGlobal.User.DebugMode && console.log(\"openCloseNavigation invoked. navigationOpened current status: = \" + this.navigationOpened);\r\n\t\tthis.navigationOpened = !this.navigationOpened; //--whatever it was set to, set it to the opposite.\r\n\t\tGlobal.User.DebugMode && console.log(\"openCloseNavigation invoked. navigationOpened changed status: = \" + this.navigationOpened);\r\n\t}\r\n\r\n\r\n\tcreateSparkLineChart(chartData: any) {\r\n\t\tthis.sparklineData = [\r\n\t\t\t{\r\n\t\t\t\tfield: 'y',\r\n\t\t\t\twidth: 0.75,\r\n\t\t\t\tcolor: 'limegreen',\r\n\t\t\t\tdata: chartData.map((a) => ({\r\n\t\t\t\t\ty: a.TotalDocksCount,\r\n\t\t\t\t\tdateOfObs: a.value,\r\n\t\t\t\t})),\r\n\t\t\t},\r\n\t\t];\r\n\t}\r\n\r\n\ttoggleLegendHidden(tab, index) {\r\n\t\ttab.legendVisible = !tab.legendVisible;\r\n\t\tlet foundSetting = this.WidgetTabSettings.find((widgetTabSetting) => {\r\n\t\t\treturn widgetTabSetting.TabIndex === index;\r\n\t\t});\r\n\r\n\t\tlet statement =\r\n\t\t\t'API.EditWidgetTabSettings @WidgetId = ' +\r\n\t\t\tthis.widgetObject.WidgetId +\r\n\t\t\t', @TabIndex = ' +\r\n\t\t\tindex +\r\n\t\t\t', @IsHidden = ' +\r\n\t\t\t!tab.legendVisible;\r\n\t\tif (!_.isNil(foundSetting)) {\r\n\t\t\tstatement = statement + ', @Id = ' + foundSetting.Id;\r\n\t\t}\r\n\t\tthis.dataService.SQLActionAsPromise(statement).then((data: any) => {\r\n\t\t\tthis.WidgetTabSettings = data;\r\n\t\t\tthis.WidgetTabSettings.forEach((tabSetting) => {\r\n\t\t\t\tthis.widgetTabs[tabSetting.TabIndex].legendVisible =\r\n\t\t\t\t\t!tabSetting.IsLegendHidden;\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tanimationRedraw() {\r\n\t\t// if (this.selectedMatTabLabel === \"Map\") {\r\n\t\t// \tthis.loadCorrectTabData(true)\r\n\t\t// }\r\n\t}\r\n\r\n\tnavigateToTab(index, textLabel) {\r\n\t\tthis.tab = this.widgetTabs[index];\r\n\t\tif (this.tab.graphType != undefined && this.tab.graphType.name == undefined)\r\n\t\t\tthis.tab.graphType = Global.tacticalDashboardGraphTypes.find((graphType) => graphType.name == this.tab.graphType);\r\n\r\n\r\n\t\tclearTimeout(this.timeoutToExpire);\r\n\t\tthis.selectedMatTabLabel = textLabel;\r\n\t\tthis.selectedTabIndex = index;\r\n\t\tif (this.widgetTabs[this.selectedTabIndex].tabHasBeenLoaded === false) {\r\n\t\t\tthis.widgetTabs[this.selectedTabIndex].tabHasBeenLoaded = true;\r\n\t\t\tthis.destroyIntervals();\r\n\t\t\tthis.startIntervals();\r\n\t\t}\r\n\t\tthis.timeoutToExpire = setTimeout(() => {\r\n\t\t\tthis.widgetObject.SelectedTabIndex = this.selectedTabIndex;\r\n\t\t\tif (this.widgetObject.RememberSelectedTabIndex) {\r\n\t\t\t\tlet returnedWidgetAsArray =\r\n\t\t\t\t\tthis.dataService.updateTacticalDashboardWidgetRecord(\r\n\t\t\t\t\t\tthis.widgetObject\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t}, 5000);\r\n\t}\r\n\r\n\r\n\ttabHasChanged(event) {\r\n\t\tclearTimeout(this.timeoutToExpire);\r\n\t\tthis.selectedMatTabLabel = event.tab.textLabel;\r\n\t\tthis.selectedTabIndex = event.index;\r\n\t\tif (this.widgetTabs[this.selectedTabIndex].tabHasBeenLoaded === false) {\r\n\t\t\tthis.widgetTabs[this.selectedTabIndex].tabHasBeenLoaded = true;\r\n\t\t\tthis.destroyIntervals();\r\n\t\t\tthis.startIntervals();\r\n\t\t}\r\n\t\tthis.timeoutToExpire = setTimeout(() => {\r\n\t\t\tthis.widgetObject.SelectedTabIndex = this.selectedTabIndex;\r\n\t\t\tif (this.widgetObject.RememberSelectedTabIndex) {\r\n\t\t\t\tlet returnedWidgetAsArray =\r\n\t\t\t\t\tthis.dataService.updateTacticalDashboardWidgetRecord(\r\n\t\t\t\t\t\tthis.widgetObject\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t}, 5000);\r\n\t}\r\n\r\n\tonResized(event: ResizeResult): void {\r\n\t\tthis.parentContainerSize = event.height;\r\n\t\tif (this.childOverviewGauge !== undefined) {\r\n\t\t\tthis.childOverviewGauge.reFlow();\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.destroyIntervals();\r\n\t}\r\n\r\n\tchangeGraphType(event) {\r\n\t\tlet i = this.selectedTabIndex;\r\n\t\tthis.widgetTabs[i].graphType = event;\r\n\t\tlet existingRecord = this.widgetTabsChartConfigurations.find(\r\n\t\t\t(record) => {\r\n\t\t\t\treturn record.WidgetTabIndex === i;\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tlet statement =\r\n\t\t\t'API.TacticalDashboardAddOrUpdateWidgetChartIndexRecord @widgetId = ' +\r\n\t\t\tthis.widgetObject.WidgetId +\r\n\t\t\t', @userId = ' +\r\n\t\t\tGlobal.User.currentUser.Id +\r\n\t\t\t', @chartTypeId = ' +\r\n\t\t\tevent.id +\r\n\t\t\t', @widgetTabIndex = ' +\r\n\t\t\ti;\r\n\t\tif (existingRecord !== undefined) {\r\n\t\t\tstatement = statement + ', @id = ' + existingRecord.Id;\r\n\t\t}\r\n\t\tthis.dataService.SQLActionAsPromise(statement).then((data: any) => {\r\n\t\t\tthis.widgetTabsChartConfigurations = data;\r\n\t\t\tthis.utilityService.showToastMessageShared({\r\n\t\t\t\ttype: 'success',\r\n\t\t\t\tmessage: 'Chart type changed to ' + event.properName,\r\n\t\t\t});\r\n\t\t\t// this.toastr.success(\"Chart type changed to \" + event.properName);\r\n\t\t});\r\n\t}\r\n\r\n\tshowChartAsPopup(tab) {\r\n\t\tvar popupData;\r\n\t\tvar field;\r\n\t\tvar categoryField;\r\n\t\tvar XAxisTitle;\r\n\t\tvar canIterate;\r\n\r\n\t\tif (tab.textLabel === 'Current Docked Assets') {\r\n\t\t\tfield = 'total';\r\n\t\t\tcategoryField = 'dataType';\r\n\t\t\tcanIterate = false;\r\n\t\t}\r\n\t\telse if (tab.textLabel === 'Assets Docked Current Time') {\r\n\t\t\tfield = 'CountOfAircraftDockedOn';\r\n\t\t\tcategoryField = 'DateOfObservationDateObject';\r\n\t\t\tXAxisTitle = 'Total Assets Docked at Current Time';\r\n\t\t\tcanIterate = false;\r\n\t\t}\r\n\t\telse if (tab.textLabel === 'Total Minutes Docked For Day') {\r\n\t\t\tfield = 'AircraftDockedMinutes';\r\n\t\t\tcategoryField = 'DateOfObservationDateObject';\r\n\t\t\tXAxisTitle = 'Total Minutes Docked For Day';\r\n\t\t\tcanIterate = true;\r\n\t\t}\r\n\t\telse if (tab.textLabel === 'Total Times Docked For Day') {\r\n\t\t\tfield = 'AircraftDockedCount';\r\n\t\t\tcategoryField = 'DateOfObservationDateObject';\r\n\t\t\tXAxisTitle = 'Total Times Docked For Day';\r\n\t\t\tcanIterate = true;\r\n\t\t}\r\n\t\telse if (tab.textLabel === 'Docks For Today Detail') {\r\n\t\t\tfield = 'inUseLength';\r\n\t\t\tcategoryField = 'value';\r\n\t\t\tcanIterate = false;\r\n\t\t}\r\n\r\n\r\n\t\tpopupData = {\r\n\t\t\tcategoryField: categoryField,\r\n\t\t\tfield: field,\r\n\t\t\tpopupTitle: 'Raw Chart: ' + tab.textLabel,\r\n\t\t\ttitleXAxis: XAxisTitle,\r\n\t\t\tchartTitle: tab.textLabel,\r\n\t\t\tWidgetName: 'Kendo-Chart',\r\n\t\t\tchartData: tab.chartData,\r\n\t\t\tcanCreateDashboardWidgetFromPopup: false,\r\n\t\t\tgraphType: tab.graphType?.name,\r\n\t\t\tlegendVisible: tab.legendVisible,\r\n\t\t\tcanIterate: canIterate,\r\n\t\t}\r\n\r\n\t\tconst cuSummaryModal = this.dialog.open(DialogModalParentComponent, {\r\n\t\t\twidth: Global.isMobile ? '90%' : '90%',\r\n\t\t\theight: Global.isMobile ? '90%' : '90%',\r\n\t\t\tdata: popupData,\r\n\t\t\tmaxWidth: '100vw',\r\n\t\t\tmaxHeight: '100vh',\r\n\t\t});\r\n\t}\r\n\r\n\tpublic toggleLegendChange(event: any) {\r\n\t\tthis.toggleLegendHidden(this.tab, this.selectedTabIndex);\r\n\t}\r\n\r\n\tCreateTheme(theme: string) {\r\n\t\tif (theme === 'light') {\r\n\t\t\tthis.theme = 'light';\r\n\t\t\tthis.chartBackgroundColor = 'white';\r\n\t\t\tthis.chartLabelColors = 'grey';\r\n\t\t\tthis.gridLineColor = 'grey';\r\n\t\t\tthis.axisItemColor = 'grey';\r\n\t\t} else {\r\n\t\t\tthis.theme = 'dark';\r\n\t\t\tthis.chartBackgroundColor = '#27304C';\r\n\t\t\tthis.chartLabelColors = 'white';\r\n\t\t\tthis.gridLineColor = 'white';\r\n\t\t\tthis.axisItemColor = 'white';\r\n\t\t}\r\n\t}\r\n\r\n\tpublic toggleSeries(item: any): void {\r\n\t\tlet i = item.series.index;\r\n\r\n\t\tthis.series._results[i].toggleVisibility();\r\n\t}\r\n\r\n\tpublic toggleAllSeries(e) {\r\n\t\tif (e.text === 'Toggle All Series') {\r\n\t\t\tthis.series._results.forEach((series, index) => {\r\n\t\t\t\tthis.series._results[index].toggleVisibility();\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tinitializeTour(): void {\r\n\t\tthis.tourService.initialize([\r\n\t\t\t{\r\n anchorId: this.widgetObject.WidgetId + '-1',\r\n content: 'Here you can click on the Site, Update Interval and Timescope areas to change the settings for this widget',\r\n title: 'Settings',\r\n },\r\n {\r\n anchorId: this.widgetObject.WidgetId + '-2',\r\n content: 'Navigate to different tabs & Widget Settings',\r\n title: 'Navigation',\r\n },\r\n {\r\n anchorId: this.widgetObject.WidgetId + '-3',\r\n content: 'Click on various tiles for more information',\r\n title: 'Summary Info',\r\n },\r\n\t\t]);\r\n\r\n\t\tthis.tourService.start();\r\n\t}\r\n\r\n}\r\n\r\n", "
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n\t
\r\n\t\t\r\n\t\t\t{{ widgetObject.WidgetName }}\r\n\t\t\r\n\t
\r\n\r\n
\r\n\t\r\n\t
\r\n\t\t \r\n\t
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\t\r\n\t\t{{ widgetObject.WidgetName }} {{ tab.textLabel }}\r\n\r\n\t\t\r\n\t\t\tinfo\r\n\t\t\r\n\t\r\n
\r\n\r\n \r\n\t
\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{ (dataService.returnSiteListAsArrayOfNames(widgetObject.SiteList).length > 6)?\r\n\t\t\t\t\t(dataService.returnSiteListAsArrayOfNames(widgetObject.SiteList) | slice:0:6)+'...':\r\n\t\t\t\t\t(dataService.returnSiteListAsArrayOfNames(widgetObject.SiteList)) }}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

site

\r\n\t\t\t
\r\n\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{widgetObject.WidgetAssetTypeName}}\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

asset type

\r\n\t\t\t
\r\n\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{widgetObject.WidgetAssetName}}\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

asset

\r\n\t\t\t
\r\n\r\n\t\t
\r\n\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{displayTimeAgoMessage}}\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

last update

\r\n\t\t\t
\r\n\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{ updateInterval.Description }}\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

update interval

\r\n\t\t\t
\r\n\r\n\t\t
\r\n\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{{ timeScopeObject.queryStartDate | date :'shortDate' }} - {{ timeScopeObject.queryEndDate | date :'shortDate' }}\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

timescope

\r\n\t\t\t
\r\n\r\n\t\t
\r\n\t
\r\n\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\t\r\n\r\n\t\t
\r\n\r\n\t\t\r\n\t\t\r\n\r\n\t\t
0 \" style=\"height: 50px !important; display: block\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n\t\t\t
0\" class=\"tactical-pbb-docking-grid-container\" [tourAnchor]=\"widgetObject.WidgetId + '-3'\">\r\n\r\n\r\n\r\n\t\t\t\t\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{{ summaryArray[2]/100 | percent }}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

{{summaryArray[0]}} out of {{totalAssetLength}} Docked

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\r\n\t\t\t\t\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\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n \r\n \r\n
\r\n 0\">\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n {{ dataItem.dataType }}: {{ dataItem.total }}
\r\n \r\n Asset List: \r\n
\r\n\r\n {{asset}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n Asset Name: {{ dataItem.ProperAssetName }}
\r\n Docked Duration: {{ dataItem.AircraftDockedMinutes }} minutes
\r\n Docked Count: {{ dataItem.AircraftDockedCount }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n Asset Name: {{ dataItem.ProperAssetName }}
\r\n Docked Duration: {{ dataItem.AircraftDockedMinutes }} minutes
\r\n Docked Count: {{ dataItem.AircraftDockedCount }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\r\n
\r\n\t\t\t 0\">\r\n\t\t\t\t\r\n \t\t\t\r\n\t \t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\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iCAAA,IAAA0V,EAAA7Q,4BAAA,KAAA6Q,EAAA1a,cAAA,KAAA,KAAA0a,EAAA1a,aAAAuC,SAAA;2EDDYwH,CAAmB,GAAA", "names": ["import_lodash", "\u0275\u0275elementStart", "\u0275\u0275element", "\u0275\u0275elementEnd", "\u0275\u0275text", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r1", "widgetObject", "WidgetName", "\u0275\u0275template", "PbbDockingComponent_div_3_span_2_Template", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "checkNavigation", "checkSelectedItem", "\u0275\u0275property", "global", "isMobile", "optionsSettingsOnly", "navigationOpened", "_r5", "initializeTour", "\u0275\u0275textInterpolate2", "tab", "textLabel", "_r6", "editWidgetSettings", "headerGridTitle", "\u0275\u0275textInterpolate", "WidgetAssetTypeName", "_r7", "WidgetAssetName", "PbbDockingComponent_div_4_div_1_span_2_Template", "_r4", "PbbDockingComponent_div_4_div_1_div_13_Template", "PbbDockingComponent_div_4_div_1_div_14_Template", "refreshWidget", "changeWidgetInterval", "changeWidgetTimescope", "WidgetId", "dataService", "returnSiteListAsArrayOfNames", "SiteList", "length", "\u0275\u0275pipeBind3", "displayTimeAgoMessage", "updateInterval", "Description", "\u0275\u0275pipeBind2", "timeScopeObject", "queryStartDate", "queryEndDate", "_r8", "changeGraphType", "toggleLegendChange", "graphType", "legendVisible", "PbbDockingComponent_div_4_div_9_lib_chart_type_slider_1_Template", "widgetTabConfigurationsFinishedMapping", "\u0275\u0275pureFunction1", "_c3", "percentTextColor", "holeCenterTextClass", "\u0275\u0275pipeBind1", "summaryArray", "_r9", "openConditionalShadingSettingsPopup", "navigateToTab", "PbbDockingComponent_div_4_div_10_div_2_ng_template_11_Template", "PbbDockingComponent_div_4_div_10_div_2_ng_template_29_Template", "cardTileCenterTitleClass", "donutClass", "holeSize", "percentAssetsInUse", "\u0275\u0275styleProp", "fontSize2", "totalAssetLength", "percentAssetsNotInUse", "cardWideTileCenterTitleClass", "summaryArray1", "fontSize1", "PbbDockingComponent_div_4_div_10_div_1_Template", "PbbDockingComponent_div_4_div_10_div_2_Template", "displayNoUpdateIntervalMessage", "summaryArray2", "isLoading", "asset_r11", "PbbDockingComponent_div_4_div_11_kendo_chart_3_ng_template_5_div_8_Template", "dataItem_r12", "dataType", "total", "tooltip", "labelContent", "PbbDockingComponent_div_4_div_11_kendo_chart_3_ng_template_5_Template", "PbbDockingComponent_div_4_div_11_kendo_chart_3_kendo_chart_series_item_labels_6_Template", "chartBackgroundColor", "name", "chartData", "_c4", "gridLineColor", "axisItemColor", "\u0275\u0275pureFunction0", "_c5", "_r10", "showChartAsPopup", "PbbDockingComponent_div_4_div_11_div_2_Template", "PbbDockingComponent_div_4_div_11_kendo_chart_3_Template", "tableData", "chartDataIsReady", "_c6", "_c7", "_r13", "PbbDockingComponent_div_4_div_12_div_1_Template", "PbbDockingComponent_div_4_div_12_kendo_chart_2_Template", "dataItem_r16", "ProperAssetName", "AircraftDockedMinutes", "AircraftDockedCount", "PbbDockingComponent_div_4_div_13_kendo_chart_2_kendo_chart_series_item_6_ng_template_3_Template", "item_r17", "items", "value", "_r15", "toggleAllSeries", "toggleSeries", "PbbDockingComponent_div_4_div_13_kendo_chart_2_kendo_chart_series_item_6_Template", "_c8", "_r14", "PbbDockingComponent_div_4_div_13_div_1_Template", "PbbDockingComponent_div_4_div_13_kendo_chart_2_Template", "dataItem_r20", "PbbDockingComponent_div_4_div_14_kendo_chart_2_kendo_chart_series_item_6_ng_template_3_Template", "item_r21", "_r19", "PbbDockingComponent_div_4_div_14_kendo_chart_2_kendo_chart_series_item_6_Template", "_c9", "_r18", "PbbDockingComponent_div_4_div_14_div_1_Template", "PbbDockingComponent_div_4_div_14_kendo_chart_2_Template", "labelContentShort", "dataItem_r23", "inUseLength", "PbbDockingComponent_div_4_div_15_kendo_chart_2_kendo_chart_series_item_labels_7_Template", "PbbDockingComponent_div_4_div_15_kendo_chart_2_ng_template_9_Template", "\u0275\u0275propertyInterpolate1", "totalDocksForToday", "_r22", "PbbDockingComponent_div_4_div_15_div_1_Template", "PbbDockingComponent_div_4_div_15_kendo_chart_2_Template", "PbbDockingComponent_div_4_div_1_Template", "_r3", "onResized", "PbbDockingComponent_div_4_lib_loading_spinner_8_Template", "PbbDockingComponent_div_4_div_9_Template", "PbbDockingComponent_div_4_div_10_Template", "PbbDockingComponent_div_4_div_11_Template", "PbbDockingComponent_div_4_div_12_Template", "PbbDockingComponent_div_4_div_13_Template", "PbbDockingComponent_div_4_div_14_Template", "PbbDockingComponent_div_4_div_15_Template", "displayNoTimeScopeMessage", "options", "PbbDockingComponent", "constructor", "dashboardService", "dialog", "toastr", "utilityService", "elem", "tourService", "graphTypes", "Global", "chartLabelColors", "h1Number", "undefined", "h4Percent", "percentCalculated", "chartDataFinalIsReady", "sparklineData", "label", "visible", "progressStyles", "background", "widgetTabs", "tabHasBeenLoaded", "graphTypesLimitations", "downloadableData", "groupable", "groupColumns", "field", "tableStructure", "title", "filter", "_width", "formatOption", "rendered", "noDataForSite", "selectedTabIndex", "WidgetTabSettings", "conditionalColorPercentAmount", "e", "category", "ngOnInit", "determineProperTacticalDashboardUpdateIntervalForWidget", "determineProperTimeScopeForWidget", "UTCConfiguration", "buildNavigationOptionsArray", "ngAfterViewInit", "bounds", "nativeElement", "getBoundingClientRect", "cardResize", "contentHeight", "statement", "SQLActionAsPromise", "then", "data", "forEach", "tabSetting", "TabIndex", "IsLegendHidden", "console", "log", "ConditionalShadingRecord", "cache", "tacticalDashboardWidgetConditionalShadings", "p", "sort", "a", "b", "parseFloat", "Value", "widgetResizedEvent", "widgetResizedSubscription", "subscribe", "item", "fontResize", "widgetNavigateToFirstTabSubscription", "_widgetNavigateToFirstTab", "parseInt", "widgetToggleLegendHiddenSubscription", "_widgetToggleLegendHidden", "toggleLegendHidden", "FullDataCacheExists", "initialize", "fullDataCacheSubscription", "fullDataCacheExists$", "unsubscribe", "colorChangedSubscription", "colorChanged$", "CreateTheme", "Theme", "dashboardUpdateIntervalChanged", "dashboardUpdateIntervalSubscription", "foundWidgetWithSameWidgetId", "find", "widgetThatWasChanged", "_", "isNil", "dashboardTimeScopeChanged", "dashboardTimeScopeChangedSubscription", "tileNumber", "tileConditionalShadingRecord", "SummaryTileIndex", "DialogRef", "open", "TacticalWidgetSummaryTilePopupComponent", "width", "height", "afterClosed", "result", "tileConditionalShadingRecordLatest", "r", "push", "ConditionalColorSummaryTiles", "Operator", "HexColor", "conditionalColorPercentAmountRounded", "Math", "round", "kind", "share", "color", "startIntervals", "intervalUpdate", "UpdateInterval", "secondsAgoInterval", "clearInterval", "retrieveData", "setInterval", "lastUpdatedDate", "calculateTimeAgo", "updateControllerInterval", "destroyIntervals", "User", "currentUser", "Id", "widgetTabsChartConfigurations", "index", "foundWidgetTabConfiguration", "configurationrecord", "WidgetTabIndex", "tacticalDashboardGraphTypes", "id", "ChartTypeId", "SelectedTabIndex", "selectedMatTabLabel", "showDialogModalPopupGrid", "cuSummaryModal", "DialogModalParentComponent", "graphId", "uuidv4", "popupTitle", "canCreateDashboardWidgetFromPopup", "maxWidth", "maxHeight", "ODataAccessToken", "asset", "DateOfObservationDateObject", "Date", "SiteName", "GateName", "AssetName", "AircraftDockedStatus", "IsAircraftDocked", "IsAircraftDockedInt", "notDocked", "docked", "toFixed", "specificMomentInTime", "record", "uniqBy", "DateOfObservation", "aircraftDockedDuration", "groupBy", "sortByDockCount", "sortByDockDuration", "sortByDockByDay", "TotalDocksCount", "dock", "getTime", "createSparkLineChart", "aircraftDockedTodayDetail", "DurationInMinutes", "DurationInSeconds", "count", "assetAggregated", "group", "service", "navigationWidth", "children", "action", "root", "opened", "editWidgetName", "_reloadedWidget", "next", "deleteFunction", "editTimeScopeSettings", "editIntervalSettings", "RememberSelectedTabIndex", "invertRememberingOfSelectedTabIndex", "toggleRememberingOfSelectedTabIndexName", "optionsDesktop", "dragEnabled", "invertDraggableSetting", "toggleDragName", "resizeEnabled", "invertResizeSetting", "toggleResizeName", "concat", "where", "toArray", "settings", "firstOrDefault", "rememberTabSetting", "dragSetting", "resizeSetting", "DebugMode", "selected", "openCloseNavigation", "map", "y", "dateOfObs", "foundSetting", "widgetTabSetting", "animationRedraw", "clearTimeout", "timeoutToExpire", "setTimeout", "returnedWidgetAsArray", "updateTacticalDashboardWidgetRecord", "tabHasChanged", "event", "parentContainerSize", "childOverviewGauge", "reFlow", "ngOnDestroy", "i", "existingRecord", "showToastMessageShared", "type", "message", "properName", "popupData", "categoryField", "XAxisTitle", "canIterate", "titleXAxis", "chartTitle", "theme", "series", "_results", "toggleVisibility", "text", "anchorId", "content", "start", "\u0275\u0275directiveInject", "DataService", "DashboardService", "MatDialog", "ToastrService", "UtilityService", "ElementRef", "TourService", "selectors", "viewQuery", "rf", "ctx", "PbbDockingComponent_div_0_Template", "PbbDockingComponent_div_1_Template", "PbbDockingComponent_div_2_Template", "PbbDockingComponent_div_3_Template", "PbbDockingComponent_div_4_Template"] }