@firestitch/content 13.0.9 → 14.0.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/app/modules/content/components/content/content.component.d.ts +1 -1
- package/app/modules/content/components/content-renderer/content-renderer.component.d.ts +1 -1
- package/app/modules/content-layouts/components/content-layout/content-layout.component.d.ts +1 -1
- package/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.d.ts +1 -1
- package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +1 -1
- package/app/modules/content-pages/components/content-page/content-page.component.d.ts +1 -1
- package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts +1 -1
- package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +1 -1
- package/app/modules/content-style/components/content-style/content-style.component.d.ts +1 -1
- package/app/modules/editor/components/editor/editor.component.d.ts +1 -1
- package/app/modules/editor/components/editor-label/editor-label.component.d.ts +1 -1
- package/esm2020/app/modules/content/components/content/content.component.mjs +6 -6
- package/esm2020/app/modules/content/components/content-renderer/content-renderer.component.mjs +4 -4
- package/esm2020/app/modules/content/fs-content.module.mjs +6 -8
- package/esm2020/app/modules/content-layouts/components/content-layout/content-layout.component.mjs +9 -9
- package/esm2020/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.mjs +9 -9
- package/esm2020/app/modules/content-layouts/components/content-layouts/content-layouts.component.mjs +6 -6
- package/esm2020/app/modules/content-layouts/fs-content-layouts.module.mjs +24 -26
- package/esm2020/app/modules/content-pages/components/content-page/content-page.component.mjs +13 -13
- package/esm2020/app/modules/content-pages/components/content-page-editor/content-page-editor.component.mjs +11 -11
- package/esm2020/app/modules/content-pages/components/content-pages/content-pages.component.mjs +6 -6
- package/esm2020/app/modules/content-pages/fs-content-pages.module.mjs +26 -28
- package/esm2020/app/modules/content-style/components/content-style/content-style.component.mjs +7 -7
- package/esm2020/app/modules/content-style/fs-content-style.module.mjs +11 -13
- package/esm2020/app/modules/editor/components/editor/editor.component.mjs +10 -10
- package/esm2020/app/modules/editor/components/editor-label/editor-label.component.mjs +3 -3
- package/esm2020/app/modules/editor/fs-content-editor.module.mjs +20 -22
- package/fesm2015/firestitch-content.mjs +149 -159
- package/fesm2015/firestitch-content.mjs.map +1 -1
- package/fesm2020/firestitch-content.mjs +149 -159
- package/fesm2020/firestitch-content.mjs.map +1 -1
- package/package.json +3 -3
- /package/{firestitch-content.d.ts → index.d.ts} +0 -0
@@ -21,5 +21,5 @@ export declare class FsContentComponent implements OnInit, OnDestroy {
|
|
21
21
|
private _initContent;
|
22
22
|
private _loadContent;
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentComponent, "fs-content", never, {}, {}, never, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentComponent, "fs-content", never, {}, {}, never, never, false>;
|
25
25
|
}
|
@@ -20,5 +20,5 @@ export declare class ContentRendererComponent implements OnDestroy, AfterViewChe
|
|
20
20
|
ngOnDestroy(): void;
|
21
21
|
removeStyles(): void;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentRendererComponent, never>;
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentRendererComponent, "fs-content-renderer", never, { "contentPage": "contentPage"; }, {}, never, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentRendererComponent, "fs-content-renderer", never, { "contentPage": "contentPage"; }, {}, never, never, false>;
|
24
24
|
}
|
@@ -23,5 +23,5 @@ export declare class ContentLayoutComponent implements OnInit, OnDestroy {
|
|
23
23
|
save: () => import("rxjs").Observable<import("../../../../interfaces").FsContentLayout>;
|
24
24
|
private _fetchData;
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentLayoutComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutComponent, "ng-component", never, {}, {}, never, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutComponent, "ng-component", never, {}, {}, never, never, false>;
|
27
27
|
}
|
@@ -49,5 +49,5 @@ export declare class ContentLayoutEditorComponent implements OnInit, OnDestroy {
|
|
49
49
|
openSettings(): void;
|
50
50
|
private _initEscape;
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentLayoutEditorComponent, never>;
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutEditorComponent, "ng-component", never, {}, {}, never, never>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentLayoutEditorComponent, "ng-component", never, {}, {}, never, never, false>;
|
53
53
|
}
|
package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts
CHANGED
@@ -17,5 +17,5 @@ export declare class FsContentLayoutsComponent implements OnInit, OnDestroy {
|
|
17
17
|
ngOnDestroy(): void;
|
18
18
|
private _initListConfig;
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentLayoutsComponent, never>;
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentLayoutsComponent, "fs-content-layouts", never, {}, {}, never, never>;
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentLayoutsComponent, "fs-content-layouts", never, {}, {}, never, never, false>;
|
21
21
|
}
|
@@ -28,5 +28,5 @@ export declare class ContentPageComponent implements OnInit, OnDestroy {
|
|
28
28
|
save: () => import("rxjs").Observable<import("../../../../interfaces").FsContentPage>;
|
29
29
|
private _fetchData;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentPageComponent, never>;
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentPageComponent, "ng-component", never, {}, {}, never, never>;
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentPageComponent, "ng-component", never, {}, {}, never, never, false>;
|
32
32
|
}
|
package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts
CHANGED
@@ -52,5 +52,5 @@ export declare class ContentPageEditorComponent implements OnInit, OnDestroy {
|
|
52
52
|
openSettings(): void;
|
53
53
|
private _initEscape;
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentPageEditorComponent, never>;
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentPageEditorComponent, "ng-component", never, {}, {}, never, never>;
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentPageEditorComponent, "ng-component", never, {}, {}, never, never, false>;
|
56
56
|
}
|
@@ -20,5 +20,5 @@ export declare class FsContentPagesComponent implements OnInit, OnDestroy {
|
|
20
20
|
openContentPage(contentPage: any): Observable<any>;
|
21
21
|
private _initListConfig;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsContentPagesComponent, never>;
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentPagesComponent, "fs-content-pages", never, { "htmlEditorConfig": "htmlEditorConfig"; }, {}, never, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FsContentPagesComponent, "fs-content-pages", never, { "htmlEditorConfig": "htmlEditorConfig"; }, {}, never, never, false>;
|
24
24
|
}
|
@@ -23,5 +23,5 @@ export declare class ContentStyleComponent implements OnInit, OnDestroy {
|
|
23
23
|
ngOnDestroy(): void;
|
24
24
|
save(): void;
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentStyleComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContentStyleComponent, "fs-content-style", never, { "height": "height"; }, {}, never, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentStyleComponent, "fs-content-style", never, { "height": "height"; }, {}, never, never, false>;
|
27
27
|
}
|
@@ -45,5 +45,5 @@ export declare class EditorComponent implements OnInit, OnDestroy {
|
|
45
45
|
saveGlobalScss(): import("rxjs").Observable<import("../../../../interfaces").FsContentStyle>;
|
46
46
|
private _onFocus;
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "app-editor", never, { "showHtml": "showHtml"; "showScss": "showScss"; "showJs": "showJs"; "showGlobalScss": "showGlobalScss"; "html": "html"; "scss": "scss"; "js": "js"; "contentConfig": "contentConfig"; }, { "changed": "changed"; "focused": "focused"; "blured": "blured"; }, never, never>;
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "app-editor", never, { "showHtml": "showHtml"; "showScss": "showScss"; "showJs": "showJs"; "showGlobalScss": "showGlobalScss"; "html": "html"; "scss": "scss"; "js": "js"; "contentConfig": "contentConfig"; }, { "changed": "changed"; "focused": "focused"; "blured": "blured"; }, never, never, false>;
|
49
49
|
}
|
@@ -3,5 +3,5 @@ export declare class EditorLabelComponent {
|
|
3
3
|
changed: boolean;
|
4
4
|
focused: boolean;
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorLabelComponent, never>;
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditorLabelComponent, "app-editor-label", never, { "changed": "changed"; "focused": "focused"; }, {}, never, ["*"]>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorLabelComponent, "app-editor-label", never, { "changed": "changed"; "focused": "focused"; }, {}, never, ["*"], false>;
|
7
7
|
}
|
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@angular/platform-browser";
|
10
10
|
import * as i2 from "@angular/router";
|
11
11
|
import * as i3 from "@firestitch/html";
|
12
|
-
import * as i4 from "
|
13
|
-
import * as i5 from "
|
12
|
+
import * as i4 from "@angular/common";
|
13
|
+
import * as i5 from "../content-renderer/content-renderer.component";
|
14
14
|
export class FsContentComponent {
|
15
15
|
constructor(_config, _title, _cdRef, _router, _el, _htmlRenderer) {
|
16
16
|
this._config = _config;
|
@@ -69,11 +69,11 @@ export class FsContentComponent {
|
|
69
69
|
});
|
70
70
|
}
|
71
71
|
}
|
72
|
-
FsContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
73
|
-
FsContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
72
|
+
FsContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.Title }, { token: i0.ChangeDetectorRef }, { token: i2.Router }, { token: i0.ElementRef }, { token: i3.HtmlRenderer }], target: i0.ɵɵFactoryTarget.Component });
|
73
|
+
FsContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentComponent, selector: "fs-content", ngImport: i0, template: "<ng-container *ngIf=\"contentPage\">\n <fs-content-renderer [contentPage]=\"contentPage\"></fs-content-renderer>\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.ContentRendererComponent, selector: "fs-content-renderer", inputs: ["contentPage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentComponent, decorators: [{
|
75
75
|
type: Component,
|
76
|
-
args: [{ selector: 'fs-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"contentPage\">\n <fs-content-renderer [contentPage]=\"contentPage\"></fs-content-renderer>\n</ng-container>"
|
76
|
+
args: [{ selector: 'fs-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"contentPage\">\n <fs-content-renderer [contentPage]=\"contentPage\"></fs-content-renderer>\n</ng-container>" }]
|
77
77
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
78
78
|
type: Inject,
|
79
79
|
args: [FS_CONTENT_CONFIG]
|
package/esm2020/app/modules/content/components/content-renderer/content-renderer.component.mjs
CHANGED
@@ -60,11 +60,11 @@ export class ContentRendererComponent {
|
|
60
60
|
}
|
61
61
|
}
|
62
62
|
}
|
63
|
-
ContentRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
64
|
-
ContentRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
63
|
+
ContentRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentRendererComponent, deps: [{ token: i1.DomSanitizer }, { token: i2.Router }, { token: i0.ElementRef }, { token: i3.HtmlRenderer }], target: i0.ɵɵFactoryTarget.Component });
|
64
|
+
ContentRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ContentRendererComponent, selector: "fs-content-renderer", inputs: { contentPage: "contentPage" }, viewQueries: [{ propertyName: "script", first: true, predicate: ["script"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"content\" [innerHTML]=\"content\"></div>\n<span #script></span>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentRendererComponent, decorators: [{
|
66
66
|
type: Component,
|
67
|
-
args: [{ selector: 'fs-content-renderer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"content\" [innerHTML]=\"content\"></div>\n<span #script></span>"
|
67
|
+
args: [{ selector: 'fs-content-renderer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"content\" [innerHTML]=\"content\"></div>\n<span #script></span>" }]
|
68
68
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.Router }, { type: i0.ElementRef }, { type: i3.HtmlRenderer }]; }, propDecorators: { script: [{
|
69
69
|
type: ViewChild,
|
70
70
|
args: ['script', { read: ElementRef }]
|
@@ -6,15 +6,13 @@ import { ContentRendererComponent } from './components/content-renderer';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export class FsContentModule {
|
8
8
|
}
|
9
|
-
FsContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
10
|
-
FsContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
9
|
+
FsContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10
|
+
FsContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FsContentModule, declarations: [FsContentComponent,
|
11
11
|
ContentRendererComponent], imports: [CommonModule,
|
12
12
|
FsHtmlEditorModule], exports: [FsContentComponent] });
|
13
|
-
FsContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
14
|
-
|
15
|
-
|
16
|
-
]] });
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentModule, decorators: [{
|
13
|
+
FsContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentModule, imports: [CommonModule,
|
14
|
+
FsHtmlEditorModule] });
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentModule, decorators: [{
|
18
16
|
type: NgModule,
|
19
17
|
args: [{
|
20
18
|
imports: [
|
@@ -30,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
30
28
|
],
|
31
29
|
}]
|
32
30
|
}] });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9mcy1jb250ZW50Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUU3RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFrQnpFLE1BQU0sT0FBTyxlQUFlOzs0R0FBZixlQUFlOzZHQUFmLGVBQWUsaUJBSnhCLGtCQUFrQjtRQUNsQix3QkFBd0IsYUFUeEIsWUFBWTtRQUVaLGtCQUFrQixhQUdsQixrQkFBa0I7NkdBT1QsZUFBZSxZQVp4QixZQUFZO1FBRVosa0JBQWtCOzJGQVVULGVBQWU7a0JBZDNCLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFO3dCQUNQLFlBQVk7d0JBRVosa0JBQWtCO3FCQUNuQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1Asa0JBQWtCO3FCQUNuQjtvQkFDRCxZQUFZLEVBQUU7d0JBQ1osa0JBQWtCO3dCQUNsQix3QkFBd0I7cUJBQ3pCO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5cbmltcG9ydCB7IEZzSHRtbEVkaXRvck1vZHVsZSB9IGZyb20gJ0BmaXJlc3RpdGNoL2h0bWwtZWRpdG9yJztcblxuaW1wb3J0IHsgRnNDb250ZW50Q29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2NvbnRlbnQnO1xuaW1wb3J0IHsgQ29udGVudFJlbmRlcmVyQ29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2NvbnRlbnQtcmVuZGVyZXInO1xuXG5cblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcblxuICAgIEZzSHRtbEVkaXRvck1vZHVsZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEZzQ29udGVudENvbXBvbmVudCxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRnNDb250ZW50Q29tcG9uZW50LFxuICAgIENvbnRlbnRSZW5kZXJlckNvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRnNDb250ZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
package/esm2020/app/modules/content-layouts/components/content-layout/content-layout.component.mjs
CHANGED
@@ -8,12 +8,12 @@ import { FS_CONTENT_CONFIG } from '../../../../injectors';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@angular/material/dialog";
|
10
10
|
import * as i2 from "@firestitch/message";
|
11
|
-
import * as i3 from "@
|
11
|
+
import * as i3 from "@angular/forms";
|
12
12
|
import * as i4 from "@angular/material/form-field";
|
13
|
-
import * as i5 from "@
|
14
|
-
import * as i6 from "@firestitch/
|
15
|
-
import * as i7 from "@
|
16
|
-
import * as i8 from "@
|
13
|
+
import * as i5 from "@angular/material/input";
|
14
|
+
import * as i6 from "@firestitch/form";
|
15
|
+
import * as i7 from "@firestitch/skeleton";
|
16
|
+
import * as i8 from "@firestitch/dialog";
|
17
17
|
export class ContentLayoutComponent {
|
18
18
|
constructor(_config, _data, _dialogRef, _message, _cdRef) {
|
19
19
|
this._config = _config;
|
@@ -50,11 +50,11 @@ export class ContentLayoutComponent {
|
|
50
50
|
});
|
51
51
|
}
|
52
52
|
}
|
53
|
-
ContentLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
54
|
-
ContentLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
53
|
+
ContentLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentLayoutComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
54
|
+
ContentLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ContentLayoutComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: FsTextEditorComponent, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentLayout\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentLayout.id ? 'Layout' : 'Layout Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <mat-label>Name</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.name\"\n name=\"name\"\n required>\n </mat-form-field>\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.tag\"\n name=\"tag\">\n </mat-form-field>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions>\n </fs-form-dialog-actions>\n </div>\n </fs-dialog>\n</form>\n", styles: [""], dependencies: [{ kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i6.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"], exportAs: ["fsForm"] }, { kind: "directive", type: i6.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { kind: "component", type: i6.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }, { kind: "directive", type: i6.FsFormNoFsValidatorsDirective, selector: "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])" }, { kind: "directive", type: i7.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { kind: "component", type: i8.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentLayoutComponent, decorators: [{
|
56
56
|
type: Component,
|
57
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentLayout\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentLayout.id ? 'Layout' : 'Layout Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <mat-label>Name</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.name\"\n name=\"name\"\n required>\n </mat-form-field>\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.tag\"\n name=\"tag\">\n </mat-form-field>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions>\n </fs-form-dialog-actions>\n </div>\n </fs-dialog>\n</form>\n"
|
57
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentLayout\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentLayout.id ? 'Layout' : 'Layout Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <mat-label>Name</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.name\"\n name=\"name\"\n required>\n </mat-form-field>\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.tag\"\n name=\"tag\">\n </mat-form-field>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions>\n </fs-form-dialog-actions>\n </div>\n </fs-dialog>\n</form>\n" }]
|
58
58
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
59
59
|
type: Inject,
|
60
60
|
args: [FS_CONTENT_CONFIG]
|
@@ -11,15 +11,15 @@ import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@angular/material/dialog";
|
12
12
|
import * as i2 from "@firestitch/message";
|
13
13
|
import * as i3 from "@firestitch/prompt";
|
14
|
-
import * as i4 from "@
|
14
|
+
import * as i4 from "@angular/forms";
|
15
15
|
import * as i5 from "@angular/material/button";
|
16
16
|
import * as i6 from "@angular/material/icon";
|
17
17
|
import * as i7 from "@angular/material/button-toggle";
|
18
|
-
import * as i8 from "
|
19
|
-
import * as i9 from "@
|
20
|
-
import * as i10 from "@firestitch/
|
21
|
-
import * as i11 from "@firestitch/
|
22
|
-
import * as i12 from "
|
18
|
+
import * as i8 from "@angular/material/tooltip";
|
19
|
+
import * as i9 from "@firestitch/form";
|
20
|
+
import * as i10 from "@firestitch/skeleton";
|
21
|
+
import * as i11 from "@firestitch/dialog";
|
22
|
+
import * as i12 from "../../../editor/components/editor/editor.component";
|
23
23
|
export class ContentLayoutEditorComponent {
|
24
24
|
constructor(_data, _dialogRef, _message, _dialog, _cdRef, _prompt) {
|
25
25
|
this._data = _data;
|
@@ -159,9 +159,9 @@ export class ContentLayoutEditorComponent {
|
|
159
159
|
});
|
160
160
|
}
|
161
161
|
}
|
162
|
-
ContentLayoutEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
163
|
-
ContentLayoutEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
162
|
+
ContentLayoutEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentLayoutEditorComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }, { token: i1.MatDialog }, { token: i0.ChangeDetectorRef }, { token: i3.FsPrompt }], target: i0.ɵɵFactoryTarget.Component });
|
163
|
+
ContentLayoutEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ContentLayoutEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "editor", first: true, predicate: EditorComponent, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"submitted\" [dirtySubmitButton]=\"false\" [confirm]=\"false\">\n <fs-dialog *fsSkeletonForm=\"contentLayout\">\n <h1 mat-dialog-title>\n <div class=\"title-container\">\n <div class=\"title\">\n Layout Editor\n <div class=\"small\">{{contentLayout.name}}</div> \n </div>\n <a\n (click)=\"openSettings()\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </a>\n\n <div class=\"toggles\">\n <mat-button-toggle-group multiple>\n <mat-button-toggle value=\"html\" [checked]=\"editors.html\" (change)=\"editorToggleChange($event)\">HTML</mat-button-toggle>\n <mat-button-toggle value=\"scss\" [checked]=\"editors.scss\" (change)=\"editorToggleChange($event)\">SCSS</mat-button-toggle>\n <!-- <mat-button-toggle value=\"js\" [checked]=\"editors.js\" (change)=\"editorToggleChange($event)\">JS</mat-button-toggle> -->\n <mat-button-toggle value=\"globalScss\" [checked]=\"editors.globalScss\" (change)=\"editorToggleChange($event)\">Global SCSS</mat-button-toggle>\n </mat-button-toggle-group> \n </div>\n\n <div class=\"actions\">\n <button\n #submit\n mat-stroked-button\n color=\"primary\"\n [disabled]=\"!editor?.hasChanges || submitting\"\n [matTooltip]=\"isMac ? 'cmd+s' : 'ctrl+s'\"\n type=\"button\"\n (click)=\"save()\"> \n Save\n </button>\n\n <button \n mat-stroked-button\n (click)=\"close()\"\n type=\"button\"> \n Done\n </button>\n </div>\n </div>\n </h1>\n <div mat-dialog-content>\n <app-editor\n [contentConfig]=\"config\"\n [showHtml]=\"editors.html\"\n [showScss]=\"editors.scss\"\n [showGlobalScss]=\"editors.globalScss\"\n [html]=\"contentLayout.content\"\n [scss]=\"contentLayout.styles\"\n (focused)=\"editorFocused($event)\">\n </app-editor>\n </div>\n\n <!-- <div mat-dialog-actions>\n <button \n mat-button\n color=\"primary\"\n (click)=\"close()\"\n type=\"button\"> \n Done \n </button>\n <div class=\"toggles\">\n <mat-button-toggle-group multiple>\n <mat-button-toggle value=\"html\" [checked]=\"editors.html\" (change)=\"editorToggleChange($event)\">HTML</mat-button-toggle>\n <mat-button-toggle value=\"scss\" [checked]=\"editors.scss\" (change)=\"editorToggleChange($event)\">SCSS</mat-button-toggle>\n <mat-button-toggle value=\"globalScss\" [checked]=\"editors.globalScss\" (change)=\"editorToggleChange($event)\">Global SCSS</mat-button-toggle>\n </mat-button-toggle-group> \n </div>\n </div> -->\n </fs-dialog>\n</form>", styles: ["::ng-deep .fs-content-editor-overlay-pane .mat-dialog-container{border-radius:0}form{height:100%}fs-dialog{display:flex;height:100%;flex-direction:column}fs-dialog ::ng-deep .mat-dialog-content{max-height:none;flex:1;overflow:hidden}fs-dialog ::ng-deep .mat-button-toggle-label-content{line-height:36px}h1 .toggles{display:flex;justify-content:flex-end;justify-self:baseline;font-size:13px}h1 .actions{margin-left:30px}h1 .actions .mat-stroked-button{margin-left:5px}.title-container{display:flex;align-items:center}.title-container .title{flex:1}.title-container .title .small{line-height:normal}\n"], dependencies: [{ kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i7.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: i9.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"], exportAs: ["fsForm"] }, { kind: "directive", type: i9.FsButtonDirective, selector: "[mat-raised-button],[mat-button],[mat-flat-button],[mat-stroked-button]", inputs: ["name", "dirtySubmit", "form"] }, { kind: "directive", type: i10.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { kind: "component", type: i11.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { kind: "component", type: i12.EditorComponent, selector: "app-editor", inputs: ["showHtml", "showScss", "showJs", "showGlobalScss", "html", "scss", "js", "contentConfig"], outputs: ["changed", "focused", "blured"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ContentLayoutEditorComponent, decorators: [{
|
165
165
|
type: Component,
|
166
166
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<form fsForm [submit]=\"submitted\" [dirtySubmitButton]=\"false\" [confirm]=\"false\">\n <fs-dialog *fsSkeletonForm=\"contentLayout\">\n <h1 mat-dialog-title>\n <div class=\"title-container\">\n <div class=\"title\">\n Layout Editor\n <div class=\"small\">{{contentLayout.name}}</div> \n </div>\n <a\n (click)=\"openSettings()\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </a>\n\n <div class=\"toggles\">\n <mat-button-toggle-group multiple>\n <mat-button-toggle value=\"html\" [checked]=\"editors.html\" (change)=\"editorToggleChange($event)\">HTML</mat-button-toggle>\n <mat-button-toggle value=\"scss\" [checked]=\"editors.scss\" (change)=\"editorToggleChange($event)\">SCSS</mat-button-toggle>\n <!-- <mat-button-toggle value=\"js\" [checked]=\"editors.js\" (change)=\"editorToggleChange($event)\">JS</mat-button-toggle> -->\n <mat-button-toggle value=\"globalScss\" [checked]=\"editors.globalScss\" (change)=\"editorToggleChange($event)\">Global SCSS</mat-button-toggle>\n </mat-button-toggle-group> \n </div>\n\n <div class=\"actions\">\n <button\n #submit\n mat-stroked-button\n color=\"primary\"\n [disabled]=\"!editor?.hasChanges || submitting\"\n [matTooltip]=\"isMac ? 'cmd+s' : 'ctrl+s'\"\n type=\"button\"\n (click)=\"save()\"> \n Save\n </button>\n\n <button \n mat-stroked-button\n (click)=\"close()\"\n type=\"button\"> \n Done\n </button>\n </div>\n </div>\n </h1>\n <div mat-dialog-content>\n <app-editor\n [contentConfig]=\"config\"\n [showHtml]=\"editors.html\"\n [showScss]=\"editors.scss\"\n [showGlobalScss]=\"editors.globalScss\"\n [html]=\"contentLayout.content\"\n [scss]=\"contentLayout.styles\"\n (focused)=\"editorFocused($event)\">\n </app-editor>\n </div>\n\n <!-- <div mat-dialog-actions>\n <button \n mat-button\n color=\"primary\"\n (click)=\"close()\"\n type=\"button\"> \n Done \n </button>\n <div class=\"toggles\">\n <mat-button-toggle-group multiple>\n <mat-button-toggle value=\"html\" [checked]=\"editors.html\" (change)=\"editorToggleChange($event)\">HTML</mat-button-toggle>\n <mat-button-toggle value=\"scss\" [checked]=\"editors.scss\" (change)=\"editorToggleChange($event)\">SCSS</mat-button-toggle>\n <mat-button-toggle value=\"globalScss\" [checked]=\"editors.globalScss\" (change)=\"editorToggleChange($event)\">Global SCSS</mat-button-toggle>\n </mat-button-toggle-group> \n </div>\n </div> -->\n </fs-dialog>\n</form>", styles: ["::ng-deep .fs-content-editor-overlay-pane .mat-dialog-container{border-radius:0}form{height:100%}fs-dialog{display:flex;height:100%;flex-direction:column}fs-dialog ::ng-deep .mat-dialog-content{max-height:none;flex:1;overflow:hidden}fs-dialog ::ng-deep .mat-button-toggle-label-content{line-height:36px}h1 .toggles{display:flex;justify-content:flex-end;justify-self:baseline;font-size:13px}h1 .actions{margin-left:30px}h1 .actions .mat-stroked-button{margin-left:5px}.title-container{display:flex;align-items:center}.title-container .title{flex:1}.title-container .title .small{line-height:normal}\n"] }]
|
167
167
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
package/esm2020/app/modules/content-layouts/components/content-layouts/content-layouts.component.mjs
CHANGED
@@ -9,8 +9,8 @@ import { ContentLayoutComponent } from '../../components/content-layout';
|
|
9
9
|
import { ContentLayoutEditorComponent } from '../content-layout-editor/content-layout-editor.component';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
import * as i1 from "@angular/material/dialog";
|
12
|
-
import * as i2 from "@
|
13
|
-
import * as i3 from "@
|
12
|
+
import * as i2 from "@angular/common";
|
13
|
+
import * as i3 from "@firestitch/list";
|
14
14
|
import * as i4 from "@firestitch/date";
|
15
15
|
export class FsContentLayoutsComponent {
|
16
16
|
constructor(_config, _dialog) {
|
@@ -102,11 +102,11 @@ export class FsContentLayoutsComponent {
|
|
102
102
|
};
|
103
103
|
}
|
104
104
|
}
|
105
|
-
FsContentLayoutsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
106
|
-
FsContentLayoutsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
105
|
+
FsContentLayoutsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentLayoutsComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
106
|
+
FsContentLayoutsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentLayoutsComponent, selector: "fs-content-layouts", viewQueries: [{ propertyName: "listComponent", first: true, predicate: FsListComponent, descendants: true }], ngImport: i0, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a *ngIf=\"row.state !== 'deleted'; else name\" (click)=\"openEditor(row)\">\n <ng-container [ngTemplateOutlet]=\"name\"></ng-container>\n </a>\n\n <ng-template #name>{{row.name}}</ng-template>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { kind: "directive", type: i3.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { kind: "directive", type: i3.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { kind: "pipe", type: i4.FsDatePipe, name: "fsDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentLayoutsComponent, decorators: [{
|
108
108
|
type: Component,
|
109
|
-
args: [{ selector: 'fs-content-layouts', changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a *ngIf=\"row.state !== 'deleted'; else name\" (click)=\"openEditor(row)\">\n <ng-container [ngTemplateOutlet]=\"name\"></ng-container>\n </a>\n\n <ng-template #name>{{row.name}}</ng-template>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n"
|
109
|
+
args: [{ selector: 'fs-content-layouts', changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a *ngIf=\"row.state !== 'deleted'; else name\" (click)=\"openEditor(row)\">\n <ng-container [ngTemplateOutlet]=\"name\"></ng-container>\n </a>\n\n <ng-template #name>{{row.name}}</ng-template>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n" }]
|
110
110
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
111
111
|
type: Inject,
|
112
112
|
args: [FS_CONTENT_CONFIG]
|
@@ -25,8 +25,8 @@ import { FsContentLayoutsComponent } from './components/content-layouts';
|
|
25
25
|
import * as i0 from "@angular/core";
|
26
26
|
export class FsContentLayoutsModule {
|
27
27
|
}
|
28
|
-
FsContentLayoutsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
29
|
-
FsContentLayoutsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
28
|
+
FsContentLayoutsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentLayoutsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
29
|
+
FsContentLayoutsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FsContentLayoutsModule, declarations: [ContentLayoutComponent,
|
30
30
|
FsContentLayoutsComponent,
|
31
31
|
ContentLayoutEditorComponent], imports: [CommonModule,
|
32
32
|
FormsModule,
|
@@ -48,29 +48,27 @@ FsContentLayoutsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
48
48
|
FsDialogModule,
|
49
49
|
FsTextEditorModule,
|
50
50
|
FsContentEditorModule], exports: [FsContentLayoutsComponent] });
|
51
|
-
FsContentLayoutsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
]] });
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentLayoutsModule, decorators: [{
|
51
|
+
FsContentLayoutsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentLayoutsModule, imports: [CommonModule,
|
52
|
+
FormsModule,
|
53
|
+
MatDialogModule,
|
54
|
+
MatInputModule,
|
55
|
+
MatFormFieldModule,
|
56
|
+
MatButtonModule,
|
57
|
+
MatTabsModule,
|
58
|
+
MatIconModule,
|
59
|
+
MatSelectModule,
|
60
|
+
MatButtonToggleModule,
|
61
|
+
MatTooltipModule,
|
62
|
+
FsListModule,
|
63
|
+
FsDateModule,
|
64
|
+
FsFormModule,
|
65
|
+
FsLabelModule,
|
66
|
+
FsSkeletonModule,
|
67
|
+
FsHtmlEditorModule,
|
68
|
+
FsDialogModule,
|
69
|
+
FsTextEditorModule,
|
70
|
+
FsContentEditorModule] });
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentLayoutsModule, decorators: [{
|
74
72
|
type: NgModule,
|
75
73
|
args: [{
|
76
74
|
imports: [
|
@@ -105,4 +103,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
105
103
|
],
|
106
104
|
}]
|
107
105
|
}] });
|
108
|
-
//# sourceMappingURL=data:application/json;base64,
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1sYXlvdXRzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9jb250ZW50LWxheW91dHMvZnMtY29udGVudC1sYXlvdXRzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFN0MsT0FBTyxFQUFFLGVB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