@firestitch/content 13.0.4 → 13.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/app/consts/index.d.ts +1 -1
  2. package/app/consts/page-types.const.d.ts +5 -5
  3. package/app/enums/editor-type.d.ts +6 -6
  4. package/app/enums/index.d.ts +2 -2
  5. package/app/enums/page-type.enum.d.ts +6 -6
  6. package/app/injectors/content-config.injector.d.ts +2 -2
  7. package/app/injectors/index.d.ts +1 -1
  8. package/app/interfaces/content-config.d.ts +21 -21
  9. package/app/interfaces/content-layout.d.ts +10 -10
  10. package/app/interfaces/content-page.d.ts +14 -14
  11. package/app/interfaces/content-style.d.ts +4 -4
  12. package/app/interfaces/index.d.ts +4 -4
  13. package/app/modules/content/components/content/content.component.d.ts +25 -25
  14. package/app/modules/content/components/content/index.d.ts +1 -1
  15. package/app/modules/content/components/content-renderer/content-renderer.component.d.ts +24 -24
  16. package/app/modules/content/components/content-renderer/index.d.ts +1 -1
  17. package/app/modules/content/fs-content.module.d.ts +10 -10
  18. package/app/modules/content-layouts/components/content-layout/content-layout.component.d.ts +27 -27
  19. package/app/modules/content-layouts/components/content-layout/index.d.ts +1 -1
  20. package/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.d.ts +50 -50
  21. package/app/modules/content-layouts/components/content-layout-editor/index.d.ts +1 -1
  22. package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +21 -21
  23. package/app/modules/content-layouts/components/content-layouts/index.d.ts +1 -1
  24. package/app/modules/content-layouts/components/index.d.ts +3 -3
  25. package/app/modules/content-layouts/fs-content-layouts.module.d.ts +28 -28
  26. package/app/modules/content-pages/components/content-page/content-page.component.d.ts +32 -32
  27. package/app/modules/content-pages/components/content-page/index.d.ts +1 -1
  28. package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts +56 -56
  29. package/app/modules/content-pages/components/content-page-editor/index.d.ts +1 -1
  30. package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +24 -24
  31. package/app/modules/content-pages/components/content-pages/index.d.ts +1 -1
  32. package/app/modules/content-pages/components/index.d.ts +3 -3
  33. package/app/modules/content-pages/fs-content-pages.module.d.ts +33 -33
  34. package/app/modules/content-style/components/content-style/content-style.component.d.ts +27 -27
  35. package/app/modules/content-style/components/content-style/index.d.ts +1 -1
  36. package/app/modules/content-style/fs-content-style.module.d.ts +14 -14
  37. package/app/modules/editor/components/editor/editor.component.d.ts +49 -49
  38. package/app/modules/editor/components/editor/index.d.ts +1 -1
  39. package/app/modules/editor/components/editor-label/editor-label.component.d.ts +7 -7
  40. package/app/modules/editor/components/editor-label/index.d.ts +1 -1
  41. package/app/modules/editor/fs-content-editor.module.d.ts +24 -24
  42. package/app/modules/editor/index.d.ts +1 -1
  43. package/esm2020/app/consts/index.mjs +1 -1
  44. package/esm2020/app/consts/page-types.const.mjs +5 -5
  45. package/esm2020/app/enums/editor-type.mjs +7 -7
  46. package/esm2020/app/enums/index.mjs +3 -3
  47. package/esm2020/app/enums/page-type.enum.mjs +7 -7
  48. package/esm2020/app/injectors/content-config.injector.mjs +2 -2
  49. package/esm2020/app/injectors/index.mjs +1 -1
  50. package/esm2020/app/interfaces/content-config.mjs +1 -1
  51. package/esm2020/app/interfaces/content-layout.mjs +1 -1
  52. package/esm2020/app/interfaces/content-page.mjs +1 -1
  53. package/esm2020/app/interfaces/content-style.mjs +1 -1
  54. package/esm2020/app/interfaces/index.mjs +5 -5
  55. package/esm2020/app/modules/content/components/content/content.component.mjs +80 -80
  56. package/esm2020/app/modules/content/components/content/index.mjs +1 -1
  57. package/esm2020/app/modules/content/components/content-renderer/content-renderer.component.mjs +73 -73
  58. package/esm2020/app/modules/content/components/content-renderer/index.mjs +1 -1
  59. package/esm2020/app/modules/content/fs-content.module.mjs +32 -32
  60. package/esm2020/app/modules/content-layouts/components/content-layout/content-layout.component.mjs +67 -67
  61. package/esm2020/app/modules/content-layouts/components/content-layout/index.mjs +1 -1
  62. package/esm2020/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.mjs +161 -161
  63. package/esm2020/app/modules/content-layouts/components/content-layout-editor/index.mjs +1 -1
  64. package/esm2020/app/modules/content-layouts/components/content-layouts/content-layouts.component.mjs +115 -115
  65. package/esm2020/app/modules/content-layouts/components/content-layouts/index.mjs +1 -1
  66. package/esm2020/app/modules/content-layouts/components/index.mjs +4 -4
  67. package/esm2020/app/modules/content-layouts/fs-content-layouts.module.mjs +103 -103
  68. package/esm2020/app/modules/content-pages/components/content-page/content-page.component.mjs +81 -81
  69. package/esm2020/app/modules/content-pages/components/content-page/index.mjs +1 -1
  70. package/esm2020/app/modules/content-pages/components/content-page-editor/content-page-editor.component.mjs +178 -178
  71. package/esm2020/app/modules/content-pages/components/content-page-editor/index.mjs +1 -1
  72. package/esm2020/app/modules/content-pages/components/content-pages/content-pages.component.mjs +130 -128
  73. package/esm2020/app/modules/content-pages/components/content-pages/index.mjs +1 -1
  74. package/esm2020/app/modules/content-pages/components/index.mjs +4 -4
  75. package/esm2020/app/modules/content-pages/fs-content-pages.module.mjs +120 -120
  76. package/esm2020/app/modules/content-style/components/content-style/content-style.component.mjs +68 -68
  77. package/esm2020/app/modules/content-style/components/content-style/index.mjs +1 -1
  78. package/esm2020/app/modules/content-style/fs-content-style.module.mjs +49 -49
  79. package/esm2020/app/modules/editor/components/editor/editor.component.mjs +143 -143
  80. package/esm2020/app/modules/editor/components/editor/index.mjs +1 -1
  81. package/esm2020/app/modules/editor/components/editor-label/editor-label.component.mjs +15 -15
  82. package/esm2020/app/modules/editor/components/editor-label/index.mjs +1 -1
  83. package/esm2020/app/modules/editor/fs-content-editor.module.mjs +88 -88
  84. package/esm2020/app/modules/editor/index.mjs +1 -1
  85. package/esm2020/firestitch-content.mjs +4 -4
  86. package/esm2020/public_api.mjs +10 -10
  87. package/fesm2015/firestitch-content.mjs +1249 -1251
  88. package/fesm2015/firestitch-content.mjs.map +1 -1
  89. package/fesm2020/firestitch-content.mjs +1253 -1252
  90. package/fesm2020/firestitch-content.mjs.map +1 -1
  91. package/firestitch-content.d.ts +5 -5
  92. package/package.json +1 -1
  93. package/public_api.d.ts +10 -10
@@ -1,128 +1,130 @@
1
- import { ChangeDetectionStrategy, Component, Inject, Input, ViewChild, } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { index } from '@firestitch/common';
4
- import { ItemType } from '@firestitch/filter';
5
- import { FsListComponent } from '@firestitch/list';
6
- import { Subject } from 'rxjs';
7
- import { filter, map, takeUntil } from 'rxjs/operators';
8
- import { PageTypes } from '../../../../consts';
9
- import { PageType } from '../../../../enums';
10
- import { FS_CONTENT_CONFIG } from '../../../../injectors';
11
- import { ContentPageEditorComponent } from '../content-page-editor';
12
- import { ContentPageComponent } from '../content-page/content-page.component';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "@angular/material/dialog";
15
- import * as i2 from "@firestitch/list";
16
- import * as i3 from "@firestitch/date";
17
- export class FsContentPagesComponent {
18
- constructor(_config, _dialog) {
19
- this._config = _config;
20
- this._dialog = _dialog;
21
- this.pageTypes = index(PageTypes, 'value', 'name');
22
- this._destroy$ = new Subject();
23
- }
24
- ngOnInit() {
25
- this._initListConfig();
26
- }
27
- openEditor(contentPage) {
28
- this._dialog.open(ContentPageEditorComponent, {
29
- data: {
30
- contentPage,
31
- config: this._config,
32
- contentConfig: this._config,
33
- },
34
- maxWidth: '100vw',
35
- width: '100%',
36
- height: '100%',
37
- autoFocus: false,
38
- })
39
- .afterClosed()
40
- .pipe(takeUntil(this._destroy$))
41
- .subscribe(() => {
42
- this.listComponent.reload();
43
- });
44
- }
45
- ngOnDestroy() {
46
- this._destroy$.next();
47
- this._destroy$.complete();
48
- }
49
- openContentPage(contentPage) {
50
- return this._dialog.open(ContentPageComponent, {
51
- data: { contentPage },
52
- })
53
- .afterClosed()
54
- .pipe(takeUntil(this._destroy$));
55
- }
56
- _initListConfig() {
57
- this.listConfig = {
58
- filters: [
59
- {
60
- name: 'keyword',
61
- type: ItemType.Keyword,
62
- label: 'Search',
63
- },
64
- ],
65
- actions: [
66
- {
67
- label: 'Create',
68
- click: () => {
69
- this.openContentPage({
70
- type: PageType.StandardPage,
71
- })
72
- .pipe(filter((contentPage) => !!contentPage))
73
- .subscribe((contentPage) => {
74
- this.openEditor(contentPage);
75
- this.listComponent.reload();
76
- });
77
- },
78
- },
79
- ],
80
- rowActions: [
81
- {
82
- click: (data) => {
83
- return this._config.deleteContentPage(data);
84
- },
85
- remove: {
86
- title: 'Confirm',
87
- template: 'Are you sure you would like to delete this record?',
88
- },
89
- menu: true,
90
- label: 'Delete',
91
- },
92
- ],
93
- fetch: (query) => {
94
- query = {
95
- contentLayouts: true,
96
- };
97
- return this._config.loadContentPages(query)
98
- .pipe(map((response) => {
99
- return { data: response.contentPages, paging: response.paging };
100
- }));
101
- },
102
- restore: {
103
- query: { state: 'deleted' },
104
- filterLabel: 'Show Deleted',
105
- menuLabel: 'Restore',
106
- reload: true,
107
- click: (row) => {
108
- return this._config.saveContentPage({ id: row.id, state: 'active' });
109
- },
110
- },
111
- };
112
- }
113
- }
114
- FsContentPagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
115
- FsContentPagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FsContentPagesComponent, selector: "fs-content-pages", inputs: { htmlEditorConfig: "htmlEditorConfig" }, 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=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\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: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"], 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 });
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, decorators: [{
117
- type: Component,
118
- args: [{ selector: 'fs-content-pages', 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 (click)=\"openEditor(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\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: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"] }]
119
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
120
- type: Inject,
121
- args: [FS_CONTENT_CONFIG]
122
- }] }, { type: i1.MatDialog }]; }, propDecorators: { htmlEditorConfig: [{
123
- type: Input
124
- }], listComponent: [{
125
- type: ViewChild,
126
- args: [FsListComponent]
127
- }] } });
128
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29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RlbnRQYWdlIH0sXG4gICAgfSlcbiAgICAgIC5hZnRlckNsb3NlZCgpXG4gICAgICAucGlwZShcbiAgICAgICAgdGFrZVVudGlsKHRoaXMuX2Rlc3Ryb3kkKSxcbiAgICAgICk7XG4gIH1cblxuICBwcml2YXRlIF9pbml0TGlzdENvbmZpZygpOiB2b2lkIHtcbiAgICB0aGlzLmxpc3RDb25maWcgPSB7XG4gICAgICBmaWx0ZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAna2V5d29yZCcsXG4gICAgICAgICAgdHlwZTogSXRlbVR5cGUuS2V5d29yZCxcbiAgICAgICAgICBsYWJlbDogJ1NlYXJjaCcsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgYWN0aW9uczogW1xuICAgICAgICB7XG4gICAgICAgICAgbGFiZWw6ICdDcmVhdGUnLFxuICAgICAgICAgIGNsaWNrOiAoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLm9wZW5Db250ZW50UGFnZSh7XG4gICAgICAgICAgICAgIHR5cGU6IFBhZ2VUeXBlLlN0YW5kYXJkUGFnZSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIGZpbHRlcigoY29udGVudFBhZ2UpID0+ICEhY29udGVudFBhZ2UpLFxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIC5zdWJzY3JpYmUoKGNvbnRlbnRQYWdlKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5vcGVuRWRpdG9yKGNvbnRlbnRQYWdlKTtcbiAgICAgICAgICAgICAgICB0aGlzLmxpc3RDb21wb25lbnQucmVsb2FkKCk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgcm93QWN0aW9uczogW1xuICAgICAgICB7XG4gICAgICAgICAgY2xpY2s6IChkYXRhKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gdGhpc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ZzLWxpc3QtY2VsbCBsZXQtcm93PVwicm93XCI+XG4gICAgICB7e3BhZ2VUeXBlc1tyb3cudHlwZV19fVxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG4gIDxmcy1saXN0LWNvbHVtbiBuYW1lPVwibW9kaWZ5X2RhdGVcIiB0aXRsZT1cIk1vZGlmaWVkXCIgW3NvcnRhYmxlXT1cInRydWVcIj5cbiAgICA8bmctdGVtcGxhdGUgZnMtbGlzdC1jZWxsIGxldC1yb3c9XCJyb3dcIj5cbiAgICAgIHt7cm93Lm1vZGlmeURhdGUgfCBmc0RhdGU6ICdkYXRlLXRpbWUteWVhcmxlc3MnfX1cbiAgICA8L25nLXRlbXBsYXRlPlxuICA8L2ZzLWxpc3QtY29sdW1uPlxuPC9mcy1saXN0PlxuIl19
1
+ import { ChangeDetectionStrategy, Component, Inject, Input, ViewChild, } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { index } from '@firestitch/common';
4
+ import { ItemType } from '@firestitch/filter';
5
+ import { FsListComponent } from '@firestitch/list';
6
+ import { Subject } from 'rxjs';
7
+ import { filter, map, takeUntil } from 'rxjs/operators';
8
+ import { PageTypes } from '../../../../consts';
9
+ import { PageType } from '../../../../enums';
10
+ import { FS_CONTENT_CONFIG } from '../../../../injectors';
11
+ import { ContentPageEditorComponent } from '../content-page-editor';
12
+ import { ContentPageComponent } from '../content-page/content-page.component';
13
+ import * as i0 from "@angular/core";
14
+ import * as i1 from "@angular/material/dialog";
15
+ import * as i2 from "@firestitch/list";
16
+ import * as i3 from "@angular/common";
17
+ import * as i4 from "@firestitch/date";
18
+ export class FsContentPagesComponent {
19
+ constructor(_config, _dialog) {
20
+ this._config = _config;
21
+ this._dialog = _dialog;
22
+ this.pageTypes = index(PageTypes, 'value', 'name');
23
+ this._destroy$ = new Subject();
24
+ }
25
+ ngOnInit() {
26
+ this._initListConfig();
27
+ }
28
+ openEditor(contentPage) {
29
+ this._dialog.open(ContentPageEditorComponent, {
30
+ data: {
31
+ contentPage,
32
+ config: this._config,
33
+ contentConfig: this._config,
34
+ },
35
+ maxWidth: '100vw',
36
+ width: '100%',
37
+ height: '100%',
38
+ autoFocus: false,
39
+ })
40
+ .afterClosed()
41
+ .pipe(takeUntil(this._destroy$))
42
+ .subscribe(() => {
43
+ this.listComponent.reload();
44
+ });
45
+ }
46
+ ngOnDestroy() {
47
+ this._destroy$.next();
48
+ this._destroy$.complete();
49
+ }
50
+ openContentPage(contentPage) {
51
+ return this._dialog.open(ContentPageComponent, {
52
+ data: { contentPage },
53
+ })
54
+ .afterClosed()
55
+ .pipe(takeUntil(this._destroy$));
56
+ }
57
+ _initListConfig() {
58
+ this.listConfig = {
59
+ filters: [
60
+ {
61
+ name: 'keyword',
62
+ type: ItemType.Keyword,
63
+ label: 'Search',
64
+ },
65
+ ],
66
+ actions: [
67
+ {
68
+ label: 'Create',
69
+ click: () => {
70
+ this.openContentPage({
71
+ type: PageType.StandardPage,
72
+ })
73
+ .pipe(filter((contentPage) => !!contentPage))
74
+ .subscribe((contentPage) => {
75
+ this.openEditor(contentPage);
76
+ this.listComponent.reload();
77
+ });
78
+ },
79
+ },
80
+ ],
81
+ rowActions: [
82
+ {
83
+ click: (data) => {
84
+ return this._config.deleteContentPage(data);
85
+ },
86
+ remove: {
87
+ title: 'Confirm',
88
+ template: 'Are you sure you would like to delete this record?',
89
+ },
90
+ menu: true,
91
+ label: 'Delete',
92
+ },
93
+ ],
94
+ fetch: (query) => {
95
+ query = {
96
+ contentLayouts: true,
97
+ ...query,
98
+ };
99
+ return this._config.loadContentPages(query)
100
+ .pipe(map((response) => {
101
+ return { data: response.contentPages, paging: response.paging };
102
+ }));
103
+ },
104
+ restore: {
105
+ query: { state: 'deleted' },
106
+ filterLabel: 'Show Deleted',
107
+ menuLabel: 'Restore',
108
+ reload: true,
109
+ click: (row) => {
110
+ return this._config.saveContentPage({ id: row.id, state: 'active' });
111
+ },
112
+ },
113
+ };
114
+ }
115
+ }
116
+ FsContentPagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
117
+ FsContentPagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FsContentPagesComponent, selector: "fs-content-pages", inputs: { htmlEditorConfig: "htmlEditorConfig" }, 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=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\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: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"], 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"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "fsDate": i4.FsDatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, decorators: [{
119
+ type: Component,
120
+ args: [{ selector: 'fs-content-pages', 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=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\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: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"] }]
121
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
122
+ type: Inject,
123
+ args: [FS_CONTENT_CONFIG]
124
+ }] }, { type: i1.MatDialog }]; }, propDecorators: { htmlEditorConfig: [{
125
+ type: Input
126
+ }], listComponent: [{
127
+ type: ViewChild,
128
+ args: [FsListComponent]
129
+ }] } });
130
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUdMLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sMEJBQTBCLENBQU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lzLmxpc3RDb25maWcgPSB7XG4gICAgICBmaWx0ZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAna2V5d29yZCcsXG4gICAgICAgICAgdHlwZTogSXRlbVR5cGUuS2V5d29yZCxcbiAgICAgICAgICBsYWJlbDogJ1NlYXJjaCcsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgYWN0aW9uczogW1xuICAgICAgICB7XG4gICAgICAgICAgbGFiZWw6ICdDcmVhdGUnLFxuICAgICAgICAgIGNsaWNrOiAoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLm9wZW5Db250ZW50UGFnZSh7XG4gICAgICAgICAgICAgIHR5cGU6IFBhZ2VUeXBlLlN0YW5kYXJkUGFnZSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIGZpbHRlcigoY29udGVudFBhZ2UpID0+ICEhY29udGVudFBhZ2UpLFxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIC5zdWJzY3JpYmUoKGNvbnRlbnRQYWdlKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5vcGVuRWRpdG9yKGNvbnRlbnRQYWdlKTtcbiAgICAgICAgICAgICAgICB0aGlzLmxpc3RDb21wb25lbnQucmVsb2FkKCk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgcm93QWN0aW9uczogW1xuICAgICAgICB7XG4gICAgICAgICAgY2xpY2s6IChkYXRhKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5fY29uZmlnLmRlbGV0ZUNvbnRlbnRQYWdlKGRhdGEpO1xuICAgICAgICAgIH0sXG4gICAgICAgICAgcmVtb3ZlOiB7XG4gICAgICAgICAgICB0aXRsZTogJ0NvbmZpcm0nLFxuICAgICAgICAgICAgdGVtcGxhdGU6ICdBcmUgeW91IHN1cmUgeW91IHdvdWxkIGxpa2U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tcGxhdGUgZnMtbGlzdC1jZWxsIGxldC1yb3c9XCJyb3dcIj5cbiAgICAgIHt7cGFnZVR5cGVzW3Jvdy50eXBlXX19XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgPC9mcy1saXN0LWNvbHVtbj5cbiAgPGZzLWxpc3QtY29sdW1uIG5hbWU9XCJtb2RpZnlfZGF0ZVwiIHRpdGxlPVwiTW9kaWZpZWRcIiBbc29ydGFibGVdPVwidHJ1ZVwiPlxuICAgIDxuZy10ZW1wbGF0ZSBmcy1saXN0LWNlbGwgbGV0LXJvdz1cInJvd1wiPlxuICAgICAge3tyb3cubW9kaWZ5RGF0ZSB8IGZzRGF0ZTogJ2RhdGUtdGltZS15ZWFybGVzcyd9fVxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG48L2ZzLWxpc3Q+XG4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './content-pages.component';
1
+ export * from './content-pages.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC1wYWdlcy5jb21wb25lbnQnO1xuIl19
@@ -1,4 +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=
1
+ export * from './content-page';
2
+ export * from './content-page-editor';
3
+ export * from './content-pages';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LXBhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LXBhZ2UtZWRpdG9yJztcbmV4cG9ydCAqIGZyb20gJy4vY29udGVudC1wYWdlcyc7XG4iXX0=
@@ -1,121 +1,121 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { FormsModule } from '@angular/forms';
4
- import { RouterModule } from '@angular/router';
5
- import { MatButtonModule } from '@angular/material/button';
6
- import { MatButtonToggleModule } from '@angular/material/button-toggle';
7
- import { MatDialogModule } from '@angular/material/dialog';
8
- import { MatFormFieldModule } from '@angular/material/form-field';
9
- import { MatIconModule } from '@angular/material/icon';
10
- import { MatInputModule } from '@angular/material/input';
11
- import { MatSelectModule } from '@angular/material/select';
12
- import { MatTabsModule } from '@angular/material/tabs';
13
- import { MatTooltipModule } from '@angular/material/tooltip';
14
- import { FsCommonModule } from '@firestitch/common';
15
- import { FsDateModule } from '@firestitch/date';
16
- import { FsDialogModule } from '@firestitch/dialog';
17
- import { FsFormModule } from '@firestitch/form';
18
- import { FsHtmlEditorModule } from '@firestitch/html-editor';
19
- import { FsLabelModule } from '@firestitch/label';
20
- import { FsListModule } from '@firestitch/list';
21
- import { FsSkeletonModule } from '@firestitch/skeleton';
22
- import { FsTextEditorModule } from '@firestitch/text-editor';
23
- import { FsContentEditorModule } from '../editor';
24
- import { ContentPageEditorComponent } from './components';
25
- import { ContentPageComponent } from './components/content-page';
26
- import { FsContentPagesComponent } from './components/content-pages';
27
- import * as i0 from "@angular/core";
28
- export class FsContentPagesModule {
29
- static forRoot() {
30
- return {
31
- ngModule: FsContentPagesModule,
32
- };
33
- }
34
- }
35
- FsContentPagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
- FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, declarations: [FsContentPagesComponent,
37
- ContentPageComponent,
38
- ContentPageEditorComponent], imports: [CommonModule,
39
- FormsModule,
40
- RouterModule,
41
- MatDialogModule,
42
- MatInputModule,
43
- MatFormFieldModule,
44
- MatButtonModule,
45
- MatTabsModule,
46
- MatIconModule,
47
- MatSelectModule,
48
- MatButtonToggleModule,
49
- MatTooltipModule,
50
- FsListModule,
51
- FsDateModule,
52
- FsCommonModule,
53
- FsFormModule,
54
- FsLabelModule,
55
- FsSkeletonModule,
56
- FsHtmlEditorModule,
57
- FsDialogModule,
58
- FsTextEditorModule,
59
- FsContentEditorModule], exports: [FsContentPagesComponent] });
60
- FsContentPagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, imports: [[
61
- CommonModule,
62
- FormsModule,
63
- RouterModule,
64
- MatDialogModule,
65
- MatInputModule,
66
- MatFormFieldModule,
67
- MatButtonModule,
68
- MatTabsModule,
69
- MatIconModule,
70
- MatSelectModule,
71
- MatButtonToggleModule,
72
- MatTooltipModule,
73
- FsListModule,
74
- FsDateModule,
75
- FsCommonModule,
76
- FsFormModule,
77
- FsLabelModule,
78
- FsSkeletonModule,
79
- FsHtmlEditorModule,
80
- FsDialogModule,
81
- FsTextEditorModule,
82
- FsContentEditorModule,
83
- ]] });
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, decorators: [{
85
- type: NgModule,
86
- args: [{
87
- imports: [
88
- CommonModule,
89
- FormsModule,
90
- RouterModule,
91
- MatDialogModule,
92
- MatInputModule,
93
- MatFormFieldModule,
94
- MatButtonModule,
95
- MatTabsModule,
96
- MatIconModule,
97
- MatSelectModule,
98
- MatButtonToggleModule,
99
- MatTooltipModule,
100
- FsListModule,
101
- FsDateModule,
102
- FsCommonModule,
103
- FsFormModule,
104
- FsLabelModule,
105
- FsSkeletonModule,
106
- FsHtmlEditorModule,
107
- FsDialogModule,
108
- FsTextEditorModule,
109
- FsContentEditorModule,
110
- ],
111
- exports: [
112
- FsContentPagesComponent,
113
- ],
114
- declarations: [
115
- FsContentPagesComponent,
116
- ContentPageComponent,
117
- ContentPageEditorComponent,
118
- ],
119
- }]
120
- }] });
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FormsModule } from '@angular/forms';
4
+ import { RouterModule } from '@angular/router';
5
+ import { MatButtonModule } from '@angular/material/button';
6
+ import { MatButtonToggleModule } from '@angular/material/button-toggle';
7
+ import { MatDialogModule } from '@angular/material/dialog';
8
+ import { MatFormFieldModule } from '@angular/material/form-field';
9
+ import { MatIconModule } from '@angular/material/icon';
10
+ import { MatInputModule } from '@angular/material/input';
11
+ import { MatSelectModule } from '@angular/material/select';
12
+ import { MatTabsModule } from '@angular/material/tabs';
13
+ import { MatTooltipModule } from '@angular/material/tooltip';
14
+ import { FsCommonModule } from '@firestitch/common';
15
+ import { FsDateModule } from '@firestitch/date';
16
+ import { FsDialogModule } from '@firestitch/dialog';
17
+ import { FsFormModule } from '@firestitch/form';
18
+ import { FsHtmlEditorModule } from '@firestitch/html-editor';
19
+ import { FsLabelModule } from '@firestitch/label';
20
+ import { FsListModule } from '@firestitch/list';
21
+ import { FsSkeletonModule } from '@firestitch/skeleton';
22
+ import { FsTextEditorModule } from '@firestitch/text-editor';
23
+ import { FsContentEditorModule } from '../editor';
24
+ import { ContentPageEditorComponent } from './components';
25
+ import { ContentPageComponent } from './components/content-page';
26
+ import { FsContentPagesComponent } from './components/content-pages';
27
+ import * as i0 from "@angular/core";
28
+ export class FsContentPagesModule {
29
+ static forRoot() {
30
+ return {
31
+ ngModule: FsContentPagesModule,
32
+ };
33
+ }
34
+ }
35
+ FsContentPagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, declarations: [FsContentPagesComponent,
37
+ ContentPageComponent,
38
+ ContentPageEditorComponent], imports: [CommonModule,
39
+ FormsModule,
40
+ RouterModule,
41
+ MatDialogModule,
42
+ MatInputModule,
43
+ MatFormFieldModule,
44
+ MatButtonModule,
45
+ MatTabsModule,
46
+ MatIconModule,
47
+ MatSelectModule,
48
+ MatButtonToggleModule,
49
+ MatTooltipModule,
50
+ FsListModule,
51
+ FsDateModule,
52
+ FsCommonModule,
53
+ FsFormModule,
54
+ FsLabelModule,
55
+ FsSkeletonModule,
56
+ FsHtmlEditorModule,
57
+ FsDialogModule,
58
+ FsTextEditorModule,
59
+ FsContentEditorModule], exports: [FsContentPagesComponent] });
60
+ FsContentPagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, imports: [[
61
+ CommonModule,
62
+ FormsModule,
63
+ RouterModule,
64
+ MatDialogModule,
65
+ MatInputModule,
66
+ MatFormFieldModule,
67
+ MatButtonModule,
68
+ MatTabsModule,
69
+ MatIconModule,
70
+ MatSelectModule,
71
+ MatButtonToggleModule,
72
+ MatTooltipModule,
73
+ FsListModule,
74
+ FsDateModule,
75
+ FsCommonModule,
76
+ FsFormModule,
77
+ FsLabelModule,
78
+ FsSkeletonModule,
79
+ FsHtmlEditorModule,
80
+ FsDialogModule,
81
+ FsTextEditorModule,
82
+ FsContentEditorModule,
83
+ ]] });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, decorators: [{
85
+ type: NgModule,
86
+ args: [{
87
+ imports: [
88
+ CommonModule,
89
+ FormsModule,
90
+ RouterModule,
91
+ MatDialogModule,
92
+ MatInputModule,
93
+ MatFormFieldModule,
94
+ MatButtonModule,
95
+ MatTabsModule,
96
+ MatIconModule,
97
+ MatSelectModule,
98
+ MatButtonToggleModule,
99
+ MatTooltipModule,
100
+ FsListModule,
101
+ FsDateModule,
102
+ FsCommonModule,
103
+ FsFormModule,
104
+ FsLabelModule,
105
+ FsSkeletonModule,
106
+ FsHtmlEditorModule,
107
+ FsDialogModule,
108
+ FsTextEditorModule,
109
+ FsContentEditorModule,
110
+ ],
111
+ exports: [
112
+ FsContentPagesComponent,
113
+ ],
114
+ declarations: [
115
+ FsContentPagesComponent,
116
+ ContentPageComponent,
117
+ ContentPageEdit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