@firestitch/content 13.0.3 → 13.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/app/consts/index.d.ts +1 -1
- package/app/consts/page-types.const.d.ts +5 -5
- package/app/enums/editor-type.d.ts +6 -6
- package/app/enums/index.d.ts +2 -2
- package/app/enums/page-type.enum.d.ts +6 -6
- package/app/injectors/content-config.injector.d.ts +2 -2
- package/app/injectors/index.d.ts +1 -1
- package/app/interfaces/content-config.d.ts +21 -21
- package/app/interfaces/content-layout.d.ts +10 -10
- package/app/interfaces/content-page.d.ts +14 -14
- package/app/interfaces/content-style.d.ts +4 -4
- package/app/interfaces/index.d.ts +4 -4
- package/app/modules/content/components/content/content.component.d.ts +25 -25
- package/app/modules/content/components/content/index.d.ts +1 -1
- package/app/modules/content/components/content-renderer/content-renderer.component.d.ts +24 -24
- package/app/modules/content/components/content-renderer/index.d.ts +1 -1
- package/app/modules/content/fs-content.module.d.ts +10 -10
- package/app/modules/content-layouts/components/content-layout/content-layout.component.d.ts +27 -27
- package/app/modules/content-layouts/components/content-layout/index.d.ts +1 -1
- package/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.d.ts +50 -50
- package/app/modules/content-layouts/components/content-layout-editor/index.d.ts +1 -1
- package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +21 -21
- package/app/modules/content-layouts/components/content-layouts/index.d.ts +1 -1
- package/app/modules/content-layouts/components/index.d.ts +3 -3
- package/app/modules/content-layouts/fs-content-layouts.module.d.ts +28 -28
- package/app/modules/content-pages/components/content-page/content-page.component.d.ts +32 -32
- package/app/modules/content-pages/components/content-page/index.d.ts +1 -1
- package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts +56 -56
- package/app/modules/content-pages/components/content-page-editor/index.d.ts +1 -1
- package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +24 -24
- package/app/modules/content-pages/components/content-pages/index.d.ts +1 -1
- package/app/modules/content-pages/components/index.d.ts +3 -3
- package/app/modules/content-pages/fs-content-pages.module.d.ts +33 -33
- package/app/modules/content-style/components/content-style/content-style.component.d.ts +27 -27
- package/app/modules/content-style/components/content-style/index.d.ts +1 -1
- package/app/modules/content-style/fs-content-style.module.d.ts +14 -14
- package/app/modules/editor/components/editor/editor.component.d.ts +49 -49
- package/app/modules/editor/components/editor/index.d.ts +1 -1
- package/app/modules/editor/components/editor-label/editor-label.component.d.ts +7 -7
- package/app/modules/editor/components/editor-label/index.d.ts +1 -1
- package/app/modules/editor/fs-content-editor.module.d.ts +24 -24
- package/app/modules/editor/index.d.ts +1 -1
- package/esm2020/app/consts/index.mjs +1 -1
- package/esm2020/app/consts/page-types.const.mjs +5 -5
- package/esm2020/app/enums/editor-type.mjs +7 -7
- package/esm2020/app/enums/index.mjs +3 -3
- package/esm2020/app/enums/page-type.enum.mjs +7 -7
- package/esm2020/app/injectors/content-config.injector.mjs +2 -2
- package/esm2020/app/injectors/index.mjs +1 -1
- package/esm2020/app/interfaces/content-config.mjs +1 -1
- package/esm2020/app/interfaces/content-layout.mjs +1 -1
- package/esm2020/app/interfaces/content-page.mjs +1 -1
- package/esm2020/app/interfaces/content-style.mjs +1 -1
- package/esm2020/app/interfaces/index.mjs +5 -5
- package/esm2020/app/modules/content/components/content/content.component.mjs +80 -80
- package/esm2020/app/modules/content/components/content/index.mjs +1 -1
- package/esm2020/app/modules/content/components/content-renderer/content-renderer.component.mjs +73 -73
- package/esm2020/app/modules/content/components/content-renderer/index.mjs +1 -1
- package/esm2020/app/modules/content/fs-content.module.mjs +32 -32
- package/esm2020/app/modules/content-layouts/components/content-layout/content-layout.component.mjs +67 -67
- package/esm2020/app/modules/content-layouts/components/content-layout/index.mjs +1 -1
- package/esm2020/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.mjs +161 -161
- package/esm2020/app/modules/content-layouts/components/content-layout-editor/index.mjs +1 -1
- package/esm2020/app/modules/content-layouts/components/content-layouts/content-layouts.component.mjs +115 -115
- package/esm2020/app/modules/content-layouts/components/content-layouts/index.mjs +1 -1
- package/esm2020/app/modules/content-layouts/components/index.mjs +4 -4
- package/esm2020/app/modules/content-layouts/fs-content-layouts.module.mjs +103 -103
- package/esm2020/app/modules/content-pages/components/content-page/content-page.component.mjs +82 -81
- package/esm2020/app/modules/content-pages/components/content-page/index.mjs +1 -1
- package/esm2020/app/modules/content-pages/components/content-page-editor/content-page-editor.component.mjs +178 -178
- package/esm2020/app/modules/content-pages/components/content-page-editor/index.mjs +1 -1
- package/esm2020/app/modules/content-pages/components/content-pages/content-pages.component.mjs +129 -128
- package/esm2020/app/modules/content-pages/components/content-pages/index.mjs +1 -1
- package/esm2020/app/modules/content-pages/components/index.mjs +4 -4
- package/esm2020/app/modules/content-pages/fs-content-pages.module.mjs +120 -120
- package/esm2020/app/modules/content-style/components/content-style/content-style.component.mjs +68 -68
- package/esm2020/app/modules/content-style/components/content-style/index.mjs +1 -1
- package/esm2020/app/modules/content-style/fs-content-style.module.mjs +49 -49
- package/esm2020/app/modules/editor/components/editor/editor.component.mjs +143 -143
- package/esm2020/app/modules/editor/components/editor/index.mjs +1 -1
- package/esm2020/app/modules/editor/components/editor-label/editor-label.component.mjs +15 -15
- package/esm2020/app/modules/editor/components/editor-label/index.mjs +1 -1
- package/esm2020/app/modules/editor/fs-content-editor.module.mjs +88 -88
- package/esm2020/app/modules/editor/index.mjs +1 -1
- package/esm2020/firestitch-content.mjs +4 -4
- package/esm2020/public_api.mjs +10 -10
- package/fesm2015/firestitch-content.mjs +1249 -1251
- package/fesm2015/firestitch-content.mjs.map +1 -1
- package/fesm2020/firestitch-content.mjs +1253 -1251
- package/fesm2020/firestitch-content.mjs.map +1 -1
- package/firestitch-content.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +10 -10
package/app/consts/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from './page-types.const';
|
1
|
+
export * from './page-types.const';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { PageType } from '../enums';
|
2
|
-
export declare const PageTypes: {
|
3
|
-
name: string;
|
4
|
-
value: PageType;
|
5
|
-
}[];
|
1
|
+
import { PageType } from '../enums';
|
2
|
+
export declare const PageTypes: {
|
3
|
+
name: string;
|
4
|
+
value: PageType;
|
5
|
+
}[];
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export declare enum EditorType {
|
2
|
-
Js = "js",
|
3
|
-
Html = "html",
|
4
|
-
Scss = "scss",
|
5
|
-
GlobalScss = "globalScss"
|
6
|
-
}
|
1
|
+
export declare enum EditorType {
|
2
|
+
Js = "js",
|
3
|
+
Html = "html",
|
4
|
+
Scss = "scss",
|
5
|
+
GlobalScss = "globalScss"
|
6
|
+
}
|
package/app/enums/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './editor-type';
|
2
|
-
export * from './page-type.enum';
|
1
|
+
export * from './editor-type';
|
2
|
+
export * from './page-type.enum';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export declare enum PageType {
|
2
|
-
StandardPage = "standardPage",
|
3
|
-
BlogPost = "blogPost",
|
4
|
-
HomePage = "homePage",
|
5
|
-
NotFoundPage = "notFoundPage"
|
6
|
-
}
|
1
|
+
export declare enum PageType {
|
2
|
+
StandardPage = "standardPage",
|
3
|
+
BlogPost = "blogPost",
|
4
|
+
HomePage = "homePage",
|
5
|
+
NotFoundPage = "notFoundPage"
|
6
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
2
|
-
export declare const FS_CONTENT_CONFIG: InjectionToken<any>;
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
export declare const FS_CONTENT_CONFIG: InjectionToken<any>;
|
package/app/injectors/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from './content-config.injector';
|
1
|
+
export * from './content-config.injector';
|
@@ -1,21 +1,21 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
import { FsContentLayout } from './content-layout';
|
3
|
-
import { FsContentPage } from './content-page';
|
4
|
-
import { FsContentStyle } from './content-style';
|
5
|
-
export interface FsContentConfig {
|
6
|
-
loadContent: (path: string) => Observable<FsContentPage>;
|
7
|
-
loadContentPages: (query: any) => Observable<{
|
8
|
-
contentPages: FsContentPage[];
|
9
|
-
paging: any;
|
10
|
-
}>;
|
11
|
-
loadContentPage: (contentPageId: number) => Observable<FsContentPage>;
|
12
|
-
saveContentPage: (contentPage: FsContentPage) => Observable<FsContentPage>;
|
13
|
-
deleteContentPage: (contentPage: FsContentPage) => Observable<FsContentPage>;
|
14
|
-
loadContentLayouts: (query?: any) => Observable<FsContentLayout[]>;
|
15
|
-
loadContentLayout: (contentLayoutId: any) => Observable<FsContentLayout>;
|
16
|
-
loadContentStyleCss?: () => Observable<string>;
|
17
|
-
loadContentStyle: () => Observable<FsContentStyle>;
|
18
|
-
saveContentStyle: (contentStyle: FsContentStyle) => Observable<FsContentStyle>;
|
19
|
-
saveContentLayout: (contentLayout: FsContentLayout) => Observable<FsContentLayout>;
|
20
|
-
deleteContentLayout: (contentLayout: FsContentLayout) => Observable<FsContentLayout>;
|
21
|
-
}
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { FsContentLayout } from './content-layout';
|
3
|
+
import { FsContentPage } from './content-page';
|
4
|
+
import { FsContentStyle } from './content-style';
|
5
|
+
export interface FsContentConfig {
|
6
|
+
loadContent: (path: string) => Observable<FsContentPage>;
|
7
|
+
loadContentPages: (query: any) => Observable<{
|
8
|
+
contentPages: FsContentPage[];
|
9
|
+
paging: any;
|
10
|
+
}>;
|
11
|
+
loadContentPage: (contentPageId: number) => Observable<FsContentPage>;
|
12
|
+
saveContentPage: (contentPage: FsContentPage) => Observable<FsContentPage>;
|
13
|
+
deleteContentPage: (contentPage: FsContentPage) => Observable<FsContentPage>;
|
14
|
+
loadContentLayouts: (query?: any) => Observable<FsContentLayout[]>;
|
15
|
+
loadContentLayout: (contentLayoutId: any) => Observable<FsContentLayout>;
|
16
|
+
loadContentStyleCss?: () => Observable<string>;
|
17
|
+
loadContentStyle: () => Observable<FsContentStyle>;
|
18
|
+
saveContentStyle: (contentStyle: FsContentStyle) => Observable<FsContentStyle>;
|
19
|
+
saveContentLayout: (contentLayout: FsContentLayout) => Observable<FsContentLayout>;
|
20
|
+
deleteContentLayout: (contentLayout: FsContentLayout) => Observable<FsContentLayout>;
|
21
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export interface FsContentLayout {
|
2
|
-
id?: number;
|
3
|
-
state?: string;
|
4
|
-
name?: string;
|
5
|
-
tag?: string;
|
6
|
-
content?: string;
|
7
|
-
styles?: string;
|
8
|
-
createDate?: Date;
|
9
|
-
modifyDate?: Date;
|
10
|
-
}
|
1
|
+
export interface FsContentLayout {
|
2
|
+
id?: number;
|
3
|
+
state?: string;
|
4
|
+
name?: string;
|
5
|
+
tag?: string;
|
6
|
+
content?: string;
|
7
|
+
styles?: string;
|
8
|
+
createDate?: Date;
|
9
|
+
modifyDate?: Date;
|
10
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
export interface FsContentPage {
|
2
|
-
id?: number;
|
3
|
-
contentLayoutId?: number;
|
4
|
-
state?: string;
|
5
|
-
type?: string;
|
6
|
-
path?: string;
|
7
|
-
js?: string;
|
8
|
-
title?: string;
|
9
|
-
content?: string;
|
10
|
-
styles?: string;
|
11
|
-
name?: string;
|
12
|
-
createDate?: Date;
|
13
|
-
modifyDate?: Date;
|
14
|
-
}
|
1
|
+
export interface FsContentPage {
|
2
|
+
id?: number;
|
3
|
+
contentLayoutId?: number;
|
4
|
+
state?: string;
|
5
|
+
type?: string;
|
6
|
+
path?: string;
|
7
|
+
js?: string;
|
8
|
+
title?: string;
|
9
|
+
content?: string;
|
10
|
+
styles?: string;
|
11
|
+
name?: string;
|
12
|
+
createDate?: Date;
|
13
|
+
modifyDate?: Date;
|
14
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export interface FsContentStyle {
|
2
|
-
scss?: string;
|
3
|
-
modifyDate?: Date;
|
4
|
-
}
|
1
|
+
export interface FsContentStyle {
|
2
|
+
scss?: string;
|
3
|
+
modifyDate?: Date;
|
4
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './content-config';
|
2
|
-
export * from './content-layout';
|
3
|
-
export * from './content-page';
|
4
|
-
export * from './content-style';
|
1
|
+
export * from './content-config';
|
2
|
+
export * from './content-layout';
|
3
|
+
export * from './content-page';
|
4
|
+
export * from './content-style';
|
@@ -1,25 +1,25 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { Title } from '@angular/platform-browser';
|
3
|
-
import { Router } from '@angular/router';
|
4
|
-
import { HtmlRenderer } from '@firestitch/html';
|
5
|
-
import { FsContentConfig } from '../../../../interfaces';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class FsContentComponent implements OnInit, OnDestroy {
|
8
|
-
private _config;
|
9
|
-
private _title;
|
10
|
-
private _cdRef;
|
11
|
-
private _router;
|
12
|
-
private _el;
|
13
|
-
private _htmlRenderer;
|
14
|
-
contentPage: any;
|
15
|
-
private _destroy$;
|
16
|
-
constructor(_config: FsContentConfig, _title: Title, _cdRef: ChangeDetectorRef, _router: Router, _el: ElementRef, _htmlRenderer: HtmlRenderer);
|
17
|
-
ngOnInit(): void;
|
18
|
-
get el(): any;
|
19
|
-
ngOnDestroy(): void;
|
20
|
-
private _initStyles;
|
21
|
-
private _initContent;
|
22
|
-
private _loadContent;
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentComponent, "fs-content", never, {}, {}, never, never>;
|
25
|
-
}
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { Title } from '@angular/platform-browser';
|
3
|
+
import { Router } from '@angular/router';
|
4
|
+
import { HtmlRenderer } from '@firestitch/html';
|
5
|
+
import { FsContentConfig } from '../../../../interfaces';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class FsContentComponent implements OnInit, OnDestroy {
|
8
|
+
private _config;
|
9
|
+
private _title;
|
10
|
+
private _cdRef;
|
11
|
+
private _router;
|
12
|
+
private _el;
|
13
|
+
private _htmlRenderer;
|
14
|
+
contentPage: any;
|
15
|
+
private _destroy$;
|
16
|
+
constructor(_config: FsContentConfig, _title: Title, _cdRef: ChangeDetectorRef, _router: Router, _el: ElementRef, _htmlRenderer: HtmlRenderer);
|
17
|
+
ngOnInit(): void;
|
18
|
+
get el(): any;
|
19
|
+
ngOnDestroy(): void;
|
20
|
+
private _initStyles;
|
21
|
+
private _initContent;
|
22
|
+
private _loadContent;
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentComponent, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentComponent, "fs-content", never, {}, {}, never, never>;
|
25
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './content.component';
|
1
|
+
export * from './content.component';
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { AfterViewChecked, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
2
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
3
|
-
import { Router } from '@angular/router';
|
4
|
-
import { HtmlRenderer } from '@firestitch/html';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class ContentRendererComponent implements OnDestroy, AfterViewChecked, OnChanges {
|
7
|
-
private _sanitizer;
|
8
|
-
private _router;
|
9
|
-
private _el;
|
10
|
-
private _htmlRenderer;
|
11
|
-
script: ElementRef;
|
12
|
-
contentPage: any;
|
13
|
-
content: SafeHtml;
|
14
|
-
private _destroy$;
|
15
|
-
constructor(_sanitizer: DomSanitizer, _router: Router, _el: ElementRef, _htmlRenderer: HtmlRenderer);
|
16
|
-
ngOnChanges(changes: SimpleChanges): void;
|
17
|
-
ngAfterViewChecked(): void;
|
18
|
-
registerHrefs(): void;
|
19
|
-
get el(): any;
|
20
|
-
ngOnDestroy(): void;
|
21
|
-
removeStyles(): void;
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentRendererComponent, never>;
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentRendererComponent, "fs-content-renderer", never, { "contentPage": "contentPage"; }, {}, never, never>;
|
24
|
-
}
|
1
|
+
import { AfterViewChecked, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
3
|
+
import { Router } from '@angular/router';
|
4
|
+
import { HtmlRenderer } from '@firestitch/html';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class ContentRendererComponent implements OnDestroy, AfterViewChecked, OnChanges {
|
7
|
+
private _sanitizer;
|
8
|
+
private _router;
|
9
|
+
private _el;
|
10
|
+
private _htmlRenderer;
|
11
|
+
script: ElementRef;
|
12
|
+
contentPage: any;
|
13
|
+
content: SafeHtml;
|
14
|
+
private _destroy$;
|
15
|
+
constructor(_sanitizer: DomSanitizer, _router: Router, _el: ElementRef, _htmlRenderer: HtmlRenderer);
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
17
|
+
ngAfterViewChecked(): void;
|
18
|
+
registerHrefs(): void;
|
19
|
+
get el(): any;
|
20
|
+
ngOnDestroy(): void;
|
21
|
+
removeStyles(): void;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentRendererComponent, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentRendererComponent, "fs-content-renderer", never, { "contentPage": "contentPage"; }, {}, never, never>;
|
24
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './content-renderer.component';
|
1
|
+
export * from './content-renderer.component';
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./components/content/content.component";
|
3
|
-
import * as i2 from "./components/content-renderer/content-renderer.component";
|
4
|
-
import * as i3 from "@angular/common";
|
5
|
-
import * as i4 from "@firestitch/html-editor";
|
6
|
-
export declare class FsContentModule {
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentModule, [typeof i1.FsContentComponent, typeof i2.ContentRendererComponent], [typeof i3.CommonModule, typeof i4.FsHtmlEditorModule], [typeof i1.FsContentComponent]>;
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FsContentModule>;
|
10
|
-
}
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./components/content/content.component";
|
3
|
+
import * as i2 from "./components/content-renderer/content-renderer.component";
|
4
|
+
import * as i3 from "@angular/common";
|
5
|
+
import * as i4 from "@firestitch/html-editor";
|
6
|
+
export declare class FsContentModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentModule, [typeof i1.FsContentComponent, typeof i2.ContentRendererComponent], [typeof i3.CommonModule, typeof i4.FsHtmlEditorModule], [typeof i1.FsContentComponent]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FsContentModule>;
|
10
|
+
}
|
@@ -1,27 +1,27 @@
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
-
import { FsMessage } from '@firestitch/message';
|
4
|
-
import { FsTextEditorComponent } from '@firestitch/text-editor';
|
5
|
-
import { FsContentConfig } from '../../../../interfaces';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class ContentLayoutComponent implements OnInit, OnDestroy {
|
8
|
-
private _config;
|
9
|
-
private _data;
|
10
|
-
private _dialogRef;
|
11
|
-
private _message;
|
12
|
-
private _cdRef;
|
13
|
-
textEditors: QueryList<FsTextEditorComponent>;
|
14
|
-
contentLayout: any;
|
15
|
-
editors: {
|
16
|
-
content: boolean;
|
17
|
-
styles: boolean;
|
18
|
-
};
|
19
|
-
private _destroy$;
|
20
|
-
constructor(_config: FsContentConfig, _data: any, _dialogRef: MatDialogRef<ContentLayoutComponent>, _message: FsMessage, _cdRef: ChangeDetectorRef);
|
21
|
-
ngOnInit(): void;
|
22
|
-
ngOnDestroy(): void;
|
23
|
-
save: () => import("rxjs").Observable<import("../../../../interfaces").FsContentLayout>;
|
24
|
-
private _fetchData;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentLayoutComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutComponent, "ng-component", never, {}, {}, never, never>;
|
27
|
-
}
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { FsMessage } from '@firestitch/message';
|
4
|
+
import { FsTextEditorComponent } from '@firestitch/text-editor';
|
5
|
+
import { FsContentConfig } from '../../../../interfaces';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class ContentLayoutComponent implements OnInit, OnDestroy {
|
8
|
+
private _config;
|
9
|
+
private _data;
|
10
|
+
private _dialogRef;
|
11
|
+
private _message;
|
12
|
+
private _cdRef;
|
13
|
+
textEditors: QueryList<FsTextEditorComponent>;
|
14
|
+
contentLayout: any;
|
15
|
+
editors: {
|
16
|
+
content: boolean;
|
17
|
+
styles: boolean;
|
18
|
+
};
|
19
|
+
private _destroy$;
|
20
|
+
constructor(_config: FsContentConfig, _data: any, _dialogRef: MatDialogRef<ContentLayoutComponent>, _message: FsMessage, _cdRef: ChangeDetectorRef);
|
21
|
+
ngOnInit(): void;
|
22
|
+
ngOnDestroy(): void;
|
23
|
+
save: () => import("rxjs").Observable<import("../../../../interfaces").FsContentLayout>;
|
24
|
+
private _fetchData;
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentLayoutComponent, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutComponent, "ng-component", never, {}, {}, never, never>;
|
27
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './content-layout.component';
|
1
|
+
export * from './content-layout.component';
|
@@ -1,50 +1,50 @@
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
3
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
4
|
-
import { FsMessage } from '@firestitch/message';
|
5
|
-
import { FsPrompt } from '@firestitch/prompt';
|
6
|
-
import { EditorType } from '../../../../enums';
|
7
|
-
import { FsContentConfig } from '../../../../interfaces';
|
8
|
-
import { EditorComponent } from '../../../editor/components/editor';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
export declare class ContentLayoutEditorComponent implements OnInit, OnDestroy {
|
11
|
-
private _data;
|
12
|
-
private _dialogRef;
|
13
|
-
private _message;
|
14
|
-
private _dialog;
|
15
|
-
private _cdRef;
|
16
|
-
private _prompt;
|
17
|
-
editor: EditorComponent;
|
18
|
-
contentLayout: {
|
19
|
-
id?: number;
|
20
|
-
styles?: string;
|
21
|
-
content?: string;
|
22
|
-
name?: string;
|
23
|
-
};
|
24
|
-
config: FsContentConfig;
|
25
|
-
EditorType: typeof EditorType;
|
26
|
-
focused: any;
|
27
|
-
title: any;
|
28
|
-
editors: {
|
29
|
-
html: boolean;
|
30
|
-
scss: boolean;
|
31
|
-
globalScss: boolean;
|
32
|
-
};
|
33
|
-
private _destroy$;
|
34
|
-
constructor(_data: {
|
35
|
-
contentLayout: any;
|
36
|
-
contentConfig: FsContentConfig;
|
37
|
-
}, _dialogRef: MatDialogRef<ContentLayoutEditorComponent>, _message: FsMessage, _dialog: MatDialog, _cdRef: ChangeDetectorRef, _prompt: FsPrompt);
|
38
|
-
ngOnInit(): void;
|
39
|
-
editorToggleChange(event: MatButtonToggleChange): void;
|
40
|
-
ngOnDestroy(): void;
|
41
|
-
_initContentLayout(contentLayout: any): void;
|
42
|
-
editorFocused(type: any): void;
|
43
|
-
save: () => import("rxjs").Observable<import("../../../../interfaces").FsContentLayout | import("../../../../interfaces").FsContentStyle>;
|
44
|
-
saveContentPage(): import("rxjs").Observable<import("../../../../interfaces").FsContentLayout>;
|
45
|
-
close(): void;
|
46
|
-
openSettings(): void;
|
47
|
-
private _initEscape;
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentLayoutEditorComponent, never>;
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutEditorComponent, "ng-component", never, {}, {}, never, never>;
|
50
|
-
}
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
3
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
4
|
+
import { FsMessage } from '@firestitch/message';
|
5
|
+
import { FsPrompt } from '@firestitch/prompt';
|
6
|
+
import { EditorType } from '../../../../enums';
|
7
|
+
import { FsContentConfig } from '../../../../interfaces';
|
8
|
+
import { EditorComponent } from '../../../editor/components/editor';
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export declare class ContentLayoutEditorComponent implements OnInit, OnDestroy {
|
11
|
+
private _data;
|
12
|
+
private _dialogRef;
|
13
|
+
private _message;
|
14
|
+
private _dialog;
|
15
|
+
private _cdRef;
|
16
|
+
private _prompt;
|
17
|
+
editor: EditorComponent;
|
18
|
+
contentLayout: {
|
19
|
+
id?: number;
|
20
|
+
styles?: string;
|
21
|
+
content?: string;
|
22
|
+
name?: string;
|
23
|
+
};
|
24
|
+
config: FsContentConfig;
|
25
|
+
EditorType: typeof EditorType;
|
26
|
+
focused: any;
|
27
|
+
title: any;
|
28
|
+
editors: {
|
29
|
+
html: boolean;
|
30
|
+
scss: boolean;
|
31
|
+
globalScss: boolean;
|
32
|
+
};
|
33
|
+
private _destroy$;
|
34
|
+
constructor(_data: {
|
35
|
+
contentLayout: any;
|
36
|
+
contentConfig: FsContentConfig;
|
37
|
+
}, _dialogRef: MatDialogRef<ContentLayoutEditorComponent>, _message: FsMessage, _dialog: MatDialog, _cdRef: ChangeDetectorRef, _prompt: FsPrompt);
|
38
|
+
ngOnInit(): void;
|
39
|
+
editorToggleChange(event: MatButtonToggleChange): void;
|
40
|
+
ngOnDestroy(): void;
|
41
|
+
_initContentLayout(contentLayout: any): void;
|
42
|
+
editorFocused(type: any): void;
|
43
|
+
save: () => import("rxjs").Observable<import("../../../../interfaces").FsContentLayout | import("../../../../interfaces").FsContentStyle>;
|
44
|
+
saveContentPage(): import("rxjs").Observable<import("../../../../interfaces").FsContentLayout>;
|
45
|
+
close(): void;
|
46
|
+
openSettings(): void;
|
47
|
+
private _initEscape;
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentLayoutEditorComponent, never>;
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutEditorComponent, "ng-component", never, {}, {}, never, never>;
|
50
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './content-layout-editor.component';
|
1
|
+
export * from './content-layout-editor.component';
|
package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
3
|
-
import { FsListComponent, FsListConfig } from '@firestitch/list';
|
4
|
-
import { Observable } from 'rxjs';
|
5
|
-
import { FsContentConfig } from '../../../../interfaces';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class FsContentLayoutsComponent implements OnInit, OnDestroy {
|
8
|
-
private _config;
|
9
|
-
private _dialog;
|
10
|
-
listComponent: FsListComponent;
|
11
|
-
listConfig: FsListConfig;
|
12
|
-
private _destroy$;
|
13
|
-
constructor(_config: FsContentConfig, _dialog: MatDialog);
|
14
|
-
ngOnInit(): void;
|
15
|
-
openEditor(contentLayout: any): void;
|
16
|
-
openLayout(contentLayout: any): Observable<any>;
|
17
|
-
ngOnDestroy(): void;
|
18
|
-
private _initListConfig;
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentLayoutsComponent, never>;
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentLayoutsComponent, "fs-content-layouts", never, {}, {}, never, never>;
|
21
|
-
}
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
3
|
+
import { FsListComponent, FsListConfig } from '@firestitch/list';
|
4
|
+
import { Observable } from 'rxjs';
|
5
|
+
import { FsContentConfig } from '../../../../interfaces';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class FsContentLayoutsComponent implements OnInit, OnDestroy {
|
8
|
+
private _config;
|
9
|
+
private _dialog;
|
10
|
+
listComponent: FsListComponent;
|
11
|
+
listConfig: FsListConfig;
|
12
|
+
private _destroy$;
|
13
|
+
constructor(_config: FsContentConfig, _dialog: MatDialog);
|
14
|
+
ngOnInit(): void;
|
15
|
+
openEditor(contentLayout: any): void;
|
16
|
+
openLayout(contentLayout: any): Observable<any>;
|
17
|
+
ngOnDestroy(): void;
|
18
|
+
private _initListConfig;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentLayoutsComponent, never>;
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentLayoutsComponent, "fs-content-layouts", never, {}, {}, never, never>;
|
21
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export * from './content-layouts.component';
|
1
|
+
export * from './content-layouts.component';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './content-layout';
|
2
|
-
export * from './content-layout-editor';
|
3
|
-
export * from './content-layouts';
|
1
|
+
export * from './content-layout';
|
2
|
+
export * from './content-layout-editor';
|
3
|
+
export * from './content-layouts';
|
@@ -1,28 +1,28 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./components/content-layout/content-layout.component";
|
3
|
-
import * as i2 from "./components/content-layouts/content-layouts.component";
|
4
|
-
import * as i3 from "./components/content-layout-editor/content-layout-editor.component";
|
5
|
-
import * as i4 from "@angular/common";
|
6
|
-
import * as i5 from "@angular/forms";
|
7
|
-
import * as i6 from "@angular/material/dialog";
|
8
|
-
import * as i7 from "@angular/material/input";
|
9
|
-
import * as i8 from "@angular/material/form-field";
|
10
|
-
import * as i9 from "@angular/material/button";
|
11
|
-
import * as i10 from "@angular/material/tabs";
|
12
|
-
import * as i11 from "@angular/material/icon";
|
13
|
-
import * as i12 from "@angular/material/select";
|
14
|
-
import * as i13 from "@angular/material/button-toggle";
|
15
|
-
import * as i14 from "@firestitch/list";
|
16
|
-
import * as i15 from "@firestitch/date";
|
17
|
-
import * as i16 from "@firestitch/form";
|
18
|
-
import * as i17 from "@firestitch/label";
|
19
|
-
import * as i18 from "@firestitch/skeleton";
|
20
|
-
import * as i19 from "@firestitch/html-editor";
|
21
|
-
import * as i20 from "@firestitch/dialog";
|
22
|
-
import * as i21 from "@firestitch/text-editor";
|
23
|
-
import * as i22 from "../editor/fs-content-editor.module";
|
24
|
-
export declare class FsContentLayoutsModule {
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentLayoutsModule, never>;
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentLayoutsModule, [typeof i1.ContentLayoutComponent, typeof i2.FsContentLayoutsComponent, typeof i3.ContentLayoutEditorComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.MatDialogModule, typeof i7.MatInputModule, typeof i8.MatFormFieldModule, typeof i9.MatButtonModule, typeof i10.MatTabsModule, typeof i11.MatIconModule, typeof i12.MatSelectModule, typeof i13.MatButtonToggleModule, typeof i14.FsListModule, typeof i15.FsDateModule, typeof i16.FsFormModule, typeof i17.FsLabelModule, typeof i18.FsSkeletonModule, typeof i19.FsHtmlEditorModule, typeof i20.FsDialogModule, typeof i21.FsTextEditorModule, typeof i22.FsContentEditorModule], [typeof i2.FsContentLayoutsComponent]>;
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FsContentLayoutsModule>;
|
28
|
-
}
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./components/content-layout/content-layout.component";
|
3
|
+
import * as i2 from "./components/content-layouts/content-layouts.component";
|
4
|
+
import * as i3 from "./components/content-layout-editor/content-layout-editor.component";
|
5
|
+
import * as i4 from "@angular/common";
|
6
|
+
import * as i5 from "@angular/forms";
|
7
|
+
import * as i6 from "@angular/material/dialog";
|
8
|
+
import * as i7 from "@angular/material/input";
|
9
|
+
import * as i8 from "@angular/material/form-field";
|
10
|
+
import * as i9 from "@angular/material/button";
|
11
|
+
import * as i10 from "@angular/material/tabs";
|
12
|
+
import * as i11 from "@angular/material/icon";
|
13
|
+
import * as i12 from "@angular/material/select";
|
14
|
+
import * as i13 from "@angular/material/button-toggle";
|
15
|
+
import * as i14 from "@firestitch/list";
|
16
|
+
import * as i15 from "@firestitch/date";
|
17
|
+
import * as i16 from "@firestitch/form";
|
18
|
+
import * as i17 from "@firestitch/label";
|
19
|
+
import * as i18 from "@firestitch/skeleton";
|
20
|
+
import * as i19 from "@firestitch/html-editor";
|
21
|
+
import * as i20 from "@firestitch/dialog";
|
22
|
+
import * as i21 from "@firestitch/text-editor";
|
23
|
+
import * as i22 from "../editor/fs-content-editor.module";
|
24
|
+
export declare class FsContentLayoutsModule {
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentLayoutsModule, never>;
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentLayoutsModule, [typeof i1.ContentLayoutComponent, typeof i2.FsContentLayoutsComponent, typeof i3.ContentLayoutEditorComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.MatDialogModule, typeof i7.MatInputModule, typeof i8.MatFormFieldModule, typeof i9.MatButtonModule, typeof i10.MatTabsModule, typeof i11.MatIconModule, typeof i12.MatSelectModule, typeof i13.MatButtonToggleModule, typeof i14.FsListModule, typeof i15.FsDateModule, typeof i16.FsFormModule, typeof i17.FsLabelModule, typeof i18.FsSkeletonModule, typeof i19.FsHtmlEditorModule, typeof i20.FsDialogModule, typeof i21.FsTextEditorModule, typeof i22.FsContentEditorModule], [typeof i2.FsContentLayoutsComponent]>;
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FsContentLayoutsModule>;
|
28
|
+
}
|