@dotcms/angular 0.0.1-alpha.18
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 +134 -0
- package/dotcms-angular.d.ts.map +1 -0
- package/esm2022/dotcms-angular.mjs +5 -0
- package/esm2022/index.mjs +4 -0
- package/esm2022/lib/components/no-component/no-component.component.mjs +23 -0
- package/esm2022/lib/layout/column/column.component.mjs +33 -0
- package/esm2022/lib/layout/container/container.component.mjs +78 -0
- package/esm2022/lib/layout/contentlet/contentlet.component.mjs +65 -0
- package/esm2022/lib/layout/dotcms-layout/dotcms-layout.component.mjs +62 -0
- package/esm2022/lib/layout/row/row.component.mjs +19 -0
- package/esm2022/lib/models/dotcms.model.mjs +3 -0
- package/esm2022/lib/models/index.mjs +3 -0
- package/esm2022/lib/services/dotcms-context/page-context.service.mjs +35 -0
- package/esm2022/lib/utils/index.mjs +57 -0
- package/fesm2022/dotcms-angular.mjs +361 -0
- package/fesm2022/dotcms-angular.mjs.map +1 -0
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -0
- package/lib/components/no-component/no-component.component.d.ts +13 -0
- package/lib/components/no-component/no-component.component.d.ts.map +1 -0
- package/lib/layout/column/column.component.d.ts +11 -0
- package/lib/layout/column/column.component.d.ts.map +1 -0
- package/lib/layout/container/container.component.d.ts +34 -0
- package/lib/layout/container/container.component.d.ts.map +1 -0
- package/lib/layout/contentlet/contentlet.component.d.ts +19 -0
- package/lib/layout/contentlet/contentlet.component.d.ts.map +1 -0
- package/lib/layout/dotcms-layout/dotcms-layout.component.d.ts +24 -0
- package/lib/layout/dotcms-layout/dotcms-layout.component.d.ts.map +1 -0
- package/lib/layout/row/row.component.d.ts +8 -0
- package/lib/layout/row/row.component.d.ts.map +1 -0
- package/lib/models/dotcms.model.d.ts +403 -0
- package/lib/models/dotcms.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +11 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/services/dotcms-context/page-context.service.d.ts +18 -0
- package/lib/services/dotcms-context/page-context.service.d.ts.map +1 -0
- package/lib/utils/index.d.ts +49 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DynamicComponentEntity } from '../../models';
|
|
3
|
+
import { DotCMSPageAsset } from '../../models/dotcms.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* `DotcmsLayoutComponent` is a class that represents the layout for a DotCMS page.
|
|
7
|
+
* It includes a `pageAsset` property that represents the DotCMS page asset and a `components` property that represents the dynamic components for the page.
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @class DotcmsLayoutComponent
|
|
11
|
+
*/
|
|
12
|
+
export declare class DotcmsLayoutComponent implements OnInit {
|
|
13
|
+
pageAsset: DotCMSPageAsset;
|
|
14
|
+
components: Record<string, DynamicComponentEntity>;
|
|
15
|
+
private readonly route;
|
|
16
|
+
private readonly router;
|
|
17
|
+
private readonly pageContextService;
|
|
18
|
+
private readonly destroyRef$;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnChanges(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DotcmsLayoutComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DotcmsLayoutComponent, "dotcms-layout", never, { "pageAsset": { "alias": "pageAsset"; "required": true; }; "components": { "alias": "components"; "required": true; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=dotcms-layout.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dotcms-layout.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/layout/dotcms-layout/dotcms-layout.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,MAAM,EAET,MAAM,eAAe,CAAC;AAQvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;;AAI5D;;;;;;GAMG;AACH,qBAUa,qBAAsB,YAAW,MAAM;IACrB,SAAS,EAAG,eAAe,CAAC;IAC5B,UAAU,EAAG,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;IAE/E,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IACzC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA8B;IACjE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsB;IAElD,QAAQ;IAsBR,WAAW;yCA/BF,qBAAqB;2CAArB,qBAAqB;CAmCjC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DotPageAssetLayoutRow } from '../../models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RowComponent {
|
|
4
|
+
row: DotPageAssetLayoutRow;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "dotcms-row", never, { "row": { "alias": "row"; "required": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=row.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/layout/row/row.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;;AAGrD,qBAUa,YAAY;IACM,GAAG,EAAG,qBAAqB,CAAC;yCAD9C,YAAY;2CAAZ,YAAY;CAExB"}
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
export interface DotCMSPageAsset {
|
|
2
|
+
canCreateTemplate: boolean;
|
|
3
|
+
containers: DotCMSPageAssetContainer;
|
|
4
|
+
layout: DotCMSLayout;
|
|
5
|
+
page: DotCMSPage;
|
|
6
|
+
site: DotCMSSite;
|
|
7
|
+
template: DotCMSTemplate;
|
|
8
|
+
viewAs: DotCMSViewAs;
|
|
9
|
+
}
|
|
10
|
+
export interface DotPageAssetLayoutRow {
|
|
11
|
+
identifier: number;
|
|
12
|
+
value?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
columns: DotPageAssetLayoutColumn[];
|
|
15
|
+
styleClass?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface DotPageAssetLayoutColumn {
|
|
18
|
+
preview: boolean;
|
|
19
|
+
containers: DotCMSContainer[];
|
|
20
|
+
widthPercent: number;
|
|
21
|
+
width: number;
|
|
22
|
+
leftOffset: number;
|
|
23
|
+
left: number;
|
|
24
|
+
styleClass?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface DotCMSPageAssetContainer {
|
|
27
|
+
[key: string]: {
|
|
28
|
+
container: DotCMSContainer;
|
|
29
|
+
containerStructures: DotCMSContainerStructure[];
|
|
30
|
+
contentlets: {
|
|
31
|
+
[key: string]: DotCMSContentlet[];
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface DotCMSContainer {
|
|
36
|
+
identifier: string;
|
|
37
|
+
uuid: string;
|
|
38
|
+
iDate: number;
|
|
39
|
+
type: string;
|
|
40
|
+
owner?: string;
|
|
41
|
+
inode: string;
|
|
42
|
+
source: string;
|
|
43
|
+
title: string;
|
|
44
|
+
friendlyName: string;
|
|
45
|
+
modDate: number;
|
|
46
|
+
modUser: string;
|
|
47
|
+
sortOrder: number;
|
|
48
|
+
showOnMenu: boolean;
|
|
49
|
+
code?: string;
|
|
50
|
+
maxContentlets: number;
|
|
51
|
+
useDiv: boolean;
|
|
52
|
+
sortContentletsBy?: string;
|
|
53
|
+
preLoop: string;
|
|
54
|
+
postLoop: string;
|
|
55
|
+
staticify: boolean;
|
|
56
|
+
luceneQuery?: string;
|
|
57
|
+
notes: string;
|
|
58
|
+
languageId?: number;
|
|
59
|
+
path?: string;
|
|
60
|
+
live: boolean;
|
|
61
|
+
locked: boolean;
|
|
62
|
+
working: boolean;
|
|
63
|
+
deleted: boolean;
|
|
64
|
+
name: string;
|
|
65
|
+
archived: boolean;
|
|
66
|
+
permissionId: string;
|
|
67
|
+
versionId: string;
|
|
68
|
+
versionType: string;
|
|
69
|
+
permissionType: string;
|
|
70
|
+
categoryId: string;
|
|
71
|
+
idate: number;
|
|
72
|
+
new: boolean;
|
|
73
|
+
acceptTypes: string;
|
|
74
|
+
contentlets: DotCMSContentlet[];
|
|
75
|
+
parentPermissionable: DotCMSSiteParentPermissionable;
|
|
76
|
+
}
|
|
77
|
+
export interface DotCMSContentlet {
|
|
78
|
+
archived: boolean;
|
|
79
|
+
baseType: string;
|
|
80
|
+
deleted?: boolean;
|
|
81
|
+
binary?: string;
|
|
82
|
+
binaryContentAsset?: string;
|
|
83
|
+
binaryVersion?: string;
|
|
84
|
+
contentType: string;
|
|
85
|
+
file?: string;
|
|
86
|
+
folder: string;
|
|
87
|
+
hasLiveVersion?: boolean;
|
|
88
|
+
hasTitleImage: boolean;
|
|
89
|
+
host: string;
|
|
90
|
+
hostName: string;
|
|
91
|
+
identifier: string;
|
|
92
|
+
inode: string;
|
|
93
|
+
image?: string;
|
|
94
|
+
languageId: number;
|
|
95
|
+
language?: string;
|
|
96
|
+
live: boolean;
|
|
97
|
+
locked: boolean;
|
|
98
|
+
mimeType?: string;
|
|
99
|
+
modDate: string;
|
|
100
|
+
modUser: string;
|
|
101
|
+
modUserName: string;
|
|
102
|
+
owner: string;
|
|
103
|
+
sortOrder: number;
|
|
104
|
+
stInode: string;
|
|
105
|
+
title: string;
|
|
106
|
+
titleImage: string;
|
|
107
|
+
text?: string;
|
|
108
|
+
url: string;
|
|
109
|
+
working: boolean;
|
|
110
|
+
body?: string;
|
|
111
|
+
contentTypeIcon?: string;
|
|
112
|
+
variant?: string;
|
|
113
|
+
__icon__?: string;
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
}
|
|
116
|
+
export interface DotcmsNavigationItem {
|
|
117
|
+
code?: any;
|
|
118
|
+
folder: string;
|
|
119
|
+
children?: DotcmsNavigationItem[];
|
|
120
|
+
host: string;
|
|
121
|
+
languageId: number;
|
|
122
|
+
href: string;
|
|
123
|
+
title: string;
|
|
124
|
+
type: string;
|
|
125
|
+
hash: number;
|
|
126
|
+
target: string;
|
|
127
|
+
order: number;
|
|
128
|
+
}
|
|
129
|
+
interface DotCMSTemplate {
|
|
130
|
+
iDate: number;
|
|
131
|
+
type: string;
|
|
132
|
+
owner: string;
|
|
133
|
+
inode: string;
|
|
134
|
+
identifier: string;
|
|
135
|
+
source: string;
|
|
136
|
+
title: string;
|
|
137
|
+
friendlyName: string;
|
|
138
|
+
modDate: number;
|
|
139
|
+
modUser: string;
|
|
140
|
+
sortOrder: number;
|
|
141
|
+
showOnMenu: boolean;
|
|
142
|
+
image: string;
|
|
143
|
+
drawed: boolean;
|
|
144
|
+
drawedBody: string;
|
|
145
|
+
theme: string;
|
|
146
|
+
anonymous: boolean;
|
|
147
|
+
template: boolean;
|
|
148
|
+
name: string;
|
|
149
|
+
live: boolean;
|
|
150
|
+
archived: boolean;
|
|
151
|
+
locked: boolean;
|
|
152
|
+
working: boolean;
|
|
153
|
+
permissionId: string;
|
|
154
|
+
versionId: string;
|
|
155
|
+
versionType: string;
|
|
156
|
+
deleted: boolean;
|
|
157
|
+
permissionType: string;
|
|
158
|
+
categoryId: string;
|
|
159
|
+
idate: number;
|
|
160
|
+
new: boolean;
|
|
161
|
+
canEdit: boolean;
|
|
162
|
+
}
|
|
163
|
+
interface DotCMSPage {
|
|
164
|
+
template: string;
|
|
165
|
+
modDate: number;
|
|
166
|
+
metadata: string;
|
|
167
|
+
cachettl: string;
|
|
168
|
+
pageURI: string;
|
|
169
|
+
title: string;
|
|
170
|
+
type: string;
|
|
171
|
+
showOnMenu: string;
|
|
172
|
+
httpsRequired: boolean;
|
|
173
|
+
inode: string;
|
|
174
|
+
disabledWYSIWYG: any[];
|
|
175
|
+
seokeywords: string;
|
|
176
|
+
host: string;
|
|
177
|
+
lastReview: number;
|
|
178
|
+
working: boolean;
|
|
179
|
+
locked: boolean;
|
|
180
|
+
stInode: string;
|
|
181
|
+
friendlyName: string;
|
|
182
|
+
live: boolean;
|
|
183
|
+
owner: string;
|
|
184
|
+
identifier: string;
|
|
185
|
+
nullProperties: any[];
|
|
186
|
+
friendlyname: string;
|
|
187
|
+
pagemetadata: string;
|
|
188
|
+
languageId: number;
|
|
189
|
+
url: string;
|
|
190
|
+
seodescription: string;
|
|
191
|
+
modUserName: string;
|
|
192
|
+
folder: string;
|
|
193
|
+
deleted: boolean;
|
|
194
|
+
sortOrder: number;
|
|
195
|
+
modUser: string;
|
|
196
|
+
pageUrl: string;
|
|
197
|
+
workingInode: string;
|
|
198
|
+
shortyWorking: string;
|
|
199
|
+
canEdit: boolean;
|
|
200
|
+
canRead: boolean;
|
|
201
|
+
canLock: boolean;
|
|
202
|
+
lockedOn: number;
|
|
203
|
+
lockedBy: string;
|
|
204
|
+
lockedByName: string;
|
|
205
|
+
liveInode: string;
|
|
206
|
+
shortyLive: string;
|
|
207
|
+
}
|
|
208
|
+
interface DotCMSViewAs {
|
|
209
|
+
language: {
|
|
210
|
+
id: number;
|
|
211
|
+
languageCode: string;
|
|
212
|
+
countryCode: string;
|
|
213
|
+
language: string;
|
|
214
|
+
country: string;
|
|
215
|
+
};
|
|
216
|
+
mode: string;
|
|
217
|
+
}
|
|
218
|
+
interface DotCMSLayout {
|
|
219
|
+
pageWidth: string;
|
|
220
|
+
width: string;
|
|
221
|
+
layout: string;
|
|
222
|
+
title: string;
|
|
223
|
+
header: boolean;
|
|
224
|
+
footer: boolean;
|
|
225
|
+
body: DotPageAssetLayoutBody;
|
|
226
|
+
sidebar: DotPageAssetLayoutSidebar;
|
|
227
|
+
}
|
|
228
|
+
interface DotCMSContainerStructure {
|
|
229
|
+
id: string;
|
|
230
|
+
structureId: string;
|
|
231
|
+
containerInode: string;
|
|
232
|
+
containerId: string;
|
|
233
|
+
code: string;
|
|
234
|
+
contentTypeVar: string;
|
|
235
|
+
}
|
|
236
|
+
interface DotPageAssetLayoutSidebar {
|
|
237
|
+
preview: boolean;
|
|
238
|
+
containers: DotCMSContainer[];
|
|
239
|
+
location: string;
|
|
240
|
+
widthPercent: number;
|
|
241
|
+
width: string;
|
|
242
|
+
}
|
|
243
|
+
interface DotPageAssetLayoutBody {
|
|
244
|
+
rows: DotPageAssetLayoutRow[];
|
|
245
|
+
}
|
|
246
|
+
interface DotCMSSite {
|
|
247
|
+
lowIndexPriority: boolean;
|
|
248
|
+
name: string;
|
|
249
|
+
default: boolean;
|
|
250
|
+
aliases: string;
|
|
251
|
+
parent: boolean;
|
|
252
|
+
tagStorage: string;
|
|
253
|
+
systemHost: boolean;
|
|
254
|
+
inode: string;
|
|
255
|
+
versionType: string;
|
|
256
|
+
structureInode: string;
|
|
257
|
+
hostname: string;
|
|
258
|
+
hostThumbnail?: any;
|
|
259
|
+
owner: string;
|
|
260
|
+
permissionId: string;
|
|
261
|
+
permissionType: string;
|
|
262
|
+
type: string;
|
|
263
|
+
identifier: string;
|
|
264
|
+
modDate: number;
|
|
265
|
+
host: string;
|
|
266
|
+
live: boolean;
|
|
267
|
+
indexPolicy: string;
|
|
268
|
+
categoryId: string;
|
|
269
|
+
actionId?: any;
|
|
270
|
+
new: boolean;
|
|
271
|
+
archived: boolean;
|
|
272
|
+
locked: boolean;
|
|
273
|
+
disabledWysiwyg: any[];
|
|
274
|
+
modUser: string;
|
|
275
|
+
working: boolean;
|
|
276
|
+
titleImage: {
|
|
277
|
+
present: boolean;
|
|
278
|
+
};
|
|
279
|
+
folder: string;
|
|
280
|
+
htmlpage: boolean;
|
|
281
|
+
fileAsset: boolean;
|
|
282
|
+
vanityUrl: boolean;
|
|
283
|
+
keyValue: boolean;
|
|
284
|
+
structure?: DotCMSSiteStructure;
|
|
285
|
+
title: string;
|
|
286
|
+
languageId: number;
|
|
287
|
+
indexPolicyDependencies: string;
|
|
288
|
+
contentTypeId: string;
|
|
289
|
+
versionId: string;
|
|
290
|
+
lastReview: number;
|
|
291
|
+
nextReview?: any;
|
|
292
|
+
reviewInterval?: any;
|
|
293
|
+
sortOrder: number;
|
|
294
|
+
contentType: DotCMSSiteContentType;
|
|
295
|
+
}
|
|
296
|
+
interface DotCMSSiteContentType {
|
|
297
|
+
owner?: any;
|
|
298
|
+
parentPermissionable: DotCMSSiteParentPermissionable;
|
|
299
|
+
permissionId: string;
|
|
300
|
+
permissionType: string;
|
|
301
|
+
}
|
|
302
|
+
export interface DotCMSSiteParentPermissionable {
|
|
303
|
+
Inode: string;
|
|
304
|
+
Identifier: string;
|
|
305
|
+
permissionByIdentifier: boolean;
|
|
306
|
+
type: string;
|
|
307
|
+
owner?: any;
|
|
308
|
+
identifier: string;
|
|
309
|
+
permissionId: string;
|
|
310
|
+
parentPermissionable?: any;
|
|
311
|
+
permissionType: string;
|
|
312
|
+
inode: string;
|
|
313
|
+
childrenPermissionable?: any;
|
|
314
|
+
variantId?: string;
|
|
315
|
+
}
|
|
316
|
+
interface DotCMSSiteStructure {
|
|
317
|
+
iDate: number;
|
|
318
|
+
type: string;
|
|
319
|
+
owner?: any;
|
|
320
|
+
inode: string;
|
|
321
|
+
identifier: string;
|
|
322
|
+
name: string;
|
|
323
|
+
description: string;
|
|
324
|
+
defaultStructure: boolean;
|
|
325
|
+
reviewInterval?: any;
|
|
326
|
+
reviewerRole?: any;
|
|
327
|
+
pagedetail?: any;
|
|
328
|
+
structureType: number;
|
|
329
|
+
fixed: boolean;
|
|
330
|
+
system: boolean;
|
|
331
|
+
velocityVarName: string;
|
|
332
|
+
urlMapPattern?: any;
|
|
333
|
+
host: string;
|
|
334
|
+
folder: string;
|
|
335
|
+
publishDateVar?: any;
|
|
336
|
+
expireDateVar?: any;
|
|
337
|
+
modDate: number;
|
|
338
|
+
fields: DotCMSSiteField[];
|
|
339
|
+
widget: boolean;
|
|
340
|
+
detailPage?: any;
|
|
341
|
+
fieldsBySortOrder: DotCMSSiteField[];
|
|
342
|
+
form: boolean;
|
|
343
|
+
htmlpageAsset: boolean;
|
|
344
|
+
content: boolean;
|
|
345
|
+
fileAsset: boolean;
|
|
346
|
+
persona: boolean;
|
|
347
|
+
permissionId: string;
|
|
348
|
+
permissionType: string;
|
|
349
|
+
live: boolean;
|
|
350
|
+
categoryId: string;
|
|
351
|
+
idate: number;
|
|
352
|
+
new: boolean;
|
|
353
|
+
archived: boolean;
|
|
354
|
+
locked: boolean;
|
|
355
|
+
modUser: string;
|
|
356
|
+
working: boolean;
|
|
357
|
+
title: string;
|
|
358
|
+
versionId: string;
|
|
359
|
+
versionType: string;
|
|
360
|
+
}
|
|
361
|
+
interface DotCMSSiteField {
|
|
362
|
+
iDate: number;
|
|
363
|
+
type: string;
|
|
364
|
+
owner?: any;
|
|
365
|
+
inode: string;
|
|
366
|
+
identifier: string;
|
|
367
|
+
structureInode: string;
|
|
368
|
+
fieldName: string;
|
|
369
|
+
fieldType: string;
|
|
370
|
+
fieldRelationType?: any;
|
|
371
|
+
fieldContentlet: string;
|
|
372
|
+
required: boolean;
|
|
373
|
+
velocityVarName: string;
|
|
374
|
+
sortOrder: number;
|
|
375
|
+
values?: any;
|
|
376
|
+
regexCheck?: any;
|
|
377
|
+
hint?: any;
|
|
378
|
+
defaultValue?: any;
|
|
379
|
+
indexed: boolean;
|
|
380
|
+
listed: boolean;
|
|
381
|
+
fixed: boolean;
|
|
382
|
+
readOnly: boolean;
|
|
383
|
+
searchable: boolean;
|
|
384
|
+
unique: boolean;
|
|
385
|
+
modDate: number;
|
|
386
|
+
dataType: string;
|
|
387
|
+
live: boolean;
|
|
388
|
+
categoryId: string;
|
|
389
|
+
idate: number;
|
|
390
|
+
new: boolean;
|
|
391
|
+
archived: boolean;
|
|
392
|
+
locked: boolean;
|
|
393
|
+
modUser: string;
|
|
394
|
+
working: boolean;
|
|
395
|
+
permissionId: string;
|
|
396
|
+
parentPermissionable?: any;
|
|
397
|
+
permissionType: string;
|
|
398
|
+
title: string;
|
|
399
|
+
versionId: string;
|
|
400
|
+
versionType: string;
|
|
401
|
+
}
|
|
402
|
+
export {};
|
|
403
|
+
//# sourceMappingURL=dotcms.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dotcms.model.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/angular/src/lib/models/dotcms.model.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,wBAAwB,CAAC;IACrC,MAAM,EAAE,YAAY,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,cAAc,CAAC;IACzB,MAAM,EAAE,YAAY,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,SAAS,EAAE,eAAe,CAAC;QAC3B,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;QAChD,WAAW,EAAE;YACT,CAAC,GAAG,EAAE,MAAM,GAAG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AClB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './dotcms.model';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import { DotCMSPageAsset } from './dotcms.model';
|
|
4
|
+
export type DynamicComponentEntity = Promise<Type<any>>;
|
|
5
|
+
export interface DotCMSPageContext {
|
|
6
|
+
pageAsset: DotCMSPageAsset;
|
|
7
|
+
components: DotCMSPageComponent;
|
|
8
|
+
isInsideEditor: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type DotCMSPageComponent = Record<string, DynamicComponentEntity>;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/angular/src/lib/models/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAExD,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,eAAe,CAAC;IAC3B,UAAU,EAAE,mBAAmB,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DotCMSPageComponent, DotCMSPageContext } from '../../models';
|
|
2
|
+
import { DotCMSPageAsset } from '../../models/dotcms.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PageContextService {
|
|
5
|
+
private pageContext;
|
|
6
|
+
get pageContextValue(): DotCMSPageContext;
|
|
7
|
+
/**
|
|
8
|
+
* Set the context
|
|
9
|
+
*
|
|
10
|
+
* @protected
|
|
11
|
+
* @param {DotCMSPageAsset} value
|
|
12
|
+
* @memberof DotcmsContextService
|
|
13
|
+
*/
|
|
14
|
+
setContext(pageAsset: DotCMSPageAsset, components: DotCMSPageComponent): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageContextService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageContextService>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=page-context.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-context.service.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/services/dotcms-context/page-context.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;;AAE5D,qBAGa,kBAAkB;IAC3B,OAAO,CAAC,WAAW,CAAkC;IAErD,IAAI,gBAAgB,IAAI,iBAAiB,CAExC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,SAAS,EAAE,eAAe,EAAE,UAAU,EAAE,mBAAmB;yCAd7D,kBAAkB;6CAAlB,kBAAkB;CAqB9B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { DotCMSContainer, DotCMSPageAssetContainer } from '../models/dotcms.model';
|
|
2
|
+
export declare const getContainersData: (containers: DotCMSPageAssetContainer, containerRef: DotCMSContainer) => {
|
|
3
|
+
acceptTypes: string;
|
|
4
|
+
contentlets: import("../models/dotcms.model").DotCMSContentlet[];
|
|
5
|
+
variantId: string | undefined;
|
|
6
|
+
identifier: string;
|
|
7
|
+
uuid: string;
|
|
8
|
+
iDate: number;
|
|
9
|
+
type: string;
|
|
10
|
+
owner?: string | undefined;
|
|
11
|
+
inode: string;
|
|
12
|
+
source: string;
|
|
13
|
+
title: string;
|
|
14
|
+
friendlyName: string;
|
|
15
|
+
modDate: number;
|
|
16
|
+
modUser: string;
|
|
17
|
+
sortOrder: number;
|
|
18
|
+
showOnMenu: boolean;
|
|
19
|
+
code?: string | undefined;
|
|
20
|
+
maxContentlets: number;
|
|
21
|
+
useDiv: boolean;
|
|
22
|
+
sortContentletsBy?: string | undefined;
|
|
23
|
+
preLoop: string;
|
|
24
|
+
postLoop: string;
|
|
25
|
+
staticify: boolean;
|
|
26
|
+
luceneQuery?: string | undefined;
|
|
27
|
+
notes: string;
|
|
28
|
+
languageId?: number | undefined;
|
|
29
|
+
path?: string | undefined;
|
|
30
|
+
live: boolean;
|
|
31
|
+
locked: boolean;
|
|
32
|
+
working: boolean;
|
|
33
|
+
deleted: boolean;
|
|
34
|
+
name: string;
|
|
35
|
+
archived: boolean;
|
|
36
|
+
permissionId: string;
|
|
37
|
+
versionId: string;
|
|
38
|
+
versionType: string;
|
|
39
|
+
permissionType: string;
|
|
40
|
+
categoryId: string;
|
|
41
|
+
idate: number;
|
|
42
|
+
new: boolean;
|
|
43
|
+
parentPermissionable: import("../models/dotcms.model").DotCMSSiteParentPermissionable;
|
|
44
|
+
};
|
|
45
|
+
export declare const getPositionStyleClasses: (start: number, end: number) => {
|
|
46
|
+
startClass: string | null;
|
|
47
|
+
endClass: string | null;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/sdk/angular/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAqCnF,eAAO,MAAM,iBAAiB,eACd,wBAAwB,gBACtB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAAW,MAAM,OAAO,MAAM;;;CAQjE,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dotcms/angular",
|
|
3
|
+
"version": "0.0.1-alpha.18",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^17.1.0",
|
|
6
|
+
"@angular/core": "^17.1.0",
|
|
7
|
+
"@angular/router": "^17.1.0",
|
|
8
|
+
"@dotcms/client": "0.0.1-alpha.18",
|
|
9
|
+
"rxjs": "^7.8.0"
|
|
10
|
+
},
|
|
11
|
+
"description": "Official Angular Components library to render a dotCMS page.",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/dotCMS/core.git#master"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"dotCMS",
|
|
18
|
+
"CMS",
|
|
19
|
+
"Content Management",
|
|
20
|
+
"API Client",
|
|
21
|
+
"REST API",
|
|
22
|
+
"Angular",
|
|
23
|
+
"Components"
|
|
24
|
+
],
|
|
25
|
+
"author": "dotcms <dev@dotcms.com>",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/dotCMS/core/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/dotCMS/core/tree/master/core-web/libs/sdk/angular/README.md",
|
|
31
|
+
"module": "fesm2022/dotcms-angular.mjs",
|
|
32
|
+
"typings": "index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
"./package.json": {
|
|
35
|
+
"default": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
".": {
|
|
38
|
+
"types": "./index.d.ts",
|
|
39
|
+
"esm2022": "./esm2022/dotcms-angular.mjs",
|
|
40
|
+
"esm": "./esm2022/dotcms-angular.mjs",
|
|
41
|
+
"default": "./fesm2022/dotcms-angular.mjs"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"sideEffects": false,
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"tslib": "^2.3.0"
|
|
47
|
+
}
|
|
48
|
+
}
|