|
|
|
@ -29,22 +29,28 @@ |
|
|
|
|
import { |
|
|
|
|
ChangeDetectionStrategy, Component, Input, NgZone, OnInit, |
|
|
|
|
} from '@angular/core'; |
|
|
|
|
import { WorkPackageListViewComponent } from 'core-app/features/work-packages/routing/wp-list-view/wp-list-view.component'; |
|
|
|
|
import { HalResourceNotificationService } from 'core-app/features/hal/services/hal-resource-notification.service'; |
|
|
|
|
import { WorkPackageNotificationService } from 'core-app/features/work-packages/services/notifications/work-package-notification.service'; |
|
|
|
|
import { DragAndDropService } from 'core-app/shared/helpers/drag-and-drop/drag-and-drop.service'; |
|
|
|
|
import { CausedUpdatesService } from 'core-app/features/boards/board/caused-updates/caused-updates.service'; |
|
|
|
|
import { BcfViewService } from 'core-app/features/bim/ifc_models/pages/viewer/bcf-view.service'; |
|
|
|
|
import { InjectField } from 'core-app/shared/helpers/angular/inject-field.decorator'; |
|
|
|
|
import { IfcModelsDataService } from 'core-app/features/bim/ifc_models/pages/viewer/ifc-models-data.service'; |
|
|
|
|
import { WorkPackageViewColumnsService } from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-columns.service'; |
|
|
|
|
import { UIRouterGlobals } from '@uirouter/core'; |
|
|
|
|
import { States } from 'core-app/core/states/states.service'; |
|
|
|
|
import { InjectField } from 'core-app/shared/helpers/angular/inject-field.decorator'; |
|
|
|
|
import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin'; |
|
|
|
|
import { DragAndDropService } from 'core-app/shared/helpers/drag-and-drop/drag-and-drop.service'; |
|
|
|
|
import { BcfApiService } from 'core-app/features/bim/bcf/api/bcf-api.service'; |
|
|
|
|
import { QueryResource } from 'core-app/features/hal/resources/query-resource'; |
|
|
|
|
import { BcfViewService } from 'core-app/features/bim/ifc_models/pages/viewer/bcf-view.service'; |
|
|
|
|
import { splitViewRoute } from 'core-app/features/work-packages/routing/split-view-routes.helper'; |
|
|
|
|
import { ViewerBridgeService } from 'core-app/features/bim/bcf/bcf-viewer-bridge/viewer-bridge.service'; |
|
|
|
|
import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin'; |
|
|
|
|
import { QueryResource } from 'core-app/features/hal/resources/query-resource'; |
|
|
|
|
import { CausedUpdatesService } from 'core-app/features/boards/board/caused-updates/caused-updates.service'; |
|
|
|
|
import { IfcModelsDataService } from 'core-app/features/bim/ifc_models/pages/viewer/ifc-models-data.service'; |
|
|
|
|
import { HalResourceNotificationService } from 'core-app/features/hal/services/hal-resource-notification.service'; |
|
|
|
|
import { |
|
|
|
|
WorkPackageListViewComponent, |
|
|
|
|
} from 'core-app/features/work-packages/routing/wp-list-view/wp-list-view.component'; |
|
|
|
|
import { |
|
|
|
|
WorkPackageViewColumnsService, |
|
|
|
|
} from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-columns.service'; |
|
|
|
|
import { |
|
|
|
|
WorkPackageNotificationService, |
|
|
|
|
} from 'core-app/features/work-packages/services/notifications/work-package-notification.service'; |
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
|
|
templateUrl: './bcf-list.component.html', |
|
|
|
@ -118,7 +124,7 @@ export class BcfListComponent extends WorkPackageListViewComponent implements Un |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (double) { |
|
|
|
|
if (double || this.deviceService.isMobile) { |
|
|
|
|
this.goToWpDetailState(workPackageId, this.uIRouterGlobals.params.cards); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|