@yomotech/view-toolkit 0.0.3 → 0.0.5
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/fesm2022/yomotech-view-toolkit.mjs +3539 -0
- package/fesm2022/yomotech-view-toolkit.mjs.map +1 -0
- package/package.json +51 -36
- package/types/yomotech-view-toolkit.d.ts +653 -0
- package/ng-package.json +0 -7
- package/src/lib/app-version.ts +0 -2
- package/src/lib/containers/card/card.component.css +0 -0
- package/src/lib/containers/card/card.component.html +0 -449
- package/src/lib/containers/card/card.component.ts +0 -471
- package/src/lib/containers/form/form.component.css +0 -0
- package/src/lib/containers/form/form.component.html +0 -1
- package/src/lib/containers/form/form.component.ts +0 -12
- package/src/lib/containers/grid/grid.component.css +0 -0
- package/src/lib/containers/grid/grid.component.html +0 -1
- package/src/lib/containers/grid/grid.component.ts +0 -12
- package/src/lib/containers/pagination/pagination.component.css +0 -0
- package/src/lib/containers/pagination/pagination.component.html +0 -1
- package/src/lib/containers/pagination/pagination.component.ts +0 -12
- package/src/lib/services/app-version-reset.service.ts +0 -59
- package/src/lib/services/config.service.ts +0 -128
- package/src/lib/services/couchdb.ts +0 -224
- package/src/lib/services/mobile-keycloak.service.ts +0 -116
- package/src/lib/services/network-log.service.ts +0 -27
- package/src/lib/services/notification.service.ts +0 -26
- package/src/lib/services/pouchdb.service.ts +0 -183
- package/src/lib/services/request.service.ts +0 -125
- package/src/lib/services/utility.service.ts +0 -593
- package/src/lib/view-toolkit.module.ts +0 -25
- package/src/lib/view-toolkit.spec.ts +0 -23
- package/src/lib/view-toolkit.ts +0 -15
- package/src/public-api.ts +0 -22
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// lib/view-toolkit.module.ts
|
|
2
|
-
|
|
3
|
-
import { CommonModule } from "@angular/common";
|
|
4
|
-
import { GridComponent } from "./containers/grid/grid.component";
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { CardComponent } from "./containers/card/card.component";
|
|
7
|
-
import { FormComponent } from "./containers/form/form.component";
|
|
8
|
-
import { PaginationComponent } from "./containers/pagination/pagination.component";
|
|
9
|
-
|
|
10
|
-
@NgModule({
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule,
|
|
13
|
-
CardComponent,
|
|
14
|
-
FormComponent,
|
|
15
|
-
GridComponent,
|
|
16
|
-
PaginationComponent
|
|
17
|
-
],
|
|
18
|
-
exports: [
|
|
19
|
-
CardComponent,
|
|
20
|
-
FormComponent,
|
|
21
|
-
GridComponent,
|
|
22
|
-
PaginationComponent
|
|
23
|
-
]
|
|
24
|
-
})
|
|
25
|
-
export class ViewToolkitModule { }
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { ViewToolkit } from './view-toolkit';
|
|
4
|
-
|
|
5
|
-
describe('ViewToolkit', () => {
|
|
6
|
-
let component: ViewToolkit;
|
|
7
|
-
let fixture: ComponentFixture<ViewToolkit>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [ViewToolkit]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(ViewToolkit);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
await fixture.whenStable();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/src/lib/view-toolkit.ts
DELETED
package/src/public-api.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of view-toolkit
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export * from './lib/view-toolkit.module';
|
|
6
|
-
|
|
7
|
-
// container
|
|
8
|
-
export * from './lib/containers/card/card.component';
|
|
9
|
-
export * from './lib/containers/form/form.component';
|
|
10
|
-
export * from './lib/containers/grid/grid.component';
|
|
11
|
-
export * from './lib/containers/pagination/pagination.component';
|
|
12
|
-
|
|
13
|
-
// services
|
|
14
|
-
export * from './lib/services/app-version-reset.service';
|
|
15
|
-
export * from './lib/services/config.service';
|
|
16
|
-
export * from './lib/services/couchdb';
|
|
17
|
-
export * from './lib/services/mobile-keycloak.service';
|
|
18
|
-
export * from './lib/services/network-log.service';
|
|
19
|
-
export * from './lib/services/notification.service';
|
|
20
|
-
export * from './lib/services/pouchdb.service';
|
|
21
|
-
export * from './lib/services/request.service';
|
|
22
|
-
export * from './lib/services/utility.service';
|
package/tsconfig.lib.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
"types": []
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.ts"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"**/*.spec.ts"
|
|
16
|
-
]
|
|
17
|
-
}
|
package/tsconfig.lib.prod.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
package/tsconfig.spec.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
"vitest/globals"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"src/**/*.d.ts",
|
|
13
|
-
"src/**/*.spec.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|