@firestitch/content 12.1.0 → 12.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/app/interfaces/content-config.d.ts +3 -3
- package/app/modules/content-pages/components/content-page/content-page.component.d.ts +1 -1
- package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +2 -3
- package/app/modules/editor/components/editor/editor.component.d.ts +22 -7
- package/bundles/firestitch-content.umd.js +279 -210
- package/bundles/firestitch-content.umd.js.map +1 -1
- package/esm2015/app/interfaces/content-config.js +1 -1
- package/esm2015/app/modules/content-pages/components/content-page/content-page.component.js +5 -4
- package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js +25 -28
- package/esm2015/app/modules/editor/components/editor/editor.component.js +97 -27
- package/fesm2015/firestitch-content.js +196 -129
- package/fesm2015/firestitch-content.js.map +1 -1
- package/package.json +1 -1
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/button'), require('@angular/material/button-toggle'), require('@angular/material/dialog'), require('@angular/material/form-field'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@firestitch/date'), require('@firestitch/dialog'), require('@firestitch/form'), require('@firestitch/html-editor'), require('@firestitch/label'), require('@firestitch/list'), require('@firestitch/skeleton'), require('@firestitch/text-editor'), require('rxjs'), require('rxjs/operators'), require('@firestitch/message'), require('@angular/material/core'), require('@firestitch/
|
3
|
-
typeof define === 'function' && define.amd ? define('@firestitch/content', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/button', '@angular/material/button-toggle', '@angular/material/dialog', '@angular/material/form-field', '@angular/material/icon', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@firestitch/date', '@firestitch/dialog', '@firestitch/form', '@firestitch/html-editor', '@firestitch/label', '@firestitch/list', '@firestitch/skeleton', '@firestitch/text-editor', 'rxjs', 'rxjs/operators', '@firestitch/message', '@angular/material/core', '@firestitch/
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.content = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.button, global.ng.material.buttonToggle, global.ng.material.dialog, global.ng.material.formField, global.ng.material.icon, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.
|
5
|
-
})(this, (function (exports, i10, i0, i9,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/button'), require('@angular/material/button-toggle'), require('@angular/material/dialog'), require('@angular/material/form-field'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@firestitch/date'), require('@firestitch/dialog'), require('@firestitch/form'), require('@firestitch/html-editor'), require('@firestitch/label'), require('@firestitch/list'), require('@firestitch/skeleton'), require('@firestitch/text-editor'), require('rxjs'), require('rxjs/operators'), require('@firestitch/message'), require('@angular/material/core'), require('@firestitch/common'), require('@firestitch/filter'), require('@angular/router'), require('@angular/platform-browser')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('@firestitch/content', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/button', '@angular/material/button-toggle', '@angular/material/dialog', '@angular/material/form-field', '@angular/material/icon', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@firestitch/date', '@firestitch/dialog', '@firestitch/form', '@firestitch/html-editor', '@firestitch/label', '@firestitch/list', '@firestitch/skeleton', '@firestitch/text-editor', 'rxjs', 'rxjs/operators', '@firestitch/message', '@angular/material/core', '@firestitch/common', '@firestitch/filter', '@angular/router', '@angular/platform-browser'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.content = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.button, global.ng.material.buttonToggle, global.ng.material.dialog, global.ng.material.formField, global.ng.material.icon, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.i3$1, global.i3, global.i7$1, global.htmlEditor, global.i6$1, global.i2$1, global.i8, global.i7, global.rxjs, global.rxjs.operators, global.i2, global.ng.material.core, global.common, global.filter, global.ng.router, global.ng.platformBrowser));
|
5
|
+
})(this, (function (exports, i10, i0, i9, i4$1, i9$1, i1, i4, i5$1, i11, i5, tabs, i3$1, i3, i7$1, htmlEditor, i6$1, i2$1, i8, i7, rxjs, operators, i2, i6, common, filter, i2$2, i1$1) { 'use strict';
|
6
6
|
|
7
7
|
function _interopNamespace(e) {
|
8
8
|
if (e && e.__esModule) return e;
|
@@ -25,141 +25,25 @@
|
|
25
25
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
26
26
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
27
27
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
28
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
29
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
30
28
|
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
31
|
-
var
|
32
|
-
var
|
29
|
+
var i9__namespace$1 = /*#__PURE__*/_interopNamespace(i9$1);
|
30
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
31
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
33
32
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
34
|
-
var
|
35
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
36
|
-
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
33
|
+
var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
|
37
34
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
35
|
+
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
36
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
37
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7$1);
|
38
|
+
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
38
39
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
39
40
|
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
40
|
-
var
|
41
|
+
var i7__namespace$1 = /*#__PURE__*/_interopNamespace(i7);
|
41
42
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
42
|
-
var i6__namespace
|
43
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
43
44
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
44
45
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
45
46
|
|
46
|
-
var EditorComponent = /** @class */ (function () {
|
47
|
-
function EditorComponent(_data, _dialogRef, _message) {
|
48
|
-
var _this = this;
|
49
|
-
this._data = _data;
|
50
|
-
this._dialogRef = _dialogRef;
|
51
|
-
this._message = _message;
|
52
|
-
this.styles = null;
|
53
|
-
this.content = null;
|
54
|
-
this.editors = { content: true, styles: true };
|
55
|
-
this._destroy$ = new rxjs.Subject();
|
56
|
-
this.save = function () {
|
57
|
-
return _this._data.save({ content: _this.content, styles: _this.styles })
|
58
|
-
.pipe(operators.tap(function () {
|
59
|
-
_this._message.success('Saved Changes');
|
60
|
-
}));
|
61
|
-
};
|
62
|
-
}
|
63
|
-
EditorComponent.prototype.ngOnInit = function () {
|
64
|
-
this._dialogRef.updateSize('100%', '100%');
|
65
|
-
this.content = this._data.content;
|
66
|
-
this.styles = this._data.styles;
|
67
|
-
};
|
68
|
-
EditorComponent.prototype.editorToggleChange = function (event) {
|
69
|
-
var _this = this;
|
70
|
-
this.editors[event.value] = !this.editors[event.value];
|
71
|
-
setTimeout(function () {
|
72
|
-
_this.textEditors.forEach(function (textEditor) {
|
73
|
-
textEditor.updateLayout();
|
74
|
-
});
|
75
|
-
}, 100);
|
76
|
-
};
|
77
|
-
EditorComponent.prototype.ngOnDestroy = function () {
|
78
|
-
this._destroy$.next();
|
79
|
-
this._destroy$.complete();
|
80
|
-
};
|
81
|
-
return EditorComponent;
|
82
|
-
}());
|
83
|
-
EditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EditorComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }, { token: i2__namespace.FsMessage }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
84
|
-
EditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: i6.FsTextEditorComponent, descendants: true }], ngImport: i0__namespace, 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__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4__namespace.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-labelledby", "tabIndex", "appearance", "checked", "disabled", "id", "name", "aria-label", "value"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { type: i5__namespace.FsLabelComponent, selector: "fs-label" }, { type: i6__namespace.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["init", "blur"] }, { type: i7__namespace.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }], directives: [{ type: i9__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i9__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7__namespace.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4__namespace.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { type: i10__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7__namespace.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: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
85
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EditorComponent, decorators: [{
|
86
|
-
type: i0.Component,
|
87
|
-
args: [{
|
88
|
-
templateUrl: './editor.component.html',
|
89
|
-
styleUrls: ['./editor.component.scss'],
|
90
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
91
|
-
}]
|
92
|
-
}], ctorParameters: function () {
|
93
|
-
return [{ type: undefined, decorators: [{
|
94
|
-
type: i0.Inject,
|
95
|
-
args: [i1.MAT_DIALOG_DATA]
|
96
|
-
}] }, { type: i1__namespace.MatDialogRef }, { type: i2__namespace.FsMessage }];
|
97
|
-
}, propDecorators: { textEditors: [{
|
98
|
-
type: i0.ViewChildren,
|
99
|
-
args: [i6.FsTextEditorComponent]
|
100
|
-
}] } });
|
101
|
-
|
102
|
-
var FsContentEditorModule = /** @class */ (function () {
|
103
|
-
function FsContentEditorModule() {
|
104
|
-
}
|
105
|
-
return FsContentEditorModule;
|
106
|
-
}());
|
107
|
-
FsContentEditorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
108
|
-
FsContentEditorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, declarations: [EditorComponent], imports: [i10.CommonModule,
|
109
|
-
i9.FormsModule,
|
110
|
-
i1.MatDialogModule,
|
111
|
-
button.MatButtonModule,
|
112
|
-
tabs.MatTabsModule,
|
113
|
-
i3$1.MatIconModule,
|
114
|
-
i4.MatButtonToggleModule,
|
115
|
-
i2$1.FsListModule,
|
116
|
-
i7.FsFormModule,
|
117
|
-
i5.FsLabelModule,
|
118
|
-
htmlEditor.FsHtmlEditorModule,
|
119
|
-
i3.FsDialogModule,
|
120
|
-
i6.FsTextEditorModule], exports: [EditorComponent] });
|
121
|
-
FsContentEditorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, imports: [[
|
122
|
-
i10.CommonModule,
|
123
|
-
i9.FormsModule,
|
124
|
-
i1.MatDialogModule,
|
125
|
-
button.MatButtonModule,
|
126
|
-
tabs.MatTabsModule,
|
127
|
-
i3$1.MatIconModule,
|
128
|
-
i4.MatButtonToggleModule,
|
129
|
-
i2$1.FsListModule,
|
130
|
-
i7.FsFormModule,
|
131
|
-
i5.FsLabelModule,
|
132
|
-
htmlEditor.FsHtmlEditorModule,
|
133
|
-
i3.FsDialogModule,
|
134
|
-
i6.FsTextEditorModule,
|
135
|
-
]] });
|
136
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, decorators: [{
|
137
|
-
type: i0.NgModule,
|
138
|
-
args: [{
|
139
|
-
imports: [
|
140
|
-
i10.CommonModule,
|
141
|
-
i9.FormsModule,
|
142
|
-
i1.MatDialogModule,
|
143
|
-
button.MatButtonModule,
|
144
|
-
tabs.MatTabsModule,
|
145
|
-
i3$1.MatIconModule,
|
146
|
-
i4.MatButtonToggleModule,
|
147
|
-
i2$1.FsListModule,
|
148
|
-
i7.FsFormModule,
|
149
|
-
i5.FsLabelModule,
|
150
|
-
htmlEditor.FsHtmlEditorModule,
|
151
|
-
i3.FsDialogModule,
|
152
|
-
i6.FsTextEditorModule,
|
153
|
-
],
|
154
|
-
exports: [
|
155
|
-
EditorComponent,
|
156
|
-
],
|
157
|
-
declarations: [
|
158
|
-
EditorComponent,
|
159
|
-
],
|
160
|
-
}]
|
161
|
-
}] });
|
162
|
-
|
163
47
|
var PageType;
|
164
48
|
(function (PageType) {
|
165
49
|
PageType["StandardPage"] = "standardPage";
|
@@ -198,6 +82,7 @@
|
|
198
82
|
};
|
199
83
|
}
|
200
84
|
ContentPageComponent.prototype.ngOnInit = function () {
|
85
|
+
this._dialogRef.updateSize('600px');
|
201
86
|
this._fetchData();
|
202
87
|
};
|
203
88
|
ContentPageComponent.prototype.ngOnDestroy = function () {
|
@@ -223,7 +108,7 @@
|
|
223
108
|
return ContentPageComponent;
|
224
109
|
}());
|
225
110
|
ContentPageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContentPageComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }, { token: i2__namespace.FsMessage }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
226
|
-
ContentPageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentPageComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate:
|
111
|
+
ContentPageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentPageComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: i7.FsTextEditorComponent, descendants: true }], ngImport: i0__namespace, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentPage\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentPage.id ? 'Page' : 'Create Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <mat-select\n [(ngModel)]=\"contentPage.type\"\n name=\"type\"\n required\n placeholder=\"Type\">\n <mat-option\n *ngFor=\"let item of PageTypes\"\n [value]=\"item.value\">\n {{ item.name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n <mat-form-field>\n <input\n matInput\n [(ngModel)]=\"contentPage.name\"\n name=\"name\"\n required\n placeholder=\"Name\">\n </mat-form-field>\n <mat-form-field>\n <input\n matInput\n [(ngModel)]=\"contentPage.path\"\n name=\"path\"\n placeholder=\"Path\">\n </mat-form-field>\n <mat-form-field>\n <input\n matInput\n [(ngModel)]=\"contentPage.title\"\n name=\"title\"\n placeholder=\"Title\">\n </mat-form-field>\n <mat-form-field *ngIf=\"contentLayouts\">\n <mat-select\n [(ngModel)]=\"contentPage.contentLayoutId\"\n required\n name=\"contentLayoutId\"\n placeholder=\"Layout\">\n <mat-option\n *ngFor=\"let item of contentLayouts\"\n [value]=\"item.id\">\n {{ item.name }}\n </mat-option>\n </mat-select>\n </mat-form-field>\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: [""], components: [{ type: i3__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i5__namespace.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i6__namespace.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i7__namespace.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }], directives: [{ type: i8__namespace.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { type: i9__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i9__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7__namespace.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i9__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i9__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7__namespace.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i10__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11__namespace.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i9__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7__namespace.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: i10__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
227
112
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContentPageComponent, decorators: [{
|
228
113
|
type: i0.Component,
|
229
114
|
args: [{
|
@@ -241,44 +126,218 @@
|
|
241
126
|
}] }, { type: i1__namespace.MatDialogRef }, { type: i2__namespace.FsMessage }, { type: i0__namespace.ChangeDetectorRef }];
|
242
127
|
}, propDecorators: { textEditors: [{
|
243
128
|
type: i0.ViewChildren,
|
244
|
-
args: [
|
129
|
+
args: [i7.FsTextEditorComponent]
|
245
130
|
}] } });
|
246
131
|
|
247
|
-
var
|
248
|
-
function
|
249
|
-
|
132
|
+
var EditorComponent = /** @class */ (function () {
|
133
|
+
function EditorComponent(_data, _dialogRef, _dialog, _message, _cdRef) {
|
134
|
+
var _this = this;
|
135
|
+
this._data = _data;
|
136
|
+
this._dialogRef = _dialogRef;
|
250
137
|
this._dialog = _dialog;
|
251
|
-
this.
|
138
|
+
this._message = _message;
|
139
|
+
this._cdRef = _cdRef;
|
140
|
+
this.resizing = false;
|
141
|
+
this.editors = { content: true, styles: true };
|
252
142
|
this._destroy$ = new rxjs.Subject();
|
143
|
+
this.save = function () {
|
144
|
+
return _this._config.saveContentPage(_this.contentPage)
|
145
|
+
.pipe(operators.tap(function () {
|
146
|
+
_this._message.success('Saved Changes');
|
147
|
+
}));
|
148
|
+
};
|
253
149
|
}
|
254
|
-
|
255
|
-
this.
|
150
|
+
EditorComponent.prototype.ngOnInit = function () {
|
151
|
+
this.contentPage = this._data.contentPage;
|
152
|
+
this._config = this._data.config;
|
153
|
+
this._initSeparator();
|
256
154
|
};
|
257
|
-
|
155
|
+
EditorComponent.prototype.editorToggleChange = function (event) {
|
156
|
+
this.editors[event.value] = !this.editors[event.value];
|
157
|
+
this.updateEditorLayouts();
|
158
|
+
};
|
159
|
+
EditorComponent.prototype.updateEditorLayouts = function () {
|
258
160
|
var _this = this;
|
259
|
-
|
260
|
-
|
261
|
-
|
161
|
+
setTimeout(function () {
|
162
|
+
if (_this.editors.content) {
|
163
|
+
_this.contentEditor.updateLayout();
|
164
|
+
}
|
165
|
+
if (_this.editors.styles) {
|
166
|
+
_this.styleEditor.updateLayout();
|
167
|
+
}
|
168
|
+
});
|
169
|
+
};
|
170
|
+
EditorComponent.prototype.ngOnDestroy = function () {
|
171
|
+
this._destroy$.next();
|
172
|
+
this._destroy$.complete();
|
173
|
+
};
|
174
|
+
EditorComponent.prototype.openSettings = function () {
|
175
|
+
var _this = this;
|
176
|
+
this._dialog.open(ContentPageComponent, {
|
262
177
|
data: {
|
263
|
-
|
264
|
-
content: contentPage.content,
|
265
|
-
save: function (data) {
|
266
|
-
return _this._config.saveContentPage(Object.assign({ id: contentPage.id }, data));
|
267
|
-
},
|
178
|
+
contentPage: this.contentPage,
|
268
179
|
},
|
269
180
|
})
|
270
181
|
.afterClosed()
|
271
182
|
.pipe(operators.takeUntil(this._destroy$))
|
272
|
-
.subscribe(function () {
|
273
|
-
_this.
|
183
|
+
.subscribe(function (contentPage) {
|
184
|
+
_this.contentPage = Object.assign(Object.assign({}, _this.contentPage), contentPage);
|
185
|
+
_this._cdRef.markForCheck();
|
274
186
|
});
|
275
187
|
};
|
276
|
-
|
188
|
+
EditorComponent.prototype._initSeparator = function () {
|
277
189
|
var _this = this;
|
278
|
-
this.
|
190
|
+
rxjs.fromEvent(this.separator.nativeElement, 'mousedown')
|
191
|
+
.pipe(operators.takeUntil(this._destroy$))
|
192
|
+
.subscribe(function (e) {
|
193
|
+
_this._moveSeparator(e);
|
194
|
+
});
|
195
|
+
};
|
196
|
+
EditorComponent.prototype._moveSeparator = function (separatorEvent) {
|
197
|
+
var _this = this;
|
198
|
+
var mouseDown = {
|
199
|
+
clientX: separatorEvent.clientX,
|
200
|
+
clientY: separatorEvent.clientY,
|
201
|
+
offsetLeft: Number(this.separator.nativeElement.offsetLeft),
|
202
|
+
offsetTop: Number(this.separator.nativeElement.offsetTop),
|
203
|
+
firstWidth: Number(this.contentContainer.nativeElement.offsetWidth),
|
204
|
+
secondWidth: Number(this.styleContainer.nativeElement.offsetWidth),
|
205
|
+
};
|
206
|
+
this.resizing = true;
|
207
|
+
this._cdRef.markForCheck();
|
208
|
+
rxjs.fromEvent(document, 'mousemove')
|
209
|
+
.pipe(operators.finalize(function () {
|
210
|
+
mouseDown = null;
|
211
|
+
_this.resizing = false;
|
212
|
+
_this._cdRef.markForCheck();
|
213
|
+
_this.updateEditorLayouts();
|
214
|
+
}), operators.takeUntil(rxjs.fromEvent(this.separator.nativeElement, 'mouseup')
|
215
|
+
.pipe(operators.take(1), operators.takeUntil(this._destroy$))), operators.takeUntil(this._destroy$))
|
216
|
+
.subscribe(function (e) {
|
217
|
+
var delta = { x: e.clientX - mouseDown.clientX,
|
218
|
+
y: e.clientY - mouseDown.clientY };
|
219
|
+
delta.x = Math.min(Math.max(delta.x, -mouseDown.firstWidth), mouseDown.secondWidth);
|
220
|
+
_this.separator.nativeElement.style.left = mouseDown.offsetLeft + delta.x + "px";
|
221
|
+
_this.contentContainer.nativeElement.style.width = mouseDown.firstWidth + delta.x + "px";
|
222
|
+
_this.styleContainer.nativeElement.style.width = mouseDown.secondWidth - delta.x + "px";
|
223
|
+
});
|
224
|
+
};
|
225
|
+
return EditorComponent;
|
226
|
+
}());
|
227
|
+
EditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EditorComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }, { token: i1__namespace.MatDialog }, { token: i2__namespace.FsMessage }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
228
|
+
EditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "styleEditor", first: true, predicate: ["styleEditor"], descendants: true }, { propertyName: "contentEditor", first: true, predicate: ["contentEditor"], descendants: true }, { propertyName: "separator", first: true, predicate: ["separator"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: i0.ElementRef, static: true }, { propertyName: "styleContainer", first: true, predicate: ["styleContainer"], descendants: true, read: i0.ElementRef, static: true }], ngImport: i0__namespace, template: "<form fsForm [submit]=\"save\">\n <fs-dialog>\n <h1 mat-dialog-title>\n <div class=\"title-container\">\n <div class=\"title\">\n Page\n <div class=\"small\">{{contentPage.name}}</div> \n </div>\n <a\n (click)=\"openSettings()\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </a> \n </div>\n </h1>\n <div mat-dialog-content>\n <div class=\"container\">\n <div class=\"editors\" [ngClass]=\"{ resizing: resizing, 'separator-enabled': editors.styles && editors.content }\">\n <div #contentContainer class=\"editor editor-content\" [ngClass]=\"{ 'content-enabled': editors.content }\">\n <fs-label>Content</fs-label>\n <div class=\"editor-container\">\n <fs-text-editor \n #contentEditor\n [(ngModel)]=\"contentPage.content\" \n name=\"content\"\n [config]=\"{ tabSize: 2, language: 'html' }\">\n </fs-text-editor> \n </div>\n </div>\n <div \n #separator\n class=\"separator\">\n </div>\n <div \n #styleContainer \n class=\"editor editor-styles\" \n [ngClass]=\"{ 'styles-enabled': editors.styles }\"\n [style.width]=\"'600px'\">\n <fs-label>Styles</fs-label>\n <div class=\"editor-container\">\n <fs-text-editor \n #styleEditor\n [(ngModel)]=\"contentPage.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 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>\n </fs-dialog>\n</form>\n\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;justify-content:flex-end;justify-self:baseline;flex:1}.container{height:100%;display:flex;flex-direction:column}.editors{width:5000px;max-width:100%;height:100%;display:flex;min-height:0}.editors:not(.separator-enabled) .separator{display:none}.editors:not(.separator-enabled) .editor{width:100%!important}.editors .separator{cursor:col-resize;background-color:#fff;background-image:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='30'><path d='M2 0 v30 M5 0 v30 M8 0 v30' fill='none' stroke='black'/></svg>\");background-repeat:no-repeat;background-position:center;width:40px;height:100%;-webkit-user-select:none;user-select:none;flex-shrink:0}.editors .editor{height:100%;display:flex;min-width:0;width:100%;flex-direction:column}.editors .editor.editor-styles:not(.styles-enabled),.editors .editor.editor-content:not(.content-enabled){display:none}.editors .editor .editor-container{height:100%;overflow:hidden;background:#1E1E1E;border-radius:5px}.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}.title-container{display:flex;align-items:center}.title-container .title{flex:1}\n"], components: [{ type: i3__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4__namespace$1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matButton", "matAnchor"] }, { type: i5__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6__namespace$1.FsLabelComponent, selector: "fs-label" }, { type: i7__namespace$1.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["init", "blur"] }, { type: i7__namespace.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }, { type: i9__namespace$1.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-labelledby", "tabIndex", "appearance", "checked", "disabled", "id", "name", "aria-label", "value"], outputs: ["change"], exportAs: ["matButtonToggle"] }], directives: [{ type: i9__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i9__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7__namespace.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i10__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7__namespace.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: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i9__namespace$1.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
229
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: EditorComponent, decorators: [{
|
230
|
+
type: i0.Component,
|
231
|
+
args: [{
|
232
|
+
templateUrl: './editor.component.html',
|
233
|
+
styleUrls: ['./editor.component.scss'],
|
234
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
235
|
+
}]
|
236
|
+
}], ctorParameters: function () {
|
237
|
+
return [{ type: undefined, decorators: [{
|
238
|
+
type: i0.Inject,
|
239
|
+
args: [i1.MAT_DIALOG_DATA]
|
240
|
+
}] }, { type: i1__namespace.MatDialogRef }, { type: i1__namespace.MatDialog }, { type: i2__namespace.FsMessage }, { type: i0__namespace.ChangeDetectorRef }];
|
241
|
+
}, propDecorators: { styleEditor: [{
|
242
|
+
type: i0.ViewChild,
|
243
|
+
args: ['styleEditor']
|
244
|
+
}], contentEditor: [{
|
245
|
+
type: i0.ViewChild,
|
246
|
+
args: ['contentEditor']
|
247
|
+
}], separator: [{
|
248
|
+
type: i0.ViewChild,
|
249
|
+
args: ['separator', { static: true, read: i0.ElementRef }]
|
250
|
+
}], contentContainer: [{
|
251
|
+
type: i0.ViewChild,
|
252
|
+
args: ['contentContainer', { static: true, read: i0.ElementRef }]
|
253
|
+
}], styleContainer: [{
|
254
|
+
type: i0.ViewChild,
|
255
|
+
args: ['styleContainer', { static: true, read: i0.ElementRef }]
|
256
|
+
}] } });
|
257
|
+
|
258
|
+
var FsContentEditorModule = /** @class */ (function () {
|
259
|
+
function FsContentEditorModule() {
|
260
|
+
}
|
261
|
+
return FsContentEditorModule;
|
262
|
+
}());
|
263
|
+
FsContentEditorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
264
|
+
FsContentEditorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, declarations: [EditorComponent], imports: [i10.CommonModule,
|
265
|
+
i9.FormsModule,
|
266
|
+
i1.MatDialogModule,
|
267
|
+
i4$1.MatButtonModule,
|
268
|
+
tabs.MatTabsModule,
|
269
|
+
i5$1.MatIconModule,
|
270
|
+
i9$1.MatButtonToggleModule,
|
271
|
+
i2$1.FsListModule,
|
272
|
+
i7$1.FsFormModule,
|
273
|
+
i6$1.FsLabelModule,
|
274
|
+
htmlEditor.FsHtmlEditorModule,
|
275
|
+
i3.FsDialogModule,
|
276
|
+
i7.FsTextEditorModule], exports: [EditorComponent] });
|
277
|
+
FsContentEditorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, imports: [[
|
278
|
+
i10.CommonModule,
|
279
|
+
i9.FormsModule,
|
280
|
+
i1.MatDialogModule,
|
281
|
+
i4$1.MatButtonModule,
|
282
|
+
tabs.MatTabsModule,
|
283
|
+
i5$1.MatIconModule,
|
284
|
+
i9$1.MatButtonToggleModule,
|
285
|
+
i2$1.FsListModule,
|
286
|
+
i7$1.FsFormModule,
|
287
|
+
i6$1.FsLabelModule,
|
288
|
+
htmlEditor.FsHtmlEditorModule,
|
289
|
+
i3.FsDialogModule,
|
290
|
+
i7.FsTextEditorModule,
|
291
|
+
]] });
|
292
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentEditorModule, decorators: [{
|
293
|
+
type: i0.NgModule,
|
294
|
+
args: [{
|
295
|
+
imports: [
|
296
|
+
i10.CommonModule,
|
297
|
+
i9.FormsModule,
|
298
|
+
i1.MatDialogModule,
|
299
|
+
i4$1.MatButtonModule,
|
300
|
+
tabs.MatTabsModule,
|
301
|
+
i5$1.MatIconModule,
|
302
|
+
i9$1.MatButtonToggleModule,
|
303
|
+
i2$1.FsListModule,
|
304
|
+
i7$1.FsFormModule,
|
305
|
+
i6$1.FsLabelModule,
|
306
|
+
htmlEditor.FsHtmlEditorModule,
|
307
|
+
i3.FsDialogModule,
|
308
|
+
i7.FsTextEditorModule,
|
309
|
+
],
|
310
|
+
exports: [
|
311
|
+
EditorComponent,
|
312
|
+
],
|
313
|
+
declarations: [
|
314
|
+
EditorComponent,
|
315
|
+
],
|
316
|
+
}]
|
317
|
+
}] });
|
318
|
+
|
319
|
+
var FsContentPagesComponent = /** @class */ (function () {
|
320
|
+
function FsContentPagesComponent(_config, _dialog) {
|
321
|
+
this._config = _config;
|
322
|
+
this._dialog = _dialog;
|
323
|
+
this.pageTypes = common.index(PageTypes, 'value', 'name');
|
324
|
+
this._destroy$ = new rxjs.Subject();
|
325
|
+
}
|
326
|
+
FsContentPagesComponent.prototype.ngOnInit = function () {
|
327
|
+
this._initListConfig();
|
328
|
+
};
|
329
|
+
FsContentPagesComponent.prototype.openEditor = function (contentPage) {
|
330
|
+
var _this = this;
|
331
|
+
this._dialog.open(EditorComponent, {
|
279
332
|
data: {
|
280
333
|
contentPage: contentPage,
|
334
|
+
config: this._config,
|
281
335
|
},
|
336
|
+
maxWidth: '100vw',
|
337
|
+
maxHeight: '100vw',
|
338
|
+
width: '100%',
|
339
|
+
height: '100%',
|
340
|
+
autoFocus: false,
|
282
341
|
})
|
283
342
|
.afterClosed()
|
284
343
|
.pipe(operators.filter(function (_contentPage) { return !!_contentPage; }), operators.takeUntil(this._destroy$))
|
@@ -304,7 +363,17 @@
|
|
304
363
|
{
|
305
364
|
label: 'Create',
|
306
365
|
click: function () {
|
307
|
-
_this.
|
366
|
+
_this._dialog.open(ContentPageComponent, {
|
367
|
+
data: {
|
368
|
+
contentPage: {},
|
369
|
+
},
|
370
|
+
})
|
371
|
+
.afterClosed()
|
372
|
+
.pipe(operators.filter(function (contentPage) { return !!contentPage; }), operators.takeUntil(_this._destroy$))
|
373
|
+
.subscribe(function (contentPage) {
|
374
|
+
_this.openEditor(contentPage);
|
375
|
+
_this.listComponent.reload();
|
376
|
+
});
|
308
377
|
},
|
309
378
|
},
|
310
379
|
],
|
@@ -341,7 +410,7 @@
|
|
341
410
|
return FsContentPagesComponent;
|
342
411
|
}());
|
343
412
|
FsContentPagesComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentPagesComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
344
|
-
FsContentPagesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentPagesComponent, selector: "fs-content-pages", inputs: { htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "listComponent", first: true, predicate: i2$1.FsListComponent, descendants: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"
|
413
|
+
FsContentPagesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentPagesComponent, selector: "fs-content-pages", inputs: { htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "listComponent", first: true, predicate: i2$1.FsListComponent, descendants: true }], ngImport: i0__namespace, 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=\"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__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }], directives: [{ type: i2__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i2__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }], pipes: { "fsDate": i3__namespace$1.FsDatePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
345
414
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentPagesComponent, decorators: [{
|
346
415
|
type: i0.Component,
|
347
416
|
args: [{
|
@@ -378,40 +447,40 @@
|
|
378
447
|
i9.FormsModule,
|
379
448
|
i1.MatDialogModule,
|
380
449
|
i11.MatInputModule,
|
381
|
-
i4
|
382
|
-
|
450
|
+
i4.MatFormFieldModule,
|
451
|
+
i4$1.MatButtonModule,
|
383
452
|
tabs.MatTabsModule,
|
384
|
-
|
385
|
-
i5
|
386
|
-
|
453
|
+
i5$1.MatIconModule,
|
454
|
+
i5.MatSelectModule,
|
455
|
+
i9$1.MatButtonToggleModule,
|
387
456
|
i2$1.FsListModule,
|
388
|
-
|
389
|
-
i7.FsFormModule,
|
390
|
-
|
457
|
+
i3$1.FsDateModule,
|
458
|
+
i7$1.FsFormModule,
|
459
|
+
i6$1.FsLabelModule,
|
391
460
|
i8.FsSkeletonModule,
|
392
461
|
htmlEditor.FsHtmlEditorModule,
|
393
462
|
i3.FsDialogModule,
|
394
|
-
|
463
|
+
i7.FsTextEditorModule,
|
395
464
|
FsContentEditorModule], exports: [FsContentPagesComponent] });
|
396
465
|
FsContentPagesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentPagesModule, imports: [[
|
397
466
|
i10.CommonModule,
|
398
467
|
i9.FormsModule,
|
399
468
|
i1.MatDialogModule,
|
400
469
|
i11.MatInputModule,
|
401
|
-
i4
|
402
|
-
|
470
|
+
i4.MatFormFieldModule,
|
471
|
+
i4$1.MatButtonModule,
|
403
472
|
tabs.MatTabsModule,
|
404
|
-
|
405
|
-
i5
|
406
|
-
|
473
|
+
i5$1.MatIconModule,
|
474
|
+
i5.MatSelectModule,
|
475
|
+
i9$1.MatButtonToggleModule,
|
407
476
|
i2$1.FsListModule,
|
408
|
-
|
409
|
-
i7.FsFormModule,
|
410
|
-
|
477
|
+
i3$1.FsDateModule,
|
478
|
+
i7$1.FsFormModule,
|
479
|
+
i6$1.FsLabelModule,
|
411
480
|
i8.FsSkeletonModule,
|
412
481
|
htmlEditor.FsHtmlEditorModule,
|
413
482
|
i3.FsDialogModule,
|
414
|
-
|
483
|
+
i7.FsTextEditorModule,
|
415
484
|
FsContentEditorModule,
|
416
485
|
]] });
|
417
486
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentPagesModule, decorators: [{
|
@@ -422,20 +491,20 @@
|
|
422
491
|
i9.FormsModule,
|
423
492
|
i1.MatDialogModule,
|
424
493
|
i11.MatInputModule,
|
425
|
-
i4
|
426
|
-
|
494
|
+
i4.MatFormFieldModule,
|
495
|
+
i4$1.MatButtonModule,
|
427
496
|
tabs.MatTabsModule,
|
428
|
-
|
429
|
-
i5
|
430
|
-
|
497
|
+
i5$1.MatIconModule,
|
498
|
+
i5.MatSelectModule,
|
499
|
+
i9$1.MatButtonToggleModule,
|
431
500
|
i2$1.FsListModule,
|
432
|
-
|
433
|
-
i7.FsFormModule,
|
434
|
-
|
501
|
+
i3$1.FsDateModule,
|
502
|
+
i7$1.FsFormModule,
|
503
|
+
i6$1.FsLabelModule,
|
435
504
|
i8.FsSkeletonModule,
|
436
505
|
htmlEditor.FsHtmlEditorModule,
|
437
506
|
i3.FsDialogModule,
|
438
|
-
|
507
|
+
i7.FsTextEditorModule,
|
439
508
|
FsContentEditorModule,
|
440
509
|
],
|
441
510
|
exports: [
|
@@ -488,7 +557,7 @@
|
|
488
557
|
return ContentLayoutComponent;
|
489
558
|
}());
|
490
559
|
ContentLayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContentLayoutComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }, { token: i2__namespace.FsMessage }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
491
|
-
ContentLayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentLayoutComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate:
|
560
|
+
ContentLayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentLayoutComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: i7.FsTextEditorComponent, descendants: true }], ngImport: i0__namespace, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentLayout\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentLayout.id ? 'Layout' : 'Layout Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <input\n matInput\n [(ngModel)]=\"contentLayout.name\"\n name=\"name\"\n required\n placeholder=\"Name\">\n </mat-form-field>\n <mat-form-field>\n <input\n matInput\n [(ngModel)]=\"contentLayout.tag\"\n name=\"tag\"\n placeholder=\"Tag\">\n </mat-form-field>\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: [""], components: [{ type: i3__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i7__namespace.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }], directives: [{ type: i8__namespace.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { type: i9__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i9__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7__namespace.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i11__namespace.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i9__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i9__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i9__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7__namespace.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i7__namespace.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: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
492
561
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContentLayoutComponent, decorators: [{
|
493
562
|
type: i0.Component,
|
494
563
|
args: [{
|
@@ -506,7 +575,7 @@
|
|
506
575
|
}] }, { type: i1__namespace.MatDialogRef }, { type: i2__namespace.FsMessage }, { type: i0__namespace.ChangeDetectorRef }];
|
507
576
|
}, propDecorators: { textEditors: [{
|
508
577
|
type: i0.ViewChildren,
|
509
|
-
args: [
|
578
|
+
args: [i7.FsTextEditorComponent]
|
510
579
|
}] } });
|
511
580
|
|
512
581
|
var FsContentLayoutsComponent = /** @class */ (function () {
|
@@ -606,7 +675,7 @@
|
|
606
675
|
return FsContentLayoutsComponent;
|
607
676
|
}());
|
608
677
|
FsContentLayoutsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentLayoutsComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
609
|
-
FsContentLayoutsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentLayoutsComponent, selector: "fs-content-layouts", viewQueries: [{ propertyName: "listComponent", first: true, predicate: i2$1.FsListComponent, descendants: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"design\" width=\"1%\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openEditor(row)\"><mat-icon>design_services</mat-icon></a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openLayout(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__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type:
|
678
|
+
FsContentLayoutsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentLayoutsComponent, selector: "fs-content-layouts", viewQueries: [{ propertyName: "listComponent", first: true, predicate: i2$1.FsListComponent, descendants: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"design\" width=\"1%\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openEditor(row)\"><mat-icon>design_services</mat-icon></a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openLayout(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__namespace$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { type: i5__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2__namespace$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i2__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }], pipes: { "fsDate": i3__namespace$1.FsDatePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
610
679
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentLayoutsComponent, decorators: [{
|
611
680
|
type: i0.Component,
|
612
681
|
args: [{
|
@@ -636,40 +705,40 @@
|
|
636
705
|
i9.FormsModule,
|
637
706
|
i1.MatDialogModule,
|
638
707
|
i11.MatInputModule,
|
639
|
-
i4
|
640
|
-
|
708
|
+
i4.MatFormFieldModule,
|
709
|
+
i4$1.MatButtonModule,
|
641
710
|
tabs.MatTabsModule,
|
642
|
-
|
643
|
-
i5
|
644
|
-
|
711
|
+
i5$1.MatIconModule,
|
712
|
+
i5.MatSelectModule,
|
713
|
+
i9$1.MatButtonToggleModule,
|
645
714
|
i2$1.FsListModule,
|
646
|
-
|
647
|
-
i7.FsFormModule,
|
648
|
-
|
715
|
+
i3$1.FsDateModule,
|
716
|
+
i7$1.FsFormModule,
|
717
|
+
i6$1.FsLabelModule,
|
649
718
|
i8.FsSkeletonModule,
|
650
719
|
htmlEditor.FsHtmlEditorModule,
|
651
720
|
i3.FsDialogModule,
|
652
|
-
|
721
|
+
i7.FsTextEditorModule,
|
653
722
|
FsContentEditorModule], exports: [FsContentLayoutsComponent] });
|
654
723
|
FsContentLayoutsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentLayoutsModule, imports: [[
|
655
724
|
i10.CommonModule,
|
656
725
|
i9.FormsModule,
|
657
726
|
i1.MatDialogModule,
|
658
727
|
i11.MatInputModule,
|
659
|
-
i4
|
660
|
-
|
728
|
+
i4.MatFormFieldModule,
|
729
|
+
i4$1.MatButtonModule,
|
661
730
|
tabs.MatTabsModule,
|
662
|
-
|
663
|
-
i5
|
664
|
-
|
731
|
+
i5$1.MatIconModule,
|
732
|
+
i5.MatSelectModule,
|
733
|
+
i9$1.MatButtonToggleModule,
|
665
734
|
i2$1.FsListModule,
|
666
|
-
|
667
|
-
i7.FsFormModule,
|
668
|
-
|
735
|
+
i3$1.FsDateModule,
|
736
|
+
i7$1.FsFormModule,
|
737
|
+
i6$1.FsLabelModule,
|
669
738
|
i8.FsSkeletonModule,
|
670
739
|
htmlEditor.FsHtmlEditorModule,
|
671
740
|
i3.FsDialogModule,
|
672
|
-
|
741
|
+
i7.FsTextEditorModule,
|
673
742
|
FsContentEditorModule,
|
674
743
|
]] });
|
675
744
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentLayoutsModule, decorators: [{
|
@@ -680,20 +749,20 @@
|
|
680
749
|
i9.FormsModule,
|
681
750
|
i1.MatDialogModule,
|
682
751
|
i11.MatInputModule,
|
683
|
-
i4
|
684
|
-
|
752
|
+
i4.MatFormFieldModule,
|
753
|
+
i4$1.MatButtonModule,
|
685
754
|
tabs.MatTabsModule,
|
686
|
-
|
687
|
-
i5
|
688
|
-
|
755
|
+
i5$1.MatIconModule,
|
756
|
+
i5.MatSelectModule,
|
757
|
+
i9$1.MatButtonToggleModule,
|
689
758
|
i2$1.FsListModule,
|
690
|
-
|
691
|
-
i7.FsFormModule,
|
692
|
-
|
759
|
+
i3$1.FsDateModule,
|
760
|
+
i7$1.FsFormModule,
|
761
|
+
i6$1.FsLabelModule,
|
693
762
|
i8.FsSkeletonModule,
|
694
763
|
htmlEditor.FsHtmlEditorModule,
|
695
764
|
i3.FsDialogModule,
|
696
|
-
|
765
|
+
i7.FsTextEditorModule,
|
697
766
|
FsContentEditorModule,
|
698
767
|
],
|
699
768
|
exports: [
|