@firestitch/content-widget 12.1.2 → 12.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/app/content-widget/components/content-widget/content-widget.component.d.ts +15 -15
  2. package/app/content-widget/components/content-widget/index.d.ts +1 -1
  3. package/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.d.ts +16 -16
  4. package/app/content-widget/components/content-widget-renderer/index.d.ts +1 -1
  5. package/app/content-widget/fs-content-widget.module.d.ts +12 -12
  6. package/app/content-widget/injectors/content-wiget.injector.d.ts +2 -2
  7. package/app/content-widget/injectors/index.d.ts +1 -1
  8. package/app/content-widget/interfaces/content-widget-config.d.ts +4 -4
  9. package/app/content-widgets/components/content-widget/content-widget.component.d.ts +17 -17
  10. package/app/content-widgets/components/content-widget/index.d.ts +1 -1
  11. package/app/content-widgets/components/content-widgets/content-widgets.component.d.ts +24 -24
  12. package/app/content-widgets/components/content-widgets/index.d.ts +1 -1
  13. package/app/content-widgets/fs-content-widgets.module.d.ts +23 -23
  14. package/bundles/firestitch-content-widget.umd.js +285 -282
  15. package/bundles/firestitch-content-widget.umd.js.map +1 -1
  16. package/esm2015/app/content-widget/components/content-widget/content-widget.component.js +41 -41
  17. package/esm2015/app/content-widget/components/content-widget/index.js +1 -1
  18. package/esm2015/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.js +51 -51
  19. package/esm2015/app/content-widget/components/content-widget-renderer/index.js +1 -1
  20. package/esm2015/app/content-widget/fs-content-widget.module.js +41 -38
  21. package/esm2015/app/content-widget/injectors/content-wiget.injector.js +2 -2
  22. package/esm2015/app/content-widget/injectors/index.js +1 -1
  23. package/esm2015/app/content-widget/interfaces/content-widget-config.js +1 -1
  24. package/esm2015/app/content-widgets/components/content-widget/content-widget.component.js +47 -47
  25. package/esm2015/app/content-widgets/components/content-widget/index.js +1 -1
  26. package/esm2015/app/content-widgets/components/content-widgets/content-widgets.component.js +71 -71
  27. package/esm2015/app/content-widgets/components/content-widgets/index.js +1 -1
  28. package/esm2015/app/content-widgets/fs-content-widgets.module.js +81 -81
  29. package/esm2015/firestitch-content-widget.js +4 -4
  30. package/esm2015/public_api.js +5 -5
  31. package/fesm2015/firestitch-content-widget.js +263 -260
  32. package/fesm2015/firestitch-content-widget.js.map +1 -1
  33. package/firestitch-content-widget.d.ts +5 -5
  34. package/package.json +1 -2
  35. package/public_api.d.ts +6 -6
@@ -1,15 +1,15 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } 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
- content: any;
8
- private destroy$;
9
- tag: string;
10
- constructor(config: FsContentWidgetConfig, _cdRef: ChangeDetectorRef);
11
- ngOnInit(): void;
12
- ngOnDestroy(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetComponent, "fs-content-widget", never, { "tag": "tag"; }, {}, never, never>;
15
- }
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } 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
+ content: any;
8
+ private destroy$;
9
+ tag: string;
10
+ constructor(config: FsContentWidgetConfig, _cdRef: ChangeDetectorRef);
11
+ ngOnInit(): void;
12
+ ngOnDestroy(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsContentWidgetComponent, "fs-content-widget", never, { "tag": "tag"; }, {}, never, never>;
15
+ }
@@ -1 +1 @@
1
- export * from './content-widget.component';
1
+ export * from './content-widget.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>;
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>;
16
+ }
@@ -1 +1 @@
1
- export * from './content-widget-renderer.component';
1
+ export * from './content-widget-renderer.component';
@@ -1,12 +1,12 @@
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 "@angular/common";
6
- import * as i4 from "@firestitch/html-editor";
7
- export declare class FsContentWidgetModule {
8
- static forRoot(): ModuleWithProviders<FsContentWidgetModule>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentWidgetModule, [typeof i1.FsContentWidgetRendererComponent, typeof i2.FsContentWidgetComponent], [typeof i3.CommonModule, typeof i4.FsHtmlEditorModule], [typeof i2.FsContentWidgetComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FsContentWidgetModule>;
12
- }
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 "@angular/common";
6
+ import * as i4 from "@firestitch/html-editor";
7
+ export declare class FsContentWidgetModule {
8
+ static forRoot(): ModuleWithProviders<FsContentWidgetModule>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsContentWidgetModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FsContentWidgetModule, [typeof i1.FsContentWidgetRendererComponent, typeof i2.FsContentWidgetComponent], [typeof i3.CommonModule, typeof i4.FsHtmlEditorModule, typeof i4.FsHtmlRendererModule], [typeof i2.FsContentWidgetComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FsContentWidgetModule>;
12
+ }
@@ -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,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>;
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>;
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?: string) => Observable<{
10
- contentWigets: 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>;
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?: string) => Observable<{
10
+ contentWigets: 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>;
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
+ }