@firestitch/content 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. package/app/consts/index.d.ts +1 -0
  2. package/app/consts/page-types.const.d.ts +5 -0
  3. package/app/enums/index.d.ts +1 -0
  4. package/app/enums/page-type.enum.d.ts +6 -0
  5. package/app/injectors/content-config.injector.d.ts +2 -0
  6. package/app/injectors/index.d.ts +1 -0
  7. package/app/interfaces/content-config.d.ts +19 -0
  8. package/app/interfaces/content-layout.d.ts +10 -0
  9. package/app/interfaces/content-page.d.ts +13 -0
  10. package/app/interfaces/index.d.ts +3 -0
  11. package/app/modules/content/components/content/content.component.d.ts +21 -0
  12. package/app/modules/content/components/content/index.d.ts +1 -0
  13. package/app/modules/content/components/content- renderer/content-renderer.component.d.ts +22 -0
  14. package/app/modules/content/components/content- renderer/index.d.ts +1 -0
  15. package/app/modules/content/fs-content.module.d.ts +10 -0
  16. package/app/modules/content-layouts/components/content-layout/content-layout.component.d.ts +27 -0
  17. package/app/modules/content-layouts/components/content-layout/index.d.ts +1 -0
  18. package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +20 -0
  19. package/app/modules/content-layouts/components/content-layouts/index.d.ts +1 -0
  20. package/app/modules/content-layouts/fs-content-layouts.module.d.ts +28 -0
  21. package/app/modules/content-pages/components/content-page/content-page.component.d.ts +32 -0
  22. package/app/modules/content-pages/components/content-page/index.d.ts +1 -0
  23. package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +23 -0
  24. package/app/modules/content-pages/components/content-pages/index.d.ts +1 -0
  25. package/app/modules/content-pages/fs-content-pages.module.d.ts +29 -0
  26. package/app/modules/editor/components/editor/editor.component.d.ts +26 -0
  27. package/app/modules/editor/components/editor/index.d.ts +1 -0
  28. package/app/modules/editor/fs-content-editor.module.d.ts +20 -0
  29. package/app/modules/editor/index.d.ts +1 -0
  30. package/bundles/firestitch-content.umd.js +894 -0
  31. package/bundles/firestitch-content.umd.js.map +1 -0
  32. package/esm2015/app/consts/index.js +2 -0
  33. package/esm2015/app/consts/page-types.const.js +8 -0
  34. package/esm2015/app/enums/index.js +2 -0
  35. package/esm2015/app/enums/page-type.enum.js +8 -0
  36. package/esm2015/app/injectors/content-config.injector.js +3 -0
  37. package/esm2015/app/injectors/index.js +2 -0
  38. package/esm2015/app/interfaces/content-config.js +2 -0
  39. package/esm2015/app/interfaces/content-layout.js +2 -0
  40. package/esm2015/app/interfaces/content-page.js +2 -0
  41. package/esm2015/app/interfaces/index.js +4 -0
  42. package/esm2015/app/modules/content/components/content/content.component.js +61 -0
  43. package/esm2015/app/modules/content/components/content/index.js +2 -0
  44. package/esm2015/app/modules/content/components/content- renderer/content-renderer.component.js +75 -0
  45. package/esm2015/app/modules/content/components/content- renderer/index.js +2 -0
  46. package/esm2015/app/modules/content/fs-content.module.js +33 -0
  47. package/esm2015/app/modules/content-layouts/components/content-layout/content-layout.component.js +73 -0
  48. package/esm2015/app/modules/content-layouts/components/content-layout/index.js +2 -0
  49. package/esm2015/app/modules/content-layouts/components/content-layouts/content-layouts.component.js +124 -0
  50. package/esm2015/app/modules/content-layouts/components/content-layouts/index.js +2 -0
  51. package/esm2015/app/modules/content-layouts/fs-content-layouts.module.js +105 -0
  52. package/esm2015/app/modules/content-pages/components/content-page/content-page.component.js +82 -0
  53. package/esm2015/app/modules/content-pages/components/content-page/index.js +2 -0
  54. package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js +128 -0
  55. package/esm2015/app/modules/content-pages/components/content-pages/index.js +2 -0
  56. package/esm2015/app/modules/content-pages/fs-content-pages.module.js +106 -0
  57. package/esm2015/app/modules/editor/components/editor/editor.component.js +67 -0
  58. package/esm2015/app/modules/editor/components/editor/index.js +2 -0
  59. package/esm2015/app/modules/editor/fs-content-editor.module.js +74 -0
  60. package/esm2015/app/modules/editor/index.js +2 -0
  61. package/esm2015/firestitch-content.js +5 -0
  62. package/esm2015/public_api.js +8 -0
  63. package/fesm2015/firestitch-content.js +827 -0
  64. package/fesm2015/firestitch-content.js.map +1 -0
  65. package/firestitch-content.d.ts +5 -0
  66. package/package.json +27 -0
  67. package/public_api.d.ts +9 -0
  68. package/styles.scss +0 -0
@@ -0,0 +1,106 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MatButtonModule } from '@angular/material/button';
4
+ import { MatTabsModule } from '@angular/material/tabs';
5
+ import { MatDialogModule } from '@angular/material/dialog';
6
+ import { FormsModule } from '@angular/forms';
7
+ import { MatInputModule } from '@angular/material/input';
8
+ import { MatFormFieldModule } from '@angular/material/form-field';
9
+ import { MatIconModule } from '@angular/material/icon';
10
+ import { MatSelectModule } from '@angular/material/select';
11
+ import { FsListModule } from '@firestitch/list';
12
+ import { FsDateModule } from '@firestitch/date';
13
+ import { FsDialogModule } from '@firestitch/dialog';
14
+ import { FsFormModule } from '@firestitch/form';
15
+ import { FsHtmlEditorModule } from '@firestitch/html-editor';
16
+ import { FsTextEditorModule } from '@firestitch/text-editor';
17
+ import { FsLabelModule } from '@firestitch/label';
18
+ import { FsSkeletonModule } from '@firestitch/skeleton';
19
+ import { ContentPageComponent } from './components/content-page';
20
+ import { FsContentPagesComponent } from './components/content-pages';
21
+ import { MatButtonToggleModule } from '@angular/material/button-toggle';
22
+ import { FsContentEditorModule } from '../editor';
23
+ import * as i0 from "@angular/core";
24
+ export class FsContentPagesModule {
25
+ static forRoot() {
26
+ return {
27
+ ngModule: FsContentPagesModule,
28
+ };
29
+ }
30
+ }
31
+ FsContentPagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
+ FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentPagesModule, declarations: [FsContentPagesComponent,
33
+ ContentPageComponent], imports: [CommonModule,
34
+ FormsModule,
35
+ MatDialogModule,
36
+ MatInputModule,
37
+ MatFormFieldModule,
38
+ MatButtonModule,
39
+ MatTabsModule,
40
+ MatIconModule,
41
+ MatSelectModule,
42
+ MatButtonToggleModule,
43
+ FsListModule,
44
+ FsDateModule,
45
+ FsFormModule,
46
+ FsLabelModule,
47
+ FsSkeletonModule,
48
+ FsHtmlEditorModule,
49
+ FsDialogModule,
50
+ FsTextEditorModule,
51
+ FsContentEditorModule], exports: [FsContentPagesComponent] });
52
+ FsContentPagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentPagesModule, imports: [[
53
+ CommonModule,
54
+ FormsModule,
55
+ MatDialogModule,
56
+ MatInputModule,
57
+ MatFormFieldModule,
58
+ MatButtonModule,
59
+ MatTabsModule,
60
+ MatIconModule,
61
+ MatSelectModule,
62
+ MatButtonToggleModule,
63
+ FsListModule,
64
+ FsDateModule,
65
+ FsFormModule,
66
+ FsLabelModule,
67
+ FsSkeletonModule,
68
+ FsHtmlEditorModule,
69
+ FsDialogModule,
70
+ FsTextEditorModule,
71
+ FsContentEditorModule,
72
+ ]] });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentPagesModule, decorators: [{
74
+ type: NgModule,
75
+ args: [{
76
+ imports: [
77
+ CommonModule,
78
+ FormsModule,
79
+ MatDialogModule,
80
+ MatInputModule,
81
+ MatFormFieldModule,
82
+ MatButtonModule,
83
+ MatTabsModule,
84
+ MatIconModule,
85
+ MatSelectModule,
86
+ MatButtonToggleModule,
87
+ FsListModule,
88
+ FsDateModule,
89
+ FsFormModule,
90
+ FsLabelModule,
91
+ FsSkeletonModule,
92
+ FsHtmlEditorModule,
93
+ FsDialogModule,
94
+ FsTextEditorModule,
95
+ FsContentEditorModule,
96
+ ],
97
+ exports: [
98
+ FsContentPagesComponent,
99
+ ],
100
+ declarations: [
101
+ FsContentPagesComponent,
102
+ ContentPageComponent,
103
+ ],
104
+ }]
105
+ }] });
106
+ //# sourceMapp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4gIGRlY2xhcmF0aW9uczogW1xuICAgIEZzQ29udGVudFBhZ2VzQ29tcG9uZW50LFxuICAgIENvbnRlbnRQYWdlQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBGc0NvbnRlbnRQYWdlc01vZHVsZSB7XG4gIHN0YXRpYyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnM8RnNDb250ZW50UGFnZXNNb2R1bGU+IHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IEZzQ29udGVudFBhZ2VzTW9kdWxlLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,67 @@
1
+ import { Component, Inject, ChangeDetectionStrategy, ViewChildren, QueryList, } from '@angular/core';
2
+ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
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 * 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-toggle";
12
+ import * as i5 from "@firestitch/label";
13
+ import * as i6 from "@firestitch/text-editor";
14
+ import * as i7 from "@firestitch/form";
15
+ import * as i8 from "@angular/forms";
16
+ import * as i9 from "@angular/common";
17
+ export class EditorComponent {
18
+ constructor(_data, _dialogRef, _message) {
19
+ this._data = _data;
20
+ this._dialogRef = _dialogRef;
21
+ this._message = _message;
22
+ this.styles = null;
23
+ this.content = null;
24
+ this.editors = { content: true, styles: true };
25
+ this._destroy$ = new Subject();
26
+ this.save = () => {
27
+ return this._data.save({ content: this.content, styles: this.styles })
28
+ .pipe(tap(() => {
29
+ this._message.success('Saved Changes');
30
+ }));
31
+ };
32
+ }
33
+ ngOnInit() {
34
+ this._dialogRef.updateSize('100%', '100%');
35
+ this.content = this._data.content;
36
+ this.styles = this._data.styles;
37
+ }
38
+ editorToggleChange(event) {
39
+ this.editors[event.value] = !this.editors[event.value];
40
+ setTimeout(() => {
41
+ this.textEditors.forEach((textEditor) => {
42
+ textEditor.updateLayout();
43
+ });
44
+ }, 100);
45
+ }
46
+ ngOnDestroy() {
47
+ this._destroy$.next();
48
+ this._destroy$.complete();
49
+ }
50
+ }
51
+ EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }], target: i0.ɵɵFactoryTarget.Component });
52
+ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: FsTextEditorComponent, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"save\">\n <fs-dialog>\n <h1 mat-dialog-title>Design</h1>\n <div mat-dialog-content>\n <div class=\"container\">\n <div class=\"toggles\">\n <mat-button-toggle-group multiple>\n <mat-button-toggle value=\"content\" [checked]=\"editors.content\" (change)=\"editorToggleChange($event)\">Content</mat-button-toggle>\n <mat-button-toggle value=\"styles\" [checked]=\"editors.styles\" (change)=\"editorToggleChange($event)\">Styles</mat-button-toggle>\n </mat-button-toggle-group> \n </div>\n <div class=\"editors\">\n <div class=\"editor\" *ngIf=\"editors.content\">\n <fs-label>Content</fs-label>\n <div class=\"editor-container\">\n <fs-text-editor \n [(ngModel)]=\"content\" \n name=\"content\"\n [config]=\"{ tabSize: 2, language: 'html' }\">\n </fs-text-editor> \n </div>\n </div>\n <div class=\"editor\" *ngIf=\"editors.styles\">\n <fs-label>Styles</fs-label>\n <div class=\"editor-container\">\n <fs-text-editor \n [(ngModel)]=\"styles\" \n name=\"styles\"\n [config]=\"{ tabSize: 2, language: 'scss' }\">\n </fs-text-editor> \n </div>\n </div> \n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions>\n </fs-form-dialog-actions>\n </div>\n </fs-dialog>\n</form>\n", styles: ["form{display:block;height:100%}form fs-dialog{display:flex;flex-direction:column;height:100%}form ::ng-deep .mat-dialog-content{max-height:none;flex:1}.toggles{display:flex;align-self:end;z-index:1;position:relative;margin-bottom:-12px}.container{height:100%;display:flex;flex-direction:column}.editors{width:5000px;max-width:100%;height:100%;display:flex;min-height:0}.editors .editor{height:100%;display:flex;min-width:0;width:100%;flex-direction:column}.editors .editor .editor-container{height:100%;overflow:auto;background:#1E1E1E}.editors .editor .editor-container fs-text-editor{display:block}.editors .editor+.editor{margin-left:20px}.editors .editor fs-label{background-color:#fff;padding-bottom:5px}\n"], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i4.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-labelledby", "tabIndex", "appearance", "checked", "disabled", "id", "name", "aria-label", "value"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { type: i5.FsLabelComponent, selector: "fs-label" }, { type: i6.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["init", "blur"] }, { type: i7.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "closeData", "name"] }], directives: [{ type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, decorators: [{
54
+ type: Component,
55
+ args: [{
56
+ templateUrl: './editor.component.html',
57
+ styleUrls: ['./editor.component.scss'],
58
+ changeDetection: ChangeDetectionStrategy.OnPush,
59
+ }]
60
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
61
+ type: Inject,
62
+ args: [MAT_DIALOG_DATA]
63
+ }] }, { type: i1.MatDialogRef }, { type: i2.FsMessage }]; }, propDecorators: { textEditors: [{
64
+ type: ViewChildren,
65
+ args: [FsTextEditorComponent]
66
+ }] } });
67
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcH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gICAgICAgICAgPGRpdiBjbGFzcz1cImVkaXRvclwiICpuZ0lmPVwiZWRpdG9ycy5zdHlsZXNcIj5cbiAgICAgICAgICAgIDxmcy1sYWJlbD5TdHlsZXM8L2ZzLWxhYmVsPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImVkaXRvci1jb250YWluZXJcIj5cbiAgICAgICAgICAgICAgPGZzLXRleHQtZWRpdG9yIFxuICAgICAgICAgICAgICAgIFsobmdNb2RlbCldPVwic3R5bGVzXCIgXG4gICAgICAgICAgICAgICAgbmFtZT1cInN0eWxlc1wiXG4gICAgICAgICAgICAgICAgW2NvbmZpZ109XCJ7ICB0YWJTaXplOiAyLCBsYW5ndWFnZTogJ3Njc3MnIH1cIj5cbiAgICAgICAgICAgICAgPC9mcy10ZXh0LWVkaXRvcj4gICAgXG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj4gICAgXG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG5cbiAgICA8ZGl2IG1hdC1kaWFsb2ctYWN0aW9ucz5cbiAgICAgIDxmcy1mb3JtLWRpYWxvZy1hY3Rpb25zPlxuICAgICAgPC9mcy1mb3JtLWRpYWxvZy1hY3Rpb25zPlxuICAgIDwvZGl2PlxuICA8L2ZzLWRpYWxvZz5cbjwvZm9ybT5cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './editor.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvZWRpdG9yL2NvbXBvbmVudHMvZWRpdG9yL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VkaXRvci5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,74 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MatButtonModule } from '@angular/material/button';
4
+ import { MatTabsModule } from '@angular/material/tabs';
5
+ import { MatButtonToggleModule } from '@angular/material/button-toggle';
6
+ import { MatDialogModule } from '@angular/material/dialog';
7
+ import { MatIconModule } from '@angular/material/icon';
8
+ import { FormsModule } from '@angular/forms';
9
+ import { FsListModule } from '@firestitch/list';
10
+ import { FsLabelModule } from '@firestitch/label';
11
+ import { FsDialogModule } from '@firestitch/dialog';
12
+ import { FsFormModule } from '@firestitch/form';
13
+ import { FsHtmlEditorModule } from '@firestitch/html-editor';
14
+ import { FsTextEditorModule } from '@firestitch/text-editor';
15
+ import { EditorComponent } from './components/editor';
16
+ import * as i0 from "@angular/core";
17
+ export class FsContentEditorModule {
18
+ }
19
+ FsContentEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
+ FsContentEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentEditorModule, declarations: [EditorComponent], imports: [CommonModule,
21
+ FormsModule,
22
+ MatDialogModule,
23
+ MatButtonModule,
24
+ MatTabsModule,
25
+ MatIconModule,
26
+ MatButtonToggleModule,
27
+ FsListModule,
28
+ FsFormModule,
29
+ FsLabelModule,
30
+ FsHtmlEditorModule,
31
+ FsDialogModule,
32
+ FsTextEditorModule], exports: [EditorComponent] });
33
+ FsContentEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentEditorModule, imports: [[
34
+ CommonModule,
35
+ FormsModule,
36
+ MatDialogModule,
37
+ MatButtonModule,
38
+ MatTabsModule,
39
+ MatIconModule,
40
+ MatButtonToggleModule,
41
+ FsListModule,
42
+ FsFormModule,
43
+ FsLabelModule,
44
+ FsHtmlEditorModule,
45
+ FsDialogModule,
46
+ FsTextEditorModule,
47
+ ]] });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentEditorModule, decorators: [{
49
+ type: NgModule,
50
+ args: [{
51
+ imports: [
52
+ CommonModule,
53
+ FormsModule,
54
+ MatDialogModule,
55
+ MatButtonModule,
56
+ MatTabsModule,
57
+ MatIconModule,
58
+ MatButtonToggleModule,
59
+ FsListModule,
60
+ FsFormModule,
61
+ FsLabelModule,
62
+ FsHtmlEditorModule,
63
+ FsDialogModule,
64
+ FsTextEditorModule,
65
+ ],
66
+ exports: [
67
+ EditorComponent,
68
+ ],
69
+ declarations: [
70
+ EditorComponent,
71
+ ],
72
+ }]
73
+ }] });
74
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1lZGl0b3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2VkaXRvci9mcy1jb250ZW50LWVkaXRvci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzNELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7Q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xuIH1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './fs-content-editor.module';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvZWRpdG9yL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZzLWNvbnRlbnQtZWRpdG9yLm1vZHVsZSc7XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyZXN0aXRjaC1jb250ZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ZpcmVzdGl0Y2gtY29udGVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19
@@ -0,0 +1,8 @@
1
+ export { FsContentPagesModule } from './app/modules/content-pages/fs-content-pages.module';
2
+ export { FsContentLayoutsModule } from './app/modules/content-layouts/fs-content-layouts.module';
3
+ export { FsContentModule } from './app/modules/content/fs-content.module';
4
+ export { FsContentPagesComponent } from './app/modules/content-pages/components/content-pages/content-pages.component';
5
+ export { FsContentLayoutsComponent } from './app/modules/content-layouts/components/content-layouts/content-layouts.component';
6
+ export { FsContentComponent } from './app/modules/content/components/content/content.component';
7
+ export { FS_CONTENT_CONFIG } from './app/injectors/content-config.injector';
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQzNGLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHlEQUF5RCxDQUFDO0FBQ2pHLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUUxRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4RUFBOEUsQ0FBQztBQUN2SCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxvRkFBb0YsQ0FBQztBQUMvSCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0REFBNEQsQ0FBQztBQUVoRyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEZzQ29udGVudFBhZ2VzTW9kdWxlIH0gZnJvbSAnLi9hcHAvbW9kdWxlcy9jb250ZW50LXBhZ2VzL2ZzLWNvbnRlbnQtcGFnZXMubW9kdWxlJztcbmV4cG9ydCB7IEZzQ29udGVudExheW91dHNNb2R1bGUgfSBmcm9tICcuL2FwcC9tb2R1bGVzL2NvbnRlbnQtbGF5b3V0cy9mcy1jb250ZW50LWxheW91dHMubW9kdWxlJztcbmV4cG9ydCB7IEZzQ29udGVudE1vZHVsZSB9IGZyb20gJy4vYXBwL21vZHVsZXMvY29udGVudC9mcy1jb250ZW50Lm1vZHVsZSc7XG5cbmV4cG9ydCB7IEZzQ29udGVudFBhZ2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