@firestitch/content 12.2.3 → 12.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/app/interfaces/content-config.d.ts +2 -0
- package/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.d.ts +41 -0
- package/app/modules/content-layouts/components/content-layout-editor/index.d.ts +1 -0
- package/app/modules/content-layouts/components/index.d.ts +3 -0
- package/app/modules/content-layouts/fs-content-layouts.module.d.ts +21 -20
- package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts +43 -0
- package/app/modules/content-pages/components/content-page-editor/index.d.ts +1 -0
- package/app/modules/content-pages/components/index.d.ts +3 -0
- package/app/modules/content-pages/fs-content-pages.module.d.ts +22 -20
- package/app/modules/editor/components/editor/editor.component.d.ts +15 -32
- package/bundles/firestitch-content.umd.js +400 -250
- package/bundles/firestitch-content.umd.js.map +1 -1
- package/esm2015/app/interfaces/content-config.js +1 -1
- package/esm2015/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.js +97 -0
- package/esm2015/app/modules/content-layouts/components/content-layout-editor/index.js +2 -0
- package/esm2015/app/modules/content-layouts/components/content-layouts/content-layouts.component.js +4 -11
- package/esm2015/app/modules/content-layouts/components/index.js +4 -0
- package/esm2015/app/modules/content-layouts/fs-content-layouts.module.js +10 -7
- package/esm2015/app/modules/content-pages/components/content-page-editor/content-page-editor.component.js +101 -0
- package/esm2015/app/modules/content-pages/components/content-page-editor/index.js +2 -0
- package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js +3 -10
- package/esm2015/app/modules/content-pages/components/index.js +4 -0
- package/esm2015/app/modules/content-pages/fs-content-pages.module.js +9 -2
- package/esm2015/app/modules/editor/components/editor/editor.component.js +41 -65
- package/esm2015/public_api.js +2 -1
- package/fesm2015/firestitch-content.js +246 -104
- package/fesm2015/firestitch-content.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -3
@@ -2,22 +2,23 @@ import { CommonModule } from '@angular/common';
|
|
2
2
|
import { NgModule } from '@angular/core';
|
3
3
|
import { FormsModule } from '@angular/forms';
|
4
4
|
import { MatButtonModule } from '@angular/material/button';
|
5
|
+
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
5
6
|
import { MatDialogModule } from '@angular/material/dialog';
|
6
7
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
8
|
+
import { MatIconModule } from '@angular/material/icon';
|
7
9
|
import { MatInputModule } from '@angular/material/input';
|
10
|
+
import { MatSelectModule } from '@angular/material/select';
|
8
11
|
import { MatTabsModule } from '@angular/material/tabs';
|
9
12
|
import { FsDateModule } from '@firestitch/date';
|
10
13
|
import { FsDialogModule } from '@firestitch/dialog';
|
11
14
|
import { FsFormModule } from '@firestitch/form';
|
12
15
|
import { FsHtmlEditorModule } from '@firestitch/html-editor';
|
13
|
-
import { FsListModule } from '@firestitch/list';
|
14
|
-
import { FsTextEditorModule } from '@firestitch/text-editor';
|
15
|
-
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
16
|
-
import { MatIconModule } from '@angular/material/icon';
|
17
|
-
import { MatSelectModule } from '@angular/material/select';
|
18
16
|
import { FsLabelModule } from '@firestitch/label';
|
17
|
+
import { FsListModule } from '@firestitch/list';
|
19
18
|
import { FsSkeletonModule } from '@firestitch/skeleton';
|
19
|
+
import { FsTextEditorModule } from '@firestitch/text-editor';
|
20
20
|
import { FsContentEditorModule } from '../editor';
|
21
|
+
import { ContentLayoutEditorComponent } from './components';
|
21
22
|
import { ContentLayoutComponent } from './components/content-layout';
|
22
23
|
import { FsContentLayoutsComponent } from './components/content-layouts';
|
23
24
|
import * as i0 from "@angular/core";
|
@@ -25,7 +26,8 @@ export class FsContentLayoutsModule {
|
|
25
26
|
}
|
26
27
|
FsContentLayoutsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentLayoutsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
27
28
|
FsContentLayoutsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentLayoutsModule, declarations: [ContentLayoutComponent,
|
28
|
-
FsContentLayoutsComponent
|
29
|
+
FsContentLayoutsComponent,
|
30
|
+
ContentLayoutEditorComponent], imports: [CommonModule,
|
29
31
|
FormsModule,
|
30
32
|
MatDialogModule,
|
31
33
|
MatInputModule,
|
@@ -95,7 +97,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
95
97
|
declarations: [
|
96
98
|
ContentLayoutComponent,
|
97
99
|
FsContentLayoutsComponent,
|
100
|
+
ContentLayoutEditorComponent,
|
98
101
|
],
|
99
102
|
}]
|
100
103
|
}] });
|
101
|
-
//# sourceMappingURL=data:application/json;base64,
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1sYXlvdXRzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9jb250ZW50LWxheW91dHMvZnMtY29udGVudC1sYXlvdXRzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFN0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzNELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBT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AgIE1hdEJ1dHRvbk1vZHVsZSxcbiAgICBNYXRUYWJzTW9kdWxlLFxuICAgIE1hdEljb25Nb2R1bGUsXG4gICAgTWF0U2VsZWN0TW9kdWxlLFxuICAgIE1hdEJ1dHRvblRvZ2dsZU1vZHVsZSxcblxuICAgIEZzTGlzdE1vZHVsZSxcbiAgICBGc0RhdGVNb2R1bGUsXG4gICAgRnNGb3JtTW9kdWxlLFxuICAgIEZzTGFiZWxNb2R1bGUsXG4gICAgRnNTa2VsZXRvbk1vZHVsZSxcbiAgICBGc0h0bWxFZGl0b3JNb2R1bGUsXG4gICAgRnNEaWFsb2dNb2R1bGUsXG4gICAgRnNUZXh0RWRpdG9yTW9kdWxlLFxuXG4gICAgRnNDb250ZW50RWRpdG9yTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRnNDb250ZW50TGF5b3V0c0NvbXBvbmVudCxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgQ29udGVudExheW91dENvbXBvbmVudCxcbiAgICBGc0NvbnRlbnRMYXlvdXRzQ29tcG9uZW50LFxuICAgIENvbnRlbnRMYXlvdXRFZGl0b3JDb21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEZzQ29udGVudExheW91dHNNb2R1bGUge1xufVxuIl19
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, } from '@angular/core';
|
2
|
+
import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { FsMessage } from '@firestitch/message';
|
4
|
+
import { Subject } from 'rxjs';
|
5
|
+
import { takeUntil, tap } from 'rxjs/operators';
|
6
|
+
import { ContentPageComponent } from '../content-page/content-page.component';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "@angular/material/dialog";
|
9
|
+
import * as i2 from "@firestitch/message";
|
10
|
+
import * as i3 from "@firestitch/dialog";
|
11
|
+
import * as i4 from "@angular/material/button";
|
12
|
+
import * as i5 from "@angular/material/icon";
|
13
|
+
import * as i6 from "../../../editor/components/editor/editor.component";
|
14
|
+
import * as i7 from "@firestitch/form";
|
15
|
+
import * as i8 from "@angular/material/button-toggle";
|
16
|
+
import * as i9 from "@firestitch/skeleton";
|
17
|
+
export class ContentPageEditorComponent {
|
18
|
+
constructor(_data, _dialogRef, _message, _dialog, _cdRef) {
|
19
|
+
this._data = _data;
|
20
|
+
this._dialogRef = _dialogRef;
|
21
|
+
this._message = _message;
|
22
|
+
this._dialog = _dialog;
|
23
|
+
this._cdRef = _cdRef;
|
24
|
+
this.resizing = false;
|
25
|
+
this.editors = {
|
26
|
+
html: true,
|
27
|
+
scss: true,
|
28
|
+
js: false,
|
29
|
+
globalScss: false,
|
30
|
+
};
|
31
|
+
this._destroy$ = new Subject();
|
32
|
+
}
|
33
|
+
ngOnInit() {
|
34
|
+
this._dialogRef.addPanelClass('fs-content-editor-overlay-pane');
|
35
|
+
this.config = this._data.contentConfig;
|
36
|
+
this._initContentPage(this._data.contentPage);
|
37
|
+
}
|
38
|
+
editorToggleChange(event) {
|
39
|
+
this.editors[event.value] = !this.editors[event.value];
|
40
|
+
}
|
41
|
+
ngOnDestroy() {
|
42
|
+
this._destroy$.next();
|
43
|
+
this._destroy$.complete();
|
44
|
+
}
|
45
|
+
_initContentPage(contentPage) {
|
46
|
+
this.config.loadContentPage(contentPage.id)
|
47
|
+
.subscribe((data) => {
|
48
|
+
this.contentPage = data;
|
49
|
+
this._cdRef.markForCheck();
|
50
|
+
});
|
51
|
+
}
|
52
|
+
editorChanged(event) {
|
53
|
+
const data = {};
|
54
|
+
if (event.type === 'js') {
|
55
|
+
data.js = event.value;
|
56
|
+
}
|
57
|
+
if (event.type === 'html') {
|
58
|
+
data.content = event.value;
|
59
|
+
}
|
60
|
+
if (event.type === 'scss') {
|
61
|
+
data.styles = event.value;
|
62
|
+
}
|
63
|
+
this.saveContentPage(data);
|
64
|
+
}
|
65
|
+
saveContentPage(data) {
|
66
|
+
this.config.saveContentPage(Object.assign({ id: this.contentPage.id }, data))
|
67
|
+
.pipe(tap((contentPage) => {
|
68
|
+
this.contentPage = Object.assign(Object.assign({}, this.contentPage), contentPage);
|
69
|
+
this._cdRef.markForCheck();
|
70
|
+
this._message.success('Saved Changes');
|
71
|
+
}))
|
72
|
+
.subscribe();
|
73
|
+
}
|
74
|
+
openSettings() {
|
75
|
+
this._dialog.open(ContentPageComponent, {
|
76
|
+
data: {
|
77
|
+
contentPage: this.contentPage,
|
78
|
+
},
|
79
|
+
})
|
80
|
+
.afterClosed()
|
81
|
+
.pipe(takeUntil(this._destroy$))
|
82
|
+
.subscribe((contentPage) => {
|
83
|
+
this.contentPage = Object.assign(Object.assign({}, this.contentPage), contentPage);
|
84
|
+
this._cdRef.markForCheck();
|
85
|
+
});
|
86
|
+
}
|
87
|
+
}
|
88
|
+
ContentPageEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentPageEditorComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }, { token: i1.MatDialog }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
89
|
+
ContentPageEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentPageEditorComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog *fsSkeletonForm=\"contentPage\">\n <h1 mat-dialog-title>\n <div class=\"title-container\">\n <div class=\"title\">\n Page Editor\n <div class=\"small\">{{contentPage.name}}</div> \n </div>\n <a\n (click)=\"openSettings()\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </a> \n </div>\n </h1>\n <div mat-dialog-content>\n <app-editor\n [contentConfig]=\"config\"\n [showHtml]=\"editors.html\"\n [showJs]=\"editors.js\"\n [showScss]=\"editors.scss\"\n [showGlobalScss]=\"editors.globalScss\"\n [html]=\"contentPage.content\"\n [scss]=\"contentPage.styles\"\n [js]=\"contentPage.js\"\n (changed)=\"editorChanged($event)\">\n </app-editor>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions\n [save]=\"false\"\n [done]=\"true\">\n </fs-form-dialog-actions>\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 </div>\n</fs-dialog>\n\n", styles: ["::ng-deep .fs-content-editor-overlay-pane .mat-dialog-container{border-radius:0}fs-dialog{display:flex;height:100%;flex-direction:column}fs-dialog ::ng-deep .mat-dialog-content{max-height:none;flex:1;overflow:hidden}.mat-dialog-actions fs-form-dialog-actions{width:auto}.mat-dialog-actions .toggles{display:flex;justify-content:flex-end;justify-self:baseline;flex:1}.title-container{display:flex;align-items:center}.title-container .title{flex:1}.title-container .title .small{line-height:normal}\n"], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4.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"] }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6.EditorComponent, selector: "app-editor", inputs: ["showHtml", "showScss", "showJs", "showGlobalScss", "html", "scss", "js", "contentConfig"], outputs: ["changed"] }, { type: i7.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }, { type: i8.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-labelledby", "tabIndex", "appearance", "checked", "disabled", "id", "name", "aria-label", "value"], outputs: ["change"], exportAs: ["matButtonToggle"] }], directives: [{ type: i9.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i8.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentPageEditorComponent, decorators: [{
|
91
|
+
type: Component,
|
92
|
+
args: [{
|
93
|
+
templateUrl: './content-page-editor.component.html',
|
94
|
+
styleUrls: ['./content-page-editor.component.scss'],
|
95
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
96
|
+
}]
|
97
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
98
|
+
type: Inject,
|
99
|
+
args: [MAT_DIALOG_DATA]
|
100
|
+
}] }, { type: i1.MatDialogRef }, { type: i2.FsMessage }, { type: i1.MatDialog }, { type: i0.ChangeDetectorRef }]; } });
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWdlLWVkaXRvci5jb21wb25lbnQu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maWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZS1lZGl0b3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC1wYWdlLWVkaXRvci5jb21wb25lbnQnO1xuIl19
|
package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js
CHANGED
@@ -8,7 +8,7 @@ import { filter, map, takeUntil } from 'rxjs/operators';
|
|
8
8
|
import { PageTypes } from '../../../../consts';
|
9
9
|
import { PageType } from '../../../../enums';
|
10
10
|
import { FS_CONTENT_CONFIG } from '../../../../injectors';
|
11
|
-
import {
|
11
|
+
import { ContentPageEditorComponent } from '../content-page-editor';
|
12
12
|
import { ContentPageComponent } from '../content-page/content-page.component';
|
13
13
|
import * as i0 from "@angular/core";
|
14
14
|
import * as i1 from "@angular/material/dialog";
|
@@ -25,18 +25,11 @@ export class FsContentPagesComponent {
|
|
25
25
|
this._initListConfig();
|
26
26
|
}
|
27
27
|
openEditor(contentPage) {
|
28
|
-
this._dialog.open(
|
28
|
+
this._dialog.open(ContentPageEditorComponent, {
|
29
29
|
data: {
|
30
30
|
contentPage,
|
31
31
|
config: this._config,
|
32
|
-
title: 'Page',
|
33
32
|
contentConfig: this._config,
|
34
|
-
save: (data) => {
|
35
|
-
return this._config.saveContentPage(data);
|
36
|
-
},
|
37
|
-
openSettings: (data) => {
|
38
|
-
return this.openContentPage(data);
|
39
|
-
},
|
40
33
|
},
|
41
34
|
maxWidth: '100vw',
|
42
35
|
width: '100%',
|
@@ -134,4 +127,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
134
127
|
type: ViewChild,
|
135
128
|
args: [FsListComponent]
|
136
129
|
}] } });
|
137
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUdMLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFckQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUU5QyxPQUFPLEVBQUUsZUFBZSxFQUFnQixNQUFNLGtCQUFrQixDQUFDO0FBRWpFLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFHeEQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVB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lbnRQYWdlKGNvbnRlbnRQYWdlKTogT2JzZXJ2YWJsZTxhbnk+IHtcbiAgICByZXR1cm4gdGhpcy5fZGlhbG9nLm9wZW4oQ29udGVudFBhZ2VDb21wb25lbnQsIHtcbiAgICAgIGRhdGE6IHsgY29udGVudFBhZ2UgfSxcbiAgICB9KVxuICAgICAgLmFmdGVyQ2xvc2VkKClcbiAgICAgIC5waXBlKFxuICAgICAgICB0YWtlVW50aWwodGhpcy5fZGVzdHJveSQpLFxuICAgICAgKTtcbiAgfVxuXG4gIHByaXZhdGUgX2luaXRMaXN0Q29uZmlnKCk6IHZvaWQge1xuICAgIHRoaXMubGlzdENvbmZpZyA9IHtcbiAgICAgIGZpbHRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdrZXl3b3JkJyxcbiAgICAgICAgICB0eXBlOiBJdGVtVHlwZS5LZXl3b3JkLFxuICAgICAgICAgIGxhYmVsOiAnU2VhcmNoJyxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICBhY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBsYWJlbDogJ0NyZWF0ZScsXG4gICAgICAgICAgY2xpY2s6ICgpID0+IHtcbiAgICAgICAgICAgIHRoaXMub3BlbkNvbnRlbnRQYWdlKHtcbiAgICAgICAgICAgICAgdHlwZTogUGFnZVR5cGUuU3RhbmRhcmRQYWdlLFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgZmlsdGVyKChjb250ZW50UGFnZSkgPT4gISFjb250ZW50UGFnZSksXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgLnN1YnNjcmliZSgoY29udGVudFBhZ2UpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLm9wZW5FZGl0b3IoY29udGVudFBhZ2UpO1xuICAgICAgICAgICAgICAgIHRoaXMubGlzdENvbXBvbmVudC5yZWxvYWQoKTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICByb3dBY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBjbGljazogKGRhdGEpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9jb25maWcuZGVsZXRlQ29udGVudFBhZ2UoZGF0YSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgICByZW1vdmU6IHtcbiAgICAgICAgICAgIHRpdGxlOiAnQ29uZmlybScsXG4gICAgICAgICAgICB0ZW1wbGF0ZTogJ0FyZSB5b3Ugc3VyZSB5b3Ugd291bGQgbGlrZSB0byBkZWxldGUgdGhpcyByZWNvcmQ/JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG1lbnU6IHRydWUsXG4gICAgICAgICAgbGFiZWw6ICdEZWxldGUnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGZldGNoOiAocXVlcnkpID0+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuX2NvbmZpZy5sb2FkQ29udGVudFBhZ2VzKHF1ZXJ5KVxuICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgbWFwKChyZXNwb25zZTogYW55KSA9PiB7XG4gICAgICAgICAgICAgIHJldHVybiB7IGRhdGE6IHJlc3BvbnNlLmNvbnRlbnRQYWdlcywgcGFnaW5nOiByZXNwb25zZS5wYWdpbmcgfTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICk7XG4gICAgICB9LFxuICAgICAgcmVzdG9yZToge1xuICAgICAgICBxdWVyeTogeyBzdGF0ZTogJ2RlbGV0ZWQnIH0sXG4gICAgICAgIGZpbHRlckxhYmVsOiAnU2hvdyBEZWxldGVkJyxcbiAgICAgICAgbWVudUxhYmVsOiAnUmVzdG9yZScsXG4gICAgICAgIHJlbG9hZDogdHJ1ZSxcbiAgICAgICAgY2xpY2s6IChyb3cpID0+IHtcbiAgICAgICAgICByZXR1cm4gdGhpcy5fY29uZmlnLnNhdmV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0Q29uZmlnID0ge1xuICAgICAgZmlsdGVyczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2tleXdvcmQnLFxuICAgICAgICAgIHR5cGU6IEl0ZW1UeXBlLktleXdvcmQsXG4gICAgICAgICAgbGFiZWw6ICdTZWFyY2gnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGFjdGlvbnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIGxhYmVsOiAnQ3JlYXRlJyxcbiAgICAgICAgICBjbGljazogKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5vcGVuQ29udGVudFBhZ2Uoe1xuICAgICAgICAgICAgICB0eXBlOiBQYWdlVHlwZS5TdGFuZGFyZFBhZ2UsXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgICAgICBmaWx0ZXIoKGNvbnRlbnRQYWdlKSA9PiAhIWNvbnRlbnRQYWdlKSxcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAuc3Vic2NyaWJlKChjb250ZW50UGFnZSkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMub3BlbkVkaXRvcihjb250ZW50UGFnZSk7XG4gICAgICAgICAgICAgICAgdGhpcy5saXN0Q29tcG9uZW50LnJlbG9hZCgpO1xuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICB9LFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIHJvd0FjdGlvbnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIGNsaWNrOiAoZGF0YSkgPT4ge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuX2NvbmZpZy5kZWxldGVDb250ZW50UGFnZShkYXRhKTtcbiAgICAgICAgICB9LFxuICAgICAgICAgIHJlbW92ZToge1xuICAgICAgICAgICAgdGl0bGU6ICdDb25maXJtJyxcbiAgICAgICAgICAgIHRlbXBsYXRlOiAnQXJlIHlvdSBzdXJlIHlvdSB3b3VsZCBsaWtlIHRvIGRlbGV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BlbkVkaXRvcihyb3cpXCI+e3tyb3cubmFtZX19PC9hPlxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG4gIDxmcy1saXN0LWNvbHVtbiBuYW1lPVwicGF0aFwiIHRpdGxlPVwiUGF0aFwiIFtzb3J0YWJsZV09XCJ0cnVlXCI+XG4gICAgPG5nLXRlbXBsYXRlIGZzLWxpc3QtY2VsbCBsZXQtcm93PVwicm93XCI+XG4gICAgICA8YSBbaHJlZl09XCInLycgKyByb3cucGF0aFwiIHRhcmdldD1cIl9ibGFja1wiPi97e3Jvdy5wYXRofX08L2E+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgPC9mcy1saXN0LWNvbHVtbj5cbiAgPGZzLWxpc3QtY29sdW1uIG5hbWU9XCJ0eXBlXCIgdGl0bGU9XCJUeXBlXCIgW3NvcnRhYmxlXT1cInRydWVcIj5cbiAgICA8bmctdGVtcGxhdGUgZnMtbGlzdC1jZWxsIGxldC1yb3c9XCJyb3dcIj5cbiAgICAgIHt7cGFnZVR5cGVzW3Jvdy50eXBlXX19XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgPC9mcy1saXN0LWNvbHVtbj5cbiAgPGZzLWxpc3QtY29sdW1uIG5hbWU9XCJtb2RpZnlfZGF0ZVwiIHRpdGxlPVwiTW9kaWZpZWRcIiBbc29ydGFibGVdPVwidHJ1ZVwiPlxuICAgIDxuZy10ZW1wbGF0ZSBmcy1saXN0LWNlbGwgbGV0LXJvdz1cInJvd1wiPlxuICAgICAge3tyb3cubW9kaWZ5RGF0ZSB8IGZzRGF0ZTogJ2RhdGUtdGltZS15ZWFybGVzcyd9fVxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG48L2ZzLWxpc3Q+XG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './content-page';
|
2
|
+
export * from './content-page-editor';
|
3
|
+
export * from './content-pages';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LXBhZ2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbnRlbnQtcGFnZS1lZGl0b3InO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbnRlbnQtcGFnZXMnO1xyXG4iXX0=
|
@@ -9,6 +9,7 @@ import { MatIconModule } from '@angular/material/icon';
|
|
9
9
|
import { MatInputModule } from '@angular/material/input';
|
10
10
|
import { MatSelectModule } from '@angular/material/select';
|
11
11
|
import { MatTabsModule } from '@angular/material/tabs';
|
12
|
+
import { FsCommonModule } from '@firestitch/common';
|
12
13
|
import { FsDateModule } from '@firestitch/date';
|
13
14
|
import { FsDialogModule } from '@firestitch/dialog';
|
14
15
|
import { FsFormModule } from '@firestitch/form';
|
@@ -18,6 +19,7 @@ import { FsListModule } from '@firestitch/list';
|
|
18
19
|
import { FsSkeletonModule } from '@firestitch/skeleton';
|
19
20
|
import { FsTextEditorModule } from '@firestitch/text-editor';
|
20
21
|
import { FsContentEditorModule } from '../editor';
|
22
|
+
import { ContentPageEditorComponent } from './components';
|
21
23
|
import { ContentPageComponent } from './components/content-page';
|
22
24
|
import { FsContentPagesComponent } from './components/content-pages';
|
23
25
|
import * as i0 from "@angular/core";
|
@@ -30,7 +32,8 @@ export class FsContentPagesModule {
|
|
30
32
|
}
|
31
33
|
FsContentPagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
32
34
|
FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentPagesModule, declarations: [FsContentPagesComponent,
|
33
|
-
ContentPageComponent
|
35
|
+
ContentPageComponent,
|
36
|
+
ContentPageEditorComponent], imports: [CommonModule,
|
34
37
|
FormsModule,
|
35
38
|
MatDialogModule,
|
36
39
|
MatInputModule,
|
@@ -42,6 +45,7 @@ FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
|
|
42
45
|
MatButtonToggleModule,
|
43
46
|
FsListModule,
|
44
47
|
FsDateModule,
|
48
|
+
FsCommonModule,
|
45
49
|
FsFormModule,
|
46
50
|
FsLabelModule,
|
47
51
|
FsSkeletonModule,
|
@@ -62,6 +66,7 @@ FsContentPagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
62
66
|
MatButtonToggleModule,
|
63
67
|
FsListModule,
|
64
68
|
FsDateModule,
|
69
|
+
FsCommonModule,
|
65
70
|
FsFormModule,
|
66
71
|
FsLabelModule,
|
67
72
|
FsSkeletonModule,
|
@@ -86,6 +91,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
86
91
|
MatButtonToggleModule,
|
87
92
|
FsListModule,
|
88
93
|
FsDateModule,
|
94
|
+
FsCommonModule,
|
89
95
|
FsFormModule,
|
90
96
|
FsLabelModule,
|
91
97
|
FsSkeletonModule,
|
@@ -100,7 +106,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
100
106
|
declarations: [
|
101
107
|
FsContentPagesComponent,
|
102
108
|
ContentPageComponent,
|
109
|
+
ContentPageEditorComponent,
|
103
110
|
],
|
104
111
|
}]
|
105
112
|
}] });
|
106
|
-
//# sourceMappingURL=data:application/json;base64,
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1wYWdlcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9mcy1jb250ZW50LXBhZ2VzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMzRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRXZELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNwRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0J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YXRUYWJzTW9kdWxlLFxuICAgIE1hdEljb25Nb2R1bGUsXG4gICAgTWF0U2VsZWN0TW9kdWxlLFxuICAgIE1hdEJ1dHRvblRvZ2dsZU1vZHVsZSxcblxuICAgIEZzTGlzdE1vZHVsZSxcbiAgICBGc0RhdGVNb2R1bGUsXG4gICAgRnNDb21tb25Nb2R1bGUsXG4gICAgRnNGb3JtTW9kdWxlLFxuICAgIEZzTGFiZWxNb2R1bGUsXG4gICAgRnNTa2VsZXRvbk1vZHVsZSxcbiAgICBGc0h0bWxFZGl0b3JNb2R1bGUsXG4gICAgRnNEaWFsb2dNb2R1bGUsXG4gICAgRnNUZXh0RWRpdG9yTW9kdWxlLFxuXG4gICAgRnNDb250ZW50RWRpdG9yTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRnNDb250ZW50UGFnZXNDb21wb25lbnQsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEZzQ29udGVudFBhZ2VzQ29tcG9uZW50LFxuICAgIENvbnRlbnRQYWdlQ29tcG9uZW50LFxuICAgIENvbnRlbnRQYWdlRWRpdG9yQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBGc0NvbnRlbnRQYWdlc01vZHVsZSB7XG4gIHB1YmxpYyBzdGF0aWMgZm9yUm9vdCgpOiBNb2R1bGVXaXRoUHJvdmlkZXJzPEZzQ29udGVudFBhZ2VzTW9kdWxlPiB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBGc0NvbnRlbnRQYWdlc01vZHVsZSxcbiAgICB9O1xuICB9XG59XG4iXX0=
|
@@ -1,55 +1,37 @@
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component,
|
2
|
-
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, } from '@angular/core';
|
3
2
|
import { FsMessage } from '@firestitch/message';
|
4
3
|
import { Subject } from 'rxjs';
|
5
|
-
import { takeUntil, tap } from 'rxjs/operators';
|
6
4
|
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@
|
8
|
-
import * as i2 from "
|
9
|
-
import * as i3 from "@firestitch/
|
10
|
-
import * as i4 from "@
|
11
|
-
import * as i5 from "@angular/
|
12
|
-
import * as i6 from "
|
13
|
-
import * as i7 from "@firestitch/
|
14
|
-
import * as i8 from "@firestitch/
|
15
|
-
import * as i9 from "@firestitch/form";
|
16
|
-
import * as i10 from "@angular/material/button-toggle";
|
17
|
-
import * as i11 from "@angular/forms";
|
18
|
-
import * as i12 from "@firestitch/common";
|
19
|
-
import * as i13 from "@firestitch/skeleton";
|
5
|
+
import * as i1 from "@firestitch/message";
|
6
|
+
import * as i2 from "angular-split";
|
7
|
+
import * as i3 from "@firestitch/label";
|
8
|
+
import * as i4 from "@firestitch/text-editor";
|
9
|
+
import * as i5 from "@angular/forms";
|
10
|
+
import * as i6 from "@firestitch/form";
|
11
|
+
import * as i7 from "@firestitch/common";
|
12
|
+
import * as i8 from "@firestitch/skeleton";
|
20
13
|
export class EditorComponent {
|
21
|
-
constructor(
|
22
|
-
this._data = _data;
|
23
|
-
this._dialogRef = _dialogRef;
|
14
|
+
constructor(_message, _cdRef) {
|
24
15
|
this._message = _message;
|
25
16
|
this._cdRef = _cdRef;
|
17
|
+
this.showHtml = false;
|
18
|
+
this.showScss = false;
|
19
|
+
this.showJs = false;
|
20
|
+
this.showGlobalScss = false;
|
21
|
+
this.changed = new EventEmitter();
|
26
22
|
this.resizing = false;
|
27
|
-
this.editors = {
|
28
|
-
html: true,
|
29
|
-
scss: true,
|
30
|
-
js: false,
|
31
|
-
globalScss: false,
|
32
|
-
};
|
33
23
|
this._destroy$ = new Subject();
|
34
24
|
}
|
35
25
|
ngOnInit() {
|
36
|
-
this._dialogRef.addPanelClass('fs-content-editor-overlay-pane');
|
37
|
-
this.title = this._data.title;
|
38
|
-
this.contentPage = this._data.contentPage;
|
39
|
-
this._config = this._data.contentConfig;
|
40
|
-
this._save = this._data.save;
|
41
26
|
this.initTextEditors();
|
42
27
|
this.initGlobalContentStyle();
|
43
28
|
}
|
44
|
-
editorToggleChange(event) {
|
45
|
-
this.editors[event.value] = !this.editors[event.value];
|
46
|
-
}
|
47
29
|
ngOnDestroy() {
|
48
30
|
this._destroy$.next();
|
49
31
|
this._destroy$.complete();
|
50
32
|
}
|
51
33
|
globalScssChange() {
|
52
|
-
this.
|
34
|
+
this.contentConfig.saveContentStyle(this.contentStyle)
|
53
35
|
.subscribe((contentStyle) => {
|
54
36
|
this.contentStyle = contentStyle;
|
55
37
|
this._message.success('Saved Changes');
|
@@ -79,46 +61,40 @@ export class EditorComponent {
|
|
79
61
|
};
|
80
62
|
}
|
81
63
|
initGlobalContentStyle() {
|
82
|
-
this.
|
64
|
+
this.contentConfig.loadContentStyle()
|
83
65
|
.subscribe((contentStyle) => {
|
84
|
-
this.contentStyle = contentStyle;
|
85
|
-
this._cdRef.markForCheck();
|
86
|
-
});
|
87
|
-
}
|
88
|
-
saveContentPage() {
|
89
|
-
this._save({
|
90
|
-
id: this.contentPage.id,
|
91
|
-
styles: this.contentPage.styles,
|
92
|
-
content: this.contentPage.content,
|
93
|
-
js: this.contentPage.js,
|
94
|
-
})
|
95
|
-
.pipe(tap((contentPage) => {
|
96
|
-
this.contentPage = Object.assign(Object.assign({}, this.contentPage), contentPage);
|
97
|
-
this._cdRef.markForCheck();
|
98
|
-
this._message.success('Saved Changes');
|
99
|
-
}))
|
100
|
-
.subscribe();
|
101
|
-
}
|
102
|
-
openSettings() {
|
103
|
-
this._data.openSettings(this.contentPage)
|
104
|
-
.pipe(takeUntil(this._destroy$))
|
105
|
-
.subscribe((contentPage) => {
|
106
|
-
this.contentPage = Object.assign(Object.assign({}, this.contentPage), contentPage);
|
66
|
+
this.contentStyle = contentStyle || {};
|
107
67
|
this._cdRef.markForCheck();
|
108
68
|
});
|
109
69
|
}
|
110
70
|
}
|
111
|
-
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, deps: [{ token:
|
112
|
-
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditorComponent, selector: "
|
71
|
+
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, deps: [{ token: i1.FsMessage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
72
|
+
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditorComponent, selector: "app-editor", inputs: { showHtml: "showHtml", showScss: "showScss", showJs: "showJs", showGlobalScss: "showGlobalScss", html: "html", scss: "scss", js: "js", contentConfig: "contentConfig" }, outputs: { changed: "changed" }, ngImport: i0, template: "<as-split [unit]=\"'percent'\" [gutterSize]=\"25\"> \n <as-split-area [size]=\"70\" [visible]=\"showHtml\" [order]=\"1\">\n <div class=\"editor-container\">\n <fs-label>HTML</fs-label>\n <fs-text-editor \n [(ngModel)]=\"html\" \n name=\"html\"\n [fsModelChangeOptions]=\"{ debounce: 300 }\"\n (fsModelChange)=\"changed.emit({ type: 'html', value: $event })\"\n [config]=\"htmlConfig\">\n </fs-text-editor> \n </div>\n </as-split-area>\n <as-split-area [size]=\"30\" [visible]=\"showScss\" [order]=\"2\">\n <div class=\"editor-container\">\n <fs-label>SCSS</fs-label>\n <fs-text-editor \n [(ngModel)]=\"scss\" \n name=\"scss\"\n [fsModelChangeOptions]=\"{ debounce: 300 }\"\n (fsModelChange)=\"changed.emit({ type: 'scss', value: $event })\"\n [config]=\"scssConfig\">\n </fs-text-editor> \n </div>\n </as-split-area>\n <as-split-area [size]=\"30\" [visible]=\"showJs\" [order]=\"3\">\n <div class=\"editor-container\">\n <fs-label>JS</fs-label>\n <fs-text-editor \n [(ngModel)]=\"js\" \n name=\"js\"\n [fsModelChangeOptions]=\"{ debounce: 300 }\"\n (fsModelChange)=\"changed.emit({ type: 'js', value: $event })\"\n [config]=\"jsConfig\">\n </fs-text-editor> \n </div>\n </as-split-area>\n <as-split-area [size]=\"30\" [visible]=\"showGlobalScss\" [order]=\"4\">\n <div class=\"editor-container\">\n <fs-label>Global SCSS</fs-label>\n <ng-container *fsSkeleton=\"contentStyle\">\n <fs-text-editor \n [(ngModel)]=\"contentStyle.scss\" \n name=\"globalScss\"\n [fsModelChangeOptions]=\"{ debounce: 300 }\"\n (fsModelChange)=\"globalScssChange()\"\n [config]=\"globalScssConfig\">\n </fs-text-editor> \n </ng-container> \n </div>\n </as-split-area>\n</as-split>\n", styles: [":host ::ng-deep .as-split-gutter{background-color:unset!important}.editor-container{height:100%;border-radius:5px;display:flex;flex-direction:column}.editor-container fs-text-editor{flex:1}\n"], components: [{ type: i2.SplitComponent, selector: "as-split", inputs: ["direction", "unit", "gutterSize", "gutterStep", "restrictMove", "useTransition", "disabled", "dir", "gutterDblClickDuration", "gutterClickDeltaPx", "gutterAriaLabel"], outputs: ["transitionEnd", "dragStart", "dragEnd", "gutterClick", "gutterDblClick"], exportAs: ["asSplit"] }, { type: i3.FsLabelComponent, selector: "fs-label" }, { type: i4.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["ready", "blur"] }], directives: [{ type: i2.SplitAreaDirective, selector: "as-split-area, [as-split-area]", inputs: ["order", "size", "minSize", "maxSize", "lockSize", "visible"], exportAs: ["asSplitArea"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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])" }, { type: i7.FsModelChangeDirective, selector: "[fsModelChange]", inputs: ["fsModelChangeOptions"], outputs: ["fsModelChange"] }, { type: i8.FsSkeletonContentDirective, selector: "[fsSkeleton]", inputs: ["fsSkeleton", "fsSkeletonPattern"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
113
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, decorators: [{
|
114
74
|
type: Component,
|
115
75
|
args: [{
|
76
|
+
selector: 'app-editor',
|
116
77
|
templateUrl: './editor.component.html',
|
117
78
|
styleUrls: ['./editor.component.scss'],
|
118
79
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
119
80
|
}]
|
120
|
-
}], ctorParameters: function () { return [{ type:
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxNQUFNLEdBR1AsTUFB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jb250ZW50UGFnZS5zdHlsZXMsXG4gICAgICBjb250ZW50OiB0aGlzLmNvbnRlbnRQYWdlLmNvbnRlbnQsXG4gICAgICBqczogdGhpcy5jb250ZW50UGFnZS5qcyxcbiAgICB9KVxuICAgICAgLnBpcGUoXG4gICAgICAgIHRhcCgoY29udGVudFBhZ2UpID0+IHtcbiAgICAgICAgICB0aGlzLmNvbnRlbnRQYWdlID0ge1xuICAgICAgICAgICAgLi4udGhpcy5jb250ZW50UGFnZSxcbiAgICAgICAgICAgIC4uLmNvbnRlbnRQYWdlLFxuICAgICAgICAgIH07XG4gICAgICAgICAgdGhpcy5fY2RSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgICAgICAgdGhpcy5fbWVzc2FnZS5zdWNjZXNzKCdTYXZlZCBDaGFuZ2VzJyk7XG4gICAgICAgIH0pLFxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgpO1xuICB9XG5cbiAgcHVibGljIG9wZW5TZXR0aW5ncygpOiB2b2lkIHtcbiAgICB0aGlzLl9kYXRhLm9wZW5TZXR0aW5ncyh0aGlzLmNvbnRlbnRQYWdlKVxuICAgICAgLnBpcGUoXG4gICAgICAgIHRha2VVbnRpbCh0aGlzLl9kZXN0cm95JCksXG4gICAgICApXG4gICAgICAuc3Vic2NyaWJlKChjb250ZW50UGFnZSkgPT4ge1xuICAgICAgICB0aGlzLmNvbnRlbnRQYWdlID0ge1xuICAgICAgICAgIC4uLnRoaXMuY29udGVudFBhZ2UsXG4gICAgICAgICAgLi4uY29udGVudFBhZ2UsXG4gICAgICAgIH07XG4gICAgICAgIHRoaXMuX2NkUmVmLm1hcmtGb3JDaGVjaygpO1xuICAgICAgfSk7XG4gIH1cblxufVxuIiwiPGZzLWRpYWxvZz5cbiAgPGgxIG1hdC1kaWFsb2ctdGl0bGU+XG4gICAgPGRpdiBjbGFzcz1cInRpdGxlLWNvbnRhaW5lclwiPlxuICAgICAgPGRpdiBjbGFzcz1cInRpdGxlXCI+XG4gICAgICA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kZWJvdW5jZTogMzAwIH1cIlxuICAgICAgICAgICAgICAoZnNNb2RlbENoYW5nZSk9XCJzYXZlQ29udGVudFBhZ2UoKVwiXG4gICAgICAgICAgICAgIFtjb25maWddPVwianNDb25maWdcIj5cbiAgICAgICAgICAgIDwvZnMtdGV4dC1lZGl0b3I+ICAgIFxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2FzLXNwbGl0LWFyZWE+XG4gICAgICAgIDxhcy1zcGxpdC1hcmVhIFtzaXplXT1cIjMwXCIgW3Zpc2libGVdPVwiZWRpdG9ycy5nbG9iYWxTY3NzXCIgW29yZGVyXT1cIjRcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiZWRpdG9yLWNvbnRhaW5lclwiPlxuICAgICAgICAgICAgPGZzLWxhYmVsPkdsb2JhbCBTQ1NTPC9mcy1sYWJlbD5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKmZzU2tlbGV0b249XCJjb250ZW50U3R5bGVcIj5cbiAgICAgICAgICAgICAgPGZzLXRleHQtZWRpdG9yIFxuICAgICAgICAgICAgICAgIFsobmdNb2RlbCldPVwiY29udGVudFN0eWxlLnNjc3NcIiBcbiAgICAgICAgICAgICAgICBuYW1lPVwiZ2xvYmFsU2Nzc1wiXG4gICAgICAgICAgICAgICAgW2ZzTW9kZWxDaGFuZ2VPcHRpb25zXT1cInsgZGVib3VuY2U6IDMwMCB9XCJcbiAgICAgICAgICAgICAgICAoZnNNb2RlbENoYW5nZSk9XCJnbG9iYWxTY3NzQ2hhbmdlKClcIlxuICAgICAgICAgICAgICAgIFtjb25maWddPVwiZ2xvYmFsU2Nzc0NvbmZpZ1wiPlxuICAgICAgICAgICAgICA8L2ZzLXRleHQtZWRpdG9yPiBcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPiAgIFxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2FzLXNwbGl0LWFyZWE+XG4gICAgICA8L2FzLXNwbGl0PlxuICAgIDwvZGl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1dHRvbi10b2dnbGUtZ3JvdXA+ICAgICAgXG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9mcy1kaWFsb2c+XG5cbiJdfQ==
|
81
|
+
}], ctorParameters: function () { return [{ type: i1.FsMessage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { showHtml: [{
|
82
|
+
type: Input
|
83
|
+
}], showScss: [{
|
84
|
+
type: Input
|
85
|
+
}], showJs: [{
|
86
|
+
type: Input
|
87
|
+
}], showGlobalScss: [{
|
88
|
+
type: Input
|
89
|
+
}], html: [{
|
90
|
+
type: Input
|
91
|
+
}], scss: [{
|
92
|
+
type: Input
|
93
|
+
}], js: [{
|
94
|
+
type: Input
|
95
|
+
}], contentConfig: [{
|
96
|
+
type: Input
|
97
|
+
}], changed: [{
|
98
|
+
type: Output
|
99
|
+
}] } });
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUdMLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUd2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFJaEQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE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