@firestitch/content-widget 14.0.0 → 15.0.0

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 (49) hide show
  1. package/app/content-widget/components/content-widget/content-widget.component.d.ts +16 -16
  2. package/app/content-widget/components/content-widget/index.d.ts +1 -1
  3. package/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.d.ts +9 -9
  4. package/app/content-widget/components/content-widget-dialog/index.d.ts +1 -1
  5. package/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.d.ts +16 -16
  6. package/app/content-widget/components/content-widget-renderer/index.d.ts +1 -1
  7. package/app/content-widget/components/index.d.ts +1 -1
  8. package/app/content-widget/directives/content-widget-content.directive.d.ts +5 -5
  9. package/app/content-widget/directives/index.d.ts +1 -1
  10. package/app/content-widget/fs-content-widget.module.d.ts +17 -17
  11. package/app/content-widget/injectors/content-wiget.injector.d.ts +2 -2
  12. package/app/content-widget/injectors/index.d.ts +1 -1
  13. package/app/content-widget/interfaces/content-widget-config.d.ts +4 -4
  14. package/app/content-widget/services/content-widget.service.d.ts +9 -9
  15. package/app/content-widget/services/index.d.ts +1 -1
  16. package/app/content-widgets/components/content-widget/content-widget.component.d.ts +17 -17
  17. package/app/content-widgets/components/content-widget/index.d.ts +1 -1
  18. package/app/content-widgets/components/content-widgets/content-widgets.component.d.ts +24 -24
  19. package/app/content-widgets/components/content-widgets/index.d.ts +1 -1
  20. package/app/content-widgets/fs-content-widgets.module.d.ts +23 -23
  21. package/esm2020/app/content-widget/components/content-widget/content-widget.component.mjs +42 -42
  22. package/esm2020/app/content-widget/components/content-widget/index.mjs +1 -1
  23. package/esm2020/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.mjs +25 -25
  24. package/esm2020/app/content-widget/components/content-widget-dialog/index.mjs +1 -1
  25. package/esm2020/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.mjs +48 -48
  26. package/esm2020/app/content-widget/components/content-widget-renderer/index.mjs +1 -1
  27. package/esm2020/app/content-widget/components/index.mjs +1 -1
  28. package/esm2020/app/content-widget/directives/content-widget-content.directive.mjs +13 -13
  29. package/esm2020/app/content-widget/directives/index.mjs +1 -1
  30. package/esm2020/app/content-widget/fs-content-widget.module.mjs +59 -59
  31. package/esm2020/app/content-widget/injectors/content-wiget.injector.mjs +2 -2
  32. package/esm2020/app/content-widget/injectors/index.mjs +1 -1
  33. package/esm2020/app/content-widget/interfaces/content-widget-config.mjs +1 -1
  34. package/esm2020/app/content-widget/services/content-widget.service.mjs +27 -27
  35. package/esm2020/app/content-widget/services/index.mjs +1 -1
  36. package/esm2020/app/content-widgets/components/content-widget/content-widget.component.mjs +46 -46
  37. package/esm2020/app/content-widgets/components/content-widget/index.mjs +1 -1
  38. package/esm2020/app/content-widgets/components/content-widgets/content-widgets.component.mjs +68 -68
  39. package/esm2020/app/content-widgets/components/content-widgets/index.mjs +1 -1
  40. package/esm2020/app/content-widgets/fs-content-widgets.module.mjs +80 -80
  41. package/esm2020/firestitch-content-widget.mjs +4 -4
  42. package/esm2020/public_api.mjs +7 -7
  43. package/fesm2015/firestitch-content-widget.mjs +313 -313
  44. package/fesm2015/firestitch-content-widget.mjs.map +1 -1
  45. package/fesm2020/firestitch-content-widget.mjs +309 -309
  46. package/fesm2020/firestitch-content-widget.mjs.map +1 -1
  47. package/index.d.ts +5 -5
  48. package/package.json +1 -1
  49. package/public_api.d.ts +8 -8
@@ -10,9 +10,9 @@ import * as i3 from '@angular/material/dialog';
10
10
  import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
11
11
  import * as i2 from '@angular/forms';
12
12
  import { FormsModule } from '@angular/forms';
13
- import * as i5 from '@angular/material/input';
13
+ import * as i4 from '@angular/material/input';
14
14
  import { MatInputModule } from '@angular/material/input';
15
- import * as i4 from '@angular/material/form-field';
15
+ import * as i5 from '@angular/material/form-field';
16
16
  import { MatFormFieldModule } from '@angular/material/form-field';
17
17
  import * as i2$1 from '@firestitch/list';
18
18
  import { FsListComponent, FsListModule } from '@firestitch/list';
@@ -32,337 +32,337 @@ import { ItemType } from '@firestitch/filter';
32
32
  import { Subject } from 'rxjs';
33
33
  import * as i1$1 from '@angular/router';
34
34
 
35
- class FsContentWidgetComponent$1 {
36
- constructor(_message, _data) {
37
- this._message = _message;
38
- this._data = _data;
39
- this.save = () => {
40
- return this._saveContentWidget(this.contentWidget)
41
- .pipe(tap((contentWidget) => {
42
- this.contentWidget = Object.assign(Object.assign({}, this.contentWidget), contentWidget);
43
- this._message.success('Saved Changes');
44
- }));
45
- };
46
- }
47
- ngOnInit() {
48
- this._saveContentWidget = this._data.saveContentWidget;
49
- this.htmlEditorConfig = Object.assign({}, this._data.htmlEditorConfig);
50
- this.contentWidget = Object.assign({}, this._data.contentWidget);
51
- }
52
- }
53
- FsContentWidgetComponent$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetComponent$1, deps: [{ token: i1.FsMessage }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
54
- FsContentWidgetComponent$1.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentWidgetComponent$1, selector: "ng-component", ngImport: i0, 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 <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}:host ::ng-deep .mat-tab-body-content{overflow:visible}\n"], dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6.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"] }, { kind: "component", type: i7.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i7.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "directive", type: i7.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i8.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"], exportAs: ["fsForm"] }, { kind: "directive", type: i8.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { kind: "directive", type: i8.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])" }, { kind: "directive", type: i8.FsButtonDirective, selector: "[mat-raised-button],[mat-button],[mat-flat-button],[mat-stroked-button]", inputs: ["name", "dirtySubmit", "form"] }, { kind: "component", type: i9.FsHtmlEditorComponent, selector: "fs-html-editor", inputs: ["config", "hint", "disabled"] }, { kind: "component", type: i10.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { kind: "component", type: i11.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["ready", "blur"] }] });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetComponent$1, decorators: [{
56
- type: Component,
57
- args: [{ 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 <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}:host ::ng-deep .mat-tab-body-content{overflow:visible}\n"] }]
58
- }], ctorParameters: function () {
59
- return [{ type: i1.FsMessage }, { type: undefined, decorators: [{
60
- type: Inject,
61
- args: [MAT_DIALOG_DATA]
62
- }] }];
35
+ let FsContentWidgetComponent$1 = class FsContentWidgetComponent {
36
+ constructor(_message, _data) {
37
+ this._message = _message;
38
+ this._data = _data;
39
+ this.save = () => {
40
+ return this._saveContentWidget(this.contentWidget)
41
+ .pipe(tap((contentWidget) => {
42
+ this.contentWidget = Object.assign(Object.assign({}, this.contentWidget), contentWidget);
43
+ this._message.success('Saved Changes');
44
+ }));
45
+ };
46
+ }
47
+ ngOnInit() {
48
+ this._saveContentWidget = this._data.saveContentWidget;
49
+ this.htmlEditorConfig = Object.assign({}, this._data.htmlEditorConfig);
50
+ this.contentWidget = Object.assign({}, this._data.contentWidget);
51
+ }
52
+ };
53
+ FsContentWidgetComponent$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetComponent$1, deps: [{ token: i1.FsMessage }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
54
+ FsContentWidgetComponent$1.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FsContentWidgetComponent$1, selector: "ng-component", ngImport: i0, 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 <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}:host ::ng-deep .mat-tab-body-content{overflow:visible}\n"], dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i7.MatTabContent, selector: "[matTabContent]" }, { kind: "component", type: i7.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i7.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "directive", type: i8.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"], exportAs: ["fsForm"] }, { kind: "directive", type: i8.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { kind: "directive", type: i8.FsFormNoFsValidatorsDirective, selector: "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormGreaterEqual]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])" }, { kind: "directive", type: i8.FsButtonDirective, selector: "[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])", inputs: ["name", "dirtySubmit", "form"] }, { kind: "component", type: i9.FsHtmlEditorComponent, selector: "fs-html-editor", inputs: ["config", "disabled"] }, { kind: "component", type: i10.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout", "dock", "dockable", "fullscreenPercent"] }, { kind: "component", type: i11.FsTextEditorComponent, selector: "fs-text-editor", inputs: ["config", "scrollable"], outputs: ["ready", "blur"] }] });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetComponent$1, decorators: [{
56
+ type: Component,
57
+ args: [{ 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 <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}:host ::ng-deep .mat-tab-body-content{overflow:visible}\n"] }]
58
+ }], ctorParameters: function () {
59
+ return [{ type: i1.FsMessage }, { type: undefined, decorators: [{
60
+ type: Inject,
61
+ args: [MAT_DIALOG_DATA]
62
+ }] }];
63
63
  } });
64
64
 
65
- class FsContentWidgetsComponent {
66
- constructor(_dialog) {
67
- this._dialog = _dialog;
68
- this._destroy$ = new Subject();
69
- }
70
- ngOnInit() {
71
- this.config = {
72
- paging: false,
73
- filters: [
74
- {
75
- name: 'keyword',
76
- type: ItemType.Keyword,
77
- label: 'Search',
78
- },
79
- ],
80
- fetch: (query) => {
81
- return this.fetchContentWidgets(query)
82
- .pipe(map((data) => ({ data: data.contentWidgets })));
83
- },
84
- };
85
- }
86
- ngOnDestroy() {
87
- this._destroy$.next();
88
- this._destroy$.complete();
89
- }
90
- open(contentWidget) {
91
- this._dialog.open(FsContentWidgetComponent$1, {
92
- width: '90%',
93
- data: {
94
- contentWidget,
95
- htmlEditorConfig: this.htmlEditorConfig,
96
- saveContentWidget: this.saveContentWidget,
97
- },
98
- })
99
- .afterClosed()
100
- .pipe(takeUntil(this._destroy$))
101
- .subscribe(() => {
102
- this.list.reload();
103
- });
104
- }
105
- }
106
- FsContentWidgetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetsComponent, deps: [{ token: i3.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
107
- FsContentWidgetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentWidgetsComponent, selector: "fs-content-widgets", inputs: { fetchContentWidgets: "fetchContentWidgets", saveContentWidget: "saveContentWidget", htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "list", first: true, predicate: FsListComponent, descendants: true, static: true }], ngImport: i0, 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(rgb(0,0,0)),to(rgba(0,0,0,0)))}\n"], dependencies: [{ kind: "component", type: i2$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { kind: "directive", type: i2$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { kind: "directive", type: i2$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { kind: "directive", type: i2$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { kind: "component", type: i3$1.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }] });
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetsComponent, decorators: [{
109
- type: Component,
110
- args: [{ selector: 'fs-content-widgets', 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(rgb(0,0,0)),to(rgba(0,0,0,0)))}\n"] }]
111
- }], ctorParameters: function () { return [{ type: i3.MatDialog }]; }, propDecorators: { fetchContentWidgets: [{
112
- type: Input
113
- }], saveContentWidget: [{
114
- type: Input
115
- }], htmlEditorConfig: [{
116
- type: Input
117
- }], list: [{
118
- type: ViewChild,
119
- args: [FsListComponent, { static: true }]
65
+ class FsContentWidgetsComponent {
66
+ constructor(_dialog) {
67
+ this._dialog = _dialog;
68
+ this._destroy$ = new Subject();
69
+ }
70
+ ngOnInit() {
71
+ this.config = {
72
+ paging: false,
73
+ filters: [
74
+ {
75
+ name: 'keyword',
76
+ type: ItemType.Keyword,
77
+ label: 'Search',
78
+ },
79
+ ],
80
+ fetch: (query) => {
81
+ return this.fetchContentWidgets(query)
82
+ .pipe(map((data) => ({ data: data.contentWidgets })));
83
+ },
84
+ };
85
+ }
86
+ ngOnDestroy() {
87
+ this._destroy$.next();
88
+ this._destroy$.complete();
89
+ }
90
+ open(contentWidget) {
91
+ this._dialog.open(FsContentWidgetComponent$1, {
92
+ width: '90%',
93
+ data: {
94
+ contentWidget,
95
+ htmlEditorConfig: this.htmlEditorConfig,
96
+ saveContentWidget: this.saveContentWidget,
97
+ },
98
+ })
99
+ .afterClosed()
100
+ .pipe(takeUntil(this._destroy$))
101
+ .subscribe(() => {
102
+ this.list.reload();
103
+ });
104
+ }
105
+ }
106
+ FsContentWidgetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetsComponent, deps: [{ token: i3.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
107
+ FsContentWidgetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FsContentWidgetsComponent, selector: "fs-content-widgets", inputs: { fetchContentWidgets: "fetchContentWidgets", saveContentWidget: "saveContentWidget", htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "list", first: true, predicate: FsListComponent, descendants: true, static: true }], ngImport: i0, 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(rgb(0,0,0)),to(rgba(0,0,0,0)))}\n"], dependencies: [{ kind: "component", type: i2$1.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }, { kind: "directive", type: i2$1.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "sortableDirection", "direction", "align", "width", "class"] }, { kind: "directive", type: i2$1.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }, { kind: "directive", type: i2$1.FsListHeaderDirective, selector: "[fs-list-header]", inputs: ["colspan", "align", "class"] }, { kind: "component", type: i3$1.FsDateAgoComponent, selector: "fs-date-ago", inputs: ["date", "showTime", "format", "showTooltip", "tooltipDateFormat"] }] });
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetsComponent, decorators: [{
109
+ type: Component,
110
+ args: [{ selector: 'fs-content-widgets', 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(rgb(0,0,0)),to(rgba(0,0,0,0)))}\n"] }]
111
+ }], ctorParameters: function () { return [{ type: i3.MatDialog }]; }, propDecorators: { fetchContentWidgets: [{
112
+ type: Input
113
+ }], saveContentWidget: [{
114
+ type: Input
115
+ }], htmlEditorConfig: [{
116
+ type: Input
117
+ }], list: [{
118
+ type: ViewChild,
119
+ args: [FsListComponent, { static: true }]
120
120
  }] } });
121
121
 
122
- class FsContentWidgetsModule {
123
- static forRoot() {
124
- return {
125
- ngModule: FsContentWidgetsModule,
126
- };
127
- }
128
- }
129
- FsContentWidgetsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
130
- FsContentWidgetsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetsModule, declarations: [FsContentWidgetsComponent,
131
- FsContentWidgetComponent$1], imports: [CommonModule,
132
- FormsModule,
133
- MatDialogModule,
134
- MatInputModule,
135
- MatFormFieldModule,
136
- MatButtonModule,
137
- MatTabsModule,
138
- FsListModule,
139
- FsDateModule,
140
- FsFormModule,
141
- FsHtmlEditorModule,
142
- FsDialogModule,
143
- FsTextEditorModule], exports: [FsContentWidgetsComponent] });
144
- FsContentWidgetsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetsModule, imports: [CommonModule,
145
- FormsModule,
146
- MatDialogModule,
147
- MatInputModule,
148
- MatFormFieldModule,
149
- MatButtonModule,
150
- MatTabsModule,
151
- FsListModule,
152
- FsDateModule,
153
- FsFormModule,
154
- FsHtmlEditorModule,
155
- FsDialogModule,
156
- FsTextEditorModule] });
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetsModule, decorators: [{
158
- type: NgModule,
159
- args: [{
160
- imports: [
161
- CommonModule,
162
- FormsModule,
163
- MatDialogModule,
164
- MatInputModule,
165
- MatFormFieldModule,
166
- MatButtonModule,
167
- MatTabsModule,
168
- FsListModule,
169
- FsDateModule,
170
- FsFormModule,
171
- FsHtmlEditorModule,
172
- FsDialogModule,
173
- FsTextEditorModule,
174
- ],
175
- exports: [
176
- FsContentWidgetsComponent,
177
- ],
178
- declarations: [
179
- FsContentWidgetsComponent,
180
- FsContentWidgetComponent$1,
181
- ],
182
- }]
122
+ class FsContentWidgetsModule {
123
+ static forRoot() {
124
+ return {
125
+ ngModule: FsContentWidgetsModule,
126
+ };
127
+ }
128
+ }
129
+ FsContentWidgetsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
130
+ FsContentWidgetsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetsModule, declarations: [FsContentWidgetsComponent,
131
+ FsContentWidgetComponent$1], imports: [CommonModule,
132
+ FormsModule,
133
+ MatDialogModule,
134
+ MatInputModule,
135
+ MatFormFieldModule,
136
+ MatButtonModule,
137
+ MatTabsModule,
138
+ FsListModule,
139
+ FsDateModule,
140
+ FsFormModule,
141
+ FsHtmlEditorModule,
142
+ FsDialogModule,
143
+ FsTextEditorModule], exports: [FsContentWidgetsComponent] });
144
+ FsContentWidgetsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetsModule, imports: [CommonModule,
145
+ FormsModule,
146
+ MatDialogModule,
147
+ MatInputModule,
148
+ MatFormFieldModule,
149
+ MatButtonModule,
150
+ MatTabsModule,
151
+ FsListModule,
152
+ FsDateModule,
153
+ FsFormModule,
154
+ FsHtmlEditorModule,
155
+ FsDialogModule,
156
+ FsTextEditorModule] });
157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetsModule, decorators: [{
158
+ type: NgModule,
159
+ args: [{
160
+ imports: [
161
+ CommonModule,
162
+ FormsModule,
163
+ MatDialogModule,
164
+ MatInputModule,
165
+ MatFormFieldModule,
166
+ MatButtonModule,
167
+ MatTabsModule,
168
+ FsListModule,
169
+ FsDateModule,
170
+ FsFormModule,
171
+ FsHtmlEditorModule,
172
+ FsDialogModule,
173
+ FsTextEditorModule,
174
+ ],
175
+ exports: [
176
+ FsContentWidgetsComponent,
177
+ ],
178
+ declarations: [
179
+ FsContentWidgetsComponent,
180
+ FsContentWidgetComponent$1,
181
+ ],
182
+ }]
183
183
  }] });
184
184
 
185
- class FsContentWidgetContentDirective {
186
- }
187
- FsContentWidgetContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
- FsContentWidgetContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FsContentWidgetContentDirective, selector: "[fsContentWidgetContent]", ngImport: i0 });
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetContentDirective, decorators: [{
190
- type: Directive,
191
- args: [{
192
- selector: '[fsContentWidgetContent]',
193
- }]
185
+ class FsContentWidgetContentDirective {
186
+ }
187
+ FsContentWidgetContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
+ FsContentWidgetContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FsContentWidgetContentDirective, selector: "[fsContentWidgetContent]", ngImport: i0 });
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetContentDirective, decorators: [{
190
+ type: Directive,
191
+ args: [{
192
+ selector: '[fsContentWidgetContent]',
193
+ }]
194
194
  }] });
195
195
 
196
196
  const FS_CONTENT_WIDGET_CONFIG = new InjectionToken('fs-content-widget-config');
197
197
 
198
- class FsContentWidgetRendererComponent {
199
- constructor(_router, _el) {
200
- this._router = _router;
201
- this._el = _el;
202
- this.destroy$ = new Subject();
203
- }
204
- ngAfterViewChecked() {
205
- this.registerHrefs();
206
- }
207
- get el() {
208
- return this._el.nativeElement;
209
- }
210
- registerHrefs() {
211
- Array.from(this.el.querySelectorAll('a[href]'))
212
- .filter((el) => {
213
- return el.getAttribute('href').match(/^\//);
214
- })
215
- .forEach((el) => {
216
- el.addEventListener('click', (event) => {
217
- if (!event.shiftKey && !event.ctrlKey) {
218
- event.preventDefault();
219
- const href = el.getAttribute('href');
220
- this._router.navigateByUrl(href);
221
- }
222
- });
223
- });
224
- }
225
- ngOnDestroy() {
226
- this.destroy$.next();
227
- this.destroy$.complete();
228
- }
229
- }
230
- FsContentWidgetRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetRendererComponent, deps: [{ token: i1$1.Router }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
231
- FsContentWidgetRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: { content: "content" }, ngImport: i0, template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9.FsHtmlRendererComponent, selector: "fs-html-renderer", inputs: ["html"] }] });
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetRendererComponent, decorators: [{
233
- type: Component,
234
- args: [{ selector: 'fs-content-widget-renderer', template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"] }]
235
- }], ctorParameters: function () { return [{ type: i1$1.Router }, { type: i0.ElementRef }]; }, propDecorators: { content: [{
236
- type: Input
198
+ class FsContentWidgetRendererComponent {
199
+ constructor(_router, _el) {
200
+ this._router = _router;
201
+ this._el = _el;
202
+ this.destroy$ = new Subject();
203
+ }
204
+ ngAfterViewChecked() {
205
+ this.registerHrefs();
206
+ }
207
+ get el() {
208
+ return this._el.nativeElement;
209
+ }
210
+ registerHrefs() {
211
+ Array.from(this.el.querySelectorAll('a[href]'))
212
+ .filter((el) => {
213
+ return el.getAttribute('href').match(/^\//);
214
+ })
215
+ .forEach((el) => {
216
+ el.addEventListener('click', (event) => {
217
+ if (!event.shiftKey && !event.ctrlKey) {
218
+ event.preventDefault();
219
+ const href = el.getAttribute('href');
220
+ this._router.navigateByUrl(href);
221
+ }
222
+ });
223
+ });
224
+ }
225
+ ngOnDestroy() {
226
+ this.destroy$.next();
227
+ this.destroy$.complete();
228
+ }
229
+ }
230
+ FsContentWidgetRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetRendererComponent, deps: [{ token: i1$1.Router }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
231
+ FsContentWidgetRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: { content: "content" }, ngImport: i0, template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9.FsHtmlRendererComponent, selector: "fs-html-renderer", inputs: ["html"] }] });
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetRendererComponent, decorators: [{
233
+ type: Component,
234
+ args: [{ selector: 'fs-content-widget-renderer', template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"] }]
235
+ }], ctorParameters: function () { return [{ type: i1$1.Router }, { type: i0.ElementRef }]; }, propDecorators: { content: [{
236
+ type: Input
237
237
  }] } });
238
238
 
239
- class FsContentWidgetComponent {
240
- constructor(config, _cdRef) {
241
- this.config = config;
242
- this._cdRef = _cdRef;
243
- this.destroy$ = new Subject();
244
- }
245
- ngOnInit() {
246
- this.config.fetchContentWidget(this.tag)
247
- .pipe(takeUntil(this.destroy$))
248
- .subscribe((content) => {
249
- this.content = content;
250
- this._cdRef.markForCheck();
251
- });
252
- }
253
- ngOnDestroy() {
254
- this.destroy$.next();
255
- this.destroy$.complete();
256
- }
257
- }
258
- FsContentWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetComponent, deps: [{ token: FS_CONTENT_WIDGET_CONFIG }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
259
- FsContentWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentWidgetComponent, selector: "fs-content-widget", inputs: { tag: "tag" }, queries: [{ propertyName: "contentWidgetContent", first: true, predicate: FsContentWidgetContentDirective, descendants: true, read: TemplateRef }], ngImport: i0, template: "<ng-container *ngIf=\"content\">\n <ng-container *ngIf=\"contentWidgetContent; else renderer\">\n <ng-container \n [ngTemplateOutlet]=\"contentWidgetContent\" \n [ngTemplateOutletContext]=\"{ content: renderer }\">\n </ng-container>\n </ng-container>\n <ng-template #renderer>\n <fs-content-widget-renderer \n [content]=\"content\">\n </fs-content-widget-renderer>\n </ng-template>\n</ng-container>", styles: [":host ::ng-deep img{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }] });
260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetComponent, decorators: [{
261
- type: Component,
262
- args: [{ selector: 'fs-content-widget', template: "<ng-container *ngIf=\"content\">\n <ng-container *ngIf=\"contentWidgetContent; else renderer\">\n <ng-container \n [ngTemplateOutlet]=\"contentWidgetContent\" \n [ngTemplateOutletContext]=\"{ content: renderer }\">\n </ng-container>\n </ng-container>\n <ng-template #renderer>\n <fs-content-widget-renderer \n [content]=\"content\">\n </fs-content-widget-renderer>\n </ng-template>\n</ng-container>", styles: [":host ::ng-deep img{max-width:100%}\n"] }]
263
- }], ctorParameters: function () {
264
- return [{ type: undefined, decorators: [{
265
- type: Inject,
266
- args: [FS_CONTENT_WIDGET_CONFIG]
267
- }] }, { type: i0.ChangeDetectorRef }];
268
- }, propDecorators: { contentWidgetContent: [{
269
- type: ContentChild,
270
- args: [FsContentWidgetContentDirective, { read: TemplateRef }]
271
- }], tag: [{
272
- type: Input
239
+ class FsContentWidgetComponent {
240
+ constructor(config, _cdRef) {
241
+ this.config = config;
242
+ this._cdRef = _cdRef;
243
+ this.destroy$ = new Subject();
244
+ }
245
+ ngOnInit() {
246
+ this.config.fetchContentWidget(this.tag)
247
+ .pipe(takeUntil(this.destroy$))
248
+ .subscribe((content) => {
249
+ this.content = content;
250
+ this._cdRef.markForCheck();
251
+ });
252
+ }
253
+ ngOnDestroy() {
254
+ this.destroy$.next();
255
+ this.destroy$.complete();
256
+ }
257
+ }
258
+ FsContentWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetComponent, deps: [{ token: FS_CONTENT_WIDGET_CONFIG }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
259
+ FsContentWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FsContentWidgetComponent, selector: "fs-content-widget", inputs: { tag: "tag" }, queries: [{ propertyName: "contentWidgetContent", first: true, predicate: FsContentWidgetContentDirective, descendants: true, read: TemplateRef }], ngImport: i0, template: "<ng-container *ngIf=\"content\">\n <ng-container *ngIf=\"contentWidgetContent; else renderer\">\n <ng-container \n [ngTemplateOutlet]=\"contentWidgetContent\" \n [ngTemplateOutletContext]=\"{ content: renderer }\">\n </ng-container>\n </ng-container>\n <ng-template #renderer>\n <fs-content-widget-renderer \n [content]=\"content\">\n </fs-content-widget-renderer>\n </ng-template>\n</ng-container>", styles: [":host ::ng-deep img{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }] });
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetComponent, decorators: [{
261
+ type: Component,
262
+ args: [{ selector: 'fs-content-widget', template: "<ng-container *ngIf=\"content\">\n <ng-container *ngIf=\"contentWidgetContent; else renderer\">\n <ng-container \n [ngTemplateOutlet]=\"contentWidgetContent\" \n [ngTemplateOutletContext]=\"{ content: renderer }\">\n </ng-container>\n </ng-container>\n <ng-template #renderer>\n <fs-content-widget-renderer \n [content]=\"content\">\n </fs-content-widget-renderer>\n </ng-template>\n</ng-container>", styles: [":host ::ng-deep img{max-width:100%}\n"] }]
263
+ }], ctorParameters: function () {
264
+ return [{ type: undefined, decorators: [{
265
+ type: Inject,
266
+ args: [FS_CONTENT_WIDGET_CONFIG]
267
+ }] }, { type: i0.ChangeDetectorRef }];
268
+ }, propDecorators: { contentWidgetContent: [{
269
+ type: ContentChild,
270
+ args: [FsContentWidgetContentDirective, { read: TemplateRef }]
271
+ }], tag: [{
272
+ type: Input
273
273
  }] } });
274
274
 
275
- class FsContentWidgetDialogComponent {
276
- constructor(_data) {
277
- this._data = _data;
278
- this.title = _data.title;
279
- this.tag = _data.tag;
280
- }
281
- }
282
- FsContentWidgetDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
283
- FsContentWidgetDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: FsContentWidgetDialogComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <ng-container *ngIf=\"title\">\n <div mat-dialog-title>{{title}}</div>\n </ng-container>\n <mat-dialog-content>\n <fs-content-widget [tag]=\"tag\"></fs-content-widget>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button \n mat-button \n color=\"primary\" \n type=\"button\" \n [mat-dialog-close]=\"null\">\n Close \n </button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i6.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"] }, { kind: "component", type: i10.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { kind: "component", type: FsContentWidgetComponent, selector: "fs-content-widget", inputs: ["tag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
284
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetDialogComponent, decorators: [{
285
- type: Component,
286
- args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-dialog>\n <ng-container *ngIf=\"title\">\n <div mat-dialog-title>{{title}}</div>\n </ng-container>\n <mat-dialog-content>\n <fs-content-widget [tag]=\"tag\"></fs-content-widget>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button \n mat-button \n color=\"primary\" \n type=\"button\" \n [mat-dialog-close]=\"null\">\n Close \n </button>\n </mat-dialog-actions>\n</fs-dialog>\n" }]
287
- }], ctorParameters: function () {
288
- return [{ type: undefined, decorators: [{
289
- type: Inject,
290
- args: [MAT_DIALOG_DATA]
291
- }] }];
275
+ class FsContentWidgetDialogComponent {
276
+ constructor(_data) {
277
+ this._data = _data;
278
+ this.title = _data.title;
279
+ this.tag = _data.tag;
280
+ }
281
+ }
282
+ FsContentWidgetDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
283
+ FsContentWidgetDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FsContentWidgetDialogComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <ng-container *ngIf=\"title\">\n <div mat-dialog-title>{{title}}</div>\n </ng-container>\n <mat-dialog-content>\n <fs-content-widget [tag]=\"tag\"></fs-content-widget>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button \n mat-button \n color=\"primary\" \n type=\"button\" \n [mat-dialog-close]=\"null\">\n Close \n </button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i10.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout", "dock", "dockable", "fullscreenPercent"] }, { kind: "component", type: FsContentWidgetComponent, selector: "fs-content-widget", inputs: ["tag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetDialogComponent, decorators: [{
285
+ type: Component,
286
+ args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-dialog>\n <ng-container *ngIf=\"title\">\n <div mat-dialog-title>{{title}}</div>\n </ng-container>\n <mat-dialog-content>\n <fs-content-widget [tag]=\"tag\"></fs-content-widget>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button \n mat-button \n color=\"primary\" \n type=\"button\" \n [mat-dialog-close]=\"null\">\n Close \n </button>\n </mat-dialog-actions>\n</fs-dialog>\n" }]
287
+ }], ctorParameters: function () {
288
+ return [{ type: undefined, decorators: [{
289
+ type: Inject,
290
+ args: [MAT_DIALOG_DATA]
291
+ }] }];
292
292
  } });
293
293
 
294
- class FsContentWidgetModule {
295
- static forRoot() {
296
- return {
297
- ngModule: FsContentWidgetModule,
298
- };
299
- }
300
- }
301
- FsContentWidgetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
302
- FsContentWidgetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetModule, declarations: [FsContentWidgetRendererComponent,
303
- FsContentWidgetComponent,
304
- FsContentWidgetDialogComponent,
305
- FsContentWidgetContentDirective], imports: [CommonModule,
306
- MatDialogModule,
307
- MatButtonModule,
308
- FsHtmlEditorModule,
309
- FsDialogModule,
310
- FsHtmlRendererModule], exports: [FsContentWidgetComponent,
311
- FsContentWidgetContentDirective] });
312
- FsContentWidgetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetModule, imports: [CommonModule,
313
- MatDialogModule,
314
- MatButtonModule,
315
- FsHtmlEditorModule,
316
- FsDialogModule,
317
- FsHtmlRendererModule] });
318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetModule, decorators: [{
319
- type: NgModule,
320
- args: [{
321
- imports: [
322
- CommonModule,
323
- MatDialogModule,
324
- MatButtonModule,
325
- FsHtmlEditorModule,
326
- FsDialogModule,
327
- FsHtmlRendererModule,
328
- ],
329
- exports: [
330
- FsContentWidgetComponent,
331
- FsContentWidgetContentDirective,
332
- ],
333
- declarations: [
334
- FsContentWidgetRendererComponent,
335
- FsContentWidgetComponent,
336
- FsContentWidgetDialogComponent,
337
- FsContentWidgetContentDirective,
338
- ],
339
- }]
294
+ class FsContentWidgetModule {
295
+ static forRoot() {
296
+ return {
297
+ ngModule: FsContentWidgetModule,
298
+ };
299
+ }
300
+ }
301
+ FsContentWidgetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
302
+ FsContentWidgetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetModule, declarations: [FsContentWidgetRendererComponent,
303
+ FsContentWidgetComponent,
304
+ FsContentWidgetDialogComponent,
305
+ FsContentWidgetContentDirective], imports: [CommonModule,
306
+ MatDialogModule,
307
+ MatButtonModule,
308
+ FsHtmlEditorModule,
309
+ FsDialogModule,
310
+ FsHtmlRendererModule], exports: [FsContentWidgetComponent,
311
+ FsContentWidgetContentDirective] });
312
+ FsContentWidgetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetModule, imports: [CommonModule,
313
+ MatDialogModule,
314
+ MatButtonModule,
315
+ FsHtmlEditorModule,
316
+ FsDialogModule,
317
+ FsHtmlRendererModule] });
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetModule, decorators: [{
319
+ type: NgModule,
320
+ args: [{
321
+ imports: [
322
+ CommonModule,
323
+ MatDialogModule,
324
+ MatButtonModule,
325
+ FsHtmlEditorModule,
326
+ FsDialogModule,
327
+ FsHtmlRendererModule,
328
+ ],
329
+ exports: [
330
+ FsContentWidgetComponent,
331
+ FsContentWidgetContentDirective,
332
+ ],
333
+ declarations: [
334
+ FsContentWidgetRendererComponent,
335
+ FsContentWidgetComponent,
336
+ FsContentWidgetDialogComponent,
337
+ FsContentWidgetContentDirective,
338
+ ],
339
+ }]
340
340
  }] });
341
341
 
342
- class FsContentWidget {
343
- constructor(_dialog) {
344
- this._dialog = _dialog;
345
- }
346
- open(tag, title) {
347
- this._dialog.open(FsContentWidgetDialogComponent, {
348
- data: {
349
- tag,
350
- title,
351
- }
352
- });
353
- }
354
- }
355
- FsContentWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidget, deps: [{ token: i3.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
356
- FsContentWidget.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidget, providedIn: 'root' });
357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidget, decorators: [{
358
- type: Injectable,
359
- args: [{
360
- providedIn: 'root',
361
- }]
342
+ class FsContentWidget {
343
+ constructor(_dialog) {
344
+ this._dialog = _dialog;
345
+ }
346
+ open(tag, title) {
347
+ this._dialog.open(FsContentWidgetDialogComponent, {
348
+ data: {
349
+ tag,
350
+ title,
351
+ }
352
+ });
353
+ }
354
+ }
355
+ FsContentWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidget, deps: [{ token: i3.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
356
+ FsContentWidget.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidget, providedIn: 'root' });
357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidget, decorators: [{
358
+ type: Injectable,
359
+ args: [{
360
+ providedIn: 'root',
361
+ }]
362
362
  }], ctorParameters: function () { return [{ type: i3.MatDialog }]; } });
363
363
 
364
- /**
365
- * Generated bundle index. Do not edit.
364
+ /**
365
+ * Generated bundle index. Do not edit.
366
366
  */
367
367
 
368
368
  export { FS_CONTENT_WIDGET_CONFIG, FsContentWidget, FsContentWidgetComponent, FsContentWidgetContentDirective, FsContentWidgetModule, FsContentWidgetsComponent, FsContentWidgetsModule };