sapenlinea-components 0.0.4
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/README.md +63 -0
- package/ng-package.json +15 -0
- package/package.json +12 -0
- package/src/lib/components/my-component/my-component.css +0 -0
- package/src/lib/components/my-component/my-component.html +1 -0
- package/src/lib/components/my-component/my-component.spec.ts +23 -0
- package/src/lib/components/my-component/my-component.ts +11 -0
- package/src/lib/components/pagination/pagination.css +181 -0
- package/src/lib/components/pagination/pagination.html +70 -0
- package/src/lib/components/pagination/pagination.spec.ts +23 -0
- package/src/lib/components/pagination/pagination.ts +56 -0
- package/src/lib/sapenlinea-components.spec.ts +23 -0
- package/src/lib/sapenlinea-components.ts +15 -0
- package/src/public-api.ts +6 -0
- package/tsconfig.lib.json +18 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# SapenlineaComponents
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build sapenlinea-components
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
```bash
|
|
35
|
+
cd dist/sapenlinea-components
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
+
```bash
|
|
40
|
+
npm publish
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Running unit tests
|
|
44
|
+
|
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng test
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Running end-to-end tests
|
|
52
|
+
|
|
53
|
+
For end-to-end (e2e) testing, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ng e2e
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
+
|
|
61
|
+
## Additional Resources
|
|
62
|
+
|
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
package/ng-package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
+
"dest": "../../dist/sapenlinea-components",
|
|
4
|
+
"lib": {
|
|
5
|
+
"entryFile": "src/public-api.ts"
|
|
6
|
+
},
|
|
7
|
+
"allowedNonPeerDependencies": [
|
|
8
|
+
"@angular/common",
|
|
9
|
+
"@angular/core",
|
|
10
|
+
"@angular/forms",
|
|
11
|
+
"@angular/platform-browser",
|
|
12
|
+
"@angular/platform-browser-dynamic",
|
|
13
|
+
"@angular/router"
|
|
14
|
+
]
|
|
15
|
+
}
|
package/package.json
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>my-component works!</p>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MyComponent } from './my-component';
|
|
4
|
+
|
|
5
|
+
describe('MyComponent', () => {
|
|
6
|
+
let component: MyComponent;
|
|
7
|
+
let fixture: ComponentFixture<MyComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [MyComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(MyComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
.pagination-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
padding: 8px 0;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.pagination {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
gap: 12px;
|
|
14
|
+
padding: 12px;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
flex: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.icon-button {
|
|
20
|
+
width: 40px;
|
|
21
|
+
height: 40px;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
background: var(--primary, #596300);
|
|
24
|
+
color: var(--surface, #ffffff);
|
|
25
|
+
border: none;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
|
|
33
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
34
|
+
transition: background 0.2s ease, transform 0.1s ease;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.icon-button:disabled {
|
|
38
|
+
background: #969696;
|
|
39
|
+
color: var(--on-surface, #171c1f);
|
|
40
|
+
opacity: 0.45;
|
|
41
|
+
cursor: not-allowed;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.pages {
|
|
45
|
+
display: flex;
|
|
46
|
+
gap: 4px;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
border-radius: 20px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.page-btn {
|
|
52
|
+
background: var(--secondary-container, #dee58f);
|
|
53
|
+
width: 40px;
|
|
54
|
+
height: 40px;
|
|
55
|
+
border: none;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
padding: 8px 14px;
|
|
58
|
+
font-size: 14px;
|
|
59
|
+
color: var(--schemes-on-surface, #3a3a3a);
|
|
60
|
+
font-family: "Roboto", sans-serif;
|
|
61
|
+
border-radius: 8px;
|
|
62
|
+
transition: background 0.2s ease;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.page-btn:hover:not(.active) {
|
|
66
|
+
background: var(--schemes-on-secondary-container, #61661f);
|
|
67
|
+
color: var(--schemes-secondary-container, #dee58f);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.page-btn.active {
|
|
71
|
+
background: var(--schemes-primary, #596300);
|
|
72
|
+
color: var(--schemes-on-primary, #ffffff);
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
border-radius: 20px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.pagination-v-4 {
|
|
78
|
+
display: flex;
|
|
79
|
+
gap: 10px;
|
|
80
|
+
align-items: center;
|
|
81
|
+
margin-left: auto;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.label-pagination {
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
color: var(--schemes-on-surface);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.elements-pagination {
|
|
91
|
+
position: relative;
|
|
92
|
+
display: flex;
|
|
93
|
+
gap: 4px;
|
|
94
|
+
border-radius: 20px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.split-button {
|
|
98
|
+
display: flex;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
border-radius: 20px;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.leading-button {
|
|
105
|
+
background: var(--schemes-secondary-container);
|
|
106
|
+
border-radius: 20px 4px 4px 20px;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
height: 40px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.state-layer {
|
|
113
|
+
padding: 10px 16px;
|
|
114
|
+
background-color: #dee58f;
|
|
115
|
+
margin-right: 4px;
|
|
116
|
+
border-radius: 8px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.state-layer:open {
|
|
120
|
+
color: #f5f5e0;
|
|
121
|
+
background-color: #596300;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.label {
|
|
125
|
+
font-size: 14px;
|
|
126
|
+
font-weight: 500;
|
|
127
|
+
color: var(--schemes-on-secondary-container);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.trailing-button {
|
|
131
|
+
background: var(--secondary-container, #dee58f);
|
|
132
|
+
padding-left: 12px;
|
|
133
|
+
padding-right: 12px;
|
|
134
|
+
border: none;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
font-size: 14px;
|
|
137
|
+
color: var(--schemes-on-surface, #3a3a3a);
|
|
138
|
+
font-family: "Roboto", sans-serif;
|
|
139
|
+
border-radius: 8px;
|
|
140
|
+
transition: background 0.2s ease;
|
|
141
|
+
align-items: center;
|
|
142
|
+
align-content: center;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.arrow {
|
|
146
|
+
width: 20px;
|
|
147
|
+
height: 20px;
|
|
148
|
+
color: #171c1f;
|
|
149
|
+
transition: transform 0.25s ease;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.arrow.open {
|
|
153
|
+
transform: rotate(180deg);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.page-size-menu {
|
|
157
|
+
background: #f5f5e0;
|
|
158
|
+
position: absolute;
|
|
159
|
+
min-width: 100px;
|
|
160
|
+
border-radius: 4px;
|
|
161
|
+
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
z-index: 999;
|
|
164
|
+
bottom: 50px;
|
|
165
|
+
right: 0;
|
|
166
|
+
transform-origin: top right;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.menu-option {
|
|
170
|
+
padding: 8px 12px;
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.menu-option:hover {
|
|
175
|
+
background: #dee58f5b;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.menu-option.active {
|
|
179
|
+
background: #dee58f;
|
|
180
|
+
color: #61661f;
|
|
181
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<div class="pagination-container">
|
|
2
|
+
<div class="pagination">
|
|
3
|
+
<!-- Botón doble atrás -->
|
|
4
|
+
<button class="icon-button" (click)="goToPage(1)" [disabled]="page === 1">
|
|
5
|
+
««
|
|
6
|
+
</button>
|
|
7
|
+
|
|
8
|
+
<!-- Botón atrás -->
|
|
9
|
+
<button class="icon-button" (click)="goToPage(page - 1)" [disabled]="page === 1">
|
|
10
|
+
«
|
|
11
|
+
</button>
|
|
12
|
+
|
|
13
|
+
<!-- Números de página -->
|
|
14
|
+
<div class="pages">
|
|
15
|
+
<button
|
|
16
|
+
class="page-btn"
|
|
17
|
+
*ngFor="let p of pages(); let idx = index"
|
|
18
|
+
[class.active]="page === idx + 1"
|
|
19
|
+
(click)="goToPage(idx + 1)"
|
|
20
|
+
>
|
|
21
|
+
{{ idx + 1 }}
|
|
22
|
+
</button>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<!-- Botón siguiente -->
|
|
26
|
+
<button class="icon-button" (click)="goToPage(page + 1)" [disabled]="page === totalPages()">
|
|
27
|
+
»
|
|
28
|
+
</button>
|
|
29
|
+
|
|
30
|
+
<!-- Botón doble adelante -->
|
|
31
|
+
<button class="icon-button" (click)="goToPage(totalPages())" [disabled]="page === totalPages()">
|
|
32
|
+
»»
|
|
33
|
+
</button>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<!-- Selector Items por página -->
|
|
37
|
+
<div *ngIf="showPageSizeSelector">
|
|
38
|
+
<div class="pagination-v-4">
|
|
39
|
+
<div class="label-pagination">Items por página</div>
|
|
40
|
+
<div class="elements-pagination">
|
|
41
|
+
<div class="split-button" (click)="togglePageSizeMenu()">
|
|
42
|
+
<div class="leading-button">
|
|
43
|
+
<div class="state-layer">
|
|
44
|
+
<div class="label">{{ pageSizeValue() }}</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="trailing-button">
|
|
48
|
+
<div class="arrow" [class.open]="isOpen()">
|
|
49
|
+
<svg class="arrow" viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-width="2">
|
|
50
|
+
<polyline points="6 9 12 15 18 9"></polyline>
|
|
51
|
+
</svg>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<!-- Menú desplegable -->
|
|
57
|
+
<div class="page-size-menu" *ngIf="showPageSizeMenu()">
|
|
58
|
+
<div
|
|
59
|
+
class="menu-option"
|
|
60
|
+
*ngFor="let opt of pageSizeOptions"
|
|
61
|
+
[class.active]="opt === pageSizeValue()"
|
|
62
|
+
(click)="selectPageSize(opt)"
|
|
63
|
+
>
|
|
64
|
+
{{ opt }}
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { Pagination } from './pagination';
|
|
4
|
+
|
|
5
|
+
describe('Pagination', () => {
|
|
6
|
+
let component: Pagination;
|
|
7
|
+
let fixture: ComponentFixture<Pagination>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [Pagination]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(Pagination);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter, computed, signal } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'app-pagination',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [CommonModule],
|
|
8
|
+
templateUrl: './pagination.html',
|
|
9
|
+
styleUrls: ['./pagination.css']
|
|
10
|
+
})
|
|
11
|
+
export class PaginationComponent {
|
|
12
|
+
@Input() page = 1;
|
|
13
|
+
@Input() pageSize = 10;
|
|
14
|
+
@Input() totalItems = 0;
|
|
15
|
+
|
|
16
|
+
@Input() showPageSizeSelector = false;
|
|
17
|
+
@Input() pageSizeOptions: number[] = [5, 10, 20, 50];
|
|
18
|
+
|
|
19
|
+
@Output() pageChange = new EventEmitter<number>();
|
|
20
|
+
@Output() pageSizeChange = new EventEmitter<number>();
|
|
21
|
+
|
|
22
|
+
pageSizeValue = signal(this.pageSize);
|
|
23
|
+
isOpen = signal(false);
|
|
24
|
+
isDisabled = signal(false);
|
|
25
|
+
showPageSizeMenu = signal(false);
|
|
26
|
+
|
|
27
|
+
totalPages = computed(() => {
|
|
28
|
+
const size = this.pageSizeValue();
|
|
29
|
+
const total = this.totalItems;
|
|
30
|
+
return size > 0 ? Math.ceil(total / size) : 1;
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
pages = computed(() => {
|
|
34
|
+
const tp = this.totalPages();
|
|
35
|
+
return Array.from({ length: tp }, (_, i) => i + 1);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
selectedPageSize = computed(() => this.pageSizeValue());
|
|
39
|
+
|
|
40
|
+
goToPage(p: number) {
|
|
41
|
+
if (p < 1 || p > this.totalPages()) return;
|
|
42
|
+
this.pageChange.emit(p);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
togglePageSizeMenu() {
|
|
46
|
+
this.isOpen.update(v => !v);
|
|
47
|
+
this.showPageSizeMenu.update(v => !v);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
selectPageSize(size: number) {
|
|
51
|
+
this.pageSizeValue.set(size);
|
|
52
|
+
this.pageSizeChange.emit(size);
|
|
53
|
+
this.showPageSizeMenu.set(false);
|
|
54
|
+
this.isOpen.set(false);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { SapenlineaComponents } from './sapenlinea-components';
|
|
4
|
+
|
|
5
|
+
describe('SapenlineaComponents', () => {
|
|
6
|
+
let component: SapenlineaComponents;
|
|
7
|
+
let fixture: ComponentFixture<SapenlineaComponents>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [SapenlineaComponents]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(SapenlineaComponents);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/lib",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"inlineSources": true,
|
|
10
|
+
"types": []
|
|
11
|
+
},
|
|
12
|
+
"include": [
|
|
13
|
+
"src/**/*.ts"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"**/*.spec.ts"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.lib.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"declarationMap": false
|
|
7
|
+
},
|
|
8
|
+
"angularCompilerOptions": {
|
|
9
|
+
"compilationMode": "partial"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/spec",
|
|
7
|
+
"types": [
|
|
8
|
+
"jasmine"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"src/**/*.d.ts",
|
|
13
|
+
"src/**/*.spec.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|