@gravitee/ui-schematics 12.14.0 → 12.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schematics/components/component-for-dialog/files/__name@dasherize__.component.ts.template +1 -0
- package/schematics/components/component-with-card/files/__name@dasherize__.component.ts.template +1 -0
- package/schematics/components/component-with-form/files/__name@dasherize__.component.ts.template +1 -0
- package/schematics/components/component-with-table/files/__name@dasherize__.component.ts.template +1 -0
package/package.json
CHANGED
package/schematics/components/component-for-dialog/files/__name@dasherize__.component.ts.template
CHANGED
|
@@ -26,6 +26,7 @@ export type <%= classify(name) %>Result = boolean;
|
|
|
26
26
|
templateUrl: './<%= dasherize(name) %>.component.html',
|
|
27
27
|
styleUrls: ['./<%= dasherize(name) %>.component.scss'],
|
|
28
28
|
standalone: true,
|
|
29
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
29
30
|
imports: [MatDialogModule, MatButtonModule],
|
|
30
31
|
})
|
|
31
32
|
export class <%= classify(name) %>Component {
|
package/schematics/components/component-with-card/files/__name@dasherize__.component.ts.template
CHANGED
|
@@ -25,5 +25,6 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
25
25
|
styleUrls: ['./<%= dasherize(name) %>.component.scss'],
|
|
26
26
|
imports: [CommonModule,<% if (isEmptyState) {%> GioCardEmptyStateModule, GioIconsModule,<% } %> MatCardModule, MatButtonModule],
|
|
27
27
|
standalone: true,
|
|
28
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28
29
|
})
|
|
29
30
|
export class <%= classify(name) %>Component {}
|
package/schematics/components/component-with-form/files/__name@dasherize__.component.ts.template
CHANGED
|
@@ -28,6 +28,7 @@ import { GioSaveBarModule } from "@gravitee/ui-particles-angular";
|
|
|
28
28
|
styleUrls: ['./<%= dasherize(name) %>.component.scss'],
|
|
29
29
|
imports: [CommonModule, GioSaveBarModule, MatCardModule, MatFormFieldModule, MatInputModule, ReactiveFormsModule],
|
|
30
30
|
standalone: true,
|
|
31
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
31
32
|
})
|
|
32
33
|
export class <%= classify(name) %>Component {
|
|
33
34
|
public <%= camelize(name) %>Form = new FormGroup({
|
package/schematics/components/component-with-table/files/__name@dasherize__.component.ts.template
CHANGED
|
@@ -26,6 +26,7 @@ import { GioIconsModule, GioLoaderModule } from "@gravitee/ui-particles-angular"
|
|
|
26
26
|
styleUrls: ['./<%= dasherize(name) %>.component.scss'],
|
|
27
27
|
imports: [CommonModule, GioIconsModule, GioLoaderModule, MatButtonModule, MatTableModule, MatTooltipModule],
|
|
28
28
|
standalone: true,
|
|
29
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
29
30
|
})
|
|
30
31
|
export class <%= classify(name) %>Component {
|
|
31
32
|
public displayedColumns = ['name', 'actions'];
|