bulk-tool-menu-library 0.2.1 → 17.0.5

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 (92) hide show
  1. package/esm2022/lib/auth.service.mjs +50 -0
  2. package/esm2022/lib/bulk-tool.component.mjs +22 -0
  3. package/esm2022/lib/bulk-tool.module.mjs +50 -0
  4. package/esm2022/lib/bulk-tool.service.mjs +14 -0
  5. package/esm2022/lib/constant.enum.mjs +6 -0
  6. package/esm2022/lib/environmentsModel.info.mjs +2 -0
  7. package/esm2022/lib/http-interceptor.mjs +25 -0
  8. package/esm2022/lib/login/login.component.mjs +85 -0
  9. package/esm2022/lib/materils/materils.module.mjs +172 -0
  10. package/esm2022/lib/menu/menu.component.mjs +47 -0
  11. package/esm2022/public_api.mjs +10 -0
  12. package/esm2022/test-bulk-tool.mjs +5 -0
  13. package/fesm2022/test-bulk-tool.mjs +449 -0
  14. package/fesm2022/test-bulk-tool.mjs.map +1 -0
  15. package/index.d.ts +5 -0
  16. package/lib/auth.service.d.ts +16 -0
  17. package/lib/bulk-tool.component.d.ts +8 -0
  18. package/lib/bulk-tool.module.d.ts +17 -0
  19. package/lib/bulk-tool.service.d.ts +6 -0
  20. package/lib/constant.enum.d.ts +5 -0
  21. package/lib/environmentsModel.info.d.ts +3 -0
  22. package/lib/http-interceptor.d.ts +8 -0
  23. package/lib/login/login.component.d.ts +27 -0
  24. package/lib/materils/materils.module.d.ts +45 -0
  25. package/lib/menu/menu.component.d.ts +28 -0
  26. package/package.json +25 -59
  27. package/{projects/bulk-tool/src/public_api.ts → public_api.d.ts} +6 -10
  28. package/.editorconfig +0 -13
  29. package/README.md +0 -27
  30. package/angular.json +0 -172
  31. package/e2e/protractor.conf.js +0 -28
  32. package/e2e/src/app.e2e-spec.ts +0 -14
  33. package/e2e/src/app.po.ts +0 -11
  34. package/e2e/tsconfig.e2e.json +0 -13
  35. package/projects/bulk-tool/karma.conf.js +0 -31
  36. package/projects/bulk-tool/ng-package.json +0 -8
  37. package/projects/bulk-tool/ng-package.prod.json +0 -7
  38. package/projects/bulk-tool/package-lock.json +0 -5
  39. package/projects/bulk-tool/package.json +0 -8
  40. package/projects/bulk-tool/src/lib/auth.service.spec.ts +0 -15
  41. package/projects/bulk-tool/src/lib/auth.service.ts +0 -46
  42. package/projects/bulk-tool/src/lib/base-app.service.ts +0 -36
  43. package/projects/bulk-tool/src/lib/bulk-tool.component.spec.ts +0 -25
  44. package/projects/bulk-tool/src/lib/bulk-tool.component.ts +0 -19
  45. package/projects/bulk-tool/src/lib/bulk-tool.module.ts +0 -41
  46. package/projects/bulk-tool/src/lib/bulk-tool.service.spec.ts +0 -15
  47. package/projects/bulk-tool/src/lib/constant.enum.ts +0 -6
  48. package/projects/bulk-tool/src/lib/environmentsModel.info.ts +0 -5
  49. package/projects/bulk-tool/src/lib/http-interceptor.ts +0 -22
  50. package/projects/bulk-tool/src/lib/login/login.component.css +0 -86
  51. package/projects/bulk-tool/src/lib/login/login.component.html +0 -59
  52. package/projects/bulk-tool/src/lib/login/login.component.spec.ts +0 -25
  53. package/projects/bulk-tool/src/lib/login/login.component.ts +0 -104
  54. package/projects/bulk-tool/src/lib/materils/materils.module.spec.ts +0 -13
  55. package/projects/bulk-tool/src/lib/materils/materils.module.ts +0 -96
  56. package/projects/bulk-tool/src/lib/menu/menu.component.css +0 -388
  57. package/projects/bulk-tool/src/lib/menu/menu.component.html +0 -46
  58. package/projects/bulk-tool/src/lib/menu/menu.component.spec.ts +0 -25
  59. package/projects/bulk-tool/src/lib/menu/menu.component.ts +0 -197
  60. package/projects/bulk-tool/src/test.ts +0 -22
  61. package/projects/bulk-tool/tsconfig.lib.json +0 -33
  62. package/projects/bulk-tool/tsconfig.spec.json +0 -17
  63. package/projects/bulk-tool/tslint.json +0 -17
  64. package/src/app/app.component.css +0 -0
  65. package/src/app/app.component.html +0 -18
  66. package/src/app/app.component.spec.ts +0 -27
  67. package/src/app/app.component.ts +0 -14
  68. package/src/app/app.module.ts +0 -44
  69. package/src/app/home/home.component.css +0 -0
  70. package/src/app/home/home.component.html +0 -13
  71. package/src/app/home/home.component.spec.ts +0 -25
  72. package/src/app/home/home.component.ts +0 -15
  73. package/src/app/login/login.component.css +0 -76
  74. package/src/app/login/login.component.html +0 -1
  75. package/src/app/login/login.component.spec.ts +0 -25
  76. package/src/app/login/login.component.ts +0 -72
  77. package/src/assets/.gitkeep +0 -0
  78. package/src/browserslist +0 -9
  79. package/src/environments/environment.prod.ts +0 -4
  80. package/src/environments/environment.ts +0 -18
  81. package/src/favicon.ico +0 -0
  82. package/src/index.html +0 -24
  83. package/src/karma.conf.js +0 -31
  84. package/src/main.ts +0 -12
  85. package/src/polyfills.ts +0 -80
  86. package/src/styles.css +0 -1
  87. package/src/test.ts +0 -20
  88. package/src/tsconfig.app.json +0 -11
  89. package/src/tsconfig.spec.json +0 -18
  90. package/src/tslint.json +0 -17
  91. package/tsconfig.json +0 -29
  92. package/tslint.json +0 -130
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../out-tsc/spec",
5
- "types": [
6
- "jasmine",
7
- "node"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
- "include": [
14
- "**/*.spec.ts",
15
- "**/*.d.ts"
16
- ]
17
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "lib",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "lib",
14
- "kebab-case"
15
- ]
16
- }
17
- }
File without changes
@@ -1,18 +0,0 @@
1
- <!--The content below is only a placeholder and can be replaced.-->
2
-
3
- <!-- <lib-login [routeUrl]="data"></lib-login> -->
4
-
5
- <!-- <div class="container-fluid">
6
- <div class="row">
7
- <mat-card>
8
- <div class="col-md-12 col-xs-12"> -->
9
- <!-- <app-my-nav></app-my-nav> -->
10
- <!-- <lib-menu ></lib-menu>
11
- </div>
12
- </mat-card> -->
13
- <div class="col-md-11 col-xs-11">
14
-
15
- <router-outlet></router-outlet>
16
- </div>
17
- <!-- </div>
18
- </div> -->
@@ -1,27 +0,0 @@
1
- import { TestBed, async } from '@angular/core/testing';
2
- import { AppComponent } from './app.component';
3
- describe('AppComponent', () => {
4
- beforeEach(async(() => {
5
- TestBed.configureTestingModule({
6
- declarations: [
7
- AppComponent
8
- ],
9
- }).compileComponents();
10
- }));
11
- it('should create the app', async(() => {
12
- const fixture = TestBed.createComponent(AppComponent);
13
- const app = fixture.debugElement.componentInstance;
14
- expect(app).toBeTruthy();
15
- }));
16
- it(`should have as title 'BulkToolLibrary'`, async(() => {
17
- const fixture = TestBed.createComponent(AppComponent);
18
- const app = fixture.debugElement.componentInstance;
19
- expect(app.title).toEqual('BulkToolLibrary');
20
- }));
21
- it('should render title in a h1 tag', async(() => {
22
- const fixture = TestBed.createComponent(AppComponent);
23
- fixture.detectChanges();
24
- const compiled = fixture.debugElement.nativeElement;
25
- expect(compiled.querySelector('h1').textContent).toContain('Welcome to BulkToolLibrary!');
26
- }));
27
- });
@@ -1,14 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
-
4
-
5
- @Component({
6
- selector: 'app-root',
7
- templateUrl: './app.component.html',
8
- styleUrls: ['./app.component.css']
9
- })
10
- export class AppComponent {
11
- title = 'BulkToolLibrary';
12
- data="/home"
13
-
14
- }
@@ -1,44 +0,0 @@
1
- import { BrowserModule } from '@angular/platform-browser';
2
- import { NgModule } from '@angular/core';
3
-
4
- import { AppComponent } from './app.component';
5
- import { from } from 'rxjs';
6
- import {BulkToolModule,MaterilsModule} from 'exceladdincbms-v1'
7
- //import { BulkToolModule, MaterilsModule} from 'projects/bulk-tool/src/public_api';
8
- //import {IEnvironmentsInfo } from 'projects/bulk-tool/src/lib/environmentsModel.info';
9
- import { IEnvironmentsInfo } from 'exceladdincbms-v1/lib/environmentsModel.info';
10
- import { environment } from 'src/environments/environment';
11
- import { LoginComponent } from './login/login.component';
12
- import { Routes, RouterModule } from '@angular/router';
13
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
14
- import { CommonModule } from '@angular/common';
15
- import { HttpClientModule } from '@angular/common/http';
16
- import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
17
- import { HomeComponent } from './home/home.component';
18
- const appRoutes: Routes = [
19
- { path: 'login', component: LoginComponent },
20
- { path: '', redirectTo:"login",pathMatch:'full' },
21
- { path: 'home', component: HomeComponent },
22
-
23
- ];
24
- @NgModule({
25
- declarations: [
26
- AppComponent,
27
- LoginComponent,
28
- HomeComponent
29
- ],
30
- imports: [
31
- BrowserModule,
32
- BulkToolModule.forRoot(<IEnvironmentsInfo>environment),
33
- MaterilsModule,
34
- RouterModule.forRoot(appRoutes),
35
- FormsModule,
36
- CommonModule,
37
- ReactiveFormsModule,
38
- HttpClientModule,
39
- BrowserAnimationsModule
40
- ],
41
- providers: [],
42
- bootstrap: [AppComponent]
43
- })
44
- export class AppModule { }
File without changes
@@ -1,13 +0,0 @@
1
- <div class="container-fluid">
2
- <div class="row">
3
- <mat-card>
4
- <div class="col-md-12 col-xs-12">
5
- <!-- <app-my-nav></app-my-nav> -->
6
- <lib-menu></lib-menu>
7
- </div>
8
- </mat-card>
9
- <!-- <div class="col-md-11 col-xs-11">
10
- <router-outlet></router-outlet>
11
- </div> -->
12
- </div>
13
- </div>
@@ -1,25 +0,0 @@
1
- import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { HomeComponent } from './home.component';
4
-
5
- describe('HomeComponent', () => {
6
- let component: HomeComponent;
7
- let fixture: ComponentFixture<HomeComponent>;
8
-
9
- beforeEach(async(() => {
10
- TestBed.configureTestingModule({
11
- declarations: [ HomeComponent ]
12
- })
13
- .compileComponents();
14
- }));
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(HomeComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,15 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-home',
5
- templateUrl: './home.component.html',
6
- styleUrls: ['./home.component.css']
7
- })
8
- export class HomeComponent implements OnInit {
9
-
10
- constructor() { }
11
-
12
- ngOnInit() {
13
- }
14
-
15
- }
@@ -1,76 +0,0 @@
1
- /* body{
2
- background: #1a3e58;
3
- margin: 0px;
4
- padding: 0px;
5
- font-family: Roboto,"Helvetica Neue", sans-serif;
6
- overflow: hidden;
7
- }
8
-
9
- .loginWidget{
10
- /* width: 350px; */
11
- /* margin: 0px auto;
12
- background: #ebebeb;
13
- padding: 0px;
14
- margin-top: 15%;
15
- box-shadow: 0px 0px 13px #1a2a35;
16
- }
17
- .loginHeading {
18
- background:#214285;
19
- color: #fff;
20
- padding: 10px 15px;
21
- font-family: arial;
22
- font-size: 17px;
23
- font-weight: 400;
24
- text-align: left;
25
- text-transform: uppercase;
26
- }
27
- .loginContainer {
28
- padding: 15px 15px 0px 15px;
29
- margin: 0px;
30
- display: block;
31
- }
32
- .loginGroup{
33
- margin: 0px;
34
- display: block; */
35
- /* margin-bottom: 10px; */
36
- /* }
37
- .loginGroup label {
38
- margin: 0px;
39
- display: block;
40
- padding:5px 10px;
41
- font-size: 12px;
42
- font-weight: normal;
43
- }
44
- .loginGroup input {
45
- margin: 0px;
46
- display: block;
47
- padding: 3px 10px;
48
- font-size: 12px;
49
- font-weight: normal;
50
- margin-left: 10px;
51
- width: 85%;
52
- border: #d6d5d5 solid 1px;
53
- }
54
- .btnGroup {
55
- display: block;
56
- padding: 5px 15px 0px 15px;
57
- margin: 0px; */
58
- /* margin-bottom: 10px; */
59
- /* }
60
- .loginBtn{
61
- width: 100px;
62
- padding: 10px;
63
- background: #2288dd;
64
- border: #fff solid 1px;
65
- color: #FFF;
66
- text-align: center;
67
- text-transform: uppercase;
68
- cursor: pointer;
69
- font-size: 12px;
70
- }
71
- .remember{
72
- margin-bottom: 10px;
73
- font-size: 12px;
74
- color: #848080;
75
- padding-bottom: 18px;
76
- } */
@@ -1 +0,0 @@
1
- <lib-login [routeUrl]="url"></lib-login>
@@ -1,25 +0,0 @@
1
- import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { LoginComponent } from './login.component';
4
-
5
- describe('LoginComponent', () => {
6
- let component: LoginComponent;
7
- let fixture: ComponentFixture<LoginComponent>;
8
-
9
- beforeEach(async(() => {
10
- TestBed.configureTestingModule({
11
- declarations: [ LoginComponent ]
12
- })
13
- .compileComponents();
14
- }));
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(LoginComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,72 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
- import { Router, ActivatedRoute } from '@angular/router';
3
- import { FormBuilder, FormGroup, Validators } from '@angular/forms';
4
- import { first } from 'rxjs/operators';
5
-
6
- declare const Excel: any;
7
- declare const Office: any;
8
- declare var jquery: any;
9
- declare var $: any;
10
- declare var toastr: any;
11
- declare var _the;
12
-
13
- @Component({
14
- selector: 'app-login',
15
- templateUrl: './login.component.html',
16
- styleUrls: ['./login.component.css']
17
- })
18
- export class LoginComponent implements OnInit {
19
- //loginForm: FormGroup;
20
- loading = false;
21
- submitted = false;
22
- returnUrl: string;
23
- public url:string="/home";
24
- constructor( private route: Router){
25
-
26
- }
27
-
28
- // constructor(
29
- // private formBuilder: FormBuilder,
30
- // private route: ActivatedRoute,
31
- // private router: Router,
32
- // private authenticationService: AuthenticationService,
33
- // private alertService: AlertService) {}
34
-
35
- ngOnInit() {
36
-
37
- // this.loginForm = this.formBuilder.group({
38
- // username: ['', Validators.required],
39
- // password: ['', Validators.required]
40
- // });
41
-
42
- // reset login status
43
- // this.authenticationService.logout();
44
-
45
- // // get return url from route parameters or default to '/'
46
- // this.returnUrl = this.route.snapshot.queryParams['returnUrl'] || '/second';
47
- }
48
-
49
- // convenience getter for easy access to form fields
50
- // get f() { return this.loginForm.controls; }
51
-
52
- // onSubmit() {
53
- // this.submitted = true;
54
-
55
- // // stop here if form is invalid
56
- // if (this.loginForm.invalid) {
57
- // return;
58
- // }
59
-
60
- // this.loading = true;
61
- // this.authenticationService.login(this.f.username.value, this.f.password.value)
62
- // .pipe(first())
63
- // .subscribe(
64
- // data => {
65
- // this.router.navigate([this.returnUrl]);
66
- // },
67
- // error => {
68
- // this.alertService.error(error);
69
- // this.loading = false;
70
- // });
71
- // }
72
- }
File without changes
package/src/browserslist DELETED
@@ -1,9 +0,0 @@
1
- # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2
- # For additional information regarding the format and rule options, please see:
3
- # https://github.com/browserslist/browserslist#queries
4
- # For IE 9-11 support, please uncomment the last line of the file and adjust as needed
5
- > 0.5%
6
- last 2 versions
7
- Firefox ESR
8
- not dead
9
- # IE 9-11
@@ -1,4 +0,0 @@
1
- export const environment = {
2
- production: true,
3
- RootUrl:"https://exceladdin-tk1.ems.schneider-electric.com/"
4
- };
@@ -1,18 +0,0 @@
1
- // This file can be replaced during build by using the `fileReplacements` array.
2
- // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
3
- // The list of file replacements can be found in `angular.json`.
4
-
5
- export const environment = {
6
- production: false,
7
- MenuName:"Budget",
8
- Url:"https://localhost:44348/api",
9
- RootUrl:"https://exceladdin-tk1.ems.schneider-electric.com/"
10
- };
11
-
12
- /*
13
- * In development mode, for easier debugging, you can ignore zone related error
14
- * stack frames such as `zone.run`/`zoneDelegate.invokeTask` by importing the
15
- * below file. Don't forget to comment it out in production mode
16
- * because it will have a performance impact when errors are thrown
17
- */
18
- // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
package/src/favicon.ico DELETED
Binary file
package/src/index.html DELETED
@@ -1,24 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>BulkToolLibrary</title>
6
- <base href="/">
7
-
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="icon" type="image/x-icon" href="favicon.ico">
10
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
11
- <script
12
- src="https://code.jquery.com/jquery-3.3.1.js"
13
- integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
14
- crossorigin="anonymous"></script>
15
- <script type="text/javascript"
16
- "https://servicedeskstg1.ems.schneider-electric.com/s/en_US-ydn9lh-418945332/803/1088/1.2/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=296f1db8">
17
- </script>
18
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
19
- integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
20
- </head>
21
- <body>
22
- <app-root></app-root>
23
- </body>
24
- </html>
package/src/karma.conf.js DELETED
@@ -1,31 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage-istanbul-reporter'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- clearContext: false // leave Jasmine Spec Runner output visible in browser
17
- },
18
- coverageIstanbulReporter: {
19
- dir: require('path').join(__dirname, '../coverage'),
20
- reports: ['html', 'lcovonly'],
21
- fixWebpackSourcePaths: true
22
- },
23
- reporters: ['progress', 'kjhtml'],
24
- port: 9876,
25
- colors: true,
26
- logLevel: config.LOG_INFO,
27
- autoWatch: true,
28
- browsers: ['Chrome'],
29
- singleRun: false
30
- });
31
- };
package/src/main.ts DELETED
@@ -1,12 +0,0 @@
1
- import { enableProdMode } from '@angular/core';
2
- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
-
4
- import { AppModule } from './app/app.module';
5
- import { environment } from './environments/environment';
6
-
7
- if (environment.production) {
8
- enableProdMode();
9
- }
10
-
11
- platformBrowserDynamic().bootstrapModule(AppModule)
12
- .catch(err => console.log(err));
package/src/polyfills.ts DELETED
@@ -1,80 +0,0 @@
1
- /**
2
- * This file includes polyfills needed by Angular and is loaded before the app.
3
- * You can add your own extra polyfills to this file.
4
- *
5
- * This file is divided into 2 sections:
6
- * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
- * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
- * file.
9
- *
10
- * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
- * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
- * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
- *
14
- * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
15
- */
16
-
17
- /***************************************************************************************************
18
- * BROWSER POLYFILLS
19
- */
20
-
21
- /** IE9, IE10 and IE11 requires all of the following polyfills. **/
22
- import 'core-js/es6/symbol';
23
- import 'core-js/es6/object';
24
- import 'core-js/es6/function';
25
- import 'core-js/es6/parse-int';
26
- import 'core-js/es6/parse-float';
27
- import 'core-js/es6/number';
28
- import 'core-js/es6/math';
29
- import 'core-js/es6/string';
30
- import 'core-js/es6/date';
31
- import 'core-js/es6/array';
32
- import 'core-js/es6/regexp';
33
- import 'core-js/es6/map';
34
- import 'core-js/es6/weak-map';
35
- import 'core-js/es6/set';
36
-
37
- /** IE10 and IE11 requires the following for NgClass support on SVG elements */
38
- import 'classlist.js'; // Run `npm install --save classlist.js`.
39
-
40
- /** IE10 and IE11 requires the following for the Reflect API. */
41
- import 'core-js/es6/reflect';
42
-
43
-
44
- /** Evergreen browsers require these. **/
45
- // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
46
- import 'core-js/es7/reflect';
47
-
48
-
49
- /**
50
- * Web Animations `@angular/platform-browser/animations`
51
- * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
52
- * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
53
- **/
54
- import 'web-animations-js'; // Run `npm install --save web-animations-js`.
55
-
56
- /**
57
- * By default, zone.js will patch all possible macroTask and DomEvents
58
- * user can disable parts of macroTask/DomEvents patch by setting following flags
59
- */
60
-
61
- // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
62
- // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
63
- // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
64
-
65
- /*
66
- * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
67
- * with the following flag, it will bypass `zone.js` patch for IE/Edge
68
- */
69
- // (window as any).__Zone_enable_cross_context_check = true;
70
-
71
- /***************************************************************************************************
72
- * Zone JS is required by default for Angular itself.
73
- */
74
- import 'zone.js/dist/zone'; // Included with Angular CLI.
75
-
76
-
77
-
78
- /***************************************************************************************************
79
- * APPLICATION IMPORTS
80
- */
package/src/styles.css DELETED
@@ -1 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
package/src/test.ts DELETED
@@ -1,20 +0,0 @@
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-testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import {
6
- BrowserDynamicTestingModule,
7
- platformBrowserDynamicTesting
8
- } from '@angular/platform-browser-dynamic/testing';
9
-
10
- declare const require: any;
11
-
12
- // First, initialize the Angular testing environment.
13
- getTestBed().initTestEnvironment(
14
- BrowserDynamicTestingModule,
15
- platformBrowserDynamicTesting()
16
- );
17
- // Then we find all the tests.
18
- const context = require.context('./', true, /\.spec\.ts$/);
19
- // And load the modules.
20
- context.keys().map(context);
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/app",
5
- "types": []
6
- },
7
- "exclude": [
8
- "src/test.ts",
9
- "**/*.spec.ts"
10
- ]
11
- }
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/spec",
5
- "types": [
6
- "jasmine",
7
- "node"
8
- ]
9
- },
10
- "files": [
11
- "test.ts",
12
- "polyfills.ts"
13
- ],
14
- "include": [
15
- "**/*.spec.ts",
16
- "**/*.d.ts"
17
- ]
18
- }
package/src/tslint.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "app",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "app",
14
- "kebab-case"
15
- ]
16
- }
17
- }