@dotcms/angular 0.0.1-beta.9 → 1.0.0

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.
Files changed (126) hide show
  1. package/README.md +646 -167
  2. package/dotcms-angular.d.ts.map +1 -1
  3. package/esm2022/dotcms-angular.mjs +2 -2
  4. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/code.component.mjs +49 -0
  5. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/dot-contentlet.component.mjs +125 -0
  6. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/image.component.mjs +25 -0
  7. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/list.component.mjs +66 -0
  8. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/table.component.mjs +97 -0
  9. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/text.component.mjs +231 -0
  10. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/unknown.component.mjs +65 -0
  11. package/esm2022/lib/components/dotcms-block-editor-renderer/blocks/video.component.mjs +48 -0
  12. package/esm2022/lib/components/dotcms-block-editor-renderer/dotcms-block-editor-renderer.component.mjs +50 -0
  13. package/esm2022/lib/components/dotcms-block-editor-renderer/item/dotcms-block-editor-item.component.mjs +45 -0
  14. package/esm2022/lib/components/dotcms-editable-text/dotcms-editable-text.component.mjs +240 -0
  15. package/esm2022/lib/components/dotcms-editable-text/utils.mjs +20 -0
  16. package/esm2022/lib/components/dotcms-layout-body/components/column/column.component.mjs +45 -0
  17. package/esm2022/lib/components/dotcms-layout-body/components/container/components/container-not-found/container-not-found.component.mjs +52 -0
  18. package/esm2022/lib/components/dotcms-layout-body/components/container/components/empty-container/empty-container.component.mjs +47 -0
  19. package/esm2022/lib/components/dotcms-layout-body/components/container/container.component.mjs +99 -0
  20. package/esm2022/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.mjs +145 -0
  21. package/esm2022/lib/components/dotcms-layout-body/components/fallback-component/fallback-component.component.mjs +47 -0
  22. package/esm2022/lib/components/dotcms-layout-body/components/page-error-message/page-error-message.component.mjs +55 -0
  23. package/esm2022/lib/components/dotcms-layout-body/components/row/row.component.mjs +46 -0
  24. package/esm2022/lib/components/dotcms-layout-body/dotcms-layout-body.component.mjs +69 -0
  25. package/esm2022/lib/directives/dotcms-show-when/dotcms-show-when.directive.mjs +49 -0
  26. package/esm2022/lib/models/index.mjs +2 -2
  27. package/esm2022/lib/providers/dotcms-client/dotcms-client.provider.mjs +52 -0
  28. package/esm2022/lib/providers/dotcms-image-loader/dotcms-image_loader.mjs +74 -0
  29. package/esm2022/lib/services/dotcms-editable-page.service.mjs +93 -0
  30. package/esm2022/lib/store/dotcms.store.mjs +61 -0
  31. package/esm2022/public_api.mjs +8 -0
  32. package/fesm2022/dotcms-angular.mjs +1578 -612
  33. package/fesm2022/dotcms-angular.mjs.map +1 -1
  34. package/index.d.ts +6 -6
  35. package/lib/components/dotcms-block-editor-renderer/blocks/code.component.d.ts +10 -0
  36. package/lib/components/dotcms-block-editor-renderer/blocks/code.component.d.ts.map +1 -0
  37. package/lib/components/dotcms-block-editor-renderer/blocks/dot-contentlet.component.d.ts +34 -0
  38. package/lib/components/dotcms-block-editor-renderer/blocks/dot-contentlet.component.d.ts.map +1 -0
  39. package/lib/components/dotcms-block-editor-renderer/blocks/image.component.d.ts +9 -0
  40. package/lib/components/dotcms-block-editor-renderer/blocks/image.component.d.ts.map +1 -0
  41. package/lib/components/dotcms-block-editor-renderer/blocks/list.component.d.ts +14 -0
  42. package/lib/components/dotcms-block-editor-renderer/blocks/list.component.d.ts.map +1 -0
  43. package/lib/components/dotcms-block-editor-renderer/blocks/table.component.d.ts +10 -0
  44. package/lib/components/dotcms-block-editor-renderer/blocks/table.component.d.ts.map +1 -0
  45. package/lib/components/dotcms-block-editor-renderer/blocks/text.component.d.ts +27 -0
  46. package/lib/components/dotcms-block-editor-renderer/blocks/text.component.d.ts.map +1 -0
  47. package/lib/components/dotcms-block-editor-renderer/blocks/unknown.component.d.ts +18 -0
  48. package/lib/components/dotcms-block-editor-renderer/blocks/unknown.component.d.ts.map +1 -0
  49. package/lib/components/dotcms-block-editor-renderer/blocks/video.component.d.ts +10 -0
  50. package/lib/components/dotcms-block-editor-renderer/blocks/video.component.d.ts.map +1 -0
  51. package/lib/components/dotcms-block-editor-renderer/dotcms-block-editor-renderer.component.d.ts +39 -0
  52. package/lib/components/dotcms-block-editor-renderer/dotcms-block-editor-renderer.component.d.ts.map +1 -0
  53. package/lib/components/dotcms-block-editor-renderer/item/dotcms-block-editor-item.component.d.ts +12 -0
  54. package/lib/components/dotcms-block-editor-renderer/item/dotcms-block-editor-item.component.d.ts.map +1 -0
  55. package/lib/components/{dot-editable-text/dot-editable-text.component.d.ts → dotcms-editable-text/dotcms-editable-text.component.d.ts} +30 -30
  56. package/lib/components/dotcms-editable-text/dotcms-editable-text.component.d.ts.map +1 -0
  57. package/lib/components/dotcms-editable-text/utils.d.ts.map +1 -0
  58. package/lib/components/dotcms-layout-body/components/column/column.component.d.ts +21 -0
  59. package/lib/components/dotcms-layout-body/components/column/column.component.d.ts.map +1 -0
  60. package/lib/components/dotcms-layout-body/components/container/components/container-not-found/container-not-found.component.d.ts +27 -0
  61. package/lib/components/dotcms-layout-body/components/container/components/container-not-found/container-not-found.component.d.ts.map +1 -0
  62. package/lib/components/dotcms-layout-body/components/container/components/empty-container/empty-container.component.d.ts +23 -0
  63. package/lib/components/dotcms-layout-body/components/container/components/empty-container/empty-container.component.d.ts.map +1 -0
  64. package/lib/components/dotcms-layout-body/components/container/container.component.d.ts +32 -0
  65. package/lib/components/dotcms-layout-body/components/container/container.component.d.ts.map +1 -0
  66. package/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.d.ts +48 -0
  67. package/lib/components/dotcms-layout-body/components/contentlet/contentlet.component.d.ts.map +1 -0
  68. package/lib/components/dotcms-layout-body/components/fallback-component/fallback-component.component.d.ts +16 -0
  69. package/lib/components/dotcms-layout-body/components/fallback-component/fallback-component.component.d.ts.map +1 -0
  70. package/lib/components/dotcms-layout-body/components/page-error-message/page-error-message.component.d.ts +13 -0
  71. package/lib/components/dotcms-layout-body/components/page-error-message/page-error-message.component.d.ts.map +1 -0
  72. package/lib/components/dotcms-layout-body/components/row/row.component.d.ts +22 -0
  73. package/lib/components/dotcms-layout-body/components/row/row.component.d.ts.map +1 -0
  74. package/lib/components/dotcms-layout-body/dotcms-layout-body.component.d.ts +30 -0
  75. package/lib/components/dotcms-layout-body/dotcms-layout-body.component.d.ts.map +1 -0
  76. package/lib/directives/dotcms-show-when/dotcms-show-when.directive.d.ts +21 -0
  77. package/lib/directives/dotcms-show-when/dotcms-show-when.directive.d.ts.map +1 -0
  78. package/lib/models/index.d.ts +9 -10
  79. package/lib/models/index.d.ts.map +1 -1
  80. package/lib/providers/dotcms-client/dotcms-client.provider.d.ts +60 -0
  81. package/lib/providers/dotcms-client/dotcms-client.provider.d.ts.map +1 -0
  82. package/lib/{utils/image_loader.d.ts → providers/dotcms-image-loader/dotcms-image_loader.d.ts} +1 -1
  83. package/lib/providers/dotcms-image-loader/dotcms-image_loader.d.ts.map +1 -0
  84. package/lib/services/dotcms-editable-page.service.d.ts +40 -0
  85. package/lib/services/dotcms-editable-page.service.d.ts.map +1 -0
  86. package/lib/store/dotcms.store.d.ts +36 -0
  87. package/lib/store/dotcms.store.d.ts.map +1 -0
  88. package/package.json +9 -9
  89. package/public_api.d.ts +9 -0
  90. package/public_api.d.ts.map +1 -0
  91. package/esm2022/index.mjs +0 -6
  92. package/esm2022/lib/components/dot-editable-text/dot-editable-text.component.mjs +0 -225
  93. package/esm2022/lib/components/dot-editable-text/utils.mjs +0 -43
  94. package/esm2022/lib/components/no-component/no-component.component.mjs +0 -32
  95. package/esm2022/lib/layout/column/column.component.mjs +0 -45
  96. package/esm2022/lib/layout/container/container.component.mjs +0 -126
  97. package/esm2022/lib/layout/contentlet/contentlet.component.mjs +0 -120
  98. package/esm2022/lib/layout/dotcms-layout/dotcms-layout.component.mjs +0 -101
  99. package/esm2022/lib/layout/row/row.component.mjs +0 -29
  100. package/esm2022/lib/models/dotcms.model.mjs +0 -3
  101. package/esm2022/lib/services/dotcms-context/page-context.service.mjs +0 -75
  102. package/esm2022/lib/utils/image_loader.mjs +0 -75
  103. package/esm2022/lib/utils/index.mjs +0 -84
  104. package/index.d.ts.map +0 -1
  105. package/lib/components/dot-editable-text/dot-editable-text.component.d.ts.map +0 -1
  106. package/lib/components/dot-editable-text/utils.d.ts.map +0 -1
  107. package/lib/components/no-component/no-component.component.d.ts +0 -22
  108. package/lib/components/no-component/no-component.component.d.ts.map +0 -1
  109. package/lib/layout/column/column.component.d.ts +0 -29
  110. package/lib/layout/column/column.component.d.ts.map +0 -1
  111. package/lib/layout/container/container.component.d.ts +0 -88
  112. package/lib/layout/container/container.component.d.ts.map +0 -1
  113. package/lib/layout/contentlet/contentlet.component.d.ts +0 -86
  114. package/lib/layout/contentlet/contentlet.component.d.ts.map +0 -1
  115. package/lib/layout/dotcms-layout/dotcms-layout.component.d.ts +0 -68
  116. package/lib/layout/dotcms-layout/dotcms-layout.component.d.ts.map +0 -1
  117. package/lib/layout/row/row.component.d.ts +0 -20
  118. package/lib/layout/row/row.component.d.ts.map +0 -1
  119. package/lib/models/dotcms.model.d.ts +0 -416
  120. package/lib/models/dotcms.model.d.ts.map +0 -1
  121. package/lib/services/dotcms-context/page-context.service.d.ts +0 -49
  122. package/lib/services/dotcms-context/page-context.service.d.ts.map +0 -1
  123. package/lib/utils/image_loader.d.ts.map +0 -1
  124. package/lib/utils/index.d.ts +0 -63
  125. package/lib/utils/index.d.ts.map +0 -1
  126. /package/lib/components/{dot-editable-text → dotcms-editable-text}/utils.d.ts +0 -0
@@ -1,84 +0,0 @@
1
- //Changed the type, to avoid SQ issue.
2
- //This should be put inside a lib
3
- /**
4
- * Represents a mapping of numbers to corresponding CSS class names for column end values.
5
- * @typedef {Record<number, string | null>} EndClassMap
6
- */
7
- const endClassMap = {
8
- 1: 'col-end-1',
9
- 2: 'col-end-2',
10
- 3: 'col-end-3',
11
- 4: 'col-end-4',
12
- 5: 'col-end-5',
13
- 6: 'col-end-6',
14
- 7: 'col-end-7',
15
- 8: 'col-end-8',
16
- 9: 'col-end-9',
17
- 10: 'col-end-10',
18
- 11: 'col-end-11',
19
- 12: 'col-end-12',
20
- 13: 'col-end-13'
21
- };
22
- //Changed the type, to avoid SQ issue.
23
- //This should be put inside a lib
24
- /**
25
- * Represents a mapping of numbers to CSS class names for starting columns.
26
- * @typedef {Record<number, string | null>} StartClassMap
27
- */
28
- const startClassMap = {
29
- 1: 'col-start-1',
30
- 2: 'col-start-2',
31
- 3: 'col-start-3',
32
- 4: 'col-start-4',
33
- 5: 'col-start-5',
34
- 6: 'col-start-6',
35
- 7: 'col-start-7',
36
- 8: 'col-start-8',
37
- 9: 'col-start-9',
38
- 10: 'col-start-10',
39
- 11: 'col-start-11',
40
- 12: 'col-start-12'
41
- };
42
- /**
43
- * Retrieves the data for a set of containers.
44
- *
45
- * @param containers - The DotCMSPageAssetContainer object containing the containers.
46
- * @param containerRef - The DotCMSContainer object representing the container reference.
47
- * @returns An object containing the container data, accept types, contentlets, and variant ID.
48
- */
49
- export const getContainersData = (containers, containerRef) => {
50
- const { identifier, uuid } = containerRef;
51
- const { containerStructures, container } = containers[identifier];
52
- const { variantId } = container?.parentPermissionable || {};
53
- const acceptTypes = containerStructures
54
- .map((structure) => structure.contentTypeVar)
55
- .join(',');
56
- // Get the contentlets for "this" container
57
- const contentlets = containers[identifier].contentlets[`uuid-${uuid}`] ??
58
- containers[identifier].contentlets[`uuid-dotParser_${uuid}`];
59
- if (!contentlets) {
60
- console.warn(`We couldn't find the contentlets for the container with the identifier ${identifier} and the uuid ${uuid} becareful by adding content to this container.\nWe recommend to change the container in the layout and add the content again.`);
61
- }
62
- return {
63
- ...containers[identifier].container,
64
- acceptTypes,
65
- contentlets: contentlets ?? [],
66
- variantId
67
- };
68
- };
69
- /**
70
- * Returns the position style classes based on the start and end values.
71
- * Used to set the grid column start and end values.
72
- * @param start - The start value.
73
- * @param end - The end value.
74
- * @returns An object containing the startClass and endClass.
75
- */
76
- export const getPositionStyleClasses = (start, end) => {
77
- const startClass = startClassMap[start];
78
- const endClass = endClassMap[end];
79
- return {
80
- startClass,
81
- endClass
82
- };
83
- };
84
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3Nkay9hbmd1bGFyL3NyYy9saWIvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsc0NBQXNDO0FBQ3RDLGlDQUFpQztBQUNqQzs7O0dBR0c7QUFDSCxNQUFNLFdBQVcsR0FBa0M7SUFDL0MsQ0FBQyxFQUFFLFdBQVc7SUFDZCxDQUFDLEVBQUUsV0FBVztJQUNkLENBQUMsRUFBRSxXQUFXO0lBQ2QsQ0FBQyxFQUFFLFdBQVc7SUFDZCxDQUFDLEVBQUUsV0FBVztJQUNkLENBQUMsRUFBRSxXQUFXO0lBQ2QsQ0FBQyxFQUFFLFdBQVc7SUFDZCxDQUFDLEVBQUUsV0FBVztJQUNkLENBQUMsRUFBRSxXQUFXO0lBQ2QsRUFBRSxFQUFFLFlBQVk7SUFDaEIsRUFBRSxFQUFFLFlBQVk7SUFDaEIsRUFBRSxFQUFFLFlBQVk7SUFDaEIsRUFBRSxFQUFFLFlBQVk7Q0FDbkIsQ0FBQztBQUVGLHNDQUFzQztBQUN0QyxpQ0FBaUM7QUFDakM7OztHQUdHO0FBQ0gsTUFBTSxhQUFhLEdBQWtDO0lBQ2pELENBQUMsRUFBRSxhQUFhO0lBQ2hCLENBQUMsRUFBRSxhQUFhO0lBQ2hCLENBQUMsRUFBRSxhQUFhO0lBQ2hCLENBQUMsRUFBRSxhQUFhO0lBQ2hCLENBQUMsRUFBRSxhQUFh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SBlbmQgLSBUaGUgZW5kIHZhbHVlLlxuICogQHJldHVybnMgQW4gb2JqZWN0IGNvbnRhaW5pbmcgdGhlIHN0YXJ0Q2xhc3MgYW5kIGVuZENsYXNzLlxuICovXG5leHBvcnQgY29uc3QgZ2V0UG9zaXRpb25TdHlsZUNsYXNzZXMgPSAoc3RhcnQ6IG51bWJlciwgZW5kOiBudW1iZXIpID0+IHtcbiAgICBjb25zdCBzdGFydENsYXNzID0gc3RhcnRDbGFzc01hcFtzdGFydF07XG4gICAgY29uc3QgZW5kQ2xhc3MgPSBlbmRDbGFzc01hcFtlbmRdO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgICAgc3RhcnRDbGFzcyxcbiAgICAgICAgZW5kQ2xhc3NcbiAgICB9O1xufTtcbiJdfQ==
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/sdk/angular/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gEAAgE,CAAC;AAC/E,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dot-editable-text.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/components/dot-editable-text/dot-editable-text.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAElE,OAAO,EAMH,SAAS,EACT,MAAM,EAIT,MAAM,eAAe,CAAC;AAWvB,OAAO,EAAkB,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAE3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;;AAEhD;;;;;;;;GAQG;AACH,qBAea,wBAAyB,YAAW,MAAM,EAAE,SAAS;;IAClC,eAAe,EAAG,eAAe,CAAC;IAE9D;;;;;OAKG;IACM,IAAI,EAAE,sBAAsB,CAAW;IAChD;;;;;OAKG;IACM,MAAM,EAAE,wBAAwB,CAAU;IACnD;;;;;OAKG;IACM,UAAU,EAAG,gBAAgB,CAAC;IACvC;;;;OAIG;IACM,SAAS,SAAM;IAExB;;;;;OAKG;IACH,SAAS,CAAC,OAAO,SAAM;IACvB;;;;;;OAMG;IACH,SAAS,CAAC,IAAI,EAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,SAAS,CAAC,cAAc,EAAG,OAAO,CAAC;IAMnC;;;;;OAKG;IACH,IAAI,MAAM,6BAET;IAED;;;;;OAKG;IACH,IAAI,eAAe,QAElB;IAED;;;;;;OAMG;IAEH,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY;IAgBhC,QAAQ;IAeR,WAAW;IAOX;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE,QAAQ,CAAC,UAAU,CAAC;IAyB3C;;;;;OAKG;IACH,UAAU;IA0BV;;;;;;;OAOG;IACH,OAAO,CAAC,kBAAkB;IAQ1B;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;yCArNf,wBAAwB;2CAAxB,wBAAwB;CAwNpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/components/dot-editable-text/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,MAAM,CAAC;AAcvD,eAAO,MAAM,cAAc,EAAE;KACxB,GAAG,IAAI,sBAAsB,GAAG,eAAe,CAAC,MAAM,CAAC;CA+B3D,CAAC"}
@@ -1,22 +0,0 @@
1
- import { DotCMSContentlet } from '../../models';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * This component is responsible to display a message when there is no component for a contentlet.
5
- *
6
- * @export
7
- * @class NoComponent
8
- */
9
- export declare class NoComponent {
10
- /**
11
- * The contentlet object containing content data.
12
- * The component displays a message based on the content type of this contentlet.
13
- */
14
- contentlet: DotCMSContentlet;
15
- /**
16
- * The data-testid attribute used for identifying the component during testing.
17
- */
18
- testId: string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<NoComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<NoComponent, "dotcms-no-component", never, { "contentlet": { "alias": "contentlet"; "required": false; }; }, {}, never, never, true, never>;
21
- }
22
- //# sourceMappingURL=no-component.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"no-component.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/components/no-component/no-component.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;;AAEhD;;;;;GAKG;AACH,qBASa,WAAW;IACpB;;;OAGG;IACM,UAAU,EAAG,gBAAgB,CAAC;IAEvC;;OAEG;IAC8B,MAAM,SAAkB;yCAVhD,WAAW;2CAAX,WAAW;CAWvB"}
@@ -1,29 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DotPageAssetLayoutColumn } from '../../models';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * This component is responsible to display a column with containers.
6
- *
7
- * @export
8
- * @class ColumnComponent
9
- * @implements {OnInit}
10
- */
11
- export declare class ColumnComponent implements OnInit {
12
- /**
13
- * The column object containing the containers.
14
- *
15
- * @type {DotPageAssetLayoutColumn}
16
- * @memberof ColumnComponent
17
- */
18
- column: DotPageAssetLayoutColumn;
19
- /**
20
- * The data-testid attribute used for identifying the component during testing.
21
- *
22
- * @memberof ColumnComponent
23
- */
24
- containerClasses: string;
25
- ngOnInit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "dotcms-column", never, { "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
28
- }
29
- //# sourceMappingURL=column.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"column.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/layout/column/column.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0D,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;;AAIxD;;;;;;GAMG;AACH,qBAYa,eAAgB,YAAW,MAAM;IAC1C;;;;;OAKG;IACM,MAAM,EAAG,wBAAwB,CAAC;IAE3C;;;;OAIG;IACmB,gBAAgB,SAAM;IAE5C,QAAQ;yCAhBC,eAAe;2CAAf,eAAe;CAuB3B"}
@@ -1,88 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- import { NoComponent } from '../../components/no-component/no-component.component';
3
- import { DynamicComponentEntity } from '../../models';
4
- import { DotCMSContainer, DotCMSContentlet } from '../../models/dotcms.model';
5
- import * as i0 from "@angular/core";
6
- interface DotContainer {
7
- acceptTypes: string;
8
- identifier: string;
9
- maxContentlets: number;
10
- uuid: string;
11
- variantId?: string;
12
- }
13
- /**
14
- * This component is responsible to display a container with contentlets.
15
- *
16
- * @export
17
- * @class ContainerComponent
18
- * @implements {OnChanges}
19
- */
20
- export declare class ContainerComponent implements OnChanges {
21
- /**
22
- * The container object containing the contentlets.
23
- *
24
- * @type {DotCMSContainer}
25
- * @memberof ContainerComponent
26
- */
27
- container: DotCMSContainer;
28
- private readonly pageContextService;
29
- protected readonly NoComponent: typeof NoComponent;
30
- protected readonly $isInsideEditor: import("@angular/core").WritableSignal<boolean>;
31
- protected componentsMap: Record<string, DynamicComponentEntity>;
32
- protected $contentlets: import("@angular/core").WritableSignal<DotCMSContentlet[]>;
33
- protected $dotContainer: import("@angular/core").WritableSignal<DotContainer | null>;
34
- protected $dotContainerAsString: import("@angular/core").Signal<string>;
35
- /**
36
- * The accept types for the container component.
37
- *
38
- * @type {(string | null)}
39
- * @memberof ContainerComponent
40
- */
41
- acceptTypes: string | null;
42
- /**
43
- * The identifier for the container component.
44
- *
45
- * @type {(string | null)}
46
- * @memberof ContainerComponent
47
- */
48
- identifier: string | null;
49
- /**
50
- * The max contentlets for the container component.
51
- *
52
- * @type {(number | null)}
53
- * @memberof ContainerComponent
54
- */
55
- maxContentlets: number | null;
56
- /**
57
- * The uuid for the container component.
58
- *
59
- * @type {(string | null)}
60
- * @memberof ContainerComponent
61
- */
62
- uuid: string | null;
63
- /**
64
- * The class for the container component.
65
- *
66
- * @type {(string | null)}
67
- * @memberof ContainerComponent
68
- */
69
- class: string | null;
70
- /**
71
- * The dot object for the container component.
72
- *
73
- * @type {(string | null)}
74
- * @memberof ContainerComponent
75
- */
76
- dotObject: string | null;
77
- /**
78
- * The data-testid attribute used for identifying the component during testing.
79
- *
80
- * @memberof ContainerComponent
81
- */
82
- testId: string;
83
- ngOnChanges(): void;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<ContainerComponent, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "dotcms-container", never, { "container": { "alias": "container"; "required": true; }; }, {}, never, never, true, never>;
86
- }
87
- export {};
88
- //# sourceMappingURL=container.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"container.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/layout/container/container.component.ts"],"names":[],"mappings":"AACA,OAAO,EAKH,SAAS,EAIZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAK9E,UAAU,YAAY;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;GAMG;AACH,qBAQa,kBAAmB,YAAW,SAAS;IAChD;;;;;OAKG;IACwB,SAAS,EAAG,eAAe,CAAC;IAEvD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkD;IACrF,SAAS,CAAC,QAAQ,CAAC,WAAW,qBAAe;IAC7C,SAAS,CAAC,QAAQ,CAAC,eAAe,kDAA0B;IAE5D,SAAS,CAAC,aAAa,EAAG,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;IACjE,SAAS,CAAC,YAAY,6DAAkC;IACxD,SAAS,CAAC,aAAa,8DAAqC;IAC5D,SAAS,CAAC,qBAAqB,yCAAwD;IAEvF;;;;;OAKG;IACwC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE7E;;;;;OAKG;IACsC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1E;;;;;OAKG;IACuC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/E;;;;;OAKG;IACgC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9D;;;;;OAKG;IACmB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAClD;;;;;OAKG;IACkC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrE;;;;OAIG;IAC8B,MAAM,SAAmB;IAE1D,WAAW;yCApEF,kBAAkB;2CAAlB,kBAAkB;CAiG9B"}
@@ -1,86 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- import { DotCMSContentlet } from '../../models';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * This component is responsible to display a contentlet.
6
- *
7
- * @export
8
- * @class ContentletComponent
9
- * @implements {OnChanges}
10
- */
11
- export declare class ContentletComponent implements OnChanges {
12
- /**
13
- * The contentlet object containing content data.
14
- *
15
- * @type {DotCMSContentlet}
16
- * @memberof ContentletComponent
17
- */
18
- contentlet: DotCMSContentlet;
19
- /**
20
- * The container data (as string) where the contentlet is located.
21
- *
22
- * @type {string}
23
- * @memberof ContentletComponent
24
- */
25
- container: string;
26
- /**
27
- * The identifier of contentlet component.
28
- *
29
- * @type {(string | null)}
30
- * @memberof ContentletComponent
31
- */
32
- identifier: string | null;
33
- /**
34
- * The base type of contentlet component.
35
- *
36
- * @type {(string | null)}
37
- * @memberof ContentletComponent
38
- */
39
- baseType: string | null;
40
- /**
41
- * The title of contentlet component.
42
- *
43
- * @type {(string | null)}
44
- * @memberof ContentletComponent
45
- */
46
- title: string | null;
47
- /**
48
- * The inode of contentlet component.
49
- *
50
- * @type {(string | null)}
51
- * @memberof ContentletComponent
52
- */
53
- inode: string | null;
54
- /**
55
- * The type of contentlet component.
56
- *
57
- * @type {(string | null)}
58
- * @memberof ContentletComponent
59
- */
60
- dotType: string | null;
61
- /**
62
- * The container of contentlet component.
63
- *
64
- * @type {(string | null)}
65
- * @memberof ContentletComponent
66
- */
67
- dotContainer: string | null;
68
- /**
69
- * The number of pages where the contentlet appears
70
- *
71
- * @type {(string | null)}
72
- * @memberof ContentletComponent
73
- */
74
- numberOfPages: string | null;
75
- /**
76
- * The content of contentlet component.
77
- *
78
- * @type {(string | null)}
79
- * @memberof ContentletComponent
80
- */
81
- dotContent: string | null;
82
- ngOnChanges(): void;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<ContentletComponent, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<ContentletComponent, "dotcms-contentlet-wrapper", never, { "contentlet": { "alias": "contentlet"; "required": true; }; "container": { "alias": "container"; "required": false; }; }, {}, never, ["*"], true, never>;
85
- }
86
- //# sourceMappingURL=contentlet.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contentlet.component.d.ts","sourceRoot":"","sources":["../../../../../../../libs/sdk/angular/src/lib/layout/contentlet/contentlet.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0D,SAAS,EAAE,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;;AAEhD;;;;;;GAMG;AACH,qBAMa,mBAAoB,YAAW,SAAS;IACjD;;;;;OAKG;IACwB,UAAU,EAAG,gBAAgB,CAAC;IACzD;;;;;OAKG;IACM,SAAS,EAAG,MAAM,CAAC;IAE5B;;;;;OAKG;IACsC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC1E;;;;;OAKG;IACoC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IACtE;;;;;OAKG;IACiC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChE;;;;;OAKG;IACiC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChE;;;;;OAKG;IACgC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjE;;;;;OAKG;IACqC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3E;;;;;OAKG;IAC8C,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrF;;;;;OAKG;IACkC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEtE,WAAW;yCAzEF,mBAAmB;2CAAnB,mBAAmB;CAmF/B"}
@@ -1,68 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { EditorConfig } from '@dotcms/client';
3
- import { DotCMSPageComponent } from '../../models';
4
- import { DotCMSPageAsset } from '../../models/dotcms.model';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * `DotcmsLayoutComponent` is a class that represents the layout for a DotCMS page.
8
- * It includes a `pageAsset` property that represents the DotCMS page asset and a `components` property that represents the dynamic components for the page.
9
- *
10
- * @export
11
- * @class DotcmsLayoutComponent
12
- */
13
- export declare class DotcmsLayoutComponent implements OnInit {
14
- private _pageAsset;
15
- /**
16
- * Represents the DotCMS page asset.
17
- *
18
- * @type {DotCMSPageAsset}
19
- * @memberof DotcmsLayoutComponent
20
- */
21
- set pageAsset(value: DotCMSPageAsset);
22
- /**
23
- * Returns the DotCMS page asset.
24
- *
25
- * @readonly
26
- * @type {DotCMSPageAsset}
27
- * @memberof DotcmsLayoutComponent
28
- */
29
- get pageAsset(): DotCMSPageAsset;
30
- /**
31
- * The `components` property is a record of dynamic components for each Contentlet on the page.
32
- *
33
- * @type {DotCMSPageComponent}
34
- * @memberof DotcmsLayoutComponent
35
- * @required
36
- */
37
- components: DotCMSPageComponent;
38
- /**
39
- * The `onReload` property is a function that reloads the page after changes are made.
40
- *
41
- * @memberof DotcmsLayoutComponent
42
- * @deprecated In future implementation we will be listening for the changes from the editor to update the page state so reload will not be needed.
43
- */
44
- onReload: () => void;
45
- /**
46
- *
47
- * @type {DotCMSFetchConfig}
48
- * @memberof DotCMSPageEditorConfig
49
- * @description The configuration custom params for data fetching on Edit Mode.
50
- * @example <caption>Example with Custom GraphQL query</caption>
51
- * <dotcms-layout [editor]="{ query: 'query { ... }' }"/>
52
- *
53
- * @example <caption>Example usage with Custom Page API parameters</caption>
54
- * <dotcms-layout [editor]="{ params: { depth: '2' } }"/>;
55
- */
56
- editor: EditorConfig;
57
- private readonly route;
58
- private readonly pageContextService;
59
- private readonly destroyRef$;
60
- private client;
61
- protected readonly pageAsset$: import("rxjs").Observable<DotCMSPageAsset | null>;
62
- private uveSubscription?;
63
- ngOnInit(): void;
64
- ngOnDestroy(): void;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<DotcmsLayoutComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<DotcmsLayoutComponent, "dotcms-layout", never, { "pageAsset": { "alias": "pageAsset"; "required": true; }; "components": { "alias": "components"; "required": true; }; "onReload": { "alias": "onReload"; "required": false; }; "editor": { "alias": "editor"; "required": false; }; }, {}, never, never, true, never>;
67
- }
68
- //# sourceMappingURL=dotcms-layout.component.d.ts.map
@@ -1 +0,0 @@
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":"AACA,OAAO,EAKH,MAAM,EAET,MAAM,eAAe,CAAC;AAIvB,OAAO,EAGH,YAAY,EAKf,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;;AAI5D;;;;;;GAMG;AACH,qBAca,qBAAsB,YAAW,MAAM;IAChD,OAAO,CAAC,UAAU,CAAmB;IAErC;;;;;OAKG;IACH,IACI,SAAS,CAAC,KAAK,EAAE,eAAe,EAOnC;IAED;;;;;;OAMG;IACH,IAAI,SAAS,IAAI,eAAe,CAE/B;IAED;;;;;;OAMG;IACwB,UAAU,EAAG,mBAAmB,CAAC;IAE5D;;;;;OAKG;IACM,QAAQ,EAAG,MAAM,IAAI,CAAC;IAE/B;;;;;;;;;;OAUG;IACM,MAAM,EAAG,YAAY,CAAC;IAE/B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA8B;IACjE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsB;IAClD,OAAO,CAAC,MAAM,CAAgB;IAC9B,SAAS,CAAC,QAAQ,CAAC,UAAU,oDAAwC;IAErE,OAAO,CAAC,eAAe,CAAC,CAAkB;IAE1C,QAAQ;IA4BR,WAAW;yCAhGF,qBAAqB;2CAArB,qBAAqB;CAuGjC"}
@@ -1,20 +0,0 @@
1
- import { DotPageAssetLayoutRow } from '../../models';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * This component is responsible to display a row with columns.
5
- *
6
- * @export
7
- * @class RowComponent
8
- */
9
- export declare class RowComponent {
10
- /**
11
- * The row object containing the columns.
12
- *
13
- * @type {DotPageAssetLayoutRow}
14
- * @memberof RowComponent
15
- */
16
- row: DotPageAssetLayoutRow;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "dotcms-row", never, { "row": { "alias": "row"; "required": true; }; }, {}, never, never, true, never>;
19
- }
20
- //# sourceMappingURL=row.component.d.ts.map
@@ -1 +0,0 @@
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;;;;;GAKG;AACH,qBAYa,YAAY;IACrB;;;;;OAKG;IACwB,GAAG,EAAG,qBAAqB,CAAC;yCAP9C,YAAY;2CAAZ,YAAY;CAQxB"}