@firestitch/content 12.2.4 → 12.2.6
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 +397 -251
- 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 +95 -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 +99 -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 +4 -11
- 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/fesm2015/firestitch-content.js +243 -105
- package/fesm2015/firestitch-content.js.map +1 -1
- package/package.json +1 -1
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9B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pcy5fc2F2ZSh7XG4gICAgICBpZDogdGhpcy5jb250ZW50UGFnZS5pZCxcbiAgICAgIHN0eWxlczogdGhpcy5jb250ZW50UGFnZS5zdHlsZXMsXG4gICAgICBjb250ZW50OiB0aGlzLmNvbnRlbnRQYWdlLmNvbnRlbnQsXG4gICAgICBqczogdGhpcy5jb250ZW50UGFnZS5qcyxcbiAgICB9KVxuICAgICAgLnBpcGUoXG4gICAgICAgIHRhcCgoY29udGVudFBhZ2UpID0+IHtcbiAgICAgICAgICB0aGlzLmNvbnRlbnRQYWdlID0ge1xuICAgICAgICAgICAgLi4udGhpcy5jb250ZW50UGFnZSxcbiAgICAgICAgICAgIC4uLmNvbnRlbnRQYWdlLFxuICAgICAgICAgIH07XG4gICAgICAgICAgdGhpcy5fY2RSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgICAgICAgdGhpcy5fbWVzc2FnZS5zdWNjZXNzKCdTYXZlZCBDaGFuZ2VzJyk7XG4gICAgICAgIH0pLFxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgpO1xuICB9XG5cbiAgcHVibGljIG9wZW5TZXR0aW5ncygpOiB2b2lkIHtcbiAgICB0aGlzLl9kYXRhLm9wZW5TZXR0aW5ncyh0aGlzLmNvbnRlbnRQYWdlKVxuICAgICAgLnBpcGUoXG4gICAgICAgIHRha2VVbnRpbCh0aGlzLl9kZXN0cm95JCksXG4gICAgICApXG4gICAgICAuc3Vic2NyaWJlKChjb250ZW50UGFnZSkgPT4ge1xuICAgICAgICB0aGlzLmNvbnRlbnRQYWdlID0ge1xuICAgICAgICAgIC4uLnRoaXMuY29udGVudFBhZ2UsXG4gICAgICAgICAgLi4uY29udGVudFBhZ2UsXG4gICAgICAgIH07XG4gICAgICAgIHRoaXMuX2NkUmVmLm1hcmtGb3JDaGVjaygpO1xuICAgICAgfSk7XG4gIH1cblxufVxuIiwiPGZzLWRpYWxvZz5cbiAgPGgxIG1hdC1kaWFsb2ctdGl0bGU+XG4gICAgPGRpdiB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ICAgICAgICAgICAgICBuYW1lPVwianNcIlxuICAgICAgICAgICAgICBbZnNNb2RlbENoYW5nZU9wdGlvbnNdPVwieyBkZWJvdW5jZTogMzAwIH1cIlxuICAgICAgICAgICAgICAoZnNNb2RlbENoYW5nZSk9XCJzYXZlQ29udGVudFBhZ2UoKVwiXG4gICAgICAgICAgICAgIFtjb25maWddPVwianNDb25maWdcIj5cbiAgICAgICAgICAgIDwvZnMtdGV4dC1lZGl0b3I+ICAgIFxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2FzLXNwbGl0LWFyZWE+XG4gICAgICAgIDxhcy1zcGxpdC1hcmVhIFtzaXplXT1cIjMwXCIgW3Zpc2libGVdPVwiZWRpdG9ycy5nbG9iYWxTY3NzXCIgW29yZGVyXT1cIjRcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiZWRpdG9yLWNvbnRhaW5lclwiPlxuICAgICAgICAgICAgPGZzLWxhYmVsPkdsb2JhbCBTQ1NTPC9mcy1sYWJlbD5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKmZzU2tlbGV0b249XCJjb250ZW50U3R5bGVcIj5cbiAgICAgICAgICAgICAgPGZzLXRleHQtZWRpdG9yIFxuICAgICAgICAgICAgICAgIFsobmdNb2RlbCldPVwiY29udGVudFN0eWxlLnNjc3NcIiBcbiAgICAgICAgICAgICAgICBuYW1lPVwiZ2xvYmFsU2Nzc1wiXG4gICAgICAgICAgICAgICAgW2ZzTW9kZWxDaGFuZ2VPcHRpb25zXT1cInsgZGVib3VuY2U6IDMwMCB9XCJcbiAgICAgICAgICAgICAgICAoZnNNb2RlbENoYW5nZSk9XCJnbG9iYWxTY3NzQ2hhbmdlKClcIlxuICAgICAgICAgICAgICAgIFtjb25maWddPVwiZ2xvYmFsU2Nzc0NvbmZpZ1wiPlxuICAgICAgICAgICAgICA8L2ZzLXRleHQtZWRpdG9yPiBcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPiAgIFxuICAgICAgICAg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JGV2ZW50KVwiPkdsb2JhbCBTQ1NTPC9tYXQtYnV0dG9uLXRvZ2dsZT5cbiAgICAgIDwvbWF0LWJ1dHRvbi10b2dnbGUtZ3JvdXA+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9lZGl0b3IvY29tcG9uZW50cy9lZGl0b3IvZWRpdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUdMLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUd2QixPQUFPLEVBQUU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