@dotcms/angular 1.0.0 → 1.0.2-next.2
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/fesm2022/dotcms-angular.mjs +97 -105
- package/fesm2022/dotcms-angular.mjs.map +1 -1
- package/lib/components/dotcms-block-editor-renderer/blocks/dot-contentlet.component.d.ts.map +1 -1
- package/lib/components/dotcms-block-editor-renderer/blocks/table.component.d.ts.map +1 -1
- package/lib/components/dotcms-block-editor-renderer/dotcms-block-editor-renderer.component.d.ts.map +1 -1
- package/lib/components/dotcms-block-editor-renderer/item/dotcms-block-editor-item.component.d.ts.map +1 -1
- package/lib/components/dotcms-editable-text/dotcms-editable-text.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/column/column.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/container/components/container-not-found/container-not-found.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/container/components/empty-container/empty-container.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/container/container.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/fallback-component/fallback-component.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/page-error-message/page-error-message.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/components/row/row.component.d.ts.map +1 -1
- package/lib/components/dotcms-layout-body/dotcms-layout-body.component.d.ts.map +1 -1
- package/lib/providers/dotcms-client/dotcms-client.provider.d.ts.map +1 -1
- package/package.json +6 -8
- package/esm2022/dotcms-angular.mjs +0 -5
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/code.component.mjs +0 -49
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/dot-contentlet.component.mjs +0 -125
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/image.component.mjs +0 -25
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/list.component.mjs +0 -66
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/table.component.mjs +0 -97
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/text.component.mjs +0 -231
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/unknown.component.mjs +0 -65
- package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/video.component.mjs +0 -48
- package/esm2022/lib/components/dotcms-block-editor-renderer/dotcms-block-editor-renderer.component.mjs +0 -50
- package/esm2022/lib/components/dotcms-block-editor-renderer/item/dotcms-block-editor-item.component.mjs +0 -45
- package/esm2022/lib/components/dotcms-editable-text/dotcms-editable-text.component.mjs +0 -240
- package/esm2022/lib/components/dotcms-editable-text/utils.mjs +0 -20
- package/esm2022/lib/components/dotcms-layout-body/components/column/column.component.mjs +0 -45
- package/esm2022/lib/components/dotcms-layout-body/components/container/components/container-not-found/container-not-found.component.mjs +0 -52
- package/esm2022/lib/components/dotcms-layout-body/components/container/components/empty-container/empty-container.component.mjs +0 -47
- package/esm2022/lib/components/dotcms-layout-body/components/container/container.component.mjs +0 -99
- package/esm2022/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.mjs +0 -145
- package/esm2022/lib/components/dotcms-layout-body/components/fallback-component/fallback-component.component.mjs +0 -47
- package/esm2022/lib/components/dotcms-layout-body/components/page-error-message/page-error-message.component.mjs +0 -55
- package/esm2022/lib/components/dotcms-layout-body/components/row/row.component.mjs +0 -46
- package/esm2022/lib/components/dotcms-layout-body/dotcms-layout-body.component.mjs +0 -69
- package/esm2022/lib/directives/dotcms-show-when/dotcms-show-when.directive.mjs +0 -49
- package/esm2022/lib/models/index.mjs +0 -3
- package/esm2022/lib/providers/dotcms-client/dotcms-client.provider.mjs +0 -52
- package/esm2022/lib/providers/dotcms-image-loader/dotcms-image_loader.mjs +0 -74
- package/esm2022/lib/services/dotcms-editable-page.service.mjs +0 -93
- package/esm2022/lib/store/dotcms.store.mjs +0 -61
- package/esm2022/public_api.mjs +0 -8
|
@@ -43,10 +43,10 @@ class DotCMSShowWhenDirective {
|
|
|
43
43
|
this.#hasView = false;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
47
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSShowWhenDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
47
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: DotCMSShowWhenDirective, isStandalone: true, selector: "[dotCMSShowWhen]", inputs: { dotCMSShowWhen: "dotCMSShowWhen" }, ngImport: i0 }); }
|
|
48
48
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSShowWhenDirective, decorators: [{
|
|
50
50
|
type: Directive,
|
|
51
51
|
args: [{
|
|
52
52
|
selector: '[dotCMSShowWhen]',
|
|
@@ -391,8 +391,8 @@ class DotCMSEditableTextComponent {
|
|
|
391
391
|
didContentChange(editedContent) {
|
|
392
392
|
return this.content !== editedContent;
|
|
393
393
|
}
|
|
394
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
395
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
394
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSEditableTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
395
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotCMSEditableTextComponent, isStandalone: true, selector: "dotcms-editable-text", inputs: { mode: "mode", format: "format", contentlet: "contentlet", fieldName: "fieldName" }, host: { listeners: { "window:message": "onMessage($event)" } }, providers: [
|
|
396
396
|
{
|
|
397
397
|
provide: TINYMCE_SCRIPT_SRC,
|
|
398
398
|
useFactory: () => {
|
|
@@ -402,9 +402,9 @@ class DotCMSEditableTextComponent {
|
|
|
402
402
|
}
|
|
403
403
|
], viewQueries: [{ propertyName: "editorComponent", first: true, predicate: EditorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (isEditMode) {\n <editor\n #tinyEditor\n [init]=\"init\"\n [initialValue]=\"content\"\n (onMouseDown)=\"onMouseDown($event)\"\n (onFocusOut)=\"onFocusOut()\" />\n}\n", styles: [":host ::ng-deep .mce-content-body:not(.mce-edit-focus){outline:2px solid #006ce7;border-radius:4px}\n"], dependencies: [{ kind: "component", type: EditorComponent, selector: "editor", inputs: ["cloudChannel", "apiKey", "init", "id", "initialValue", "outputFormat", "inline", "tagName", "plugins", "toolbar", "modelEvents", "allowedEvents", "ignoreEvents", "disabled"] }] }); }
|
|
404
404
|
}
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSEditableTextComponent, decorators: [{
|
|
406
406
|
type: Component,
|
|
407
|
-
args: [{ selector: 'dotcms-editable-text',
|
|
407
|
+
args: [{ selector: 'dotcms-editable-text', imports: [EditorComponent], providers: [
|
|
408
408
|
{
|
|
409
409
|
provide: TINYMCE_SCRIPT_SRC,
|
|
410
410
|
useFactory: () => {
|
|
@@ -430,8 +430,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
430
430
|
}] } });
|
|
431
431
|
|
|
432
432
|
class DotCodeBlock {
|
|
433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
434
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
433
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCodeBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
434
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotCodeBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-code-block", ngImport: i0, template: `
|
|
435
435
|
<pre>
|
|
436
436
|
<code>
|
|
437
437
|
<ng-content />
|
|
@@ -439,7 +439,7 @@ class DotCodeBlock {
|
|
|
439
439
|
</pre>
|
|
440
440
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
441
441
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCodeBlock, decorators: [{
|
|
443
443
|
type: Component,
|
|
444
444
|
args: [{
|
|
445
445
|
selector: 'dotcms-block-editor-renderer-code-block',
|
|
@@ -455,14 +455,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
455
455
|
}]
|
|
456
456
|
}] });
|
|
457
457
|
class DotBlockQuote {
|
|
458
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
459
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotBlockQuote, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotBlockQuote, isStandalone: true, selector: "dotcms-block-editor-renderer-block-quote", ngImport: i0, template: `
|
|
460
460
|
<blockquote>
|
|
461
461
|
<ng-content />
|
|
462
462
|
</blockquote>
|
|
463
463
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
464
464
|
}
|
|
465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotBlockQuote, decorators: [{
|
|
466
466
|
type: Component,
|
|
467
467
|
args: [{
|
|
468
468
|
selector: 'dotcms-block-editor-renderer-block-quote',
|
|
@@ -488,8 +488,8 @@ class NoComponentProvided {
|
|
|
488
488
|
border: '1px solid #ed8936'
|
|
489
489
|
};
|
|
490
490
|
}
|
|
491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
492
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: NoComponentProvided, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
492
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: NoComponentProvided, isStandalone: true, selector: "dotcms-no-component-provided", inputs: { contentType: "contentType" }, ngImport: i0, template: `
|
|
493
493
|
<div data-testid="no-component-provided" [style]="style">
|
|
494
494
|
<strong style="color: #c05621">Dev Warning</strong>
|
|
495
495
|
: No component or custom renderer provided for content type
|
|
@@ -508,7 +508,7 @@ class NoComponentProvided {
|
|
|
508
508
|
</div>
|
|
509
509
|
`, isInline: true }); }
|
|
510
510
|
}
|
|
511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: NoComponentProvided, decorators: [{
|
|
512
512
|
type: Component,
|
|
513
513
|
args: [{
|
|
514
514
|
selector: 'dotcms-no-component-provided',
|
|
@@ -558,8 +558,8 @@ class DotContentletBlock {
|
|
|
558
558
|
console.warn(this.DOT_CONTENT_NO_MATCHING_COMPONENT_MESSAGE(contentType));
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
562
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
561
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotContentletBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
562
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotContentletBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-contentlet", inputs: { customRenderers: "customRenderers", attrs: "attrs" }, ngImport: i0, template: `
|
|
563
563
|
@if (contentComponent) {
|
|
564
564
|
<ng-container
|
|
565
565
|
*ngComponentOutlet="
|
|
@@ -569,13 +569,12 @@ class DotContentletBlock {
|
|
|
569
569
|
} @else if (isDevMode) {
|
|
570
570
|
<dotcms-no-component-provided [contentType]="$data()?.contentType" />
|
|
571
571
|
}
|
|
572
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: NoComponentProvided, selector: "dotcms-no-component-provided", inputs: ["contentType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
572
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: NoComponentProvided, selector: "dotcms-no-component-provided", inputs: ["contentType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
573
573
|
}
|
|
574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotContentletBlock, decorators: [{
|
|
575
575
|
type: Component,
|
|
576
576
|
args: [{
|
|
577
577
|
selector: 'dotcms-block-editor-renderer-contentlet',
|
|
578
|
-
standalone: true,
|
|
579
578
|
imports: [NgComponentOutlet, AsyncPipe, NoComponentProvided],
|
|
580
579
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
581
580
|
template: `
|
|
@@ -600,12 +599,12 @@ class DotImageBlock {
|
|
|
600
599
|
constructor() {
|
|
601
600
|
this.$srcURL = computed(() => this.attrs?.['src']);
|
|
602
601
|
}
|
|
603
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
604
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
602
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotImageBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
603
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotImageBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-image", inputs: { attrs: "attrs" }, ngImport: i0, template: `
|
|
605
604
|
<img [alt]="attrs?.['alt']" [src]="$srcURL()" />
|
|
606
605
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
607
606
|
}
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotImageBlock, decorators: [{
|
|
609
608
|
type: Component,
|
|
610
609
|
args: [{
|
|
611
610
|
selector: 'dotcms-block-editor-renderer-image',
|
|
@@ -620,14 +619,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
620
619
|
}] } });
|
|
621
620
|
|
|
622
621
|
class DotBulletList {
|
|
623
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
624
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
622
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotBulletList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
623
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotBulletList, isStandalone: true, selector: "dotcms-block-editor-renderer-bullet-list", ngImport: i0, template: `
|
|
625
624
|
<ul>
|
|
626
625
|
<ng-content />
|
|
627
626
|
</ul>
|
|
628
627
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
629
628
|
}
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotBulletList, decorators: [{
|
|
631
630
|
type: Component,
|
|
632
631
|
args: [{
|
|
633
632
|
selector: 'dotcms-block-editor-renderer-bullet-list',
|
|
@@ -641,14 +640,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
641
640
|
}]
|
|
642
641
|
}] });
|
|
643
642
|
class DotOrdererList {
|
|
644
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
645
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotOrdererList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
644
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotOrdererList, isStandalone: true, selector: "dotcms-block-editor-renderer-ordered-list", ngImport: i0, template: `
|
|
646
645
|
<ol>
|
|
647
646
|
<ng-content />
|
|
648
647
|
</ol>
|
|
649
648
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
650
649
|
}
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotOrdererList, decorators: [{
|
|
652
651
|
type: Component,
|
|
653
652
|
args: [{
|
|
654
653
|
selector: 'dotcms-block-editor-renderer-ordered-list',
|
|
@@ -662,14 +661,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
662
661
|
}]
|
|
663
662
|
}] });
|
|
664
663
|
class DotListItem {
|
|
665
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
666
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotListItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
665
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotListItem, isStandalone: true, selector: "dotcms-block-editor-renderer-list-item", ngImport: i0, template: `
|
|
667
666
|
<li>
|
|
668
667
|
<ng-content />
|
|
669
668
|
</li>
|
|
670
669
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
671
670
|
}
|
|
672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotListItem, decorators: [{
|
|
673
672
|
type: Component,
|
|
674
673
|
args: [{
|
|
675
674
|
selector: 'dotcms-block-editor-renderer-list-item',
|
|
@@ -687,8 +686,8 @@ class DotTableBlock {
|
|
|
687
686
|
constructor() {
|
|
688
687
|
this.blockEditorItem = DotCMSBlockEditorItemComponent;
|
|
689
688
|
}
|
|
690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotTableBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
690
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotTableBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-table", inputs: { content: "content" }, ngImport: i0, template: `
|
|
692
691
|
<table>
|
|
693
692
|
<thead>
|
|
694
693
|
@for (rowNode of content?.slice(0, 1); track rowNode.type) {
|
|
@@ -725,13 +724,12 @@ class DotTableBlock {
|
|
|
725
724
|
}
|
|
726
725
|
</tbody>
|
|
727
726
|
</table>
|
|
728
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] }); }
|
|
727
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }] }); }
|
|
729
728
|
}
|
|
730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotTableBlock, decorators: [{
|
|
731
730
|
type: Component,
|
|
732
731
|
args: [{
|
|
733
732
|
selector: 'dotcms-block-editor-renderer-table',
|
|
734
|
-
standalone: true,
|
|
735
733
|
imports: [NgComponentOutlet],
|
|
736
734
|
template: `
|
|
737
735
|
<table>
|
|
@@ -777,14 +775,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
777
775
|
}] } });
|
|
778
776
|
|
|
779
777
|
class DotParagraphBlock {
|
|
780
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
781
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotParagraphBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
779
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotParagraphBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-paragraph", ngImport: i0, template: `
|
|
782
780
|
<p>
|
|
783
781
|
<ng-content />
|
|
784
782
|
</p>
|
|
785
783
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
786
784
|
}
|
|
787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotParagraphBlock, decorators: [{
|
|
788
786
|
type: Component,
|
|
789
787
|
args: [{
|
|
790
788
|
selector: 'dotcms-block-editor-renderer-paragraph',
|
|
@@ -798,8 +796,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
|
|
|
798
796
|
}]
|
|
799
797
|
}] });
|
|
800
798
|
class DotHeadingBlock {
|
|
801
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
802
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
799
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotHeadingBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
800
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotHeadingBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-heading", inputs: { level: "level" }, ngImport: i0, template: `
|
|
803
801
|
@switch (level) {
|
|
804
802
|
@case ('1') {
|
|
805
803
|
<h1>
|
|
@@ -839,7 +837,7 @@ class DotHeadingBlock {
|
|
|
839
837
|
}
|
|
840
838
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
841
839
|
}
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotHeadingBlock, decorators: [{
|
|
843
841
|
type: Component,
|
|
844
842
|
args: [{
|
|
845
843
|
selector: 'dotcms-block-editor-renderer-heading',
|
|
@@ -902,8 +900,8 @@ class DotTextBlock {
|
|
|
902
900
|
return attrs;
|
|
903
901
|
});
|
|
904
902
|
}
|
|
905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
906
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotTextBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
904
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotTextBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-text", inputs: { marks: "marks", text: "text" }, ngImport: i0, template: `
|
|
907
905
|
@switch (marks?.[0]?.type) {
|
|
908
906
|
@case ('link') {
|
|
909
907
|
<a
|
|
@@ -948,7 +946,7 @@ class DotTextBlock {
|
|
|
948
946
|
}
|
|
949
947
|
`, isInline: true, dependencies: [{ kind: "component", type: DotTextBlock, selector: "dotcms-block-editor-renderer-text", inputs: ["marks", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
950
948
|
}
|
|
951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotTextBlock, decorators: [{
|
|
952
950
|
type: Component,
|
|
953
951
|
args: [{
|
|
954
952
|
selector: 'dotcms-block-editor-renderer-text',
|
|
@@ -1020,8 +1018,8 @@ class DotUnknownBlockComponent {
|
|
|
1020
1018
|
get isEditMode() {
|
|
1021
1019
|
return getUVEState()?.mode === UVE_MODE.EDIT;
|
|
1022
1020
|
}
|
|
1023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1024
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1021
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotUnknownBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1022
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotUnknownBlockComponent, isStandalone: true, selector: "dotcms-block-editor-renderer-unknown", inputs: { node: "node" }, ngImport: i0, template: `
|
|
1025
1023
|
@if (isEditMode) {
|
|
1026
1024
|
<div [style]="style" data-testid="unknown-block-type">
|
|
1027
1025
|
<strong style="color: #c53030">Warning:</strong>
|
|
@@ -1039,7 +1037,7 @@ class DotUnknownBlockComponent {
|
|
|
1039
1037
|
}
|
|
1040
1038
|
`, isInline: true }); }
|
|
1041
1039
|
}
|
|
1042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotUnknownBlockComponent, decorators: [{
|
|
1043
1041
|
type: Component,
|
|
1044
1042
|
args: [{
|
|
1045
1043
|
selector: 'dotcms-block-editor-renderer-unknown',
|
|
@@ -1071,8 +1069,8 @@ class DotVideoBlock {
|
|
|
1071
1069
|
this.$srcURL = computed(() => this.attrs?.['src']);
|
|
1072
1070
|
this.$posterURL = computed(() => this.attrs?.['data']?.['thumbnail']);
|
|
1073
1071
|
}
|
|
1074
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1075
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotVideoBlock, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1073
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DotVideoBlock, isStandalone: true, selector: "dotcms-block-editor-renderer-video", inputs: { attrs: "attrs" }, ngImport: i0, template: `
|
|
1076
1074
|
<video
|
|
1077
1075
|
[controls]="true"
|
|
1078
1076
|
preload="metadata"
|
|
@@ -1087,7 +1085,7 @@ class DotVideoBlock {
|
|
|
1087
1085
|
</video>
|
|
1088
1086
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1089
1087
|
}
|
|
1090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotVideoBlock, decorators: [{
|
|
1091
1089
|
type: Component,
|
|
1092
1090
|
args: [{
|
|
1093
1091
|
selector: 'dotcms-block-editor-renderer-video',
|
|
@@ -1116,12 +1114,12 @@ class DotCMSBlockEditorItemComponent {
|
|
|
1116
1114
|
constructor() {
|
|
1117
1115
|
this.BLOCKS = BlockEditorDefaultBlocks;
|
|
1118
1116
|
}
|
|
1119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSBlockEditorItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotCMSBlockEditorItemComponent, isStandalone: true, selector: "dotcms-block-editor-renderer-block", inputs: { content: "content", customRenderers: "customRenderers" }, ngImport: i0, template: "@for (node of content; track node) {\n @if (customRenderers?.[node.type]) {\n <ng-container\n *ngTemplateOutlet=\"\n customRender;\n context: { customRender: customRenderers?.[node.type], node: node }\n \"></ng-container>\n } @else {\n @switch (node.type) {\n @case (BLOCKS.PARAGRAPH) {\n <dotcms-block-editor-renderer-paragraph [style]=\"node.attrs\">\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-paragraph>\n }\n\n @case (BLOCKS.TEXT) {\n <dotcms-block-editor-renderer-text [marks]=\"node.marks\" [text]=\"node.text || ''\" />\n }\n\n @case (BLOCKS.HEADING) {\n <dotcms-block-editor-renderer-heading\n [style]=\"node.attrs || {}\"\n [level]=\"node.attrs?.['level'] || '1'\">\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-heading>\n }\n\n @case (BLOCKS.BULLET_LIST) {\n <dotcms-block-editor-renderer-bullet-list>\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-bullet-list>\n }\n\n @case (BLOCKS.ORDERED_LIST) {\n <dotcms-block-editor-renderer-ordered-list>\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-ordered-list>\n }\n\n @case (BLOCKS.LIST_ITEM) {\n <dotcms-block-editor-renderer-list-item>\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-list-item>\n }\n\n @case (BLOCKS.BLOCK_QUOTE) {\n <dotcms-block-editor-renderer-block-quote>\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-block-quote>\n }\n\n @case (BLOCKS.CODE_BLOCK) {\n <dotcms-block-editor-renderer-code-block>\n <dotcms-block-editor-renderer-block\n [content]=\"node.content\"\n [customRenderers]=\"customRenderers\" />\n </dotcms-block-editor-renderer-code-block>\n }\n\n @case (BLOCKS.HARDBREAK) {\n <br />\n }\n\n @case (BLOCKS.HORIZONTAL_RULE) {\n <hr />\n }\n\n @case (BLOCKS.DOT_IMAGE) {\n <dotcms-block-editor-renderer-image [attrs]=\"node.attrs || {}\" />\n }\n\n @case (BLOCKS.DOT_VIDEO) {\n <dotcms-block-editor-renderer-video [attrs]=\"node.attrs || {}\" />\n }\n\n @case (BLOCKS.TABLE) {\n <dotcms-block-editor-renderer-table [content]=\"node.content\" />\n }\n\n @case (BLOCKS.DOT_CONTENT) {\n <dotcms-block-editor-renderer-contentlet\n [attrs]=\"node.attrs || {}\"\n [customRenderers]=\"customRenderers\" />\n }\n\n @default {\n <dotcms-block-editor-renderer-unknown [node]=\"node\" />\n }\n }\n }\n}\n\n<ng-template #customRender let-customRender=\"customRender\" let-node=\"node\">\n <ng-container\n *ngComponentOutlet=\"customRender | async; inputs: { content: node }\"></ng-container>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "component", type: DotCMSBlockEditorItemComponent, selector: "dotcms-block-editor-renderer-block", inputs: ["content", "customRenderers"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: DotParagraphBlock, selector: "dotcms-block-editor-renderer-paragraph" }, { kind: "component", type: DotTextBlock, selector: "dotcms-block-editor-renderer-text", inputs: ["marks", "text"] }, { kind: "component", type: DotHeadingBlock, selector: "dotcms-block-editor-renderer-heading", inputs: ["level"] }, { kind: "component", type: DotBulletList, selector: "dotcms-block-editor-renderer-bullet-list" }, { kind: "component", type: DotOrdererList, selector: "dotcms-block-editor-renderer-ordered-list" }, { kind: "component", type: DotListItem, selector: "dotcms-block-editor-renderer-list-item" }, { kind: "component", type: DotCodeBlock, selector: "dotcms-block-editor-renderer-code-block" }, { kind: "component", type: DotBlockQuote, selector: "dotcms-block-editor-renderer-block-quote" }, { kind: "component", type: DotImageBlock, selector: "dotcms-block-editor-renderer-image", inputs: ["attrs"] }, { kind: "component", type: DotVideoBlock, selector: "dotcms-block-editor-renderer-video", inputs: ["attrs"] }, { kind: "component", type: DotTableBlock, selector: "dotcms-block-editor-renderer-table", inputs: ["content"] }, { kind: "component", type: DotContentletBlock, selector: "dotcms-block-editor-renderer-contentlet", inputs: ["customRenderers", "attrs"] }, { kind: "component", type: DotUnknownBlockComponent, selector: "dotcms-block-editor-renderer-unknown", inputs: ["node"] }] }); }
|
|
1121
1119
|
}
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSBlockEditorItemComponent, decorators: [{
|
|
1123
1121
|
type: Component,
|
|
1124
|
-
args: [{ selector: 'dotcms-block-editor-renderer-block',
|
|
1122
|
+
args: [{ selector: 'dotcms-block-editor-renderer-block', imports: [
|
|
1125
1123
|
NgTemplateOutlet,
|
|
1126
1124
|
NgComponentOutlet,
|
|
1127
1125
|
AsyncPipe,
|
|
@@ -1173,12 +1171,12 @@ class DotCMSBlockEditorRendererComponent {
|
|
|
1173
1171
|
}
|
|
1174
1172
|
this.$blockEditorState.set(isValidBlocks(this.blocks));
|
|
1175
1173
|
}
|
|
1176
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1177
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSBlockEditorRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1175
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotCMSBlockEditorRendererComponent, isStandalone: true, selector: "dotcms-block-editor-renderer", inputs: { blocks: "blocks", customRenderers: "customRenderers", class: "class", style: "style" }, ngImport: i0, template: "@if ($blockEditorState().error && $isInEditMode()) {\n <div data-testid=\"invalid-blocks-message\">\n {{ $blockEditorState().error }}\n </div>\n} @else if (!$blockEditorState().error) {\n <div [class]=\"class\" [style]=\"style\">\n <dotcms-block-editor-renderer-block\n [content]=\"blocks.content\"\n [customRenderers]=\"customRenderers\" />\n </div>\n}\n", styles: [""], dependencies: [{ kind: "component", type: DotCMSBlockEditorItemComponent, selector: "dotcms-block-editor-renderer-block", inputs: ["content", "customRenderers"] }] }); }
|
|
1178
1176
|
}
|
|
1179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSBlockEditorRendererComponent, decorators: [{
|
|
1180
1178
|
type: Component,
|
|
1181
|
-
args: [{ selector: 'dotcms-block-editor-renderer',
|
|
1179
|
+
args: [{ selector: 'dotcms-block-editor-renderer', imports: [DotCMSBlockEditorItemComponent], template: "@if ($blockEditorState().error && $isInEditMode()) {\n <div data-testid=\"invalid-blocks-message\">\n {{ $blockEditorState().error }}\n </div>\n} @else if (!$blockEditorState().error) {\n <div [class]=\"class\" [style]=\"style\">\n <dotcms-block-editor-renderer-block\n [content]=\"blocks.content\"\n [customRenderers]=\"customRenderers\" />\n </div>\n}\n" }]
|
|
1182
1180
|
}], propDecorators: { blocks: [{
|
|
1183
1181
|
type: Input
|
|
1184
1182
|
}], customRenderers: [{
|
|
@@ -1198,8 +1196,8 @@ class PageErrorMessageComponent {
|
|
|
1198
1196
|
ngOnInit() {
|
|
1199
1197
|
console.warn('Missing required layout.body property in page');
|
|
1200
1198
|
}
|
|
1201
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1202
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PageErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1200
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: PageErrorMessageComponent, isStandalone: true, selector: "dotcms-page-error-message", ngImport: i0, template: `
|
|
1203
1201
|
<div
|
|
1204
1202
|
data-testid="error-message"
|
|
1205
1203
|
style="padding: 1rem; border: 1px solid #e0e0e0; border-radius: 4px;">
|
|
@@ -1216,11 +1214,10 @@ class PageErrorMessageComponent {
|
|
|
1216
1214
|
</div>
|
|
1217
1215
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1218
1216
|
}
|
|
1219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PageErrorMessageComponent, decorators: [{
|
|
1220
1218
|
type: Component,
|
|
1221
1219
|
args: [{
|
|
1222
1220
|
selector: 'dotcms-page-error-message',
|
|
1223
|
-
standalone: true,
|
|
1224
1221
|
imports: [],
|
|
1225
1222
|
template: `
|
|
1226
1223
|
<div
|
|
@@ -1288,10 +1285,10 @@ class DotCMSStore {
|
|
|
1288
1285
|
setStore(store) {
|
|
1289
1286
|
this.$store.set(store);
|
|
1290
1287
|
}
|
|
1291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1292
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1289
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSStore, providedIn: 'root' }); }
|
|
1293
1290
|
}
|
|
1294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSStore, decorators: [{
|
|
1295
1292
|
type: Injectable,
|
|
1296
1293
|
args: [{
|
|
1297
1294
|
providedIn: 'root'
|
|
@@ -1318,8 +1315,8 @@ class ContainerNotFoundComponent {
|
|
|
1318
1315
|
console.error(`Container with identifier ${this.identifier} not found`);
|
|
1319
1316
|
}
|
|
1320
1317
|
}
|
|
1321
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1322
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ContainerNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1319
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: ContainerNotFoundComponent, isStandalone: true, selector: "dotcms-container-not-found", inputs: { identifier: "identifier" }, ngImport: i0, template: `
|
|
1323
1320
|
@if ($isDevMode()) {
|
|
1324
1321
|
<div [attr.data-testid]="'container-not-found'" [ngStyle]="emptyContainerStyle">
|
|
1325
1322
|
This container with identifier {{ identifier }} was not found.
|
|
@@ -1327,11 +1324,10 @@ class ContainerNotFoundComponent {
|
|
|
1327
1324
|
}
|
|
1328
1325
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
1329
1326
|
}
|
|
1330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ContainerNotFoundComponent, decorators: [{
|
|
1331
1328
|
type: Component,
|
|
1332
1329
|
args: [{
|
|
1333
1330
|
selector: 'dotcms-container-not-found',
|
|
1334
|
-
standalone: true,
|
|
1335
1331
|
imports: [NgStyle],
|
|
1336
1332
|
template: `
|
|
1337
1333
|
@if ($isDevMode()) {
|
|
@@ -1358,8 +1354,8 @@ class EmptyContainerComponent {
|
|
|
1358
1354
|
this.$isDevMode = this.#dotCMSStore.$isDevMode;
|
|
1359
1355
|
}
|
|
1360
1356
|
#dotCMSStore;
|
|
1361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1362
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1357
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: EmptyContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1358
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: EmptyContainerComponent, isStandalone: true, selector: "dotcms-empty-container", ngImport: i0, template: `
|
|
1363
1359
|
@if ($isDevMode()) {
|
|
1364
1360
|
<div [ngStyle]="emptyContainerStyle" data-testid="empty-container">
|
|
1365
1361
|
<span data-testid="empty-container-message" data-dot-object="empty-content">
|
|
@@ -1369,11 +1365,10 @@ class EmptyContainerComponent {
|
|
|
1369
1365
|
}
|
|
1370
1366
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
1371
1367
|
}
|
|
1372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: EmptyContainerComponent, decorators: [{
|
|
1373
1369
|
type: Component,
|
|
1374
1370
|
args: [{
|
|
1375
1371
|
selector: 'dotcms-empty-container',
|
|
1376
|
-
standalone: true,
|
|
1377
1372
|
imports: [NgStyle],
|
|
1378
1373
|
template: `
|
|
1379
1374
|
@if ($isDevMode()) {
|
|
@@ -1397,8 +1392,8 @@ class FallbackComponent {
|
|
|
1397
1392
|
constructor() {
|
|
1398
1393
|
this.UserNoComponent = null;
|
|
1399
1394
|
}
|
|
1400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1401
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1395
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1396
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: FallbackComponent, isStandalone: true, selector: "dotcms-fallback-component", inputs: { UserNoComponent: "UserNoComponent", contentlet: "contentlet" }, ngImport: i0, template: `
|
|
1402
1397
|
@if (UserNoComponent) {
|
|
1403
1398
|
<ng-container *ngComponentOutlet="UserNoComponent | async; inputs: { contentlet }" />
|
|
1404
1399
|
} @else {
|
|
@@ -1406,13 +1401,12 @@ class FallbackComponent {
|
|
|
1406
1401
|
<p>No component found for content type: {{ contentlet.contentType }}</p>
|
|
1407
1402
|
</div>
|
|
1408
1403
|
}
|
|
1409
|
-
`, isInline: true, dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1404
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1410
1405
|
}
|
|
1411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FallbackComponent, decorators: [{
|
|
1412
1407
|
type: Component,
|
|
1413
1408
|
args: [{
|
|
1414
1409
|
selector: 'dotcms-fallback-component',
|
|
1415
|
-
standalone: true,
|
|
1416
1410
|
imports: [AsyncPipe, NgComponentOutlet],
|
|
1417
1411
|
template: `
|
|
1418
1412
|
@if (UserNoComponent) {
|
|
@@ -1496,8 +1490,8 @@ class ContentletComponent {
|
|
|
1496
1490
|
this.$haveContent.set(hasContent);
|
|
1497
1491
|
}
|
|
1498
1492
|
}
|
|
1499
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1500
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ContentletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1494
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: ContentletComponent, isStandalone: true, selector: "dotcms-contentlet", inputs: { contentlet: "contentlet", containerData: "containerData" }, host: { properties: { "attr.data-dot-object": "this.dotObject", "attr.data-dot-identifier": "this.identifier", "attr.data-dot-basetype": "this.basetype", "attr.data-dot-title": "this.title", "attr.data-dot-inode": "this.inode", "attr.data-dot-type": "this.type", "attr.data-dot-container": "this.containerAttribute", "attr.data-dot-on-number-of-pages": "this.onNumberOfPages", "style": "this.styleAttribute" } }, viewQueries: [{ propertyName: "contentletRef", first: true, predicate: ["contentletRef"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
1501
1495
|
@if ($UserComponent()) {
|
|
1502
1496
|
<ng-container
|
|
1503
1497
|
*ngComponentOutlet="
|
|
@@ -1509,13 +1503,12 @@ class ContentletComponent {
|
|
|
1509
1503
|
[UserNoComponent]="$UserNoComponent()"
|
|
1510
1504
|
[contentlet]="$contentlet() ?? contentlet" />
|
|
1511
1505
|
}
|
|
1512
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FallbackComponent, selector: "dotcms-fallback-component", inputs: ["UserNoComponent", "contentlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1506
|
+
`, isInline: true, dependencies: [{ kind: "component", type: FallbackComponent, selector: "dotcms-fallback-component", inputs: ["UserNoComponent", "contentlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1513
1507
|
}
|
|
1514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ContentletComponent, decorators: [{
|
|
1515
1509
|
type: Component,
|
|
1516
1510
|
args: [{
|
|
1517
1511
|
selector: 'dotcms-contentlet',
|
|
1518
|
-
standalone: true,
|
|
1519
1512
|
imports: [FallbackComponent, AsyncPipe, NgComponentOutlet],
|
|
1520
1513
|
template: `
|
|
1521
1514
|
@if ($UserComponent()) {
|
|
@@ -1610,8 +1603,8 @@ class ContainerComponent {
|
|
|
1610
1603
|
this.maxContentlets = this.$dotAttributes()['data-max-contentlets'];
|
|
1611
1604
|
this.uuid = this.$dotAttributes()['data-dot-uuid'];
|
|
1612
1605
|
}
|
|
1613
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1614
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1606
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1607
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: ContainerComponent, isStandalone: true, selector: "dotcms-container", inputs: { container: "container" }, host: { properties: { "attr.data-dot-object": "this.dotObject", "attr.data-dot-accept-types": "this.acceptTypes", "attr.data-dot-identifier": "this.identifier", "attr.data-max-contentlets": "this.maxContentlets", "attr.data-dot-uuid": "this.uuid" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
1615
1608
|
@if (!$containerData()) {
|
|
1616
1609
|
<dotcms-container-not-found [identifier]="container.identifier" />
|
|
1617
1610
|
} @else if ($isEmpty()) {
|
|
@@ -1623,11 +1616,10 @@ class ContainerComponent {
|
|
|
1623
1616
|
}
|
|
1624
1617
|
`, isInline: true, dependencies: [{ kind: "component", type: ContainerNotFoundComponent, selector: "dotcms-container-not-found", inputs: ["identifier"] }, { kind: "component", type: EmptyContainerComponent, selector: "dotcms-empty-container" }, { kind: "component", type: ContentletComponent, selector: "dotcms-contentlet", inputs: ["contentlet", "containerData"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1625
1618
|
}
|
|
1626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
1627
1620
|
type: Component,
|
|
1628
1621
|
args: [{
|
|
1629
1622
|
selector: 'dotcms-container',
|
|
1630
|
-
standalone: true,
|
|
1631
1623
|
imports: [ContainerNotFoundComponent, EmptyContainerComponent, ContentletComponent],
|
|
1632
1624
|
template: `
|
|
1633
1625
|
@if (!$containerData()) {
|
|
@@ -1677,8 +1669,8 @@ class ColumnComponent {
|
|
|
1677
1669
|
const positionClasses = getColumnPositionClasses(this.column);
|
|
1678
1670
|
this.customClasses = combineClasses([positionClasses.startClass, positionClasses.endClass]);
|
|
1679
1671
|
}
|
|
1680
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1681
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1673
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: ColumnComponent, isStandalone: true, selector: "dotcms-column", inputs: { column: "column" }, host: { properties: { "class": "this.customClasses" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
1682
1674
|
<div [class]="column.styleClass" data-testid="dotcms-column">
|
|
1683
1675
|
@for (container of column.containers; track $index) {
|
|
1684
1676
|
<dotcms-container [container]="container" />
|
|
@@ -1686,9 +1678,9 @@ class ColumnComponent {
|
|
|
1686
1678
|
</div>
|
|
1687
1679
|
`, isInline: true, styles: [":host.col-start-1{grid-column-start:1}:host.col-start-2{grid-column-start:2}:host.col-start-3{grid-column-start:3}:host.col-start-4{grid-column-start:4}:host.col-start-5{grid-column-start:5}:host.col-start-6{grid-column-start:6}:host.col-start-7{grid-column-start:7}:host.col-start-8{grid-column-start:8}:host.col-start-9{grid-column-start:9}:host.col-start-10{grid-column-start:10}:host.col-start-11{grid-column-start:11}:host.col-start-12{grid-column-start:12}:host.col-end-1{grid-column-end:1}:host.col-end-2{grid-column-end:2}:host.col-end-3{grid-column-end:3}:host.col-end-4{grid-column-end:4}:host.col-end-5{grid-column-end:5}:host.col-end-6{grid-column-end:6}:host.col-end-7{grid-column-end:7}:host.col-end-8{grid-column-end:8}:host.col-end-9{grid-column-end:9}:host.col-end-10{grid-column-end:10}:host.col-end-11{grid-column-end:11}:host.col-end-12{grid-column-end:12}:host.col-end-13{grid-column-end:13}\n"], dependencies: [{ kind: "component", type: ContainerComponent, selector: "dotcms-container", inputs: ["container"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1688
1680
|
}
|
|
1689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
1690
1682
|
type: Component,
|
|
1691
|
-
args: [{ selector: 'dotcms-column',
|
|
1683
|
+
args: [{ selector: 'dotcms-column', imports: [ContainerComponent], template: `
|
|
1692
1684
|
<div [class]="column.styleClass" data-testid="dotcms-column">
|
|
1693
1685
|
@for (container of column.containers; track $index) {
|
|
1694
1686
|
<dotcms-container [container]="container" />
|
|
@@ -1718,8 +1710,8 @@ class RowComponent {
|
|
|
1718
1710
|
ngOnChanges() {
|
|
1719
1711
|
this.customClasses.set(combineClasses([this.row.styleClass || 'dot-row']));
|
|
1720
1712
|
}
|
|
1721
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1722
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1713
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: RowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1714
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: RowComponent, isStandalone: true, selector: "dotcms-row", inputs: { row: "row" }, usesOnChanges: true, ngImport: i0, template: `
|
|
1723
1715
|
<div class="dot-row-container">
|
|
1724
1716
|
<div [class]="customClasses()" data-dot-object="row" data-testid="dotcms-row">
|
|
1725
1717
|
@for (column of row.columns; track $index) {
|
|
@@ -1729,9 +1721,9 @@ class RowComponent {
|
|
|
1729
1721
|
</div>
|
|
1730
1722
|
`, isInline: true, styles: [".dot-row{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}\n"], dependencies: [{ kind: "component", type: ColumnComponent, selector: "dotcms-column", inputs: ["column"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1731
1723
|
}
|
|
1732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: RowComponent, decorators: [{
|
|
1733
1725
|
type: Component,
|
|
1734
|
-
args: [{ selector: 'dotcms-row',
|
|
1726
|
+
args: [{ selector: 'dotcms-row', imports: [ColumnComponent], template: `
|
|
1735
1727
|
<div class="dot-row-container">
|
|
1736
1728
|
<div [class]="customClasses()" data-dot-object="row" data-testid="dotcms-row">
|
|
1737
1729
|
@for (column of row.columns; track $index) {
|
|
@@ -1777,8 +1769,8 @@ class DotCMSLayoutBodyComponent {
|
|
|
1777
1769
|
this.$isEmpty.set(!this.page?.layout?.body);
|
|
1778
1770
|
this.$rows.set(this.page?.layout?.body?.rows ?? []);
|
|
1779
1771
|
}
|
|
1780
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1781
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1772
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSLayoutBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1773
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DotCMSLayoutBodyComponent, isStandalone: true, selector: "dotcms-layout-body", inputs: { page: "page", components: "components", mode: "mode" }, providers: [DotCMSStore], usesOnChanges: true, ngImport: i0, template: `
|
|
1782
1774
|
@if ($isEmpty() && $isDevMode()) {
|
|
1783
1775
|
<dotcms-page-error-message />
|
|
1784
1776
|
} @else {
|
|
@@ -1788,9 +1780,9 @@ class DotCMSLayoutBodyComponent {
|
|
|
1788
1780
|
}
|
|
1789
1781
|
`, isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: PageErrorMessageComponent, selector: "dotcms-page-error-message" }, { kind: "component", type: RowComponent, selector: "dotcms-row", inputs: ["row"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1790
1782
|
}
|
|
1791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSLayoutBodyComponent, decorators: [{
|
|
1792
1784
|
type: Component,
|
|
1793
|
-
args: [{ selector: 'dotcms-layout-body',
|
|
1785
|
+
args: [{ selector: 'dotcms-layout-body', imports: [PageErrorMessageComponent, RowComponent], providers: [DotCMSStore], template: `
|
|
1794
1786
|
@if ($isEmpty() && $isDevMode()) {
|
|
1795
1787
|
<dotcms-page-error-message />
|
|
1796
1788
|
} @else {
|
|
@@ -1886,10 +1878,10 @@ class DotCMSEditablePageService {
|
|
|
1886
1878
|
});
|
|
1887
1879
|
return unsubscribe;
|
|
1888
1880
|
}
|
|
1889
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1890
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSEditablePageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1882
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSEditablePageService, providedIn: 'root' }); }
|
|
1891
1883
|
}
|
|
1892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DotCMSEditablePageService, decorators: [{
|
|
1893
1885
|
type: Injectable,
|
|
1894
1886
|
args: [{
|
|
1895
1887
|
providedIn: 'root'
|