Skip to content

Commit

Permalink
angular library update
Browse files Browse the repository at this point in the history
  • Loading branch information
pIvan committed Feb 26, 2020
1 parent d2611b0 commit 2e594f9
Show file tree
Hide file tree
Showing 30 changed files with 117 additions and 58 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
### Features
* **multiple atribute** - Multiple attribute is possible to change over file-upload[multiple] or over control





<a name="1.3.3"></a>
## [1.3.3](https://github.com/pIvan/file-upload/commit/64c10684daf039cd3b8718ec8e91bf73b9d04bcc) (2019-06-13)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class AppComponent {
### Setting up Dev
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.0.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.0.
[Angular CLI](https://github.com/angular/angular-cli) must be installed before building @iplab/ngx-file-upload project.
Expand All @@ -139,7 +139,7 @@ We use [SemVer](http://semver.org/) for versioning. For the versions available,
## Tests
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.0.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.0.
[Angular CLI](https://github.com/angular/angular-cli) must be installed before testing @iplab/ngx-file-upload project.
Expand Down
13 changes: 12 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand Down Expand Up @@ -113,7 +119,12 @@
"tsConfig": "projects/iplab/ngx-file-upload/tsconfig.lib.json",
"project": "projects/iplab/ngx-file-upload/ng-package.json"
}
},
, "configurations": {
"production": {
"tsConfig": "projects/iplab/ngx-file-upload/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand Down
50 changes: 49 additions & 1 deletion docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,56 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


core-js
MIT
Copyright (c) 2014-2019 Denis Pushkarev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


google-code-prettify

regenerator-runtime
MIT
MIT License

Copyright (c) 2014-present, Facebook, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


rxjs
Apache-2.0
Apache License
Expand Down Expand Up @@ -279,7 +327,7 @@ zone.js
MIT
The MIT License

Copyright (c) 2016-2018 Google, Inc.
Copyright (c) 2010-2019 Google LLC. http://angular.io/license

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<base href="/file-upload/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.2f8b0fb5af6778765ebe.css"></head>
<link rel="stylesheet" href="styles.58c4a55be48b21c9f783.css"></head>
<body>
<app-root></app-root>
<script src="runtime-es2015.6799f3bffa293d78b1fe.js" type="module"></script><script src="polyfills-es2015.b7196e14ad716494892d.js" type="module"></script><script src="runtime-es5.fd090508f518df362df3.js" nomodule></script><script src="polyfills-es5.5d5cb52133826350576c.js" nomodule></script><script src="main-es2015.9848f115b8ca82caa8d4.js" type="module"></script><script src="main-es5.efb2a9e13a039259a0b9.js" nomodule></script></body>
<script src="runtime-es2015.79d42b7a0c689735b1b5.js" type="module"></script><script src="runtime-es5.79d42b7a0c689735b1b5.js" nomodule defer></script><script src="polyfills-es5.1380a8bb84b27b704bb1.js" nomodule defer></script><script src="polyfills-es2015.cdbdf7aeb30f72abf8f4.js" type="module"></script><script src="main-es2015.eab8daf86c1a18437d0e.js" type="module"></script><script src="main-es5.eab8daf86c1a18437d0e.js" nomodule defer></script></body>
</html>
1 change: 0 additions & 1 deletion docs/main-es2015.9848f115b8ca82caa8d4.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/main-es2015.eab8daf86c1a18437d0e.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main-es5.eab8daf86c1a18437d0e.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/main-es5.efb2a9e13a039259a0b9.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/polyfills-es2015.b7196e14ad716494892d.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/polyfills-es2015.cdbdf7aeb30f72abf8f4.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/polyfills-es5.1380a8bb84b27b704bb1.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/polyfills-es5.5d5cb52133826350576c.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime-es2015.6799f3bffa293d78b1fe.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/runtime-es2015.79d42b7a0c689735b1b5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/runtime-es5.79d42b7a0c689735b1b5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/runtime-es5.fd090508f518df362df3.js

This file was deleted.

6 changes: 0 additions & 6 deletions docs/styles.2f8b0fb5af6778765ebe.css

This file was deleted.

7 changes: 7 additions & 0 deletions docs/styles.58c4a55be48b21c9f783.css

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,41 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~8.0.0",
"@angular/common": "~8.0.0",
"@angular/compiler": "~8.0.0",
"@angular/core": "~8.0.0",
"@angular/forms": "~8.0.0",
"@angular/platform-browser": "~8.0.0",
"@angular/platform-browser-dynamic": "~8.0.0",
"@angular/router": "~8.0.0",
"@angular/animations": "~9.0.2",
"@angular/common": "~9.0.2",
"@angular/compiler": "~9.0.2",
"@angular/core": "~9.0.2",
"@angular/forms": "~9.0.2",
"@angular/platform-browser": "~9.0.2",
"@angular/platform-browser-dynamic": "~9.0.2",
"@angular/router": "~9.0.2",
"bootstrap": "4.3.1",
"google-code-prettify": "1.0.5",
"rxjs": "~6.5.2",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.800.0",
"@angular-devkit/build-ng-packagr": "~0.800.0",
"@angular/cli": "~8.0.2",
"@angular/compiler-cli": "~8.0.0",
"@angular/language-service": "~8.0.0",
"@types/node": "~8.9.4",
"@angular-devkit/build-angular": "~0.900.3",
"@angular-devkit/build-ng-packagr": "~0.900.3",
"@angular/cli": "~9.0.3",
"@angular/compiler-cli": "~9.0.2",
"@angular/language-service": "~9.0.2",
"@types/node": "^12.11.1",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "^5.0.0",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"ng-packagr": "^5.1.0",
"ng-packagr": "^9.0.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tsickle": "^0.35.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
"typescript": "~3.7.5"
}
}
2 changes: 1 addition & 1 deletion projects/iplab/ngx-file-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "",
"homepage": "https://github.com/pIvan/file-upload",
"bugs": "https://github.com/pIvan/file-upload/issues",
"version": "1.5.0",
"version": "2.0.0",
"author": "Ivan Pintar",
"license": "MIT",
"readmeFilename": "README.md",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export abstract class FileUploadAbstract implements OnInit, OnDestroy {
protected readonly cdr: ChangeDetectorRef) {
}

public ngOnInit() {
public ngOnInit(): void {
if (IsNullOrEmpty(this.control)) {
this.control = new FileUploadControl();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export class FileUploadAttributeComponent implements OnInit, AfterViewInit, OnDe
@Input()
public control: FileUploadControl = null;

@ViewChild('overlay', { static: false })
@ViewChild('overlay')
public overlay: ElementRef<HTMLDivElement>;

@ContentChild('placeholder', { static: false })
@ContentChild('placeholder')
public templateRef: TemplateRef<any> = null;

private hooks: Array<Function> = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ export class FileUploadComponent extends FileUploadAbstract implements ControlVa
this.checkAndSetMultiple();
}

@ContentChild('placeholder', { static: false })
@ContentChild('placeholder')
public templateRef: TemplateRef<any> = null;

@ContentChild('item', { static: false })
@ContentChild('item')
public listItem: TemplateRef<any> = null;

@ViewChild('inputRef', { static: true })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export class SimpleFileUploadComponent extends FileUploadAbstract implements Con
@Input()
public control: FileUploadControl = null;

@ContentChild('button', { static: false })
@ContentChild('button')
public buttonRef: TemplateRef<any> = null;

@ContentChild('placeholder', { static: false })
@ContentChild('placeholder')
public placeholderRef: TemplateRef<any> = null;

@ViewChild('inputRef', { static: true })
Expand Down
1 change: 0 additions & 1 deletion projects/iplab/ngx-file-upload/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"types": []
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
Expand Down
6 changes: 6 additions & 0 deletions projects/iplab/ngx-file-upload/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}
8 changes: 4 additions & 4 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"types": []
},
"angularCompilerOptions": {
"enableIvy": false
"enableIvy": true
},
"exclude": [
"src/test.ts",
"**/*.spec.ts"
"files": [
"src/main.ts",
"src/polyfills.ts"
]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"module": "es2015",
"module": "esnext",
"typeRoots": [
"node_modules/@types"
],
Expand Down
1 change: 0 additions & 1 deletion tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/spec",
"module": "commonjs",
"baseUrl": "",
"types": [
"jasmine",
Expand Down

0 comments on commit 2e594f9

Please sign in to comment.