@eo4geo/ngx-bok-visualization 1.3.13 → 1.3.15
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 +179 -179
- package/fesm2022/eo4geo-ngx-bok-visualization.mjs +85 -15
- package/fesm2022/eo4geo-ngx-bok-visualization.mjs.map +1 -1
- package/lib/model/DeprecatedConcept.d.ts +13 -0
- package/lib/services/bok-firebase.service.d.ts +4 -0
- package/lib/services/bok-information.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { DeprecatedConcept } from '../model/DeprecatedConcept';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BokFirebaseService {
|
|
5
6
|
private http;
|
|
@@ -7,6 +8,8 @@ export declare class BokFirebaseService {
|
|
|
7
8
|
private versionsMap$;
|
|
8
9
|
private currentVersion$;
|
|
9
10
|
private URL_BASE;
|
|
11
|
+
private db;
|
|
12
|
+
private deprecatedConceptsCollection;
|
|
10
13
|
constructor(http: HttpClient);
|
|
11
14
|
getBokVersion(version: string): Observable<any>;
|
|
12
15
|
getOldVersionsData(): Observable<Map<string, number> | undefined>;
|
|
@@ -14,6 +17,7 @@ export declare class BokFirebaseService {
|
|
|
14
17
|
private getCurrentVersion;
|
|
15
18
|
private getDataFromFirebase;
|
|
16
19
|
checkConcept(conceptCode: string, bokversion: string): Observable<string>;
|
|
20
|
+
getDeprecatedConcept(conceptCode: string): Observable<DeprecatedConcept | null>;
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BokFirebaseService, never>;
|
|
18
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<BokFirebaseService>;
|
|
19
23
|
}
|
|
@@ -5,9 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class BokInformationService {
|
|
6
6
|
private bokDataService;
|
|
7
7
|
private bokFirebaseService;
|
|
8
|
+
private deprecatedConceptsCache;
|
|
8
9
|
constructor(bokDataService: BokDataService, bokFirebaseService: BokFirebaseService);
|
|
9
10
|
getConceptColor(code: string): Observable<string>;
|
|
10
11
|
getConceptName(code: string): Observable<string>;
|
|
12
|
+
private getDeprecatedConcept;
|
|
11
13
|
getKnowledgeAreas(code: string): Observable<string[]>;
|
|
12
14
|
getConceptSkills(code: string): Observable<string[]>;
|
|
13
15
|
private checkParents;
|