Skip to content

Commit e1ffb5b

Browse files
committed
merge master
2 parents 4ed5fca + 2021767 commit e1ffb5b

19 files changed

+66
-45
lines changed

projects/angular-formio/manager/src/submission/submission/submission.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { Component, OnInit } from '@angular/core';
22
import { FormManagerService } from '../../form-manager.service';
3-
import { ActivatedRoute } from '@angular/router';
3+
import { ActivatedRoute, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
4+
import { NgIf } from '@angular/common';
45

56
@Component({
67
templateUrl: './submission.component.html',
7-
standalone: false
8+
imports: [NgIf, RouterLink, RouterLinkActive, RouterOutlet]
89
})
910
export class SubmissionComponent implements OnInit {
1011
public downloadUrl: string;

projects/angular-formio/manager/src/submission/view/view.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { Component } from '@angular/core';
22
import { FormManagerService } from '../../form-manager.service';
3+
import { FormioComponent } from '@formio/angular';
34

45
@Component({
56
templateUrl: './view.component.html',
6-
standalone: false
7+
imports: [FormioComponent]
78
})
89
export class SubmissionViewComponent {
910
constructor(public service: FormManagerService) { }

projects/angular-formio/manager/src/view/view.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ import { FormManagerService } from '../form-manager.service';
44
import { ActivatedRoute, Router } from '@angular/router';
55
import { FormioAuthService } from '@formio/angular/auth';
66
import { Formio } from '@formio/js';
7+
import { NgIf } from '@angular/common';
8+
import { FormioComponent } from '@formio/angular';
79

810
@Component({
911
templateUrl: './view.component.html',
10-
standalone: false
12+
imports: [NgIf, FormioComponent]
1113
})
1214
export class FormManagerViewComponent implements OnInit {
1315
public submission: any;

projects/angular-formio/resource/src/create/create.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import { Component, EventEmitter, OnInit } from '@angular/core';
2-
import { Router, ActivatedRoute } from '@angular/router';
2+
import { Router, ActivatedRoute, RouterLink } from '@angular/router';
33
import { FormioResourceService } from '../resource.service';
44
import { FormioResourceConfig } from '../resource.config';
5+
import { NgIf } from '@angular/common';
6+
import { FormioComponent } from '@formio/angular';
57

68
@Component({
79
styleUrls: ['./create.component.scss'],
810
templateUrl: './create.component.html',
9-
standalone: false
11+
imports: [NgIf, RouterLink, FormioComponent]
1012
})
1113
export class FormioResourceCreateComponent implements OnInit {
1214
public onError: EventEmitter<any>;

projects/angular-formio/resource/src/delete/delete.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ import { Component } from '@angular/core';
22
import { Router, ActivatedRoute } from '@angular/router';
33
import { FormioResourceService } from '../resource.service';
44

5-
@Component({
6-
templateUrl: './delete.component.html',
7-
standalone: false
8-
})
5+
@Component({ templateUrl: './delete.component.html' })
96
export class FormioResourceDeleteComponent {
107
constructor(
118
public service: FormioResourceService,

projects/angular-formio/resource/src/edit/edit.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ import { Router, ActivatedRoute } from '@angular/router';
33
import { FormioResourceService } from '../resource.service';
44
import { FormioResourceConfig } from '../resource.config';
55
import { Formio } from '@formio/js';
6+
import { FormioComponent } from '@formio/angular';
67

78
@Component({
89
templateUrl: './edit.component.html',
9-
standalone: false
10+
imports: [FormioComponent]
1011
})
1112
export class FormioResourceEditComponent implements OnDestroy {
1213
public triggerError: EventEmitter<any> = new EventEmitter();

projects/angular-formio/resource/src/index/index.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ import { Router, ActivatedRoute } from '@angular/router';
33
import { FormioResourceService } from '../resource.service';
44
import { FormioResourceConfig } from '../resource.config';
55
import { each } from 'lodash';
6+
import { FormioAlertsComponent } from '@formio/angular';
7+
import { FormioGridComponent } from '@formio/angular/grid';
68

79
@Component({
810
templateUrl: './index.component.html',
9-
standalone: false
11+
imports: [FormioAlertsComponent, FormioGridComponent]
1012
})
1113
export class FormioResourceIndexComponent implements OnInit {
1214
public gridSrc?: string;

projects/angular-formio/resource/src/resource.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { Component, OnDestroy, OnInit } from '@angular/core';
2-
import { ActivatedRoute, NavigationEnd, Router, RouterEvent } from '@angular/router';
2+
import { ActivatedRoute, NavigationEnd, Router, RouterEvent, RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
33
import { FormioAuthService } from '@formio/angular/auth';
44
import { FormioResourceService } from './resource.service';
55
import { Subscription } from 'rxjs';
6+
import { NgIf } from '@angular/common';
67

78
@Component({
89
templateUrl: './resource.component.html',
9-
standalone: false
10+
imports: [RouterLink, RouterLinkActive, NgIf, RouterOutlet]
1011
})
1112
export class FormioResourceComponent implements OnInit, OnDestroy {
1213
public perms = {delete: false, edit: false};

projects/angular-formio/resource/src/resource.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ import { extendRouter } from '@formio/angular';
1919
CommonModule,
2020
FormioModule,
2121
FormioGrid,
22-
RouterModule
23-
],
24-
declarations: [
22+
RouterModule,
2523
FormioResourceComponent,
2624
FormioResourceCreateComponent,
2725
FormioResourceIndexComponent,

projects/angular-formio/resource/src/view/view.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import {Component, OnDestroy} from '@angular/core';
22
import { FormioResourceService } from '../resource.service';
33
import { FormioResourceConfig } from '../resource.config';
44
import {Formio} from '@formio/js';
5+
import { FormioComponent } from '@formio/angular';
56

67
@Component({
78
templateUrl: './view.component.html',
8-
standalone: false
9+
imports: [FormioComponent]
910
})
1011
export class FormioResourceViewComponent implements OnDestroy{
1112
constructor(

0 commit comments

Comments
 (0)