ngx-redi-core 0.0.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/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +27 -0
- package/angular.json +136 -0
- package/package.json +42 -0
- package/projects/ngx-redi-core/Helper/index.ts +2 -0
- package/projects/ngx-redi-core/Helper/ng-package.json +6 -0
- package/projects/ngx-redi-core/Helper/public-api.ts +1 -0
- package/projects/ngx-redi-core/Helper/src/helpers/csv.service.spec.ts +16 -0
- package/projects/ngx-redi-core/Helper/src/helpers/csv.service.ts +67 -0
- package/projects/ngx-redi-core/README.md +24 -0
- package/projects/ngx-redi-core/RediTable/index.ts +2 -0
- package/projects/ngx-redi-core/RediTable/ng-package.json +6 -0
- package/projects/ngx-redi-core/RediTable/public-api.ts +9 -0
- package/projects/ngx-redi-core/RediTable/src/models/interfaces/column-definition.ts +14 -0
- package/projects/ngx-redi-core/RediTable/src/models/interfaces/data-table.ts +28 -0
- package/projects/ngx-redi-core/RediTable/src/models/interfaces/row-action.ts +32 -0
- package/projects/ngx-redi-core/RediTable/src/models/types/event-table.type.spec.ts +7 -0
- package/projects/ngx-redi-core/RediTable/src/models/types/event-table.type.ts +3 -0
- package/projects/ngx-redi-core/RediTable/src/modules/redi-table/redi-table.component.css +106 -0
- package/projects/ngx-redi-core/RediTable/src/modules/redi-table/redi-table.component.html +70 -0
- package/projects/ngx-redi-core/RediTable/src/modules/redi-table/redi-table.component.spec.ts +162 -0
- package/projects/ngx-redi-core/RediTable/src/modules/redi-table/redi-table.component.ts +322 -0
- package/projects/ngx-redi-core/RediTable/src/modules/redi-table.module.ts +32 -0
- package/projects/ngx-redi-core/ng-package.json +7 -0
- package/projects/ngx-redi-core/package.json +12 -0
- package/projects/ngx-redi-core/src/lib/ngx-redi-core.component.spec.ts +23 -0
- package/projects/ngx-redi-core/src/lib/ngx-redi-core.component.ts +16 -0
- package/projects/ngx-redi-core/src/lib/ngx-redi-core.service.spec.ts +16 -0
- package/projects/ngx-redi-core/src/lib/ngx-redi-core.service.ts +9 -0
- package/projects/ngx-redi-core/src/public-api.ts +6 -0
- package/projects/ngx-redi-core/tsconfig.lib.json +14 -0
- package/projects/ngx-redi-core/tsconfig.lib.prod.json +10 -0
- package/projects/ngx-redi-core/tsconfig.spec.json +14 -0
- package/projects/ui-ngx-redi-core/src/app/app.component.html +28 -0
- package/projects/ui-ngx-redi-core/src/app/app.component.scss +53 -0
- package/projects/ui-ngx-redi-core/src/app/app.component.spec.ts +29 -0
- package/projects/ui-ngx-redi-core/src/app/app.component.ts +38 -0
- package/projects/ui-ngx-redi-core/src/app/app.config.ts +9 -0
- package/projects/ui-ngx-redi-core/src/app/app.routes.ts +12 -0
- package/projects/ui-ngx-redi-core/src/app/models/interfaces/componetDemo.interface.ts +6 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/demo-routing.module.ts +18 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/demo.module.ts +14 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.html +1 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.scss +0 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.spec.ts +23 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.ts +12 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-table-demo/redi-table-demo.component.html +2 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-table-demo/redi-table-demo.component.scss +0 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-table-demo/redi-table-demo.component.spec.ts +23 -0
- package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-table-demo/redi-table-demo.component.ts +13 -0
- package/projects/ui-ngx-redi-core/src/app/services/components.service.spec.ts +16 -0
- package/projects/ui-ngx-redi-core/src/app/services/components.service.ts +22 -0
- package/projects/ui-ngx-redi-core/src/assets/.gitkeep +0 -0
- package/projects/ui-ngx-redi-core/src/assets/images/angular-white-transparent.png +0 -0
- package/projects/ui-ngx-redi-core/src/favicon.ico +0 -0
- package/projects/ui-ngx-redi-core/src/index.html +15 -0
- package/projects/ui-ngx-redi-core/src/main.ts +6 -0
- package/projects/ui-ngx-redi-core/src/styles.scss +16 -0
- package/projects/ui-ngx-redi-core/tsconfig.app.json +14 -0
- package/projects/ui-ngx-redi-core/tsconfig.spec.json +14 -0
- package/tsconfig.json +38 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": []
|
|
10
|
+
},
|
|
11
|
+
"exclude": [
|
|
12
|
+
"**/*.spec.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"**/*.spec.ts",
|
|
12
|
+
"**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<nav class="docs-navbar-header">
|
|
2
|
+
<a mat-fab extended>
|
|
3
|
+
<mat-icon>developer_mode</mat-icon>
|
|
4
|
+
Biblioteca ngx-redi-core 1.2.5
|
|
5
|
+
</a>
|
|
6
|
+
<a mat-fab extended>
|
|
7
|
+
<img src="./assets/images/angular-white-transparent.png">
|
|
8
|
+
17.2.1
|
|
9
|
+
</a>
|
|
10
|
+
</nav>
|
|
11
|
+
<div class="main-container">
|
|
12
|
+
<div id="menu">
|
|
13
|
+
<mat-list-item>
|
|
14
|
+
<mat-icon>ballot</mat-icon>
|
|
15
|
+
Componentes
|
|
16
|
+
</mat-list-item>
|
|
17
|
+
<mat-divider></mat-divider>
|
|
18
|
+
<mat-selection-list [multiple]="false" #menu>
|
|
19
|
+
@for (component of components; track component) {
|
|
20
|
+
<a mat-list-item value="component" [routerLink]="['demo/'+component.path]"
|
|
21
|
+
[class.selected]="component.isActive">{{component.name}}</a>
|
|
22
|
+
}
|
|
23
|
+
</mat-selection-list>
|
|
24
|
+
</div>
|
|
25
|
+
<div>
|
|
26
|
+
<router-outlet></router-outlet>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.docs-navbar-header {
|
|
2
|
+
background: #3f51b5;
|
|
3
|
+
color: white;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 4px 16px;
|
|
8
|
+
box-shadow: 0 3px 5px -1px #0003, 0 6px 10px #00000024, 0 1px 18px #0000001f;
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
z-index: 2;
|
|
14
|
+
height: 56px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#menu {
|
|
18
|
+
width: 240px;
|
|
19
|
+
overflow: auto;
|
|
20
|
+
border-right: 1px solid rgba(0, 0, 0, .12);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.main-container {
|
|
24
|
+
height: calc(100vh - 65px);
|
|
25
|
+
margin-top: 65px;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
|
|
29
|
+
div {
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
nav {
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
align-content: center;
|
|
38
|
+
|
|
39
|
+
img {
|
|
40
|
+
width: 45px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
a {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-items: center;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.selected {
|
|
52
|
+
background: #3f51b56e
|
|
53
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
import { AppComponent } from './app.component';
|
|
3
|
+
|
|
4
|
+
describe('AppComponent', () => {
|
|
5
|
+
beforeEach(async () => {
|
|
6
|
+
await TestBed.configureTestingModule({
|
|
7
|
+
imports: [AppComponent],
|
|
8
|
+
}).compileComponents();
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
it('should create the app', () => {
|
|
12
|
+
const fixture = TestBed.createComponent(AppComponent);
|
|
13
|
+
const app = fixture.componentInstance;
|
|
14
|
+
expect(app).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it(`should have the 'ui-ngx-redi-core' title`, () => {
|
|
18
|
+
const fixture = TestBed.createComponent(AppComponent);
|
|
19
|
+
const app = fixture.componentInstance;
|
|
20
|
+
expect(app.title).toEqual('ui-ngx-redi-core');
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
it('should render title', () => {
|
|
24
|
+
const fixture = TestBed.createComponent(AppComponent);
|
|
25
|
+
fixture.detectChanges();
|
|
26
|
+
const compiled = fixture.nativeElement as HTMLElement;
|
|
27
|
+
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, ui-ngx-redi-core');
|
|
28
|
+
});
|
|
29
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { RouterModule, RouterOutlet } from '@angular/router';
|
|
3
|
+
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import { MatListModule, MatSelectionListChange } from '@angular/material/list';
|
|
6
|
+
import { ComponentsService } from './services/components.service';
|
|
7
|
+
import { ComponentDemo } from './models/interfaces/componetDemo.interface';
|
|
8
|
+
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'app-root',
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [RouterOutlet,
|
|
13
|
+
MatIconModule,
|
|
14
|
+
MatListModule,
|
|
15
|
+
RouterModule],
|
|
16
|
+
templateUrl: './app.component.html',
|
|
17
|
+
styleUrl: './app.component.scss'
|
|
18
|
+
})
|
|
19
|
+
export class AppComponent implements OnInit {
|
|
20
|
+
public title = 'ui-ngx-redi-core';
|
|
21
|
+
public components: Array<ComponentDemo>;
|
|
22
|
+
public currentComponent!: ComponentDemo;
|
|
23
|
+
|
|
24
|
+
constructor(private readonly componentServices: ComponentsService) {
|
|
25
|
+
this.components = [];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public ngOnInit(): void {
|
|
29
|
+
this.componentServices.obtenerComponentes().subscribe(c => {
|
|
30
|
+
this.components = c;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public seleccionarComponente(event: MatSelectionListChange) {
|
|
35
|
+
debugger
|
|
36
|
+
console.log(event);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ApplicationConfig } from '@angular/core';
|
|
2
|
+
import { provideRouter } from '@angular/router';
|
|
3
|
+
|
|
4
|
+
import { routes } from './app.routes';
|
|
5
|
+
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
|
6
|
+
|
|
7
|
+
export const appConfig: ApplicationConfig = {
|
|
8
|
+
providers: [provideRouter(routes), provideAnimationsAsync()]
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
import { AppComponent } from './app.component';
|
|
3
|
+
|
|
4
|
+
export const routes: Routes = [{
|
|
5
|
+
path: '',
|
|
6
|
+
children: [
|
|
7
|
+
{
|
|
8
|
+
path: 'demo',
|
|
9
|
+
loadChildren: () => import('./modules/demo/demo.module').then(m => m.DemoModule)
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { RouterModule, Routes } from '@angular/router';
|
|
3
|
+
import { RediGridDemoComponent } from './redi-grid-demo/redi-grid-demo.component';
|
|
4
|
+
import { RediTableDemoComponent } from './redi-table-demo/redi-table-demo.component';
|
|
5
|
+
|
|
6
|
+
const routes: Routes = [
|
|
7
|
+
{ path: 'redi-grid', component: RediGridDemoComponent },
|
|
8
|
+
{ path: 'redi-table', component: RediTableDemoComponent }
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
@NgModule({
|
|
12
|
+
declarations: [],
|
|
13
|
+
imports: [
|
|
14
|
+
RouterModule.forChild(routes)
|
|
15
|
+
],
|
|
16
|
+
exports: [RouterModule]
|
|
17
|
+
})
|
|
18
|
+
export class DemoRoutingModule { }
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { DemoRoutingModule } from './demo-routing.module';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
declarations: [],
|
|
9
|
+
imports: [
|
|
10
|
+
CommonModule,
|
|
11
|
+
DemoRoutingModule
|
|
12
|
+
]
|
|
13
|
+
})
|
|
14
|
+
export class DemoModule { }
|
package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>redi-grid-demo works!</p>
|
package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.scss
ADDED
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { RediGridDemoComponent } from './redi-grid-demo.component';
|
|
4
|
+
|
|
5
|
+
describe('RediGridDemoComponent', () => {
|
|
6
|
+
let component: RediGridDemoComponent;
|
|
7
|
+
let fixture: ComponentFixture<RediGridDemoComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [RediGridDemoComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(RediGridDemoComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-grid-demo/redi-grid-demo.component.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'app-redi-grid-demo',
|
|
5
|
+
standalone: true,
|
|
6
|
+
imports: [],
|
|
7
|
+
templateUrl: './redi-grid-demo.component.html',
|
|
8
|
+
styleUrl: './redi-grid-demo.component.scss'
|
|
9
|
+
})
|
|
10
|
+
export class RediGridDemoComponent {
|
|
11
|
+
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { RediTableDemoComponent } from './redi-table-demo.component';
|
|
4
|
+
|
|
5
|
+
describe('RediTableDemoComponent', () => {
|
|
6
|
+
let component: RediTableDemoComponent;
|
|
7
|
+
let fixture: ComponentFixture<RediTableDemoComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [RediTableDemoComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(RediTableDemoComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
package/projects/ui-ngx-redi-core/src/app/modules/demo/redi-table-demo/redi-table-demo.component.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { RediTableModule } from 'ngx-redi-core/RediTable';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'app-redi-table-demo',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [RediTableModule],
|
|
8
|
+
templateUrl: './redi-table-demo.component.html',
|
|
9
|
+
styleUrl: './redi-table-demo.component.scss'
|
|
10
|
+
})
|
|
11
|
+
export class RediTableDemoComponent {
|
|
12
|
+
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ComponentsService } from './components.service';
|
|
4
|
+
|
|
5
|
+
describe('ComponentsService', () => {
|
|
6
|
+
let service: ComponentsService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(ComponentsService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { ComponentDemo } from '../models/interfaces/componetDemo.interface';
|
|
3
|
+
import { Observable, of } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@Injectable({
|
|
7
|
+
providedIn: 'root'
|
|
8
|
+
})
|
|
9
|
+
export class ComponentsService {
|
|
10
|
+
obtenerComponentes(): Observable<Array<ComponentDemo>> {
|
|
11
|
+
return of([{
|
|
12
|
+
name: 'RediTable',
|
|
13
|
+
path: 'redi-table',
|
|
14
|
+
icon: 'table'
|
|
15
|
+
}, {
|
|
16
|
+
name: 'RediGrid',
|
|
17
|
+
path: 'redi-grid',
|
|
18
|
+
icon: 'grid'
|
|
19
|
+
}
|
|
20
|
+
] as Array<ComponentDemo>);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>UiNgxRediCore</title>
|
|
6
|
+
<base href="/">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
9
|
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
|
|
10
|
+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
11
|
+
</head>
|
|
12
|
+
<body class="mat-typography">
|
|
13
|
+
<app-root></app-root>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* You can add global styles to this file, and also import other style files */
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body {
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
position: absolute;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
margin: 0;
|
|
15
|
+
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/app",
|
|
6
|
+
"types": []
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"src/main.ts"
|
|
10
|
+
],
|
|
11
|
+
"include": [
|
|
12
|
+
"src/**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"src/**/*.spec.ts",
|
|
12
|
+
"src/**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"compileOnSave": false,
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "./dist/out-tsc",
|
|
6
|
+
"forceConsistentCasingInFileNames": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noImplicitOverride": true,
|
|
9
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
10
|
+
"noImplicitReturns": true,
|
|
11
|
+
"noFallthroughCasesInSwitch": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"paths": {
|
|
14
|
+
"ngx-redi-core": [
|
|
15
|
+
"./dist/ngx-redi-core"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"esModuleInterop": true,
|
|
19
|
+
"sourceMap": true,
|
|
20
|
+
"declaration": false,
|
|
21
|
+
"experimentalDecorators": true,
|
|
22
|
+
"moduleResolution": "node",
|
|
23
|
+
"importHelpers": true,
|
|
24
|
+
"target": "ES2022",
|
|
25
|
+
"module": "ES2022",
|
|
26
|
+
"useDefineForClassFields": false,
|
|
27
|
+
"lib": [
|
|
28
|
+
"ES2022",
|
|
29
|
+
"dom"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"angularCompilerOptions": {
|
|
33
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
34
|
+
"strictInjectionParameters": true,
|
|
35
|
+
"strictInputAccessModifiers": true,
|
|
36
|
+
"strictTemplates": true
|
|
37
|
+
}
|
|
38
|
+
}
|