@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
@@ -1,16 +1,16 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import { FsContentWidgetConfig } from '../../interfaces/content-widget-config';
3
- import * as i0 from "@angular/core";
4
- export declare class FsContentWidgetComponent implements OnDestroy, OnInit {
5
- config: FsContentWidgetConfig;
6
- private _cdRef;
7
- contentWidgetContent: TemplateRef<any>;
8
- content: any;
9
- private destroy$;
10
- tag: string;
11
- constructor(config: FsContentWidgetConfig, _cdRef: ChangeDetectorRef);
12
- ngOnInit(): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetComponent, "fs-content-widget", never, { "tag": "tag"; }, {}, ["contentWidgetContent"], never, false>;
16
- }
1
+ import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
+ import { FsContentWidgetConfig } from '../../interfaces/content-widget-config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsContentWidgetComponent implements OnDestroy, OnInit {
5
+ config: FsContentWidgetConfig;
6
+ private _cdRef;
7
+ contentWidgetContent: TemplateRef<any>;
8
+ content: any;
9
+ private destroy$;
10
+ tag: string;
11
+ constructor(config: FsContentWidgetConfig, _cdRef: ChangeDetectorRef);
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetComponent, "fs-content-widget", never, { "tag": "tag"; }, {}, ["contentWidgetContent"], never, false, never>;
16
+ }
@@ -1 +1 @@
1
- export * from './content-widget.component';
1
+ export * from './content-widget.component';
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FsContentWidgetDialogComponent {
3
- private _data;
4
- title: any;
5
- tag: any;
6
- constructor(_data: any);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetDialogComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetDialogComponent, "ng-component", never, {}, {}, never, never, false>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FsContentWidgetDialogComponent {
3
+ private _data;
4
+ title: any;
5
+ tag: any;
6
+ constructor(_data: any);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetDialogComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetDialogComponent, "ng-component", never, {}, {}, never, never, false, never>;
9
+ }
@@ -1 +1 @@
1
- export * from './content-widget-dialog.component';
1
+ export * from './content-widget-dialog.component';
@@ -1,16 +1,16 @@
1
- import { AfterViewChecked, ElementRef, OnDestroy } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export declare class FsContentWidgetRendererComponent implements OnDestroy, AfterViewChecked {
5
- private _router;
6
- private _el;
7
- content: any;
8
- private destroy$;
9
- constructor(_router: Router, _el: ElementRef);
10
- ngAfterViewChecked(): void;
11
- get el(): any;
12
- registerHrefs(): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetRendererComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetRendererComponent, "fs-content-widget-renderer", never, { "content": "content"; }, {}, never, never, false>;
16
- }
1
+ import { AfterViewChecked, ElementRef, OnDestroy } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsContentWidgetRendererComponent implements OnDestroy, AfterViewChecked {
5
+ private _router;
6
+ private _el;
7
+ content: any;
8
+ private destroy$;
9
+ constructor(_router: Router, _el: ElementRef);
10
+ ngAfterViewChecked(): void;
11
+ get el(): any;
12
+ registerHrefs(): void;
13
+ ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetRendererComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetRendererComponent, "fs-content-widget-renderer", never, { "content": "content"; }, {}, never, never, false, never>;
16
+ }
@@ -1 +1 @@
1
- export * from './content-widget-renderer.component';
1
+ export * from './content-widget-renderer.component';
@@ -1 +1 @@
1
- export * from './content-widget-dialog';
1
+ export * from './content-widget-dialog';
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FsContentWidgetContentDirective {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetContentDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsContentWidgetContentDirective, "[fsContentWidgetContent]", never, {}, {}, never, never, false>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class FsContentWidgetContentDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetContentDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsContentWidgetContentDirective, "[fsContentWidgetContent]", never, {}, {}, never, never, false, never>;
5
+ }
@@ -1 +1 @@
1
- export * from './content-widget-content.directive';
1
+ export * from './content-widget-content.directive';
@@ -1,17 +1,17 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./components/content-widget-renderer/content-widget-renderer.component";
4
- import * as i2 from "./components/content-widget/content-widget.component";
5
- import * as i3 from "./components/content-widget-dialog/content-widget-dialog.component";
6
- import * as i4 from "./directives/content-widget-content.directive";
7
- import * as i5 from "@angular/common";
8
- import * as i6 from "@angular/material/dialog";
9
- import * as i7 from "@angular/material/button";
10
- import * as i8 from "@firestitch/html-editor";
11
- import * as i9 from "@firestitch/dialog";
12
- export declare class FsContentWidgetModule {
13
- static forRoot(): ModuleWithProviders<FsContentWidgetModule>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentWidgetModule, [typeof i1.FsContentWidgetRendererComponent, typeof i2.FsContentWidgetComponent, typeof i3.FsContentWidgetDialogComponent, typeof i4.FsContentWidgetContentDirective], [typeof i5.CommonModule, typeof i6.MatDialogModule, typeof i7.MatButtonModule, typeof i8.FsHtmlEditorModule, typeof i9.FsDialogModule, typeof i8.FsHtmlRendererModule], [typeof i2.FsContentWidgetComponent, typeof i4.FsContentWidgetContentDirective]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<FsContentWidgetModule>;
17
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/content-widget-renderer/content-widget-renderer.component";
4
+ import * as i2 from "./components/content-widget/content-widget.component";
5
+ import * as i3 from "./components/content-widget-dialog/content-widget-dialog.component";
6
+ import * as i4 from "./directives/content-widget-content.directive";
7
+ import * as i5 from "@angular/common";
8
+ import * as i6 from "@angular/material/dialog";
9
+ import * as i7 from "@angular/material/button";
10
+ import * as i8 from "@firestitch/html-editor";
11
+ import * as i9 from "@firestitch/dialog";
12
+ export declare class FsContentWidgetModule {
13
+ static forRoot(): ModuleWithProviders<FsContentWidgetModule>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentWidgetModule, [typeof i1.FsContentWidgetRendererComponent, typeof i2.FsContentWidgetComponent, typeof i3.FsContentWidgetDialogComponent, typeof i4.FsContentWidgetContentDirective], [typeof i5.CommonModule, typeof i6.MatDialogModule, typeof i7.MatButtonModule, typeof i8.FsHtmlEditorModule, typeof i9.FsDialogModule, typeof i8.FsHtmlRendererModule], [typeof i2.FsContentWidgetComponent, typeof i4.FsContentWidgetContentDirective]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<FsContentWidgetModule>;
17
+ }
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const FS_CONTENT_WIDGET_CONFIG: InjectionToken<any>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const FS_CONTENT_WIDGET_CONFIG: InjectionToken<any>;
@@ -1 +1 @@
1
- export * from './content-wiget.injector';
1
+ export * from './content-wiget.injector';
@@ -1,4 +1,4 @@
1
- import { Observable } from "rxjs";
2
- export interface FsContentWidgetConfig {
3
- fetchContentWidget: (tag: string) => Observable<string>;
4
- }
1
+ import { Observable } from "rxjs";
2
+ export interface FsContentWidgetConfig {
3
+ fetchContentWidget: (tag: string) => Observable<string>;
4
+ }
@@ -1,9 +1,9 @@
1
- import { MatDialog } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class FsContentWidget {
4
- private _dialog;
5
- constructor(_dialog: MatDialog);
6
- open(tag: string, title?: string): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidget, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<FsContentWidget>;
9
- }
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FsContentWidget {
4
+ private _dialog;
5
+ constructor(_dialog: MatDialog);
6
+ open(tag: string, title?: string): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidget, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<FsContentWidget>;
9
+ }
@@ -1 +1 @@
1
- export * from './content-widget.service';
1
+ export * from './content-widget.service';
@@ -1,17 +1,17 @@
1
- import { OnInit } from '@angular/core';
2
- import { FsHtmlEditorConfig } from '@firestitch/html-editor';
3
- import { FsMessage } from '@firestitch/message';
4
- import { Observable } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class FsContentWidgetComponent implements OnInit {
7
- private _message;
8
- private _data;
9
- contentWidget: any;
10
- htmlEditorConfig: FsHtmlEditorConfig;
11
- private _saveContentWidget;
12
- constructor(_message: FsMessage, _data: any);
13
- ngOnInit(): void;
14
- save: () => Observable<any>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetComponent, "ng-component", never, {}, {}, never, never, false>;
17
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { FsHtmlEditorConfig } from '@firestitch/html-editor';
3
+ import { FsMessage } from '@firestitch/message';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FsContentWidgetComponent implements OnInit {
7
+ private _message;
8
+ private _data;
9
+ contentWidget: any;
10
+ htmlEditorConfig: FsHtmlEditorConfig;
11
+ private _saveContentWidget;
12
+ constructor(_message: FsMessage, _data: any);
13
+ ngOnInit(): void;
14
+ save: () => Observable<any>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetComponent, "ng-component", never, {}, {}, never, never, false, never>;
17
+ }
@@ -1 +1 @@
1
- export * from './content-widget.component';
1
+ export * from './content-widget.component';
@@ -1,24 +1,24 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { FsListComponent, FsListConfig } from '@firestitch/list';
4
- import { Observable } from 'rxjs';
5
- import { FsHtmlEditorConfig } from '@firestitch/html-editor';
6
- import * as i0 from "@angular/core";
7
- export declare class FsContentWidgetsComponent implements OnInit, OnDestroy {
8
- private _dialog;
9
- fetchContentWidgets: (query?: any) => Observable<{
10
- contentWidgets: any[];
11
- paging?: any;
12
- }>;
13
- saveContentWidget: (contentWidget: any) => Observable<any>;
14
- htmlEditorConfig: FsHtmlEditorConfig;
15
- list: FsListComponent;
16
- config: FsListConfig;
17
- private _destroy$;
18
- constructor(_dialog: MatDialog);
19
- ngOnInit(): void;
20
- ngOnDestroy(): void;
21
- open(contentWidget: any): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetsComponent, "fs-content-widgets", never, { "fetchContentWidgets": "fetchContentWidgets"; "saveContentWidget": "saveContentWidget"; "htmlEditorConfig": "htmlEditorConfig"; }, {}, never, never, false>;
24
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { FsListComponent, FsListConfig } from '@firestitch/list';
4
+ import { Observable } from 'rxjs';
5
+ import { FsHtmlEditorConfig } from '@firestitch/html-editor';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FsContentWidgetsComponent implements OnInit, OnDestroy {
8
+ private _dialog;
9
+ fetchContentWidgets: (query?: any) => Observable<{
10
+ contentWidgets: any[];
11
+ paging?: any;
12
+ }>;
13
+ saveContentWidget: (contentWidget: any) => Observable<any>;
14
+ htmlEditorConfig: FsHtmlEditorConfig;
15
+ list: FsListComponent;
16
+ config: FsListConfig;
17
+ private _destroy$;
18
+ constructor(_dialog: MatDialog);
19
+ ngOnInit(): void;
20
+ ngOnDestroy(): void;
21
+ open(contentWidget: any): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetsComponent, "fs-content-widgets", never, { "fetchContentWidgets": "fetchContentWidgets"; "saveContentWidget": "saveContentWidget"; "htmlEditorConfig": "htmlEditorConfig"; }, {}, never, never, false, never>;
24
+ }
@@ -1 +1 @@
1
- export * from './content-widgets.component';
1
+ export * from './content-widgets.component';
@@ -1,23 +1,23 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./components/content-widgets/content-widgets.component";
4
- import * as i2 from "./components/content-widget/content-widget.component";
5
- import * as i3 from "@angular/common";
6
- import * as i4 from "@angular/forms";
7
- import * as i5 from "@angular/material/dialog";
8
- import * as i6 from "@angular/material/input";
9
- import * as i7 from "@angular/material/form-field";
10
- import * as i8 from "@angular/material/button";
11
- import * as i9 from "@angular/material/tabs";
12
- import * as i10 from "@firestitch/list";
13
- import * as i11 from "@firestitch/date";
14
- import * as i12 from "@firestitch/form";
15
- import * as i13 from "@firestitch/html-editor";
16
- import * as i14 from "@firestitch/dialog";
17
- import * as i15 from "@firestitch/text-editor";
18
- export declare class FsContentWidgetsModule {
19
- static forRoot(): ModuleWithProviders<FsContentWidgetsModule>;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetsModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentWidgetsModule, [typeof i1.FsContentWidgetsComponent, typeof i2.FsContentWidgetComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.MatDialogModule, typeof i6.MatInputModule, typeof i7.MatFormFieldModule, typeof i8.MatButtonModule, typeof i9.MatTabsModule, typeof i10.FsListModule, typeof i11.FsDateModule, typeof i12.FsFormModule, typeof i13.FsHtmlEditorModule, typeof i14.FsDialogModule, typeof i15.FsTextEditorModule], [typeof i1.FsContentWidgetsComponent]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<FsContentWidgetsModule>;
23
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/content-widgets/content-widgets.component";
4
+ import * as i2 from "./components/content-widget/content-widget.component";
5
+ import * as i3 from "@angular/common";
6
+ import * as i4 from "@angular/forms";
7
+ import * as i5 from "@angular/material/dialog";
8
+ import * as i6 from "@angular/material/input";
9
+ import * as i7 from "@angular/material/form-field";
10
+ import * as i8 from "@angular/material/button";
11
+ import * as i9 from "@angular/material/tabs";
12
+ import * as i10 from "@firestitch/list";
13
+ import * as i11 from "@firestitch/date";
14
+ import * as i12 from "@firestitch/form";
15
+ import * as i13 from "@firestitch/html-editor";
16
+ import * as i14 from "@firestitch/dialog";
17
+ import * as i15 from "@firestitch/text-editor";
18
+ export declare class FsContentWidgetsModule {
19
+ static forRoot(): ModuleWithProviders<FsContentWidgetsModule>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetsModule, never>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentWidgetsModule, [typeof i1.FsContentWidgetsComponent, typeof i2.FsContentWidgetComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.MatDialogModule, typeof i6.MatInputModule, typeof i7.MatFormFieldModule, typeof i8.MatButtonModule, typeof i9.MatTabsModule, typeof i10.FsListModule, typeof i11.FsDateModule, typeof i12.FsFormModule, typeof i13.FsHtmlEditorModule, typeof i14.FsDialogModule, typeof i15.FsTextEditorModule], [typeof i1.FsContentWidgetsComponent]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<FsContentWidgetsModule>;
23
+ }
@@ -1,42 +1,42 @@
1
- import { ChangeDetectorRef, Component, ContentChild, Inject, Input, TemplateRef } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { takeUntil } from 'rxjs/operators';
4
- import { FsContentWidgetContentDirective } from '../../directives';
5
- import { FS_CONTENT_WIDGET_CONFIG } from '../../injectors';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "../content-widget-renderer/content-widget-renderer.component";
9
- export class FsContentWidgetComponent {
10
- constructor(config, _cdRef) {
11
- this.config = config;
12
- this._cdRef = _cdRef;
13
- this.destroy$ = new Subject();
14
- }
15
- ngOnInit() {
16
- this.config.fetchContentWidget(this.tag)
17
- .pipe(takeUntil(this.destroy$))
18
- .subscribe((content) => {
19
- this.content = content;
20
- this._cdRef.markForCheck();
21
- });
22
- }
23
- ngOnDestroy() {
24
- this.destroy$.next();
25
- this.destroy$.complete();
26
- }
27
- }
28
- 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 });
29
- 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetComponent, decorators: [{
31
- type: Component,
32
- 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"] }]
33
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
34
- type: Inject,
35
- args: [FS_CONTENT_WIDGET_CONFIG]
36
- }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { contentWidgetContent: [{
37
- type: ContentChild,
38
- args: [FsContentWidgetContentDirective, { read: TemplateRef }]
39
- }], tag: [{
40
- type: Input
41
- }] } });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb250ZW50LXdpZGdldC9jb21wb25lbnRzL2NvbnRlbnQtd2lkZ2V0L2NvbnRlbnQtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250Z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ZXN0cm95JC5jb21wbGV0ZSgpO1xuICB9XG5cbn1cbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJjb250ZW50XCI+XG4gIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb250ZW50V2lkZ2V0Q29udGVudDsgZWxzZSByZW5kZXJlclwiPlxuICAgIDxuZy1jb250YWluZXIgXG4gICAgICBbbmdUZW1wbGF0ZU91dGxldF09XCJjb250ZW50V2lkZ2V0Q29udGVudFwiIFxuICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cInsgY29udGVudDogcmVuZGVyZXIgfVwiPlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L25nLWNvbnRhaW5lcj5cbiAgPG5nLXRlbXBsYXRlICNyZW5kZXJlcj5cbiAgICA8ZnMtY29udGVudC13aWRnZXQtcmVuZGVyZXIgICAgIFxuICAgICAgW2NvbnRlbnRdPVwiY29udGVudFwiPlxuICAgIDwvZnMtY29udGVudC13aWRnZXQtcmVuZGVyZXI+XG4gIDwvbmctdGVtcGxhdGU+XG48L25nLWNvbnRhaW5lcj4iXX0=
1
+ import { ChangeDetectorRef, Component, ContentChild, Inject, Input, TemplateRef } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { takeUntil } from 'rxjs/operators';
4
+ import { FsContentWidgetContentDirective } from '../../directives';
5
+ import { FS_CONTENT_WIDGET_CONFIG } from '../../injectors';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i2 from "../content-widget-renderer/content-widget-renderer.component";
9
+ export class FsContentWidgetComponent {
10
+ constructor(config, _cdRef) {
11
+ this.config = config;
12
+ this._cdRef = _cdRef;
13
+ this.destroy$ = new Subject();
14
+ }
15
+ ngOnInit() {
16
+ this.config.fetchContentWidget(this.tag)
17
+ .pipe(takeUntil(this.destroy$))
18
+ .subscribe((content) => {
19
+ this.content = content;
20
+ this._cdRef.markForCheck();
21
+ });
22
+ }
23
+ ngOnDestroy() {
24
+ this.destroy$.next();
25
+ this.destroy$.complete();
26
+ }
27
+ }
28
+ 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 });
29
+ 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }] });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetComponent, decorators: [{
31
+ type: Component,
32
+ 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"] }]
33
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
34
+ type: Inject,
35
+ args: [FS_CONTENT_WIDGET_CONFIG]
36
+ }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { contentWidgetContent: [{
37
+ type: ContentChild,
38
+ args: [FsContentWidgetContentDirective, { read: TemplateRef }]
39
+ }], tag: [{
40
+ type: Input
41
+ }] } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb250ZW50LXdpZGdldC9jb21wb25lbnRzL2NvbnRlbnQtd2lkZ2V0L2NvbnRlbnQtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC9jb250ZW50LXdpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFxQixXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFMUgsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDbkUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0saUJBQWlCL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WRnZXQtcmVuZGVyZXIgICAgIFxuICAgICAgW2NvbnRlbnRdPVwiY29udGVudFwiPlxuICAgIDwvZnMtY29udGVudC13aWRnZXQtcmVuZGVyZXI+XG4gIDwvbmctdGVtcGxhdGU+XG48L25nLWNvbnRhaW5lcj4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './content-widget.component';
1
+ export * from './content-widget.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnRlbnQtd2lkZ2V0L2NvbXBvbmVudHMvY29udGVudC13aWRnZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC13aWRnZXQuY29tcG9uZW50JztcbiJdfQ==
@@ -1,25 +1,25 @@
1
- import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
2
- import { MAT_DIALOG_DATA } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/material/dialog";
6
- import * as i3 from "@angular/material/button";
7
- import * as i4 from "@firestitch/dialog";
8
- import * as i5 from "../content-widget/content-widget.component";
9
- export class FsContentWidgetDialogComponent {
10
- constructor(_data) {
11
- this._data = _data;
12
- this.title = _data.title;
13
- this.tag = _data.tag;
14
- }
15
- }
16
- 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 });
17
- 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i3.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: i4.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { kind: "component", type: i5.FsContentWidgetComponent, selector: "fs-content-widget", inputs: ["tag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FsContentWidgetDialogComponent, decorators: [{
19
- type: Component,
20
- 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" }]
21
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
22
- type: Inject,
23
- args: [MAT_DIALOG_DATA]
24
- }] }]; } });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC1kaWFsb2cvY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC1kaWFsb2cvY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7OztBQU8zRCxNQUFNLE9BQU8sOEJBQThCO0lBS3pDLFlBQTZDLEtBQUs7UUFBTCxVQUFLLEdBQUwsS0FBSyxDQUFBO1FBQ2hELElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDLEtBQUssQ0FBQztRQUN6QixJQUFJLENBQUMsR0FBRyxHQUFHLEtBQUssQ0FBQy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ZXI+XG4gIDxtYXQtZGlhbG9nLWNvbnRlbnQ+XG4gICAgPGZzLWNvbnRlbnQtd2lkZ2V0IFt0YWddPVwidGFnXCI+PC9mcy1jb250ZW50LXdpZGdldD5cbiAgPC9tYXQtZGlhbG9nLWNvbnRlbnQ+XG4gIDxtYXQtZGlhbG9nLWFjdGlvbnM+XG4gICAgPGJ1dHRvbiBcbiAgICAgICAgbWF0LWJ1dHRvbiBcbiAgICAgICAgY29sb3I9XCJwcmltYXJ5XCIgXG4gICAgICAgIHR5cGU9XCJidXR0b25cIiBcbiAgICAgICAgW21hdC1kaWFsb2ctY2xvc2VdPVwibnVsbFwiPlxuICAgICAgQ2xvc2UgXG4gICAgPC9idXR0b24+XG4gIDwvbWF0LWRpYWxvZy1hY3Rpb25zPlxuPC9mcy1kaWFsb2c+XG4iXX0=
1
+ import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
2
+ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/material/dialog";
6
+ import * as i3 from "@angular/material/button";
7
+ import * as i4 from "@firestitch/dialog";
8
+ import * as i5 from "../content-widget/content-widget.component";
9
+ export class FsContentWidgetDialogComponent {
10
+ constructor(_data) {
11
+ this._data = _data;
12
+ this.title = _data.title;
13
+ this.tag = _data.tag;
14
+ }
15
+ }
16
+ 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 });
17
+ 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i3.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: i4.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout", "dock", "dockable", "fullscreenPercent"] }, { kind: "component", type: i5.FsContentWidgetComponent, selector: "fs-content-widget", inputs: ["tag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsContentWidgetDialogComponent, decorators: [{
19
+ type: Component,
20
+ 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" }]
21
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
22
+ type: Inject,
23
+ args: [MAT_DIALOG_DATA]
24
+ }] }]; } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC1kaWFsb2cvY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC1kaWFsb2cvY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7OztBQU8zRCxNQUFNLE9BQU8sOEJBQThCO0lBS3pDLFlBQTZDLEtBQUs7UUFBTCxVQUFLLEdBQUwsS0FBSyxDQUFBO1FBQ2hELElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDLEtBQUssQ0FBQztRQUN6QixJQUFJLENBQUMsR0FBRyxHQUFHLEtBQUssQ0FBQyxHQUFHLENBQUM7SUFDdkIsQ0FBQzs7NEhBUlUsOEJBQThCLGtCQUtyQixlQUFlO2dIQUx4Qiw4QkFBOEIsb0RDVDNDLHNiQWlCQTs0RkRS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pZGdldD5cbiAgPC9tYXQtZGlhbG9nLWNvbnRlbnQ+XG4gIDxtYXQtZGlhbG9nLWFjdGlvbnM+XG4gICAgPGJ1dHRvbiBcbiAgICAgICAgbWF0LWJ1dHRvbiBcbiAgICAgICAgY29sb3I9XCJwcmltYXJ5XCIgXG4gICAgICAgIHR5cGU9XCJidXR0b25cIiBcbiAgICAgICAgW21hdC1kaWFsb2ctY2xvc2VdPVwibnVsbFwiPlxuICAgICAgQ2xvc2UgXG4gICAgPC9idXR0b24+XG4gIDwvbWF0LWRpYWxvZy1hY3Rpb25zPlxuPC9mcy1kaWFsb2c+XG4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './content-widget-dialog.component';
1
+ export * from './content-widget-dialog.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnRlbnQtd2lkZ2V0L2NvbXBvbmVudHMvY29udGVudC13aWRnZXQtZGlhbG9nL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbnRlbnQtd2lkZ2V0LWRpYWxvZy5jb21wb25lbnQnO1xuIl19