@o3r/components 11.1.0-prerelease.3 → 11.1.0-prerelease.31

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 (43) hide show
  1. package/builders/metadata-check/helpers/config-metadata-comparison.helper.d.ts +22 -0
  2. package/builders/metadata-check/helpers/config-metadata-comparison.helper.d.ts.map +1 -0
  3. package/builders/metadata-check/helpers/config-metadata-comparison.helper.js +32 -0
  4. package/builders/metadata-check/helpers/index.d.ts +2 -0
  5. package/builders/metadata-check/helpers/index.d.ts.map +1 -0
  6. package/builders/metadata-check/helpers/index.js +5 -0
  7. package/builders/metadata-check/index.d.ts +4 -0
  8. package/builders/metadata-check/index.d.ts.map +1 -0
  9. package/builders/metadata-check/index.js +9 -0
  10. package/builders/metadata-check/schema.d.ts +5 -0
  11. package/builders/metadata-check/schema.d.ts.map +1 -0
  12. package/builders/metadata-check/schema.js +3 -0
  13. package/builders/metadata-check/schema.json +41 -0
  14. package/builders.json +5 -0
  15. package/esm2022/devkit/components-devtools.message.service.mjs +3 -3
  16. package/esm2022/devkit/components-devtools.module.mjs +4 -4
  17. package/esm2022/rules-engine/placeholder.action-handler.mjs +3 -3
  18. package/esm2022/rules-engine/placeholder.rules-engine.effect.mjs +3 -3
  19. package/esm2022/rules-engine/placeholder.rules-engine.module.mjs +4 -4
  20. package/esm2022/stores/placeholder-request/placeholder-request.module.mjs +4 -4
  21. package/esm2022/stores/placeholder-template/placeholder-template.module.mjs +4 -4
  22. package/esm2022/tools/component-replacement/c11n.directive.mjs +3 -3
  23. package/esm2022/tools/component-replacement/c11n.mock.module.mjs +10 -10
  24. package/esm2022/tools/component-replacement/c11n.module.mjs +4 -4
  25. package/esm2022/tools/component-replacement/c11n.service.mjs +3 -3
  26. package/esm2022/tools/pipes/capitalize/capitalize.module.mjs +4 -4
  27. package/esm2022/tools/pipes/capitalize/capitalize.pipe.mjs +6 -6
  28. package/esm2022/tools/pipes/duration/duration.module.mjs +4 -4
  29. package/esm2022/tools/pipes/duration/duration.pipe.mjs +6 -6
  30. package/esm2022/tools/pipes/keep-white-space/keep-white-space.module.mjs +4 -4
  31. package/esm2022/tools/pipes/keep-white-space/keep-white-space.pipe.mjs +6 -6
  32. package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.module.mjs +4 -4
  33. package/esm2022/tools/pipes/replace-with-bold/replace-with-bold.pipe.mjs +6 -6
  34. package/esm2022/tools/placeholder/placeholder.component.mjs +4 -4
  35. package/esm2022/tools/placeholder/placeholder.module.mjs +4 -4
  36. package/fesm2022/o3r-components-rules-engine.mjs +10 -10
  37. package/fesm2022/o3r-components.mjs +82 -82
  38. package/fesm2022/o3r-components.mjs.map +1 -1
  39. package/package.json +35 -11
  40. package/schematics/cms-adapter/index.d.ts.map +1 -1
  41. package/schematics/cms-adapter/index.js +6 -0
  42. package/tools/placeholder/placeholder.component.d.ts +2 -2
  43. package/tools/placeholder/placeholder.component.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/components",
3
- "version": "11.1.0-prerelease.3",
3
+ "version": "11.1.0-prerelease.31",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -44,21 +44,27 @@
44
44
  "@ngrx/effects": "~18.0.0",
45
45
  "@ngrx/entity": "~18.0.0",
46
46
  "@ngrx/store": "~18.0.0",
47
- "@o3r/analytics": "^11.1.0-prerelease.3",
48
- "@o3r/configuration": "^11.1.0-prerelease.3",
49
- "@o3r/core": "^11.1.0-prerelease.3",
50
- "@o3r/dynamic-content": "^11.1.0-prerelease.3",
51
- "@o3r/extractors": "^11.1.0-prerelease.3",
52
- "@o3r/localization": "^11.1.0-prerelease.3",
53
- "@o3r/logger": "^11.1.0-prerelease.3",
54
- "@o3r/rules-engine": "^11.1.0-prerelease.3",
55
- "@o3r/schematics": "^11.1.0-prerelease.3",
56
- "@o3r/testing": "^11.1.0-prerelease.3",
47
+ "@o3r/analytics": "^11.1.0-prerelease.31",
48
+ "@o3r/configuration": "^11.1.0-prerelease.31",
49
+ "@o3r/core": "^11.1.0-prerelease.31",
50
+ "@o3r/dynamic-content": "^11.1.0-prerelease.31",
51
+ "@o3r/extractors": "^11.1.0-prerelease.31",
52
+ "@o3r/localization": "^11.1.0-prerelease.31",
53
+ "@o3r/logger": "^11.1.0-prerelease.31",
54
+ "@o3r/rules-engine": "^11.1.0-prerelease.31",
55
+ "@o3r/schematics": "^11.1.0-prerelease.31",
56
+ "@o3r/testing": "^11.1.0-prerelease.31",
57
57
  "@schematics/angular": "~18.0.0",
58
+ "@yarnpkg/cli": "^4.0.0",
59
+ "@yarnpkg/core": "^4.1.1",
60
+ "@yarnpkg/fslib": "^3.1.0",
61
+ "@yarnpkg/plugin-npm": "^3.0.1",
62
+ "@yarnpkg/plugin-pack": "^4.0.0",
58
63
  "chokidar": "^3.5.2",
59
64
  "globby": "^11.1.0",
60
65
  "jsonpath-plus": "^9.0.0",
61
66
  "rxjs": "^7.8.1",
67
+ "semver": "^7.5.2",
62
68
  "typescript": "~5.4.2"
63
69
  },
64
70
  "peerDependenciesMeta": {
@@ -92,6 +98,21 @@
92
98
  "@schematics/angular": {
93
99
  "optional": true
94
100
  },
101
+ "@yarnpkg/cli": {
102
+ "optional": true
103
+ },
104
+ "@yarnpkg/core": {
105
+ "optional": true
106
+ },
107
+ "@yarnpkg/fslib": {
108
+ "optional": true
109
+ },
110
+ "@yarnpkg/plugin-npm": {
111
+ "optional": true
112
+ },
113
+ "@yarnpkg/plugin-pack": {
114
+ "optional": true
115
+ },
95
116
  "chokidar": {
96
117
  "optional": true
97
118
  },
@@ -101,6 +122,9 @@
101
122
  "jsonpath-plus": {
102
123
  "optional": true
103
124
  },
125
+ "semver": {
126
+ "optional": true
127
+ },
104
128
  "typescript": {
105
129
  "optional": true
106
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/cms-adapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAgFvF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;kBA5EwB,MAAM,GAAG,SAAS;UA4EkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/cms-adapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAA0B,MAAM,4BAA4B,CAAC;AAuFvF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;kBAnFwB,MAAM,GAAG,SAAS;UAmFkB,CAAC"}
@@ -37,6 +37,12 @@ function updateCmsAdapterFn(options) {
37
37
  libraries: []
38
38
  }
39
39
  };
40
+ workspaceProject.architect['check-config-migration-metadata'] ||= {
41
+ builder: '@o3r/components:check-config-migration-metadata',
42
+ options: {
43
+ migrationDataPath: 'MIGRATION-*.json'
44
+ }
45
+ };
40
46
  workspace.projects[options.projectName] = workspaceProject;
41
47
  tree.overwrite('/angular.json', JSON.stringify(workspace, null, 2));
42
48
  return tree;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit, type Signal } from '@angular/core';
1
+ import { AfterViewChecked, ChangeDetectorRef, OnDestroy, OnInit, type Signal } from '@angular/core';
2
2
  import { Store } from '@ngrx/store';
3
3
  import { BehaviorSubject } from 'rxjs';
4
4
  import { type PlaceholderMode, PlaceholderTemplateStore } from '../../stores/placeholder-template';
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
9
9
  * @example
10
10
  * <o3r-placeholder id="my-template-id">Is loading ...</o3r-placeholder>
11
11
  */
12
- export declare class PlaceholderComponent implements OnInit, OnDestroy {
12
+ export declare class PlaceholderComponent implements OnInit, OnDestroy, AfterViewChecked {
13
13
  private readonly store;
14
14
  private readonly cd;
15
15
  private readonly subscription;
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.component.d.ts","sourceRoot":"","sources":["../../../src/tools/placeholder/placeholder.component.ts"],"names":[],"mappings":"AAAA,OAAO,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