@evolvus/evolvus-bulk-upload-view
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.3 • Public • Published

    EvolvusBulkUploadView

    This is a Angular Component which provides file upload functionality. It has a drop down which lists the type of upload / file type, a Select Button and a Upload Button.

    It also take cares of invalid file formats, file size using the configured values in the lookUpCode.

    The selector offers two events, one is for providing the lookUpCodes and the second event is when the user uploads the file.

    // Initial confifuration

    [fileTypes]="provided-list-of-lookUpCodes"

    // Event fired when end-user uploads a file

    (response)=saveMe()

    The (response) event emits a response object with two properties i.e. "file" and "fileType"

    response: { file: File, fileType: LookupCode };

    LookupCode Definition :

    A LookUpCode is basically an object that defines a particular type of file upload.

    lookUpCode : { lookupCode : "IMPORT_TYPE", // The LookUpCode itself value : "ACH_TR", // A Unique value that makes this lookUpCode object unique valueOne : "TReDS presentment file upload", // File Type Name valueTwo : "txt", // File Format valueThree : "dir/dir_org", // Directory to save -> This component as of v1.0.0 doesn't store or save file to a directory. valueFour : "10" // Maximum File Size in Mega Bytes }

    This project was generated with Angular CLI version 6.0.7.

    Development server

    Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

    Code scaffolding

    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.

    Build

    Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

    Running unit tests

    Run ng test to execute the unit tests via Karma.

    Running end-to-end tests

    Run ng e2e to execute the end-to-end tests via Protractor.

    Further help

    To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

    Keywords

    none

    Install

    npm i @evolvus/evolvus-bulk-upload-view

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    161 kB

    Total Files

    23

    Last publish

    Collaborators

    • mahendrar
    • kumaresanb
    • shrimandk
    • kavyak
    • helmsman23
    • prashantmaroli
    • kamalarani
    • vigneshp
    • pavithrat
    • ennovatenow