@firestitch/content 12.3.0 → 12.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. package/app/consts/index.d.ts +1 -1
  2. package/app/consts/page-types.const.d.ts +5 -5
  3. package/app/enums/editor-type.d.ts +6 -6
  4. package/app/enums/index.d.ts +2 -2
  5. package/app/enums/page-type.enum.d.ts +6 -6
  6. package/app/injectors/content-config.injector.d.ts +2 -2
  7. package/app/injectors/index.d.ts +1 -1
  8. package/app/interfaces/content-config.d.ts +21 -21
  9. package/app/interfaces/content-layout.d.ts +10 -10
  10. package/app/interfaces/content-page.d.ts +14 -14
  11. package/app/interfaces/content-style.d.ts +4 -4
  12. package/app/interfaces/index.d.ts +4 -4
  13. package/app/modules/content/components/content/content.component.d.ts +25 -25
  14. package/app/modules/content/components/content/index.d.ts +1 -1
  15. package/app/modules/content/components/content-renderer/content-renderer.component.d.ts +24 -24
  16. package/app/modules/content/components/content-renderer/index.d.ts +1 -1
  17. package/app/modules/content/fs-content.module.d.ts +10 -10
  18. package/app/modules/content-layouts/components/content-layout/content-layout.component.d.ts +27 -27
  19. package/app/modules/content-layouts/components/content-layout/index.d.ts +1 -1
  20. package/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.d.ts +50 -50
  21. package/app/modules/content-layouts/components/content-layout-editor/index.d.ts +1 -1
  22. package/app/modules/content-layouts/components/content-layouts/content-layouts.component.d.ts +21 -21
  23. package/app/modules/content-layouts/components/content-layouts/index.d.ts +1 -1
  24. package/app/modules/content-layouts/components/index.d.ts +3 -3
  25. package/app/modules/content-layouts/fs-content-layouts.module.d.ts +28 -28
  26. package/app/modules/content-pages/components/content-page/content-page.component.d.ts +32 -32
  27. package/app/modules/content-pages/components/content-page/index.d.ts +1 -1
  28. package/app/modules/content-pages/components/content-page-editor/content-page-editor.component.d.ts +52 -51
  29. package/app/modules/content-pages/components/content-page-editor/index.d.ts +1 -1
  30. package/app/modules/content-pages/components/content-pages/content-pages.component.d.ts +24 -24
  31. package/app/modules/content-pages/components/content-pages/index.d.ts +1 -1
  32. package/app/modules/content-pages/components/index.d.ts +3 -3
  33. package/app/modules/content-pages/fs-content-pages.module.d.ts +32 -31
  34. package/app/modules/content-style/components/content-style/content-style.component.d.ts +27 -27
  35. package/app/modules/content-style/components/content-style/index.d.ts +1 -1
  36. package/app/modules/content-style/fs-content-style.module.d.ts +14 -14
  37. package/app/modules/editor/components/editor/editor.component.d.ts +47 -47
  38. package/app/modules/editor/components/editor/index.d.ts +1 -1
  39. package/app/modules/editor/fs-content-editor.module.d.ts +23 -23
  40. package/app/modules/editor/index.d.ts +1 -1
  41. package/bundles/firestitch-content.umd.js +1345 -1334
  42. package/bundles/firestitch-content.umd.js.map +1 -1
  43. package/esm2015/app/consts/index.js +1 -1
  44. package/esm2015/app/consts/page-types.const.js +7 -7
  45. package/esm2015/app/enums/editor-type.js +7 -7
  46. package/esm2015/app/enums/index.js +3 -3
  47. package/esm2015/app/enums/page-type.enum.js +7 -7
  48. package/esm2015/app/injectors/content-config.injector.js +2 -2
  49. package/esm2015/app/injectors/index.js +1 -1
  50. package/esm2015/app/interfaces/content-config.js +1 -1
  51. package/esm2015/app/interfaces/content-layout.js +1 -1
  52. package/esm2015/app/interfaces/content-page.js +1 -1
  53. package/esm2015/app/interfaces/content-style.js +1 -1
  54. package/esm2015/app/interfaces/index.js +5 -5
  55. package/esm2015/app/modules/content/components/content/content.component.js +84 -84
  56. package/esm2015/app/modules/content/components/content/index.js +1 -1
  57. package/esm2015/app/modules/content/components/content-renderer/content-renderer.component.js +76 -76
  58. package/esm2015/app/modules/content/components/content-renderer/index.js +1 -1
  59. package/esm2015/app/modules/content/fs-content.module.js +32 -32
  60. package/esm2015/app/modules/content-layouts/components/content-layout/content-layout.component.js +71 -71
  61. package/esm2015/app/modules/content-layouts/components/content-layout/index.js +1 -1
  62. package/esm2015/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.js +159 -159
  63. package/esm2015/app/modules/content-layouts/components/content-layout-editor/index.js +1 -1
  64. package/esm2015/app/modules/content-layouts/components/content-layouts/content-layouts.component.js +120 -120
  65. package/esm2015/app/modules/content-layouts/components/content-layouts/index.js +1 -1
  66. package/esm2015/app/modules/content-layouts/components/index.js +4 -4
  67. package/esm2015/app/modules/content-layouts/fs-content-layouts.module.js +103 -103
  68. package/esm2015/app/modules/content-pages/components/content-page/content-page.component.js +82 -82
  69. package/esm2015/app/modules/content-pages/components/content-page/index.js +1 -1
  70. package/esm2015/app/modules/content-pages/components/content-page-editor/content-page-editor.component.js +167 -163
  71. package/esm2015/app/modules/content-pages/components/content-page-editor/index.js +1 -1
  72. package/esm2015/app/modules/content-pages/components/content-pages/content-pages.component.js +129 -129
  73. package/esm2015/app/modules/content-pages/components/content-pages/index.js +1 -1
  74. package/esm2015/app/modules/content-pages/components/index.js +4 -4
  75. package/esm2015/app/modules/content-pages/fs-content-pages.module.js +117 -113
  76. package/esm2015/app/modules/content-style/components/content-style/content-style.component.js +70 -70
  77. package/esm2015/app/modules/content-style/components/content-style/index.js +1 -1
  78. package/esm2015/app/modules/content-style/fs-content-style.module.js +49 -49
  79. package/esm2015/app/modules/editor/components/editor/editor.component.js +144 -144
  80. package/esm2015/app/modules/editor/components/editor/index.js +1 -1
  81. package/esm2015/app/modules/editor/fs-content-editor.module.js +85 -85
  82. package/esm2015/app/modules/editor/index.js +1 -1
  83. package/esm2015/firestitch-content.js +4 -4
  84. package/esm2015/public_api.js +10 -10
  85. package/fesm2015/firestitch-content.js +1249 -1241
  86. package/fesm2015/firestitch-content.js.map +1 -1
  87. package/firestitch-content.d.ts +5 -5
  88. package/package.json +1 -1
  89. package/public_api.d.ts +10 -10
@@ -1,85 +1,85 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inject, } from '@angular/core';
2
- import { Title } from '@angular/platform-browser';
3
- import { NavigationEnd, Router } from '@angular/router';
4
- import { HtmlRenderer } from '@firestitch/html';
5
- import { Subject } from 'rxjs';
6
- import { filter, takeUntil } from 'rxjs/operators';
7
- import { FS_CONTENT_CONFIG } from '../../../../injectors';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/platform-browser";
10
- import * as i2 from "@angular/router";
11
- import * as i3 from "@firestitch/html";
12
- import * as i4 from "../content-renderer/content-renderer.component";
13
- import * as i5 from "@angular/common";
14
- export class FsContentComponent {
15
- constructor(_config, _title, _cdRef, _router, _el, _htmlRenderer) {
16
- this._config = _config;
17
- this._title = _title;
18
- this._cdRef = _cdRef;
19
- this._router = _router;
20
- this._el = _el;
21
- this._htmlRenderer = _htmlRenderer;
22
- this._destroy$ = new Subject();
23
- }
24
- ngOnInit() {
25
- this._initContent();
26
- this._initStyles();
27
- }
28
- get el() {
29
- return this._el.nativeElement;
30
- }
31
- ngOnDestroy() {
32
- this._destroy$.next();
33
- this._destroy$.complete();
34
- this._title.setTitle('');
35
- }
36
- _initStyles() {
37
- if (this._config.loadContentStyleCss) {
38
- this._config.loadContentStyleCss()
39
- .subscribe((styles) => {
40
- this._htmlRenderer.addStyle(styles, { id: 'content-sytle' });
41
- });
42
- }
43
- }
44
- _initContent() {
45
- this._loadContent();
46
- this._router.events
47
- .pipe(filter((e) => e instanceof NavigationEnd), takeUntil(this._destroy$))
48
- .subscribe((e) => {
49
- this._loadContent();
50
- });
51
- }
52
- _loadContent() {
53
- const path = window.location.pathname;
54
- this._config.loadContent(path)
55
- .subscribe((contentPage) => {
56
- if (contentPage.title) {
57
- this._title.setTitle(contentPage.title);
58
- let ogTitleEl = document.querySelector('head meta[property="og:title"]');
59
- if (!ogTitleEl) {
60
- ogTitleEl = document.createElement('meta');
61
- ogTitleEl.setAttribute('property', 'og:title');
62
- document.getElementsByTagName('head')[0].appendChild(ogTitleEl);
63
- }
64
- ogTitleEl.setAttribute('content', contentPage.title);
65
- }
66
- this.contentPage = contentPage;
67
- this._cdRef.markForCheck();
68
- });
69
- }
70
- }
71
- FsContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.Title }, { token: i0.ChangeDetectorRef }, { token: i2.Router }, { token: i0.ElementRef }, { token: i3.HtmlRenderer }], target: i0.ɵɵFactoryTarget.Component });
72
- FsContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentComponent, selector: "fs-content", ngImport: i0, template: "<ng-container *ngIf=\"contentPage\">\n <fs-content-renderer [contentPage]=\"contentPage\"></fs-content-renderer>\n</ng-container>", styles: [""], components: [{ type: i4.ContentRendererComponent, selector: "fs-content-renderer", inputs: ["contentPage"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentComponent, decorators: [{
74
- type: Component,
75
- args: [{
76
- selector: 'fs-content',
77
- templateUrl: './content.component.html',
78
- styleUrls: ['./content.component.scss'],
79
- changeDetection: ChangeDetectionStrategy.OnPush,
80
- }]
81
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
82
- type: Inject,
83
- args: [FS_CONTENT_CONFIG]
84
- }] }, { type: i1.Title }, { type: i0.ChangeDetectorRef }, { type: i2.Router }, { type: i0.ElementRef }, { type: i3.HtmlRenderer }]; } });
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inject, } from '@angular/core';
2
+ import { Title } from '@angular/platform-browser';
3
+ import { NavigationEnd, Router } from '@angular/router';
4
+ import { HtmlRenderer } from '@firestitch/html';
5
+ import { Subject } from 'rxjs';
6
+ import { filter, takeUntil } from 'rxjs/operators';
7
+ import { FS_CONTENT_CONFIG } from '../../../../injectors';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@angular/platform-browser";
10
+ import * as i2 from "@angular/router";
11
+ import * as i3 from "@firestitch/html";
12
+ import * as i4 from "../content-renderer/content-renderer.component";
13
+ import * as i5 from "@angular/common";
14
+ export class FsContentComponent {
15
+ constructor(_config, _title, _cdRef, _router, _el, _htmlRenderer) {
16
+ this._config = _config;
17
+ this._title = _title;
18
+ this._cdRef = _cdRef;
19
+ this._router = _router;
20
+ this._el = _el;
21
+ this._htmlRenderer = _htmlRenderer;
22
+ this._destroy$ = new Subject();
23
+ }
24
+ ngOnInit() {
25
+ this._initContent();
26
+ this._initStyles();
27
+ }
28
+ get el() {
29
+ return this._el.nativeElement;
30
+ }
31
+ ngOnDestroy() {
32
+ this._destroy$.next();
33
+ this._destroy$.complete();
34
+ this._title.setTitle('');
35
+ }
36
+ _initStyles() {
37
+ if (this._config.loadContentStyleCss) {
38
+ this._config.loadContentStyleCss()
39
+ .subscribe((styles) => {
40
+ this._htmlRenderer.addStyle(styles, { id: 'content-sytle' });
41
+ });
42
+ }
43
+ }
44
+ _initContent() {
45
+ this._loadContent();
46
+ this._router.events
47
+ .pipe(filter((e) => e instanceof NavigationEnd), takeUntil(this._destroy$))
48
+ .subscribe((e) => {
49
+ this._loadContent();
50
+ });
51
+ }
52
+ _loadContent() {
53
+ const path = window.location.pathname;
54
+ this._config.loadContent(path)
55
+ .subscribe((contentPage) => {
56
+ if (contentPage.title) {
57
+ this._title.setTitle(contentPage.title);
58
+ let ogTitleEl = document.querySelector('head meta[property="og:title"]');
59
+ if (!ogTitleEl) {
60
+ ogTitleEl = document.createElement('meta');
61
+ ogTitleEl.setAttribute('property', 'og:title');
62
+ document.getElementsByTagName('head')[0].appendChild(ogTitleEl);
63
+ }
64
+ ogTitleEl.setAttribute('content', contentPage.title);
65
+ }
66
+ this.contentPage = contentPage;
67
+ this._cdRef.markForCheck();
68
+ });
69
+ }
70
+ }
71
+ FsContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.Title }, { token: i0.ChangeDetectorRef }, { token: i2.Router }, { token: i0.ElementRef }, { token: i3.HtmlRenderer }], target: i0.ɵɵFactoryTarget.Component });
72
+ FsContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsContentComponent, selector: "fs-content", ngImport: i0, template: "<ng-container *ngIf=\"contentPage\">\n <fs-content-renderer [contentPage]=\"contentPage\"></fs-content-renderer>\n</ng-container>", styles: [""], components: [{ type: i4.ContentRendererComponent, selector: "fs-content-renderer", inputs: ["contentPage"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentComponent, decorators: [{
74
+ type: Component,
75
+ args: [{
76
+ selector: 'fs-content',
77
+ templateUrl: './content.component.html',
78
+ styleUrls: ['./content.component.scss'],
79
+ changeDetection: ChangeDetectionStrategy.OnPush,
80
+ }]
81
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
82
+ type: Inject,
83
+ args: [FS_CONTENT_CONFIG]
84
+ }] }, { type: i1.Title }, { type: i0.ChangeDetectorRef }, { type: i2.Router }, { type: i0.ElementRef }, { type: i3.HtmlRenderer }]; } });
85
85
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9jb21wb25lbnRzL2NvbnRlbnQvY29udGVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9jb21wb25lbnRzL2NvbnRlbnQvY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHB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aXRsZUVsLnNldEF0dHJpYnV0ZSgncHJvcGVydHknLCdvZzp0aXRsZScpO1xuICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2hlYWQnKVswXS5hcHBlbmRDaGlsZChvZ1RpdGxlRWwpO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIG9nVGl0bGVFbC5zZXRBdHRyaWJ1dGUoJ2NvbnRlbnQnLGNvbnRlbnRQYWdlLnRpdGxlKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuY29udGVudFBhZ2UgPSBjb250ZW50UGFnZTtcbiAgICAgICAgdGhpcy5fY2RSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgICB9KTtcbiAgfVxuXG59XG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiY29udGVudFBhZ2VcIj5cbiAgPGZzLWNvbnRlbnQtcmVuZGVyZXIgW2NvbnRlbnRQYWdlXT1cImNvbnRlbnRQYWdlXCI+PC9mcy1jb250ZW50LXJlbmRlcmVyPlxuPC9uZy1jb250YWluZXI+Il19
@@ -1,2 +1,2 @@
1
- export * from './content.component';
1
+ export * from './content.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9jb21wb25lbnRzL2NvbnRlbnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC5jb21wb25lbnQnO1xuIl19
@@ -1,77 +1,77 @@
1
- import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { Router } from '@angular/router';
4
- import { HtmlRenderer } from '@firestitch/html';
5
- import { Subject } from 'rxjs';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/platform-browser";
8
- import * as i2 from "@angular/router";
9
- import * as i3 from "@firestitch/html";
10
- import * as i4 from "@angular/common";
11
- export class ContentRendererComponent {
12
- constructor(_sanitizer, _router, _el, _htmlRenderer) {
13
- this._sanitizer = _sanitizer;
14
- this._router = _router;
15
- this._el = _el;
16
- this._htmlRenderer = _htmlRenderer;
17
- this._destroy$ = new Subject();
18
- }
19
- ngOnInit() {
20
- this._htmlRenderer.addStyle(this.contentPage.styles, { id: 'contentPageStyles' });
21
- this.content = this._sanitizer.bypassSecurityTrustHtml(this.contentPage.content);
22
- }
23
- ngAfterViewChecked() {
24
- this.registerHrefs();
25
- if (this.contentPage.js) {
26
- const script = document.createElement('script');
27
- script.text = this.contentPage.js;
28
- this.script.nativeElement.after(script);
29
- }
30
- }
31
- registerHrefs() {
32
- Array.from(this.el.querySelectorAll('a[href]'))
33
- .filter((el) => {
34
- return el.getAttribute('href').match(/^\//);
35
- })
36
- .forEach((el) => {
37
- el.addEventListener('click', (event) => {
38
- if (!event.shiftKey && !event.ctrlKey) {
39
- event.preventDefault();
40
- const href = el.getAttribute('href');
41
- this._router.navigateByUrl(href);
42
- }
43
- });
44
- });
45
- }
46
- get el() {
47
- return this._el.nativeElement;
48
- }
49
- ngOnDestroy() {
50
- this.removeStyles();
51
- this._destroy$.next();
52
- this._destroy$.complete();
53
- }
54
- removeStyles() {
55
- const el = document.querySelector('#contentPageStyles');
56
- if (el) {
57
- el.remove();
58
- }
59
- }
60
- }
61
- ContentRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentRendererComponent, deps: [{ token: i1.DomSanitizer }, { token: i2.Router }, { token: i0.ElementRef }, { token: i3.HtmlRenderer }], target: i0.ɵɵFactoryTarget.Component });
62
- ContentRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentRendererComponent, selector: "fs-content-renderer", inputs: { contentPage: "contentPage" }, viewQueries: [{ propertyName: "script", first: true, predicate: ["script"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div *ngIf=\"content\" [innerHTML]=\"content\"></div>\n<span #script></span>", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentRendererComponent, decorators: [{
64
- type: Component,
65
- args: [{
66
- selector: 'fs-content-renderer',
67
- templateUrl: './content-renderer.component.html',
68
- styleUrls: ['./content-renderer.component.scss'],
69
- changeDetection: ChangeDetectionStrategy.OnPush,
70
- }]
71
- }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.Router }, { type: i0.ElementRef }, { type: i3.HtmlRenderer }]; }, propDecorators: { script: [{
72
- type: ViewChild,
73
- args: ['script', { read: ElementRef }]
74
- }], contentPage: [{
75
- type: Input
76
- }] } });
1
+ import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import { Router } from '@angular/router';
4
+ import { HtmlRenderer } from '@firestitch/html';
5
+ import { Subject } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/platform-browser";
8
+ import * as i2 from "@angular/router";
9
+ import * as i3 from "@firestitch/html";
10
+ import * as i4 from "@angular/common";
11
+ export class ContentRendererComponent {
12
+ constructor(_sanitizer, _router, _el, _htmlRenderer) {
13
+ this._sanitizer = _sanitizer;
14
+ this._router = _router;
15
+ this._el = _el;
16
+ this._htmlRenderer = _htmlRenderer;
17
+ this._destroy$ = new Subject();
18
+ }
19
+ ngOnInit() {
20
+ this._htmlRenderer.addStyle(this.contentPage.styles, { id: 'contentPageStyles' });
21
+ this.content = this._sanitizer.bypassSecurityTrustHtml(this.contentPage.content);
22
+ }
23
+ ngAfterViewChecked() {
24
+ this.registerHrefs();
25
+ if (this.contentPage.js) {
26
+ const script = document.createElement('script');
27
+ script.text = this.contentPage.js;
28
+ this.script.nativeElement.after(script);
29
+ }
30
+ }
31
+ registerHrefs() {
32
+ Array.from(this.el.querySelectorAll('a[href]'))
33
+ .filter((el) => {
34
+ return el.getAttribute('href').match(/^\//);
35
+ })
36
+ .forEach((el) => {
37
+ el.addEventListener('click', (event) => {
38
+ if (!event.shiftKey && !event.ctrlKey) {
39
+ event.preventDefault();
40
+ const href = el.getAttribute('href');
41
+ this._router.navigateByUrl(href);
42
+ }
43
+ });
44
+ });
45
+ }
46
+ get el() {
47
+ return this._el.nativeElement;
48
+ }
49
+ ngOnDestroy() {
50
+ this.removeStyles();
51
+ this._destroy$.next();
52
+ this._destroy$.complete();
53
+ }
54
+ removeStyles() {
55
+ const el = document.querySelector('#contentPageStyles');
56
+ if (el) {
57
+ el.remove();
58
+ }
59
+ }
60
+ }
61
+ ContentRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentRendererComponent, deps: [{ token: i1.DomSanitizer }, { token: i2.Router }, { token: i0.ElementRef }, { token: i3.HtmlRenderer }], target: i0.ɵɵFactoryTarget.Component });
62
+ ContentRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentRendererComponent, selector: "fs-content-renderer", inputs: { contentPage: "contentPage" }, viewQueries: [{ propertyName: "script", first: true, predicate: ["script"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div *ngIf=\"content\" [innerHTML]=\"content\"></div>\n<span #script></span>", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentRendererComponent, decorators: [{
64
+ type: Component,
65
+ args: [{
66
+ selector: 'fs-content-renderer',
67
+ templateUrl: './content-renderer.component.html',
68
+ styleUrls: ['./content-renderer.component.scss'],
69
+ changeDetection: ChangeDetectionStrategy.OnPush,
70
+ }]
71
+ }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.Router }, { type: i0.ElementRef }, { type: i3.HtmlRenderer }]; }, propDecorators: { script: [{
72
+ type: ViewChild,
73
+ args: ['script', { read: ElementRef }]
74
+ }], contentPage: [{
75
+ type: Input
76
+ }] } });
77
77
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1yZW5kZXJlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9jb21wb25lbnRzL2NvbnRlbnQtcmVuZGVyZXIvY29udGVudC1yZW5kZXJlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9jb21wb25lbnRzL2NvbnRlbnQtcmVuZGVyZXIvY29udGVudC1yZW5kZXJlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsS0FBSyxFQUdMLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsWUFBWSxFQUFZLE1BQU0sMkJBQTJCLENBQUM7QUFDbkUsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXpDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxP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dXJuIHRoaXMuX2VsLm5hdGl2ZUVsZW1lbnQ7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5yZW1vdmVTdHlsZXMoKTtcbiAgICB0aGlzLl9kZXN0cm95JC5uZXh0KCk7XG4gICAgdGhpcy5fZGVzdHJveSQuY29tcGxldGUoKTtcbiAgfVxuXG4gIHB1YmxpYyByZW1vdmVTdHlsZXMoKTogdm9pZCB7XG4gICAgY29uc3QgZWwgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCcjY29udGVudFBhZ2VTdHlsZXMnKTtcbiAgICBpZihlbCkge1xuICAgICAgZWwucmVtb3ZlKCk7XG4gICAgfVxuICB9XG5cbn1cbiIsIjxkaXYgKm5nSWY9XCJjb250ZW50XCIgW2lubmVySFRNTF09XCJjb250ZW50XCI+PC9kaXY+XG48c3BhbiAjc2NyaXB0Pjwvc3Bhbj4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './content-renderer.component';
1
+ export * from './content-renderer.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9jb21wb25lbnRzL2NvbnRlbnQtcmVuZGVyZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC1yZW5kZXJlci5jb21wb25lbnQnO1xuIl19
@@ -1,33 +1,33 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FsHtmlEditorModule } from '@firestitch/html-editor';
4
- import { FsContentComponent } from './components/content';
5
- import { ContentRendererComponent } from './components/content-renderer';
6
- import * as i0 from "@angular/core";
7
- export class FsContentModule {
8
- }
9
- FsContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- FsContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, declarations: [FsContentComponent,
11
- ContentRendererComponent], imports: [CommonModule,
12
- FsHtmlEditorModule], exports: [FsContentComponent] });
13
- FsContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, imports: [[
14
- CommonModule,
15
- FsHtmlEditorModule,
16
- ]] });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, decorators: [{
18
- type: NgModule,
19
- args: [{
20
- imports: [
21
- CommonModule,
22
- FsHtmlEditorModule,
23
- ],
24
- exports: [
25
- FsContentComponent,
26
- ],
27
- declarations: [
28
- FsContentComponent,
29
- ContentRendererComponent,
30
- ],
31
- }]
32
- }] });
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FsHtmlEditorModule } from '@firestitch/html-editor';
4
+ import { FsContentComponent } from './components/content';
5
+ import { ContentRendererComponent } from './components/content-renderer';
6
+ import * as i0 from "@angular/core";
7
+ export class FsContentModule {
8
+ }
9
+ FsContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ FsContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, declarations: [FsContentComponent,
11
+ ContentRendererComponent], imports: [CommonModule,
12
+ FsHtmlEditorModule], exports: [FsContentComponent] });
13
+ FsContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, imports: [[
14
+ CommonModule,
15
+ FsHtmlEditorModule,
16
+ ]] });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsContentModule, decorators: [{
18
+ type: NgModule,
19
+ args: [{
20
+ imports: [
21
+ CommonModule,
22
+ FsHtmlEditorModule,
23
+ ],
24
+ exports: [
25
+ FsContentComponent,
26
+ ],
27
+ declarations: [
28
+ FsContentComponent,
29
+ ContentRendererComponent,
30
+ ],
31
+ }]
32
+ }] });
33
33
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC9mcy1jb250ZW50Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUU3RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFrQnpFLE1BQU0sT0FBTyxlQUFlOzs2R0FBZixlQUFlOzhHQUFmLGVBQWUsaUJBSnhCLGtCQUFrQjtRQUNsQix3QkFBd0IsYUFUeEIsWUFBWTtRQUVaLGtCQUFrQixhQUdsQixrQkFBa0I7OEdBT1QsZUFBZSxZQWJqQjtZQUNQLFlBQVk7WUFFWixrQkFBa0I7U0FDbkI7NEZBU1UsZUFBZTtrQkFkM0IsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUU7d0JBQ1AsWUFBWTt3QkFFWixrQkFBa0I7cUJBQ25CO29CQUNELE9BQU8sRUFBRTt3QkFDUCxrQkFBa0I7cUJBQ25CO29CQUNELFlBQVksRUFBRTt3QkFDWixrQkFBa0I7d0JBQ2xCLHdCQUF3QjtxQkFDekI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcblxuaW1wb3J0IHsgRnNIdG1sRWRpdG9yTW9kdWxlIH0gZnJvbSAnQGZpcmVzdGl0Y2gvaHRtbC1lZGl0b3InO1xuXG5pbXBvcnQgeyBGc0NvbnRlbnRDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvY29udGVudCc7XG5pbXBvcnQgeyBDb250ZW50UmVuZGVyZXJDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvY29udGVudC1yZW5kZXJlcic7XG5cblxuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuXG4gICAgRnNIdG1sRWRpdG9yTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRnNDb250ZW50Q29tcG9uZW50LFxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBGc0NvbnRlbnRDb21wb25lbnQsXG4gICAgQ29udGVudFJlbmRlcmVyQ29tcG9uZW50LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBGc0NvbnRlbnRNb2R1bGUge1xufVxuIl19
@@ -1,72 +1,72 @@
1
- import { Component, Inject, ChangeDetectionStrategy, ChangeDetectorRef, ViewChildren, QueryList, } from '@angular/core';
2
- import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
3
- import { FsMessage } from '@firestitch/message';
4
- import { FsTextEditorComponent } from '@firestitch/text-editor';
5
- import { Subject, of } from 'rxjs';
6
- import { switchMap, tap, takeUntil } from 'rxjs/operators';
7
- import { FS_CONTENT_CONFIG } from '../../../../injectors';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/material/dialog";
10
- import * as i2 from "@firestitch/message";
11
- import * as i3 from "@firestitch/dialog";
12
- import * as i4 from "@angular/material/form-field";
13
- import * as i5 from "@firestitch/form";
14
- import * as i6 from "@firestitch/skeleton";
15
- import * as i7 from "@angular/forms";
16
- import * as i8 from "@angular/material/input";
17
- export class ContentLayoutComponent {
18
- constructor(_config, _data, _dialogRef, _message, _cdRef) {
19
- this._config = _config;
20
- this._data = _data;
21
- this._dialogRef = _dialogRef;
22
- this._message = _message;
23
- this._cdRef = _cdRef;
24
- this.contentLayout = null;
25
- this.editors = { content: true, styles: true };
26
- this._destroy$ = new Subject();
27
- this.save = () => {
28
- return this._config.saveContentLayout(this.contentLayout)
29
- .pipe(tap((contentLayout) => {
30
- this._message.success('Saved Changes');
31
- this._dialogRef.close(contentLayout);
32
- }));
33
- };
34
- }
35
- ngOnInit() {
36
- this._fetchData();
37
- }
38
- ngOnDestroy() {
39
- this._destroy$.next();
40
- this._destroy$.complete();
41
- }
42
- _fetchData() {
43
- of(this._data.contentLayout)
44
- .pipe(switchMap((contentLayout) => {
45
- return of(contentLayout);
46
- }), takeUntil(this._destroy$))
47
- .subscribe((contentLayout) => {
48
- this.contentLayout = Object.assign({}, contentLayout);
49
- this._cdRef.markForCheck();
50
- });
51
- }
52
- }
53
- ContentLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentLayoutComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
54
- ContentLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentLayoutComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: FsTextEditorComponent, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentLayout\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentLayout.id ? 'Layout' : 'Layout Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <mat-label>Name</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.name\"\n name=\"name\"\n required>\n </mat-form-field>\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.tag\"\n name=\"tag\">\n </mat-form-field>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions>\n </fs-form-dialog-actions>\n </div>\n </fs-dialog>\n</form>\n", styles: [""], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i5.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }], directives: [{ type: i6.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i7.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"], exportAs: ["fsForm"] }, { type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4.MatLabel, selector: "mat-label" }, { type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i5.FsFormNoFsValidatorsDirective, selector: "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])" }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentLayoutComponent, decorators: [{
56
- type: Component,
57
- args: [{
58
- templateUrl: './content-layout.component.html',
59
- styleUrls: ['./content-layout.component.scss'],
60
- changeDetection: ChangeDetectionStrategy.OnPush,
61
- }]
62
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
63
- type: Inject,
64
- args: [FS_CONTENT_CONFIG]
65
- }] }, { type: undefined, decorators: [{
66
- type: Inject,
67
- args: [MAT_DIALOG_DATA]
68
- }] }, { type: i1.MatDialogRef }, { type: i2.FsMessage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { textEditors: [{
69
- type: ViewChildren,
70
- args: [FsTextEditorComponent]
71
- }] } });
1
+ import { Component, Inject, ChangeDetectionStrategy, ChangeDetectorRef, ViewChildren, QueryList, } from '@angular/core';
2
+ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
3
+ import { FsMessage } from '@firestitch/message';
4
+ import { FsTextEditorComponent } from '@firestitch/text-editor';
5
+ import { Subject, of } from 'rxjs';
6
+ import { switchMap, tap, takeUntil } from 'rxjs/operators';
7
+ import { FS_CONTENT_CONFIG } from '../../../../injectors';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@angular/material/dialog";
10
+ import * as i2 from "@firestitch/message";
11
+ import * as i3 from "@firestitch/dialog";
12
+ import * as i4 from "@angular/material/form-field";
13
+ import * as i5 from "@firestitch/form";
14
+ import * as i6 from "@firestitch/skeleton";
15
+ import * as i7 from "@angular/forms";
16
+ import * as i8 from "@angular/material/input";
17
+ export class ContentLayoutComponent {
18
+ constructor(_config, _data, _dialogRef, _message, _cdRef) {
19
+ this._config = _config;
20
+ this._data = _data;
21
+ this._dialogRef = _dialogRef;
22
+ this._message = _message;
23
+ this._cdRef = _cdRef;
24
+ this.contentLayout = null;
25
+ this.editors = { content: true, styles: true };
26
+ this._destroy$ = new Subject();
27
+ this.save = () => {
28
+ return this._config.saveContentLayout(this.contentLayout)
29
+ .pipe(tap((contentLayout) => {
30
+ this._message.success('Saved Changes');
31
+ this._dialogRef.close(contentLayout);
32
+ }));
33
+ };
34
+ }
35
+ ngOnInit() {
36
+ this._fetchData();
37
+ }
38
+ ngOnDestroy() {
39
+ this._destroy$.next();
40
+ this._destroy$.complete();
41
+ }
42
+ _fetchData() {
43
+ of(this._data.contentLayout)
44
+ .pipe(switchMap((contentLayout) => {
45
+ return of(contentLayout);
46
+ }), takeUntil(this._destroy$))
47
+ .subscribe((contentLayout) => {
48
+ this.contentLayout = Object.assign({}, contentLayout);
49
+ this._cdRef.markForCheck();
50
+ });
51
+ }
52
+ }
53
+ ContentLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentLayoutComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
54
+ ContentLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContentLayoutComponent, selector: "ng-component", viewQueries: [{ propertyName: "textEditors", predicate: FsTextEditorComponent, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"save\" *fsSkeletonForm=\"contentLayout\">\n <fs-dialog>\n <h1 mat-dialog-title>{{contentLayout.id ? 'Layout' : 'Layout Page'}}</h1>\n <div mat-dialog-content>\n <div class=\"fs-column\">\n <mat-form-field>\n <mat-label>Name</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.name\"\n name=\"name\"\n required>\n </mat-form-field>\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <input\n matInput\n [(ngModel)]=\"contentLayout.tag\"\n name=\"tag\">\n </mat-form-field>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <fs-form-dialog-actions>\n </fs-form-dialog-actions>\n </div>\n </fs-dialog>\n</form>\n", styles: [""], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileActionPlacement", "mobileWidth", "mode"] }, { type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i5.FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: ["save", "create", "close", "done", "closeData", "name"] }], directives: [{ type: i6.FsSkeletonFormDirective, selector: "[fsSkeletonForm]", inputs: ["fsSkeletonForm", "fsSkeletonFormLines"] }, { type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i7.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup", "deactivationGuard"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"], exportAs: ["fsForm"] }, { type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4.MatLabel, selector: "mat-label" }, { type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i5.FsFormNoFsValidatorsDirective, selector: "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])" }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContentLayoutComponent, decorators: [{
56
+ type: Component,
57
+ args: [{
58
+ templateUrl: './content-layout.component.html',
59
+ styleUrls: ['./content-layout.component.scss'],
60
+ changeDetection: ChangeDetectionStrategy.OnPush,
61
+ }]
62
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
63
+ type: Inject,
64
+ args: [FS_CONTENT_CONFIG]
65
+ }] }, { type: undefined, decorators: [{
66
+ type: Inject,
67
+ args: [MAT_DIALOG_DATA]
68
+ }] }, { type: i1.MatDialogRef }, { type: i2.FsMessage }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { textEditors: [{
69
+ type: ViewChildren,
70
+ args: [FsTextEditorComponent]
71
+ }] } });
72
72
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2NvbnRlbnQtbGF5b3V0cy9jb21wb25lbnRzL2NvbnRlbnQtbGF5b3V0L2NvbnRlbnQtbGF5b3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9jb250ZW50LWxheW91dHMvY29tcG9uZW50cy9jb250ZW50LWxheW91dC9jb250ZW50LWxheW91dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULE1BQU0sRUFHTix1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFlBQVksRUFDWixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUV6RSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDaEQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFaEUsT0FBTyxFQUFFLE9BQU8sRUFBRSxFQUFFLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDbkMsT0FBTyxFQUFFLFNBQVMsRUFBRSxHQ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CldPVwiY29udGVudExheW91dC5uYW1lXCJcbiAgICAgICAgICAgIG5hbWU9XCJuYW1lXCJcbiAgICAgICAgICAgIHJlcXVpcmVkPlxuICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XG4gICAgICAgICAgPG1hdC1sYWJlbD5UYWc8L21hdC1sYWJlbD5cbiAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgIG1hdElucHV0XG4gICAgICAgICAgICBbKG5nTW9kZWwpXT1cImNvbnRlbnRMYXlvdXQudGFnXCJcbiAgICAgICAgICAgIG5hbWU9XCJ0YWdcIj5cbiAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuXG4gICAgPGRpdiBtYXQtZGlhbG9nLWFjdGlvbnM+XG4gICAgICA8ZnMtZm9ybS1kaWFsb2ctYWN0aW9ucz5cbiAgICAgIDwvZnMtZm9ybS1kaWFsb2ctYWN0aW9ucz5cbiAgICA8L2Rpdj5cbiAgPC9mcy1kaWFsb2c+XG48L2Zvcm0+XG4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './content-layout.component';
1
+ export * from './content-layout.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1sYXlvdXRzL2NvbXBvbmVudHMvY29udGVudC1sYXlvdXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC1sYXlvdXQuY29tcG9uZW50JztcbiJdfQ==