Gathering detailed insights and metrics for @ngx-file-upload/ui
Gathering detailed insights and metrics for @ngx-file-upload/ui
Gathering detailed insights and metrics for @ngx-file-upload/ui
Gathering detailed insights and metrics for @ngx-file-upload/ui
ngx-ui-hero
Simple, fast and reliable utilities for Angular.
@bytescale/upload-widget-angular
Angular File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐
angular-uploader
Angular File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐
ngx-ui-upload-file
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
npm install @ngx-file-upload/ui
Typescript
Module System
Node Version
NPM Version
TypeScript (80.43%)
HTML (8.66%)
SCSS (7.32%)
JavaScript (3.58%)
Total Downloads
24,385
Last Day
52
Last Week
158
Last Month
705
Last Year
9,218
MIT License
20 Stars
1,408 Commits
7 Forks
2 Watchers
32 Branches
4 Contributors
Updated on Oct 15, 2024
Minified
Minified + Gzipped
Latest Version
8.0.0
Package Id
@ngx-file-upload/ui@8.0.0
Unpacked Size
645.17 kB
Size
131.28 kB
File Count
46
NPM Version
8.19.3
Node Version
18.13.0
Published on
Aug 26, 2023
Cumulative downloads
Total Downloads
Last Day
246.7%
52
Compared to previous day
Last Week
97.5%
158
Compared to previous week
Last Month
-10%
705
Compared to previous month
Last Year
44.8%
9,218
Compared to previous year
1
3
Angular 16 components for @ngx-file-upload / core to create a UI. All components were packed in separate modules which can be integrated and used separately as required.
Use ngx-file-upload/ui v2.2.1.
This package is build with angular 9 and typescript ^3.7.5 which is not supported by angular 8 by default. Typings for 3.5.5 and 3.7.5 are diffrent, if u want use this package in Angular 8 Project update your Angular 8 Project to Typescript ^3.7.5.
We also change all namespaces to have NgxFileUpload as prefix @see breaking change 1.1.2 to 2.0.0
Use ngx-file-upload/ui v1.1.2, compiled with typescript 3.5.x which is used default by angular 8.
1npm i --save @ngx-file-upload/ui @ngx-file-upload/core
To add a specific language to @ngx-file-upload/ui components create a new language file where you define custom translations which will only work for predefined components we provide with @ngx-file-upload/ui.
1import { NGX_FILE_UPLOAD_UI_I18N, NgxFileUploadUiI18n } from "@ngx-file-upload/ui";
2
3/**
4 * define translation json data all sections are optional
5 * if not set it will take default value
6 */
7const ngxFileUploadI18n: NgxFileUploadUiI18n = {
8 common: {
9 SELECT_FILES: "Select File"
10 },
11 item: {
12 UPLOADED: "uploaded"
13 },
14 toolbar: {
15 CLEAN_UP: "Remove invalid and completed",
16 REMOVE_ALL: "Remove all",
17 UPLOADS: "Progessing File Uploads",
18 UPLOAD_ALL: "Upload All"
19 }
20};
21
22@NgModule({
23 ...
24 providers: [
25 ...
26 /**
27 * @optional bind language data to injection token
28 * if not provided it will use default text labels
29 */
30 { provide: NGX_FILE_UPLOAD_UI_I18N, useValue: ngxFileUploadI18n },
31 ...
32})
33export class AppModule {
34}
Read Docs for more Informations: Language Support
containing all UI modules, should imported if all resources should be used.
Includes following Pipes
app.module.ts
1import { NgModule } from "@angular/core"; 2import { CommonModule } from "@angular/common"; 3import { NgxFileUploadCoreModule } from "@ngx-file-upload/core"; 4import { NgxFileUploadUiCommonModule } from "@ngx-file-upload/ui"; 5 6@NgModule({ 7 imports: [ 8 CommonModule, 9 NgxFileUploadCoreModule 10 NgxFileUploadUiCommonModule, 11 ])], 12 declarations: [...], 13 entryComponents: [...], 14 providers: [], 15}) 16export class AppModule { }
app.component.html
1<ul> 2 <!-- array of UploadRequests --> 3 <li *ngFor="upload of uploads"> 4 <div>State: {{upload.data.state | stateToString }}</div> 5 <div>Uploaded: {{upload.data.uploaded | fileSize }}</div> 6 <div>Size: {{upload.data.size | fileSize }}</div> 7 <button [disabled]="!(upload.data.state | isCancelAble)">Cancel</div> 8 </li> 9</ul>
Read Docs for more Informations: Pipes
Contains progress bars for visualization of the upload progress.
Circle Progressbar which can be split into parts with gap or display completly as one. Can be animated by css.
Progressbar which can be split into parts with gap or display completly as one. Could not animated via css but animation is included and can turned off.
Read Docs for more Informations: ProgressbarModule
Contains customize able upload item
app.module.ts
1import { NgModule } from "@angular/core"; 2import { CommonModule } from "@angular/common"; 3import { NgxFileUploadCoreModule } from "@ngx-file-upload/core"; 4import { NgxFileUploadUiItemModule } from "@ngx-file-upload/ui"; 5 6@NgModule({ 7 imports: [ 8 CommonModule, 9 NgxFileUploadCoreModule 10 NgxFileUploadUiItemModule, 11 ])], 12 declarations: [...], 13 entryComponents: [...], 14 providers: [], 15}) 16export class AppModule { }
app.component.html
1<ul> 2 <!-- array of UploadRequests --> 3 <li *ngFor="upload of uploads" class="upload-item"> 4 <ngx-file-upload-ui--item [upload]="upload"> 5 </ngx-file-upload-ui--item> 6 </li> 7</ul>
Read Docs for more Informations: Upload Item
Contains UploadToolbar for visualisation of current upload progress and control to start, stop or clean up uploads.
app.module.ts
1import { NgModule } from "@angular/core"; 2import { CommonModule } from "@angular/common"; 3import { NgxFileUploadCoreModule } from "@ngx-file-upload/core"; 4import { NgxFileUploadUiToolbarModule } from "@ngx-file-upload/ui"; 5 6@NgModule({ 7 imports: [ 8 CommonModule, 9 NgxFileUploadCoreModule 10 NgxFileUploadUiToolbarModule, 11 ])], 12 declarations: [...], 13 entryComponents: [...], 14 providers: [], 15}) 16export class AppModule { }
app.component.html
1<ngx-file-upload-ui--toolbar [storage]="uploadStorage"></ngx-file-upload-ui--toolbar> 2<ul> 3 <!-- array of UploadRequests --> 4 <li *ngFor="upload of uploads" class="upload-item"> 5 <!-- display upload data --> 6 </li> 7</ul>
Simple directive for browse or drop files.
1import { NgModule } from "@angular/core"; 2import { CommonModule } from "@angular/common"; 3import { NgxFileUploadCoreModule } from "@ngx-file-upload/core"; 4import { NgxFileUploadUiFileBrowserModule } from "@ngx-file-upload/ui"; 5 6@NgModule({ 7 imports: [ 8 CommonModule, 9 NgxFileUploadCoreModule 10 NgxFileUploadUiFileBrowserModule, 11 ])], 12 declarations: [...], 13 entryComponents: [...], 14 providers: [], 15}) 16export class AppModule { }
app.component.html
1<div ngxFileUpload (add)="dropFiles($event)"> 2 <div class="file-browser"> 3 <span>Drop or Browse</span> 4 </div> 5</div>
Read Docs for more Informations: Upload File Browser
Demo can be found here.
Special thanks for code reviews, great improvements and ideas to
Konrad Mattheis | Thomas Haenig | Alexander Görlich |
Ralf Hannuschka Github
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/14 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
38 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More