Skip to content

Commit d2a4b8f

Browse files
committed
Add standalone information to not break some applications that are using this sdk
1 parent 9143228 commit d2a4b8f

File tree

31 files changed

+25
-27
lines changed

31 files changed

+25
-27
lines changed

src/ng-generate/components/card/generators/components/card/files/__name@dasherize__.component.ts.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ export enum <%= classify(name) %>CardValues {
5858
@Component({
5959
selector: '<%= options.selector %>',
6060
templateUrl: './<%= dasherize(name) %>.component.html',
61-
styleUrls: ['./<%= dasherize(name) %>.component.<%= options.style %>']
61+
styleUrls: ['./<%= dasherize(name) %>.component.<%= options.style %>'],
62+
standalone: false
6263
<% if (options.changeDetection) { %>, changeDetection: ChangeDetectionStrategy.<%= options.changeDetection %><% } %>
6364
<% if (options.viewEncapsulation) { %>,encapsulation: ViewEncapsulation.<%= options.viewEncapsulation %><% } else { %>,encapsulation: ViewEncapsulation.None<% } %>
6465
})

src/ng-generate/components/card/generators/components/export-dialog/files/__name@dasherize__.component.ts.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export enum Action {
1313
@Component({
1414
selector: '<%= dasherize(name) %>',
1515
templateUrl: './<%= dasherize(name) %>.component.html',
16-
styleUrls: ['./<%= dasherize(name) %>.component.scss']
16+
styleUrls: ['./<%= dasherize(name) %>.component.scss'],
17+
standalone: false
1718
})
1819
export class <%= classify(name) %>Component implements AfterViewInit {
1920
@ViewChild('exportFirstPage') exportFirstPage!: MatCheckbox;

src/ng-generate/components/form/generators/components/fields/boolean/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const <%= options.fieldConfig.name %>FormControl = new FormControl(false,
1919

2020
@Component({
2121
selector: '<%= options.fieldConfig.selector %>',
22-
standalone: true,
2322
imports: [CommonModule, FormsModule, MatFormFieldModule, MatInputModule, MatCheckboxModule, ReactiveFormsModule],
2423
templateUrl: './<%= dasherize(options.fieldConfig.name) %>.component.html',
2524
styleUrls: ['./<%= dasherize(options.fieldConfig.name) %>.component.scss'],

src/ng-generate/components/form/generators/components/fields/complex/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export const <%= options.fieldConfig.name %>FormGroup = new FormGroup<<%= option
3030

3131
@Component({
3232
selector: '<%= options.fieldConfig.selector %>',
33-
standalone: true,
3433
imports: [
3534
CommonModule,
3635
FormsModule,

src/ng-generate/components/form/generators/components/fields/date/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export const <%= options.fieldConfig.name %>FormControl = new FormControl(null,
2323

2424
@Component({
2525
selector: '<%= options.fieldConfig.selector %>',
26-
standalone: true,
2726
imports: [CommonModule, FormsModule, MatDatepickerModule, MatFormFieldModule, MatInputModule, ReactiveFormsModule, TranslocoModule],
2827
templateUrl: './<%= dasherize(options.fieldConfig.name) %>.component.html',
2928
styleUrls: ['./<%= dasherize(options.fieldConfig.name) %>.component.scss'],

src/ng-generate/components/form/generators/components/fields/datePartial/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const <%= options.fieldConfig.name %>FormControl = new FormControl(null,
1919

2020
@Component({
2121
selector: '<%= options.fieldConfig.selector %>',
22-
standalone: true,
2322
imports: [CommonModule, FormsModule, MatFormFieldModule, MatInputModule, ReactiveFormsModule, TranslocoModule],
2423
templateUrl: './<%= dasherize(options.fieldConfig.name) %>.component.html',
2524
styleUrls: ['./<%= dasherize(options.fieldConfig.name) %>.component.scss'],

src/ng-generate/components/form/generators/components/fields/dateTime/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export const <%= options.fieldConfig.name %>FormControl = new FormControl(null,
2222

2323
@Component({
2424
selector: '<%= options.fieldConfig.selector %>',
25-
standalone: true,
2625
imports: [
2726
CommonModule,
2827
FormsModule,

src/ng-generate/components/form/generators/components/fields/default/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const <%= options.fieldConfig.name %>FormControl = new FormControl(null,
1919

2020
@Component({
2121
selector: '<%= options.fieldConfig.selector %>',
22-
standalone: true,
2322
imports: [CommonModule, FormsModule, MatFormFieldModule, MatInputModule, ReactiveFormsModule, TranslocoModule],
2423
templateUrl: './<%= dasherize(options.fieldConfig.name) %>.component.html',
2524
styleUrls: ['./<%= dasherize(options.fieldConfig.name) %>.component.scss'],

src/ng-generate/components/form/generators/components/fields/duration/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const <%= options.fieldConfig.name %>FormControl = new FormControl(null,
1919

2020
@Component({
2121
selector: '<%= options.fieldConfig.selector %>',
22-
standalone: true,
2322
imports: [CommonModule, FormsModule, MatFormFieldModule, MatInputModule, ReactiveFormsModule, TranslocoModule],
2423
templateUrl: './<%= dasherize(options.fieldConfig.name) %>.component.html',
2524
styleUrls: ['./<%= dasherize(options.fieldConfig.name) %>.component.scss'],

src/ng-generate/components/form/generators/components/fields/either/files/__name@dasherize__.component.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export const <%= options.fieldConfig.name %>FormGroup = new FormGroup<<%= option
4141

4242
@Component({
4343
selector: '<%= options.fieldConfig.selector %>',
44-
standalone: true,
4544
imports: [
4645
CommonModule,
4746
FormsModule,

0 commit comments

Comments
 (0)