@thecodeblogs/blog 0.20.6 → 0.30.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/fesm2022/thecodeblogs-blog.mjs +277 -20
- package/fesm2022/thecodeblogs-blog.mjs.map +1 -1
- package/lib/components/main/main.component.d.ts +6 -1
- package/lib/components/media-upload-modal/media-upload-modal.component.d.ts +2 -0
- package/lib/data/api-compatibility-result.d.ts +8 -0
- package/lib/data/generated-compatibility.d.ts +2 -0
- package/lib/data/sync-config.d.ts +6 -0
- package/lib/services/api-compatibility.service.d.ts +23 -0
- package/lib/services/sync-config.service.d.ts +12 -0
- package/package.json +1 -1
- package/version.json +1 -0
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { Subject, Subscription } from 'rxjs';
|
|
4
|
+
import { ApiCompatibilityResult } from '../../data/api-compatibility-result';
|
|
5
|
+
import { ApiCompatibilityService } from '../../services/api-compatibility.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class MainComponent implements OnInit, OnDestroy {
|
|
6
8
|
private router;
|
|
9
|
+
private apiCompatibilityService;
|
|
7
10
|
loaded: boolean;
|
|
8
11
|
subs: Subscription;
|
|
9
12
|
showRightCol: boolean;
|
|
10
13
|
showLeftCol: boolean;
|
|
11
14
|
innerWidth: any;
|
|
12
15
|
resizeSubject: Subject<number>;
|
|
13
|
-
|
|
16
|
+
compatibilityChecked: boolean;
|
|
17
|
+
compatibility: ApiCompatibilityResult;
|
|
18
|
+
constructor(router: Router, apiCompatibilityService: ApiCompatibilityService);
|
|
14
19
|
ngOnInit(): void;
|
|
15
20
|
collapseLeftColIfTooNarrow(): void;
|
|
16
21
|
onResize(event: any): void;
|
|
@@ -19,6 +19,8 @@ export declare class MediaUploadModalComponent implements OnInit, OnDestroy {
|
|
|
19
19
|
uploading: boolean;
|
|
20
20
|
file: any;
|
|
21
21
|
poller: any;
|
|
22
|
+
private isMockUploadMode;
|
|
23
|
+
private uploadFileInMockMode;
|
|
22
24
|
static getCookie(name: string): string;
|
|
23
25
|
constructor(dialogRef: MatDialogRef<MediaUploadModalComponent>, uploadService: UploadService, library: FaIconLibrary);
|
|
24
26
|
pollForCompletion(): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ApiCompatibilityResult } from '../data/api-compatibility-result';
|
|
3
|
+
import { SyncConfigService } from './sync-config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ApiCompatibilityService {
|
|
6
|
+
private syncConfigService;
|
|
7
|
+
private started;
|
|
8
|
+
private current;
|
|
9
|
+
private resultSubject;
|
|
10
|
+
constructor(syncConfigService: SyncConfigService);
|
|
11
|
+
ensureChecked(): Observable<ApiCompatibilityResult>;
|
|
12
|
+
getCurrentResult(): ApiCompatibilityResult;
|
|
13
|
+
private createResult;
|
|
14
|
+
private satisfiesRange;
|
|
15
|
+
private hasComparator;
|
|
16
|
+
private satisfiesComparator;
|
|
17
|
+
private satisfiesCaret;
|
|
18
|
+
private satisfiesTilde;
|
|
19
|
+
private compareVersions;
|
|
20
|
+
private parseVersion;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiCompatibilityService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiCompatibilityService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SyncConfig } from '../data/sync-config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SyncConfigService {
|
|
6
|
+
private http;
|
|
7
|
+
endpoint: string;
|
|
8
|
+
constructor(http: HttpClient);
|
|
9
|
+
getSyncConfig(): Observable<SyncConfig>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SyncConfigService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SyncConfigService>;
|
|
12
|
+
}
|
package/package.json
CHANGED
package/version.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version": "0.30.0+58f6edf50f.21"}
|