@ihk-gfi/lux-components-update 15.0.3 → 15.0.4

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 (97) hide show
  1. package/@angular-devkit/schematics-cli/schematic/files/README.md +28 -0
  2. package/@angular-devkit/schematics-cli/schematic/files/__dot__gitignore +18 -0
  3. package/@angular-devkit/schematics-cli/schematic/files/__dot__npmignore +3 -0
  4. package/@angular-devkit/schematics-cli/schematic/files/package.json +25 -0
  5. package/@angular-devkit/schematics-cli/schematic/files/src/collection.json +36 -0
  6. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/files/test2 +6 -0
  7. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/files/test__INDEX__ +2 -0
  8. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/index.ts +53 -0
  9. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/index_spec.ts +24 -0
  10. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/schema.json +16 -0
  11. package/@angular-devkit/schematics-cli/schematic/files/src/my-other-schematic/index.ts +27 -0
  12. package/@angular-devkit/schematics-cli/schematic/files/src/my-other-schematic/index_spec.ts +14 -0
  13. package/@angular-devkit/schematics-cli/schematic/files/src/my-schematic/index.ts +26 -0
  14. package/@angular-devkit/schematics-cli/schematic/files/src/my-schematic/index_spec.ts +14 -0
  15. package/@angular-devkit/schematics-cli/schematic/files/tsconfig.json +23 -0
  16. package/@schematics/angular/application/files/src/favicon.ico.template +0 -0
  17. package/@schematics/angular/application/files/src/index.html.template +13 -0
  18. package/@schematics/angular/application/files/src/main.ts.template +13 -0
  19. package/@schematics/angular/application/files/src/styles.__style__.template +1 -0
  20. package/@schematics/angular/application/files/tsconfig.app.json.template +14 -0
  21. package/@schematics/angular/application/files/tsconfig.spec.json.template +14 -0
  22. package/@schematics/angular/class/files/__name@dasherize____type__.spec.ts.template +7 -0
  23. package/@schematics/angular/class/files/__name@dasherize____type__.ts.template +2 -0
  24. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template +6 -0
  25. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template +1 -0
  26. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +23 -0
  27. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +27 -0
  28. package/@schematics/angular/config/files/karma.conf.js.template +39 -0
  29. package/@schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.spec.ts.template +8 -0
  30. package/@schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template +11 -0
  31. package/@schematics/angular/e2e/files/protractor.conf.js.template +37 -0
  32. package/@schematics/angular/e2e/files/src/app.e2e-spec.ts.template +23 -0
  33. package/@schematics/angular/e2e/files/src/app.po.ts.template +11 -0
  34. package/@schematics/angular/e2e/files/tsconfig.json.template +13 -0
  35. package/@schematics/angular/enum/files/__name@dasherize____type__.ts.template +2 -0
  36. package/@schematics/angular/interface/files/__name@dasherize____type__.ts.template +2 -0
  37. package/@schematics/angular/library/files/README.md.template +24 -0
  38. package/@schematics/angular/library/files/ng-package.json.template +7 -0
  39. package/@schematics/angular/library/files/package.json.template +12 -0
  40. package/@schematics/angular/library/files/src/__entryFile__.ts.template +7 -0
  41. package/@schematics/angular/library/files/tsconfig.lib.json.template +14 -0
  42. package/@schematics/angular/library/files/tsconfig.lib.prod.json.template +10 -0
  43. package/@schematics/angular/library/files/tsconfig.spec.json.template +14 -0
  44. package/@schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template +11 -0
  45. package/@schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__.module.ts.template +19 -0
  46. package/@schematics/angular/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.spec.ts.template +8 -0
  47. package/@schematics/angular/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.ts.template +13 -0
  48. package/@schematics/angular/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.spec.ts.template +16 -0
  49. package/@schematics/angular/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.ts.template +9 -0
  50. package/@schematics/angular/service-worker/files/ngsw-config.json.template +30 -0
  51. package/@schematics/angular/universal/files/root/tsconfig.server.json.template +14 -0
  52. package/@schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template +2 -0
  53. package/@schematics/angular/universal/files/src/app/__rootModuleFileName__.template +14 -0
  54. package/@schematics/angular/web-worker/files/worker/__name@dasherize__.worker.ts.template +6 -0
  55. package/@schematics/angular/web-worker/files/worker-tsconfig/tsconfig.worker.json.template +15 -0
  56. package/@schematics/angular/workspace/files/README.md.template +27 -0
  57. package/@schematics/angular/workspace/files/__dot__editorconfig.template +16 -0
  58. package/@schematics/angular/workspace/files/__dot__gitignore.template +42 -0
  59. package/@schematics/angular/workspace/files/__dot__vscode/extensions.json.template +4 -0
  60. package/@schematics/angular/workspace/files/__dot__vscode/launch.json.template +20 -0
  61. package/@schematics/angular/workspace/files/__dot__vscode/tasks.json.template +42 -0
  62. package/@schematics/angular/workspace/files/angular.json.template +10 -0
  63. package/@schematics/angular/workspace/files/package.json.template +37 -0
  64. package/@schematics/angular/workspace/files/tsconfig.json.template +33 -0
  65. package/add-lux-components/files/app/app-routing.module.ts +21 -0
  66. package/add-lux-components/files/app/app.component.html +34 -0
  67. package/add-lux-components/files/app/app.component.spec.ts +21 -0
  68. package/add-lux-components/files/app/app.component.ts +24 -0
  69. package/add-lux-components/files/app/app.module.ts +61 -0
  70. package/add-lux-components/files/app/base/license-hint/license-hint.component.html +8 -0
  71. package/add-lux-components/files/app/base/license-hint/license-hint.component.ts +24 -0
  72. package/add-lux-components/files/app/error/error.component.html +10 -0
  73. package/add-lux-components/files/app/error/error.component.scss +3 -0
  74. package/add-lux-components/files/app/error/error.component.spec.ts +49 -0
  75. package/add-lux-components/files/app/error/error.component.ts +17 -0
  76. package/add-lux-components/files/app/home/home.component.html +11 -0
  77. package/add-lux-components/files/app/home/home.component.scss +7 -0
  78. package/add-lux-components/files/app/home/home.component.ts +13 -0
  79. package/add-lux-components/files/app/profil/profil.component.html +1 -0
  80. package/add-lux-components/files/app/profil/profil.component.scss +0 -0
  81. package/add-lux-components/files/app/profil/profil.component.spec.ts +24 -0
  82. package/add-lux-components/files/app/profil/profil.component.ts +11 -0
  83. package/add-lux-components/files/assets/svg/Example.svg +6 -0
  84. package/add-lux-components/files/assets/svg/android.svg +2 -0
  85. package/add-lux-components/files/assets/svg/box.svg +690 -0
  86. package/add-lux-components/files/assets/svg/demoAppLogo.svg +1 -0
  87. package/add-lux-components/files/assets/svg/red_power_button.svg +67 -0
  88. package/add-lux-components/files/assets/svg/svg2009.svg +57457 -0
  89. package/add-lux-components/files/environments/environment.prod.ts +4 -0
  90. package/add-lux-components/files/environments/environment.ts +17 -0
  91. package/add-lux-components/files/locale/messages.en.xlf +1373 -0
  92. package/add-lux-components/files/locale/messages.xlf +1220 -0
  93. package/add-lux-components/files/src/index.html +31 -0
  94. package/add-lux-components/files/src/main.ts +17 -0
  95. package/package.json +2 -2
  96. package/updates/15.0.0/files/src/main.ts +17 -0
  97. package/updates/15.0.0/files/src/test.ts +4 -0
@@ -0,0 +1,24 @@
1
+ # <%= classify(name) %>
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= angularLatestVersion %>.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project <%= name %>` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project <%= name %>`.
8
+ > Note: Don't forget to add `--project <%= name %>` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build <%= name %>` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build <%= name %>`, go to the dist folder `cd dist/<%= dasherize(name) %>` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test <%= name %>` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "<%= relativePathToWorkspaceRoot %>/node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "<%= relativePathToWorkspaceRoot %>/<%= distRoot %>",
4
+ "lib": {
5
+ "entryFile": "src/<%= entryFile %>.ts"
6
+ }
7
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "<%= dasherize(packageName) %>",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^<%= angularLatestVersion %>",
6
+ "@angular/core": "^<%= angularLatestVersion %>"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^<%= tsLibLatestVersion %>"
10
+ },
11
+ "sideEffects": false
12
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Public API Surface of <%= dasherize(name) %>
3
+ */
4
+
5
+ export * from './lib/<%= dasherize(name) %>.service';
6
+ export * from './lib/<%= dasherize(name) %>.component';
7
+ export * from './lib/<%= dasherize(name) %>.module';
@@ -0,0 +1,14 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/lib",
6
+ "declaration": true,
7
+ "declarationMap": true,
8
+ "inlineSources": true,
9
+ "types": []
10
+ },
11
+ "exclude": [
12
+ "**/*.spec.ts"
13
+ ]
14
+ }
@@ -0,0 +1,10 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "./tsconfig.lib.json",
4
+ "compilerOptions": {
5
+ "declarationMap": false
6
+ },
7
+ "angularCompilerOptions": {
8
+ "compilationMode": "partial"
9
+ }
10
+ }
@@ -0,0 +1,14 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/spec",
6
+ "types": [
7
+ "jasmine"
8
+ ]
9
+ },
10
+ "include": [
11
+ "**/*.spec.ts",
12
+ "**/*.d.ts"
13
+ ]
14
+ }
@@ -0,0 +1,11 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule, Routes } from '@angular/router';<% if (lazyRoute) { %>
3
+ import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>
4
+
5
+ const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];
6
+
7
+ @NgModule({
8
+ imports: [RouterModule.for<%= routingScope %>(routes)],
9
+ exports: [RouterModule]
10
+ })
11
+ export class <%= classify(name) %>RoutingModule { }
@@ -0,0 +1,19 @@
1
+ import { NgModule } from '@angular/core';<% if (commonModule) { %>
2
+ import { CommonModule } from '@angular/common';<% } %><% if (lazyRouteWithoutRouteModule) { %>
3
+ import { Routes, RouterModule } from '@angular/router';<% } %>
4
+ <% if ((!lazyRoute && routing) || lazyRouteWithRouteModule) { %>
5
+ import { <%= classify(name) %>RoutingModule } from './<%= dasherize(name) %>-routing.module';<% } %>
6
+ <% if (lazyRouteWithoutRouteModule) { %>
7
+ const routes: Routes = [
8
+ { path: '', component: <%= classify(name) %>Component }
9
+ ];<% } %>
10
+
11
+ @NgModule({
12
+ declarations: [],
13
+ imports: [<% if (commonModule) { %>
14
+ CommonModule<% } %><% if ((!lazyRoute && routing) || lazyRouteWithRouteModule) { %>,
15
+ <%= classify(name) %>RoutingModule<% } %><% if (lazyRouteWithoutRouteModule) { %>,
16
+ RouterModule.forChild(routes)<% } %>
17
+ ]
18
+ })
19
+ export class <%= classify(name) %>Module { }
@@ -0,0 +1,8 @@
1
+ import { <%= classify(name) %>Pipe } from './<%= dasherize(name) %>.pipe';
2
+
3
+ describe('<%= classify(name) %>Pipe', () => {
4
+ it('create an instance', () => {
5
+ const pipe = new <%= classify(name) %>Pipe();
6
+ expect(pipe).toBeTruthy();
7
+ });
8
+ });
@@ -0,0 +1,13 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+
3
+ @Pipe({
4
+ name: '<%= camelize(name) %>'<% if(standalone) {%>,
5
+ standalone: true<%}%>
6
+ })
7
+ export class <%= classify(name) %>Pipe implements PipeTransform {
8
+
9
+ transform(value: unknown, ...args: unknown[]): unknown {
10
+ return null;
11
+ }
12
+
13
+ }
@@ -0,0 +1,16 @@
1
+ import { TestBed } from '@angular/core/testing';
2
+
3
+ import { <%= classify(name) %>Service } from './<%= dasherize(name) %>.service';
4
+
5
+ describe('<%= classify(name) %>Service', () => {
6
+ let service: <%= classify(name) %>Service;
7
+
8
+ beforeEach(() => {
9
+ TestBed.configureTestingModule({});
10
+ service = TestBed.inject(<%= classify(name) %>Service);
11
+ });
12
+
13
+ it('should be created', () => {
14
+ expect(service).toBeTruthy();
15
+ });
16
+ });
@@ -0,0 +1,9 @@
1
+ import { Injectable } from '@angular/core';
2
+
3
+ @Injectable({
4
+ providedIn: 'root'
5
+ })
6
+ export class <%= classify(name) %>Service {
7
+
8
+ constructor() { }
9
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "<%= relativePathToWorkspaceRoot %>/node_modules/@angular/service-worker/config/schema.json",
3
+ "index": "/index.html",
4
+ "assetGroups": [
5
+ {
6
+ "name": "app",
7
+ "installMode": "prefetch",
8
+ "resources": {
9
+ "files": [
10
+ "/favicon.ico",
11
+ "/index.html",
12
+ "/manifest.webmanifest",
13
+ "/*.css",
14
+ "/*.js"
15
+ ]
16
+ }
17
+ },
18
+ {
19
+ "name": "assets",
20
+ "installMode": "lazy",
21
+ "updateMode": "prefetch",
22
+ "resources": {
23
+ "files": [
24
+ "/assets/**",
25
+ "<%= resourcesOutputPath %>/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
26
+ ]
27
+ }
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,14 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "./<%= tsConfigExtends %>",
4
+ "compilerOptions": {
5
+ "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/server",
6
+ "types": [
7
+ "node"<% if (hasLocalizePackage) { %>,
8
+ "@angular/localize"<% } %>
9
+ ]
10
+ },
11
+ "files": [
12
+ "src/<%= stripTsExtension(main) %>.ts"
13
+ ]
14
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export { <%= rootModuleClassName %> } from './app/<%= stripTsExtension(rootModuleFileName) %>';
@@ -0,0 +1,14 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { ServerModule } from '@angular/platform-server';
3
+
4
+ import { AppModule } from './app.module';
5
+ import { AppComponent } from './app.component';
6
+
7
+ @NgModule({
8
+ imports: [
9
+ AppModule,
10
+ ServerModule,
11
+ ],
12
+ bootstrap: [AppComponent],
13
+ })
14
+ export class <%= rootModuleClassName %> {}
@@ -0,0 +1,6 @@
1
+ /// <reference lib="webworker" />
2
+
3
+ addEventListener('message', ({ data }) => {
4
+ const response = `worker response to ${data}`;
5
+ postMessage(response);
6
+ });
@@ -0,0 +1,15 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/worker",
6
+ "lib": [
7
+ "es2018",
8
+ "webworker"
9
+ ],
10
+ "types": []
11
+ },
12
+ "include": [
13
+ "src/**/*.worker.ts"
14
+ ]
15
+ }
@@ -0,0 +1,27 @@
1
+ # <%= utils.classify(name) %>
2
+
3
+ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= version %>.
4
+
5
+ ## Development server
6
+
7
+ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
8
+
9
+ ## Code scaffolding
10
+
11
+ Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12
+
13
+ ## Build
14
+
15
+ Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16
+
17
+ ## Running unit tests
18
+
19
+ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
+
21
+ ## Running end-to-end tests
22
+
23
+ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24
+
25
+ ## Further help
26
+
27
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,16 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
13
+
14
+ [*.md]
15
+ max_line_length = off
16
+ trim_trailing_whitespace = false
@@ -0,0 +1,42 @@
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+
3
+ # Compiled output
4
+ /dist
5
+ /tmp
6
+ /out-tsc
7
+ /bazel-out
8
+
9
+ # Node
10
+ /node_modules
11
+ npm-debug.log
12
+ yarn-error.log
13
+
14
+ # IDEs and editors
15
+ .idea/
16
+ .project
17
+ .classpath
18
+ .c9/
19
+ *.launch
20
+ .settings/
21
+ *.sublime-workspace
22
+
23
+ # Visual Studio Code
24
+ .vscode/*
25
+ !.vscode/settings.json
26
+ !.vscode/tasks.json
27
+ !.vscode/launch.json
28
+ !.vscode/extensions.json
29
+ .history/*
30
+
31
+ # Miscellaneous
32
+ /.angular/cache
33
+ .sass-cache/
34
+ /connect.lock
35
+ /coverage
36
+ /libpeerconnection.log
37
+ testem.log
38
+ /typings
39
+
40
+ # System files
41
+ .DS_Store
42
+ Thumbs.db
@@ -0,0 +1,4 @@
1
+ {
2
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
+ "recommendations": ["angular.ng-template"]
4
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
+ "version": "0.2.0",
4
+ "configurations": [
5
+ {
6
+ "name": "ng serve",
7
+ "type": "chrome",
8
+ "request": "launch",
9
+ "preLaunchTask": "npm: start",
10
+ "url": "http://localhost:4200/"
11
+ }<% if (!minimal) { %>,
12
+ {
13
+ "name": "ng test",
14
+ "type": "chrome",
15
+ "request": "launch",
16
+ "preLaunchTask": "npm: test",
17
+ "url": "http://localhost:9876/debug.html"
18
+ }<% } %>
19
+ ]
20
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
+ "version": "2.0.0",
4
+ "tasks": [
5
+ {
6
+ "type": "npm",
7
+ "script": "start",
8
+ "isBackground": true,
9
+ "problemMatcher": {
10
+ "owner": "typescript",
11
+ "pattern": "$tsc",
12
+ "background": {
13
+ "activeOnStart": true,
14
+ "beginsPattern": {
15
+ "regexp": "(.*?)"
16
+ },
17
+ "endsPattern": {
18
+ "regexp": "bundle generation complete"
19
+ }
20
+ }
21
+ }
22
+ }<% if (!minimal) { %>,
23
+ {
24
+ "type": "npm",
25
+ "script": "test",
26
+ "isBackground": true,
27
+ "problemMatcher": {
28
+ "owner": "typescript",
29
+ "pattern": "$tsc",
30
+ "background": {
31
+ "activeOnStart": true,
32
+ "beginsPattern": {
33
+ "regexp": "(.*?)"
34
+ },
35
+ "endsPattern": {
36
+ "regexp": "bundle generation complete"
37
+ }
38
+ }
39
+ }
40
+ }<% } %>
41
+ ]
42
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,<% if (packageManager) { %>
4
+ "cli": {
5
+ "packageManager": "<%= packageManager %>"
6
+ },<% } %>
7
+ "newProjectRoot": "<%= newProjectRoot %>",
8
+ "projects": {
9
+ }
10
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "<%= utils.dasherize(name) %>",
3
+ "version": "0.0.0",
4
+ "scripts": {
5
+ "ng": "ng",
6
+ "start": "ng serve",
7
+ "build": "ng build",
8
+ "watch": "ng build --watch --configuration development"<% if (!minimal) { %>,
9
+ "test": "ng test"<% } %>
10
+ },
11
+ "private": true,
12
+ "dependencies": {
13
+ "@angular/animations": "<%= latestVersions.Angular %>",
14
+ "@angular/common": "<%= latestVersions.Angular %>",
15
+ "@angular/compiler": "<%= latestVersions.Angular %>",
16
+ "@angular/core": "<%= latestVersions.Angular %>",
17
+ "@angular/forms": "<%= latestVersions.Angular %>",
18
+ "@angular/platform-browser": "<%= latestVersions.Angular %>",
19
+ "@angular/platform-browser-dynamic": "<%= latestVersions.Angular %>",
20
+ "@angular/router": "<%= latestVersions.Angular %>",
21
+ "rxjs": "<%= latestVersions['rxjs'] %>",
22
+ "tslib": "<%= latestVersions['tslib'] %>",
23
+ "zone.js": "<%= latestVersions['zone.js'] %>"
24
+ },
25
+ "devDependencies": {
26
+ "@angular/cli": "<%= '~' + version %>",
27
+ "@angular/compiler-cli": "<%= latestVersions.Angular %>",<% if (!minimal) { %>
28
+ "@types/jasmine": "<%= latestVersions['@types/jasmine'] %>",
29
+ "jasmine-core": "<%= latestVersions['jasmine-core'] %>",
30
+ "karma": "<%= latestVersions['karma'] %>",
31
+ "karma-chrome-launcher": "<%= latestVersions['karma-chrome-launcher'] %>",
32
+ "karma-coverage": "<%= latestVersions['karma-coverage'] %>",
33
+ "karma-jasmine": "<%= latestVersions['karma-jasmine'] %>",
34
+ "karma-jasmine-html-reporter": "<%= latestVersions['karma-jasmine-html-reporter'] %>",<% } %>
35
+ "typescript": "<%= latestVersions['typescript'] %>"
36
+ }
37
+ }
@@ -0,0 +1,33 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "compileOnSave": false,
4
+ "compilerOptions": {
5
+ "baseUrl": "./",
6
+ "outDir": "./dist/out-tsc",<% if (strict) { %>
7
+ "forceConsistentCasingInFileNames": true,
8
+ "strict": true,
9
+ "noImplicitOverride": true,
10
+ "noPropertyAccessFromIndexSignature": true,
11
+ "noImplicitReturns": true,
12
+ "noFallthroughCasesInSwitch": true,<% } %>
13
+ "sourceMap": true,
14
+ "declaration": false,
15
+ "downlevelIteration": true,
16
+ "experimentalDecorators": true,
17
+ "moduleResolution": "node",
18
+ "importHelpers": true,
19
+ "target": "ES2022",
20
+ "module": "ES2022",
21
+ "useDefineForClassFields": false,
22
+ "lib": [
23
+ "ES2022",
24
+ "dom"
25
+ ]
26
+ },
27
+ "angularCompilerOptions": {
28
+ "enableI18nLegacyMessageIdFormat": false<% if (strict) { %>,
29
+ "strictInjectionParameters": true,
30
+ "strictInputAccessModifiers": true,
31
+ "strictTemplates": true<% } %>
32
+ }
33
+ }
@@ -0,0 +1,21 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule, Routes } from '@angular/router';
3
+ import { LuxLayoutModule } from '@ihk-gfi/lux-components';
4
+ import { LicenseHintComponent } from './base/license-hint/license-hint.component';
5
+ import { ErrorComponent } from './error/error.component';
6
+ import { HomeComponent } from './home/home.component';
7
+ import { ProfilComponent } from './profil/profil.component';
8
+
9
+ const routes: Routes = [
10
+ { path: '', redirectTo: '/home', pathMatch: 'full' },
11
+ { path: 'home', component: HomeComponent },
12
+ { path: 'profil', component: ProfilComponent },
13
+ { path: 'license-hint', component: LicenseHintComponent },
14
+ { path: '**', component: ErrorComponent } // Immer als letzte Route !! -> 404!
15
+ ];
16
+
17
+ @NgModule({
18
+ imports: [LuxLayoutModule, RouterModule.forRoot(routes)],
19
+ exports: [RouterModule]
20
+ })
21
+ export class AppRoutingModule {}
@@ -0,0 +1,34 @@
1
+ <div class="lux-app-container">
2
+ <lux-app-header-ac
3
+ luxAppTitle="Change Me"
4
+ luxAppTitleShort="CM"
5
+ luxBrandLogoSrc="assets/svg/box.svg"
6
+ luxAppLogoSrc="assets/svg/demoAppLogo.svg"
7
+ [luxUserName]="'Max Mustermann'"
8
+ (luxAppLogoClicked)="router.navigate(['/'])"
9
+ (luxBrandLogoClicked)="router.navigate(['/'])"
10
+ >
11
+ <lux-app-header-ac-nav-menu [luxNavMenuMaximumExtended]="5">
12
+ <lux-app-header-ac-nav-menu-item luxLabel="Home" luxIconName="lux-home-1" (luxClicked)="router.navigate(['/'])">
13
+ </lux-app-header-ac-nav-menu-item>
14
+ <lux-app-header-ac-nav-menu-item
15
+ luxLabel="Profil"
16
+ luxIconName="lux-interface-user-single"
17
+ (luxClicked)="router.navigate(['/profil'])"
18
+ >
19
+ </lux-app-header-ac-nav-menu-item>
20
+ <lux-app-header-ac-nav-menu-item
21
+ luxLabel="Lizenzhinweise"
22
+ luxIconName="lux-interface-file-text"
23
+ (luxClicked)="router.navigate(['/license-hint'])"
24
+ >
25
+ </lux-app-header-ac-nav-menu-item>
26
+ </lux-app-header-ac-nav-menu>
27
+
28
+ <lux-app-header-ac-user-menu luxTooltip="Usermenü"></lux-app-header-ac-user-menu>
29
+ </lux-app-header-ac>
30
+
31
+ <lux-app-content luxAriaRoleMainLabel=""></lux-app-content>
32
+
33
+ <lux-app-footer luxVersion="0.1"></lux-app-footer>
34
+ </div>
@@ -0,0 +1,21 @@
1
+ import { TestBed, waitForAsync } from '@angular/core/testing';
2
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
3
+ import { BrowserTestingModule } from '@angular/platform-browser/testing';
4
+ import { RouterTestingModule } from '@angular/router/testing';
5
+ import { LuxActionModule, LuxLayoutModule } from '@ihk-gfi/lux-components';
6
+ import { AppComponent } from './app.component';
7
+
8
+ describe('AppComponent', () => {
9
+ beforeEach(waitForAsync(() => {
10
+ TestBed.configureTestingModule({
11
+ imports: [RouterTestingModule, LuxLayoutModule, LuxActionModule, BrowserAnimationsModule, BrowserTestingModule],
12
+ declarations: [AppComponent]
13
+ }).compileComponents();
14
+ }));
15
+
16
+ it('should create the app', () => {
17
+ const fixture = TestBed.createComponent(AppComponent);
18
+ const app = fixture.debugElement.componentInstance;
19
+ expect(app).toBeTruthy();
20
+ });
21
+ });
@@ -0,0 +1,24 @@
1
+ import { Component, ViewChild } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { LuxThemeService } from '@ihk-gfi/lux-components';
4
+ import { LuxSideNavComponent } from '@ihk-gfi/lux-components';
5
+
6
+ @Component({
7
+ selector: 'app-root',
8
+ templateUrl: './app.component.html',
9
+ styleUrls: ['./app.component.scss']
10
+ })
11
+ export class AppComponent {
12
+ @ViewChild(LuxSideNavComponent) sideNavComp!: LuxSideNavComponent;
13
+
14
+ constructor(public router: Router, themeService: LuxThemeService) {
15
+ themeService.setTheme('authentic');
16
+ themeService.loadTheme();
17
+ router.initialNavigation();
18
+ }
19
+
20
+ goToLicenseHint() {
21
+ this.sideNavComp.close();
22
+ this.router.navigate(['license-hint']);
23
+ }
24
+ }