@firestitch/content 13.0.3 → 13.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) 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 +56 -56
  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 +33 -33
  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 +49 -49
  38. package/app/modules/editor/components/editor/index.d.ts +1 -1
  39. package/app/modules/editor/components/editor-label/editor-label.component.d.ts +7 -7
  40. package/app/modules/editor/components/editor-label/index.d.ts +1 -1
  41. package/app/modules/editor/fs-content-editor.module.d.ts +24 -24
  42. package/app/modules/editor/index.d.ts +1 -1
  43. package/esm2020/app/consts/index.mjs +1 -1
  44. package/esm2020/app/consts/page-types.const.mjs +5 -5
  45. package/esm2020/app/enums/editor-type.mjs +7 -7
  46. package/esm2020/app/enums/index.mjs +3 -3
  47. package/esm2020/app/enums/page-type.enum.mjs +7 -7
  48. package/esm2020/app/injectors/content-config.injector.mjs +2 -2
  49. package/esm2020/app/injectors/index.mjs +1 -1
  50. package/esm2020/app/interfaces/content-config.mjs +1 -1
  51. package/esm2020/app/interfaces/content-layout.mjs +1 -1
  52. package/esm2020/app/interfaces/content-page.mjs +1 -1
  53. package/esm2020/app/interfaces/content-style.mjs +1 -1
  54. package/esm2020/app/interfaces/index.mjs +5 -5
  55. package/esm2020/app/modules/content/components/content/content.component.mjs +80 -80
  56. package/esm2020/app/modules/content/components/content/index.mjs +1 -1
  57. package/esm2020/app/modules/content/components/content-renderer/content-renderer.component.mjs +73 -73
  58. package/esm2020/app/modules/content/components/content-renderer/index.mjs +1 -1
  59. package/esm2020/app/modules/content/fs-content.module.mjs +32 -32
  60. package/esm2020/app/modules/content-layouts/components/content-layout/content-layout.component.mjs +67 -67
  61. package/esm2020/app/modules/content-layouts/components/content-layout/index.mjs +1 -1
  62. package/esm2020/app/modules/content-layouts/components/content-layout-editor/content-layout-editor.component.mjs +161 -161
  63. package/esm2020/app/modules/content-layouts/components/content-layout-editor/index.mjs +1 -1
  64. package/esm2020/app/modules/content-layouts/components/content-layouts/content-layouts.component.mjs +115 -115
  65. package/esm2020/app/modules/content-layouts/components/content-layouts/index.mjs +1 -1
  66. package/esm2020/app/modules/content-layouts/components/index.mjs +4 -4
  67. package/esm2020/app/modules/content-layouts/fs-content-layouts.module.mjs +103 -103
  68. package/esm2020/app/modules/content-pages/components/content-page/content-page.component.mjs +82 -81
  69. package/esm2020/app/modules/content-pages/components/content-page/index.mjs +1 -1
  70. package/esm2020/app/modules/content-pages/components/content-page-editor/content-page-editor.component.mjs +178 -178
  71. package/esm2020/app/modules/content-pages/components/content-page-editor/index.mjs +1 -1
  72. package/esm2020/app/modules/content-pages/components/content-pages/content-pages.component.mjs +129 -128
  73. package/esm2020/app/modules/content-pages/components/content-pages/index.mjs +1 -1
  74. package/esm2020/app/modules/content-pages/components/index.mjs +4 -4
  75. package/esm2020/app/modules/content-pages/fs-content-pages.module.mjs +120 -120
  76. package/esm2020/app/modules/content-style/components/content-style/content-style.component.mjs +68 -68
  77. package/esm2020/app/modules/content-style/components/content-style/index.mjs +1 -1
  78. package/esm2020/app/modules/content-style/fs-content-style.module.mjs +49 -49
  79. package/esm2020/app/modules/editor/components/editor/editor.component.mjs +143 -143
  80. package/esm2020/app/modules/editor/components/editor/index.mjs +1 -1
  81. package/esm2020/app/modules/editor/components/editor-label/editor-label.component.mjs +15 -15
  82. package/esm2020/app/modules/editor/components/editor-label/index.mjs +1 -1
  83. package/esm2020/app/modules/editor/fs-content-editor.module.mjs +88 -88
  84. package/esm2020/app/modules/editor/index.mjs +1 -1
  85. package/esm2020/firestitch-content.mjs +4 -4
  86. package/esm2020/public_api.mjs +10 -10
  87. package/fesm2015/firestitch-content.mjs +1249 -1251
  88. package/fesm2015/firestitch-content.mjs.map +1 -1
  89. package/fesm2020/firestitch-content.mjs +1253 -1251
  90. package/fesm2020/firestitch-content.mjs.map +1 -1
  91. package/firestitch-content.d.ts +5 -5
  92. package/package.json +1 -1
  93. package/public_api.d.ts +10 -10
@@ -1,128 +1,129 @@
1
- import { ChangeDetectionStrategy, Component, Inject, Input, ViewChild, } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { index } from '@firestitch/common';
4
- import { ItemType } from '@firestitch/filter';
5
- import { FsListComponent } from '@firestitch/list';
6
- import { Subject } from 'rxjs';
7
- import { filter, map, takeUntil } from 'rxjs/operators';
8
- import { PageTypes } from '../../../../consts';
9
- import { PageType } from '../../../../enums';
10
- import { FS_CONTENT_CONFIG } from '../../../../injectors';
11
- import { ContentPageEditorComponent } from '../content-page-editor';
12
- import { ContentPageComponent } from '../content-page/content-page.component';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "@angular/material/dialog";
15
- import * as i2 from "@firestitch/list";
16
- import * as i3 from "@firestitch/date";
17
- export class FsContentPagesComponent {
18
- constructor(_config, _dialog) {
19
- this._config = _config;
20
- this._dialog = _dialog;
21
- this.pageTypes = index(PageTypes, 'value', 'name');
22
- this._destroy$ = new Subject();
23
- }
24
- ngOnInit() {
25
- this._initListConfig();
26
- }
27
- openEditor(contentPage) {
28
- this._dialog.open(ContentPageEditorComponent, {
29
- data: {
30
- contentPage,
31
- config: this._config,
32
- contentConfig: this._config,
33
- },
34
- maxWidth: '100vw',
35
- width: '100%',
36
- height: '100%',
37
- autoFocus: false,
38
- })
39
- .afterClosed()
40
- .pipe(takeUntil(this._destroy$))
41
- .subscribe(() => {
42
- this.listComponent.reload();
43
- });
44
- }
45
- ngOnDestroy() {
46
- this._destroy$.next();
47
- this._destroy$.complete();
48
- }
49
- openContentPage(contentPage) {
50
- return this._dialog.open(ContentPageComponent, {
51
- data: { contentPage },
52
- })
53
- .afterClosed()
54
- .pipe(takeUntil(this._destroy$));
55
- }
56
- _initListConfig() {
57
- this.listConfig = {
58
- filters: [
59
- {
60
- name: 'keyword',
61
- type: ItemType.Keyword,
62
- label: 'Search',
63
- },
64
- ],
65
- actions: [
66
- {
67
- label: 'Create',
68
- click: () => {
69
- this.openContentPage({
70
- type: PageType.StandardPage,
71
- })
72
- .pipe(filter((contentPage) => !!contentPage))
73
- .subscribe((contentPage) => {
74
- this.openEditor(contentPage);
75
- this.listComponent.reload();
76
- });
77
- },
78
- },
79
- ],
80
- rowActions: [
81
- {
82
- click: (data) => {
83
- return this._config.deleteContentPage(data);
84
- },
85
- remove: {
86
- title: 'Confirm',
87
- template: 'Are you sure you would like to delete this record?',
88
- },
89
- menu: true,
90
- label: 'Delete',
91
- },
92
- ],
93
- fetch: (query) => {
94
- query = {
95
- contentLayouts: true,
96
- };
97
- return this._config.loadContentPages(query)
98
- .pipe(map((response) => {
99
- return { data: response.contentPages, paging: response.paging };
100
- }));
101
- },
102
- restore: {
103
- query: { state: 'deleted' },
104
- filterLabel: 'Show Deleted',
105
- menuLabel: 'Restore',
106
- reload: true,
107
- click: (row) => {
108
- return this._config.saveContentPage({ id: row.id, state: 'active' });
109
- },
110
- },
111
- };
112
- }
113
- }
114
- FsContentPagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
115
- FsContentPagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FsContentPagesComponent, selector: "fs-content-pages", inputs: { htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "listComponent", first: true, predicate: FsListComponent, descendants: true }], ngImport: i0, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openEditor(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n", styles: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"], components: [{ type: i2.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }], directives: [{ type: i2.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i2.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }], pipes: { "fsDate": i3.FsDatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, decorators: [{
117
- type: Component,
118
- args: [{ selector: 'fs-content-pages', changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openEditor(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n", styles: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"] }]
119
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
120
- type: Inject,
121
- args: [FS_CONTENT_CONFIG]
122
- }] }, { type: i1.MatDialog }]; }, propDecorators: { htmlEditorConfig: [{
123
- type: Input
124
- }], listComponent: [{
125
- type: ViewChild,
126
- args: [FsListComponent]
127
- }] } });
128
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29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RlbnRQYWdlIH0sXG4gICAgfSlcbiAgICAgIC5hZnRlckNsb3NlZCgpXG4gICAgICAucGlwZShcbiAgICAgICAgdGFrZVVudGlsKHRoaXMuX2Rlc3Ryb3kkKSxcbiAgICAgICk7XG4gIH1cblxuICBwcml2YXRlIF9pbml0TGlzdENvbmZpZygpOiB2b2lkIHtcbiAgICB0aGlzLmxpc3RDb25maWcgPSB7XG4gICAgICBmaWx0ZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAna2V5d29yZCcsXG4gICAgICAgICAgdHlwZTogSXRlbVR5cGUuS2V5d29yZCxcbiAgICAgICAgICBsYWJlbDogJ1NlYXJjaCcsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgYWN0aW9uczogW1xuICAgICAgICB7XG4gICAgICAgICAgbGFiZWw6ICdDcmVhdGUnLFxuICAgICAgICAgIGNsaWNrOiAoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLm9wZW5Db250ZW50UGFnZSh7XG4gICAgICAgICAgICAgIHR5cGU6IFBhZ2VUeXBlLlN0YW5kYXJkUGFnZSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIGZpbHRlcigoY29udGVudFBhZ2UpID0+ICEhY29udGVudFBhZ2UpLFxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIC5zdWJzY3JpYmUoKGNvbnRlbnRQYWdlKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5vcGVuRWRpdG9yKGNvbnRlbnRQYWdlKTtcbiAgICAgICAgICAgICAgICB0aGlzLmxpc3RDb21wb25lbnQucmVsb2FkKCk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgICAgcm93QWN0aW9uczogW1xuICAgICAgICB7XG4gICAgICAgICAgY2xpY2s6IChkYXRhKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gdGhpc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ZzLWxpc3QtY2VsbCBsZXQtcm93PVwicm93XCI+XG4gICAgICB7e3BhZ2VUeXBlc1tyb3cudHlwZV19fVxuICAgIDwvbmctdGVtcGxhdGU+XG4gIDwvZnMtbGlzdC1jb2x1bW4+XG4gIDxmcy1saXN0LWNvbHVtbiBuYW1lPVwibW9kaWZ5X2RhdGVcIiB0aXRsZT1cIk1vZGlmaWVkXCIgW3NvcnRhYmxlXT1cInRydWVcIj5cbiAgICA8bmctdGVtcGxhdGUgZnMtbGlzdC1jZWxsIGxldC1yb3c9XCJyb3dcIj5cbiAgICAgIHt7cm93Lm1vZGlmeURhdGUgfCBmc0RhdGU6ICdkYXRlLXRpbWUteWVhcmxlc3MnfX1cbiAgICA8L25nLXRlbXBsYXRlPlxuICA8L2ZzLWxpc3QtY29sdW1uPlxuPC9mcy1saXN0PlxuIl19
1
+ import { ChangeDetectionStrategy, Component, Inject, Input, ViewChild, } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { index } from '@firestitch/common';
4
+ import { ItemType } from '@firestitch/filter';
5
+ import { FsListComponent } from '@firestitch/list';
6
+ import { Subject } from 'rxjs';
7
+ import { filter, map, takeUntil } from 'rxjs/operators';
8
+ import { PageTypes } from '../../../../consts';
9
+ import { PageType } from '../../../../enums';
10
+ import { FS_CONTENT_CONFIG } from '../../../../injectors';
11
+ import { ContentPageEditorComponent } from '../content-page-editor';
12
+ import { ContentPageComponent } from '../content-page/content-page.component';
13
+ import * as i0 from "@angular/core";
14
+ import * as i1 from "@angular/material/dialog";
15
+ import * as i2 from "@firestitch/list";
16
+ import * as i3 from "@firestitch/date";
17
+ export class FsContentPagesComponent {
18
+ constructor(_config, _dialog) {
19
+ this._config = _config;
20
+ this._dialog = _dialog;
21
+ this.pageTypes = index(PageTypes, 'value', 'name');
22
+ this._destroy$ = new Subject();
23
+ }
24
+ ngOnInit() {
25
+ this._initListConfig();
26
+ }
27
+ openEditor(contentPage) {
28
+ this._dialog.open(ContentPageEditorComponent, {
29
+ data: {
30
+ contentPage,
31
+ config: this._config,
32
+ contentConfig: this._config,
33
+ },
34
+ maxWidth: '100vw',
35
+ width: '100%',
36
+ height: '100%',
37
+ autoFocus: false,
38
+ })
39
+ .afterClosed()
40
+ .pipe(takeUntil(this._destroy$))
41
+ .subscribe(() => {
42
+ this.listComponent.reload();
43
+ });
44
+ }
45
+ ngOnDestroy() {
46
+ this._destroy$.next();
47
+ this._destroy$.complete();
48
+ }
49
+ openContentPage(contentPage) {
50
+ return this._dialog.open(ContentPageComponent, {
51
+ data: { contentPage },
52
+ })
53
+ .afterClosed()
54
+ .pipe(takeUntil(this._destroy$));
55
+ }
56
+ _initListConfig() {
57
+ this.listConfig = {
58
+ filters: [
59
+ {
60
+ name: 'keyword',
61
+ type: ItemType.Keyword,
62
+ label: 'Search',
63
+ },
64
+ ],
65
+ actions: [
66
+ {
67
+ label: 'Create',
68
+ click: () => {
69
+ this.openContentPage({
70
+ type: PageType.StandardPage,
71
+ })
72
+ .pipe(filter((contentPage) => !!contentPage))
73
+ .subscribe((contentPage) => {
74
+ this.openEditor(contentPage);
75
+ this.listComponent.reload();
76
+ });
77
+ },
78
+ },
79
+ ],
80
+ rowActions: [
81
+ {
82
+ click: (data) => {
83
+ return this._config.deleteContentPage(data);
84
+ },
85
+ remove: {
86
+ title: 'Confirm',
87
+ template: 'Are you sure you would like to delete this record?',
88
+ },
89
+ menu: true,
90
+ label: 'Delete',
91
+ },
92
+ ],
93
+ fetch: (query) => {
94
+ query = {
95
+ contentLayouts: true,
96
+ ...query,
97
+ };
98
+ return this._config.loadContentPages(query)
99
+ .pipe(map((response) => {
100
+ return { data: response.contentPages, paging: response.paging };
101
+ }));
102
+ },
103
+ restore: {
104
+ query: { state: 'deleted' },
105
+ filterLabel: 'Show Deleted',
106
+ menuLabel: 'Restore',
107
+ reload: true,
108
+ click: (row) => {
109
+ return this._config.saveContentPage({ id: row.id, state: 'active' });
110
+ },
111
+ },
112
+ };
113
+ }
114
+ }
115
+ FsContentPagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, deps: [{ token: FS_CONTENT_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
116
+ FsContentPagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FsContentPagesComponent, selector: "fs-content-pages", inputs: { htmlEditorConfig: "htmlEditorConfig" }, viewQueries: [{ propertyName: "listComponent", first: true, predicate: FsListComponent, descendants: true }], ngImport: i0, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openEditor(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n", styles: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"], components: [{ type: i2.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }], directives: [{ type: i2.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i2.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }], pipes: { "fsDate": i3.FsDatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesComponent, decorators: [{
118
+ type: Component,
119
+ args: [{ selector: 'fs-content-pages', changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-list [config]=\"listConfig\">\n <fs-list-column name=\"name\" title=\"Name\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a (click)=\"openEditor(row)\">{{row.name}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"path\" title=\"Path\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n <a [href]=\"'/' + row.path\" target=\"_black\">/{{row.path}}</a>\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"layout\" title=\"Layout\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.contentLayout?.name}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"type\" title=\"Type\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{pageTypes[row.type]}}\n </ng-template>\n </fs-list-column>\n <fs-list-column name=\"modify_date\" title=\"Modified\" [sortable]=\"true\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.modifyDate | fsDate: 'date-time-yearless'}}\n </ng-template>\n </fs-list-column>\n</fs-list>\n", styles: [":host ::ng-deep .modified,:host ::ng-deep .name{width:1%;white-space:nowrap}:host ::ng-deep .preview-content img{display:none}.preview-content{position:relative;max-height:100px;max-width:100%;overflow:hidden;-webkit-mask-image:-webkit-gradient(linear,left 60%,left bottom,from(black),to(rgba(0,0,0,0)))}\n"] }]
120
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
121
+ type: Inject,
122
+ args: [FS_CONTENT_CONFIG]
123
+ }] }, { type: i1.MatDialog }]; }, propDecorators: { htmlEditorConfig: [{
124
+ type: Input
125
+ }], listComponent: [{
126
+ type: ViewChild,
127
+ args: [FsListComponent]
128
+ }] } });
129
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvY29udGVudC1wYWdlcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUdMLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFFckQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUU5QyxPQUFPLEVBQUUsZUFBZSxFQUFnQixNQUFNLGtCQUFrQixDQUFDO0FBRWpFLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsU0FBUyxFQUFFLE1B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HtcbiAgICAgICAgICAgIHRoaXMub3BlbkNvbnRlbnRQYWdlKHtcbiAgICAgICAgICAgICAgdHlwZTogUGFnZVR5cGUuU3RhbmRhcmRQYWdlLFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgZmlsdGVyKChjb250ZW50UGFnZSkgPT4gISFjb250ZW50UGFnZSksXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgLnN1YnNjcmliZSgoY29udGVudFBhZ2UpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLm9wZW5FZGl0b3IoY29udGVudFBhZ2UpO1xuICAgICAgICAgICAgICAgIHRoaXMubGlzdENvbXBvbmVudC5yZWxvYWQoKTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgICByb3dBY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBjbGljazogKGRhdGEpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9jb25maWcuZGVsZXRlQ29udGVudFBhZ2UoZGF0YSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgICByZW1vdmU6IHtcbiAgICAgICAgICAgIHRpdGxlOiAnQ29uZmlybScsXG4gICAgICAgICAgICB0ZW1wbGF0ZTogJ0FyZSB5b3Ugc3VyZSB5b3Ugd291bGQgbGlrZSB0byBkZWxldGUgdGhpcyByZWNvcmQ/JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIG1lbnU6IHRydWUsXG4gICAgICAgICAgbGFiZWw6ICdEZWxldGUnLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIGZldGNoOiAocXVlcnkpID0+IHtcbiAgICAgICAgcXVlcnkgPSB7XG4gICAgICAgICAgY29udGVudExheW91dHM6IHRydWUsXG4gICAgICAgICAgLi4ucXVlcnksXG4gICAgICAgIH07XG5cbiAgICAgICAgcmV0dXJuIHRoaXMuX2Nvb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ages.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2NvbnRlbnQtcGFnZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGVudC1wYWdlcy5jb21wb25lbnQnO1xuIl19
@@ -1,4 +1,4 @@
1
- export * from './content-page';
2
- export * from './content-page-editor';
3
- export * from './content-pages';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LXBhZ2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbnRlbnQtcGFnZS1lZGl0b3InO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbnRlbnQtcGFnZXMnO1xyXG4iXX0=
1
+ export * from './content-page';
2
+ export * from './content-page-editor';
3
+ export * from './content-pages';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LXBhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9jb250ZW50LXBhZ2UtZWRpdG9yJztcbmV4cG9ydCAqIGZyb20gJy4vY29udGVudC1wYWdlcyc7XG4iXX0=
@@ -1,121 +1,121 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { FormsModule } from '@angular/forms';
4
- import { RouterModule } from '@angular/router';
5
- import { MatButtonModule } from '@angular/material/button';
6
- import { MatButtonToggleModule } from '@angular/material/button-toggle';
7
- import { MatDialogModule } from '@angular/material/dialog';
8
- import { MatFormFieldModule } from '@angular/material/form-field';
9
- import { MatIconModule } from '@angular/material/icon';
10
- import { MatInputModule } from '@angular/material/input';
11
- import { MatSelectModule } from '@angular/material/select';
12
- import { MatTabsModule } from '@angular/material/tabs';
13
- import { MatTooltipModule } from '@angular/material/tooltip';
14
- import { FsCommonModule } from '@firestitch/common';
15
- import { FsDateModule } from '@firestitch/date';
16
- import { FsDialogModule } from '@firestitch/dialog';
17
- import { FsFormModule } from '@firestitch/form';
18
- import { FsHtmlEditorModule } from '@firestitch/html-editor';
19
- import { FsLabelModule } from '@firestitch/label';
20
- import { FsListModule } from '@firestitch/list';
21
- import { FsSkeletonModule } from '@firestitch/skeleton';
22
- import { FsTextEditorModule } from '@firestitch/text-editor';
23
- import { FsContentEditorModule } from '../editor';
24
- import { ContentPageEditorComponent } from './components';
25
- import { ContentPageComponent } from './components/content-page';
26
- import { FsContentPagesComponent } from './components/content-pages';
27
- import * as i0 from "@angular/core";
28
- export class FsContentPagesModule {
29
- static forRoot() {
30
- return {
31
- ngModule: FsContentPagesModule,
32
- };
33
- }
34
- }
35
- FsContentPagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
- FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, declarations: [FsContentPagesComponent,
37
- ContentPageComponent,
38
- ContentPageEditorComponent], imports: [CommonModule,
39
- FormsModule,
40
- RouterModule,
41
- MatDialogModule,
42
- MatInputModule,
43
- MatFormFieldModule,
44
- MatButtonModule,
45
- MatTabsModule,
46
- MatIconModule,
47
- MatSelectModule,
48
- MatButtonToggleModule,
49
- MatTooltipModule,
50
- FsListModule,
51
- FsDateModule,
52
- FsCommonModule,
53
- FsFormModule,
54
- FsLabelModule,
55
- FsSkeletonModule,
56
- FsHtmlEditorModule,
57
- FsDialogModule,
58
- FsTextEditorModule,
59
- FsContentEditorModule], exports: [FsContentPagesComponent] });
60
- FsContentPagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, imports: [[
61
- CommonModule,
62
- FormsModule,
63
- RouterModule,
64
- MatDialogModule,
65
- MatInputModule,
66
- MatFormFieldModule,
67
- MatButtonModule,
68
- MatTabsModule,
69
- MatIconModule,
70
- MatSelectModule,
71
- MatButtonToggleModule,
72
- MatTooltipModule,
73
- FsListModule,
74
- FsDateModule,
75
- FsCommonModule,
76
- FsFormModule,
77
- FsLabelModule,
78
- FsSkeletonModule,
79
- FsHtmlEditorModule,
80
- FsDialogModule,
81
- FsTextEditorModule,
82
- FsContentEditorModule,
83
- ]] });
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, decorators: [{
85
- type: NgModule,
86
- args: [{
87
- imports: [
88
- CommonModule,
89
- FormsModule,
90
- RouterModule,
91
- MatDialogModule,
92
- MatInputModule,
93
- MatFormFieldModule,
94
- MatButtonModule,
95
- MatTabsModule,
96
- MatIconModule,
97
- MatSelectModule,
98
- MatButtonToggleModule,
99
- MatTooltipModule,
100
- FsListModule,
101
- FsDateModule,
102
- FsCommonModule,
103
- FsFormModule,
104
- FsLabelModule,
105
- FsSkeletonModule,
106
- FsHtmlEditorModule,
107
- FsDialogModule,
108
- FsTextEditorModule,
109
- FsContentEditorModule,
110
- ],
111
- exports: [
112
- FsContentPagesComponent,
113
- ],
114
- declarations: [
115
- FsContentPagesComponent,
116
- ContentPageComponent,
117
- ContentPageEditorComponent,
118
- ],
119
- }]
120
- }] });
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FormsModule } from '@angular/forms';
4
+ import { RouterModule } from '@angular/router';
5
+ import { MatButtonModule } from '@angular/material/button';
6
+ import { MatButtonToggleModule } from '@angular/material/button-toggle';
7
+ import { MatDialogModule } from '@angular/material/dialog';
8
+ import { MatFormFieldModule } from '@angular/material/form-field';
9
+ import { MatIconModule } from '@angular/material/icon';
10
+ import { MatInputModule } from '@angular/material/input';
11
+ import { MatSelectModule } from '@angular/material/select';
12
+ import { MatTabsModule } from '@angular/material/tabs';
13
+ import { MatTooltipModule } from '@angular/material/tooltip';
14
+ import { FsCommonModule } from '@firestitch/common';
15
+ import { FsDateModule } from '@firestitch/date';
16
+ import { FsDialogModule } from '@firestitch/dialog';
17
+ import { FsFormModule } from '@firestitch/form';
18
+ import { FsHtmlEditorModule } from '@firestitch/html-editor';
19
+ import { FsLabelModule } from '@firestitch/label';
20
+ import { FsListModule } from '@firestitch/list';
21
+ import { FsSkeletonModule } from '@firestitch/skeleton';
22
+ import { FsTextEditorModule } from '@firestitch/text-editor';
23
+ import { FsContentEditorModule } from '../editor';
24
+ import { ContentPageEditorComponent } from './components';
25
+ import { ContentPageComponent } from './components/content-page';
26
+ import { FsContentPagesComponent } from './components/content-pages';
27
+ import * as i0 from "@angular/core";
28
+ export class FsContentPagesModule {
29
+ static forRoot() {
30
+ return {
31
+ ngModule: FsContentPagesModule,
32
+ };
33
+ }
34
+ }
35
+ FsContentPagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ FsContentPagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, declarations: [FsContentPagesComponent,
37
+ ContentPageComponent,
38
+ ContentPageEditorComponent], imports: [CommonModule,
39
+ FormsModule,
40
+ RouterModule,
41
+ MatDialogModule,
42
+ MatInputModule,
43
+ MatFormFieldModule,
44
+ MatButtonModule,
45
+ MatTabsModule,
46
+ MatIconModule,
47
+ MatSelectModule,
48
+ MatButtonToggleModule,
49
+ MatTooltipModule,
50
+ FsListModule,
51
+ FsDateModule,
52
+ FsCommonModule,
53
+ FsFormModule,
54
+ FsLabelModule,
55
+ FsSkeletonModule,
56
+ FsHtmlEditorModule,
57
+ FsDialogModule,
58
+ FsTextEditorModule,
59
+ FsContentEditorModule], exports: [FsContentPagesComponent] });
60
+ FsContentPagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, imports: [[
61
+ CommonModule,
62
+ FormsModule,
63
+ RouterModule,
64
+ MatDialogModule,
65
+ MatInputModule,
66
+ MatFormFieldModule,
67
+ MatButtonModule,
68
+ MatTabsModule,
69
+ MatIconModule,
70
+ MatSelectModule,
71
+ MatButtonToggleModule,
72
+ MatTooltipModule,
73
+ FsListModule,
74
+ FsDateModule,
75
+ FsCommonModule,
76
+ FsFormModule,
77
+ FsLabelModule,
78
+ FsSkeletonModule,
79
+ FsHtmlEditorModule,
80
+ FsDialogModule,
81
+ FsTextEditorModule,
82
+ FsContentEditorModule,
83
+ ]] });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsContentPagesModule, decorators: [{
85
+ type: NgModule,
86
+ args: [{
87
+ imports: [
88
+ CommonModule,
89
+ FormsModule,
90
+ RouterModule,
91
+ MatDialogModule,
92
+ MatInputModule,
93
+ MatFormFieldModule,
94
+ MatButtonModule,
95
+ MatTabsModule,
96
+ MatIconModule,
97
+ MatSelectModule,
98
+ MatButtonToggleModule,
99
+ MatTooltipModule,
100
+ FsListModule,
101
+ FsDateModule,
102
+ FsCommonModule,
103
+ FsFormModule,
104
+ FsLabelModule,
105
+ FsSkeletonModule,
106
+ FsHtmlEditorModule,
107
+ FsDialogModule,
108
+ FsTextEditorModule,
109
+ FsContentEditorModule,
110
+ ],
111
+ exports: [
112
+ FsContentPagesComponent,
113
+ ],
114
+ declarations: [
115
+ FsContentPagesComponent,
116
+ ContentPageComponent,
117
+ ContentPageEditorComponent,
118
+ ],
119
+ }]
120
+ }] });
121
121
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtY29udGVudC1wYWdlcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvY29udGVudC1wYWdlcy9mcy1jb250ZW50LXBhZ2VzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxP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