@thecodeblogs/blog 0.13.1 → 0.14.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/esm2020/lib/components/entry-creator/entry-creator.component.mjs +22 -23
- package/esm2020/lib/components/entry-renderer/entry-renderer.component.mjs +9 -9
- package/esm2020/lib/components/entry-renderer-wrapper/entry-renderer-wrapper.component.mjs +6 -6
- package/esm2020/lib/components/entry-selector-dialog/entry-selector-dialog.component.mjs +8 -8
- package/esm2020/lib/components/entry-summary/entry-summary.component.mjs +6 -6
- package/esm2020/lib/components/json-renderer/json-renderer.component.mjs +4 -4
- package/esm2020/lib/components/landing-page/landing-page.component.mjs +6 -6
- package/esm2020/lib/components/main/main.component.mjs +7 -7
- package/esm2020/lib/components/media-upload-modal/media-upload-modal.component.mjs +9 -9
- package/esm2020/lib/components/outline-view/outline-view.component.mjs +7 -7
- package/esm2020/lib/components/schedule-publish-dialog/schedule-publish-dialog.component.mjs +10 -10
- package/esm2020/lib/components/side-navigation/side-navigation.component.mjs +6 -6
- package/esm2020/lib/components/static-html/static-html.component.mjs +5 -5
- package/esm2020/lib/core.module.mjs +27 -29
- package/esm2020/lib/data/entry.mjs +1 -2
- package/esm2020/lib/pipes/LinkyPipe.mjs +4 -4
- package/esm2020/lib/pipes/TimeAgoPipe.mjs +4 -4
- package/esm2020/lib/services/analytics/interaction.service.mjs +4 -4
- package/esm2020/lib/services/analytics/view.service.mjs +4 -4
- package/esm2020/lib/services/comment.service.mjs +4 -4
- package/esm2020/lib/services/django-rest-framework-endpoint.service.mjs +4 -4
- package/esm2020/lib/services/entry.service.mjs +31 -4
- package/esm2020/lib/services/identity.service.mjs +4 -4
- package/esm2020/lib/services/prism.service.mjs +4 -4
- package/esm2020/lib/services/static-html.service.mjs +4 -4
- package/esm2020/lib/services/tag.service.mjs +4 -4
- package/esm2020/lib/services/upload.service.mjs +4 -4
- package/esm2020/lib/services/visitor-profile.service.mjs +4 -4
- package/fesm2015/thecodeblogs-blog.mjs +161 -138
- package/fesm2015/thecodeblogs-blog.mjs.map +1 -1
- package/fesm2020/thecodeblogs-blog.mjs +161 -138
- package/fesm2020/thecodeblogs-blog.mjs.map +1 -1
- package/{thecodeblogs-blog.d.ts → index.d.ts} +0 -0
- package/lib/components/entry-creator/entry-creator.component.d.ts +4 -4
- package/lib/components/entry-renderer/entry-renderer.component.d.ts +1 -1
- package/lib/components/entry-renderer-wrapper/entry-renderer-wrapper.component.d.ts +1 -1
- package/lib/components/entry-selector-dialog/entry-selector-dialog.component.d.ts +1 -1
- package/lib/components/entry-summary/entry-summary.component.d.ts +1 -1
- package/lib/components/json-renderer/json-renderer.component.d.ts +1 -1
- package/lib/components/landing-page/landing-page.component.d.ts +1 -1
- package/lib/components/main/main.component.d.ts +1 -1
- package/lib/components/media-upload-modal/media-upload-modal.component.d.ts +1 -1
- package/lib/components/outline-view/outline-view.component.d.ts +1 -1
- package/lib/components/schedule-publish-dialog/schedule-publish-dialog.component.d.ts +1 -1
- package/lib/components/side-navigation/side-navigation.component.d.ts +1 -1
- package/lib/components/static-html/static-html.component.d.ts +1 -1
- package/lib/pipes/LinkyPipe.d.ts +1 -1
- package/lib/pipes/TimeAgoPipe.d.ts +1 -1
- package/lib/services/entry.service.d.ts +1 -0
- package/package.json +10 -11
|
File without changes
|
|
@@ -8,7 +8,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
8
8
|
import { MatAutocompleteSelectedEvent, MatAutocomplete } from '@angular/material/autocomplete';
|
|
9
9
|
import { FileUploader } from 'ng2-file-upload';
|
|
10
10
|
import { Observable } from 'rxjs';
|
|
11
|
-
import {
|
|
11
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
12
12
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
13
13
|
import { TagService } from '../../services/tag.service';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
@@ -31,8 +31,8 @@ export declare class EntryCreatorComponent implements OnInit {
|
|
|
31
31
|
filtered_tags: Observable<string[]>;
|
|
32
32
|
tagInput: ElementRef<HTMLInputElement>;
|
|
33
33
|
matAutocomplete: MatAutocomplete;
|
|
34
|
-
tagCtrl:
|
|
35
|
-
publishDateControl:
|
|
34
|
+
tagCtrl: UntypedFormControl;
|
|
35
|
+
publishDateControl: UntypedFormControl;
|
|
36
36
|
tag_to_add: string;
|
|
37
37
|
selectable: boolean;
|
|
38
38
|
scheduling: boolean;
|
|
@@ -70,5 +70,5 @@ export declare class EntryCreatorComponent implements OnInit {
|
|
|
70
70
|
onDateChange(): void;
|
|
71
71
|
setTime(e: any): void;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryCreatorComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryCreatorComponent, "app-entry-creator", never, { "allowedMimeTypes": "allowedMimeTypes"; "uploadUrlKey": "uploadUrlKey"; }, {}, never, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryCreatorComponent, "app-entry-creator", never, { "allowedMimeTypes": "allowedMimeTypes"; "uploadUrlKey": "uploadUrlKey"; }, {}, never, never, false>;
|
|
74
74
|
}
|
|
@@ -32,5 +32,5 @@ export declare class EntryRendererComponent implements OnInit, AfterViewChecked
|
|
|
32
32
|
approve(comment: any): void;
|
|
33
33
|
unapprove(comment: any): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryRendererComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryRendererComponent, "app-entry-renderer", never, { "entry": "entry"; "editMode": "editMode"; }, {}, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryRendererComponent, "app-entry-renderer", never, { "entry": "entry"; "editMode": "editMode"; }, {}, never, never, false>;
|
|
36
36
|
}
|
|
@@ -20,5 +20,5 @@ export declare class EntryRendererWrapperComponent implements OnInit, OnDestroy
|
|
|
20
20
|
ngOnInit(): void;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryRendererWrapperComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryRendererWrapperComponent, "lib-entry-renderer-wrapper", never, {}, {}, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntryRendererWrapperComponent, "lib-entry-renderer-wrapper", never, {}, {}, never, never, false>;
|
|
24
24
|
}
|
|
@@ -15,5 +15,5 @@ export declare class EntrySelectorDialogComponent implements OnInit {
|
|
|
15
15
|
onNoClick(): void;
|
|
16
16
|
onYesClick(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntrySelectorDialogComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntrySelectorDialogComponent, "app-entry-selector-dialog", never, {}, {}, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntrySelectorDialogComponent, "app-entry-selector-dialog", never, {}, {}, never, never, false>;
|
|
19
19
|
}
|
|
@@ -11,5 +11,5 @@ export declare class EntrySummaryComponent implements OnInit {
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
routeTo(entry: any): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntrySummaryComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntrySummaryComponent, "app-entry-summary", never, { "entry": "entry"; }, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntrySummaryComponent, "app-entry-summary", never, { "entry": "entry"; }, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -9,5 +9,5 @@ export declare class JsonRendererComponent implements OnInit {
|
|
|
9
9
|
constructor(entryService: EntryService);
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonRendererComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JsonRendererComponent, "app-json-renderer", never, { "entry": "entry"; }, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonRendererComponent, "app-json-renderer", never, { "entry": "entry"; }, {}, never, never, false>;
|
|
13
13
|
}
|
|
@@ -13,5 +13,5 @@ export declare class LandingPageComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<LandingPageComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageComponent, "app-landing-page", never, {}, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageComponent, "app-landing-page", never, {}, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -16,5 +16,5 @@ export declare class MainComponent implements OnInit, OnDestroy {
|
|
|
16
16
|
onResize(event: any): void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainComponent, "lib-main", never, {}, {}, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainComponent, "lib-main", never, {}, {}, never, never, false>;
|
|
20
20
|
}
|
|
@@ -28,5 +28,5 @@ export declare class MediaUploadModalComponent implements OnInit, OnDestroy {
|
|
|
28
28
|
blobToFile(theBlob: any, fileName: any): any;
|
|
29
29
|
onPaste(e: any): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaUploadModalComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MediaUploadModalComponent, "app-media-upload-modal", never, { "allowedMimeTypes": "allowedMimeTypes"; "uploadUrlKey": "uploadUrlKey"; "file": "file"; }, {}, never, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MediaUploadModalComponent, "app-media-upload-modal", never, { "allowedMimeTypes": "allowedMimeTypes"; "uploadUrlKey": "uploadUrlKey"; "file": "file"; }, {}, never, never, false>;
|
|
32
32
|
}
|
|
@@ -11,5 +11,5 @@ export declare class OutlineViewComponent implements OnInit {
|
|
|
11
11
|
sectionDrop(e: any): void;
|
|
12
12
|
contentDrop(e: any, section: any): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<OutlineViewComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OutlineViewComponent, "app-outline-view", never, {}, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OutlineViewComponent, "app-outline-view", never, {}, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -10,5 +10,5 @@ export declare class SchedulePublishDialogComponent implements OnInit {
|
|
|
10
10
|
onNoClick(): void;
|
|
11
11
|
onYesClick(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchedulePublishDialogComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulePublishDialogComponent, "lib-schedule-publish-dialog", never, {}, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchedulePublishDialogComponent, "lib-schedule-publish-dialog", never, {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
@@ -30,5 +30,5 @@ export declare class SideNavigationComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
getMonthAndYearFromKey(key: string): string;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavigationComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavigationComponent, "app-side-navigation", never, {}, {}, never, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavigationComponent, "app-side-navigation", never, {}, {}, never, never, false>;
|
|
34
34
|
}
|
|
@@ -12,5 +12,5 @@ export declare class StaticHtmlComponent implements OnInit, OnChanges {
|
|
|
12
12
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<StaticHtmlComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StaticHtmlComponent, "app-static-html", never, { "value": "value"; }, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StaticHtmlComponent, "app-static-html", never, { "value": "value"; }, {}, never, never, false>;
|
|
16
16
|
}
|
package/lib/pipes/LinkyPipe.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class LinkyPipe implements PipeTransform {
|
|
4
4
|
transform(value: string, options?: any): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkyPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LinkyPipe, "linky">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LinkyPipe, "linky", false>;
|
|
7
7
|
}
|
|
@@ -10,5 +10,5 @@ export declare class TimeAgoPipe implements PipeTransform, OnDestroy {
|
|
|
10
10
|
private removeTimer;
|
|
11
11
|
private getSecondsUntilUpdate;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeAgoPipe, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeAgoPipe, "timeAgo">;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeAgoPipe, "timeAgo", false>;
|
|
14
14
|
}
|
|
@@ -19,6 +19,7 @@ export declare class EntryService extends DjangoRestFrameworkEndpointService<Ent
|
|
|
19
19
|
getBySlug(slug: string): Observable<unknown>;
|
|
20
20
|
getUnpublishedById(id: string): Observable<Entry>;
|
|
21
21
|
updateUnpublishedEntry(entry: Entry): Observable<Entry>;
|
|
22
|
+
slugify(s: string): string;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntryService, never>;
|
|
23
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<EntryService>;
|
|
24
25
|
}
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thecodeblogs/blog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "~2.3.0"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "~
|
|
9
|
-
"@angular/core": "~
|
|
10
|
-
"@angular/cdk": "~
|
|
11
|
-
"@angular/material": "~
|
|
12
|
-
"@angular/router": "~
|
|
8
|
+
"@angular/common": "~14.2.12",
|
|
9
|
+
"@angular/core": "~14.2.12",
|
|
10
|
+
"@angular/cdk": "~14.2.7",
|
|
11
|
+
"@angular/material": "~14.2.7",
|
|
12
|
+
"@angular/router": "~14.2.12",
|
|
13
13
|
"@fortawesome/angular-fontawesome": "~0.10.1",
|
|
14
14
|
"@fortawesome/fontawesome-svg-core": "~1.2.27",
|
|
15
15
|
"@fortawesome/free-solid-svg-icons": "~5.12.1",
|
|
16
16
|
"autolinker": "~3.12.0",
|
|
17
|
-
"ng2-file-upload": "~
|
|
18
|
-
"ngx-device-detector": "~
|
|
17
|
+
"ng2-file-upload": "~3.0.0",
|
|
18
|
+
"ngx-device-detector": "~4.0.1",
|
|
19
19
|
"ngx-material-timepicker": "~5.5.3",
|
|
20
20
|
"prismjs": "~1.19.0",
|
|
21
|
-
"slugify": "~1.6.5",
|
|
22
21
|
"@types/node": "~13.7.0"
|
|
23
22
|
},
|
|
24
23
|
"module": "fesm2015/thecodeblogs-blog.mjs",
|
|
@@ -26,13 +25,13 @@
|
|
|
26
25
|
"esm2020": "esm2020/thecodeblogs-blog.mjs",
|
|
27
26
|
"fesm2020": "fesm2020/thecodeblogs-blog.mjs",
|
|
28
27
|
"fesm2015": "fesm2015/thecodeblogs-blog.mjs",
|
|
29
|
-
"typings": "
|
|
28
|
+
"typings": "index.d.ts",
|
|
30
29
|
"exports": {
|
|
31
30
|
"./package.json": {
|
|
32
31
|
"default": "./package.json"
|
|
33
32
|
},
|
|
34
33
|
".": {
|
|
35
|
-
"types": "./
|
|
34
|
+
"types": "./index.d.ts",
|
|
36
35
|
"esm2020": "./esm2020/thecodeblogs-blog.mjs",
|
|
37
36
|
"es2020": "./fesm2020/thecodeblogs-blog.mjs",
|
|
38
37
|
"es2015": "./fesm2015/thecodeblogs-blog.mjs",
|