Merge pull request #8317 from opf/fix/remove_unused_imports

remove unused ts imports
pull/8315/head
ulferts 5 years ago committed by GitHub
commit fc99ab568c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      frontend/src/app/components/enterprise/enterprise-base.component.ts
  2. 1
      frontend/src/app/components/filters/quick-filter-by-text-input/quick-filter-by-text-input.component.ts
  3. 5
      frontend/src/app/components/forms/forms-cache.service.ts
  4. 4
      frontend/src/app/components/homescreen/blocks/new-features.component.spec.ts
  5. 1
      frontend/src/app/components/homescreen/blocks/new-features.component.ts
  6. 1
      frontend/src/app/components/modals/editor/editor-macros.service.ts
  7. 1
      frontend/src/app/components/modals/editor/macro-wp-button-modal/wp-button-macro.modal.ts
  8. 2
      frontend/src/app/components/modals/share-modal/query-sharing.modal.ts
  9. 2
      frontend/src/app/components/op-context-menu/handlers/op-columns-context-menu.directive.ts
  10. 2
      frontend/src/app/components/op-context-menu/handlers/op-context-menu-trigger.directive.ts
  11. 2
      frontend/src/app/components/op-context-menu/handlers/op-types-context-menu.directive.ts
  12. 2
      frontend/src/app/components/op-context-menu/handlers/wp-create-settings-menu.directive.ts
  13. 3
      frontend/src/app/components/op-context-menu/handlers/wp-status-dropdown-menu.directive.ts
  14. 5
      frontend/src/app/components/op-context-menu/icon-triggered-context-menu/icon-triggered-context-menu.component.ts
  15. 2
      frontend/src/app/components/states/state-cache.service.ts
  16. 2
      frontend/src/app/components/statuses/status-cache.service.ts
  17. 1
      frontend/src/app/components/user/user-link/user-link.component.ts
  18. 4
      frontend/src/app/components/versions/version-cache.service.ts
  19. 1
      frontend/src/app/components/work-packages/wp-breadcrumb/wp-breadcrumb-parent.component.ts
  20. 2
      frontend/src/app/components/wp-activity/activity-entry.component.ts
  21. 2
      frontend/src/app/components/wp-activity/comment-service.ts
  22. 3
      frontend/src/app/components/wp-card-view/services/wp-card-drag-and-drop.service.ts
  23. 1
      frontend/src/app/components/wp-custom-actions/date-action/custom-date-action-admin.component.ts
  24. 3
      frontend/src/app/components/wp-custom-actions/wp-custom-actions/wp-custom-action.component.ts
  25. 2
      frontend/src/app/components/wp-details/wp-details-toolbar.component.ts
  26. 8
      frontend/src/app/components/wp-edit-form/table-edit-form.ts
  27. 1
      frontend/src/app/components/wp-fast-table/builders/modes/grouped/grouped-render-pass.ts
  28. 1
      frontend/src/app/components/wp-fast-table/handlers/row/click-handler.ts
  29. 1
      frontend/src/app/components/wp-fast-table/handlers/state/drag-and-drop-transformer.ts
  30. 1
      frontend/src/app/components/wp-fast-table/handlers/state/rows-transformer.ts
  31. 2
      frontend/src/app/components/wp-fast-table/helpers/wp-table-hierarchy-helpers.ts
  32. 2
      frontend/src/app/components/wp-inline-create/wp-inline-create.service.ts
  33. 1
      frontend/src/app/components/wp-query-select/wp-static-queries.service.ts
  34. 1
      frontend/src/app/components/wp-query/query-filters.service.ts
  35. 1
      frontend/src/app/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.ts
  36. 3
      frontend/src/app/components/wp-relations/wp-relations-create/wp-relations-autocomplete/wp-relations-autocomplete.component.ts
  37. 2
      frontend/src/app/components/wp-relations/wp-relations-group/wp-relations-group.component.ts
  38. 5
      frontend/src/app/components/wp-single-view-tabs/activity-panel/activity-on-overview.component.ts
  39. 2
      frontend/src/app/components/wp-single-view-tabs/activity-panel/wp-activity.service.ts
  40. 1
      frontend/src/app/components/wp-single-view-tabs/keep-tab/keep-tab.service.spec.ts
  41. 2
      frontend/src/app/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.ts
  42. 2
      frontend/src/app/components/wp-table/configuration-modal/tab-portal-outlet.ts
  43. 3
      frontend/src/app/components/wp-table/configuration-modal/tabs/sort-by-tab.component.ts
  44. 2
      frontend/src/app/components/wp-table/configuration-modal/tabs/timelines-tab.component.ts
  45. 2
      frontend/src/app/components/wp-table/context-menu-helper/wp-context-menu-helper.service.ts
  46. 2
      frontend/src/app/components/wp-table/timeline/cells/timeline-cell-renderer.ts
  47. 2
      frontend/src/app/components/wp-table/timeline/cells/timeline-milestone-cell-renderer.ts
  48. 1
      frontend/src/app/components/wp-table/timeline/cells/wp-timeline-cell-mouse-handler.ts
  49. 1
      frontend/src/app/components/wp-table/timeline/cells/wp-timeline-cell.ts
  50. 5
      frontend/src/app/components/wp-table/wp-table-sums-row/wp-table-sums-row.directive.ts
  51. 1
      frontend/src/app/globals/global-listeners/preview-trigger.service.ts
  52. 2
      frontend/src/app/helpers/rxjs/debounced-input-switchmap.ts
  53. 1
      frontend/src/app/modules/boards/board/board-actions/board-action.service.ts
  54. 1
      frontend/src/app/modules/boards/board/board-actions/version/version-action.service.ts
  55. 2
      frontend/src/app/modules/boards/board/board-actions/version/version-board-header.component.ts
  56. 2
      frontend/src/app/modules/boards/board/query-updated/query-updated.service.ts
  57. 2
      frontend/src/app/modules/common/authoring/authoring.component.ts
  58. 2
      frontend/src/app/modules/common/autocomplete/user-autocompleter.component.ts
  59. 1
      frontend/src/app/modules/common/drag-and-drop/drag-and-drop.service.ts
  60. 2
      frontend/src/app/modules/common/edit-actions-bar/wp-edit-actions-bar.component.ts
  61. 1
      frontend/src/app/modules/common/enterprise/banners.service.ts
  62. 1
      frontend/src/app/modules/common/hide-section/hide-section-link/hide-section-link.component.ts
  63. 1
      frontend/src/app/modules/common/hide-section/show-section-dropdown.component.ts
  64. 2
      frontend/src/app/modules/common/op-date-picker/op-date-picker.component.ts
  65. 2
      frontend/src/app/modules/common/path-helper/apiv3/projects/apiv3-projects-paths.ts
  66. 3
      frontend/src/app/modules/common/tabs/content-tabs/content-tabs.component.ts
  67. 1
      frontend/src/app/modules/fields/display/display-field.module.ts
  68. 3
      frontend/src/app/modules/fields/display/field-types/id-display-field.module.ts
  69. 1
      frontend/src/app/modules/fields/display/field-types/multiple-lines-user-display-field.module.ts
  70. 1
      frontend/src/app/modules/fields/display/field-types/multiple-user-display-field.module.ts
  71. 2
      frontend/src/app/modules/fields/edit/edit-field.service.ts
  72. 2
      frontend/src/app/modules/fields/edit/edit-form/edit-form.component.ts
  73. 4
      frontend/src/app/modules/fields/edit/edit-form/edit-form.ts
  74. 1
      frontend/src/app/modules/fields/edit/editing-portal/edit-form-portal.component.ts
  75. 4
      frontend/src/app/modules/fields/edit/field-types/select-autocompleter-register.service.ts
  76. 1
      frontend/src/app/modules/global_search/global-search-work-packages-entry.component.ts
  77. 1
      frontend/src/app/modules/grids/grid/initialization.service.ts
  78. 1
      frontend/src/app/modules/grids/widgets/project-description/project-description.component.ts
  79. 3
      frontend/src/app/modules/grids/widgets/project-status/project-status.component.ts
  80. 2
      frontend/src/app/modules/grids/widgets/time-entries/list/time-entries-list.component.ts
  81. 1
      frontend/src/app/modules/grids/widgets/wp-table/wp-table-qs.component.ts
  82. 2
      frontend/src/app/modules/hal/dm-services/grid-dm.service.ts
  83. 2
      frontend/src/app/modules/hal/dm-services/relations-dm.service.ts
  84. 2
      frontend/src/app/modules/hal/dm-services/root-dm.service.ts
  85. 1
      frontend/src/app/modules/hal/dm-services/time-entry-dm.service.ts
  86. 2
      frontend/src/app/modules/hal/dm-services/type-dm.service.ts
  87. 2
      frontend/src/app/modules/hal/dm-services/user-dm.service.ts
  88. 3
      frontend/src/app/modules/hal/dm-services/version-dm.service.ts
  89. 1
      frontend/src/app/modules/hal/dm-services/work-package-dm.service.ts
  90. 1
      frontend/src/app/modules/hal/resources/error-resource.ts
  91. 3
      frontend/src/app/modules/hal/resources/grid-widget-resource.ts
  92. 2
      frontend/src/app/modules/hal/resources/help-text-resource.ts
  93. 1
      frontend/src/app/modules/hal/resources/mixins/attachable-mixin.ts
  94. 3
      frontend/src/app/modules/hal/resources/query-filter-instance-resource.ts
  95. 1
      frontend/src/app/modules/hal/resources/query-filter-instance-schema-resource.ts
  96. 1
      frontend/src/app/modules/hal/resources/query-form-resource.ts
  97. 1
      frontend/src/app/modules/hal/resources/status-resource.ts
  98. 2
      frontend/src/app/modules/hal/resources/type-resource.ts
  99. 1
      frontend/src/app/modules/hal/resources/work-package-resource.ts
  100. 2
      frontend/src/app/modules/hal/services/hal-events.service.ts
  101. Some files were not shown because too many files have changed in this diff Show More

@ -28,7 +28,6 @@
import {Component, Injector} from "@angular/core";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";
import {EnterpriseTrialModal} from "core-components/enterprise/enterprise-modal/enterprise-trial.modal";
import {OpModalService} from "core-components/op-modals/op-modal.service";
import {EnterpriseTrialService} from "core-components/enterprise/enterprise-trial.service";

@ -33,7 +33,6 @@ import {WorkPackageCacheService} from "app/components/work-packages/work-package
import {Subject} from "rxjs";
import {debounceTime, distinctUntilChanged, map, tap} from "rxjs/operators";
import {IsolatedQuerySpace} from "core-app/modules/work_packages/query-space/isolated-query-space";
import {QueryFilterInstanceResource} from "core-app/modules/hal/resources/query-filter-instance-resource";
import {input} from "reactivestates";
import {QueryFilterResource} from "core-app/modules/hal/resources/query-filter-resource";
import {UntilDestroyedMixin} from "core-app/helpers/angular/until-destroyed.mixin";

@ -1,6 +1,4 @@
import {Injectable} from '@angular/core';
import {SchemaResource} from 'core-app/modules/hal/resources/schema-resource';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
// -- copyright
// OpenProject is an open source project management software.
@ -29,8 +27,7 @@ import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.ser
//
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {input, InputState, multiInput, MultiInputState, State} from 'reactivestates';
import {States} from '../states.service';
import {multiInput, MultiInputState} from 'reactivestates';
import {FormResource} from "core-app/modules/hal/resources/form-resource";
import {StateCacheService} from "core-components/states/state-cache.service";

@ -26,9 +26,9 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {Component, DebugElement} from "@angular/core";
import {DebugElement} from "@angular/core";
import {ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
import {ComponentFixture, fakeAsync, TestBed} from '@angular/core/testing';
import {By} from "@angular/platform-browser";
import { I18nService } from 'core-app/modules/common/i18n/i18n.service';
import { HomescreenNewFeaturesBlockComponent } from './new-features.component';

@ -27,7 +27,6 @@
// ++
import {Component} from '@angular/core';
import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {DomSanitizer} from "@angular/platform-browser";
import {BcfRestApi} from "core-app/modules/bim/bcf/bcf-constants.const";

@ -31,7 +31,6 @@ import {Injectable, Injector} from "@angular/core";
import {WpButtonMacroModal} from "core-components/modals/editor/macro-wp-button-modal/wp-button-macro.modal";
import {WikiIncludePageMacroModal} from "core-components/modals/editor/macro-wiki-include-page-modal/wiki-include-page-macro.modal";
import {CodeBlockMacroModal} from "core-components/modals/editor/macro-code-block-modal/code-block-macro.modal";
import {ComponentType} from "@angular/cdk/portal";
import {ChildPagesMacroModal} from "core-components/modals/editor/macro-child-pages-modal/child-pages-macro.modal";
@Injectable()

@ -30,7 +30,6 @@ import {OpModalComponent} from "core-components/op-modals/op-modal.component";
import {OpModalLocalsToken} from "core-components/op-modals/op-modal.service";
import {
AfterViewInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,

@ -32,7 +32,7 @@ import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-
import {QueryResource} from 'core-app/modules/hal/resources/query-resource';
import {NotificationsService} from "core-app/modules/common/notifications/notifications.service";
import {OpModalComponent} from "core-components/op-modals/op-modal.component";
import {ChangeDetectorRef, Component, ElementRef, Inject, OnInit, ViewChild} from "@angular/core";
import {ChangeDetectorRef, Component, ElementRef, Inject, OnInit} from "@angular/core";
import {OpModalLocalsToken} from "core-components/op-modals/op-modal.service";
import {OpModalLocalsMap} from "core-components/op-modals/op-modal.types";
import {QuerySharingChange} from "core-components/modals/share-modal/query-sharing-form.component";

@ -31,7 +31,6 @@ import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {OpContextMenuTrigger} from 'core-components/op-context-menu/handlers/op-context-menu-trigger.directive';
import {OPContextMenuService} from 'core-components/op-context-menu/op-context-menu.service';
import {OpContextMenuItem} from 'core-components/op-context-menu/op-context-menu.types';
import {OpModalService} from 'core-components/op-modals/op-modal.service';
import {WorkPackageViewColumnsService} from 'core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-columns.service';
import {WorkPackageViewGroupByService} from 'core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-group-by.service';
@ -40,7 +39,6 @@ import {WorkPackageViewSortByService} from 'core-app/modules/work_packages/routi
import {WorkPackageTable} from 'core-components/wp-fast-table/wp-fast-table';
import {QueryColumn} from 'core-components/wp-query/query-column';
import {WpTableConfigurationModalComponent} from 'core-components/wp-table/configuration-modal/wp-table-configuration.modal';
import {QuerySharingModal} from "core-components/modals/share-modal/query-sharing.modal";
import {ConfirmDialogService} from "core-components/modals/confirm-dialog/confirm-dialog.service";
import {QUERY_SORT_BY_ASC, QUERY_SORT_BY_DESC} from "core-app/modules/hal/resources/query-sort-by-resource";

@ -1,4 +1,4 @@
import {AfterViewInit, Directive, ElementRef, Input} from "@angular/core";
import {AfterViewInit, Directive, ElementRef} from "@angular/core";
import {OPContextMenuService} from "core-components/op-context-menu/op-context-menu.service";
import {OpContextMenuHandler} from "core-components/op-context-menu/op-context-menu-handler";
import {OpContextMenuItem} from "core-components/op-context-menu/op-context-menu.types";

@ -29,7 +29,7 @@
import {OpContextMenuItem} from 'core-components/op-context-menu/op-context-menu.types';
import {StateService} from '@uirouter/core';
import {OPContextMenuService} from "core-components/op-context-menu/op-context-menu.service";
import {Directive, ElementRef, Input, Inject} from "@angular/core";
import {Directive, ElementRef, Input} from "@angular/core";
import {LinkHandling} from "core-app/modules/common/link-handling/link-handling";
import {OpContextMenuTrigger} from "core-components/op-context-menu/handlers/op-context-menu-trigger.directive";
import {TypeResource} from 'core-app/modules/hal/resources/type-resource';

@ -27,7 +27,7 @@
//++
import {OPContextMenuService} from "core-components/op-context-menu/op-context-menu.service";
import {Directive, ElementRef, Inject} from "@angular/core";
import {Directive, ElementRef} from "@angular/core";
import {OpContextMenuTrigger} from "core-components/op-context-menu/handlers/op-context-menu-trigger.directive";
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";

@ -28,11 +28,10 @@
import {StateService} from '@uirouter/core';
import {OPContextMenuService} from "core-components/op-context-menu/op-context-menu.service";
import {Directive, ElementRef, Inject, Input} from "@angular/core";
import {Directive, ElementRef, Input} from "@angular/core";
import {OpContextMenuTrigger} from "core-components/op-context-menu/handlers/op-context-menu-trigger.directive";
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {CollectionResource} from 'core-app/modules/hal/resources/collection-resource';

@ -28,14 +28,9 @@
import {ChangeDetectorRef, Component, ElementRef, Injector, Input} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {AuthorisationService} from 'core-app/modules/common/model-auth/model-auth.service';
import {OpContextMenuTrigger} from 'core-components/op-context-menu/handlers/op-context-menu-trigger.directive';
import {OPContextMenuService} from 'core-components/op-context-menu/op-context-menu.service';
import {OpModalService} from "core-components/op-modals/op-modal.service";
import {IsolatedQuerySpace} from "core-app/modules/work_packages/query-space/isolated-query-space";
import {BoardListComponent} from "core-app/modules/boards/board/board-list/board-list.component";
import {Board} from "core-app/modules/boards/board/board";
import {BoardActionsRegistryService} from "core-app/modules/boards/board/board-actions/board-actions-registry.service";
import {OpContextMenuItem} from "core-components/op-context-menu/op-context-menu.types";
@Component({

@ -28,7 +28,7 @@
import {InputState, MultiInputState, State} from 'reactivestates';
import {Observable} from "rxjs";
import {auditTime, debounceTime, map, startWith, throttleTime} from "rxjs/operators";
import {auditTime, map, startWith} from "rxjs/operators";
export abstract class StateCacheService<T> {
private cacheDurationInMs:number;

@ -27,9 +27,7 @@
// ++
import {MultiInputState} from "reactivestates";
import {Injectable} from '@angular/core';
import {UserResource} from 'core-app/modules/hal/resources/user-resource';
import {StateCacheService} from 'core-components/states/state-cache.service';
import {UserDmService} from 'core-app/modules/hal/dm-services/user-dm.service';
import {States} from 'core-components/states.service';
import {StatusDmService} from "core-app/modules/hal/dm-services/status-dm.service";
import {StatusResource} from "core-app/modules/hal/resources/status-resource";

@ -29,7 +29,6 @@
import {ChangeDetectionStrategy, Component, Input} from '@angular/core';
import {UserResource} from 'core-app/modules/hal/resources/user-resource';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';
@Component({
selector: 'user-link',

@ -27,12 +27,8 @@
// ++
import {MultiInputState} from "reactivestates";
import {Injectable} from '@angular/core';
import {UserResource} from 'core-app/modules/hal/resources/user-resource';
import {StateCacheService} from 'core-components/states/state-cache.service';
import {UserDmService} from 'core-app/modules/hal/dm-services/user-dm.service';
import {States} from 'core-components/states.service';
import {StatusDmService} from "core-app/modules/hal/dm-services/status-dm.service";
import {StatusResource} from "core-app/modules/hal/resources/status-resource";
import {VersionResource} from "core-app/modules/hal/resources/version-resource";
import {VersionDmService} from "core-app/modules/hal/dm-services/version-dm.service";

@ -29,7 +29,6 @@
import {Component, Input, EventEmitter, Output} from '@angular/core';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {WorkPackageRelationsHierarchyService} from 'core-app/components/wp-relations/wp-relations-hierarchy/wp-relations-hierarchy.service';
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {WorkPackageNotificationService} from "core-app/modules/work_packages/notifications/work-package-notification.service";

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {Component, Inject, Input, OnInit} from "@angular/core";
import {Component, Input, OnInit} from "@angular/core";
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";
import {PathHelperService} from "core-app/modules/common/path-helper/path-helper.service";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";

@ -31,8 +31,6 @@ import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {NotificationsService} from 'core-app/modules/common/notifications/notifications.service';
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {input, InputState} from 'reactivestates';
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {Subject} from "rxjs";
import {WorkPackageNotificationService} from "core-app/modules/work_packages/notifications/work-package-notification.service";

@ -1,9 +1,8 @@
import {Inject, Injectable, Injector, Optional} from '@angular/core';
import {Injectable, Injector, Optional} from '@angular/core';
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";
import {WorkPackageViewOrderService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-order.service";
import {States} from "core-components/states.service";
import {WorkPackageCreateService} from "core-components/wp-new/wp-create.service";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {CurrentProjectService} from "core-components/projects/current-project.service";
import {WorkPackageInlineCreateService} from "core-components/wp-inline-create/wp-inline-create.service";
import {DragAndDropService} from "core-app/modules/common/drag-and-drop/drag-and-drop.service";

@ -28,7 +28,6 @@
import {ApplicationRef, ChangeDetectorRef, Component, ElementRef, OnInit} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {DynamicBootstrapper} from 'core-app/globals/dynamic-bootstrapper';
export const customDateActionAdminSelector = 'custom-date-action-admin';

@ -27,10 +27,9 @@
// ++
import {Component, HostListener, Input, Inject} from '@angular/core';
import {Component, HostListener, Input} from '@angular/core';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {WorkPackageCacheService} from 'core-components/work-packages/work-package-cache.service';
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {CustomActionResource} from 'core-app/modules/hal/resources/custom-action-resource';
import {WorkPackagesActivityService} from 'core-components/wp-single-view-tabs/activity-panel/wp-activity.service';

@ -28,7 +28,7 @@
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {Component, Inject, Input} from '@angular/core';
import {Component, Input} from '@angular/core';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
@Component({

@ -27,17 +27,11 @@
// ++
import {Injector} from '@angular/core';
import {ErrorResource} from 'core-app/modules/hal/resources/error-resource';
import {Observable, Subscription} from 'rxjs';
import {Subscription} from 'rxjs';
import {States} from 'core-components/states.service';
import {IFieldSchema} from "core-app/modules/fields/field.base";
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";
import {HalEventsService} from "core-app/modules/hal/services/hal-events.service";
import {EditFieldHandler} from "core-app/modules/fields/edit/editing-portal/edit-field-handler";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
import {ResourceChangeset} from "core-app/modules/fields/changeset/resource-changeset";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {WorkPackageViewColumnsService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-columns.service";
import {FocusHelperService} from "core-app/modules/common/focus/focus-helper";
import {EditingPortalService} from "core-app/modules/fields/edit/editing-portal/editing-portal-service";

@ -9,7 +9,6 @@ import {groupClassNameFor, GroupHeaderBuilder} from './group-header-builder';
import {groupByProperty, groupedRowClassName} from './grouped-rows-helpers';
import {GroupObject} from 'core-app/modules/hal/resources/wp-collection-resource';
import {collapsedRowClass} from "core-components/wp-fast-table/builders/modes/grouped/grouped-classes.constants";
import {getLocaleCurrencyName} from "@angular/common";
export class GroupedRenderPass extends PlainRenderPass {

@ -4,7 +4,6 @@ import {WorkPackageViewFocusService} from 'core-app/modules/work_packages/routin
import {debugLog} from '../../../../helpers/debug_output';
import {States} from '../../../states.service';
import {KeepTabService} from '../../../wp-single-view-tabs/keep-tab/keep-tab.service';
import {tdClassName} from '../../builders/cell-builder';
import {tableRowClassName} from '../../builders/rows/single-row-builder';
import {WorkPackageTable} from '../../wp-fast-table';
import {TableEventHandler} from '../table-handler-registry';

@ -16,7 +16,6 @@ import {RenderedWorkPackage} from "core-app/modules/work_packages/render-info/re
import {BrowserDetector} from "core-app/modules/common/browser/browser-detector.service";
import {WorkPackageCacheService} from "core-components/work-packages/work-package-cache.service";
import {WorkPackagesListService} from "core-components/wp-list/wp-list.service";
import {AuthorisationService} from "core-app/modules/common/model-auth/model-auth.service";
import {InjectField} from "core-app/helpers/angular/inject-field.decorator";
export class DragAndDropTransformer {

@ -6,7 +6,6 @@ import {States} from 'core-components/states.service';
import {WorkPackageViewOrderService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-order.service";
import {WorkPackageViewSortByService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-sort-by.service";
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";
import {debugLog} from "core-app/helpers/debug_output";
import {InjectField} from "core-app/helpers/angular/inject-field.decorator";
export class RowsTransformer {

@ -1,5 +1,3 @@
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {WorkPackageTable} from '../wp-fast-table';
/**
* Returns the collapsed group class for the given ancestor id
*/

@ -28,7 +28,7 @@
import {Injectable, Injector, OnDestroy} from '@angular/core';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {Observable, of, Subject} from "rxjs";
import {Subject} from "rxjs";
import {ComponentType} from "@angular/cdk/portal";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {AuthorisationService} from "core-app/modules/common/model-auth/model-auth.service";

@ -33,7 +33,6 @@ import {PathHelperService} from "core-app/modules/common/path-helper/path-helper
import {CurrentProjectService} from "core-components/projects/current-project.service";
import {StateService} from "@uirouter/core";
import {CurrentUserService} from "core-components/user/current-user.service";
import {BcfDetectorService} from "core-app/modules/bim/bcf/helper/bcf-detector.service";
@Injectable()
export class WorkPackageStaticQueriesService {

@ -1,5 +1,4 @@
import {Injectable} from "@angular/core";
import {QueryFilterResource} from "core-app/modules/hal/resources/query-filter-resource";
import {QueryFormResource} from "core-app/modules/hal/resources/query-form-resource";
import {QueryFilterInstanceSchemaResource} from "core-app/modules/hal/resources/query-filter-instance-schema-resource";
import {QueryResource} from "core-app/modules/hal/resources/query-resource";

@ -31,7 +31,6 @@ import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {WorkPackageInlineCreateService} from "core-components/wp-inline-create/wp-inline-create.service";
import {WorkPackageInlineCreateComponent} from "core-components/wp-inline-create/wp-inline-create.component";
import {WorkPackageRelationsService} from "core-components/wp-relations/wp-relations.service";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {WorkPackageCacheService} from "core-components/work-packages/work-package-cache.service";
import {WpRelationInlineCreateServiceInterface} from "core-components/wp-relations/embedded/wp-relation-inline-create.service.interface";
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";

@ -40,13 +40,12 @@ import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {from, Observable, of, Subject} from "rxjs";
import {catchError, debounceTime, distinctUntilChanged, map, switchMap, tap} from "rxjs/operators";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {NgSelectComponent} from "@ng-select/ng-select";
import {IsolatedQuerySpace} from "core-app/modules/work_packages/query-space/isolated-query-space";
import {PathHelperService} from "core-app/modules/common/path-helper/path-helper.service";
import {WorkPackageCollectionResource} from "core-app/modules/hal/resources/wp-collection-resource";
import {CurrentProjectService} from "core-components/projects/current-project.service";
import {ApiV3Filter, ApiV3FilterBuilder} from "core-components/api/api-v3/api-v3-filter-builder";
import {ApiV3Filter} from "core-components/api/api-v3/api-v3-filter-builder";
import {HalResourceService} from "core-app/modules/hal/services/hal-resource.service";
import {SchemaCacheService} from "core-components/schemas/schema-cache.service";
import {WorkPackageNotificationService} from "core-app/modules/work_packages/notifications/work-package-notification.service";

@ -27,7 +27,7 @@
//++
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {Component, ElementRef, EventEmitter, Inject, Input, Output, ViewChild} from "@angular/core";
import {Component, ElementRef, EventEmitter, Input, Output, ViewChild} from "@angular/core";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";

@ -27,11 +27,8 @@
// ++
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {WorkPackageCacheService} from '../../work-packages/work-package-cache.service';
import {ActivityPanelBaseController} from 'core-components/wp-single-view-tabs/activity-panel/activity-base.controller';
import {Component, Inject, Input} from '@angular/core';
import {WorkPackagesActivityService} from 'core-components/wp-single-view-tabs/activity-panel/wp-activity.service';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {Component, Input} from '@angular/core';
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {ActivityEntryInfo} from 'core-components/wp-single-view-tabs/activity-panel/activity-entry-info';
import {AngularTrackingHelpers} from "core-components/angular/tracking-functions";

@ -29,7 +29,7 @@
import {ActivityEntryInfo} from './activity-entry-info';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {Inject, Injectable} from '@angular/core';
import {Injectable} from '@angular/core';
import {ConfigurationService} from 'core-app/modules/common/config/configuration.service';
import {WorkPackageLinkedResourceCache} from 'core-components/wp-single-view-tabs/wp-linked-resource-cache.service';
import {TimezoneService} from 'core-components/datetime/timezone.service';

@ -27,7 +27,6 @@
// ++
import {KeepTabService} from './keep-tab.service';
import {StateService, Transition} from '@uirouter/core';
describe('keepTab service', () => {
let callback:(transition:any) => void;

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
//++
import {Component, Inject, Input, OnInit} from '@angular/core';
import {Component, Input, OnInit} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {WorkPackageWatchersTabComponent} from './watchers-tab.component';
import {UserResource} from 'core-app/modules/hal/resources/user-resource';

@ -2,7 +2,7 @@
* A PortalOutlet that lets multiple components live for the lifetime of the outlet,
* allowing faster switching and persistent data.
*/
import {BasePortalOutlet, ComponentPortal, PortalOutlet} from '@angular/cdk/portal';
import {ComponentPortal} from '@angular/cdk/portal';
import {
ApplicationRef,
ComponentFactoryResolver,

@ -1,4 +1,4 @@
import {Component, Inject, Injector} from '@angular/core';
import {Component, Injector} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {
QUERY_SORT_BY_ASC,
@ -7,7 +7,6 @@ import {
} from 'core-app/modules/hal/resources/query-sort-by-resource';
import {WorkPackageViewSortByService} from 'core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-sort-by.service';
import {TabComponent} from 'core-components/wp-table/configuration-modal/tab-portal-outlet';
import {take} from 'rxjs/operators';
export class SortModalObject {
constructor(public column:SortColumn,

@ -1,4 +1,4 @@
import {Component, Inject, Injector} from '@angular/core';
import {Component, Injector} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {TabComponent} from 'core-components/wp-table/configuration-modal/tab-portal-outlet';
import {WorkPackageViewTimelineService} from 'core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-timeline.service';

@ -31,8 +31,6 @@ import {PathHelperService} from "core-app/modules/common/path-helper/path-helper
import {UrlParamsHelperService} from 'core-components/wp-query/url-params-helper';
import {HookService} from "core-app/modules/plugins/hook-service";
import {WorkPackageViewTimelineService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-timeline.service";
import {WorkPackageViewHierarchiesService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-hierarchy.service";
import {IsolatedQuerySpace} from "core-app/modules/work_packages/query-space/isolated-query-space";
import {WorkPackageViewHierarchyIdentationService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service";
import {WorkPackageViewDisplayRepresentationService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-display-representation.service";

@ -23,7 +23,7 @@ import {
import {classNameBarLabel, classNameLeftHandle, classNameRightHandle} from './wp-timeline-cell-mouse-handler';
import {WorkPackageTimelineTableController} from '../container/wp-timeline-container.directive';
import {DisplayFieldRenderer} from '../../../wp-edit-form/display-field-renderer';
import {Inject, Injector} from '@angular/core';
import {Injector} from '@angular/core';
import {TimezoneService} from 'core-components/datetime/timezone.service';
import {Highlighting} from "core-components/wp-fast-table/builders/highlighting/highlighting.functions";
import {HierarchyRenderPass} from "core-components/wp-fast-table/builders/modes/hierarchy/hierarchy-render-pass";

@ -2,7 +2,7 @@ import * as moment from 'moment';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {
calculatePositionValueForDayCountingPx,
RenderInfo, timelineBackgroundElementClass,
RenderInfo,
timelineElementCssClass
} from '../wp-timeline';
import {CellDateMovement, LabelPosition, TimelineCellRenderer} from './timeline-cell-renderer';

@ -29,7 +29,6 @@
import {Injector} from '@angular/core';
import * as moment from 'moment';
import {WorkPackageCacheService} from '../../../work-packages/work-package-cache.service';
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {WorkPackageTimelineTableController} from '../container/wp-timeline-container.directive';
import {RenderInfo} from '../wp-timeline';
import {TimelineCellRenderer} from './timeline-cell-renderer';

@ -28,7 +28,6 @@
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {States} from '../../../states.service';
import {WorkPackageCacheService} from '../../../work-packages/work-package-cache.service';
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {WorkPackageTimelineTableController} from '../container/wp-timeline-container.directive';
import {RenderInfo} from '../wp-timeline';
import {TimelineCellRenderer} from './timeline-cell-renderer';

@ -26,8 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {AfterViewInit, Directive, ElementRef, Inject, Injector} from '@angular/core';
import {combine} from 'reactivestates';
import {AfterViewInit, Directive, ElementRef, Injector} from '@angular/core';
import {takeUntil} from 'rxjs/operators';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {SchemaResource} from 'core-app/modules/hal/resources/schema-resource';
@ -39,7 +38,7 @@ import {IFieldSchema} from "core-app/modules/fields/field.base";
import {QueryColumn} from "core-components/wp-query/query-column";
import {WorkPackageViewColumnsService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-columns.service";
import {WorkPackageViewSumService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-sum.service";
import {combineLatest, concat} from "rxjs";
import {combineLatest} from "rxjs";
@Directive({
selector: '[wpTableSumsRow]'

@ -30,7 +30,6 @@
import {Injectable, Injector} from "@angular/core";
import {OpModalService} from "core-components/op-modals/op-modal.service";
import {WpPreviewModal} from "core-components/modals/preview-modal/wp-preview-modal/wp-preview.modal";
import {OpModalComponent} from "core-components/op-modals/op-modal.component";
@Injectable({ providedIn: 'root' })
export class PreviewTriggerService {

@ -4,8 +4,6 @@ import {
catchError,
debounceTime,
distinctUntilChanged,
filter,
startWith,
switchMap,
takeUntil,
tap

@ -1,7 +1,6 @@
import {Board} from "core-app/modules/boards/board/board";
import {QueryResource} from "core-app/modules/hal/resources/query-resource";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
import {Component} from "@angular/compiler/src/core";
import {ComponentType} from "@angular/cdk/portal";
import {OpContextMenuItem} from "core-components/op-context-menu/op-context-menu.types";
import {DisabledButtonPlaceholder} from "core-app/modules/boards/board/board-list/board-list.component";

@ -19,7 +19,6 @@ import {VersionCacheService} from "core-components/versions/version-cache.servic
import {VersionBoardHeaderComponent} from "core-app/modules/boards/board/board-actions/version/version-board-header.component";
import {FormResource} from "core-app/modules/hal/resources/form-resource";
import {FormsCacheService} from "core-components/forms/forms-cache.service";
import {CallableHalLink} from "core-app/modules/hal/hal-link/hal-link";
@Injectable()
export class BoardVersionActionService implements BoardActionService {

@ -25,7 +25,7 @@
//
// See docs/COPYRIGHT.rdoc for more details.
//++
import {ChangeDetectionStrategy, Component, Input} from "@angular/core";
import {Component, Input} from "@angular/core";
import {VersionResource} from "core-app/modules/hal/resources/version-resource";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";

@ -1,5 +1,5 @@
import {Injectable} from "@angular/core";
import {interval, from} from 'rxjs';
import {interval} from 'rxjs';
import {startWith, switchMap, filter} from 'rxjs/operators';
import {QueryDmService} from "core-app/modules/hal/dm-services/query-dm.service";

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
//++
import {Component, Inject, Input, OnInit} from '@angular/core';
import {Component, Input, OnInit} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';

@ -36,8 +36,6 @@ import {map} from "rxjs/operators";
import {DebouncedRequestSwitchmap, errorNotificationHandler} from "core-app/helpers/rxjs/debounced-input-switchmap";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {NgSelectComponent} from "@ng-select/ng-select";
import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
import {UserResource} from "core-app/modules/hal/resources/user-resource";
export const usersAutocompleterSelector = 'user-autocompleter';

@ -2,7 +2,6 @@ import {Inject, Injectable, Injector, OnDestroy} from "@angular/core";
import {DOCUMENT} from "@angular/common";
import {DomAutoscrollService} from "core-app/modules/common/drag-and-drop/dom-autoscroll.service";
import {DragAndDropHelpers} from "core-app/modules/common/drag-and-drop/drag-and-drop.helpers";
import DropEvent = JQuery.DropEvent;
export interface DragMember {
dragContainer:HTMLElement;

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output} from '@angular/core';
import {ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Output} from '@angular/core';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {EditFormComponent} from "core-app/modules/fields/edit/edit-form/edit-form.component";

@ -28,7 +28,6 @@
import {Inject, Injectable} from '@angular/core';
import {DOCUMENT} from "@angular/common";
import {PathHelperService} from "../path-helper/path-helper.service";
@Injectable({ providedIn: 'root' })
export class BannersService {

@ -28,7 +28,6 @@
import {Component, ElementRef, OnInit} from "@angular/core";
import {HideSectionService} from "core-app/modules/common/hide-section/hide-section.service";
import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";
export const hideSectionLinkSelector = 'hide-section-link';

@ -28,7 +28,6 @@
import {HideSectionService} from "./hide-section.service";
import {Component, ElementRef, OnInit} from "@angular/core";
import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";
export const showSectionDropdownSelector = 'show-section-dropdown';

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {Component, ElementRef, EventEmitter, Inject, Input, OnDestroy, OnInit, Output} from '@angular/core';
import {Component, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output} from '@angular/core';
import {ConfigurationService} from 'core-app/modules/common/config/configuration.service';
import {DatePicker} from 'core-app/modules/common/op-date-picker/datepicker';
import {TimezoneService} from 'core-components/datetime/timezone.service';

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {SimpleResource, SimpleResourceCollection} from 'core-app/modules/common/path-helper/apiv3/path-resources';
import {SimpleResourceCollection} from 'core-app/modules/common/path-helper/apiv3/path-resources';
import {Apiv3ProjectPaths} from 'core-app/modules/common/path-helper/apiv3/projects/apiv3-project-paths';
export class Apiv3ProjectsPaths extends SimpleResourceCollection<Apiv3ProjectPaths> {

@ -28,12 +28,9 @@
import {
Component,
OnDestroy,
Input,
ElementRef,
ChangeDetectionStrategy
} from '@angular/core';
import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";
import {GonService} from "core-app/modules/common/gon/gon.service";
import {StateService} from '@uirouter/core';
import {I18nService} from "core-app/modules/common/i18n/i18n.service";

@ -29,7 +29,6 @@
import {Field, IFieldSchema} from "core-app/modules/fields/field.base";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {DisplayFieldContext} from "core-app/modules/fields/display/display-field.service";
import {WorkPackageChangeset} from "core-components/wp-edit/work-package-changeset";
import {ResourceChangeset} from "core-app/modules/fields/changeset/resource-changeset";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
import {InjectField} from "core-app/helpers/angular/inject-field.decorator";

@ -27,9 +27,6 @@
// ++
import {DisplayField} from "core-app/modules/fields/display/display-field.module";
import {KeepTabService} from 'core-components/wp-single-view-tabs/keep-tab/keep-tab.service';
import {StateService} from '@uirouter/core';
import {UiStateLinkBuilder} from "core-components/wp-fast-table/builders/ui-state-link-builder";
export class IdDisplayField extends DisplayField {
public text = {

@ -27,7 +27,6 @@
// ++
import {ResourcesDisplayField} from "./resources-display-field.module";
import {cssClassCustomOption} from "core-app/modules/fields/display/display-field.module";
import {PortalCleanupService} from "core-app/modules/fields/display/display-portal/portal-cleanup.service";
import {UserFieldPortalService} from "core-app/modules/fields/display/display-portal/display-user-field-portal/user-field-portal-service";
import {DomPortalOutlet} from "@angular/cdk/portal";

@ -27,7 +27,6 @@
// ++
import {ResourcesDisplayField} from "./resources-display-field.module";
import {cssClassCustomOption} from "core-app/modules/fields/display/display-field.module";
import {PortalCleanupService} from "core-app/modules/fields/display/display-portal/portal-cleanup.service";
import {UserFieldPortalService} from "core-app/modules/fields/display/display-portal/display-user-field-portal/user-field-portal-service";
import {DomPortalOutlet} from "@angular/cdk/portal";

@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {Injectable, Injector} from '@angular/core';
import {Injectable} from '@angular/core';
import {AbstractFieldService, IFieldType} from "core-app/modules/fields/field.service";
import {EditFieldComponent} from "core-app/modules/fields/edit/edit-field.component";

@ -32,8 +32,6 @@ import {ConfigurationService} from 'core-app/modules/common/config/configuration
import {EditableAttributeFieldComponent} from 'core-app/modules/fields/edit/field/editable-attribute-field.component';
import {input} from 'reactivestates';
import {filter, map, take} from 'rxjs/operators';
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {
activeFieldClassName,

@ -26,9 +26,9 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {Inject, Injector} from '@angular/core';
import {Injector} from '@angular/core';
import {ErrorResource} from 'core-app/modules/hal/resources/error-resource';
import {Observable, Subscription} from 'rxjs';
import {Subscription} from 'rxjs';
import {States} from 'core-components/states.service';
import {IFieldSchema} from "core-app/modules/fields/field.base";

@ -19,7 +19,6 @@ import {createLocalInjector} from "core-app/modules/fields/edit/editing-portal/e
import {IFieldSchema} from "core-app/modules/fields/field.base";
import {EditFieldService, IEditFieldType} from "core-app/modules/fields/edit/edit-field.service";
import {ResourceChangeset} from "core-app/modules/fields/changeset/resource-changeset";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
@Component({
selector: 'edit-form-portal',

@ -26,9 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
import {Injectable, Injector} from '@angular/core';
import {AbstractFieldService, IFieldType} from "core-app/modules/fields/field.service";
import {EditFieldComponent} from "core-app/modules/fields/edit/edit-field.component";
import {Injectable} from '@angular/core';
interface SelectAutocompleterAssignment {
attribute:string;

@ -27,7 +27,6 @@
// ++
import {Component} from '@angular/core';
import {DynamicBootstrapper} from "app/globals/dynamic-bootstrapper";
export const globalSearchWorkPackagesSelectorEntry = 'global-search-work-packages-entry';

@ -2,7 +2,6 @@ import {Injectable} from '@angular/core';
import {GridResource} from "core-app/modules/hal/resources/grid-resource";
import {HalResourceService} from "core-app/modules/hal/services/hal-resource.service";
import {GridDmService} from "core-app/modules/hal/dm-services/grid-dm.service";
import {GridAreaService} from "core-app/modules/grids/grid/area.service";
@Injectable()
export class GridInitializationService {

@ -31,7 +31,6 @@ import {AbstractWidgetComponent} from "app/modules/grids/widgets/abstract-widget
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {CurrentProjectService} from "core-components/projects/current-project.service";
import {ProjectCacheService} from "core-components/projects/project-cache.service";
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import {Observable} from "rxjs";
import {ProjectResource} from "core-app/modules/hal/resources/project-resource";
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";

@ -31,13 +31,12 @@ import {AbstractWidgetComponent} from "app/modules/grids/widgets/abstract-widget
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {ProjectDmService} from "core-app/modules/hal/dm-services/project-dm.service";
import {CurrentProjectService} from "core-components/projects/current-project.service";
import {SchemaResource} from "core-app/modules/hal/resources/schema-resource";
import {ProjectResource} from "core-app/modules/hal/resources/project-resource";
import {PortalCleanupService} from 'core-app/modules/fields/display/display-portal/portal-cleanup.service';
import {WorkPackageViewHighlightingService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-highlighting.service";
import {IsolatedQuerySpace} from "core-app/modules/work_packages/query-space/isolated-query-space";
import {ProjectCacheService} from "core-components/projects/project-cache.service";
import {from, Observable} from "rxjs";
import {Observable} from "rxjs";
import {HalResourceEditingService} from "core-app/modules/fields/edit/services/hal-resource-editing.service";
@Component({

@ -1,4 +1,4 @@
import {Component, OnInit, ChangeDetectorRef, Injector} from "@angular/core";
import {OnInit, ChangeDetectorRef, Injector} from "@angular/core";
import {AbstractWidgetComponent} from "core-app/modules/grids/widgets/abstract-widget.component";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {TimeEntryDmService} from "core-app/modules/hal/dm-services/time-entry-dm.service";

@ -1,6 +1,5 @@
import {Component} from '@angular/core';
import {AbstractWidgetComponent} from "core-app/modules/grids/widgets/abstract-widget.component";
import {GridWidgetResource} from "core-app/modules/hal/resources/grid-widget-resource";
import {WidgetChangeset} from "core-app/modules/grids/widgets/widget-changeset";
@Component({

@ -31,8 +31,6 @@ import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.ser
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';
import {GridResource} from "core-app/modules/hal/resources/grid-resource";
import {FormResource} from "core-app/modules/hal/resources/form-resource";
import {CollectionResource} from "core-app/modules/hal/resources/collection-resource";
import {ApiV3FilterBuilder, FilterOperator} from "core-components/api/api-v3/api-v3-filter-builder";
import {PayloadDmService} from "core-app/modules/hal/dm-services/payload-dm.service";
import {SchemaResource} from "core-app/modules/hal/resources/schema-resource";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";

@ -27,7 +27,7 @@
//++
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {Inject, Injectable} from '@angular/core';
import {Injectable} from '@angular/core';
import {RelationResource} from 'core-app/modules/hal/resources/relation-resource';
import {buildApiV3Filter} from 'core-app/components/api/api-v3/api-v3-filter-builder';
import {CollectionResource} from 'core-app/modules/hal/resources/collection-resource';

@ -27,7 +27,7 @@
//++
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {Inject, Injectable} from '@angular/core';
import {Injectable} from '@angular/core';
import {RootResource} from 'core-app/modules/hal/resources/root-resource';
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';

@ -35,7 +35,6 @@ import {HalResource} from "core-app/modules/hal/resources/hal-resource";
import {HalResourceService} from "core-app/modules/hal/services/hal-resource.service";
import {PathHelperService} from "core-app/modules/common/path-helper/path-helper.service";
import {PayloadDmService} from "core-app/modules/hal/dm-services/payload-dm.service";
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";
@Injectable()
export class TimeEntryDmService extends AbstractDmService<TimeEntryResource> {

@ -27,7 +27,7 @@
//++
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {Inject, Injectable} from '@angular/core';
import {Injectable} from '@angular/core';
import {RootResource} from 'core-app/modules/hal/resources/root-resource';
import {CollectionResource} from 'core-app/modules/hal/resources/collection-resource';
import {TypeResource} from 'core-app/modules/hal/resources/type-resource';

@ -27,7 +27,7 @@
//++
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {Inject, Injectable} from '@angular/core';
import {Injectable} from '@angular/core';
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';
import {UserResource} from 'core-app/modules/hal/resources/user-resource';

@ -33,9 +33,6 @@ import {VersionResource} from "core-app/modules/hal/resources/version-resource";
import {CollectionResource} from "core-app/modules/hal/resources/collection-resource";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
import {ProjectResource} from "core-app/modules/hal/resources/project-resource";
import {GridResource} from "core-app/modules/hal/resources/grid-resource";
import {SchemaResource} from "core-app/modules/hal/resources/schema-resource";
import {Observable} from "rxjs";
import {buildApiV3Filter} from "core-components/api/api-v3/api-v3-filter-builder";
@Injectable()

@ -26,7 +26,6 @@
// See docs/COPYRIGHT.rdoc for more details.
//++
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource';
import {WorkPackageCollectionResource} from 'core-app/modules/hal/resources/wp-collection-resource';

@ -27,7 +27,6 @@
//++
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {FormResource} from 'core-app/modules/hal/resources/form-resource';
import {HttpErrorResponse} from "@angular/common/http";
export const v3ErrorIdentifierQueryInvalid = 'urn:openproject-org:api:v3:errors:InvalidQuery';

@ -28,9 +28,6 @@
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {GridResource} from "core-app/modules/hal/resources/grid-resource";
import {Attachable} from "core-app/modules/hal/resources/mixins/attachable-mixin";
import {AttachmentCollectionResource} from "core-app/modules/hal/resources/attachment-collection-resource";
import {UploadFile} from "core-components/api/op-file-upload/op-file-upload.service";
export class GridWidgetResource extends HalResource {
public identifier:string;

@ -27,7 +27,7 @@
//++
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {CallableHalLink, HalLink} from 'core-app/modules/hal/hal-link/hal-link';
import {CallableHalLink} from 'core-app/modules/hal/hal-link/hal-link';
export class HelpTextResource extends HalResource {

@ -33,7 +33,6 @@ import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';
import {NotificationsService} from 'core-app/modules/common/notifications/notifications.service';
import {HttpErrorResponse} from "@angular/common/http";
import {WorkPackageCacheService} from "core-components/work-packages/work-package-cache.service";
type Constructor<T = {}> = new (...args:any[]) => T;

@ -26,11 +26,10 @@
// See docs/COPYRIGHT.rdoc for more details.
//++
import {HalResource, HalResourceClass} from 'core-app/modules/hal/resources/hal-resource';
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {QueryFilterResource} from 'core-app/modules/hal/resources/query-filter-resource';
import {QueryFilterInstanceSchemaResource} from 'core-app/modules/hal/resources/query-filter-instance-schema-resource';
import {QueryOperatorResource} from 'core-app/modules/hal/resources/query-operator-resource';
import {Query} from "@angular/core";
export class QueryFilterInstanceResource extends HalResource {
public filter:QueryFilterResource;

@ -36,7 +36,6 @@ import {SchemaDependencyResource} from 'core-app/modules/hal/resources/schema-de
import {QueryOperatorResource} from 'core-app/modules/hal/resources/query-operator-resource';
import {QueryFilterInstanceResource} from 'core-app/modules/hal/resources/query-filter-instance-resource';
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import Collection = api.v3.Collection;
export interface QueryFilterInstanceSchemaResourceLinks {
filter:QueryFilterResource;

@ -29,7 +29,6 @@
import {CollectionResource} from 'core-app/modules/hal/resources/collection-resource';
import {QueryFilterInstanceSchemaResource} from 'core-app/modules/hal/resources/query-filter-instance-schema-resource';
import {FormResource} from 'core-app/modules/hal/resources/form-resource';
import {QuerySchemaResource} from 'core-app/modules/hal/resources/query-schema-resource';
import {SchemaResource} from 'core-app/modules/hal/resources/schema-resource';
export interface QueryFormResourceEmbedded {

@ -27,7 +27,6 @@
//++
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {CollectionResource} from 'core-app/modules/hal/resources/collection-resource';
import {InputState} from 'reactivestates';
export class StatusResource extends HalResource {

@ -27,7 +27,7 @@
//++
import {HalResource} from 'core-app/modules/hal/resources/hal-resource';
import {InputState, State} from 'reactivestates';
import {InputState} from 'reactivestates';
export class TypeResource extends HalResource {
public color:string;

@ -40,7 +40,6 @@ import {SchemaResource} from 'core-app/modules/hal/resources/schema-resource';
import {States} from 'core-components/states.service';
import {WorkPackageCacheService} from 'core-components/work-packages/work-package-cache.service';
import {SchemaCacheService} from 'core-components/schemas/schema-cache.service';
import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
import {PathHelperService} from 'core-app/modules/common/path-helper/path-helper.service';
import {NotificationsService} from 'core-app/modules/common/notifications/notifications.service';
import {Attachable} from 'core-app/modules/hal/resources/mixins/attachable-mixin';

@ -1,6 +1,6 @@
import {Injectable} from "@angular/core";
import {Observable, Subject} from "rxjs";
import {buffer, debounceTime, filter, map, scan} from "rxjs/operators";
import {buffer, debounceTime, filter, scan} from "rxjs/operators";
import {HalResource} from "core-app/modules/hal/resources/hal-resource";
export interface HalEvent {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save