@firestitch/content-widget 12.1.2 → 12.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/app/content-widget/components/content-widget/content-widget.component.d.ts +15 -15
  2. package/app/content-widget/components/content-widget/index.d.ts +1 -1
  3. package/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.d.ts +16 -16
  4. package/app/content-widget/components/content-widget-renderer/index.d.ts +1 -1
  5. package/app/content-widget/fs-content-widget.module.d.ts +12 -12
  6. package/app/content-widget/injectors/content-wiget.injector.d.ts +2 -2
  7. package/app/content-widget/injectors/index.d.ts +1 -1
  8. package/app/content-widget/interfaces/content-widget-config.d.ts +4 -4
  9. package/app/content-widgets/components/content-widget/content-widget.component.d.ts +17 -17
  10. package/app/content-widgets/components/content-widget/index.d.ts +1 -1
  11. package/app/content-widgets/components/content-widgets/content-widgets.component.d.ts +24 -24
  12. package/app/content-widgets/components/content-widgets/index.d.ts +1 -1
  13. package/app/content-widgets/fs-content-widgets.module.d.ts +23 -23
  14. package/bundles/firestitch-content-widget.umd.js +285 -282
  15. package/bundles/firestitch-content-widget.umd.js.map +1 -1
  16. package/esm2015/app/content-widget/components/content-widget/content-widget.component.js +41 -41
  17. package/esm2015/app/content-widget/components/content-widget/index.js +1 -1
  18. package/esm2015/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.js +51 -51
  19. package/esm2015/app/content-widget/components/content-widget-renderer/index.js +1 -1
  20. package/esm2015/app/content-widget/fs-content-widget.module.js +41 -38
  21. package/esm2015/app/content-widget/injectors/content-wiget.injector.js +2 -2
  22. package/esm2015/app/content-widget/injectors/index.js +1 -1
  23. package/esm2015/app/content-widget/interfaces/content-widget-config.js +1 -1
  24. package/esm2015/app/content-widgets/components/content-widget/content-widget.component.js +47 -47
  25. package/esm2015/app/content-widgets/components/content-widget/index.js +1 -1
  26. package/esm2015/app/content-widgets/components/content-widgets/content-widgets.component.js +71 -71
  27. package/esm2015/app/content-widgets/components/content-widgets/index.js +1 -1
  28. package/esm2015/app/content-widgets/fs-content-widgets.module.js +81 -81
  29. package/esm2015/firestitch-content-widget.js +4 -4
  30. package/esm2015/public_api.js +5 -5
  31. package/fesm2015/firestitch-content-widget.js +263 -260
  32. package/fesm2015/firestitch-content-widget.js.map +1 -1
  33. package/firestitch-content-widget.d.ts +5 -5
  34. package/package.json +1 -2
  35. package/public_api.d.ts +6 -6
@@ -39,302 +39,305 @@
39
39
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
40
40
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
41
41
 
42
- var FsContentWidgetComponent$1 = /** @class */ (function () {
43
- function FsContentWidgetComponent(_message, _data) {
44
- var _this = this;
45
- this._message = _message;
46
- this._data = _data;
47
- this.save = function () {
48
- return _this._saveContentWidget(_this.contentWidget)
49
- .pipe(operators.tap(function (contentWidget) {
50
- _this.contentWidget = Object.assign(Object.assign({}, _this.contentWidget), contentWidget);
51
- _this._message.success('Saved Changes');
52
- }));
53
- };
54
- }
55
- FsContentWidgetComponent.prototype.ngOnInit = function () {
56
- this._saveContentWidget = this._data.saveContentWidget;
57
- this.htmlEditorConfig = this._data.htmlEditorConfig || {};
58
- this.contentWidget = Object.assign({}, this._data.contentWidget);
59
- };
60
- return FsContentWidgetComponent;
61
- }());
62
- FsContentWidgetComponent$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent$1, deps: [{ token: i1__namespace.FsMessage }, { token: i10.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
63
- FsContentWidgetComponent$1.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetComponent$1, selector: "ng-component", ngImport: i0__namespace, template: "\n<form fsForm [submit]=\"save\">\n <fs-dialog>\n <div mat-dialog-title>\n Content Widget\n <div class=\"subtitle\">{{contentWidget.name}}</div>\n </div>\n <mat-dialog-content>\n\n <mat-tab-group>\n <mat-tab label=\"HTML\">\n <ng-template matTabContent>\n <fs-text-editor \n [(ngModel)]=\"contentWidget.content\" \n [config]=\"{ language: 'html', tabSize: 2 }\"\n name=\"html\">\n </fs-text-editor>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Rich Text\">\n <ng-template matTabContent>\n <fs-html-editor\n [(ngModel)]=\"contentWidget.content\"\n [config]=\"htmlEditorConfig\"\n name=\"content\">\n </fs-html-editor>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Styles\">\n <ng-template matTabContent>\n <fs-text-editor \n [(ngModel)]=\"contentWidget.styles\" \n [config]=\"{ language: 'scss', tabSize: 2 }\"\n name=\"styles\">\n </fs-text-editor>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Settings\">\n <mat-form-field>\n <input \n matInput \n placeholder=\"Name\" \n [(ngModel)]=\"contentWidget.name\" \n name=\"name\" \n [required]=\"true\">\n </mat-form-field>\n </mat-tab>\n </mat-tab-group>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button \n mat-button \n color=\"primary\">\n Save\n </button>\n <button \n mat-button \n [mat-dialog-close]=\"null\" \n type=\"button\">\n Cancel\n </button>\n </mat-dialog-actions>\n </fs-dialog>\n</form>\n", styles: ["mat-form-field{width:100%}fs-html-editor{min-height:400px;display:block;overflow:hidden}.subtitle{font-size:60%;line-height:normal}\n"], components: [{ type: i2__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i3__namespace.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i3__namespace.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby"], exportAs: ["matTab"] }, { type: i4__namespace.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["init", "blur"] }, { type: i5__namespace.FsHtmlEditorComponent, selector: "fs-html-editor", inputs: ["config"] }, { type: i6__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i7__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i8__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9__namespace.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: i10__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i10__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3__namespace.MatTabContent, selector: "[matTabContent]" }, { type: i8__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: i8__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.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i8__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i10__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i10__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
64
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent$1, decorators: [{
65
- type: i0.Component,
66
- args: [{
67
- templateUrl: './content-widget.component.html',
68
- styleUrls: ['./content-widget.component.scss'],
69
- }]
70
- }], ctorParameters: function () {
71
- return [{ type: i1__namespace.FsMessage }, { type: undefined, decorators: [{
72
- type: i0.Inject,
73
- args: [i10.MAT_DIALOG_DATA]
74
- }] }];
42
+ var FsContentWidgetComponent$1 = /** @class */ (function () {
43
+ function FsContentWidgetComponent(_message, _data) {
44
+ var _this = this;
45
+ this._message = _message;
46
+ this._data = _data;
47
+ this.save = function () {
48
+ return _this._saveContentWidget(_this.contentWidget)
49
+ .pipe(operators.tap(function (contentWidget) {
50
+ _this.contentWidget = Object.assign(Object.assign({}, _this.contentWidget), contentWidget);
51
+ _this._message.success('Saved Changes');
52
+ }));
53
+ };
54
+ }
55
+ FsContentWidgetComponent.prototype.ngOnInit = function () {
56
+ this._saveContentWidget = this._data.saveContentWidget;
57
+ this.htmlEditorConfig = this._data.htmlEditorConfig || {};
58
+ this.contentWidget = Object.assign({}, this._data.contentWidget);
59
+ };
60
+ return FsContentWidgetComponent;
61
+ }());
62
+ FsContentWidgetComponent$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent$1, deps: [{ token: i1__namespace.FsMessage }, { token: i10.MAT_DIALOG_DATA }], target: i0__namespace.ɵɵFactoryTarget.Component });
63
+ FsContentWidgetComponent$1.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetComponent$1, selector: "ng-component", ngImport: i0__namespace, template: "\n<form fsForm [submit]=\"save\">\n <fs-dialog>\n <div mat-dialog-title>\n Content Widget\n <div class=\"subtitle\">{{contentWidget.name}}</div>\n </div>\n <mat-dialog-content>\n\n <mat-tab-group>\n <mat-tab label=\"HTML\">\n <ng-template matTabContent>\n <fs-text-editor\n [(ngModel)]=\"contentWidget.content\"\n [config]=\"{ language: 'html', tabSize: 2 }\"\n name=\"html\">\n </fs-text-editor>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Rich Text\">\n <ng-template matTabContent>\n <fs-html-editor\n [(ngModel)]=\"contentWidget.content\"\n [config]=\"htmlEditorConfig\"\n name=\"content\">\n </fs-html-editor>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Styles\">\n <ng-template matTabContent>\n <fs-text-editor\n [(ngModel)]=\"contentWidget.styles\"\n [config]=\"{ language: 'scss', tabSize: 2 }\"\n name=\"styles\">\n </fs-text-editor>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"Settings\">\n <mat-form-field>\n <input\n matInput\n placeholder=\"Name\"\n [(ngModel)]=\"contentWidget.name\"\n name=\"name\"\n [required]=\"true\">\n </mat-form-field>\n </mat-tab>\n </mat-tab-group>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n mat-button\n color=\"primary\">\n Save\n </button>\n <button\n mat-button\n [mat-dialog-close]=\"null\"\n type=\"button\">\n Cancel\n </button>\n </mat-dialog-actions>\n </fs-dialog>\n</form>\n", styles: ["mat-form-field{width:100%}fs-html-editor{min-height:400px;display:block;overflow:hidden}.subtitle{font-size:60%;line-height:normal}\n"], components: [{ type: i2__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i3__namespace.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i3__namespace.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby"], exportAs: ["matTab"] }, { type: i4__namespace.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["init", "blur"] }, { type: i5__namespace.FsHtmlEditorComponent, selector: "fs-html-editor", inputs: ["config"] }, { type: i6__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i7__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i8__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9__namespace.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: i10__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i10__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3__namespace.MatTabContent, selector: "[matTabContent]" }, { type: i8__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: i8__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.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i8__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i10__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i10__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
64
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent$1, decorators: [{
65
+ type: i0.Component,
66
+ args: [{
67
+ templateUrl: './content-widget.component.html',
68
+ styleUrls: ['./content-widget.component.scss'],
69
+ }]
70
+ }], ctorParameters: function () {
71
+ return [{ type: i1__namespace.FsMessage }, { type: undefined, decorators: [{
72
+ type: i0.Inject,
73
+ args: [i10.MAT_DIALOG_DATA]
74
+ }] }];
75
75
  } });
76
76
 
77
- var FsContentWidgetsComponent = /** @class */ (function () {
78
- function FsContentWidgetsComponent(_dialog) {
79
- this._dialog = _dialog;
80
- this._destroy$ = new rxjs.Subject();
81
- }
82
- FsContentWidgetsComponent.prototype.ngOnInit = function () {
83
- var _this = this;
84
- this.config = {
85
- paging: false,
86
- filters: [
87
- {
88
- name: 'keyword',
89
- type: filter.ItemType.Keyword,
90
- label: 'Search',
91
- },
92
- ],
93
- fetch: function (query) {
94
- return _this.fetchContentWidgets(query.keyword)
95
- .pipe(operators.map(function (data) { return ({ data: data.contentWidgets }); }));
96
- },
97
- };
98
- };
99
- FsContentWidgetsComponent.prototype.ngOnDestroy = function () {
100
- this._destroy$.next();
101
- this._destroy$.complete();
102
- };
103
- FsContentWidgetsComponent.prototype.open = function (contentWidget) {
104
- var _this = this;
105
- var dialogRef = this._dialog.open(FsContentWidgetComponent$1, {
106
- width: '90%',
107
- data: {
108
- contentWidget: contentWidget,
109
- htmlEditorConfig: this.htmlEditorConfig,
110
- saveContentWidget: this.saveContentWidget,
111
- },
112
- });
113
- dialogRef.afterClosed()
114
- .pipe(operators.takeUntil(this._destroy$))
115
- .subscribe(function () {
116
- _this.list.reload();
117
- });
118
- };
119
- return FsContentWidgetsComponent;
120
- }());
121
- FsContentWidgetsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsComponent, deps: [{ token: i10__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
122
- FsContentWidgetsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetsComponent, selector: "fs-content-widgets", inputs: { fetchContentWidgets: "fetchContentWidgets", saveContentWidget: "saveContentWidget", htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "list", first: true, predicate: i2$1.FsListComponent, descendants: true, static: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\n <fs-list-column class=\"name\">\n <ng-template fs-list-header>Name</ng-template>\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"open(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column>\n <ng-template fs-list-header>Preview</ng-template>\n <ng-template fs-list-cell let-row=\"row\">\n <div class=\"preview-container\">\n <div class=\"preview-content\">\n <div [innerHTML]=\"row.content\"></div>\n </div>\n </div>\n </ng-template>\n </fs-list-column>\n <fs-list-column class=\"modified\">\n <ng-template fs-list-header>Modified</ng-template>\n <ng-template fs-list-cell let-row=\"row\">\n <fs-date-ago [date]=\"row.modifiedDate\"></fs-date-ago>\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"] }, { type: i3__namespace$1.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], 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.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i2__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }] });
123
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsComponent, decorators: [{
124
- type: i0.Component,
125
- args: [{
126
- selector: 'fs-content-widgets',
127
- templateUrl: './content-widgets.component.html',
128
- styleUrls: ['./content-widgets.component.scss'],
129
- }]
130
- }], ctorParameters: function () { return [{ type: i10__namespace.MatDialog }]; }, propDecorators: { fetchContentWidgets: [{
131
- type: i0.Input
132
- }], saveContentWidget: [{
133
- type: i0.Input
134
- }], htmlEditorConfig: [{
135
- type: i0.Input
136
- }], list: [{
137
- type: i0.ViewChild,
138
- args: [i2$1.FsListComponent, { static: true }]
77
+ var FsContentWidgetsComponent = /** @class */ (function () {
78
+ function FsContentWidgetsComponent(_dialog) {
79
+ this._dialog = _dialog;
80
+ this._destroy$ = new rxjs.Subject();
81
+ }
82
+ FsContentWidgetsComponent.prototype.ngOnInit = function () {
83
+ var _this = this;
84
+ this.config = {
85
+ paging: false,
86
+ filters: [
87
+ {
88
+ name: 'keyword',
89
+ type: filter.ItemType.Keyword,
90
+ label: 'Search',
91
+ },
92
+ ],
93
+ fetch: function (query) {
94
+ return _this.fetchContentWidgets(query.keyword)
95
+ .pipe(operators.map(function (data) { return ({ data: data.contentWidgets }); }));
96
+ },
97
+ };
98
+ };
99
+ FsContentWidgetsComponent.prototype.ngOnDestroy = function () {
100
+ this._destroy$.next();
101
+ this._destroy$.complete();
102
+ };
103
+ FsContentWidgetsComponent.prototype.open = function (contentWidget) {
104
+ var _this = this;
105
+ var dialogRef = this._dialog.open(FsContentWidgetComponent$1, {
106
+ width: '90%',
107
+ data: {
108
+ contentWidget: contentWidget,
109
+ htmlEditorConfig: this.htmlEditorConfig,
110
+ saveContentWidget: this.saveContentWidget,
111
+ },
112
+ });
113
+ dialogRef.afterClosed()
114
+ .pipe(operators.takeUntil(this._destroy$))
115
+ .subscribe(function () {
116
+ _this.list.reload();
117
+ });
118
+ };
119
+ return FsContentWidgetsComponent;
120
+ }());
121
+ FsContentWidgetsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsComponent, deps: [{ token: i10__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
122
+ FsContentWidgetsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetsComponent, selector: "fs-content-widgets", inputs: { fetchContentWidgets: "fetchContentWidgets", saveContentWidget: "saveContentWidget", htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "list", first: true, predicate: i2$1.FsListComponent, descendants: true, static: true }], ngImport: i0__namespace, template: "<fs-list [config]=\"config\">\n <fs-list-column class=\"name\">\n <ng-template fs-list-header>Name</ng-template>\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"open(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column>\n <ng-template fs-list-header>Preview</ng-template>\n <ng-template fs-list-cell let-row=\"row\">\n <div class=\"preview-container\">\n <div class=\"preview-content\">\n <div [innerHTML]=\"row.content\"></div>\n </div>\n </div>\n </ng-template>\n </fs-list-column>\n <fs-list-column class=\"modified\">\n <ng-template fs-list-header>Modified</ng-template>\n <ng-template fs-list-cell let-row=\"row\">\n <fs-date-ago [date]=\"row.modifiedDate\"></fs-date-ago>\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"] }, { type: i3__namespace$1.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }], 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.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { type: i2__namespace$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }] });
123
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsComponent, decorators: [{
124
+ type: i0.Component,
125
+ args: [{
126
+ selector: 'fs-content-widgets',
127
+ templateUrl: './content-widgets.component.html',
128
+ styleUrls: ['./content-widgets.component.scss'],
129
+ }]
130
+ }], ctorParameters: function () { return [{ type: i10__namespace.MatDialog }]; }, propDecorators: { fetchContentWidgets: [{
131
+ type: i0.Input
132
+ }], saveContentWidget: [{
133
+ type: i0.Input
134
+ }], htmlEditorConfig: [{
135
+ type: i0.Input
136
+ }], list: [{
137
+ type: i0.ViewChild,
138
+ args: [i2$1.FsListComponent, { static: true }]
139
139
  }] } });
140
140
 
141
- var FsContentWidgetsModule = /** @class */ (function () {
142
- function FsContentWidgetsModule() {
143
- }
144
- FsContentWidgetsModule.forRoot = function () {
145
- return {
146
- ngModule: FsContentWidgetsModule,
147
- };
148
- };
149
- return FsContentWidgetsModule;
150
- }());
151
- FsContentWidgetsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
152
- FsContentWidgetsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, declarations: [FsContentWidgetsComponent,
153
- FsContentWidgetComponent$1], imports: [i3$2.CommonModule,
154
- i8.FormsModule,
155
- i10.MatDialogModule,
156
- i11.MatInputModule,
157
- i6.MatFormFieldModule,
158
- i7.MatButtonModule,
159
- i3.MatTabsModule,
160
- i2$1.FsListModule,
161
- i3$1.FsDateModule,
162
- i9.FsFormModule,
163
- i5.FsHtmlEditorModule,
164
- i2.FsDialogModule,
165
- i4.FsTextEditorModule], exports: [FsContentWidgetsComponent] });
166
- FsContentWidgetsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, imports: [[
167
- i3$2.CommonModule,
168
- i8.FormsModule,
169
- i10.MatDialogModule,
170
- i11.MatInputModule,
171
- i6.MatFormFieldModule,
172
- i7.MatButtonModule,
173
- i3.MatTabsModule,
174
- i2$1.FsListModule,
175
- i3$1.FsDateModule,
176
- i9.FsFormModule,
177
- i5.FsHtmlEditorModule,
178
- i2.FsDialogModule,
179
- i4.FsTextEditorModule,
180
- ]] });
181
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, decorators: [{
182
- type: i0.NgModule,
183
- args: [{
184
- imports: [
185
- i3$2.CommonModule,
186
- i8.FormsModule,
187
- i10.MatDialogModule,
188
- i11.MatInputModule,
189
- i6.MatFormFieldModule,
190
- i7.MatButtonModule,
191
- i3.MatTabsModule,
192
- i2$1.FsListModule,
193
- i3$1.FsDateModule,
194
- i9.FsFormModule,
195
- i5.FsHtmlEditorModule,
196
- i2.FsDialogModule,
197
- i4.FsTextEditorModule,
198
- ],
199
- exports: [
200
- FsContentWidgetsComponent,
201
- ],
202
- declarations: [
203
- FsContentWidgetsComponent,
204
- FsContentWidgetComponent$1,
205
- ],
206
- }]
141
+ var FsContentWidgetsModule = /** @class */ (function () {
142
+ function FsContentWidgetsModule() {
143
+ }
144
+ FsContentWidgetsModule.forRoot = function () {
145
+ return {
146
+ ngModule: FsContentWidgetsModule,
147
+ };
148
+ };
149
+ return FsContentWidgetsModule;
150
+ }());
151
+ FsContentWidgetsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
152
+ FsContentWidgetsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, declarations: [FsContentWidgetsComponent,
153
+ FsContentWidgetComponent$1], imports: [i3$2.CommonModule,
154
+ i8.FormsModule,
155
+ i10.MatDialogModule,
156
+ i11.MatInputModule,
157
+ i6.MatFormFieldModule,
158
+ i7.MatButtonModule,
159
+ i3.MatTabsModule,
160
+ i2$1.FsListModule,
161
+ i3$1.FsDateModule,
162
+ i9.FsFormModule,
163
+ i5.FsHtmlEditorModule,
164
+ i2.FsDialogModule,
165
+ i4.FsTextEditorModule], exports: [FsContentWidgetsComponent] });
166
+ FsContentWidgetsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, imports: [[
167
+ i3$2.CommonModule,
168
+ i8.FormsModule,
169
+ i10.MatDialogModule,
170
+ i11.MatInputModule,
171
+ i6.MatFormFieldModule,
172
+ i7.MatButtonModule,
173
+ i3.MatTabsModule,
174
+ i2$1.FsListModule,
175
+ i3$1.FsDateModule,
176
+ i9.FsFormModule,
177
+ i5.FsHtmlEditorModule,
178
+ i2.FsDialogModule,
179
+ i4.FsTextEditorModule,
180
+ ]] });
181
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetsModule, decorators: [{
182
+ type: i0.NgModule,
183
+ args: [{
184
+ imports: [
185
+ i3$2.CommonModule,
186
+ i8.FormsModule,
187
+ i10.MatDialogModule,
188
+ i11.MatInputModule,
189
+ i6.MatFormFieldModule,
190
+ i7.MatButtonModule,
191
+ i3.MatTabsModule,
192
+ i2$1.FsListModule,
193
+ i3$1.FsDateModule,
194
+ i9.FsFormModule,
195
+ i5.FsHtmlEditorModule,
196
+ i2.FsDialogModule,
197
+ i4.FsTextEditorModule,
198
+ ],
199
+ exports: [
200
+ FsContentWidgetsComponent,
201
+ ],
202
+ declarations: [
203
+ FsContentWidgetsComponent,
204
+ FsContentWidgetComponent$1,
205
+ ],
206
+ }]
207
207
  }] });
208
208
 
209
209
  var FS_CONTENT_WIDGET_CONFIG = new i0.InjectionToken('fs-content-widget-config');
210
210
 
211
- var FsContentWidgetRendererComponent = /** @class */ (function () {
212
- function FsContentWidgetRendererComponent(_router, _el) {
213
- this._router = _router;
214
- this._el = _el;
215
- this.destroy$ = new rxjs.Subject();
216
- }
217
- FsContentWidgetRendererComponent.prototype.ngAfterViewChecked = function () {
218
- this.registerHrefs();
219
- };
220
- Object.defineProperty(FsContentWidgetRendererComponent.prototype, "el", {
221
- get: function () {
222
- return this._el.nativeElement;
223
- },
224
- enumerable: false,
225
- configurable: true
226
- });
227
- FsContentWidgetRendererComponent.prototype.registerHrefs = function () {
228
- var _this = this;
229
- Array.from(this.el.querySelectorAll('a[href]'))
230
- .filter(function (el) {
231
- return el.getAttribute('href').match(/^\//);
232
- })
233
- .forEach(function (el) {
234
- el.addEventListener('click', function (event) {
235
- if (!event.shiftKey && !event.ctrlKey) {
236
- event.preventDefault();
237
- var href = el.getAttribute('href');
238
- _this._router.navigateByUrl(href);
239
- }
240
- });
241
- });
242
- };
243
- FsContentWidgetRendererComponent.prototype.ngOnDestroy = function () {
244
- this.destroy$.next();
245
- this.destroy$.complete();
246
- };
247
- return FsContentWidgetRendererComponent;
248
- }());
249
- FsContentWidgetRendererComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetRendererComponent, deps: [{ token: i1__namespace$1.Router }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
250
- FsContentWidgetRendererComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: { content: "content" }, ngImport: i0__namespace, template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], components: [{ type: i5__namespace.FsHtmlRendererComponent, selector: "fs-html-renderer", inputs: ["html"] }], directives: [{ type: i3__namespace$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
251
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetRendererComponent, decorators: [{
252
- type: i0.Component,
253
- args: [{
254
- selector: 'fs-content-widget-renderer',
255
- templateUrl: './content-widget-renderer.component.html',
256
- styleUrls: ['./content-widget-renderer.component.scss'],
257
- }]
258
- }], ctorParameters: function () { return [{ type: i1__namespace$1.Router }, { type: i0__namespace.ElementRef }]; }, propDecorators: { content: [{
259
- type: i0.Input
211
+ var FsContentWidgetRendererComponent = /** @class */ (function () {
212
+ function FsContentWidgetRendererComponent(_router, _el) {
213
+ this._router = _router;
214
+ this._el = _el;
215
+ this.destroy$ = new rxjs.Subject();
216
+ }
217
+ FsContentWidgetRendererComponent.prototype.ngAfterViewChecked = function () {
218
+ this.registerHrefs();
219
+ };
220
+ Object.defineProperty(FsContentWidgetRendererComponent.prototype, "el", {
221
+ get: function () {
222
+ return this._el.nativeElement;
223
+ },
224
+ enumerable: false,
225
+ configurable: true
226
+ });
227
+ FsContentWidgetRendererComponent.prototype.registerHrefs = function () {
228
+ var _this = this;
229
+ Array.from(this.el.querySelectorAll('a[href]'))
230
+ .filter(function (el) {
231
+ return el.getAttribute('href').match(/^\//);
232
+ })
233
+ .forEach(function (el) {
234
+ el.addEventListener('click', function (event) {
235
+ if (!event.shiftKey && !event.ctrlKey) {
236
+ event.preventDefault();
237
+ var href = el.getAttribute('href');
238
+ _this._router.navigateByUrl(href);
239
+ }
240
+ });
241
+ });
242
+ };
243
+ FsContentWidgetRendererComponent.prototype.ngOnDestroy = function () {
244
+ this.destroy$.next();
245
+ this.destroy$.complete();
246
+ };
247
+ return FsContentWidgetRendererComponent;
248
+ }());
249
+ FsContentWidgetRendererComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetRendererComponent, deps: [{ token: i1__namespace$1.Router }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
250
+ FsContentWidgetRendererComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: { content: "content" }, ngImport: i0__namespace, template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], components: [{ type: i5__namespace.FsHtmlRendererComponent, selector: "fs-html-renderer", inputs: ["html"] }], directives: [{ type: i3__namespace$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
251
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetRendererComponent, decorators: [{
252
+ type: i0.Component,
253
+ args: [{
254
+ selector: 'fs-content-widget-renderer',
255
+ templateUrl: './content-widget-renderer.component.html',
256
+ styleUrls: ['./content-widget-renderer.component.scss'],
257
+ }]
258
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.Router }, { type: i0__namespace.ElementRef }]; }, propDecorators: { content: [{
259
+ type: i0.Input
260
260
  }] } });
261
261
 
262
- var FsContentWidgetComponent = /** @class */ (function () {
263
- function FsContentWidgetComponent(config, _cdRef) {
264
- this.config = config;
265
- this._cdRef = _cdRef;
266
- this.destroy$ = new rxjs.Subject();
267
- }
268
- FsContentWidgetComponent.prototype.ngOnInit = function () {
269
- var _this = this;
270
- this.config.fetchContentWidget(this.tag)
271
- .pipe(operators.takeUntil(this.destroy$))
272
- .subscribe(function (content) {
273
- _this.content = content;
274
- _this._cdRef.markForCheck();
275
- });
276
- };
277
- FsContentWidgetComponent.prototype.ngOnDestroy = function () {
278
- this.destroy$.next();
279
- this.destroy$.complete();
280
- };
281
- return FsContentWidgetComponent;
282
- }());
283
- FsContentWidgetComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent, deps: [{ token: FS_CONTENT_WIDGET_CONFIG }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
284
- FsContentWidgetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetComponent, selector: "fs-content-widget", inputs: { tag: "tag" }, ngImport: i0__namespace, template: "<fs-content-widget-renderer *ngIf=\"content\" [content]=\"content\"></fs-content-widget-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], components: [{ type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }], directives: [{ type: i3__namespace$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
285
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent, decorators: [{
286
- type: i0.Component,
287
- args: [{
288
- selector: 'fs-content-widget',
289
- templateUrl: './content-widget.component.html',
290
- styleUrls: ['./content-widget.component.scss'],
291
- }]
292
- }], ctorParameters: function () {
293
- return [{ type: undefined, decorators: [{
294
- type: i0.Inject,
295
- args: [FS_CONTENT_WIDGET_CONFIG]
296
- }] }, { type: i0__namespace.ChangeDetectorRef }];
297
- }, propDecorators: { tag: [{
298
- type: i0.Input
262
+ var FsContentWidgetComponent = /** @class */ (function () {
263
+ function FsContentWidgetComponent(config, _cdRef) {
264
+ this.config = config;
265
+ this._cdRef = _cdRef;
266
+ this.destroy$ = new rxjs.Subject();
267
+ }
268
+ FsContentWidgetComponent.prototype.ngOnInit = function () {
269
+ var _this = this;
270
+ this.config.fetchContentWidget(this.tag)
271
+ .pipe(operators.takeUntil(this.destroy$))
272
+ .subscribe(function (content) {
273
+ _this.content = content;
274
+ _this._cdRef.markForCheck();
275
+ });
276
+ };
277
+ FsContentWidgetComponent.prototype.ngOnDestroy = function () {
278
+ this.destroy$.next();
279
+ this.destroy$.complete();
280
+ };
281
+ return FsContentWidgetComponent;
282
+ }());
283
+ FsContentWidgetComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent, deps: [{ token: FS_CONTENT_WIDGET_CONFIG }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
284
+ FsContentWidgetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentWidgetComponent, selector: "fs-content-widget", inputs: { tag: "tag" }, ngImport: i0__namespace, template: "<fs-content-widget-renderer *ngIf=\"content\" [content]=\"content\"></fs-content-widget-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], components: [{ type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }], directives: [{ type: i3__namespace$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
285
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetComponent, decorators: [{
286
+ type: i0.Component,
287
+ args: [{
288
+ selector: 'fs-content-widget',
289
+ templateUrl: './content-widget.component.html',
290
+ styleUrls: ['./content-widget.component.scss'],
291
+ }]
292
+ }], ctorParameters: function () {
293
+ return [{ type: undefined, decorators: [{
294
+ type: i0.Inject,
295
+ args: [FS_CONTENT_WIDGET_CONFIG]
296
+ }] }, { type: i0__namespace.ChangeDetectorRef }];
297
+ }, propDecorators: { tag: [{
298
+ type: i0.Input
299
299
  }] } });
300
300
 
301
- var FsContentWidgetModule = /** @class */ (function () {
302
- function FsContentWidgetModule() {
303
- }
304
- FsContentWidgetModule.forRoot = function () {
305
- return {
306
- ngModule: FsContentWidgetModule,
307
- };
308
- };
309
- return FsContentWidgetModule;
310
- }());
311
- FsContentWidgetModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
312
- FsContentWidgetModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, declarations: [FsContentWidgetRendererComponent,
313
- FsContentWidgetComponent], imports: [i3$2.CommonModule,
314
- i5.FsHtmlEditorModule], exports: [FsContentWidgetComponent] });
315
- FsContentWidgetModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, imports: [[
316
- i3$2.CommonModule,
317
- i5.FsHtmlEditorModule,
318
- ]] });
319
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, decorators: [{
320
- type: i0.NgModule,
321
- args: [{
322
- imports: [
323
- i3$2.CommonModule,
324
- i5.FsHtmlEditorModule,
325
- ],
326
- exports: [
327
- FsContentWidgetComponent,
328
- ],
329
- declarations: [
330
- FsContentWidgetRendererComponent,
331
- FsContentWidgetComponent,
332
- ],
333
- }]
301
+ var FsContentWidgetModule = /** @class */ (function () {
302
+ function FsContentWidgetModule() {
303
+ }
304
+ FsContentWidgetModule.forRoot = function () {
305
+ return {
306
+ ngModule: FsContentWidgetModule,
307
+ };
308
+ };
309
+ return FsContentWidgetModule;
310
+ }());
311
+ FsContentWidgetModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
312
+ FsContentWidgetModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, declarations: [FsContentWidgetRendererComponent,
313
+ FsContentWidgetComponent], imports: [i3$2.CommonModule,
314
+ i5.FsHtmlEditorModule,
315
+ i5.FsHtmlRendererModule], exports: [FsContentWidgetComponent] });
316
+ FsContentWidgetModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, imports: [[
317
+ i3$2.CommonModule,
318
+ i5.FsHtmlEditorModule,
319
+ i5.FsHtmlRendererModule,
320
+ ]] });
321
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsContentWidgetModule, decorators: [{
322
+ type: i0.NgModule,
323
+ args: [{
324
+ imports: [
325
+ i3$2.CommonModule,
326
+ i5.FsHtmlEditorModule,
327
+ i5.FsHtmlRendererModule,
328
+ ],
329
+ exports: [
330
+ FsContentWidgetComponent,
331
+ ],
332
+ declarations: [
333
+ FsContentWidgetRendererComponent,
334
+ FsContentWidgetComponent,
335
+ ],
336
+ }]
334
337
  }] });
335
338
 
336
- /**
337
- * Generated bundle index. Do not edit.
339
+ /**
340
+ * Generated bundle index. Do not edit.
338
341
  */
339
342
 
340
343
  exports.FS_CONTENT_WIDGET_CONFIG = FS_CONTENT_WIDGET_CONFIG;