@firestitch/content-widget 15.0.0 → 17.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.
- 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/esm2022/app/content-widget/components/content-widget/content-widget.component.mjs +47 -0
- package/{esm2020 → esm2022}/app/content-widget/components/content-widget/index.mjs +1 -1
- package/esm2022/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.mjs +28 -0
- package/{esm2020 → esm2022}/app/content-widget/components/content-widget-dialog/index.mjs +1 -1
- package/esm2022/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.mjs +51 -0
- package/{esm2020 → esm2022}/app/content-widget/components/content-widget-renderer/index.mjs +1 -1
- package/{esm2020 → esm2022}/app/content-widget/components/index.mjs +1 -1
- package/{esm2020 → esm2022}/app/content-widget/directives/content-widget-content.directive.mjs +13 -13
- package/{esm2020 → esm2022}/app/content-widget/directives/index.mjs +1 -1
- package/{esm2020 → esm2022}/app/content-widget/fs-content-widget.module.mjs +59 -59
- package/{esm2020 → esm2022}/app/content-widget/injectors/content-wiget.injector.mjs +2 -2
- package/{esm2020 → esm2022}/app/content-widget/injectors/index.mjs +1 -1
- package/{esm2020 → esm2022}/app/content-widget/interfaces/content-widget-config.mjs +1 -1
- package/esm2022/app/content-widget/services/content-widget.service.mjs +28 -0
- package/{esm2020 → esm2022}/app/content-widget/services/index.mjs +1 -1
- package/esm2022/app/content-widgets/components/content-widget/content-widget.component.mjs +51 -0
- package/{esm2020 → esm2022}/app/content-widgets/components/content-widget/index.mjs +1 -1
- package/esm2022/app/content-widgets/components/content-widgets/content-widgets.component.mjs +74 -0
- package/{esm2020 → esm2022}/app/content-widgets/components/content-widgets/index.mjs +1 -1
- package/{esm2020 → esm2022}/app/content-widgets/fs-content-widgets.module.mjs +80 -80
- package/{esm2020 → esm2022}/firestitch-content-widget.mjs +4 -4
- package/{esm2020 → esm2022}/public_api.mjs +7 -7
- package/fesm2022/firestitch-content-widget.mjs +388 -0
- package/fesm2022/firestitch-content-widget.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/package.json +5 -11
- package/public_api.d.ts +8 -8
- package/esm2020/app/content-widget/components/content-widget/content-widget.component.mjs +0 -42
- package/esm2020/app/content-widget/components/content-widget-dialog/content-widget-dialog.component.mjs +0 -25
- package/esm2020/app/content-widget/components/content-widget-renderer/content-widget-renderer.component.mjs +0 -48
- package/esm2020/app/content-widget/services/content-widget.service.mjs +0 -27
- package/esm2020/app/content-widgets/components/content-widget/content-widget.component.mjs +0 -46
- package/esm2020/app/content-widgets/components/content-widgets/content-widgets.component.mjs +0 -68
- package/fesm2015/firestitch-content-widget.mjs +0 -369
- package/fesm2015/firestitch-content-widget.mjs.map +0 -1
- package/fesm2020/firestitch-content-widget.mjs +0 -365
- package/fesm2020/firestitch-content-widget.mjs.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, false, 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": { "alias": "tag"; "required": false; }; }, {}, ["contentWidgetContent"], never, false, 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, false, 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, false, 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, false, 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": { "alias": "content"; "required": false; }; }, {}, 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, 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, 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, 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, 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, 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": { "alias": "fetchContentWidgets"; "required": false; }; "saveContentWidget": { "alias": "saveContentWidget"; "required": false; }; "htmlEditorConfig": { "alias": "htmlEditorConfig"; "required": false; }; }, {}, 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
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
config;
|
|
11
|
+
_cdRef;
|
|
12
|
+
contentWidgetContent;
|
|
13
|
+
content;
|
|
14
|
+
destroy$ = new Subject();
|
|
15
|
+
tag;
|
|
16
|
+
constructor(config, _cdRef) {
|
|
17
|
+
this.config = config;
|
|
18
|
+
this._cdRef = _cdRef;
|
|
19
|
+
}
|
|
20
|
+
ngOnInit() {
|
|
21
|
+
this.config.fetchContentWidget(this.tag)
|
|
22
|
+
.pipe(takeUntil(this.destroy$))
|
|
23
|
+
.subscribe((content) => {
|
|
24
|
+
this.content = content;
|
|
25
|
+
this._cdRef.markForCheck();
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
ngOnDestroy() {
|
|
29
|
+
this.destroy$.next(null);
|
|
30
|
+
this.destroy$.complete();
|
|
31
|
+
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetComponent, deps: [{ token: FS_CONTENT_WIDGET_CONFIG }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", 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"] }] });
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
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"] }]
|
|
38
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
39
|
+
type: Inject,
|
|
40
|
+
args: [FS_CONTENT_WIDGET_CONFIG]
|
|
41
|
+
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { contentWidgetContent: [{
|
|
42
|
+
type: ContentChild,
|
|
43
|
+
args: [FsContentWidgetContentDirective, { read: TemplateRef }]
|
|
44
|
+
}], tag: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}] } });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb250ZW50LXdpZGdldC9jb21wb25lbnRzL2NvbnRlbnQtd2lkZ2V0L2NvbnRlbnQtd2lkZ2V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXdpZGdldC9jb250ZW50LXdpZGdldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUF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WNvbnRhaW5lciAqbmdJZj1cImNvbnRlbnRcIj5cbiAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbnRlbnRXaWRnZXRDb250ZW50OyBlbHNlIHJlbmRlcmVyXCI+XG4gICAgPG5nLWNvbnRhaW5lciBcbiAgICAgIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImNvbnRlbnRXaWRnZXRDb250ZW50XCIgXG4gICAgICBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdPVwieyBjb250ZW50OiByZW5kZXJlciB9XCI+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvbmctY29udGFpbmVyPlxuICA8bmctdGVtcGxhdGUgI3JlbmRlcmVyPlxuICAgIDxmcy1jb250ZW50LXdpZGdldC1yZW5kZXJlciAgICAgXG4gICAgICBbY29udGVudF09XCJjb250ZW50XCI+XG4gICAgPC9mcy1jb250ZW50LXdpZGdldC1yZW5kZXJlcj5cbiAgPC9uZy10ZW1wbGF0ZT5cbjwvbmctY29udGFpbmVyPiJdfQ==
|
|
@@ -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,28 @@
|
|
|
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
|
+
_data;
|
|
11
|
+
title;
|
|
12
|
+
tag;
|
|
13
|
+
constructor(_data) {
|
|
14
|
+
this._data = _data;
|
|
15
|
+
this.title = _data.title;
|
|
16
|
+
this.tag = _data.tag;
|
|
17
|
+
}
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetDialogComponent, deps: [{ token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", 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.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", 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 });
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetDialogComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
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" }]
|
|
24
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
25
|
+
type: Inject,
|
|
26
|
+
args: [MAT_DIALOG_DATA]
|
|
27
|
+
}] }] });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29udGVudC13aWRnZXQvY29tcG9uZW50cy9jb250ZW50LXd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vZz5cbiJdfQ==
|
|
@@ -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
|
|
@@ -0,0 +1,51 @@
|
|
|
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 "@angular/common";
|
|
7
|
+
import * as i3 from "@firestitch/html-editor";
|
|
8
|
+
export class FsContentWidgetRendererComponent {
|
|
9
|
+
_router;
|
|
10
|
+
_el;
|
|
11
|
+
content;
|
|
12
|
+
destroy$ = new Subject();
|
|
13
|
+
constructor(_router, _el) {
|
|
14
|
+
this._router = _router;
|
|
15
|
+
this._el = _el;
|
|
16
|
+
}
|
|
17
|
+
ngAfterViewChecked() {
|
|
18
|
+
this.registerHrefs();
|
|
19
|
+
}
|
|
20
|
+
get el() {
|
|
21
|
+
return this._el.nativeElement;
|
|
22
|
+
}
|
|
23
|
+
registerHrefs() {
|
|
24
|
+
Array.from(this.el.querySelectorAll('a[href]'))
|
|
25
|
+
.filter((el) => {
|
|
26
|
+
return el.getAttribute('href').match(/^\//);
|
|
27
|
+
})
|
|
28
|
+
.forEach((el) => {
|
|
29
|
+
el.addEventListener('click', (event) => {
|
|
30
|
+
if (!event.shiftKey && !event.ctrlKey) {
|
|
31
|
+
event.preventDefault();
|
|
32
|
+
const href = el.getAttribute('href');
|
|
33
|
+
this._router.navigateByUrl(href);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
ngOnDestroy() {
|
|
39
|
+
this.destroy$.next(null);
|
|
40
|
+
this.destroy$.complete();
|
|
41
|
+
}
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetRendererComponent, deps: [{ token: i1.Router }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FsContentWidgetRendererComponent, selector: "fs-content-widget-renderer", inputs: { content: "content" }, ngImport: i0, template: "<fs-html-renderer *ngIf=\"content\" [html]=\"content\"></fs-html-renderer>", styles: [":host ::ng-deep img{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.FsHtmlRendererComponent, selector: "fs-html-renderer", inputs: ["html"] }] });
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetRendererComponent, decorators: [{
|
|
46
|
+
type: Component,
|
|
47
|
+
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"] }]
|
|
48
|
+
}], ctorParameters: () => [{ type: i1.Router }, { type: i0.ElementRef }], propDecorators: { content: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}] } });
|
|
51
|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cbiAgICBBcnJheS5mcm9tKHRoaXMuZWwucXVlcnlTZWxlY3RvckFsbCgnYVtocmVmXScpKVxuICAgICAgLmZpbHRlcigoZWw6IEVsZW1lbnQpID0+IHtcbiAgICAgICAgcmV0dXJuIGVsLmdldEF0dHJpYnV0ZSgnaHJlZicpLm1hdGNoKC9eXFwvLyk7XG4gICAgICB9KVxuICAgICAgLmZvckVhY2goKGVsOiBFbGVtZW50KSA9PiB7XG4gICAgICAgIGVsLmFkZEV2ZW50TGlzdGVuZXIoJ2NsaWNrJywoZXZlbnQ6IE1vdXNlRXZlbnQpID0+IHtcbiAgICAgICAgICBpZighZXZlbnQuc2hpZnRLZXkgJiYgIWV2ZW50LmN0cmxLZXkpIHtcbiAgICAgICAgICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICBjb25zdCBocmVmID0gZWwuZ2V0QXR0cmlidXRlKCdocmVmJyk7XG4gICAgICAgICAgICB0aGlzLl9yb3V0ZXIubmF2aWdhdGVCeVVybChocmVmKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgfSk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5kZXN0cm95JC5uZXh0KG51bGwpO1xuICAgIHRoaXMuZGVzdHJveSQuY29tcGxldGUoKTtcbiAgfVxuXG59XG4iLCI8ZnMtaHRtbC1yZW5kZXJlciAqbmdJZj1cImNvbnRlbnRcIiBbaHRtbF09XCJjb250ZW50XCI+PC9mcy1odG1sLXJlbmRlcmVyPiJdfQ==
|
|
@@ -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==
|
package/{esm2020 → esm2022}/app/content-widget/directives/content-widget-content.directive.mjs
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FsContentWidgetContentDirective {
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
-
type: Directive,
|
|
9
|
-
args: [{
|
|
10
|
-
selector: '[fsContentWidgetContent]',
|
|
11
|
-
}]
|
|
12
|
-
}] });
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class FsContentWidgetContentDirective {
|
|
4
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: FsContentWidgetContentDirective, selector: "[fsContentWidgetContent]", ngImport: i0 });
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FsContentWidgetContentDirective, decorators: [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: '[fsContentWidgetContent]',
|
|
11
|
+
}]
|
|
12
|
+
}] });
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aWRnZXQtY29udGVudC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnRlbnQtd2lkZ2V0L2RpcmVjdGl2ZXMvY29udGVudC13aWRnZXQtY29udGVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLCtCQUErQjt3R0FBL0IsK0JBQStCOzRGQUEvQiwrQkFBK0I7OzRGQUEvQiwrQkFBK0I7a0JBSDNDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLDBCQUEwQjtpQkFDckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbZnNDb250ZW50V2lkZ2V0Q29udGVudF0nLFxufSlcbmV4cG9ydCBjbGFzcyBGc0NvbnRlbnRXaWRnZXRDb250ZW50RGlyZWN0aXZlIHtcblxufVxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './content-widget-content.directive';
|
|
1
|
+
export * from './content-widget-content.directive';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnRlbnQtd2lkZ2V0L2RpcmVjdGl2ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC13aWRnZXQtY29udGVudC5kaXJlY3RpdmUnO1xuIl19
|