@dotcms/angular 1.5.5-next.2180 → 1.5.5-next.2253
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/README.md +64 -47
- package/fesm2022/dotcms-angular.mjs +205 -222
- package/fesm2022/dotcms-angular.mjs.map +1 -1
- package/lib/components/dotcms-layout-body/components/container/container.component.d.ts +1 -5
- 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 +6 -12
- package/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.d.ts.map +1 -1
- package/lib/store/dotcms.store.d.ts +16 -1
- package/lib/store/dotcms.store.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -19,12 +19,8 @@ export declare class ContainerComponent implements OnChanges {
|
|
|
19
19
|
$containerData: import("@angular/core").WritableSignal<EditableContainerData | null>;
|
|
20
20
|
$contentlets: import("@angular/core").WritableSignal<DotCMSBasicContentlet[]>;
|
|
21
21
|
$isEmpty: import("@angular/core").Signal<boolean>;
|
|
22
|
+
$isDevMode: import("@angular/core").Signal<boolean>;
|
|
22
23
|
$dotAttributes: import("@angular/core").Signal<DotContainerAttributes>;
|
|
23
|
-
dotObject: string;
|
|
24
|
-
acceptTypes: string | null;
|
|
25
|
-
identifier: string | null;
|
|
26
|
-
maxContentlets: string | null;
|
|
27
|
-
uuid: string | null;
|
|
28
24
|
ngOnChanges(): void;
|
|
29
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerComponent, never>;
|
|
30
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "dotcms-container", never, { "container": { "alias": "container"; "required": true; }; }, {}, never, never, true, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/sdk/angular/src/lib/components/dotcms-layout-body/components/container/container.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"container.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/sdk/angular/src/lib/components/dotcms-layout-body/components/container/container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,SAAS,EAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;;AAahE;;;;;;;GAOG;AACH,qBAyBa,kBAAmB,YAAW,SAAS;;IAChD;;OAEG;IACwB,SAAS,EAAG,qBAAqB,CAAC;IAI7D,cAAc,uEAA8C;IAC5D,YAAY,kEAAuC;IACnD,QAAQ,0CAAoD;IAC5D,UAAU,0CAAgC;IAC1C,cAAc,yDAQX;IAEH,WAAW;yCAtBF,kBAAkB;2CAAlB,kBAAkB;CAgC9B"}
|
|
@@ -16,11 +16,11 @@ export declare class ContentletComponent implements OnChanges {
|
|
|
16
16
|
contentlet: DotCMSBasicContentlet;
|
|
17
17
|
containerData: EditableContainerData;
|
|
18
18
|
contentletRef: ElementRef;
|
|
19
|
-
dotObject: string;
|
|
20
19
|
$contentlet: import("@angular/core").WritableSignal<DotCMSBasicContentlet | null>;
|
|
21
20
|
$UserComponent: import("@angular/core").WritableSignal<DynamicComponentEntity | null>;
|
|
22
21
|
$UserNoComponent: import("@angular/core").WritableSignal<DynamicComponentEntity | null>;
|
|
23
22
|
$isDevMode: import("@angular/core").Signal<boolean>;
|
|
23
|
+
$isAnalyticsActive: import("@angular/core").Signal<boolean>;
|
|
24
24
|
$haveContent: import("@angular/core").WritableSignal<boolean>;
|
|
25
25
|
$style: import("@angular/core").Signal<{
|
|
26
26
|
minHeight: string;
|
|
@@ -28,18 +28,12 @@ export declare class ContentletComponent implements OnChanges {
|
|
|
28
28
|
minHeight?: undefined;
|
|
29
29
|
}>;
|
|
30
30
|
$dotAttributes: import("@angular/core").Signal<DotContentletAttributes>;
|
|
31
|
-
identifier: string | null;
|
|
32
|
-
basetype: string | null;
|
|
33
|
-
title: string | null;
|
|
34
|
-
inode: string | null;
|
|
35
|
-
type: string | null;
|
|
36
|
-
containerAttribute: string | null;
|
|
37
|
-
onNumberOfPages: string | null;
|
|
38
|
-
styleProperties: string | null;
|
|
39
|
-
styleAttribute: {
|
|
40
|
-
[key: string]: unknown;
|
|
41
|
-
} | null;
|
|
42
31
|
ngOnChanges(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Serializes the container data for the `data-dot-container` editor attribute.
|
|
34
|
+
* Only consumed by the host binding while in edit mode.
|
|
35
|
+
*/
|
|
36
|
+
getContainerAttribute(): string;
|
|
43
37
|
ngAfterViewInit(): void;
|
|
44
38
|
private setupComponents;
|
|
45
39
|
private checkContent;
|
package/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentlet.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/sdk/angular/src/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIH,UAAU,EAGV,SAAS,
|
|
1
|
+
{"version":3,"file":"contentlet.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../libs/sdk/angular/src/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIH,UAAU,EAGV,SAAS,EAGZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAOjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;;AAI5D;;;;;;;GAOG;AACH,qBAkCa,mBAAoB,YAAW,SAAS;;IACtB,UAAU,EAAG,qBAAqB,CAAC;IACnC,aAAa,EAAG,qBAAqB,CAAC;IACrC,aAAa,EAAG,UAAU,CAAC;IAIvD,WAAW,uEAA8C;IACzD,cAAc,wEAA+C;IAC7D,gBAAgB,wEAA+C;IAC/D,UAAU,0CAAgC;IAC1C,kBAAkB,0CAAwC;IAC1D,YAAY,kDAAiB;IAC7B,MAAM;;;;OAEJ;IACF,cAAc,0DAaX;IAEH,WAAW;IAKX;;;OAGG;IACH,qBAAqB,IAAI,MAAM;IAI/B,eAAe;IAIf,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,YAAY;yCA1DX,mBAAmB;2CAAnB,mBAAmB;CAiE/B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
1
2
|
import { DotCMSPageStore } from '../models';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare const EMPTY_DOTCMS_PAGE_STORE: DotCMSPageStore;
|
|
@@ -10,6 +11,20 @@ export declare const EMPTY_DOTCMS_PAGE_STORE: DotCMSPageStore;
|
|
|
10
11
|
*/
|
|
11
12
|
export declare class DotCMSStore {
|
|
12
13
|
private $store;
|
|
14
|
+
/**
|
|
15
|
+
* @description Get whether DotCMS Analytics is active on the page. Used in
|
|
16
|
+
* live mode to decide if the minimal contentlet attributes Analytics needs
|
|
17
|
+
* should be kept.
|
|
18
|
+
*
|
|
19
|
+
* Analytics may initialize after the page renders, so we track its `ready`
|
|
20
|
+
* event as a stream and project it into a signal. `fromEvent` registers via
|
|
21
|
+
* zone-patched `addEventListener`, so change detection is scheduled without
|
|
22
|
+
* any manual `NgZone` handling.
|
|
23
|
+
* @readonly
|
|
24
|
+
* @type {Signal<boolean>}
|
|
25
|
+
* @memberof DotCMSStore
|
|
26
|
+
*/
|
|
27
|
+
$isAnalyticsActive: Signal<boolean>;
|
|
13
28
|
/**
|
|
14
29
|
* @description Get the store
|
|
15
30
|
* @readonly
|
|
@@ -29,7 +44,7 @@ export declare class DotCMSStore {
|
|
|
29
44
|
* @type {boolean}
|
|
30
45
|
* @memberof DotCMSStore
|
|
31
46
|
*/
|
|
32
|
-
$isDevMode:
|
|
47
|
+
$isDevMode: Signal<boolean>;
|
|
33
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<DotCMSStore, never>;
|
|
34
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<DotCMSStore>;
|
|
35
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dotcms.store.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/angular/src/lib/store/dotcms.store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dotcms.store.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/angular/src/lib/store/dotcms.store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAwB,MAAM,EAAU,MAAM,eAAe,CAAC;AAYrE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;;AAE5C,eAAO,MAAM,uBAAuB,EAAE,eAIrC,CAAC;AAEF;;;;;;GAMG;AACH,qBAGa,WAAW;IACpB,OAAO,CAAC,MAAM,CAAoD;IAElE;;;;;;;;;;;;OAYG;IACH,kBAAkB,EAAE,MAAM,CAAC,OAAO,CAAC,CAMvB;IAEZ;;;;;OAKG;IACH,IAAI,KAAK,IAAI,eAAe,CAE3B;IAED;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAItC;;;;;OAKG;IACH,UAAU,kBAQP;yCAzDM,WAAW;6CAAX,WAAW;CA0DvB"}
|