@o3r/application 11.4.0-prerelease.4 → 11.4.0-prerelease.41
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/esm2022/devkit/application-devtools.console.service.mjs +3 -3
- package/esm2022/devkit/application-devtools.message.service.mjs +3 -3
- package/esm2022/devkit/application-devtools.module.mjs +4 -4
- package/esm2022/devkit/application-devtools.service.mjs +3 -3
- package/fesm2022/o3r-application.mjs +13 -13
- package/package.json +6 -6
- package/schemas/cms.schema.json +29 -3
|
@@ -27,10 +27,10 @@ export class ApplicationDevtoolsConsoleService {
|
|
|
27
27
|
displayApplicationInfo() {
|
|
28
28
|
console.info('Application info', this.applicationDevtools.getApplicationInformation());
|
|
29
29
|
}
|
|
30
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
31
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
30
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsConsoleService, deps: [{ token: i1.OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
31
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsConsoleService, providedIn: 'root' }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsConsoleService, decorators: [{
|
|
34
34
|
type: Injectable,
|
|
35
35
|
args: [{
|
|
36
36
|
providedIn: 'root'
|
|
@@ -124,10 +124,10 @@ export class ApplicationDevtoolsMessageService {
|
|
|
124
124
|
ngOnDestroy() {
|
|
125
125
|
this.subscriptions.unsubscribe();
|
|
126
126
|
}
|
|
127
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
128
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
127
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: i2.OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
128
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsMessageService, providedIn: 'root' }); }
|
|
129
129
|
}
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsMessageService, decorators: [{
|
|
131
131
|
type: Injectable,
|
|
132
132
|
args: [{
|
|
133
133
|
providedIn: 'root'
|
|
@@ -20,16 +20,16 @@ export class ApplicationDevtoolsModule {
|
|
|
20
20
|
]
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
24
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
25
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
23
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
24
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule }); }
|
|
25
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule, providers: [
|
|
26
26
|
{ provide: OTTER_APPLICATION_DEVTOOLS_OPTIONS, useValue: OTTER_APPLICATION_DEVTOOLS_DEFAULT_OPTIONS },
|
|
27
27
|
ApplicationDevtoolsMessageService,
|
|
28
28
|
ApplicationDevtoolsConsoleService,
|
|
29
29
|
OtterApplicationDevtools
|
|
30
30
|
] }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule, decorators: [{
|
|
33
33
|
type: NgModule,
|
|
34
34
|
args: [{
|
|
35
35
|
providers: [
|
|
@@ -17,10 +17,10 @@ export class OtterApplicationDevtools {
|
|
|
17
17
|
isProduction: isProductionEnvironment(this.document?.body.dataset)
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
21
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
20
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OtterApplicationDevtools, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OtterApplicationDevtools, providedIn: 'root' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OtterApplicationDevtools, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}] });
|
|
@@ -48,10 +48,10 @@ class OtterApplicationDevtools {
|
|
|
48
48
|
isProduction: isProductionEnvironment(this.document?.body.dataset)
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
52
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
51
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OtterApplicationDevtools, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OtterApplicationDevtools, providedIn: 'root' }); }
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: OtterApplicationDevtools, decorators: [{
|
|
55
55
|
type: Injectable,
|
|
56
56
|
args: [{ providedIn: 'root' }]
|
|
57
57
|
}] });
|
|
@@ -80,10 +80,10 @@ class ApplicationDevtoolsConsoleService {
|
|
|
80
80
|
displayApplicationInfo() {
|
|
81
81
|
console.info('Application info', this.applicationDevtools.getApplicationInformation());
|
|
82
82
|
}
|
|
83
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
84
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
83
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsConsoleService, deps: [{ token: OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
84
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsConsoleService, providedIn: 'root' }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsConsoleService, decorators: [{
|
|
87
87
|
type: Injectable,
|
|
88
88
|
args: [{
|
|
89
89
|
providedIn: 'root'
|
|
@@ -209,10 +209,10 @@ class ApplicationDevtoolsMessageService {
|
|
|
209
209
|
ngOnDestroy() {
|
|
210
210
|
this.subscriptions.unsubscribe();
|
|
211
211
|
}
|
|
212
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
213
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
212
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsMessageService, deps: [{ token: i1.LoggerService }, { token: OtterApplicationDevtools }, { token: OTTER_APPLICATION_DEVTOOLS_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
213
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsMessageService, providedIn: 'root' }); }
|
|
214
214
|
}
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsMessageService, decorators: [{
|
|
216
216
|
type: Injectable,
|
|
217
217
|
args: [{
|
|
218
218
|
providedIn: 'root'
|
|
@@ -240,16 +240,16 @@ class ApplicationDevtoolsModule {
|
|
|
240
240
|
]
|
|
241
241
|
};
|
|
242
242
|
}
|
|
243
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
244
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
245
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
243
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
244
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule }); }
|
|
245
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule, providers: [
|
|
246
246
|
{ provide: OTTER_APPLICATION_DEVTOOLS_OPTIONS, useValue: OTTER_APPLICATION_DEVTOOLS_DEFAULT_OPTIONS },
|
|
247
247
|
ApplicationDevtoolsMessageService,
|
|
248
248
|
ApplicationDevtoolsConsoleService,
|
|
249
249
|
OtterApplicationDevtools
|
|
250
250
|
] }); }
|
|
251
251
|
}
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ApplicationDevtoolsModule, decorators: [{
|
|
253
253
|
type: NgModule,
|
|
254
254
|
args: [{
|
|
255
255
|
providers: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/application",
|
|
3
|
-
"version": "11.4.0-prerelease.
|
|
3
|
+
"version": "11.4.0-prerelease.41",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"@angular-devkit/schematics": "~18.2.0",
|
|
29
29
|
"@angular/common": "~18.2.0",
|
|
30
30
|
"@angular/core": "~18.2.0",
|
|
31
|
-
"@o3r/core": "^11.4.0-prerelease.
|
|
32
|
-
"@o3r/logger": "^11.4.0-prerelease.
|
|
33
|
-
"@o3r/routing": "^11.4.0-prerelease.
|
|
34
|
-
"@o3r/schematics": "^11.4.0-prerelease.
|
|
35
|
-
"@o3r/testing": "^11.4.0-prerelease.
|
|
31
|
+
"@o3r/core": "^11.4.0-prerelease.41",
|
|
32
|
+
"@o3r/logger": "^11.4.0-prerelease.41",
|
|
33
|
+
"@o3r/routing": "^11.4.0-prerelease.41",
|
|
34
|
+
"@o3r/schematics": "^11.4.0-prerelease.41",
|
|
35
|
+
"@o3r/testing": "^11.4.0-prerelease.41",
|
|
36
36
|
"@schematics/angular": "~18.2.0",
|
|
37
37
|
"rxjs": "^7.8.1",
|
|
38
38
|
"typescript": "~5.5.4"
|
package/schemas/cms.schema.json
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
"title": "Schema of CMS application configuration",
|
|
6
6
|
"description": "Schema used to indicate the configuration to the CMS when the application is loaded by it",
|
|
7
7
|
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"localisationsFolder"
|
|
10
|
+
],
|
|
8
11
|
"properties": {
|
|
9
12
|
"assetsFolder": {
|
|
10
13
|
"type": "string",
|
|
@@ -20,7 +23,8 @@
|
|
|
20
23
|
"description": "An array of the CSS files which are used by placeholders at runtime. These files will be used in the placeholder editor",
|
|
21
24
|
"items": {
|
|
22
25
|
"type": "string"
|
|
23
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"default": []
|
|
24
28
|
},
|
|
25
29
|
"defaultLanguage": {
|
|
26
30
|
"type": "string",
|
|
@@ -29,11 +33,33 @@
|
|
|
29
33
|
},
|
|
30
34
|
"functionalContentsFolder": {
|
|
31
35
|
"type": "string",
|
|
32
|
-
"description": "The relative path to the functional contents metadata folder to import"
|
|
36
|
+
"description": "The relative path to the functional contents metadata folder to import",
|
|
37
|
+
"default": "functional-contents-metadata"
|
|
38
|
+
},
|
|
39
|
+
"features": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"description": "Set of additional CMS features that can be activated or deactivated for the application",
|
|
42
|
+
"properties": {
|
|
43
|
+
"themingCssOverrideEnabled": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Specifies that the blueprint supports theming CSS file customization",
|
|
46
|
+
"default": false
|
|
47
|
+
},
|
|
48
|
+
"themingCssVariablesEnabled": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Specifies that the blueprint supports theming CSS variables customization",
|
|
51
|
+
"default": true
|
|
52
|
+
}
|
|
53
|
+
}
|
|
33
54
|
},
|
|
34
55
|
"migrationScriptFolder": {
|
|
35
56
|
"type": "string",
|
|
36
|
-
"description": "The relative path to the migration scripts"
|
|
57
|
+
"description": "The relative path to the migration scripts",
|
|
58
|
+
"default": "migration-scripts"
|
|
59
|
+
},
|
|
60
|
+
"migrationScriptVersionDependency": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Name of the package dependency to get the current blueprint version from. If the dependency is not found, the field version in the package.json will be used instead if defined. If not defined, no migration script will be executed"
|
|
37
63
|
}
|
|
38
64
|
}
|
|
39
65
|
}
|