@ihk-gfi/lux-components-update 15.0.2 → 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.
- package/@angular-devkit/schematics-cli/schematic/files/README.md +28 -0
- package/@angular-devkit/schematics-cli/schematic/files/__dot__gitignore +18 -0
- package/@angular-devkit/schematics-cli/schematic/files/__dot__npmignore +3 -0
- package/@angular-devkit/schematics-cli/schematic/files/package.json +25 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/collection.json +36 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/files/test2 +6 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/files/test__INDEX__ +2 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/index.ts +53 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/index_spec.ts +24 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/schema.json +16 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-other-schematic/index.ts +27 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-other-schematic/index_spec.ts +14 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-schematic/index.ts +26 -0
- package/@angular-devkit/schematics-cli/schematic/files/src/my-schematic/index_spec.ts +14 -0
- package/@angular-devkit/schematics-cli/schematic/files/tsconfig.json +23 -0
- package/@schematics/angular/application/files/src/favicon.ico.template +0 -0
- package/@schematics/angular/application/files/src/index.html.template +13 -0
- package/@schematics/angular/application/files/src/main.ts.template +13 -0
- package/@schematics/angular/application/files/src/styles.__style__.template +1 -0
- package/@schematics/angular/application/files/tsconfig.app.json.template +14 -0
- package/@schematics/angular/application/files/tsconfig.spec.json.template +14 -0
- package/@schematics/angular/class/files/__name@dasherize____type__.spec.ts.template +7 -0
- package/@schematics/angular/class/files/__name@dasherize____type__.ts.template +2 -0
- package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template +6 -0
- package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template +1 -0
- package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +23 -0
- package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +27 -0
- package/@schematics/angular/config/files/karma.conf.js.template +39 -0
- package/@schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.spec.ts.template +8 -0
- package/@schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template +11 -0
- package/@schematics/angular/e2e/files/protractor.conf.js.template +37 -0
- package/@schematics/angular/e2e/files/src/app.e2e-spec.ts.template +23 -0
- package/@schematics/angular/e2e/files/src/app.po.ts.template +11 -0
- package/@schematics/angular/e2e/files/tsconfig.json.template +13 -0
- package/@schematics/angular/enum/files/__name@dasherize____type__.ts.template +2 -0
- package/@schematics/angular/interface/files/__name@dasherize____type__.ts.template +2 -0
- package/@schematics/angular/library/files/README.md.template +24 -0
- package/@schematics/angular/library/files/ng-package.json.template +7 -0
- package/@schematics/angular/library/files/package.json.template +12 -0
- package/@schematics/angular/library/files/src/__entryFile__.ts.template +7 -0
- package/@schematics/angular/library/files/tsconfig.lib.json.template +14 -0
- package/@schematics/angular/library/files/tsconfig.lib.prod.json.template +10 -0
- package/@schematics/angular/library/files/tsconfig.spec.json.template +14 -0
- package/@schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template +11 -0
- package/@schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__.module.ts.template +19 -0
- package/@schematics/angular/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.spec.ts.template +8 -0
- package/@schematics/angular/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.ts.template +13 -0
- package/@schematics/angular/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.spec.ts.template +16 -0
- package/@schematics/angular/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.ts.template +9 -0
- package/@schematics/angular/service-worker/files/ngsw-config.json.template +30 -0
- package/@schematics/angular/universal/files/root/tsconfig.server.json.template +14 -0
- package/@schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template +2 -0
- package/@schematics/angular/universal/files/src/app/__rootModuleFileName__.template +14 -0
- package/@schematics/angular/web-worker/files/worker/__name@dasherize__.worker.ts.template +6 -0
- package/@schematics/angular/web-worker/files/worker-tsconfig/tsconfig.worker.json.template +15 -0
- package/@schematics/angular/workspace/files/README.md.template +27 -0
- package/@schematics/angular/workspace/files/__dot__editorconfig.template +16 -0
- package/@schematics/angular/workspace/files/__dot__gitignore.template +42 -0
- package/@schematics/angular/workspace/files/__dot__vscode/extensions.json.template +4 -0
- package/@schematics/angular/workspace/files/__dot__vscode/launch.json.template +20 -0
- package/@schematics/angular/workspace/files/__dot__vscode/tasks.json.template +42 -0
- package/@schematics/angular/workspace/files/angular.json.template +10 -0
- package/@schematics/angular/workspace/files/package.json.template +37 -0
- package/@schematics/angular/workspace/files/tsconfig.json.template +33 -0
- package/add-lux-components/files/app/base/license-hint/license-hint.component.html +8 -0
- package/add-lux-components/files/app/base/license-hint/license-hint.component.ts +24 -0
- package/add-lux-components/files/app/error/error.component.html +10 -0
- package/add-lux-components/files/app/error/error.component.scss +3 -0
- package/add-lux-components/files/app/error/error.component.spec.ts +49 -0
- package/add-lux-components/files/app/error/error.component.ts +17 -0
- package/add-lux-components/files/app/home/home.component.html +11 -0
- package/add-lux-components/files/app/home/home.component.scss +7 -0
- package/add-lux-components/files/app/home/home.component.ts +13 -0
- package/add-lux-components/files/app/profil/profil.component.html +1 -0
- package/add-lux-components/files/app/profil/profil.component.scss +0 -0
- package/add-lux-components/files/app/profil/profil.component.spec.ts +24 -0
- package/add-lux-components/files/app/profil/profil.component.ts +11 -0
- package/add-lux-components/files/assets/svg/Example.svg +6 -0
- package/add-lux-components/files/assets/svg/android.svg +2 -0
- package/add-lux-components/files/assets/svg/box.svg +690 -0
- package/add-lux-components/files/assets/svg/demoAppLogo.svg +1 -0
- package/add-lux-components/files/assets/svg/red_power_button.svg +67 -0
- package/add-lux-components/files/assets/svg/svg2009.svg +57457 -0
- package/package.json +3 -3
- package/update-dependencies/index.js +1 -1
- package/updates/15.0.0/files/src/main.ts +17 -0
- package/updates/15.0.0/files/src/test.ts +4 -0
- package/updates/15.0.0/index.js +1 -1
|
@@ -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,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,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,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,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,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,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,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,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,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,8 @@
|
|
|
1
|
+
<lux-layout-card-row>
|
|
2
|
+
<lux-card class="lux-mt-3" luxTagId="Zusätzliche Lizenzhinweise" *luxLayoutRowItem="{}">
|
|
3
|
+
<lux-card-content>
|
|
4
|
+
<lux-markdown [luxData]="licenceHintIcons"></lux-markdown>
|
|
5
|
+
<lux-markdown [luxData]="licenceHintFonts"></lux-markdown>
|
|
6
|
+
</lux-card-content>
|
|
7
|
+
</lux-card>
|
|
8
|
+
</lux-layout-card-row>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'app-license-hint',
|
|
5
|
+
templateUrl: './license-hint.component.html'
|
|
6
|
+
})
|
|
7
|
+
export class LicenseHintComponent {
|
|
8
|
+
licenceHintIcons = `
|
|
9
|
+
## Lizenzhinweis - Icons
|
|
10
|
+
|
|
11
|
+
In dieser Demo werden auch Streamline Icons verwendet.
|
|
12
|
+
Die Streamline Icons laufen unter der Lizenz CC-BY 4.0 und der Urheber ist „streamlinehq.com“ ("Streamline Icons Core Line free Copyright © by streamlinehq.com“).
|
|
13
|
+
Bezugsquelle: „[Free Core Line – Free Icons Set - 1000 customizable PNGs, SVGs, PDFs (streamlinehq.com)](https://www.streamlinehq.com/icons/streamline-mini-line)“.
|
|
14
|
+
Die Lizenz „[CC BY 4.0“ ist zu finden unter „[Streamline Free License | Streamline Help center (intercom.help)](https://intercom.help/streamlinehq/en/articles/5354376-streamline-free-license)“.
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
licenceHintFonts = `
|
|
18
|
+
## Lizenzhinweis - Fonts
|
|
19
|
+
|
|
20
|
+
Über das Github-Projekt https://github.com/IHK-GfI/lux-components-icons-and-fonts können statt der bisher vorgeschlagenen Fontfamilien wie z.B. Korb, Roboo, etc.) nun auch die Schriftarten "Source Sans Pro" designed by Paul D. Hunt (Lizensiert unter [SIL 1.1 Open Font License](https://github.com/IHK-GfI/lux-components-icons-and-fonts/blob/master/assets/fonts/Source%20Sans%20Pro/SIL%20Open%20Font%20License%20V1.1.md)) sowie "BloggerSans" created by Sergiy Tkachenko (Lizensiert unter Creative Commons 4.0) verwendet werden, welche speziell für die Nutzung mit dem Theme-authentic ausgewählt wurden.
|
|
21
|
+
`;
|
|
22
|
+
|
|
23
|
+
constructor() {}
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<div>
|
|
2
|
+
<lux-card luxTitle="Fehlerseite" luxSubTitle="404">
|
|
3
|
+
<lux-card-info>
|
|
4
|
+
<lux-icon luxIconName="error"></lux-icon>
|
|
5
|
+
</lux-card-info>
|
|
6
|
+
<lux-card-content>
|
|
7
|
+
Leider konnte die angeforderte Seite <b>{{ url404 }}</b> nicht gefunden werden!
|
|
8
|
+
</lux-card-content>
|
|
9
|
+
</lux-card>
|
|
10
|
+
</div>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
4
|
+
import { RouterTestingModule } from '@angular/router/testing';
|
|
5
|
+
import {
|
|
6
|
+
LuxActionModule,
|
|
7
|
+
LuxAppFooterButtonService,
|
|
8
|
+
LuxAppFooterLinkService,
|
|
9
|
+
LuxComponentsConfigModule,
|
|
10
|
+
LuxComponentsConfigParameters,
|
|
11
|
+
LuxFormModule,
|
|
12
|
+
LuxIconModule,
|
|
13
|
+
LuxLayoutModule,
|
|
14
|
+
LuxStorageService
|
|
15
|
+
} from '@ihk-gfi/lux-components';
|
|
16
|
+
|
|
17
|
+
import { ErrorComponent } from './error.component';
|
|
18
|
+
|
|
19
|
+
describe('ErrorComponent', () => {
|
|
20
|
+
let component: ErrorComponent;
|
|
21
|
+
let fixture: ComponentFixture<ErrorComponent>;
|
|
22
|
+
const luxComponentsConfig: LuxComponentsConfigParameters = {};
|
|
23
|
+
|
|
24
|
+
beforeEach(waitForAsync(() => {
|
|
25
|
+
TestBed.configureTestingModule({
|
|
26
|
+
declarations: [ErrorComponent],
|
|
27
|
+
imports: [
|
|
28
|
+
LuxLayoutModule,
|
|
29
|
+
LuxActionModule,
|
|
30
|
+
LuxIconModule,
|
|
31
|
+
LuxFormModule,
|
|
32
|
+
RouterTestingModule.withRoutes([]),
|
|
33
|
+
LuxComponentsConfigModule.forRoot(luxComponentsConfig),
|
|
34
|
+
NoopAnimationsModule
|
|
35
|
+
],
|
|
36
|
+
providers: [LuxAppFooterButtonService, LuxAppFooterLinkService, LuxStorageService]
|
|
37
|
+
}).compileComponents();
|
|
38
|
+
}));
|
|
39
|
+
|
|
40
|
+
beforeEach(() => {
|
|
41
|
+
fixture = TestBed.createComponent(ErrorComponent);
|
|
42
|
+
component = fixture.componentInstance;
|
|
43
|
+
fixture.detectChanges();
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
it('should be created', () => {
|
|
47
|
+
expect(component).toBeTruthy();
|
|
48
|
+
});
|
|
49
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'app-error',
|
|
6
|
+
templateUrl: './error.component.html',
|
|
7
|
+
styleUrls: ['./error.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class ErrorComponent implements OnInit {
|
|
10
|
+
url404 = '';
|
|
11
|
+
|
|
12
|
+
constructor(private readonly router: Router) {}
|
|
13
|
+
|
|
14
|
+
ngOnInit(): void {
|
|
15
|
+
this.url404 = this.router.routerState.snapshot.url;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div fxShow="false" fxShow.gt-xs="true" fxFlex="15%"></div>
|
|
2
|
+
<div fxFlex="auto" fxLayout="row wrap" fxLayoutAlign="center start" fxLayoutGap="grid">
|
|
3
|
+
<lux-tile-ac
|
|
4
|
+
luxLabel="Profil"
|
|
5
|
+
luxSubTitle="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
|
|
6
|
+
(luxClicked)="router.navigate(['/profil'])"
|
|
7
|
+
>
|
|
8
|
+
<lux-icon luxIconName="lux-cog"></lux-icon>
|
|
9
|
+
</lux-tile-ac>
|
|
10
|
+
</div>
|
|
11
|
+
<div fxShow="false" fxShow.gt-xs="true" fxFlex="15%"></div>
|