@eui/tools 6.6.2 → 6.7.1
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/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/app/public/index.html +41 -32
- package/scripts/app/public/index.js +34 -25
- package/scripts/app/public/package-init.html +11 -0
- package/scripts/app/public/package-init.js +2 -0
- package/scripts/app/routes/index.js +22 -22
- package/scripts/csdr/cli/constants.js +2 -1
- package/scripts/csdr/cli/package-build-frontend.js +6 -10
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/assets/i18n/en.json +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/assets/i18n/fr.json +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/index.ts +2 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/components/main.component.html +57 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/components/main.component.ts +8 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/constants.ts +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/containers/container.component.ts +28 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/module.ts +79 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/default/src/lib/routing-module.ts +23 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/.eslintrc.json +79 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/assets/i18n/en.json +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/assets/i18n/fr.json +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/dependencies-base.json +2 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/dependencies-composite.json +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/gitignore_TO_REPLACE +46 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/karma.conf.js +7 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/ng-package.json +7 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/package.json +4 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/dummy.spec.ts.TO_REPLACE +5 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/index.ts +4 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/blocks/sample/components/sample.component.html +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/blocks/sample/components/sample.component.ts +14 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/blocks/sample/containers/container.component.ts +36 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/blocks/sample/models/block.model.ts +5 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/blocks/sample/models/index.ts +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/blocks/sample/module.ts +37 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/components/sample.component.html +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/components/sample.component.ts +14 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/constants.ts +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/containers/block-store.service.ts +33 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/containers/container.component.ts +44 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/containers/generic-block-resolver.service.ts +32 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/models/block-type.model.ts +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/models/block.model.ts +10 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/models/index.ts +2 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/module.ts +60 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/store/actions/block.actions.ts +26 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/store/reducers/block.reducer.ts +48 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/store/reducers/index.ts +22 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/main/store/selectors/block.selectors.ts +29 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/lib/module.ts +17 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/src/test.ts.TO_REPLACE +21 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/tsconfig.lib.json +32 -0
- package/scripts/csdr/cli/skeletons/package/frontend/15.x/participant/tsconfig.spec.json +17 -0
- package/scripts/csdr/config/remotes.js +1 -1
- package/scripts/utils/tools.js +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui15/assets/i18n/en.json +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-eui15/assets/i18n/fr.json +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-eui15/src/index.ts +0 -1
- package/scripts/csdr/cli/skeletons/package/frontend-eui15/src/lib/module.ts +0 -11
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/.eslintrc.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/dependencies-base.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/dependencies-composite.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/gitignore_TO_REPLACE +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/karma.conf.js +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/ng-package.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/package.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/src/dummy.spec.ts.TO_REPLACE +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/src/test.ts.TO_REPLACE +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/tsconfig.lib.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/tsconfig.spec.json +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import { MainParticipantModule } from './main/module';
|
|
4
|
+
|
|
5
|
+
import { @module.class.name@BlockSampleModule } from './blocks/sample/module';
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
imports: [
|
|
9
|
+
MainParticipantModule,
|
|
10
|
+
@module.class.name@BlockSampleModule,
|
|
11
|
+
],
|
|
12
|
+
exports: [
|
|
13
|
+
MainParticipantModule,
|
|
14
|
+
],
|
|
15
|
+
})
|
|
16
|
+
export class @module.class.name@Module {
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
2
|
+
|
|
3
|
+
import 'zone.js/dist/zone';
|
|
4
|
+
import 'zone.js/dist/zone-testing';
|
|
5
|
+
import { getTestBed } from '@angular/core/testing';
|
|
6
|
+
import {
|
|
7
|
+
BrowserDynamicTestingModule,
|
|
8
|
+
platformBrowserDynamicTesting
|
|
9
|
+
} from '@angular/platform-browser-dynamic/testing';
|
|
10
|
+
|
|
11
|
+
declare const require: any;
|
|
12
|
+
|
|
13
|
+
// First, initialize the Angular testing environment.
|
|
14
|
+
getTestBed().initTestEnvironment(
|
|
15
|
+
BrowserDynamicTestingModule,
|
|
16
|
+
platformBrowserDynamicTesting()
|
|
17
|
+
);
|
|
18
|
+
// Then we find all the tests.
|
|
19
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
|
20
|
+
// And load the modules.
|
|
21
|
+
context.keys().map(context);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.build.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "./out-tsc/lib",
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"module": "ES2022",
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"inlineSources": true,
|
|
11
|
+
"emitDecoratorMetadata": true,
|
|
12
|
+
"experimentalDecorators": true,
|
|
13
|
+
"importHelpers": true,
|
|
14
|
+
"types": [],
|
|
15
|
+
"lib": [
|
|
16
|
+
"ES2022",
|
|
17
|
+
"dom"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"angularCompilerOptions": {
|
|
21
|
+
"annotateForClosureCompiler": true,
|
|
22
|
+
"skipTemplateCodegen": true,
|
|
23
|
+
"strictMetadataEmit": true,
|
|
24
|
+
"fullTemplateTypeCheck": true,
|
|
25
|
+
"strictInjectionParameters": true,
|
|
26
|
+
"enableResourceInlining": true
|
|
27
|
+
},
|
|
28
|
+
"exclude": [
|
|
29
|
+
"src/test.ts",
|
|
30
|
+
"**/*.spec.ts"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -153,7 +153,7 @@ module.exports.isLocalRemote = (npmPkg) => {
|
|
|
153
153
|
module.exports.getRemotesPackages = (remotes) => {
|
|
154
154
|
let packages = [], deps = [];
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
remotes.forEach((r) => {
|
|
157
157
|
const remote = this.getRemote(r);
|
|
158
158
|
const npmPkgs = Object.keys(remote.dependencies.composite);
|
|
159
159
|
|
package/scripts/utils/tools.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib/module';
|
/package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/.eslintrc.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/karma.conf.js
RENAMED
|
File without changes
|
/package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/ng-package.json
RENAMED
|
File without changes
|
/package/scripts/csdr/cli/skeletons/package/{frontend-eui15 → frontend/15.x/default}/package.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|