Skip to content

Commit

Permalink
task filters
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Jan 8, 2025
1 parent 0c6da21 commit 4cf4283
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { APP_LIST_CLOUD_DIRECTIVES } from './app/app-list-cloud.module';
import { TaskCloudModule } from './task/task-cloud.module';
import { ProcessCloudModule } from './process/process-cloud.module';
import { FORM_CLOUD_DIRECTIVES } from './form/form-cloud.module';
import { TaskFormModule } from './task/task-form/task-form.module';
import { TASK_FORM_CLOUD_DIRECTIVES } from './task/task-form/task-form.module';
import {
LocalPreferenceCloudService,
PreferenceCloudServiceInterface,
Expand All @@ -45,7 +45,7 @@ import { PeopleCloudComponent } from './people/components/people-cloud.component
GroupCloudComponent,
PeopleCloudComponent,
...FORM_CLOUD_DIRECTIVES,
TaskFormModule,
...TASK_FORM_CLOUD_DIRECTIVES,
ApolloModule,
RichTextEditorComponent
],
Expand All @@ -56,7 +56,7 @@ import { PeopleCloudComponent } from './people/components/people-cloud.component
TaskCloudModule,
GroupCloudComponent,
...FORM_CLOUD_DIRECTIVES,
TaskFormModule,
...TASK_FORM_CLOUD_DIRECTIVES,
PeopleCloudComponent,
RichTextEditorComponent
]
Expand Down
6 changes: 3 additions & 3 deletions lib/process-services-cloud/src/lib/task/task-cloud.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { NgModule } from '@angular/core';
import { TaskListCloudModule } from './task-list/task-list-cloud.module';
import { TASK_FILTERS_CLOUD_DIRECTIVES } from './task-filters/task-filters-cloud.module';
import { TASK_DIRECTIVES } from './directives/task-directive.module';
import { TaskFormModule } from './task-form/task-form.module';
import { TASK_FORM_CLOUD_DIRECTIVES } from './task-form/task-form.module';
import { TaskHeaderCloudComponent } from './task-header/components/task-header-cloud.component';

@NgModule({
imports: [TaskListCloudModule, ...TASK_FILTERS_CLOUD_DIRECTIVES, TaskHeaderCloudComponent, ...TASK_DIRECTIVES, TaskFormModule],
exports: [TaskListCloudModule, ...TASK_FILTERS_CLOUD_DIRECTIVES, TaskHeaderCloudComponent, ...TASK_DIRECTIVES, TaskFormModule]
imports: [TaskListCloudModule, ...TASK_FILTERS_CLOUD_DIRECTIVES, TaskHeaderCloudComponent, ...TASK_DIRECTIVES, ...TASK_FORM_CLOUD_DIRECTIVES],
exports: [TaskListCloudModule, ...TASK_FILTERS_CLOUD_DIRECTIVES, TaskHeaderCloudComponent, ...TASK_DIRECTIVES, ...TASK_FORM_CLOUD_DIRECTIVES]
})
export class TaskCloudModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
* limitations under the License.
*/

export * from './components/task-filters/task-filters-cloud.component';
export * from './components/service-task-filters/service-task-filters-cloud.component';
export * from './components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component';
export * from './components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component';

export * from './components/service-task-filters/service-task-filters-cloud.component';
export * from './components/task-assignment-filter/task-assignment-filter.component';
export * from './components/task-filter-dialog/task-filter-dialog-cloud.component';
export * from './components/task-filters/task-filters-cloud.component';
export * from './models/filter-cloud.model';

export * from './services/task-filter-cloud.service';
export * from './services/service-task-filter-cloud.service';

export * from './task-filters-cloud.module';
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

export * from './components/task-form-cloud/task-form-cloud.component';
export * from './components/user-task-cloud/user-task-cloud.component';

export * from './components/user-task-cloud-buttons/user-task-cloud-buttons.component';
export * from './task-form.module';
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,15 @@
*/

import { NgModule } from '@angular/core';
import { FORM_CLOUD_DIRECTIVES } from '../../form/form-cloud.module';
import { TASK_DIRECTIVES } from '../directives/task-directive.module';
import { TaskFormCloudComponent } from './components/task-form-cloud/task-form-cloud.component';
import { TaskScreenCloudComponent } from '../../screen/components/screen-cloud/screen-cloud.component';
import { UserTaskCloudComponent } from './components/user-task-cloud/user-task-cloud.component';
import { UserTaskCloudButtonsComponent } from './components/user-task-cloud-buttons/user-task-cloud-buttons.component';

/** @deprecated use standalone component imports instead */
export const TASK_FORM_CLOUD_DIRECTIVES = [UserTaskCloudButtonsComponent, TaskFormCloudComponent, UserTaskCloudComponent] as const;

/** @deprecated use standalone component imports instead (...TASK_FORM_CLOUD_DIRECTIVES) */
@NgModule({
imports: [
...FORM_CLOUD_DIRECTIVES,
...TASK_DIRECTIVES,
TaskScreenCloudComponent,
UserTaskCloudButtonsComponent,
TaskFormCloudComponent,
UserTaskCloudComponent
],
exports: [TaskFormCloudComponent, UserTaskCloudComponent]
imports: [...TASK_FORM_CLOUD_DIRECTIVES],
exports: [...TASK_FORM_CLOUD_DIRECTIVES]
})
export class TaskFormModule {}

0 comments on commit 4cf4283

Please sign in to comment.