@messaia/cdk-cms 21.1.0 → 22.0.0-rc.3
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@messaia/cdk-cms",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0-rc.03",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"@angular/localize": "^
|
|
5
|
+
"@angular/common": "^22.0.7",
|
|
6
|
+
"@angular/core": "^22.0.7",
|
|
7
|
+
"@angular/localize": "^22.0.7"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Type, ElementRef } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/router';
|
|
4
|
-
import {
|
|
4
|
+
import { Resolve, ActivatedRouteSnapshot } from '@angular/router';
|
|
5
5
|
import * as _angular_forms from '@angular/forms';
|
|
6
6
|
import { NgModel } from '@angular/forms';
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -240,8 +240,6 @@ declare class ContentFormComponent extends GenericReactiveFormComponent<Content,
|
|
|
240
240
|
protected service: ContentService;
|
|
241
241
|
protected fileService: FileService;
|
|
242
242
|
protected httpClient: HttpClient;
|
|
243
|
-
protected route: ActivatedRoute;
|
|
244
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
245
243
|
/**
|
|
246
244
|
* Injects the CmsSettings service using Angular's `inject()` function.
|
|
247
245
|
* This allows access to the CmsSettings instance outside of constructor-based dependency injection,
|
|
@@ -283,7 +281,7 @@ declare class ContentFormComponent extends GenericReactiveFormComponent<Content,
|
|
|
283
281
|
/**
|
|
284
282
|
* Constructor
|
|
285
283
|
*/
|
|
286
|
-
constructor(service: ContentService, fileService: FileService, httpClient: HttpClient
|
|
284
|
+
constructor(service: ContentService, fileService: FileService, httpClient: HttpClient);
|
|
287
285
|
/**
|
|
288
286
|
* Lifecycle hook that is called after data-bound properties
|
|
289
287
|
* of a directive are initialized.
|
|
@@ -391,8 +389,6 @@ declare abstract class DocumentFormBaseComponent<TDocument extends DocumentBase,
|
|
|
391
389
|
protected documentService: TDocumentService;
|
|
392
390
|
protected fileService: FileService;
|
|
393
391
|
protected dialogRef: MatDialogRef<DocumentFormBaseComponent<TDocument, TDocumentService>>;
|
|
394
|
-
protected route: ActivatedRoute;
|
|
395
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
396
392
|
protected data: TDocument;
|
|
397
393
|
/**
|
|
398
394
|
* Upload status
|
|
@@ -405,7 +401,7 @@ declare abstract class DocumentFormBaseComponent<TDocument extends DocumentBase,
|
|
|
405
401
|
/**
|
|
406
402
|
* Constructor
|
|
407
403
|
*/
|
|
408
|
-
constructor(entityType: Type<TDocument>, documentService: TDocumentService, fileService: FileService, dialogRef: MatDialogRef<DocumentFormBaseComponent<TDocument, TDocumentService>>,
|
|
404
|
+
constructor(entityType: Type<TDocument>, documentService: TDocumentService, fileService: FileService, dialogRef: MatDialogRef<DocumentFormBaseComponent<TDocument, TDocumentService>>, data: TDocument);
|
|
409
405
|
/**
|
|
410
406
|
* Uploads a new document
|
|
411
407
|
*/
|
|
@@ -431,14 +427,12 @@ declare abstract class DocumentFormBaseComponent<TDocument extends DocumentBase,
|
|
|
431
427
|
declare class DocumentDialogComponent extends DocumentFormBaseComponent<Document, DocumentService> {
|
|
432
428
|
protected documentService: DocumentService;
|
|
433
429
|
protected fileService: FileService;
|
|
434
|
-
protected route: ActivatedRoute;
|
|
435
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
436
430
|
dialogRef: MatDialogRef<DocumentDialogComponent>;
|
|
437
431
|
data: Document;
|
|
438
432
|
/**
|
|
439
433
|
* Constructor
|
|
440
434
|
*/
|
|
441
|
-
constructor(documentService: DocumentService, fileService: FileService,
|
|
435
|
+
constructor(documentService: DocumentService, fileService: FileService, dialogRef: MatDialogRef<DocumentDialogComponent>, data?: Document);
|
|
442
436
|
/**
|
|
443
437
|
* Event emitted before the form has built.
|
|
444
438
|
*/
|
|
@@ -628,8 +622,6 @@ declare class TemplateFormComponent extends GenericReactiveFormComponent<Templat
|
|
|
628
622
|
protected templateDocService: TemplateDocService;
|
|
629
623
|
protected fileService: FileService;
|
|
630
624
|
protected dialog: MatDialog;
|
|
631
|
-
protected route: ActivatedRoute;
|
|
632
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
633
625
|
/**
|
|
634
626
|
* Injects the CmsSettings service using Angular's `inject()` function.
|
|
635
627
|
* This allows access to the CmsSettings instance outside of constructor-based dependency injection,
|
|
@@ -655,7 +647,7 @@ declare class TemplateFormComponent extends GenericReactiveFormComponent<Templat
|
|
|
655
647
|
/**
|
|
656
648
|
* Initializes an instance of TemplateFormComponent.
|
|
657
649
|
*/
|
|
658
|
-
constructor(service: TemplateService, templateDocService: TemplateDocService, fileService: FileService, dialog: MatDialog
|
|
650
|
+
constructor(service: TemplateService, templateDocService: TemplateDocService, fileService: FileService, dialog: MatDialog);
|
|
659
651
|
/**
|
|
660
652
|
* Removes an attachment from the form.
|
|
661
653
|
* @param attachment The attachment to remove.
|
|
@@ -740,8 +732,6 @@ declare class TemplatePreviewDialogComponent extends BaseComponent {
|
|
|
740
732
|
protected service: TemplatePreviewService;
|
|
741
733
|
dialogRef: MatDialogRef<TemplatePreviewDialogComponent>;
|
|
742
734
|
data: TemplatePreview;
|
|
743
|
-
protected route: ActivatedRoute;
|
|
744
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
745
735
|
/**
|
|
746
736
|
* TemplateType
|
|
747
737
|
*/
|
|
@@ -773,7 +763,7 @@ declare class TemplatePreviewDialogComponent extends BaseComponent {
|
|
|
773
763
|
* @param dialogRef
|
|
774
764
|
* @param data
|
|
775
765
|
*/
|
|
776
|
-
constructor(service: TemplatePreviewService, dialogRef: MatDialogRef<TemplatePreviewDialogComponent>, data: TemplatePreview
|
|
766
|
+
constructor(service: TemplatePreviewService, dialogRef: MatDialogRef<TemplatePreviewDialogComponent>, data: TemplatePreview);
|
|
777
767
|
/**
|
|
778
768
|
* Lifecycle hook that is called after data-bound properties
|
|
779
769
|
* of a directive are initialized.
|