;
diff --git a/web/src/app/administration/components/import-export/import-export.component.ts b/web/src/app/administration/components/import-export/import-export.component.ts
index 5d87de9f5..0f4c69d79 100644
--- a/web/src/app/administration/components/import-export/import-export.component.ts
+++ b/web/src/app/administration/components/import-export/import-export.component.ts
@@ -35,7 +35,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'kadai-administration-import-export',
templateUrl: './import-export.component.html',
- styleUrls: ['./import-export.component.scss']
+ styleUrls: ['./import-export.component.scss'],
+ standalone: false
})
export class ImportExportComponent implements OnInit, OnDestroy {
@Input() currentSelection: KadaiType;
diff --git a/web/src/app/administration/components/tree/tree.component.ts b/web/src/app/administration/components/tree/tree.component.ts
index 77846da36..3064abada 100644
--- a/web/src/app/administration/components/tree/tree.component.ts
+++ b/web/src/app/administration/components/tree/tree.component.ts
@@ -54,7 +54,8 @@ import { RequestInProgressService } from '../../../shared/services/request-in-pr
@Component({
selector: 'kadai-administration-tree',
templateUrl: './tree.component.html',
- styleUrls: ['./tree.component.scss']
+ styleUrls: ['./tree.component.scss'],
+ standalone: false
})
export class KadaiTreeComponent implements OnInit, AfterViewChecked, OnDestroy {
treeNodes: TreeNodeModel[];
diff --git a/web/src/app/administration/components/type-icon/icon-type.component.spec.ts b/web/src/app/administration/components/type-icon/icon-type.component.spec.ts
index 534b878bc..1b190ede8 100644
--- a/web/src/app/administration/components/type-icon/icon-type.component.spec.ts
+++ b/web/src/app/administration/components/type-icon/icon-type.component.spec.ts
@@ -36,8 +36,8 @@ describe('IconTypeComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [],
- declarations: [IconTypeComponent, SvgIconStub],
- providers: []
+ declarations: [IconTypeComponent],
+ providers: [SvgIconStub]
}).compileComponents();
fixture = TestBed.createComponent(IconTypeComponent);
diff --git a/web/src/app/administration/components/type-icon/icon-type.component.ts b/web/src/app/administration/components/type-icon/icon-type.component.ts
index a1cc0dfe2..c75211e9b 100644
--- a/web/src/app/administration/components/type-icon/icon-type.component.ts
+++ b/web/src/app/administration/components/type-icon/icon-type.component.ts
@@ -22,7 +22,8 @@ import { WorkbasketType } from 'app/shared/models/workbasket-type';
@Component({
selector: 'kadai-administration-icon-type',
templateUrl: './icon-type.component.html',
- styleUrls: ['./icon-type.component.scss']
+ styleUrls: ['./icon-type.component.scss'],
+ standalone: false
})
export class IconTypeComponent implements OnInit, OnChanges {
@Input()
diff --git a/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.html b/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.html
index 6f9a0da3f..2ea4fed17 100644
--- a/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.html
+++ b/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.html
@@ -116,7 +116,7 @@
-
@@ -125,7 +125,7 @@
|
-
@@ -134,7 +134,7 @@
|
-
@@ -143,7 +143,7 @@
|
-
@@ -152,7 +152,7 @@
|
-
@@ -161,7 +161,7 @@
|
-
@@ -170,7 +170,7 @@
|
-
@@ -180,7 +180,7 @@
-
diff --git a/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.spec.ts b/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.spec.ts
index e549c4a22..dcbe7fc5e 100644
--- a/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.spec.ts
@@ -108,8 +108,9 @@ describe('WorkbasketAccessItemsComponent', () => {
MatIconModule,
MatTooltipModule
],
- declarations: [WorkbasketAccessItemsComponent, TypeAheadComponent, SpinnerStub],
+ declarations: [WorkbasketAccessItemsComponent, TypeAheadComponent],
providers: [
+ SpinnerStub,
{
provide: RequestInProgressService,
useValue: requestInProgressServiceSpy
diff --git a/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.ts b/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.ts
index f925f9443..cd0df586b 100644
--- a/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.ts
+++ b/web/src/app/administration/components/workbasket-access-items/workbasket-access-items.component.ts
@@ -59,7 +59,8 @@ import { ButtonAction } from '../../models/button-action';
selector: 'kadai-administration-workbasket-access-items',
templateUrl: './workbasket-access-items.component.html',
animations: [highlight],
- styleUrls: ['./workbasket-access-items.component.scss']
+ styleUrls: ['./workbasket-access-items.component.scss'],
+ standalone: false
})
export class WorkbasketAccessItemsComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit, AfterViewChecked {
@Input() workbasket: Workbasket;
diff --git a/web/src/app/administration/components/workbasket-details/workbasket-details.component.spec.ts b/web/src/app/administration/components/workbasket-details/workbasket-details.component.spec.ts
index 51d19aa00..d1ba46acc 100644
--- a/web/src/app/administration/components/workbasket-details/workbasket-details.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-details/workbasket-details.component.spec.ts
@@ -100,12 +100,7 @@ describe('WorkbasketDetailsComponent', () => {
MatTooltipModule,
NoopAnimationsModule
],
- declarations: [
- WorkbasketDetailsComponent,
- WorkbasketAccessItemsStub,
- WorkbasketDistributionTargetsStub,
- WorkbasketInformationStub
- ],
+ declarations: [WorkbasketDetailsComponent],
providers: [
{
provide: DomainService,
@@ -118,6 +113,9 @@ describe('WorkbasketDetailsComponent', () => {
StartupService,
KadaiEngineService,
WindowRefService,
+ WorkbasketAccessItemsStub,
+ WorkbasketDistributionTargetsStub,
+ WorkbasketInformationStub,
provideHttpClient(withInterceptorsFromDi()),
provideHttpClientTesting()
]
diff --git a/web/src/app/administration/components/workbasket-details/workbasket-details.component.ts b/web/src/app/administration/components/workbasket-details/workbasket-details.component.ts
index 1f2ea47d7..67d83ff2b 100644
--- a/web/src/app/administration/components/workbasket-details/workbasket-details.component.ts
+++ b/web/src/app/administration/components/workbasket-details/workbasket-details.component.ts
@@ -45,7 +45,8 @@ import { cloneDeep } from 'lodash';
@Component({
selector: 'kadai-administration-workbasket-details',
templateUrl: './workbasket-details.component.html',
- styleUrls: ['./workbasket-details.component.scss']
+ styleUrls: ['./workbasket-details.component.scss'],
+ standalone: false
})
export class WorkbasketDetailsComponent implements OnInit, OnDestroy {
workbasket: Workbasket;
diff --git a/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.spec.ts b/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.spec.ts
index 78e96a01d..44fdd937f 100644
--- a/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.spec.ts
@@ -54,9 +54,9 @@ class IconTypeStub {
@Input() text: string;
}
-@Pipe({ name: 'orderBy' })
+@Pipe({ name: 'orderBy', standalone: false })
class OrderByMock implements PipeTransform {
- transform(list, sortBy): any {
+ transform(list): any {
return list;
}
}
@@ -104,8 +104,11 @@ describe('WorkbasketDistributionTargetsListComponent', () => {
NoopAnimationsModule,
NgxsModule.forRoot([WorkbasketState])
],
- declarations: [WorkbasketDistributionTargetsListComponent, FilterStub, SpinnerStub, IconTypeStub, OrderByMock],
+ declarations: [WorkbasketDistributionTargetsListComponent, OrderByMock],
providers: [
+ FilterStub,
+ SpinnerStub,
+ IconTypeStub,
{ provide: HttpClient, useValue: httpSpy },
{
provide: DomainService,
diff --git a/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.ts b/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.ts
index ca4a74034..9d1969e08 100644
--- a/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.ts
+++ b/web/src/app/administration/components/workbasket-distribution-targets-list/workbasket-distribution-targets-list.component.ts
@@ -50,7 +50,8 @@ import { WorkbasketDistributionTarget } from '../../../shared/models/workbasket-
selector: 'kadai-administration-workbasket-distribution-targets-list',
templateUrl: './workbasket-distribution-targets-list.component.html',
styleUrls: ['./workbasket-distribution-targets-list.component.scss'],
- animations: [expandDown]
+ animations: [expandDown],
+ standalone: false
})
export class WorkbasketDistributionTargetsListComponent
implements AfterContentChecked, OnChanges, OnInit, AfterViewInit
diff --git a/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.spec.ts b/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.spec.ts
index c87b2cf81..f8ddbdfb5 100644
--- a/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.spec.ts
@@ -85,8 +85,9 @@ describe('WorkbasketDistributionTargetsComponent', () => {
MatButtonModule,
NgxsModule.forRoot([WorkbasketState])
],
- declarations: [WorkbasketDistributionTargetsComponent, WorkbasketDistributionTargetsListStub],
+ declarations: [WorkbasketDistributionTargetsComponent],
providers: [
+ WorkbasketDistributionTargetsListStub,
{ provide: WorkbasketService, useValue: workbasketServiceSpy },
{ provide: NotificationService, useValue: notificationsServiceSpy },
{ provide: ActivatedRoute, useValue: activatedRouteMock },
diff --git a/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.ts b/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.ts
index 897a9a65f..86f991d17 100644
--- a/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.ts
+++ b/web/src/app/administration/components/workbasket-distribution-targets/workbasket-distribution-targets.component.ts
@@ -37,7 +37,8 @@ import { ClearWorkbasketFilter } from '../../../shared/store/filter-store/filter
@Component({
selector: 'kadai-administration-workbasket-distribution-targets',
templateUrl: './workbasket-distribution-targets.component.html',
- styleUrls: ['./workbasket-distribution-targets.component.scss']
+ styleUrls: ['./workbasket-distribution-targets.component.scss'],
+ standalone: false
})
export class WorkbasketDistributionTargetsComponent implements OnInit, OnDestroy {
sideEnum = Side;
diff --git a/web/src/app/administration/components/workbasket-information/workbasket-information.component.html b/web/src/app/administration/components/workbasket-information/workbasket-information.component.html
index 0f9f4c7e5..7229c0845 100644
--- a/web/src/app/administration/components/workbasket-information/workbasket-information.component.html
+++ b/web/src/app/administration/components/workbasket-information/workbasket-information.component.html
@@ -43,7 +43,7 @@ General
{{lengthError}}
@@ -58,7 +58,7 @@ General
{{lengthError}}
@@ -79,7 +79,7 @@ General
type="text">
{{lengthError}}
@@ -90,7 +90,7 @@ General
Type
-
+
{{allTypes.get(workbasket.type)}}
diff --git a/web/src/app/administration/components/workbasket-information/workbasket-information.component.spec.ts b/web/src/app/administration/components/workbasket-information/workbasket-information.component.spec.ts
index 9bf7817e3..b3921cc51 100644
--- a/web/src/app/administration/components/workbasket-information/workbasket-information.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-information/workbasket-information.component.spec.ts
@@ -123,15 +123,10 @@ describe('WorkbasketInformationComponent', () => {
MatAutocompleteModule,
MatTooltipModule
],
- declarations: [
- WorkbasketInformationComponent,
+ declarations: [WorkbasketInformationComponent, TypeAheadComponent, MapValuesPipe, RemoveNoneTypePipe],
+ providers: [
FieldErrorDisplayStub,
IconTypeStub,
- TypeAheadComponent,
- MapValuesPipe,
- RemoveNoneTypePipe
- ],
- providers: [
{ provide: WorkbasketService, useValue: workbasketServiceMock },
{ provide: FormsValidatorService, useValue: formValidatorServiceMock },
{ provide: NotificationService, useValue: notificationServiceMock },
diff --git a/web/src/app/administration/components/workbasket-information/workbasket-information.component.ts b/web/src/app/administration/components/workbasket-information/workbasket-information.component.ts
index e386dc987..65dc47d5d 100644
--- a/web/src/app/administration/components/workbasket-information/workbasket-information.component.ts
+++ b/web/src/app/administration/components/workbasket-information/workbasket-information.component.ts
@@ -46,7 +46,8 @@ import { trimForm } from '../../../shared/util/form-trimmer';
@Component({
selector: 'kadai-administration-workbasket-information',
templateUrl: './workbasket-information.component.html',
- styleUrls: ['./workbasket-information.component.scss']
+ styleUrls: ['./workbasket-information.component.scss'],
+ standalone: false
})
export class WorkbasketInformationComponent implements OnInit, OnChanges, OnDestroy {
@Input()
diff --git a/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.spec.ts b/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.spec.ts
index 665c79f62..01748c290 100644
--- a/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.spec.ts
@@ -78,8 +78,11 @@ describe('WorkbasketListToolbarComponent', () => {
MatIconModule,
MatDialogModule
],
- declarations: [WorkbasketListToolbarComponent, ImportExportStub, SortStub, FilterStub],
+ declarations: [WorkbasketListToolbarComponent],
providers: [
+ ImportExportStub,
+ SortStub,
+ FilterStub,
{
provide: DomainService,
useValue: domainServiceMock
diff --git a/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.ts b/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.ts
index 4ee563558..37f202330 100644
--- a/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.ts
+++ b/web/src/app/administration/components/workbasket-list-toolbar/workbasket-list-toolbar.component.ts
@@ -33,7 +33,8 @@ import { WorkbasketService } from '../../../shared/services/workbasket/workbaske
selector: 'kadai-administration-workbasket-list-toolbar',
animations: [expandDown],
templateUrl: './workbasket-list-toolbar.component.html',
- styleUrls: ['./workbasket-list-toolbar.component.scss']
+ styleUrls: ['./workbasket-list-toolbar.component.scss'],
+ standalone: false
})
export class WorkbasketListToolbarComponent implements OnInit {
@Input() workbasketListExpanded: boolean = true;
diff --git a/web/src/app/administration/components/workbasket-list/workbasket-list.component.spec.ts b/web/src/app/administration/components/workbasket-list/workbasket-list.component.spec.ts
index 18a1fc5bf..281a08ae7 100644
--- a/web/src/app/administration/components/workbasket-list/workbasket-list.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-list/workbasket-list.component.spec.ts
@@ -118,8 +118,12 @@ describe('WorkbasketListComponent', () => {
MatSelectModule,
MatListModule
],
- declarations: [WorkbasketListComponent, WorkbasketListToolbarStub, IconTypeStub, PaginationStub, SvgIconStub],
+ declarations: [WorkbasketListComponent],
providers: [
+ WorkbasketListToolbarStub,
+ IconTypeStub,
+ PaginationStub,
+ SvgIconStub,
{
provide: WorkbasketService,
useValue: workbasketServiceMock
diff --git a/web/src/app/administration/components/workbasket-list/workbasket-list.component.ts b/web/src/app/administration/components/workbasket-list/workbasket-list.component.ts
index 4ce34b613..f25b006e9 100644
--- a/web/src/app/administration/components/workbasket-list/workbasket-list.component.ts
+++ b/web/src/app/administration/components/workbasket-list/workbasket-list.component.ts
@@ -45,7 +45,8 @@ import { FilterSelectors } from '../../../shared/store/filter-store/filter.selec
@Component({
selector: 'kadai-administration-workbasket-list',
templateUrl: './workbasket-list.component.html',
- styleUrls: ['./workbasket-list.component.scss']
+ styleUrls: ['./workbasket-list.component.scss'],
+ standalone: false
})
export class WorkbasketListComponent implements OnInit, OnDestroy {
selectedId = '';
diff --git a/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.spec.ts b/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.spec.ts
index 2ab4fed9f..94e13feb0 100644
--- a/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.spec.ts
+++ b/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.spec.ts
@@ -93,9 +93,12 @@ describe('WorkbasketOverviewComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatIconModule, RouterTestingModule.withRoutes([]), NgxsModule.forRoot([WorkbasketState])],
- declarations: [WorkbasketOverviewComponent, WorkbasketListStub, WorkbasketDetailsStub, SvgIconStub],
+ declarations: [WorkbasketOverviewComponent],
providers: [
WorkbasketService,
+ WorkbasketListStub,
+ WorkbasketDetailsStub,
+ SvgIconStub,
{
provide: NotificationService,
useValue: NotificationServiceSpy
@@ -162,9 +165,12 @@ describe('WorkbasketOverviewComponent Alternative Params ID', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatIconModule, RouterTestingModule.withRoutes([]), NgxsModule.forRoot([WorkbasketState])],
- declarations: [WorkbasketOverviewComponent, WorkbasketListStub, WorkbasketDetailsStub, SvgIconStub],
+ declarations: [WorkbasketOverviewComponent],
providers: [
WorkbasketService,
+ WorkbasketListStub,
+ WorkbasketDetailsStub,
+ SvgIconStub,
{
provide: NotificationService,
useValue: NotificationServiceSpy
@@ -208,9 +214,12 @@ describe('WorkbasketOverviewComponent No Params', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatIconModule, RouterTestingModule.withRoutes([]), NgxsModule.forRoot([WorkbasketState])],
- declarations: [WorkbasketOverviewComponent, WorkbasketListStub, WorkbasketDetailsStub, SvgIconStub],
+ declarations: [WorkbasketOverviewComponent],
providers: [
WorkbasketService,
+ WorkbasketListStub,
+ WorkbasketDetailsStub,
+ SvgIconStub,
{
provide: NotificationService,
useValue: NotificationServiceSpy
diff --git a/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.ts b/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.ts
index ab353e182..a1216565c 100644
--- a/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.ts
+++ b/web/src/app/administration/components/workbasket-overview/workbasket-overview.component.ts
@@ -29,7 +29,8 @@ import { Workbasket } from '../../../shared/models/workbasket';
@Component({
selector: 'kadai-administration-workbasket-overview',
templateUrl: './workbasket-overview.component.html',
- styleUrls: ['./workbasket-overview.component.scss']
+ styleUrls: ['./workbasket-overview.component.scss'],
+ standalone: false
})
export class WorkbasketOverviewComponent implements OnInit {
showDetail = false;
diff --git a/web/src/app/app.component.ts b/web/src/app/app.component.ts
index b9236e8a4..055b1cb0b 100644
--- a/web/src/app/app.component.ts
+++ b/web/src/app/app.component.ts
@@ -33,7 +33,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'kadai-root',
templateUrl: './app.component.html',
- styleUrls: ['./app.component.scss']
+ styleUrls: ['./app.component.scss'],
+ standalone: false
})
export class AppComponent implements OnInit, OnDestroy {
workbasketsRoute = true;
diff --git a/web/src/app/history/task-history-query/task-history-query.component.ts b/web/src/app/history/task-history-query/task-history-query.component.ts
index 9f214194b..b6c45f6c3 100644
--- a/web/src/app/history/task-history-query/task-history-query.component.ts
+++ b/web/src/app/history/task-history-query/task-history-query.component.ts
@@ -32,7 +32,8 @@ import { Pair } from '../../shared/models/pair';
@Component({
selector: 'kadai-task-query',
templateUrl: './task-history-query.component.html',
- styleUrls: ['./task-history-query.component.scss']
+ styleUrls: ['./task-history-query.component.scss'],
+ standalone: false
})
export class TaskHistoryQueryComponent implements OnInit {
data: TaskHistoryEventData[] = [];
diff --git a/web/src/app/monitor/components/classification-report/classification-report.component.ts b/web/src/app/monitor/components/classification-report/classification-report.component.ts
index 0bc88acff..a0e1a2513 100644
--- a/web/src/app/monitor/components/classification-report/classification-report.component.ts
+++ b/web/src/app/monitor/components/classification-report/classification-report.component.ts
@@ -30,7 +30,6 @@ import { BaseChartDirective, provideCharts, withDefaultRegisterables } from 'ng2
selector: 'kadai-monitor-classification-report',
templateUrl: './classification-report.component.html',
styleUrls: ['./classification-report.component.scss'],
- standalone: true,
imports: [CommonModule, ReportTableComponent, BaseChartDirective],
providers: [provideCharts(withDefaultRegisterables())]
})
diff --git a/web/src/app/monitor/components/monitor/monitor.component.ts b/web/src/app/monitor/components/monitor/monitor.component.ts
index 86f3a3eec..b5b302d83 100644
--- a/web/src/app/monitor/components/monitor/monitor.component.ts
+++ b/web/src/app/monitor/components/monitor/monitor.component.ts
@@ -24,7 +24,6 @@ import { MatTabNav, MatTabLink, MatTabNavPanel } from '@angular/material/tabs';
selector: 'kadai-monitor',
templateUrl: './monitor.component.html',
styleUrls: ['./monitor.component.scss'],
- standalone: true,
imports: [MatTabNav, MatTabLink, RouterLink, MatTabNavPanel, RouterOutlet]
})
export class MonitorComponent implements OnInit {
diff --git a/web/src/app/monitor/components/report-table/report-table.component.ts b/web/src/app/monitor/components/report-table/report-table.component.ts
index 24da60468..9e078255b 100644
--- a/web/src/app/monitor/components/report-table/report-table.component.ts
+++ b/web/src/app/monitor/components/report-table/report-table.component.ts
@@ -26,7 +26,6 @@ import { MatButton } from '@angular/material/button';
selector: 'kadai-monitor-report-table',
templateUrl: './report-table.component.html',
styleUrls: ['./report-table.component.scss'],
- standalone: true,
imports: [NgIf, NgFor, NgClass, MatButton]
})
export class ReportTableComponent implements OnChanges {
diff --git a/web/src/app/monitor/components/task-priority-report-filter/task-priority-report-filter.component.ts b/web/src/app/monitor/components/task-priority-report-filter/task-priority-report-filter.component.ts
index ac72acb70..5abae20ec 100644
--- a/web/src/app/monitor/components/task-priority-report-filter/task-priority-report-filter.component.ts
+++ b/web/src/app/monitor/components/task-priority-report-filter/task-priority-report-filter.component.ts
@@ -35,7 +35,6 @@ import { MatCheckbox } from '@angular/material/checkbox';
selector: 'kadai-monitor-task-priority-report-filter',
templateUrl: './task-priority-report-filter.component.html',
styleUrls: ['./task-priority-report-filter.component.scss'],
- standalone: true,
imports: [MatAccordion, MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, NgFor, MatCheckbox, NgIf]
})
export class TaskPriorityReportFilterComponent implements OnInit, OnDestroy {
diff --git a/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts
index 3f8b6970e..44839a0c8 100644
--- a/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts
+++ b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.spec.ts
@@ -63,14 +63,15 @@ describe('TaskPriorityReportComponent', () => {
TestBed.configureTestingModule({
imports: [NgxsModule.forRoot([SettingsState]), MatTableModule, MatDividerModule, NoopAnimationsModule],
- declarations: [CanvasStub, TaskPriorityReportFilterStub],
providers: [
RequestInProgressService,
{ provide: MonitorService, useValue: monitorServiceSpy },
{ provide: NotificationService, useValue: notificationServiceSpy },
provideHttpClient(withInterceptorsFromDi()),
provideHttpClientTesting(),
- TaskPriorityReportComponent
+ TaskPriorityReportComponent,
+ CanvasStub,
+ TaskPriorityReportFilterStub
]
}).compileComponents();
diff --git a/web/src/app/monitor/components/task-priority-report/task-priority-report.component.ts b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.ts
index 22843f6ef..dcfe53db7 100644
--- a/web/src/app/monitor/components/task-priority-report/task-priority-report.component.ts
+++ b/web/src/app/monitor/components/task-priority-report/task-priority-report.component.ts
@@ -48,7 +48,6 @@ import {
selector: 'kadai-monitor-task-priority-report',
templateUrl: './task-priority-report.component.html',
styleUrls: ['./task-priority-report.component.scss'],
- standalone: true,
imports: [
CommonModule,
TaskPriorityReportFilterComponent,
diff --git a/web/src/app/monitor/components/task-report/task-report.component.ts b/web/src/app/monitor/components/task-report/task-report.component.ts
index 6d5be59f2..7398c4cf3 100644
--- a/web/src/app/monitor/components/task-report/task-report.component.ts
+++ b/web/src/app/monitor/components/task-report/task-report.component.ts
@@ -31,7 +31,6 @@ import { BaseChartDirective, provideCharts, withDefaultRegisterables } from 'ng2
selector: 'kadai-monitor-task-report',
templateUrl: './task-report.component.html',
styleUrls: ['./task-report.component.scss'],
- standalone: true,
imports: [CommonModule, ReportTableComponent, BaseChartDirective],
providers: [provideCharts(withDefaultRegisterables())]
})
diff --git a/web/src/app/monitor/components/timestamp-report/timestamp-report.component.ts b/web/src/app/monitor/components/timestamp-report/timestamp-report.component.ts
index 8688dea4f..50c1a9308 100644
--- a/web/src/app/monitor/components/timestamp-report/timestamp-report.component.ts
+++ b/web/src/app/monitor/components/timestamp-report/timestamp-report.component.ts
@@ -27,7 +27,6 @@ import { ReportTableComponent } from '../report-table/report-table.component';
selector: 'kadai-monitor-timestamp-report',
templateUrl: './timestamp-report.component.html',
styleUrls: ['./timestamp-report.component.scss'],
- standalone: true,
imports: [ReportTableComponent, CommonModule]
})
export class TimestampReportComponent implements OnInit {
diff --git a/web/src/app/monitor/components/workbasket-report-due-date/workbasket-report-due-date.component.ts b/web/src/app/monitor/components/workbasket-report-due-date/workbasket-report-due-date.component.ts
index a0b44ba13..2a0eb9e84 100644
--- a/web/src/app/monitor/components/workbasket-report-due-date/workbasket-report-due-date.component.ts
+++ b/web/src/app/monitor/components/workbasket-report-due-date/workbasket-report-due-date.component.ts
@@ -31,7 +31,6 @@ import { ReportTableComponent } from '../report-table/report-table.component';
selector: 'kadai-monitor-workbasket-report-due-date',
templateUrl: './workbasket-report-due-date.component.html',
styleUrls: ['./workbasket-report-due-date.component.scss'],
- standalone: true,
imports: [NgIf, BaseChartDirective, ReportTableComponent],
providers: [provideCharts(withDefaultRegisterables())]
})
diff --git a/web/src/app/monitor/components/workbasket-report-planned-date/workbasket-report-planned-date.component.ts b/web/src/app/monitor/components/workbasket-report-planned-date/workbasket-report-planned-date.component.ts
index ada81eb44..0947a6602 100644
--- a/web/src/app/monitor/components/workbasket-report-planned-date/workbasket-report-planned-date.component.ts
+++ b/web/src/app/monitor/components/workbasket-report-planned-date/workbasket-report-planned-date.component.ts
@@ -31,7 +31,6 @@ import { BaseChartDirective, provideCharts, withDefaultRegisterables } from 'ng2
selector: 'kadai-monitor-workbasket-report-planned-date',
templateUrl: './workbasket-report-planned-date.component.html',
styleUrls: ['./workbasket-report-planned-date.component.scss'],
- standalone: true,
imports: [NgIf, ReportTableComponent, BaseChartDirective],
providers: [provideCharts(withDefaultRegisterables())]
})
diff --git a/web/src/app/monitor/components/workbasket-report/workbasket-report.component.ts b/web/src/app/monitor/components/workbasket-report/workbasket-report.component.ts
index c21f5f8c1..73384d1d0 100644
--- a/web/src/app/monitor/components/workbasket-report/workbasket-report.component.ts
+++ b/web/src/app/monitor/components/workbasket-report/workbasket-report.component.ts
@@ -32,7 +32,6 @@ enum WorkbasketReports {
selector: 'kadai-monitor-workbasket-report',
templateUrl: './workbasket-report.component.html',
styleUrls: ['./workbasket-report.component.scss'],
- standalone: true,
imports: [CommonModule, MatTabGroup, MatTab, WorkbasketReportDueDateComponent, WorkbasketReportPlannedDateComponent]
})
export class WorkbasketReportComponent implements OnInit {
diff --git a/web/src/app/settings/components/Settings/settings.component.ts b/web/src/app/settings/components/Settings/settings.component.ts
index 200f8eb8d..f0a0c2ae0 100644
--- a/web/src/app/settings/components/Settings/settings.component.ts
+++ b/web/src/app/settings/components/Settings/settings.component.ts
@@ -30,7 +30,8 @@ import { RequestInProgressService } from '../../../shared/services/request-in-pr
@Component({
selector: 'kadai-administration-settings',
templateUrl: './settings.component.html',
- styleUrls: ['./settings.component.scss']
+ styleUrls: ['./settings.component.scss'],
+ standalone: false
})
export class SettingsComponent implements OnInit, OnDestroy {
settingTypes = SettingTypes;
diff --git a/web/src/app/shared/components/field-error-display/field-error-display.component.ts b/web/src/app/shared/components/field-error-display/field-error-display.component.ts
index d0d26e89a..028568afc 100644
--- a/web/src/app/shared/components/field-error-display/field-error-display.component.ts
+++ b/web/src/app/shared/components/field-error-display/field-error-display.component.ts
@@ -23,7 +23,8 @@ import { highlight } from 'app/shared/animations/validation.animation';
selector: 'kadai-shared-field-error-display',
templateUrl: './field-error-display.component.html',
animations: [highlight],
- styleUrls: ['./field-error-display.component.scss']
+ styleUrls: ['./field-error-display.component.scss'],
+ standalone: false
})
export class FieldErrorDisplayComponent implements OnInit {
@Input()
diff --git a/web/src/app/shared/components/master-and-detail/master-and-detail.component.ts b/web/src/app/shared/components/master-and-detail/master-and-detail.component.ts
index 809ea7ddf..905ce2d4d 100644
--- a/web/src/app/shared/components/master-and-detail/master-and-detail.component.ts
+++ b/web/src/app/shared/components/master-and-detail/master-and-detail.component.ts
@@ -23,7 +23,8 @@ import { MasterAndDetailService } from 'app/shared/services/master-and-detail/ma
@Component({
selector: 'kadai-shared-master-and-detail',
templateUrl: './master-and-detail.component.html',
- styleUrls: ['./master-and-detail.component.scss']
+ styleUrls: ['./master-and-detail.component.scss'],
+ standalone: false
})
export class MasterAndDetailComponent implements OnInit {
private classifications = 'classifications';
diff --git a/web/src/app/shared/components/nav-bar/nav-bar.component.spec.ts b/web/src/app/shared/components/nav-bar/nav-bar.component.spec.ts
index edad77829..a3475764b 100644
--- a/web/src/app/shared/components/nav-bar/nav-bar.component.spec.ts
+++ b/web/src/app/shared/components/nav-bar/nav-bar.component.spec.ts
@@ -49,9 +49,10 @@ describe('NavBarComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
- declarations: [NavBarComponent, SvgIconStub],
+ declarations: [NavBarComponent],
imports: [MatIconModule, MatToolbarModule],
providers: [
+ SvgIconStub,
{ provide: SidenavService, useValue: SidenavServiceSpy },
{ provide: SelectedRouteService, useValue: SelectedRouteServiceSpy },
provideHttpClient(withInterceptorsFromDi()),
diff --git a/web/src/app/shared/components/nav-bar/nav-bar.component.ts b/web/src/app/shared/components/nav-bar/nav-bar.component.ts
index 4a6dec705..92885b64c 100644
--- a/web/src/app/shared/components/nav-bar/nav-bar.component.ts
+++ b/web/src/app/shared/components/nav-bar/nav-bar.component.ts
@@ -27,7 +27,8 @@ import { takeUntil } from 'rxjs/operators';
selector: 'kadai-shared-nav-bar',
templateUrl: './nav-bar.component.html',
styleUrls: ['./nav-bar.component.scss'],
- animations: [expandRight]
+ animations: [expandRight],
+ standalone: false
})
export class NavBarComponent implements OnInit {
selectedRoute = '';
diff --git a/web/src/app/shared/components/no-access/no-access.component.ts b/web/src/app/shared/components/no-access/no-access.component.ts
index 4ec9a7fe3..06793875e 100644
--- a/web/src/app/shared/components/no-access/no-access.component.ts
+++ b/web/src/app/shared/components/no-access/no-access.component.ts
@@ -26,7 +26,8 @@ import { BusinessAdminRoles } from '../../roles/business-admin.roles';
@Component({
selector: 'kadai-shared-no-access',
templateUrl: './no-access.component.html',
- styleUrls: ['./no-access.component.scss']
+ styleUrls: ['./no-access.component.scss'],
+ standalone: false
})
export class NoAccessComponent implements OnInit {
showNoAccess = false;
diff --git a/web/src/app/shared/components/pagination/pagination.component.ts b/web/src/app/shared/components/pagination/pagination.component.ts
index 13867ac38..ca4f40308 100644
--- a/web/src/app/shared/components/pagination/pagination.component.ts
+++ b/web/src/app/shared/components/pagination/pagination.component.ts
@@ -35,7 +35,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'kadai-shared-pagination',
templateUrl: './pagination.component.html',
- styleUrls: ['./pagination.component.scss']
+ styleUrls: ['./pagination.component.scss'],
+ standalone: false
})
export class PaginationComponent implements OnInit, OnChanges {
@Input() page: Page;
diff --git a/web/src/app/shared/components/popup/dialog-pop-up.component.ts b/web/src/app/shared/components/popup/dialog-pop-up.component.ts
index 290a167be..6bde167eb 100644
--- a/web/src/app/shared/components/popup/dialog-pop-up.component.ts
+++ b/web/src/app/shared/components/popup/dialog-pop-up.component.ts
@@ -24,7 +24,8 @@ import { messageTypes } from '../../services/obtain-message/message-types';
@Component({
selector: 'kadai-shared-dialog-pop-up',
templateUrl: './dialog-pop-up.component.html',
- styleUrls: ['./dialog-pop-up.component.scss']
+ styleUrls: ['./dialog-pop-up.component.scss'],
+ standalone: false
})
export class DialogPopUpComponent implements OnInit {
message: string;
diff --git a/web/src/app/shared/components/progress-spinner/progress-spinner.component.ts b/web/src/app/shared/components/progress-spinner/progress-spinner.component.ts
index dd5474ceb..041f7b319 100644
--- a/web/src/app/shared/components/progress-spinner/progress-spinner.component.ts
+++ b/web/src/app/shared/components/progress-spinner/progress-spinner.component.ts
@@ -21,7 +21,8 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'kadai-shared-progress-spinner',
templateUrl: './progress-spinner.component.html',
- styleUrls: ['./progress-spinner.component.scss']
+ styleUrls: ['./progress-spinner.component.scss'],
+ standalone: false
})
export class ProgressSpinnerComponent {
@Input()
diff --git a/web/src/app/shared/components/sidenav-list/sidenav-list.component.ts b/web/src/app/shared/components/sidenav-list/sidenav-list.component.ts
index 2f10229c5..27a761c33 100644
--- a/web/src/app/shared/components/sidenav-list/sidenav-list.component.ts
+++ b/web/src/app/shared/components/sidenav-list/sidenav-list.component.ts
@@ -28,7 +28,8 @@ import { BusinessAdminRoles } from '../../roles/business-admin.roles';
@Component({
selector: 'kadai-sidenav-list',
templateUrl: './sidenav-list.component.html',
- styleUrls: ['./sidenav-list.component.scss']
+ styleUrls: ['./sidenav-list.component.scss'],
+ standalone: false
})
export class SidenavListComponent implements OnInit {
toggle: boolean = false;
diff --git a/web/src/app/shared/components/sort/sort.component.ts b/web/src/app/shared/components/sort/sort.component.ts
index f1af74908..1adfe2176 100644
--- a/web/src/app/shared/components/sort/sort.component.ts
+++ b/web/src/app/shared/components/sort/sort.component.ts
@@ -22,7 +22,8 @@ import { Direction, Sorting } from 'app/shared/models/sorting';
@Component({
selector: 'kadai-shared-sort',
templateUrl: './sort.component.html',
- styleUrls: ['./sort.component.scss']
+ styleUrls: ['./sort.component.scss'],
+ standalone: false
})
export class SortComponent implements OnInit {
@Input() sortingFields: Map;
diff --git a/web/src/app/shared/components/spinner/spinner.component.ts b/web/src/app/shared/components/spinner/spinner.component.ts
index b8a274b90..933c278d0 100644
--- a/web/src/app/shared/components/spinner/spinner.component.ts
+++ b/web/src/app/shared/components/spinner/spinner.component.ts
@@ -24,7 +24,8 @@ declare let $: any;
@Component({
selector: 'kadai-shared-spinner',
templateUrl: './spinner.component.html',
- styleUrls: ['./spinner.component.scss']
+ styleUrls: ['./spinner.component.scss'],
+ standalone: false
})
export class SpinnerComponent implements OnDestroy {
showSpinner: boolean;
diff --git a/web/src/app/shared/components/task-filter/task-filter.component.ts b/web/src/app/shared/components/task-filter/task-filter.component.ts
index f81a87e82..771d5fd71 100644
--- a/web/src/app/shared/components/task-filter/task-filter.component.ts
+++ b/web/src/app/shared/components/task-filter/task-filter.component.ts
@@ -27,7 +27,8 @@ import { Subject } from 'rxjs';
@Component({
selector: 'kadai-shared-task-filter',
templateUrl: './task-filter.component.html',
- styleUrls: ['./task-filter.component.scss']
+ styleUrls: ['./task-filter.component.scss'],
+ standalone: false
})
export class TaskFilterComponent implements OnInit, OnDestroy {
filter: TaskQueryFilterParameter;
diff --git a/web/src/app/shared/components/type-ahead/type-ahead.component.ts b/web/src/app/shared/components/type-ahead/type-ahead.component.ts
index 87637b8e4..ed3f257c1 100644
--- a/web/src/app/shared/components/type-ahead/type-ahead.component.ts
+++ b/web/src/app/shared/components/type-ahead/type-ahead.component.ts
@@ -31,7 +31,8 @@ import { GlobalCustomisation } from '../../models/customisation';
@Component({
selector: 'kadai-shared-type-ahead',
templateUrl: './type-ahead.component.html',
- styleUrls: ['./type-ahead.component.scss']
+ styleUrls: ['./type-ahead.component.scss'],
+ standalone: false
})
export class TypeAheadComponent implements OnInit, OnDestroy {
@Input() savedAccessId;
diff --git a/web/src/app/shared/components/user-information/user-information.component.spec.ts b/web/src/app/shared/components/user-information/user-information.component.spec.ts
index 1ffa9209d..8e1945740 100644
--- a/web/src/app/shared/components/user-information/user-information.component.spec.ts
+++ b/web/src/app/shared/components/user-information/user-information.component.spec.ts
@@ -41,9 +41,10 @@ describe('UserInformationComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
- declarations: [UserInformationComponent, SvgIconStub],
+ declarations: [UserInformationComponent],
imports: [BrowserModule, NoopAnimationsModule],
providers: [
+ SvgIconStub,
{ provide: KadaiEngineService, useClass: KadaiEngineServiceMock },
provideHttpClient(withInterceptorsFromDi()),
provideHttpClientTesting()
diff --git a/web/src/app/shared/components/user-information/user-information.component.ts b/web/src/app/shared/components/user-information/user-information.component.ts
index 1947b8263..0b39e4d77 100644
--- a/web/src/app/shared/components/user-information/user-information.component.ts
+++ b/web/src/app/shared/components/user-information/user-information.component.ts
@@ -25,7 +25,8 @@ import { expandDown } from '../../animations/expand.animation';
selector: 'kadai-shared-user-information',
templateUrl: './user-information.component.html',
styleUrls: ['./user-information.component.scss'],
- animations: [expandDown]
+ animations: [expandDown],
+ standalone: false
})
export class UserInformationComponent implements OnInit {
userInformation: UserInfo;
diff --git a/web/src/app/shared/components/workbasket-filter/workbasket-filter.component.ts b/web/src/app/shared/components/workbasket-filter/workbasket-filter.component.ts
index d69c70952..32a001c91 100644
--- a/web/src/app/shared/components/workbasket-filter/workbasket-filter.component.ts
+++ b/web/src/app/shared/components/workbasket-filter/workbasket-filter.component.ts
@@ -28,7 +28,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'kadai-shared-workbasket-filter',
templateUrl: './workbasket-filter.component.html',
- styleUrls: ['./workbasket-filter.component.scss']
+ styleUrls: ['./workbasket-filter.component.scss'],
+ standalone: false
})
export class WorkbasketFilterComponent implements OnInit, OnDestroy {
allTypes: Map = ALL_TYPES;
diff --git a/web/src/app/shared/directives/drag-and-drop.directive.ts b/web/src/app/shared/directives/drag-and-drop.directive.ts
index 802f248ad..6de28971a 100644
--- a/web/src/app/shared/directives/drag-and-drop.directive.ts
+++ b/web/src/app/shared/directives/drag-and-drop.directive.ts
@@ -19,7 +19,8 @@
import { Directive, HostListener, Output, EventEmitter, HostBinding } from '@angular/core';
@Directive({
- selector: '[kadaiDragAndDrop]'
+ selector: '[kadaiDragAndDrop]',
+ standalone: false
})
export class DragAndDropDirective {
@Output() onFileDropped = new EventEmitter();
diff --git a/web/src/app/shared/directives/resizable-width.directive.spec.ts b/web/src/app/shared/directives/resizable-width.directive.spec.ts
index d52ff0fc5..67e45691e 100644
--- a/web/src/app/shared/directives/resizable-width.directive.spec.ts
+++ b/web/src/app/shared/directives/resizable-width.directive.spec.ts
@@ -22,7 +22,8 @@ import { By } from '@angular/platform-browser';
import { ResizableWidthDirective } from './resizable-width.directive';
@Component({
- template: ` `
+ template: ` `,
+ standalone: false
})
class TestComponent {}
diff --git a/web/src/app/shared/directives/resizable-width.directive.ts b/web/src/app/shared/directives/resizable-width.directive.ts
index fa5f75135..57ccb2555 100644
--- a/web/src/app/shared/directives/resizable-width.directive.ts
+++ b/web/src/app/shared/directives/resizable-width.directive.ts
@@ -19,7 +19,8 @@
import { Directive, HostListener, Renderer2, ElementRef } from '@angular/core';
@Directive({
- selector: '[kadaiResizableWidth]'
+ selector: '[kadaiResizableWidth]',
+ standalone: false
})
export class ResizableWidthDirective {
private startX: number;
diff --git a/web/src/app/shared/pipes/date-time-zone.pipe.ts b/web/src/app/shared/pipes/date-time-zone.pipe.ts
index c1ffd3d1b..ecfe83bb4 100644
--- a/web/src/app/shared/pipes/date-time-zone.pipe.ts
+++ b/web/src/app/shared/pipes/date-time-zone.pipe.ts
@@ -20,7 +20,8 @@ import { Pipe, PipeTransform } from '@angular/core';
import { KadaiDate } from '../util/kadai.date';
@Pipe({
- name: 'dateTimeZone'
+ name: 'dateTimeZone',
+ standalone: false
})
export class DateTimeZonePipe implements PipeTransform {
private datesMap = new Map();
diff --git a/web/src/app/shared/pipes/map-to-iterable.pipe.ts b/web/src/app/shared/pipes/map-to-iterable.pipe.ts
index 505f9bb37..bd57b6692 100644
--- a/web/src/app/shared/pipes/map-to-iterable.pipe.ts
+++ b/web/src/app/shared/pipes/map-to-iterable.pipe.ts
@@ -19,7 +19,8 @@
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
- name: 'mapToIterable'
+ name: 'mapToIterable',
+ standalone: false
})
export class MapToIterable implements PipeTransform {
transform(dict: Object) {
diff --git a/web/src/app/shared/pipes/map-values.pipe.ts b/web/src/app/shared/pipes/map-values.pipe.ts
index 9d7e0112a..12864f5d6 100644
--- a/web/src/app/shared/pipes/map-values.pipe.ts
+++ b/web/src/app/shared/pipes/map-values.pipe.ts
@@ -18,7 +18,10 @@
import { Pipe, PipeTransform } from '@angular/core';
-@Pipe({ name: 'mapValues' })
+@Pipe({
+ name: 'mapValues',
+ standalone: false
+})
export class MapValuesPipe implements PipeTransform {
transform(value: Map, args?: any[]): { key: T; value: V }[] {
const returnArray = [];
diff --git a/web/src/app/shared/pipes/number-to-array.pipe.ts b/web/src/app/shared/pipes/number-to-array.pipe.ts
index 4b1fe05da..7e0f2ff07 100644
--- a/web/src/app/shared/pipes/number-to-array.pipe.ts
+++ b/web/src/app/shared/pipes/number-to-array.pipe.ts
@@ -18,7 +18,10 @@
import { Pipe, PipeTransform } from '@angular/core';
-@Pipe({ name: 'numberToArray' })
+@Pipe({
+ name: 'numberToArray',
+ standalone: false
+})
export class NumberToArray implements PipeTransform {
transform(index: number): Array {
return Array.from(Array(index), (x, i) => i);
diff --git a/web/src/app/shared/pipes/order-by.pipe.ts b/web/src/app/shared/pipes/order-by.pipe.ts
index eb3a4f137..ba319e977 100644
--- a/web/src/app/shared/pipes/order-by.pipe.ts
+++ b/web/src/app/shared/pipes/order-by.pipe.ts
@@ -18,7 +18,10 @@
import { Pipe, PipeTransform } from '@angular/core';
-@Pipe({ name: 'orderBy' })
+@Pipe({
+ name: 'orderBy',
+ standalone: false
+})
export class OrderBy implements PipeTransform {
transform(records: Object[], sortKeys?: string[]): any {
return records.sort((a, b) => {
diff --git a/web/src/app/shared/pipes/remove-empty-type.pipe.ts b/web/src/app/shared/pipes/remove-empty-type.pipe.ts
index 827006453..3d6693357 100644
--- a/web/src/app/shared/pipes/remove-empty-type.pipe.ts
+++ b/web/src/app/shared/pipes/remove-empty-type.pipe.ts
@@ -18,7 +18,10 @@
import { Pipe, PipeTransform } from '@angular/core';
-@Pipe({ name: 'removeEmptyType' })
+@Pipe({
+ name: 'removeEmptyType',
+ standalone: false
+})
export class RemoveNoneTypePipe implements PipeTransform {
transform(value: any): Object[] {
const returnArray = [];
diff --git a/web/src/app/shared/pipes/spread-number.pipe.ts b/web/src/app/shared/pipes/spread-number.pipe.ts
index a7a07d965..32b2748e9 100644
--- a/web/src/app/shared/pipes/spread-number.pipe.ts
+++ b/web/src/app/shared/pipes/spread-number.pipe.ts
@@ -18,7 +18,10 @@
import { Pipe, PipeTransform } from '@angular/core';
-@Pipe({ name: 'spreadNumber' })
+@Pipe({
+ name: 'spreadNumber',
+ standalone: false
+})
export class SpreadNumberPipe implements PipeTransform {
transform(maxPageNumber: number, currentIndex: number, maxArrayElements: number): number[] {
const returnArray = [];
diff --git a/web/src/app/shared/services/domain/domain.service.spec.ts b/web/src/app/shared/services/domain/domain.service.spec.ts
index 83f4a42d7..2c6643246 100644
--- a/web/src/app/shared/services/domain/domain.service.spec.ts
+++ b/web/src/app/shared/services/domain/domain.service.spec.ts
@@ -48,9 +48,9 @@ describe('DomainService', () => {
StartupService,
KadaiEngineService,
WindowRefService,
+ DummyDetailComponent,
provideHttpClient()
- ],
- declarations: [DummyDetailComponent]
+ ]
});
});
diff --git a/web/src/app/v2/task-routing/components/routing-upload/routing-upload.component.ts b/web/src/app/v2/task-routing/components/routing-upload/routing-upload.component.ts
index f0d94eafc..11836d089 100644
--- a/web/src/app/v2/task-routing/components/routing-upload/routing-upload.component.ts
+++ b/web/src/app/v2/task-routing/components/routing-upload/routing-upload.component.ts
@@ -24,7 +24,8 @@ import { HotToastService } from '@ngneat/hot-toast';
@Component({
selector: 'kadai-routing-upload',
templateUrl: './routing-upload.component.html',
- styleUrls: ['./routing-upload.component.scss']
+ styleUrls: ['./routing-upload.component.scss'],
+ standalone: false
})
export class RoutingUploadComponent implements OnInit {
file: File | null = null;
diff --git a/web/src/app/v2/task/components/task-overview/task-overview.component.spec.ts b/web/src/app/v2/task/components/task-overview/task-overview.component.spec.ts
index 9e714be8d..aaf508d3a 100644
--- a/web/src/app/v2/task/components/task-overview/task-overview.component.spec.ts
+++ b/web/src/app/v2/task/components/task-overview/task-overview.component.spec.ts
@@ -26,7 +26,7 @@ describe('TaskOverviewComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
- declarations: [TaskOverviewComponent]
+ providers: [TaskOverviewComponent]
}).compileComponents();
});
diff --git a/web/src/app/workplace/components/task-attribute-value/task-attribute-value.component.ts b/web/src/app/workplace/components/task-attribute-value/task-attribute-value.component.ts
index 40641cb03..db9762025 100644
--- a/web/src/app/workplace/components/task-attribute-value/task-attribute-value.component.ts
+++ b/web/src/app/workplace/components/task-attribute-value/task-attribute-value.component.ts
@@ -22,7 +22,8 @@ import { CustomAttribute } from 'app/workplace/models/task';
@Component({
selector: 'kadai-task-attribute-value',
templateUrl: './task-attribute-value.component.html',
- styleUrls: ['./task-attribute-value.component.scss']
+ styleUrls: ['./task-attribute-value.component.scss'],
+ standalone: false
})
export class TaskAttributeValueComponent implements OnInit {
@Input() callbackInfo = false;
diff --git a/web/src/app/workplace/components/task-custom-fields/task-custom-fields.component.ts b/web/src/app/workplace/components/task-custom-fields/task-custom-fields.component.ts
index a4f4eca02..16b769ce9 100644
--- a/web/src/app/workplace/components/task-custom-fields/task-custom-fields.component.ts
+++ b/web/src/app/workplace/components/task-custom-fields/task-custom-fields.component.ts
@@ -25,7 +25,8 @@ import { Subject } from 'rxjs';
@Component({
selector: 'kadai-task-custom-fields',
templateUrl: './task-custom-fields.component.html',
- styleUrls: ['./task-custom-fields.component.scss']
+ styleUrls: ['./task-custom-fields.component.scss'],
+ standalone: false
})
export class TaskCustomFieldsComponent implements OnInit, OnDestroy {
@Input() task: Task;
diff --git a/web/src/app/workplace/components/task-details/task-details.component.ts b/web/src/app/workplace/components/task-details/task-details.component.ts
index 4cbe28e7d..e9b1e120f 100644
--- a/web/src/app/workplace/components/task-details/task-details.component.ts
+++ b/web/src/app/workplace/components/task-details/task-details.component.ts
@@ -35,7 +35,8 @@ import { ObjectReference } from '../../models/object-reference';
@Component({
selector: 'kadai-task-details',
templateUrl: './task-details.component.html',
- styleUrls: ['./task-details.component.scss']
+ styleUrls: ['./task-details.component.scss'],
+ standalone: false
})
export class TaskDetailsComponent implements OnInit, OnDestroy {
task: Task;
diff --git a/web/src/app/workplace/components/task-information/task-information.component.html b/web/src/app/workplace/components/task-information/task-information.component.html
index aece573b6..71de4fd94 100644
--- a/web/src/app/workplace/components/task-information/task-information.component.html
+++ b/web/src/app/workplace/components/task-information/task-information.component.html
@@ -32,7 +32,7 @@
{{lengthError}}
@@ -48,7 +48,7 @@
{{lengthError}}
@@ -64,14 +64,14 @@
{{lengthError}}
-
+
Classification
-
+
{{ classification.name }}
@@ -146,7 +146,7 @@
{{lengthError}}
@@ -163,7 +163,7 @@
{{lengthError}}
@@ -179,7 +179,7 @@
{{lengthError}}
diff --git a/web/src/app/workplace/components/task-information/task-information.component.ts b/web/src/app/workplace/components/task-information/task-information.component.ts
index d6223d627..e600286fb 100644
--- a/web/src/app/workplace/components/task-information/task-information.component.ts
+++ b/web/src/app/workplace/components/task-information/task-information.component.ts
@@ -42,7 +42,8 @@ import { AccessId } from '../../../shared/models/access-id';
@Component({
selector: 'kadai-task-information',
templateUrl: './task-information.component.html',
- styleUrls: ['./task-information.component.scss']
+ styleUrls: ['./task-information.component.scss'],
+ standalone: false
})
export class TaskInformationComponent implements OnInit, OnChanges, OnDestroy {
@Input()
diff --git a/web/src/app/workplace/components/task-list-toolbar/task-list-toolbar.component.html b/web/src/app/workplace/components/task-list-toolbar/task-list-toolbar.component.html
index 7616c4778..1d1a43152 100644
--- a/web/src/app/workplace/components/task-list-toolbar/task-list-toolbar.component.html
+++ b/web/src/app/workplace/components/task-list-toolbar/task-list-toolbar.component.html
@@ -101,7 +101,7 @@
| |