@firestitch/content-widget 12.2.2 → 13.0.1
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.
- package/app/content-widget/components/content-widget/content-widget.component.d.ts +16 -16
- package/app/content-widget/components/content-widget/index.d.ts +1 -1
- package/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.d.ts +9 -9
- package/app/content-widget/components/content-widget-dialog/index.d.ts +1 -1
- package/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.d.ts +16 -16
- package/app/content-widget/components/content-widget-renderer/index.d.ts +1 -1
- package/app/content-widget/components/index.d.ts +1 -1
- package/app/content-widget/directives/content-widget-content.directive.d.ts +5 -5
- package/app/content-widget/directives/index.d.ts +1 -1
- package/app/content-widget/fs-content-widget.module.d.ts +17 -17
- package/app/content-widget/injectors/content-wiget.injector.d.ts +2 -2
- package/app/content-widget/injectors/index.d.ts +1 -1
- package/app/content-widget/interfaces/content-widget-config.d.ts +4 -4
- package/app/content-widget/services/content-widget.service.d.ts +9 -9
- package/app/content-widget/services/index.d.ts +1 -1
- package/app/content-widgets/components/content-widget/content-widget.component.d.ts +17 -17
- package/app/content-widgets/components/content-widget/index.d.ts +1 -1
- package/app/content-widgets/components/content-widgets/content-widgets.component.d.ts +24 -24
- package/app/content-widgets/components/content-widgets/index.d.ts +1 -1
- package/app/content-widgets/fs-content-widgets.module.d.ts +23 -23
- package/esm2020/app/content-widget/components/content-widget/content-widget.component.mjs +42 -0
- package/{esm2015/app/content-widget/components/content-widget/index.js → esm2020/app/content-widget/components/content-widget/index.mjs} +1 -1
- package/esm2020/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.mjs +25 -0
- package/{esm2015/app/content-widget/components/content-widget-dialog/index.js → esm2020/app/content-widget/components/content-widget-dialog/index.mjs} +1 -1
- package/{esm2015/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.js → esm2020/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.mjs} +48 -52
- package/{esm2015/app/content-widget/components/content-widget-renderer/index.js → esm2020/app/content-widget/components/content-widget-renderer/index.mjs} +1 -1
- package/{esm2015/app/content-widget/components/index.js → esm2020/app/content-widget/components/index.mjs} +1 -1
- package/{esm2015/app/content-widget/directives/content-widget-content.directive.js → esm2020/app/content-widget/directives/content-widget-content.directive.mjs} +13 -13
- package/{esm2015/app/content-widget/directives/index.js → esm2020/app/content-widget/directives/index.mjs} +1 -1
- package/{esm2015/app/content-widget/fs-content-widget.module.js → esm2020/app/content-widget/fs-content-widget.module.mjs} +61 -61
- package/{esm2015/app/content-widget/injectors/content-wiget.injector.js → esm2020/app/content-widget/injectors/content-wiget.injector.mjs} +2 -2
- package/{esm2015/app/content-widget/injectors/index.js → esm2020/app/content-widget/injectors/index.mjs} +1 -1
- package/{esm2015/app/content-widget/interfaces/content-widget-config.js → esm2020/app/content-widget/interfaces/content-widget-config.mjs} +1 -1
- package/{esm2015/app/content-widget/services/content-widget.service.js → esm2020/app/content-widget/services/content-widget.service.mjs} +27 -27
- package/{esm2015/app/content-widget/services/index.js → esm2020/app/content-widget/services/index.mjs} +1 -1
- package/esm2020/app/content-widgets/components/content-widget/content-widget.component.mjs +46 -0
- package/{esm2015/app/content-widgets/components/content-widget/index.js → esm2020/app/content-widgets/components/content-widget/index.mjs} +1 -1
- package/esm2020/app/content-widgets/components/content-widgets/content-widgets.component.mjs +68 -0
- package/{esm2015/app/content-widgets/components/content-widgets/index.js → esm2020/app/content-widgets/components/content-widgets/index.mjs} +1 -1
- package/{esm2015/app/content-widgets/fs-content-widgets.module.js → esm2020/app/content-widgets/fs-content-widgets.module.mjs} +82 -82
- package/{esm2015/firestitch-content-widget.js → esm2020/firestitch-content-widget.mjs} +4 -4
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +7 -7
- package/fesm2015/firestitch-content-widget.mjs +373 -0
- package/fesm2015/firestitch-content-widget.mjs.map +1 -0
- package/fesm2020/firestitch-content-widget.mjs +369 -0
- package/fesm2020/firestitch-content-widget.mjs.map +1 -0
- package/firestitch-content-widget.d.ts +5 -5
- package/package.json +20 -7
- package/public_api.d.ts +8 -8
- package/bundles/firestitch-content-widget.umd.js +0 -433
- package/bundles/firestitch-content-widget.umd.js.map +0 -1
- package/esm2015/app/content-widget/components/content-widget/content-widget.component.js +0 -46
- package/esm2015/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.js +0 -29
- package/esm2015/app/content-widgets/components/content-widget/content-widget.component.js +0 -47
- package/esm2015/app/content-widgets/components/content-widgets/content-widgets.component.js +0 -72
- package/fesm2015/firestitch-content-widget.js +0 -386
- package/fesm2015/firestitch-content-widget.js.map +0 -1
|
@@ -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>;
|
|
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>;
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './content-widget.component';
|
|
1
|
+
export * from './content-widget.component';
|
package/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.d.ts
CHANGED
|
@@ -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>;
|
|
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>;
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './content-widget-dialog.component';
|
|
1
|
+
export * from './content-widget-dialog.component';
|
package/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.d.ts
CHANGED
|
@@ -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 +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>;
|
|
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>;
|
|
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>;
|
|
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?: 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>;
|
|
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>;
|
|
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
|
+
}
|
|
@@ -0,0 +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 "../content-widget-renderer/content-widget-renderer.component";
|
|
8
|
+
import * as i2 from "@angular/common";
|
|
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: "13.4.0", ngImport: i0, type: FsContentWidgetComponent, deps: [{ token: FS_CONTENT_WIDGET_CONFIG }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
FsContentWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.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"], components: [{ type: i1.FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: ["content"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb250ZW50LXdpZGdldC9jb21wb25lbnRzL2NvbnRlbnQtd2lkZ2V0L2NvbnRlbnQtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC9jb250ZW50LXdpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6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m5nSWY9XCJjb250ZW50XCI+XG4gIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb250ZW50V2lkZ2V0Q29udGVudDsgZWxzZSByZW5kZXJlclwiPlxuICAgIDxuZy1jb250YWluZXIgXG4gICAgICBbbmdUZW1wbGF0ZU91dGxldF09XCJjb250ZW50V2lkZ2V0Q29udGVudFwiIFxuICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cInsgY29udGVudDogcmVuZGVyZXIgfVwiPlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L25nLWNvbnRhaW5lcj5cbiAgPG5nLXRlbXBsYXRlICNyZW5kZXJlcj5cbiAgICA8ZnMtY29udGVudC13aWRnZXQtcmVuZGVyZXIgICAgIFxuICAgICAgW2NvbnRlbnRdPVwiY29udGVudFwiPlxuICAgIDwvZnMtY29udGVudC13aWRnZXQtcmVuZGVyZXI+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==
|
|
@@ -0,0 +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 "@firestitch/dialog";
|
|
5
|
+
import * as i2 from "../content-widget/content-widget.component";
|
|
6
|
+
import * as i3 from "@angular/material/button";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
import * as i5 from "@angular/material/dialog";
|
|
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: "13.4.0", ngImport: i0, type: FsContentWidgetDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
FsContentWidgetDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.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: [""], components: [{ type: i1.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { type: i2.FsContentWidgetComponent, selector: "fs-content-widget", inputs: ["tag"] }, { 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"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i5.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i5.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i5.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.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", styles: [""] }]
|
|
21
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
22
|
+
type: Inject,
|
|
23
|
+
args: [MAT_DIALOG_DATA]
|
|
24
|
+
}] }]; } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC1kaWFsb2cvY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC50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lbnQtd2lkZ2V0LWRpYWxvZy5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRnNDb250ZW50V2lkZ2V0RGlhbG9nQ29tcG9uZW50IHtcblxuICBwdWJsaWMgdGl0bGU7XG4gIHB1YmxpYyB0YWc7XG5cbiAgY29uc3RydWN0b3IoQEluamVjdChNQVRfRElBTE9HX0RBVEEpIHByaXZhdGUgX2RhdGEpIHtcbiAgICB0aGlzLnRpdGxlID0gX2RhdGEudGl0bGU7XG4gICAgdGhpcy50YWcgPSBfZGF0YS50YWc7XG4gIH1cbn1cbiIsIjxmcy1kaWFsb2c+XG4gIDxuZy1jb250YWluZXIgKm5nSWY9XCJ0aXRsZVwiPlxuICAgIDxkaXYgbWF0LWRpYWxvZy10aXRsZT57e3RpdGxlfX08L2Rpdj5cbiAgPC9uZy1jb250YWluZXI+XG4gIDxtYXQtZGlhbG9nLWNvbnRlbnQ+XG4gICAgPGZzLWNvbnRlbnQtd2lkZ2V0IFt0YWddPVwidGFnXCI+PC9mcy1jb250ZW50LXdpZGdldD5cbiAgPC9tYXQtZGlhbG9nLWNvbnRlbnQ+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
|
|
@@ -1,52 +1,48 @@
|
|
|
1
|
-
import { Component, ElementRef, Input } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/router";
|
|
6
|
-
import * as i2 from "@firestitch/html-editor";
|
|
7
|
-
import * as i3 from "@angular/common";
|
|
8
|
-
export class FsContentWidgetRendererComponent {
|
|
9
|
-
constructor(_router, _el) {
|
|
10
|
-
this._router = _router;
|
|
11
|
-
this._el = _el;
|
|
12
|
-
this.destroy$ = new Subject();
|
|
13
|
-
}
|
|
14
|
-
ngAfterViewChecked() {
|
|
15
|
-
this.registerHrefs();
|
|
16
|
-
}
|
|
17
|
-
get el() {
|
|
18
|
-
return this._el.nativeElement;
|
|
19
|
-
}
|
|
20
|
-
registerHrefs() {
|
|
21
|
-
Array.from(this.el.querySelectorAll('a[href]'))
|
|
22
|
-
.filter((el) => {
|
|
23
|
-
return el.getAttribute('href').match(/^\//);
|
|
24
|
-
})
|
|
25
|
-
.forEach((el) => {
|
|
26
|
-
el.addEventListener('click', (event) => {
|
|
27
|
-
if (!event.shiftKey && !event.ctrlKey) {
|
|
28
|
-
event.preventDefault();
|
|
29
|
-
const href = el.getAttribute('href');
|
|
30
|
-
this._router.navigateByUrl(href);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
ngOnDestroy() {
|
|
36
|
-
this.destroy$.next();
|
|
37
|
-
this.destroy$.complete();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
FsContentWidgetRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
FsContentWidgetRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
-
type: Component,
|
|
44
|
-
args: [{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i0.ElementRef }]; }, propDecorators: { content: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtcmVuZGVyZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb250ZW50LXdpZGdldC9jb21wb25lbnRzL2NvbnRlbnQtd2lkZ2V0LXJlbmRlcmVyL2NvbnRlbnQtd2lkZ2V0LXJlbmRlcmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC1yZW5kZXJlci9jb250ZW50LXdpZGdldC1yZW5kZXJlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW9CLFNBQVMsRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFhLE1BQU0s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hyZWYnKTtcbiAgICAgICAgICAgIHRoaXMuX3JvdXRlci5uYXZpZ2F0ZUJ5VXJsKGhyZWYpO1xuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQoKTtcbiAgICB0aGlzLmRlc3Ryb3kkLmNvbXBsZXRlKCk7XG4gIH1cblxufVxuIiwiPGZzLWh0bWwtcmVuZGVyZXIgKm5nSWY9XCJjb250ZW50XCIgW2h0bWxdPVwiY29udGVudFwiPjwvZnMtaHRtbC1yZW5kZXJlcj4iXX0=
|
|
1
|
+
import { Component, ElementRef, Input } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/router";
|
|
6
|
+
import * as i2 from "@firestitch/html-editor";
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
export class FsContentWidgetRendererComponent {
|
|
9
|
+
constructor(_router, _el) {
|
|
10
|
+
this._router = _router;
|
|
11
|
+
this._el = _el;
|
|
12
|
+
this.destroy$ = new Subject();
|
|
13
|
+
}
|
|
14
|
+
ngAfterViewChecked() {
|
|
15
|
+
this.registerHrefs();
|
|
16
|
+
}
|
|
17
|
+
get el() {
|
|
18
|
+
return this._el.nativeElement;
|
|
19
|
+
}
|
|
20
|
+
registerHrefs() {
|
|
21
|
+
Array.from(this.el.querySelectorAll('a[href]'))
|
|
22
|
+
.filter((el) => {
|
|
23
|
+
return el.getAttribute('href').match(/^\//);
|
|
24
|
+
})
|
|
25
|
+
.forEach((el) => {
|
|
26
|
+
el.addEventListener('click', (event) => {
|
|
27
|
+
if (!event.shiftKey && !event.ctrlKey) {
|
|
28
|
+
event.preventDefault();
|
|
29
|
+
const href = el.getAttribute('href');
|
|
30
|
+
this._router.navigateByUrl(href);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
ngOnDestroy() {
|
|
36
|
+
this.destroy$.next();
|
|
37
|
+
this.destroy$.complete();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
FsContentWidgetRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentWidgetRendererComponent, deps: [{ token: i1.Router }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
FsContentWidgetRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.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"], components: [{ type: i2.FsHtmlRendererComponent, selector: "fs-html-renderer", inputs: ["html"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentWidgetRendererComponent, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
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"] }]
|
|
45
|
+
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i0.ElementRef }]; }, propDecorators: { content: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtcmVuZGVyZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vL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gICAgICAuZm9yRWFjaCgoZWw6IEVsZW1lbnQpID0+IHtcbiAgICAgICAgZWwuYWRkRXZlbnRMaXN0ZW5lcignY2xpY2snLChldmVudDogTW91c2VFdmVudCkgPT4ge1xuICAgICAgICAgIGlmKCFldmVudC5zaGlmdEtleSAmJiAhZXZlbnQuY3RybEtleSkge1xuICAgICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgIGNvbnN0IGhyZWYgPSBlbC5nZXRBdHRyaWJ1dGUoJ2hyZWYnKTtcbiAgICAgICAgICAgIHRoaXMuX3JvdXRlci5uYXZpZ2F0ZUJ5VXJsKGhyZWYpO1xuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQoKTtcbiAgICB0aGlzLmRlc3Ryb3kkLmNvbXBsZXRlKCk7XG4gIH1cblxufVxuIiwiPGZzLWh0bWwtcmVuZGVyZXIgKm5nSWY9XCJjb250ZW50XCIgW2h0bWxdPVwiY29udGVudFwiPjwvZnMtaHRtbC1yZW5kZXJlcj4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './content-widget-renderer.component';
|
|
1
|
+
export * from './content-widget-renderer.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnRlbnQtd2lkZ2V0L2NvbXBvbmVudHMvY29udGVudC13aWRnZXQtcmVuZGVyZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQ0FBcUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC13aWRnZXQtcmVuZGVyZXIuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './content-widget-dialog';
|
|
1
|
+
export * from './content-widget-dialog';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnRlbnQtd2lkZ2V0L2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC13aWRnZXQtZGlhbG9nJztcbiJdfQ==
|