@valtimo/bootstrap 4.15.2-next-main.14 → 4.15.3-next-main.15
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/bundles/valtimo-bootstrap.umd.js +423 -423
- package/esm2015/lib/bootstrap.module.js +45 -45
- package/esm2015/lib/init.js +51 -51
- package/esm2015/public-api.js +19 -19
- package/esm2015/valtimo-bootstrap.js +5 -5
- package/fesm2015/valtimo-bootstrap.js +100 -100
- package/lib/bootstrap.module.d.ts +2 -2
- package/lib/init.d.ts +6 -6
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/valtimo-bootstrap.d.ts +5 -5
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { APP_INITIALIZER, Injector, NgModule } from '@angular/core';
|
|
17
|
-
import { NGXLogger } from 'ngx-logger';
|
|
18
|
-
import { initialize, initializerFactory } from './init';
|
|
19
|
-
import { ConfigService } from '@valtimo/config';
|
|
20
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
21
|
-
import { INITIALIZERS } from '@valtimo/contract';
|
|
22
|
-
const ɵ0 = initialize, ɵ1 = initializerFactory;
|
|
23
|
-
export class BootstrapModule {
|
|
24
|
-
}
|
|
25
|
-
BootstrapModule.decorators = [
|
|
26
|
-
{ type: NgModule, args: [{
|
|
27
|
-
declarations: [],
|
|
28
|
-
imports: [],
|
|
29
|
-
providers: [
|
|
30
|
-
{
|
|
31
|
-
provide: APP_INITIALIZER,
|
|
32
|
-
useFactory: ɵ0,
|
|
33
|
-
multi: true,
|
|
34
|
-
deps: [INITIALIZERS, NGXLogger]
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
provide: INITIALIZERS,
|
|
38
|
-
useFactory: ɵ1,
|
|
39
|
-
deps: [ConfigService, Injector, NGXLogger, TranslateService]
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
exports: []
|
|
43
|
-
},] }
|
|
44
|
-
];
|
|
45
|
-
export { ɵ0, ɵ1 };
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { APP_INITIALIZER, Injector, NgModule } from '@angular/core';
|
|
17
|
+
import { NGXLogger } from 'ngx-logger';
|
|
18
|
+
import { initialize, initializerFactory } from './init';
|
|
19
|
+
import { ConfigService } from '@valtimo/config';
|
|
20
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
21
|
+
import { INITIALIZERS } from '@valtimo/contract';
|
|
22
|
+
const ɵ0 = initialize, ɵ1 = initializerFactory;
|
|
23
|
+
export class BootstrapModule {
|
|
24
|
+
}
|
|
25
|
+
BootstrapModule.decorators = [
|
|
26
|
+
{ type: NgModule, args: [{
|
|
27
|
+
declarations: [],
|
|
28
|
+
imports: [],
|
|
29
|
+
providers: [
|
|
30
|
+
{
|
|
31
|
+
provide: APP_INITIALIZER,
|
|
32
|
+
useFactory: ɵ0,
|
|
33
|
+
multi: true,
|
|
34
|
+
deps: [INITIALIZERS, NGXLogger]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
provide: INITIALIZERS,
|
|
38
|
+
useFactory: ɵ1,
|
|
39
|
+
deps: [ConfigService, Injector, NGXLogger, TranslateService]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
exports: []
|
|
43
|
+
},] }
|
|
44
|
+
];
|
|
45
|
+
export { ɵ0, ɵ1 };
|
|
46
46
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vdHN0cmFwLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vYm9vdHN0cmFwL3NyYy9saWIvYm9vdHN0cmFwLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE9BQU8sRUFBQyxlQUFlLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNsRSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sWUFBWSxDQUFDO0FBQ3JDLE9BQU8sRUFBQyxVQUFVLEVBQUUsa0JBQWtCLEVBQUMsTUFBTSxRQUFRLENBQUM7QUFDdEQsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzlDLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ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MsIE5HWExvZ2dlcl1cbiAgICB9LFxuICAgIHtcbiAgICAgIHByb3ZpZGU6IElOSVRJQUxJWkVSUyxcbiAgICAgIHVzZUZhY3Rvcnk6IGluaXRpYWxpemVyRmFjdG9yeSxcbiAgICAgIGRlcHM6IFtDb25maWdTZXJ2aWNlLCBJbmplY3RvciwgTkdYTG9nZ2VyLCBUcmFuc2xhdGVTZXJ2aWNlXVxuICAgIH1cbiAgXSxcbiAgZXhwb3J0czogW11cbn0pXG5leHBvcnQgY2xhc3MgQm9vdHN0cmFwTW9kdWxlIHtcbn1cbiJdfQ==
|
package/esm2015/lib/init.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { __awaiter } from "tslib";
|
|
17
|
-
import { accountInitializer } from '@valtimo/account';
|
|
18
|
-
import { menuInitializer } from '@valtimo/components';
|
|
19
|
-
export function initialize(initializers, logger) {
|
|
20
|
-
return () => {
|
|
21
|
-
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
logger.debug('Initializing application');
|
|
23
|
-
try {
|
|
24
|
-
logger.debug('Running', initializers.length);
|
|
25
|
-
for (const [index, initializer] of initializers.entries()) {
|
|
26
|
-
logger.debug('Executing app initializer:', index, initializer.name);
|
|
27
|
-
yield initializer();
|
|
28
|
-
logger.debug('Executed app initializer:', index, initializer.name);
|
|
29
|
-
}
|
|
30
|
-
logger.debug('Application initialized');
|
|
31
|
-
resolve();
|
|
32
|
-
}
|
|
33
|
-
catch (err) {
|
|
34
|
-
reject(err);
|
|
35
|
-
}
|
|
36
|
-
}));
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function initializerFactory(configService, injector, logger, translateService) {
|
|
40
|
-
logger.debug('Provided app initializers ', configService.initializers);
|
|
41
|
-
const initializersArray = [];
|
|
42
|
-
// Auth-initializer
|
|
43
|
-
initializersArray.push(configService.config.authentication.initializer(injector));
|
|
44
|
-
// Use environment config initializers to be used in app startup.
|
|
45
|
-
configService.initializers.forEach(initializer => {
|
|
46
|
-
initializersArray.push(initializer(injector));
|
|
47
|
-
});
|
|
48
|
-
initializersArray.push(menuInitializer(injector, logger));
|
|
49
|
-
initializersArray.push(accountInitializer(translateService, logger));
|
|
50
|
-
return initializersArray;
|
|
51
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { __awaiter } from "tslib";
|
|
17
|
+
import { accountInitializer } from '@valtimo/account';
|
|
18
|
+
import { menuInitializer } from '@valtimo/components';
|
|
19
|
+
export function initialize(initializers, logger) {
|
|
20
|
+
return () => {
|
|
21
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
logger.debug('Initializing application');
|
|
23
|
+
try {
|
|
24
|
+
logger.debug('Running', initializers.length);
|
|
25
|
+
for (const [index, initializer] of initializers.entries()) {
|
|
26
|
+
logger.debug('Executing app initializer:', index, initializer.name);
|
|
27
|
+
yield initializer();
|
|
28
|
+
logger.debug('Executed app initializer:', index, initializer.name);
|
|
29
|
+
}
|
|
30
|
+
logger.debug('Application initialized');
|
|
31
|
+
resolve();
|
|
32
|
+
}
|
|
33
|
+
catch (err) {
|
|
34
|
+
reject(err);
|
|
35
|
+
}
|
|
36
|
+
}));
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function initializerFactory(configService, injector, logger, translateService) {
|
|
40
|
+
logger.debug('Provided app initializers ', configService.initializers);
|
|
41
|
+
const initializersArray = [];
|
|
42
|
+
// Auth-initializer
|
|
43
|
+
initializersArray.push(configService.config.authentication.initializer(injector));
|
|
44
|
+
// Use environment config initializers to be used in app startup.
|
|
45
|
+
configService.initializers.forEach(initializer => {
|
|
46
|
+
initializersArray.push(initializer(injector));
|
|
47
|
+
});
|
|
48
|
+
initializersArray.push(menuInitializer(injector, logger));
|
|
49
|
+
initializersArray.push(accountInitializer(translateService, logger));
|
|
50
|
+
return initializersArray;
|
|
51
|
+
}
|
|
52
52
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vYm9vdHN0cmFwL3NyYy9saWIvaW5pdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRzs7QUFJSCxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxrQkFBa0IsQ0FB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cnMpO1xuXG4gIGNvbnN0IGluaXRpYWxpemVyc0FycmF5ID0gW107XG5cbiAgLy8gQXV0aC1pbml0aWFsaXplclxuICBpbml0aWFsaXplcnNBcnJheS5wdXNoKGNvbmZpZ1NlcnZpY2UuY29uZmlnLmF1dGhlbnRpY2F0aW9uLmluaXRpYWxpemVyKGluamVjdG9yKSk7XG5cbiAgLy8gVXNlIGVudmlyb25tZW50IGNvbmZpZyBpbml0aWFsaXplcnMgdG8gYmUgdXNlZCBpbiBhcHAgc3RhcnR1cC5cbiAgY29uZmlnU2VydmljZS5pbml0aWFsaXplcnMuZm9yRWFjaChpbml0aWFsaXplciA9PiB7XG4gICAgaW5pdGlhbGl6ZXJzQXJyYXkucHVzaChpbml0aWFsaXplcihpbmplY3RvcikpO1xuICB9KTtcblxuICBpbml0aWFsaXplcnNBcnJheS5wdXNoKG1lbnVJbml0aWFsaXplcihpbmplY3RvciwgbG9nZ2VyKSk7XG4gIGluaXRpYWxpemVyc0FycmF5LnB1c2goYWNjb3VudEluaXRpYWxpemVyKHRyYW5zbGF0ZVNlcnZpY2UsIGxvZ2dlcikpO1xuICByZXR1cm4gaW5pdGlhbGl6ZXJzQXJyYXk7XG59XG4iXX0=
|
package/esm2015/public-api.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/*
|
|
17
|
-
* Public API Surface of bootstrap
|
|
18
|
-
*/
|
|
19
|
-
export * from './lib/bootstrap.module';
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/*
|
|
17
|
+
* Public API Surface of bootstrap
|
|
18
|
+
*/
|
|
19
|
+
export * from './lib/bootstrap.module';
|
|
20
20
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vYm9vdHN0cmFwL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUg7O0dBRUc7QUFFSCxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIENvcHlyaWdodCAyMDE1LTIwMjAgUml0ZW5zZSBCViwgdGhlIE5ldGhlcmxhbmRzLlxuICpcbiAqIExpY2Vuc2VkIHVuZGVyIEVVUEwsIFZlcnNpb24gMS4yICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogaHR0cHM6Ly9qb2ludXAuZWMuZXVyb3BhLmV1L2NvbGxlY3Rpb24vZXVwbC9ldXBsLXRleHQtZXVwbC0xMlxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBiYXNpcyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBib290c3RyYXBcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9ib290c3RyYXAubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
export { initialize as ɵa, initializerFactory as ɵb } from './lib/init';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
export { initialize as ɵa, initializerFactory as ɵb } from './lib/init';
|
|
6
6
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGltby1ib290c3RyYXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2Jvb3RzdHJhcC9zcmMvdmFsdGltby1ib290c3RyYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsVUFBVSxJQUFJLEVBQUUsRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7aW5pdGlhbGl6ZSBhcyDJtWEsaW5pdGlhbGl6ZXJGYWN0b3J5IGFzIMm1Yn0gZnJvbSAnLi9saWIvaW5pdCc7Il19
|
|
@@ -7,112 +7,112 @@ import { ConfigService } from '@valtimo/config';
|
|
|
7
7
|
import { TranslateService } from '@ngx-translate/core';
|
|
8
8
|
import { INITIALIZERS } from '@valtimo/contract';
|
|
9
9
|
|
|
10
|
-
/*
|
|
11
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
12
|
-
*
|
|
13
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License.
|
|
15
|
-
* You may obtain a copy of the License at
|
|
16
|
-
*
|
|
17
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
21
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
22
|
-
* See the License for the specific language governing permissions and
|
|
23
|
-
* limitations under the License.
|
|
24
|
-
*/
|
|
25
|
-
function initialize(initializers, logger) {
|
|
26
|
-
return () => {
|
|
27
|
-
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
28
|
-
logger.debug('Initializing application');
|
|
29
|
-
try {
|
|
30
|
-
logger.debug('Running', initializers.length);
|
|
31
|
-
for (const [index, initializer] of initializers.entries()) {
|
|
32
|
-
logger.debug('Executing app initializer:', index, initializer.name);
|
|
33
|
-
yield initializer();
|
|
34
|
-
logger.debug('Executed app initializer:', index, initializer.name);
|
|
35
|
-
}
|
|
36
|
-
logger.debug('Application initialized');
|
|
37
|
-
resolve();
|
|
38
|
-
}
|
|
39
|
-
catch (err) {
|
|
40
|
-
reject(err);
|
|
41
|
-
}
|
|
42
|
-
}));
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function initializerFactory(configService, injector, logger, translateService) {
|
|
46
|
-
logger.debug('Provided app initializers ', configService.initializers);
|
|
47
|
-
const initializersArray = [];
|
|
48
|
-
// Auth-initializer
|
|
49
|
-
initializersArray.push(configService.config.authentication.initializer(injector));
|
|
50
|
-
// Use environment config initializers to be used in app startup.
|
|
51
|
-
configService.initializers.forEach(initializer => {
|
|
52
|
-
initializersArray.push(initializer(injector));
|
|
53
|
-
});
|
|
54
|
-
initializersArray.push(menuInitializer(injector, logger));
|
|
55
|
-
initializersArray.push(accountInitializer(translateService, logger));
|
|
56
|
-
return initializersArray;
|
|
10
|
+
/*
|
|
11
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
12
|
+
*
|
|
13
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
14
|
+
* you may not use this file except in compliance with the License.
|
|
15
|
+
* You may obtain a copy of the License at
|
|
16
|
+
*
|
|
17
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
18
|
+
*
|
|
19
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
21
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
22
|
+
* See the License for the specific language governing permissions and
|
|
23
|
+
* limitations under the License.
|
|
24
|
+
*/
|
|
25
|
+
function initialize(initializers, logger) {
|
|
26
|
+
return () => {
|
|
27
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
logger.debug('Initializing application');
|
|
29
|
+
try {
|
|
30
|
+
logger.debug('Running', initializers.length);
|
|
31
|
+
for (const [index, initializer] of initializers.entries()) {
|
|
32
|
+
logger.debug('Executing app initializer:', index, initializer.name);
|
|
33
|
+
yield initializer();
|
|
34
|
+
logger.debug('Executed app initializer:', index, initializer.name);
|
|
35
|
+
}
|
|
36
|
+
logger.debug('Application initialized');
|
|
37
|
+
resolve();
|
|
38
|
+
}
|
|
39
|
+
catch (err) {
|
|
40
|
+
reject(err);
|
|
41
|
+
}
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function initializerFactory(configService, injector, logger, translateService) {
|
|
46
|
+
logger.debug('Provided app initializers ', configService.initializers);
|
|
47
|
+
const initializersArray = [];
|
|
48
|
+
// Auth-initializer
|
|
49
|
+
initializersArray.push(configService.config.authentication.initializer(injector));
|
|
50
|
+
// Use environment config initializers to be used in app startup.
|
|
51
|
+
configService.initializers.forEach(initializer => {
|
|
52
|
+
initializersArray.push(initializer(injector));
|
|
53
|
+
});
|
|
54
|
+
initializersArray.push(menuInitializer(injector, logger));
|
|
55
|
+
initializersArray.push(accountInitializer(translateService, logger));
|
|
56
|
+
return initializersArray;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
/*
|
|
60
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
61
|
-
*
|
|
62
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
63
|
-
* you may not use this file except in compliance with the License.
|
|
64
|
-
* You may obtain a copy of the License at
|
|
65
|
-
*
|
|
66
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
67
|
-
*
|
|
68
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
69
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
70
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
71
|
-
* See the License for the specific language governing permissions and
|
|
72
|
-
* limitations under the License.
|
|
73
|
-
*/
|
|
74
|
-
const ɵ0 = initialize, ɵ1 = initializerFactory;
|
|
75
|
-
class BootstrapModule {
|
|
76
|
-
}
|
|
77
|
-
BootstrapModule.decorators = [
|
|
78
|
-
{ type: NgModule, args: [{
|
|
79
|
-
declarations: [],
|
|
80
|
-
imports: [],
|
|
81
|
-
providers: [
|
|
82
|
-
{
|
|
83
|
-
provide: APP_INITIALIZER,
|
|
84
|
-
useFactory: ɵ0,
|
|
85
|
-
multi: true,
|
|
86
|
-
deps: [INITIALIZERS, NGXLogger]
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
provide: INITIALIZERS,
|
|
90
|
-
useFactory: ɵ1,
|
|
91
|
-
deps: [ConfigService, Injector, NGXLogger, TranslateService]
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
exports: []
|
|
95
|
-
},] }
|
|
59
|
+
/*
|
|
60
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
61
|
+
*
|
|
62
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
63
|
+
* you may not use this file except in compliance with the License.
|
|
64
|
+
* You may obtain a copy of the License at
|
|
65
|
+
*
|
|
66
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
67
|
+
*
|
|
68
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
69
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
70
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
71
|
+
* See the License for the specific language governing permissions and
|
|
72
|
+
* limitations under the License.
|
|
73
|
+
*/
|
|
74
|
+
const ɵ0 = initialize, ɵ1 = initializerFactory;
|
|
75
|
+
class BootstrapModule {
|
|
76
|
+
}
|
|
77
|
+
BootstrapModule.decorators = [
|
|
78
|
+
{ type: NgModule, args: [{
|
|
79
|
+
declarations: [],
|
|
80
|
+
imports: [],
|
|
81
|
+
providers: [
|
|
82
|
+
{
|
|
83
|
+
provide: APP_INITIALIZER,
|
|
84
|
+
useFactory: ɵ0,
|
|
85
|
+
multi: true,
|
|
86
|
+
deps: [INITIALIZERS, NGXLogger]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
provide: INITIALIZERS,
|
|
90
|
+
useFactory: ɵ1,
|
|
91
|
+
deps: [ConfigService, Injector, NGXLogger, TranslateService]
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
exports: []
|
|
95
|
+
},] }
|
|
96
96
|
];
|
|
97
97
|
|
|
98
|
-
/*
|
|
99
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
100
|
-
*
|
|
101
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
102
|
-
* you may not use this file except in compliance with the License.
|
|
103
|
-
* You may obtain a copy of the License at
|
|
104
|
-
*
|
|
105
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
106
|
-
*
|
|
107
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
108
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
109
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
110
|
-
* See the License for the specific language governing permissions and
|
|
111
|
-
* limitations under the License.
|
|
98
|
+
/*
|
|
99
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
100
|
+
*
|
|
101
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
102
|
+
* you may not use this file except in compliance with the License.
|
|
103
|
+
* You may obtain a copy of the License at
|
|
104
|
+
*
|
|
105
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
106
|
+
*
|
|
107
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
108
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
109
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
110
|
+
* See the License for the specific language governing permissions and
|
|
111
|
+
* limitations under the License.
|
|
112
112
|
*/
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* Generated bundle index. Do not edit.
|
|
114
|
+
/**
|
|
115
|
+
* Generated bundle index. Do not edit.
|
|
116
116
|
*/
|
|
117
117
|
|
|
118
118
|
export { BootstrapModule, ɵ0, ɵ1, initialize as ɵa, initializerFactory as ɵb };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class BootstrapModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class BootstrapModule {
|
|
2
|
+
}
|
package/lib/init.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NGXLogger } from 'ngx-logger';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { Injector } from '@angular/core';
|
|
4
|
-
import { ConfigService } from '@valtimo/config';
|
|
5
|
-
export declare function initialize(initializers: (() => Function)[], logger: NGXLogger): () => Promise<any>;
|
|
6
|
-
export declare function initializerFactory(configService: ConfigService, injector: Injector, logger: NGXLogger, translateService: TranslateService): any[];
|
|
1
|
+
import { NGXLogger } from 'ngx-logger';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { Injector } from '@angular/core';
|
|
4
|
+
import { ConfigService } from '@valtimo/config';
|
|
5
|
+
export declare function initialize(initializers: (() => Function)[], logger: NGXLogger): () => Promise<any>;
|
|
6
|
+
export declare function initializerFactory(configService: ConfigService, injector: Injector, logger: NGXLogger, translateService: TranslateService): any[];
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib/bootstrap.module';
|
|
1
|
+
export * from './lib/bootstrap.module';
|
package/valtimo-bootstrap.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
export { initialize as ɵa, initializerFactory as ɵb } from './lib/init';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
export { initialize as ɵa, initializerFactory as ɵb } from './lib/init';
|