# aa-fileupload

> Angular > 2 library for File Upload.

Latest version **0.0.24** (published 2017-07-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install aa-fileupload
pnpm add aa-fileupload
yarn add aa-fileupload
bun add aa-fileupload
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.24 |
| Published | 2017-07-07 |
| First published | 2017-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Open Office |
| Maintainers | jaisopenoffice |
| Keywords | angular, angular2, angular 2, rollup, module, package, aot |

## Links

- npm: https://www.npmjs.com/package/aa-fileupload
- npm.io page: https://npm.io/package/aa-fileupload

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.0.24 (latest) — 2017-07-07
- 0.0.22 — 2017-07-07
- 0.0.21 — 2017-07-07
- 0.0.20 — 2017-07-07
- 0.0.19 — 2017-07-07
- 0.0.17 — 2017-07-07
- 0.0.16 — 2017-07-07
- 0.0.15 — 2017-07-07
- 0.0.14 — 2017-07-07
- 0.0.13 — 2017-07-07
- 0.0.12 — 2017-07-07
- 0.0.11 — 2017-07-07
- 0.0.10 — 2017-07-07
- 0.0.9 — 2017-07-07
- 0.0.8 — 2017-07-07
- … 6 more at https://npm.io/package/aa-fileupload/versions

## README

# Overview Aa-Fileupload

This library contains a fileupload control for TRIBE [Angular 2+](https://angular.io/) application development.

## Build

Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `npm test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Installation

aa-fileupload is available as an NPM package. To install aa-fileupload in your project directory run:
```typescript
$ npm install aa-fileupload --save
```

After installtion you can import aa-fileupload in your angular 2+ project by adding the `AaFileuploadModule` to your Module declaration as followed:
```typescript
import { AaFileuploadModule } from 'aa-fileupload';

@NgModule({
  imports: [
    AaFileuploadModule
  ],
})
export class Module { }
```
 
## How to use the control
To use the this fileupload control in an angular 2+ project simply add a wizard component to the html template of your component, like this:

```html
<oo-tribe-fileupload 
    chooseLabel="Upload new file..." 
    name="myfile[]" url="http://localhost:63135/api/values" 
    accept="image/*" 
    dragPanelWide="false" 
    styleClass="ui-fileupload" 
    maxFileSize="1000000"></oo-tribe-fileupload>
``` 
  
  
### Parameter overview
Possible `<oo-tribe-fileupload>` parameters:

| Parameter name    | Possible Values                                                                                       | Default Value |
| ----------------- | ----------------------------------------------------------------------------------------------------- | ------------- |
| [chooseLabel]  | Any string                                                            | Choose           |
| [styleClass]    | Any available css classes as string    | ui-fileupload         |
| [maxFileSize]    | File size in Number    | -         |
| [accept]    | Mime type    | -         |
| [url]    | file POST location    | -         |
| [allowDragAndDrop]    | Boolean    | false         |
| [allowMultiple]    | Boolean    | false         |
 
  
   
   
Please note, this library is still under active development!!!
 
 
## TODO
- [X] SCSS Compilation
- [X] Rollup bundling
- [X] Verify Minify / Uglify
- [X] Install on Demo project
- [X] Bundle component SASS files
- [ ] Test Integration
- [ ] Progress Bar 
- [ ] Inline Feedback/ Messages
- [ ] Build it locally through TeamCity

---
_Source: https://npm.io/package/aa-fileupload · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
