aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template6
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template1
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template25
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template29
4 files changed, 61 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template
new file mode 100644
index 00000000..2ccecd12
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template
@@ -0,0 +1,6 @@
+<% if(displayBlock){ if(style != 'sass') { %>:host {
+ display: block;
+}
+<% } else { %>\:host
+ display: block;
+<% }} %> \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template
new file mode 100644
index 00000000..4579e8f9
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template
@@ -0,0 +1 @@
+<p><%= dasherize(name) %> works!</p>
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template
new file mode 100644
index 00000000..66f88629
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template
@@ -0,0 +1,25 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { <%= classify(name) %><%= classify(type) %> } from './<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>';
+
+describe('<%= classify(name) %><%= classify(type) %>', () => {
+ let component: <%= classify(name) %><%= classify(type) %>;
+ let fixture: ComponentFixture<<%= classify(name) %><%= classify(type) %>>;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ <%= classify(name) %><%= classify(type) %> ]
+ })
+ .compileComponents();
+ });
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(<%= classify(name) %><%= classify(type) %>);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template
new file mode 100644
index 00000000..e972ffdc
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template
@@ -0,0 +1,29 @@
+import { Component, OnInit<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
+
+@Component({<% if(!skipSelector) {%>
+ selector: '<%= selector %>',<%}%><% if(inlineTemplate) { %>
+ template: `
+ <p>
+ <%= dasherize(name) %> works!
+ </p>
+ `,<% } else { %>
+ templateUrl: './<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>.html',<% } if(inlineStyle) { %>
+ styles: [<% if(displayBlock){ %>
+ `
+ :host {
+ display: block;
+ }
+ `<% } %>
+ ]<% } else if (style !== 'none') { %>
+ styleUrls: ['./<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>.<%= style %>']<% } %><% if(!!viewEncapsulation) { %>,
+ encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
+ changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %>
+})
+export class <%= classify(name) %><%= classify(type) %> implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}