ng-firebase-table-kxp 1.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/CHANGELOG.md +88 -0
- package/README.md +476 -0
- package/ng-package.json +7 -0
- package/package.json +36 -0
- package/src/lib/components/table/table.component.html +555 -0
- package/src/lib/components/table/table.component.scss +22 -0
- package/src/lib/components/table/table.component.spec.ts +24 -0
- package/src/lib/components/table/table.component.ts +917 -0
- package/src/lib/firebase-table-kxp-lib.component.spec.ts +23 -0
- package/src/lib/firebase-table-kxp-lib.component.ts +15 -0
- package/src/lib/firebase-table-kxp-lib.module.ts +45 -0
- package/src/lib/firebase-table-kxp-lib.service.spec.ts +16 -0
- package/src/lib/firebase-table-kxp-lib.service.ts +9 -0
- package/src/lib/services/table.service.spec.ts +16 -0
- package/src/lib/services/table.service.ts +1235 -0
- package/src/lib/types/Table.ts +142 -0
- package/src/public-api.ts +19 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { FirebaseTableKxpLibComponent } from './firebase-table-kxp-lib.component';
|
|
4
|
+
|
|
5
|
+
describe('FirebaseTableKxpLibComponent', () => {
|
|
6
|
+
let component: FirebaseTableKxpLibComponent;
|
|
7
|
+
let fixture: ComponentFixture<FirebaseTableKxpLibComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ FirebaseTableKxpLibComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(FirebaseTableKxpLibComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
|
|
6
|
+
// Angular Material
|
|
7
|
+
import { MatTableModule } from '@angular/material/table';
|
|
8
|
+
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
9
|
+
import { MatSortModule } from '@angular/material/sort';
|
|
10
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
11
|
+
import { MatInputModule } from '@angular/material/input';
|
|
12
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
13
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
14
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
15
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
+
import { MatDialogModule } from '@angular/material/dialog';
|
|
17
|
+
|
|
18
|
+
// Components
|
|
19
|
+
import { FirebaseTableKxpLibComponent } from './firebase-table-kxp-lib.component';
|
|
20
|
+
import { TableComponent } from './components/table/table.component';
|
|
21
|
+
|
|
22
|
+
// Services
|
|
23
|
+
import { TableService } from './services/table.service';
|
|
24
|
+
|
|
25
|
+
@NgModule({
|
|
26
|
+
declarations: [FirebaseTableKxpLibComponent, TableComponent],
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
ReactiveFormsModule,
|
|
30
|
+
FormsModule,
|
|
31
|
+
RouterModule,
|
|
32
|
+
MatTableModule,
|
|
33
|
+
MatPaginatorModule,
|
|
34
|
+
MatSortModule,
|
|
35
|
+
MatFormFieldModule,
|
|
36
|
+
MatInputModule,
|
|
37
|
+
MatSelectModule,
|
|
38
|
+
MatTooltipModule,
|
|
39
|
+
MatProgressSpinnerModule,
|
|
40
|
+
MatIconModule,
|
|
41
|
+
MatDialogModule,
|
|
42
|
+
],
|
|
43
|
+
exports: [FirebaseTableKxpLibComponent, TableComponent],
|
|
44
|
+
})
|
|
45
|
+
export class FirebaseTableKxpLibModule {}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { FirebaseTableKxpLibService } from './firebase-table-kxp-lib.service';
|
|
4
|
+
|
|
5
|
+
describe('FirebaseTableKxpLibService', () => {
|
|
6
|
+
let service: FirebaseTableKxpLibService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(FirebaseTableKxpLibService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { TableService } from './table.service';
|
|
4
|
+
|
|
5
|
+
describe('TableService', () => {
|
|
6
|
+
let service: TableService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(TableService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|