@thecodeblogs/blog 0.20.1 → 0.20.3

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.
@@ -0,0 +1,44 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { DomSanitizer } from '@angular/platform-browser';
5
+ import { MatDialog } from '@angular/material/dialog';
6
+ import { Entry } from '../../data/entry';
7
+ import { EntryService } from '../../services/entry.service';
8
+ import { IdentityService } from '../../services/identity.service';
9
+ import { TagService } from '../../services/tag.service';
10
+ import { Identity } from '../../data/identity';
11
+ import * as i0 from "@angular/core";
12
+ export declare class EntryWysiwygComponent implements OnInit {
13
+ private router;
14
+ entryService: EntryService;
15
+ private tagService;
16
+ private identityService;
17
+ private dialog;
18
+ private sanitizer;
19
+ private fb;
20
+ static CURRENT_ENTRY_KEY: string;
21
+ static DEFAULT_NEW_ENTRY_TITLE: string;
22
+ CURRENT_ENTRY_KEY: string;
23
+ DEFAULT_NEW_ENTRY_TITLE: string;
24
+ all_tags: string[];
25
+ format: string;
26
+ entry: Entry;
27
+ me: Identity;
28
+ customScheduleTime: string;
29
+ today: Date;
30
+ hours: number;
31
+ minutes: number;
32
+ constructor(router: Router, entryService: EntryService, tagService: TagService, identityService: IdentityService, dialog: MatDialog, sanitizer: DomSanitizer, fb: FormBuilder);
33
+ refreshTags(): void;
34
+ ngOnInit(): void;
35
+ form: FormGroup;
36
+ seeEntries(): void;
37
+ startNew(): void;
38
+ postPublishCallback(): void;
39
+ publish(): void;
40
+ routeTo(path: any): void;
41
+ displayAlert(something: any): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryWysiwygComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryWysiwygComponent, "lib-entry-wysiwyg", never, {}, {}, never, never, true, never>;
44
+ }
@@ -1,6 +1,6 @@
1
- import { Entry } from '@blog/data/entry';
2
- import { Section } from '@blog/data/section';
3
- import { Content } from '@blog/data/content';
1
+ import { Entry } from '../data/entry';
2
+ import { Section } from '../data/section';
3
+ import { Content } from '../data/content';
4
4
  export declare class Utility {
5
5
  static replaceNbsps(str: any): any;
6
6
  static convertHTMLToType(el: Element): Section | Content | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecodeblogs/blog",
3
- "version": "0.20.1",
3
+ "version": "0.20.3",
4
4
  "dependencies": {
5
5
  "tslib": "~2.8.1"
6
6
  },
package/public-api.d.ts CHANGED
@@ -25,6 +25,7 @@ export * from './lib/services/static-html.service';
25
25
  export * from './lib/services/tag.service';
26
26
  export * from './lib/services/utility';
27
27
  export * from './lib/components/entry-creator/entry-creator.component';
28
+ export * from './lib/components/entry-wysiwyg/entry-wysiwyg.component';
28
29
  export * from './lib/components/entry-renderer/entry-renderer.component';
29
30
  export * from './lib/components/entry-selector-dialog/entry-selector-dialog.component';
30
31
  export * from './lib/components/entry-summary/entry-summary.component';