@eui/tools 6.5.6 → 6.6.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.
- package/.prettierrc.json +19 -0
- package/.version.properties +1 -1
- package/CHANGELOG.md +9 -0
- package/bin/eui-scripts.js +2 -0
- package/bin/scripts/csdr-app-package-init.js +16 -0
- package/bin/scripts/csdr-cli.js +1 -1
- package/package.json +1 -1
- package/scripts/app/public/index.html +22 -170
- package/scripts/app/public/index.js +95 -0
- package/scripts/app/public/package-init.html +254 -0
- package/scripts/app/public/package-init.js +138 -0
- package/scripts/app/public/stats.html +60 -125
- package/scripts/app/public/stats.js +68 -0
- package/scripts/app/routes/index.js +28 -9
- package/scripts/app/server.js +2 -0
- package/scripts/csdr/cli/cli-utils.js +2 -30
- package/scripts/csdr/cli/constants.js +1 -12
- package/scripts/csdr/cli/package-build-backend.js +18 -0
- package/scripts/csdr/cli/package-build-frontend.js +47 -164
- package/scripts/csdr/cli/package-prompt.js +0 -84
- package/scripts/csdr/cli/package.js +65 -14
- package/scripts/csdr/config/register.js +71 -158
- package/scripts/index.js +0 -1
- package/scripts/csdr/cli/app.js +0 -204
- package/scripts/csdr/cli/skeletons/app/angular-config.json +0 -31
- package/scripts/csdr/cli/skeletons/app/dependencies-base.json +0 -2
- package/scripts/csdr/cli/skeletons/app/dependencies-composite.json +0 -6
- package/scripts/csdr/cli/skeletons/app/gitignore_TO_REPLACE +0 -63
- package/scripts/csdr/cli/skeletons/app/mock/json/core/user.js +0 -31
- package/scripts/csdr/cli/skeletons/app/mock/json/lowdb.js +0 -25
- package/scripts/csdr/cli/skeletons/app/mock/json/middlewares/delay.js +0 -10
- package/scripts/csdr/cli/skeletons/app/mock/json/middlewares/errors.js +0 -73
- package/scripts/csdr/cli/skeletons/app/mock/json/middlewares/sse.js +0 -28
- package/scripts/csdr/cli/skeletons/app/mock/json/routes.json +0 -3
- package/scripts/csdr/cli/skeletons/app/mock/json/server.js +0 -38
- package/scripts/csdr/cli/skeletons/app/package.json +0 -6
- package/scripts/csdr/cli/skeletons/app/scripts.json +0 -7
- package/scripts/csdr/cli/skeletons/app/src/app/app-routing.module.ts +0 -32
- package/scripts/csdr/cli/skeletons/app/src/app/app.component.html +0 -1
- package/scripts/csdr/cli/skeletons/app/src/app/app.component.ts +0 -9
- package/scripts/csdr/cli/skeletons/app/src/app/app.module.ts +0 -68
- package/scripts/csdr/cli/skeletons/app/src/app/core/app-shell/app-shell.component.html +0 -27
- package/scripts/csdr/cli/skeletons/app/src/app/core/app-shell/app-shell.component.ts +0 -188
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/about/about.component.html +0 -30
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/about/about.component.ts +0 -71
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/error-pages/page-404/page-404.component.ts +0 -19
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/error-pages/page-500/page-500.component.ts +0 -18
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile/profile.component.html +0 -104
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile/profile.component.scss +0 -44
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile/profile.component.ts +0 -39
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile-menu/profile-menu.component.html +0 -26
- package/scripts/csdr/cli/skeletons/app/src/app/core/components/profile-menu/profile-menu.component.ts +0 -104
- package/scripts/csdr/cli/skeletons/app/src/app/core/core.module.ts +0 -46
- package/scripts/csdr/cli/skeletons/app/src/app/core/services/core.service.ts +0 -124
- package/scripts/csdr/cli/skeletons/app/src/app/features/home/home-routing.module.ts +0 -15
- package/scripts/csdr/cli/skeletons/app/src/app/features/home/home.component.html +0 -6
- package/scripts/csdr/cli/skeletons/app/src/app/features/home/home.component.ts +0 -8
- package/scripts/csdr/cli/skeletons/app/src/app/features/home/home.module.ts +0 -18
- package/scripts/csdr/cli/skeletons/app/src/app/features/sample-lib.module.ts +0 -9
- package/scripts/csdr/cli/skeletons/app/src/app/shared/components/.gitkeep +0 -0
- package/scripts/csdr/cli/skeletons/app/src/app/shared/shared.module.ts +0 -20
- package/scripts/csdr/cli/skeletons/app/src/assets/i18n/en.json +0 -3
- package/scripts/csdr/cli/skeletons/app/src/assets/i18n/fr.json +0 -3
- package/scripts/csdr/cli/skeletons/app/src/assets/openid-login-config.local-mwp-dev.json +0 -144
- package/scripts/csdr/cli/skeletons/app/src/assets/openid-login-config.local.json +0 -36
- package/scripts/csdr/cli/skeletons/app/src/config/global.ts +0 -9
- package/scripts/csdr/cli/skeletons/app/src/config/index.ts +0 -8
- package/scripts/csdr/cli/skeletons/app/src/config/modules.ts +0 -13
- package/scripts/csdr/cli/skeletons/app/src/environments/environment.dev.ts +0 -4
- package/scripts/csdr/cli/skeletons/app/src/environments/environment.local-mwp-dev-openid.ts +0 -6
- package/scripts/csdr/cli/skeletons/app/src/environments/environment.local-openid.ts +0 -5
- package/scripts/csdr/cli/skeletons/app/src/environments/environment.prod.ts +0 -12
- package/scripts/csdr/cli/skeletons/app/src/environments/environment.ts +0 -5
- package/scripts/csdr/cli/skeletons/app/src/index.html +0 -24
- package/scripts/csdr/cli/skeletons/app/src/styles.scss +0 -1
- package/scripts/csdr/cli/skeletons/app/tslint.json +0 -17
- package/scripts/csdr/cli/skeletons/app-eui10/angular-config.json +0 -20
- package/scripts/csdr/cli/skeletons/app-eui10/dependencies-composite.json +0 -5
- package/scripts/csdr/cli/skeletons/app-eui10/gitignore_TO_REPLACE +0 -63
- package/scripts/csdr/cli/skeletons/app-eui10/mock/app/models/user.js +0 -8
- package/scripts/csdr/cli/skeletons/app-eui10/mock/app/routes/index.js +0 -5
- package/scripts/csdr/cli/skeletons/app-eui10/mock/app/routes/user_routes.js +0 -24
- package/scripts/csdr/cli/skeletons/app-eui10/mock/db/db.json +0 -12
- package/scripts/csdr/cli/skeletons/app-eui10/mock/server.js +0 -16
- package/scripts/csdr/cli/skeletons/app-eui10/package.json +0 -6
- package/scripts/csdr/cli/skeletons/app-eui10/scripts.json +0 -5
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app-routing.module.ts +0 -18
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app-starter.service.ts +0 -68
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.component.html +0 -29
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.component.ts +0 -55
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.module.ts +0 -27
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/components/.gitkeep +0 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/core.module.ts +0 -84
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/reducers/index.ts +0 -33
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home-routing.module.ts +0 -15
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.component.html +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.component.ts +0 -19
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.module.ts +0 -18
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page1/page1.component.html +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page1/page1.component.ts +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page2/page2.component.html +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page2/page2.component.ts +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1-routing.module.ts +0 -18
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.component.html +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.component.ts +0 -8
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.module.ts +0 -21
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2-routing.module.ts +0 -16
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.component.html +0 -8
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.component.ts +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.module.ts +0 -17
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/shared/shared.module.ts +0 -21
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/shared/testing/router.mock.ts +0 -18
- package/scripts/csdr/cli/skeletons/app-eui10/src/assets/config/env-json-config.json +0 -8
- package/scripts/csdr/cli/skeletons/app-eui10/src/assets/i18n/en.json +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/assets/i18n/fr.json +0 -7
- package/scripts/csdr/cli/skeletons/app-eui10/src/config/global.ts +0 -26
- package/scripts/csdr/cli/skeletons/app-eui10/src/config/index.ts +0 -8
- package/scripts/csdr/cli/skeletons/app-eui10/src/config/modules.ts +0 -4
- package/scripts/csdr/cli/skeletons/app-eui10/src/environments/environment.prod.ts +0 -9
- package/scripts/csdr/cli/skeletons/app-eui10/src/environments/environment.ts +0 -9
- package/scripts/csdr/cli/skeletons/app-eui10/src/index.html +0 -21
- package/scripts/csdr/cli/skeletons/app-eui10/src/styles.scss +0 -1
- package/scripts/csdr/cli/skeletons/app-eui10/tslint.json +0 -17
- package/scripts/csdr/cli/skeletons/app-showcase/angular-config.json +0 -103
- package/scripts/csdr/cli/skeletons/app-showcase/dependencies-composite.json +0 -5
- package/scripts/csdr/cli/skeletons/app-showcase/gitignore_TO_REPLACE +0 -50
- package/scripts/csdr/cli/skeletons/app-showcase/package.json +0 -6
- package/scripts/csdr/cli/skeletons/app-showcase/scripts.json +0 -3
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/app-routing.module.ts +0 -21
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.component.html +0 -24
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.component.ts +0 -19
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.routes.ts +0 -7
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home-routing.module.ts +0 -15
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.component.html +0 -7
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.component.ts +0 -8
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.module.ts +0 -17
- package/scripts/csdr/cli/skeletons/app-showcase/src/assets/app-metadata.json +0 -8
- package/scripts/csdr/cli/skeletons/app-showcase/src/assets/config/env-json-config.json +0 -41
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/angular-config.json +0 -33
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/dependencies-composite.json +0 -5
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/gitignore_TO_REPLACE +0 -50
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/package.json +0 -6
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/scripts.json +0 -3
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app-routing.module.ts +0 -21
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.component.html +0 -26
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.component.ts +0 -19
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.routes.ts +0 -7
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home-routing.module.ts +0 -15
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.component.html +0 -7
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.component.ts +0 -8
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.module.ts +0 -17
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/shared/shared.module.ts +0 -15
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/assets/app-metadata.json +0 -8
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/assets/config/env-json-config.json +0 -41
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/index.html +0 -22
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/assets/remote-sources/.gitkeep +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/dependencies-base.json +0 -2
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/dependencies-composite.json +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/src/dummy.spec.ts.TO_REPLACE +0 -5
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/tsconfig.lib.json +0 -32
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/tslint.json +0 -17
- package/scripts/csdr/cli/skeletons/package/frontend-eui13/dependencies-composite.json +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/index.ts +0 -2
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.html +0 -1
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.spec.ts.TO_REPLACE +0 -25
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.ts +0 -14
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/module.ts +0 -17
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/routing.module.ts +0 -14
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/angular.json +0 -90
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/browserslist +0 -6
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-base.json +0 -2
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-ACC.json +0 -4
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-DLT.json +0 -4
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-INT.json +0 -4
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-PROD.json +0 -4
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite-TRN.json +0 -4
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite.json +0 -8
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/gitignore_TO_REPLACE +0 -65
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/karma.conf.js +0 -7
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/package.json_TO_REPLACE +0 -8
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/dummy.scss +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/dummy.spec.ts +0 -6
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/eui-components.ts +0 -11
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/fallback.component.ts +0 -11
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.component.ts +0 -91
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.ts +0 -87
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/reducers/custom-route-serializer.ts +0 -28
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/reducers/index.ts +0 -43
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/routing.module.ts +0 -33
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/assets/.gitkeep +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/global.ts +0 -42
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/index.ts +0 -10
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/modules.ts +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/environments/environment.prod.ts +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/environments/environment.ts +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/favicon.ico +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/index.html +0 -10
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/main.ts +0 -12
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/polyfills.ts +0 -87
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tsconfig.app.json +0 -20
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tsconfig.spec.json +0 -18
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tslint-remote.json +0 -7
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tslint.json +0 -17
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/webpack.extra.js +0 -10
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/dummy.scss +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/dummy.spec.ts +0 -6
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/eui-components.ts +0 -9
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/fallback.component.ts +0 -11
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/module.component.ts +0 -91
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/module.ts +0 -87
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/reducers/custom-route-serializer.ts +0 -28
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/reducers/index.ts +0 -43
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/routing.module.ts +0 -33
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/assets/.gitkeep +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/config/global.ts +0 -55
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/config/index.ts +0 -10
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/config/modules.ts +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/environments/environment.prod.ts +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/environments/environment.ts +0 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/favicon.ico +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/index.html +0 -10
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/main.ts +0 -12
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/polyfills.ts +0 -87
- package/scripts/csdr/cli/skeletons/virtual-remote/10.x/angular-config.json +0 -9
- package/scripts/csdr/cli/skeletons/virtual-remote/10.x/dependencies.json +0 -20
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/assets/i18n/en.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/assets/i18n/fr.json +0 -0
- /package/scripts/csdr/cli/skeletons/{app-eui10 → package/frontend-eui15}/dependencies-base.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/gitignore_TO_REPLACE +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/karma.conf.js +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/ng-package.json +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/package.json +0 -0
- /package/scripts/csdr/cli/skeletons/{app/src/app/core → package/frontend-eui15/src}/dummy.spec.ts.TO_REPLACE +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/src/index.ts +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/src/lib/module.ts +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/src/test.ts.TO_REPLACE +0 -0
- /package/scripts/csdr/cli/skeletons/package/{frontend-eui10 → frontend-eui15}/tsconfig.spec.json +0 -0
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NavigationEnd } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs/Observable';
|
|
3
|
-
|
|
4
|
-
export class RouterMock {
|
|
5
|
-
routerState = { root: '' };
|
|
6
|
-
public navigationEnd = new NavigationEnd(0, 'http://url1', 'http://url2');
|
|
7
|
-
public events = new Observable(observer => {
|
|
8
|
-
observer.next(this.navigationEnd);
|
|
9
|
-
observer.complete();
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
constructor() {}
|
|
13
|
-
|
|
14
|
-
createUrlTree() {}
|
|
15
|
-
|
|
16
|
-
serializeUrl() {}
|
|
17
|
-
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { GlobalConfig } from '@eui/core';
|
|
2
|
-
|
|
3
|
-
export const GLOBAL: GlobalConfig = {
|
|
4
|
-
appTitle: 'CSDR-app',
|
|
5
|
-
i18n: {
|
|
6
|
-
i18nService: {
|
|
7
|
-
defaultLanguage: 'en',
|
|
8
|
-
languages: ['en', 'fr'],
|
|
9
|
-
},
|
|
10
|
-
i18nLoader: {
|
|
11
|
-
i18nFolders: ['i18n-eui', 'i18n'],
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
locale: {
|
|
15
|
-
id: 'en',
|
|
16
|
-
available: ['en', 'fr'],
|
|
17
|
-
bindWithTranslate: true,
|
|
18
|
-
affectGlobalLocale: true,
|
|
19
|
-
},
|
|
20
|
-
user: {
|
|
21
|
-
defaultUserPreferences: {
|
|
22
|
-
dashboard: { },
|
|
23
|
-
lang: 'en',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<title>@app.name@</title>
|
|
7
|
-
<base href="/">
|
|
8
|
-
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
11
|
-
</head>
|
|
12
|
-
|
|
13
|
-
<body>
|
|
14
|
-
<app-root>
|
|
15
|
-
<div id="loader-wrapper">
|
|
16
|
-
<div id="loader"></div>
|
|
17
|
-
</div>
|
|
18
|
-
</app-root>
|
|
19
|
-
</body>
|
|
20
|
-
|
|
21
|
-
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/* You can add global styles to this file, and also import other style files */
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"config": {
|
|
3
|
-
"root": "",
|
|
4
|
-
"sourceRoot": "apps/@app.name@/src",
|
|
5
|
-
"projectType": "application",
|
|
6
|
-
"prefix": "app",
|
|
7
|
-
"schematics": {
|
|
8
|
-
"@schematics/angular:component": {
|
|
9
|
-
"styleext": "scss"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"architect": {
|
|
13
|
-
"build": {
|
|
14
|
-
"builder": "ngx-build-plus:build",
|
|
15
|
-
"options": {
|
|
16
|
-
"outputPath": "apps/@app.name@/dist",
|
|
17
|
-
"index": "apps/@app.name@/src/_generated/index.html",
|
|
18
|
-
"main": "apps/@app.name@/src/_generated/main.ts",
|
|
19
|
-
"polyfills": "apps/@app.name@/src/_generated/polyfills.ts",
|
|
20
|
-
"tsConfig": "apps/@app.name@/tsconfig.app.json",
|
|
21
|
-
"assets": [
|
|
22
|
-
"apps/@app.name@/src/_generated/favicon.ico",
|
|
23
|
-
"apps/@app.name@/src/assets",
|
|
24
|
-
{
|
|
25
|
-
"glob": "**/*",
|
|
26
|
-
"input": "node_modules/@eui/core/assets/",
|
|
27
|
-
"output": "./assets"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"styles": [
|
|
31
|
-
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
32
|
-
"node_modules/@eui/styles/dist/styles/eui-next.css"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
"configurations": {
|
|
36
|
-
"production": {
|
|
37
|
-
"fileReplacements": [
|
|
38
|
-
{
|
|
39
|
-
"replace": "apps/@app.name@/src/_generated/environments/environment.ts",
|
|
40
|
-
"with": "apps/@app.name@/src/_generated/environments/environment.prod.ts"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"optimization": false,
|
|
44
|
-
"outputHashing": "all",
|
|
45
|
-
"sourceMap": false,
|
|
46
|
-
"extractCss": true,
|
|
47
|
-
"namedChunks": true,
|
|
48
|
-
"aot": true,
|
|
49
|
-
"extractLicenses": true,
|
|
50
|
-
"vendorChunk": false,
|
|
51
|
-
"buildOptimizer": false,
|
|
52
|
-
"budgets": [
|
|
53
|
-
{
|
|
54
|
-
"type": "initial",
|
|
55
|
-
"maximumWarning": "2mb",
|
|
56
|
-
"maximumError": "6mb"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
"production-optimized": {
|
|
61
|
-
"fileReplacements": [
|
|
62
|
-
{
|
|
63
|
-
"replace": "apps/@app.name@/src/_generated/environments/environment.ts",
|
|
64
|
-
"with": "apps/@app.name@/src/_generated/environments/environment.prod.ts"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"optimization": true,
|
|
68
|
-
"outputHashing": "all",
|
|
69
|
-
"sourceMap": false,
|
|
70
|
-
"extractCss": true,
|
|
71
|
-
"namedChunks": true,
|
|
72
|
-
"aot": true,
|
|
73
|
-
"extractLicenses": true,
|
|
74
|
-
"vendorChunk": false,
|
|
75
|
-
"buildOptimizer": true,
|
|
76
|
-
"budgets": [
|
|
77
|
-
{
|
|
78
|
-
"type": "initial",
|
|
79
|
-
"maximumWarning": "2mb",
|
|
80
|
-
"maximumError": "6mb"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"serve": {
|
|
87
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
88
|
-
"options": {
|
|
89
|
-
"browserTarget": "@app.name@:build"
|
|
90
|
-
},
|
|
91
|
-
"configurations": {
|
|
92
|
-
"proxy-mock": {
|
|
93
|
-
"browserTarget": "@app.name@:build",
|
|
94
|
-
"proxyConfig": "apps/@app.name@/proxy-mock.conf.json"
|
|
95
|
-
},
|
|
96
|
-
"production": {
|
|
97
|
-
"browserTarget": "@app.name@:build:production"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
2
|
-
|
|
3
|
-
# compiled output
|
|
4
|
-
**/node_modules
|
|
5
|
-
**/target
|
|
6
|
-
**/build
|
|
7
|
-
**/dist
|
|
8
|
-
**/out-tsc
|
|
9
|
-
**/tmp
|
|
10
|
-
**/tests/reports
|
|
11
|
-
# /src/assets/i18n-compiled/*
|
|
12
|
-
# /src/assets/openid-login-config*
|
|
13
|
-
|
|
14
|
-
# IDEs and editors
|
|
15
|
-
/.idea
|
|
16
|
-
.project
|
|
17
|
-
.classpath
|
|
18
|
-
.c9/
|
|
19
|
-
*.launch
|
|
20
|
-
.settings/
|
|
21
|
-
*.sublime-workspace
|
|
22
|
-
|
|
23
|
-
# IDE - VSCode
|
|
24
|
-
.vscode/*
|
|
25
|
-
!.vscode/settings.json
|
|
26
|
-
!.vscode/tasks.json
|
|
27
|
-
!.vscode/launch.json
|
|
28
|
-
!.vscode/extensions.json
|
|
29
|
-
|
|
30
|
-
# misc
|
|
31
|
-
/.sass-cache
|
|
32
|
-
/connect.lock
|
|
33
|
-
/coverage
|
|
34
|
-
/libpeerconnection.log
|
|
35
|
-
npm-debug.log
|
|
36
|
-
testem.log
|
|
37
|
-
/typings
|
|
38
|
-
yarn-error.log
|
|
39
|
-
|
|
40
|
-
# e2e
|
|
41
|
-
/e2e/*.js
|
|
42
|
-
/e2e/*.map
|
|
43
|
-
|
|
44
|
-
# System Files
|
|
45
|
-
.DS_Store
|
|
46
|
-
Thumbs.db
|
|
47
|
-
|
|
48
|
-
/*.iml
|
|
49
|
-
|
|
50
|
-
/src/_generated
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { RouterModule, ExtraOptions } from '@angular/router';
|
|
3
|
-
|
|
4
|
-
import { routes } from './app.routes';
|
|
5
|
-
|
|
6
|
-
const routerOptions: ExtraOptions = {
|
|
7
|
-
anchorScrolling: 'enabled',
|
|
8
|
-
scrollPositionRestoration: 'enabled',
|
|
9
|
-
scrollOffset: [0, 65],
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
imports: [
|
|
14
|
-
RouterModule.forRoot(routes, routerOptions),
|
|
15
|
-
],
|
|
16
|
-
exports: [
|
|
17
|
-
RouterModule,
|
|
18
|
-
],
|
|
19
|
-
})
|
|
20
|
-
export class AppRoutingModule {
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<eui-app [isSidebarOpen]="true" isSidebarHidden="false">
|
|
2
|
-
<eui-toolbar>
|
|
3
|
-
<eui-toolbar-logo></eui-toolbar-logo>
|
|
4
|
-
<eui-toolbar-app appName="eUI"></eui-toolbar-app>
|
|
5
|
-
<eui-toolbar-items euiPositionRight>
|
|
6
|
-
<eui-toolbar-item-user-profile>
|
|
7
|
-
<eui-user-profile-menu>
|
|
8
|
-
<eui-user-profile-menu-item>
|
|
9
|
-
<eui-icon iconClass="eui-icon-person-thin"></eui-icon> My profile information
|
|
10
|
-
</eui-user-profile-menu-item>
|
|
11
|
-
<eui-user-profile-menu-item>
|
|
12
|
-
<eui-icon iconClass="eui-icon-logout-thin"></eui-icon> Sign out
|
|
13
|
-
</eui-user-profile-menu-item>
|
|
14
|
-
</eui-user-profile-menu>
|
|
15
|
-
</eui-toolbar-item-user-profile>
|
|
16
|
-
</eui-toolbar-items>
|
|
17
|
-
</eui-toolbar>
|
|
18
|
-
|
|
19
|
-
<eui-app-sidebar>
|
|
20
|
-
<eui-app-sidebar-body>
|
|
21
|
-
<eui-app-sidebar-menu [items]="sidebarItems" [hasIcons]="true" [hasTooltip]="false"></eui-app-sidebar-menu>
|
|
22
|
-
</eui-app-sidebar-body>
|
|
23
|
-
</eui-app-sidebar>
|
|
24
|
-
</eui-app>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { I18nService } from '@eui/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
/* tslint:disable-next-line */
|
|
6
|
-
selector: 'app-root',
|
|
7
|
-
templateUrl: './app.component.html',
|
|
8
|
-
})
|
|
9
|
-
export class AppComponent {
|
|
10
|
-
sidebarItems = [
|
|
11
|
-
{ label: 'Home', url: '/home', iconClass: 'eui-icon-home' },
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
constructor(
|
|
15
|
-
protected i18nService: I18nService,
|
|
16
|
-
) {
|
|
17
|
-
this.i18nService.init();
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Routes } from '@angular/router';
|
|
2
|
-
|
|
3
|
-
export const routes: Routes = [
|
|
4
|
-
{ path: '', redirectTo: 'home', pathMatch: 'full' },
|
|
5
|
-
{ path: 'index.html', redirectTo: 'home', pathMatch: 'full' },
|
|
6
|
-
{ path: 'home', loadChildren: './features/_home/home.module#Module' },
|
|
7
|
-
];
|
package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home-routing.module.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { RouterModule, Routes } from '@angular/router';
|
|
3
|
-
|
|
4
|
-
import { HomeComponent } from './home.component';
|
|
5
|
-
|
|
6
|
-
const routes: Routes = [
|
|
7
|
-
{ path: '', component: HomeComponent },
|
|
8
|
-
];
|
|
9
|
-
|
|
10
|
-
@NgModule({
|
|
11
|
-
imports: [
|
|
12
|
-
RouterModule.forChild(routes),
|
|
13
|
-
],
|
|
14
|
-
})
|
|
15
|
-
export class HomeRoutingModule {}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { EuiPageModule } from '@eui/components-next';
|
|
4
|
-
|
|
5
|
-
import { HomeRoutingModule } from './home-routing.module';
|
|
6
|
-
import { HomeComponent } from './home.component';
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
imports: [
|
|
10
|
-
HomeRoutingModule,
|
|
11
|
-
EuiPageModule,
|
|
12
|
-
],
|
|
13
|
-
declarations: [
|
|
14
|
-
HomeComponent,
|
|
15
|
-
],
|
|
16
|
-
})
|
|
17
|
-
export class Module {}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"global": {
|
|
3
|
-
"appTitle": "CSDR-app",
|
|
4
|
-
"i18n": {
|
|
5
|
-
"i18nService": {
|
|
6
|
-
"defaultLanguage": "en",
|
|
7
|
-
"languages": [
|
|
8
|
-
"en",
|
|
9
|
-
"fr",
|
|
10
|
-
"es"
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"i18nLoader": {
|
|
14
|
-
"i18nFolders": [
|
|
15
|
-
"i18n-eui",
|
|
16
|
-
"i18n-ecl",
|
|
17
|
-
"i18n"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"versions": {},
|
|
23
|
-
"modules": {
|
|
24
|
-
"core": {
|
|
25
|
-
"api": {
|
|
26
|
-
"base": "assets/",
|
|
27
|
-
"user": {
|
|
28
|
-
"base": "config/",
|
|
29
|
-
"details": "user-details.json",
|
|
30
|
-
"preferences": "user-preferences.json",
|
|
31
|
-
"rights": "user-rights.json"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"users": {
|
|
36
|
-
"api": {
|
|
37
|
-
"base": "https://jsonplaceholder.typicode.com/users"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"build": {
|
|
3
|
-
"assets": [
|
|
4
|
-
"apps/@app.name@/src/_generated/favicon.ico",
|
|
5
|
-
"apps/@app.name@/src/assets",
|
|
6
|
-
{
|
|
7
|
-
"glob": "**/*",
|
|
8
|
-
"input": "node_modules/@eui/core/assets/",
|
|
9
|
-
"output": "./assets"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"glob": "**/*",
|
|
13
|
-
"input": "node_modules/@eui/styles-base/src/assets/",
|
|
14
|
-
"output": "./assets"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"styles": [
|
|
18
|
-
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css",
|
|
19
|
-
"packages/eui/packages/styles/src/styles/eui-showcase-dev-only.scss",
|
|
20
|
-
"packages/eui/packages/styles/src/styles/eui-next-dev-only.scss"
|
|
21
|
-
],
|
|
22
|
-
"stylesBuild": [
|
|
23
|
-
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css",
|
|
24
|
-
"node_modules/@eui/styles/dist/styles/eui-showcase.css",
|
|
25
|
-
"node_modules/@eui/styles/dist/styles/eui-next.css"
|
|
26
|
-
],
|
|
27
|
-
"scripts": [
|
|
28
|
-
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js",
|
|
29
|
-
"node_modules/marked/lib/marked.js",
|
|
30
|
-
"node_modules/prismjs/prism.js"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
2
|
-
|
|
3
|
-
# compiled output
|
|
4
|
-
**/node_modules
|
|
5
|
-
**/target
|
|
6
|
-
**/build
|
|
7
|
-
**/dist
|
|
8
|
-
**/out-tsc
|
|
9
|
-
**/tmp
|
|
10
|
-
**/tests/reports
|
|
11
|
-
# /src/assets/i18n-compiled/*
|
|
12
|
-
# /src/assets/openid-login-config*
|
|
13
|
-
|
|
14
|
-
# IDEs and editors
|
|
15
|
-
/.idea
|
|
16
|
-
.project
|
|
17
|
-
.classpath
|
|
18
|
-
.c9/
|
|
19
|
-
*.launch
|
|
20
|
-
.settings/
|
|
21
|
-
*.sublime-workspace
|
|
22
|
-
|
|
23
|
-
# IDE - VSCode
|
|
24
|
-
.vscode/*
|
|
25
|
-
!.vscode/settings.json
|
|
26
|
-
!.vscode/tasks.json
|
|
27
|
-
!.vscode/launch.json
|
|
28
|
-
!.vscode/extensions.json
|
|
29
|
-
|
|
30
|
-
# misc
|
|
31
|
-
/.sass-cache
|
|
32
|
-
/connect.lock
|
|
33
|
-
/coverage
|
|
34
|
-
/libpeerconnection.log
|
|
35
|
-
npm-debug.log
|
|
36
|
-
testem.log
|
|
37
|
-
/typings
|
|
38
|
-
yarn-error.log
|
|
39
|
-
|
|
40
|
-
# e2e
|
|
41
|
-
/e2e/*.js
|
|
42
|
-
/e2e/*.map
|
|
43
|
-
|
|
44
|
-
# System Files
|
|
45
|
-
.DS_Store
|
|
46
|
-
Thumbs.db
|
|
47
|
-
|
|
48
|
-
/*.iml
|
|
49
|
-
|
|
50
|
-
/src/_generated
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { RouterModule, ExtraOptions } from '@angular/router';
|
|
3
|
-
|
|
4
|
-
import { routes } from './app.routes';
|
|
5
|
-
|
|
6
|
-
const routerOptions: ExtraOptions = {
|
|
7
|
-
anchorScrolling: 'enabled',
|
|
8
|
-
scrollPositionRestoration: 'enabled',
|
|
9
|
-
scrollOffset: [0, 65],
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
imports: [
|
|
14
|
-
RouterModule.forRoot(routes, routerOptions),
|
|
15
|
-
],
|
|
16
|
-
exports: [
|
|
17
|
-
RouterModule,
|
|
18
|
-
],
|
|
19
|
-
})
|
|
20
|
-
export class AppRoutingModule {
|
|
21
|
-
}
|