@firestitch/content 12.2.1 → 12.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/app/interfaces/content-config.d.ts +5 -5
- package/app/interfaces/content-page.d.ts +1 -0
- package/app/interfaces/content-style.d.ts +4 -0
- package/app/interfaces/index.d.ts +2 -1
- package/app/modules/content/components/content/content.component.d.ts +7 -3
- package/app/modules/content/components/content-renderer/content-renderer.component.d.ts +11 -9
- package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +3 -2
- package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +2 -0
- package/app/modules/content-style/components/content-style/content-style.component.d.ts +27 -0
- package/app/modules/content-style/components/content-style/index.d.ts +1 -0
- package/app/modules/content-style/fs-content-style.module.d.ts +14 -0
- package/app/modules/editor/components/editor/editor.component.d.ts +33 -22
- package/app/modules/editor/fs-content-editor.module.d.ts +8 -5
- package/bundles/firestitch-content.umd.js +635 -521
- package/bundles/firestitch-content.umd.js.map +1 -1
- package/esm2015/app/interfaces/content-config.js +1 -1
- package/esm2015/app/interfaces/content-page.js +1 -1
- package/esm2015/app/interfaces/content-style.js +2 -0
- package/esm2015/app/interfaces/index.js +3 -2
- package/esm2015/app/modules/content/components/content/content.component.js +35 -20
- package/esm2015/app/modules/content/components/content-renderer/content-renderer.component.js +21 -19
- package/esm2015/app/modules/content-layouts/components/content-layouts/content-layouts.component.js +22 -18
- package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js +20 -11
- package/esm2015/app/modules/content-pages/fs-content-pages.module.js +1 -1
- package/esm2015/app/modules/content-style/components/content-style/content-style.component.js +71 -0
- package/esm2015/app/modules/content-style/components/content-style/index.js +2 -0
- package/esm2015/app/modules/content-style/fs-content-style.module.js +50 -0
- package/esm2015/app/modules/editor/components/editor/editor.component.js +78 -107
- package/esm2015/app/modules/editor/fs-content-editor.module.js +19 -7
- package/esm2015/public_api.js +5 -3
- package/fesm2015/firestitch-content.js +449 -339
- package/fesm2015/firestitch-content.js.map +1 -1
- package/package.json +6 -5
- package/public_api.d.ts +5 -3
package/esm2015/app/modules/content-layouts/components/content-layouts/content-layouts.component.js
CHANGED
@@ -1,17 +1,16 @@
|
|
1
|
-
import {
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject, ViewChild, } from '@angular/core';
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
3
|
-
import { FsListComponent } from '@firestitch/list';
|
4
3
|
import { ItemType } from '@firestitch/filter';
|
5
|
-
import {
|
4
|
+
import { FsListComponent } from '@firestitch/list';
|
6
5
|
import { Subject } from 'rxjs';
|
7
|
-
import {
|
6
|
+
import { filter, map, takeUntil } from 'rxjs/operators';
|
8
7
|
import { FS_CONTENT_CONFIG } from '../../../../injectors';
|
9
8
|
import { EditorComponent } from '../../../editor/components/editor';
|
9
|
+
import { ContentLayoutComponent } from '../../components/content-layout';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
import * as i1 from "@angular/material/dialog";
|
12
12
|
import * as i2 from "@firestitch/list";
|
13
|
-
import * as i3 from "@
|
14
|
-
import * as i4 from "@firestitch/date";
|
13
|
+
import * as i3 from "@firestitch/date";
|
15
14
|
export class FsContentLayoutsComponent {
|
16
15
|
constructor(_config, _dialog) {
|
17
16
|
this._config = _config;
|
@@ -23,14 +22,19 @@ export class FsContentLayoutsComponent {
|
|
23
22
|
}
|
24
23
|
openEditor(contentLayout) {
|
25
24
|
this._dialog.open(EditorComponent, {
|
26
|
-
maxWidth:
|
27
|
-
|
25
|
+
maxWidth: '100vw',
|
26
|
+
width: '100%',
|
27
|
+
height: '100%',
|
28
28
|
data: {
|
29
|
-
|
30
|
-
|
29
|
+
contentPage: contentLayout,
|
30
|
+
title: 'Layout',
|
31
|
+
contentConfig: this._config,
|
31
32
|
save: (data) => {
|
32
33
|
return this._config.saveContentLayout(Object.assign({ id: contentLayout.id }, data));
|
33
34
|
},
|
35
|
+
openSettings: (data) => {
|
36
|
+
return this.openLayout(data);
|
37
|
+
},
|
34
38
|
},
|
35
39
|
})
|
36
40
|
.afterClosed()
|
@@ -40,16 +44,13 @@ export class FsContentLayoutsComponent {
|
|
40
44
|
});
|
41
45
|
}
|
42
46
|
openLayout(contentLayout) {
|
43
|
-
this._dialog.open(ContentLayoutComponent, {
|
47
|
+
return this._dialog.open(ContentLayoutComponent, {
|
44
48
|
data: {
|
45
49
|
contentLayout,
|
46
50
|
},
|
47
51
|
})
|
48
52
|
.afterClosed()
|
49
|
-
.pipe(filter((_contentLayout) => !!_contentLayout), takeUntil(this._destroy$))
|
50
|
-
.subscribe(() => {
|
51
|
-
this.listComponent.reload();
|
52
|
-
});
|
53
|
+
.pipe(filter((_contentLayout) => !!_contentLayout), takeUntil(this._destroy$));
|
53
54
|
}
|
54
55
|
ngOnDestroy() {
|
55
56
|
this._destroy$.next();
|
@@ -69,7 +70,10 @@ export class FsContentLayoutsComponent {
|
|
69
70
|
{
|
70
71
|
label: 'Create',
|
71
72
|
click: () => {
|
72
|
-
this.openLayout({})
|
73
|
+
this.openLayout({})
|
74
|
+
.subscribe(() => {
|
75
|
+
this.listComponent.reload();
|
76
|
+
});
|
73
77
|
},
|
74
78
|
},
|
75
79
|
],
|
@@ -105,7 +109,7 @@ export class FsContentLayoutsComponent {
|
|
105
109
|
}
|
106
110
|
}
|
107
111
|
FsContentLayoutsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentLayoutsComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
108
|
-
FsContentLayoutsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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=\"
|
112
|
+
FsContentLayoutsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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 (click)=\"openEditor(row)\">{{row.name}}</a>\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: [""], components: [{ type: i2.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }], directives: [{ type: i2.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i2.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }], pipes: { "fsDate": i3.FsDatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
109
113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentLayoutsComponent, decorators: [{
|
110
114
|
type: Component,
|
111
115
|
args: [{
|
@@ -121,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
121
125
|
type: ViewChild,
|
122
126
|
args: [FsListComponent]
|
123
127
|
}] } });
|
124
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1sYXlvdXRzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9jb250ZW50LWxheW91dHMvY29tcG9uZW50cy9jb250ZW50LWxheW91dHMvY29udGVudC1s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uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBGc0NvbnRlbnRMYXlvdXRzQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3Ryb3kge1xuXG4gIEBWaWV3Q2hpbGQoRnNMaXN0Q29tcG9uZW50KVxuICBwdWJsaWMgbGlzdENvbXBvbmVudDogRnNMaXN0Q29tcG9uZW50O1xuXG4gIHB1YmxpYyBsaXN0Q29uZmlnOiBGc0xpc3RDb25maWc7XG5cbiAgcHJpdmF0ZSBfZGVzdHJveSQgPSBuZXcgU3ViamVjdDx2b2lkPigpO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIEBJbmplY3QoRlNfQ09OVEVOVF9DT05GSUcpIHByaXZhdGUgX2NvbmZpZzogRnNDb250ZW50Q29uZmlnLFxuICAgIHByaXZhdGUgX2RpYWxvZzogTWF0RGlhbG9nLFxuICApIHt9XG5cbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIHRoaXMuX2luaXRMaXN0Q29uZmlnKCk7XG4gIH1cblxuICBwdWJsaWMgb3BlbkVkaXRvcihjb250ZW50TGF5b3V0OiBhbnkpOiB2b2lkIHtcbiAgICB0aGlzLl9kaWFsb2cub3BlbihFZGl0b3JDb21wb25lbnQsIHtcbiAgICAgICAgbWF4V2lkdGg6IG51bGwsXG4gICAgICAgIG1heEhlaWdodDogbnVsbCwgICAgICBcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIHN0eWxlczogY29udGVudExheW91dC5zdHlsZXMsXG4gICAgICAgICAgY29udGVudDogY29udGVudExheW91dC5jb250ZW50LFxuICAgICAgICAgIHNhdmU6IChkYXRhKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5fY29uZmlnLnNhdmVDb250ZW50TGF5b3V0KHtcbiAgICAgICAgICAgICAgaWQ6IGNvbnRlbnRMYXlvdXQuaWQsXG4gICAgICAgICAgICAgIC4uLmRhdGEsXG4gICAgICAgICA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cbiAgICAgICAgICB0eXBlOiBJdGVtVHlwZS5LZXl3b3JkLFxuICAgICAgICAgIGxhYmVsOiAnU2VhcmNoJyxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICBhY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBsYWJlbDogJ0NyZWF0ZScsXG4gICAgICAgICAgY2xpY2s6ICgpID0+IHtcbiAgICAgICAgICAgIHRoaXMub3BlbkxheW91dCh7fSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICByb3dBY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBjbGljazogKGRhdGEpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9jb25maWcuZGVsZXRlQ29udGVudExheW91dChkYXRhKTtcbiAgICAgICAgICB9LFxuICAgICAgICAgIHJlbW92ZToge1xuICAgICAgICAgICAgdGl0bGU6ICdDb25maXJtJyxcbiAgICAgICAgICAgIHRlbXBsYXRlOiAnQXJlIHlvdSBzdXJlIHlvdSB3b3VsZCBsaWtlIHRvIGRlbGV0ZSB0aGlzIHJlY29yZD8nLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgbWVudTogdHJ1ZSxcbiAgICAgICAgICBsYWJlbDogJ0RlbGV0ZScsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgZmV0Y2g6IChxdWVyeSkgPT4ge1xuICAgICAgICByZXR1cm4gdGhpcy5fY29uZmlnLmxvYWRDb250ZW50TGF5b3V0cyhxdWVyeSlcbiAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgIG1hcCgoY29udGVudExheW91dHM6IGFueSkgPT4ge1xuICAgICAgICAgICAgICByZXR1cm4geyBkYXRhOiBjb250ZW50TGF5b3V0cyAgfTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICk7XG4gICAgICB9LFxuICAgICAgcmVzdG9yZToge1xuICAgICAgICBxdWVyeTogeyBzdGF0ZTogJ2R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AgICB9KTtcbiAgfVxuXG4gIHB1YmxpYyBvcGVuTGF5b3V0KGNvbnRlbnRMYXlvdXQ6IGFueSk6IE9ic2VydmFibGU8YW55PiB7XG4gICAgcmV0dXJuIHRoaXMuX2RpYWxvZy5vcGVuKENvbnRlbnRMYXlvdXRDb21wb25lbnQsIHtcbiAgICAgIGRhdGE6IHtcbiAgICAgICAgY29udGVudExheW91dCxcbiAgICAgIH0sXG4gICAgfSlcbiAgICAgIC5hZnRlckNsb3NlZCgpXG4gICAgICAucGlwZShcbiAgICAgICAgZmlsdGVyKChfY29udGVudExheW91dCkgPT4gISFfY29udGVudExheW91dCksXG4gICAgICAgIHRha2VVbnRpbCh0aGlzLl9kZXN0cm95JCksXG4gICAgICApO1xuICB9XG5cbiAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuX2Rlc3Ryb3kkLm5leHQoKTtcbiAgICB0aGlzLl9kZXN0cm95JC5jb21wbGV0ZSgpO1xuICB9XG5cbiAgcHJpdmF0ZSBfaW5pdExpc3RDb25maWcoKTogdm9pZCB7XG4gICAgdGhpcy5saXN0Q29uZmlnID0ge1xuICAgICAgcGFnaW5nOiBmYWxzZSxcbiAgICAgIGZpbHRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdrZXl3b3JkJyxcbiAgICAgICAgICB0eXBlOiBJdGVtVHlwZS5LZXl3b3JkLFxuICAgICAgICAgIGxhYmVsOiAnU2VhcmNoJyxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICBhY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBsYWJlbDogJ0NyZWF0ZScsXG4gICAgICAgICAgY2xpY2s6ICgpID0+IHtcbiAgICAgICAgICAgIHRoaXMub3BlbkxheW91dCh7fSlcbiAgICAgICAgICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5saXN0Q29tcG9uZW50LnJlbG9hZCgpO1xuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICB9LFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIHJvd0FjdGlvbnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIGNsaWNrOiAoZGF0YSkgPT4ge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuX2NvbmZpZy5kZWxldGVDb250ZW50TGF5b3V0KGRhdGEpO1xuICAgICAgICAgIH0sXG4gICAgICAgICAgcmVtb3ZlOiB7XG4gICAgICAgICAgICB0aXRsZTogJ0NvbmZpcm0nLFxuICAgICAgICAgICAgdGVtcGxhdGU6ICdBcmUgeW91IHN1cmUgeW91IHdvdWxkIGxpa2UgdG8gZGVsZXRlIHRoaXMgcmVjb3JkPycsXG4gICAgICAgICAgfSxcbiAgICAgICAgICBtZW51OiB0cnVlLFxuICAgICAgICAgIGxhYmVsOiAnRGVsZXRlJyxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICBmZXRjaDogKHF1ZXJ5KSA9PiB7XG4gICAgICAgIHJldHVybiB0aGlzLl9jb25maWcubG9hZENvbnRlbnRMYXlvdXRzKHF1ZXJ5KVxuICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgbWFwKChjb250ZW50TGF5b3V0czogYW55KSA9PiB7XG4gICAgICAgICAgICAgIHJldHVybiB7IGRhdGE6IGNvbnRlbnRMYXlvdXRzICB9O1xuICAgICAgICAgICAgfSksXG4gICAgICAgICAgKTtcbiAgICAgIH0sXG4gICAgICByZXN0b3JlOiB7XG4gICAgICAgIHF1ZXJ5OiB7IHN0YXRlOiAnZGVsZXRlZCcgfSxcbiAgICAgICAgZmlsdGVyTGFiZWw6ICdTaG93IERlbGV0ZWQnLFxuICAgICAgICBtZW51TGFiZWw6ICdSZXN0b3JlJyxcbiAgICAgICAgcmVsb2FkOiB0cnVlLFxuICAgICAgICBjbGljazogKHJvdykgPT4ge1xuICAgICAgICAgIHJldHVybiB0aGlzLl9jb25maWcuc2F2ZUNvbnRlbnRMYXlvdXQoeyBpZDogcm93LmlkLCBzdGF0ZTogJ2FjdGl2ZScgfSk7XG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgIH07XG4gIH1cblxufVxuXG4iLCI8ZnMtbGlzdCBbY29uZmlnXT1cImxpc3RDb25maWdcIj5cbiAgPGZzLWxpc3QtY29sdW1uIG5hbWU9XCJuYW1lXCIgdGl0bGU9XCJOYW1lXCIgW3NvcnRhYmxlXT1cInRydWVcIj5cbiAgICA8bmctdGVtcGxhdGUgZnMtbGlzdC1jZWxsIGxldC1yb3c9XCJyb3dcIj5cbiAgICAgIDxhIChjbGljayk9XCJvcGVuRWRpdG9yKHJvdylcIj57e3Jvdy5uYW1lfX08L2E+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgPC9mcy1saXN0LWNvbHVtbj5cbiAgPGZzLWxpc3QtY29sdW1uIG5hbWU9XCJtb2RpZnlfZGF0ZVwiIHRpdGxlPVwiTW9kaWZpZWRcIiBbc29ydGFibGVdPVwidHJ1ZVwiPlxuICAgIDxuZy10ZW1wbGF0ZSBmcy1saXN0LWNlbGwgbGV0LXJvdz1cInJvd1wiPlxuICAgICAge3tyb3cubW9kaWZ5RGF0ZSB8IGZzRGF0ZTogJ2RhdGUtdGltZS15ZWFybGVzcyd9fVxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG48L2ZzLWxpc3Q+XG4iXX0=
|
package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js
CHANGED
@@ -9,7 +9,7 @@ import { PageTypes } from '../../../../consts';
|
|
9
9
|
import { PageType } from '../../../../enums';
|
10
10
|
import { FS_CONTENT_CONFIG } from '../../../../injectors';
|
11
11
|
import { EditorComponent } from '../../../editor/components/editor';
|
12
|
-
import { ContentPageComponent } from '../content-page';
|
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";
|
15
15
|
import * as i2 from "@firestitch/list";
|
@@ -29,9 +29,16 @@ export class FsContentPagesComponent {
|
|
29
29
|
data: {
|
30
30
|
contentPage,
|
31
31
|
config: this._config,
|
32
|
+
title: 'Page',
|
33
|
+
contentConfig: this._config,
|
34
|
+
save: (data) => {
|
35
|
+
return this._config.saveContentPage(data);
|
36
|
+
},
|
37
|
+
openSettings: (data) => {
|
38
|
+
return this.openContentPage(data);
|
39
|
+
},
|
32
40
|
},
|
33
41
|
maxWidth: '100vw',
|
34
|
-
maxHeight: '100vw',
|
35
42
|
width: '100%',
|
36
43
|
height: '100%',
|
37
44
|
autoFocus: false,
|
@@ -46,6 +53,13 @@ export class FsContentPagesComponent {
|
|
46
53
|
this._destroy$.next();
|
47
54
|
this._destroy$.complete();
|
48
55
|
}
|
56
|
+
openContentPage(contentPage) {
|
57
|
+
return this._dialog.open(ContentPageComponent, {
|
58
|
+
data: { contentPage },
|
59
|
+
})
|
60
|
+
.afterClosed()
|
61
|
+
.pipe(takeUntil(this._destroy$));
|
62
|
+
}
|
49
63
|
_initListConfig() {
|
50
64
|
this.listConfig = {
|
51
65
|
filters: [
|
@@ -59,15 +73,10 @@ export class FsContentPagesComponent {
|
|
59
73
|
{
|
60
74
|
label: 'Create',
|
61
75
|
click: () => {
|
62
|
-
this.
|
63
|
-
|
64
|
-
contentPage: {
|
65
|
-
type: PageType.StandardPage,
|
66
|
-
},
|
67
|
-
},
|
76
|
+
this.openContentPage({
|
77
|
+
type: PageType.StandardPage,
|
68
78
|
})
|
69
|
-
.
|
70
|
-
.pipe(filter((contentPage) => !!contentPage), takeUntil(this._destroy$))
|
79
|
+
.pipe(filter((contentPage) => !!contentPage))
|
71
80
|
.subscribe((contentPage) => {
|
72
81
|
this.openEditor(contentPage);
|
73
82
|
this.listComponent.reload();
|
@@ -125,4 +134,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
125
134
|
type: ViewChild,
|
126
135
|
args: [FsListCom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YnNjcmliZSgoKSA9PiB7XG4gICAgICAgIHRoaXMubGlzdENvbXBvbmVudC5yZWxvYWQoKTtcbiAgICAgIH0pO1xuICB9XG5cbiAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMuX2Rlc3Ryb3kkLm5leHQoKTtcbiAgICB0aGlzLl9kZXN0cm95JC5jb21wbGV0ZSgpO1xuICB9XG5cbiAgcHJpdmF0ZSBfaW5pdExpc3RDb25maWcoKTogdm9pZCB7XG4gICAgdGhpcy5saXN0Q29uZmlnID0ge1xuICAgICAgZmlsdGVyczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2tleXdvcmQnLFxuICAgICAgICAgIHR5cGU6IEl0ZW1UeXBlLktleXdvcmQsXG4gICAgICAgICAgbGFiZWw6ICdTZWFyY2gnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGFjdGlvbnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIGxhYmVsOiAnQ3JlYXRlJyxcbiAgICAgICAgICBjbGljazogKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5fZGlhbG9nLm9wZW4oQ29udGVudFBhZ2VDb21wb25lbnQsIHtcbiAgICAgICAgICAgICAgZGF0YToge1xuICAgICAgICAgICAgICAgIGNvbnRlbnRQYWdlOiB7XG4gICAgICAgICAgICAgICAgICB0eXBlOiBQYWdlVHlwZS5TdGFuZGFyZFBhZ2UsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5hZnRlckNsb3NlZCgpXG4gICAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIGZpbHRlcigoY29udGVudFBhZ2UpID0+ICEhY29udGVudFBhZ2UpLFxuICAgICAgICAgICAgICAgIHRha2VVbnRpbCh0aGlzLl9kZXN0cm95JCksXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgLnN1YnNjcmliZSgoY29udGVudFBhZ2UpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLm9wZW5FZGl0b3IoY29udGVudFBhZ2UpO1xuICAgICAgICAgICAgICAgIHRoaXMubGlzdENvbXBvbmVudC5yZWxvYWQoKTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICByb3dBY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBjbGljazogKGRhdGEpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9jb25maWcuZGVsZXRlQ29udGVudFBhZ2UoZGF0YSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgICByZW1vdmU6IHtcbiAgICAgICAgICAgIHRpdGxlOiAnQ29uZmlybScsXG4gICAgICAgICAgICB0ZW1wbGF0ZTogJ0FyZSB5b3Ugc3VyZSB5b3Ugd291bGQgbGlrZSB0byBkZWxldGUgdGhpcyByZWNvcmQ/JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG1lbnU6IHRydWUsXG4gICAgICAgICAgbGFiZWw6ICdEZWxldGUnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGZldGNoOiAocXVlcnkpID0+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuX2NvbmZpZy5sb2FkQ29udGVudFBhZ2VzKHF1ZXJ5KVxuICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgbWFwKChyZXNwb25zZTogYW55KSA9PiB7XG4gICAgICAgICAgICAgIHJldHVybiB7IGRhdGE6IHJlc3BvbnNlLmNvbnRlbnRQYWdlcywgcGFnaW5nOiByZXNwb25zZS5wYWdpbmcgfTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICk7XG4gICAgICB9LFxuICAgICAgcmVzdG9yZToge1xuICAgICAgICBxdWVyeTogeyBzdGF0ZTogJ2RlbGV0ZWQnIH0sXG4gICAgICAgIGZpbHRlckxhYmVsOiAnU2hvdyBEZWx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AgICAgICAgICAgdHlwZTogUGFnZVR5cGUuU3RhbmRhcmRQYWdlLFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgZmlsdGVyKChjb250ZW50UGFnZSkgPT4gISFjb250ZW50UGFnZSksXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgLnN1YnNjcmliZSgoY29udGVudFBhZ2UpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLm9wZW5FZGl0b3IoY29udGVudFBhZ2UpO1xuICAgICAgICAgICAgICAgIHRoaXMubGlzdENvbXBvbmVudC5yZWxvYWQoKTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICByb3dBY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBjbGljazogKGRhdGEpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9jb25maWcuZGVsZXRlQ29udGVudFBhZ2UoZGF0YSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgICByZW1vdmU6IHtcbiAgICAgICAgICAgIHRpdGxlOiAnQ29uZmlybScsXG4gICAgICAgICAgICB0ZW1wbGF0ZTogJ0FyZSB5b3Ugc3VyZSB5b3Ugd291bGQgbGlrZSB0byBkZWxldGUgdGhpcyByZWNvcmQ/JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG1lbnU6IHRydWUsXG4gICAgICAgICAgbGFiZWw6ICdEZWxldGUnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGZldGNoOiAocXVlcnkpID0+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuX2NvbmZpZy5sb2FkQ29udGVudFBhZ2VzKHF1ZXJ5KVxuICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgbWFwKChyZXNwb25zZTogYW55KSA9PiB7XG4gICAgICAgICAgICAgIHJldHVybiB7IGRhdGE6IHJlc3BvbnNlLmN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xuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG4gIDxmcy1saXN0LWNvbHVtbiBuYW1lPVwidHlwZVwiIHRpdGxlPVwiVHlwZVwiIFtzb3J0YWJsZV09XCJ0cnVlXCI+XG4gICAgPG5nLXRlbXBsYXRlIGZzLWxpc3QtY2VsbCBsZXQtcm93PVwicm93XCI+XG4gICAgICB7e3BhZ2VUeXBlc1tyb3cudHlwZV19fVxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG4gIDxmcy1saXN0LWNvbHVtbiBuYW1lPVwibW9kaWZ5X2RhdGVcIiB0aXRsZT1cIk1vZGlmaWVkXCIgW3NvcnRhYmxlXT1cInRydWVcIj5cbiAgICA8bmctdGVtcGxhdGUgZnMtbGlzdC1jZWxsIGxldC1yb3c9XCJyb3dcIj5cbiAgICAgIHt7cm93Lm1vZGlmeURhdGUgfCBmc0RhdGU6ICdkYXRlLXRpbWUteWVhcmxlc3MnfX1cbiAgICA8L25nLXRlbXBsYXRlPlxuICA8L2ZzLWxpc3QtY29sdW1uPlxuPC9mcy1saXN0PlxuIl19
|
@@ -103,4 +103,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
103
103
|
],
|
104
104
|
}]
|
105
105
|
}] });
|
106
|
-
//# sourceMappingURL=data:application/json;base64,
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1wYWdlcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9mcy1jb250ZW50LXBhZ2VzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQW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ICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBGc0NvbnRlbnRQYWdlc01vZHVsZSxcbiAgICB9O1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, ViewChild, } from '@angular/core';
|
2
|
+
import { FsFormDirective } from '@firestitch/form';
|
3
|
+
import { FsMessage } from '@firestitch/message';
|
4
|
+
import { FsTextEditorComponent } from '@firestitch/text-editor';
|
5
|
+
import { Subject } from 'rxjs';
|
6
|
+
import { tap } from 'rxjs/operators';
|
7
|
+
import { FS_CONTENT_CONFIG } from '../../../../injectors';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@firestitch/message";
|
10
|
+
import * as i2 from "@firestitch/text-editor";
|
11
|
+
import * as i3 from "@firestitch/skeleton";
|
12
|
+
import * as i4 from "@angular/forms";
|
13
|
+
import * as i5 from "@firestitch/common";
|
14
|
+
export class ContentStyleComponent {
|
15
|
+
constructor(_config, _message, _cdRef) {
|
16
|
+
this._config = _config;
|
17
|
+
this._message = _message;
|
18
|
+
this._cdRef = _cdRef;
|
19
|
+
this.height = '100%';
|
20
|
+
this.contentStyle = null;
|
21
|
+
this.styleConfig = {
|
22
|
+
tabSize: 2,
|
23
|
+
language: 'scss',
|
24
|
+
height: '100%',
|
25
|
+
};
|
26
|
+
this._destroy$ = new Subject();
|
27
|
+
}
|
28
|
+
ngOnInit() {
|
29
|
+
this.styleConfig.height = this.height;
|
30
|
+
this._config.loadContentStyle()
|
31
|
+
.subscribe((contentStyle) => {
|
32
|
+
this.contentStyle = contentStyle;
|
33
|
+
this._cdRef.markForCheck();
|
34
|
+
});
|
35
|
+
}
|
36
|
+
ngOnDestroy() {
|
37
|
+
this._destroy$.next();
|
38
|
+
this._destroy$.complete();
|
39
|
+
}
|
40
|
+
save() {
|
41
|
+
this._config.saveContentStyle(this.contentStyle)
|
42
|
+
.pipe(tap((contentStyle) => {
|
43
|
+
this.contentStyle = Object.assign(Object.assign({}, this.contentStyle), contentStyle);
|
44
|
+
this._cdRef.markForCheck();
|
45
|
+
this._message.success('Saved Changes');
|
46
|
+
})).subscribe();
|
47
|
+
}
|
48
|
+
}
|
49
|
+
ContentStyleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentStyleComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.FsMessage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
50
|
+
ContentStyleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentStyleComponent, selector: "fs-content-style", inputs: { height: "height" }, viewQueries: [{ propertyName: "textEditors", first: true, predicate: FsTextEditorComponent, descendants: true }, { propertyName: "form", first: true, predicate: FsFormDirective, descendants: true }], ngImport: i0, template: "<ng-container *fsSkeletonForm=\"contentStyle\">\n <fs-text-editor \n [(ngModel)]=\"contentStyle.scss\" \n name=\"contentStyle\"\n [fsModelChangeOptions]=\"{ debounce: 300 }\"\n (fsModelChange)=\"save()\"\n [config]=\"styleConfig\">\n </fs-text-editor> \n</ng-container>\n", styles: [""], components: [{ type: i2.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["ready", "blur"] }], directives: [{ type: i3.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.FsModelChangeDirective, selector: "[fsModelChange]", inputs: ["fsModelChangeOptions"], outputs: ["fsModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentStyleComponent, decorators: [{
|
52
|
+
type: Component,
|
53
|
+
args: [{
|
54
|
+
selector: 'fs-content-style',
|
55
|
+
templateUrl: './content-style.component.html',
|
56
|
+
styleUrls: ['./content-style.component.scss'],
|
57
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
58
|
+
}]
|
59
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
60
|
+
type: Inject,
|
61
|
+
args: [FS_CONTENT_CONFIG]
|
62
|
+
}] }, { type: i1.FsMessage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { textEditors: [{
|
63
|
+
type: ViewChild,
|
64
|
+
args: [FsTextEditorComponent]
|
65
|
+
}], form: [{
|
66
|
+
type: ViewChild,
|
67
|
+
args: [FsFormDirective]
|
68
|
+
}], height: [{
|
69
|
+
type: Input
|
70
|
+
}] } });
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1zdHlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1zdHlsZS9jb21wb25lbnRzL2NvbnRlbnQtc3R5bGUvY29udGVudC1zdHlsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1zdHlsZS9jb21wb25lbnRzL2NvbnRlbnQtc3R5bGUvY29udGVudC1zdHlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsTUFBTSxFQUNOLEtBQUssRUFHTCxTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFHdkIsT0FBTyxFQUFF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|
|
1
|
+
export * from './content-style.component';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1zdHlsZS9jb21wb25lbnRzL2NvbnRlbnQtc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC1zdHlsZS5jb21wb25lbnQnO1xuIl19
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { FormsModule } from '@angular/forms';
|
4
|
+
import { MatButtonModule } from '@angular/material/button';
|
5
|
+
import { FsCommonModule } from '@firestitch/common';
|
6
|
+
import { FsSkeletonModule } from '@firestitch/skeleton';
|
7
|
+
import { FsTextEditorModule } from '@firestitch/text-editor';
|
8
|
+
import { FsContentEditorModule } from '../editor';
|
9
|
+
import { ContentStyleComponent } from './components/content-style';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
export class FsContentStyleModule {
|
12
|
+
}
|
13
|
+
FsContentStyleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentStyleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
14
|
+
FsContentStyleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentStyleModule, declarations: [ContentStyleComponent], imports: [CommonModule,
|
15
|
+
FormsModule,
|
16
|
+
MatButtonModule,
|
17
|
+
FsTextEditorModule,
|
18
|
+
FsSkeletonModule,
|
19
|
+
FsCommonModule,
|
20
|
+
FsContentEditorModule], exports: [ContentStyleComponent] });
|
21
|
+
FsContentStyleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentStyleModule, imports: [[
|
22
|
+
CommonModule,
|
23
|
+
FormsModule,
|
24
|
+
MatButtonModule,
|
25
|
+
FsTextEditorModule,
|
26
|
+
FsSkeletonModule,
|
27
|
+
FsCommonModule,
|
28
|
+
FsContentEditorModule,
|
29
|
+
]] });
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentStyleModule, decorators: [{
|
31
|
+
type: NgModule,
|
32
|
+
args: [{
|
33
|
+
imports: [
|
34
|
+
CommonModule,
|
35
|
+
FormsModule,
|
36
|
+
MatButtonModule,
|
37
|
+
FsTextEditorModule,
|
38
|
+
FsSkeletonModule,
|
39
|
+
FsCommonModule,
|
40
|
+
FsContentEditorModule,
|
41
|
+
],
|
42
|
+
exports: [
|
43
|
+
ContentStyleComponent,
|
44
|
+
],
|
45
|
+
declarations: [
|
46
|
+
ContentStyleComponent,
|
47
|
+
],
|
48
|
+
}]
|
49
|
+
}] });
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1zdHlsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1zdHlsZS9mcy1jb250ZW50LXN0eWxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFN0MsT0FBTyxF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