argos/dmp-frontend
Konstantina Galouni 9ab9e6abc9 #7528: [NEW] Upload files field type - frontend.
1. dataset-profile-field-view-style.ts: Include "upload" field type.
2. field-data.ts: Export interface UploadFieldData.
3. config.json: Added new property "maxFileSizeInMB":10.
4. configuration.service.ts: Added _maxFileSizeInMB field and getter for it.
5. enum-utils.service.ts: Added cases for upload and table (not ready, to be added) field types.
6. rich-text-editor.module.ts: [Bug fix] Removed import of HttpClientModule (this is imported only once in order to work with interceptor).
7. field-editor-model.ts & dataset-profile-editor.component.ts: Added case and validators for "upload" field type.
8. dataset-profile.module.ts: Imports for upload.
9.dataset-profile-editor-composite-field.component & dataset-profile-editor-field.component: Added button for upload.
10. form-field.component: Added functionality for uploading and downloading files.
11. dataset-description-form.module.ts: Added "FileService" provider and import of "NgxDropzoneModule".
12. en.json: New literals for upload and table (to be added in other language files too).
13. New files for upload field type: file.service.ts, upload-field-data-editor-model.ts, dataset-profile-editor-upload-field.component.html, dataset-profile-editor-upload-field.component.ts, dataset-profile-editor-upload-field.component.scss
2022-03-16 13:00:03 +02:00
..
e2e no message 2018-05-28 12:50:42 +03:00
src #7528: [NEW] Upload files field type - frontend. 2022-03-16 13:00:03 +02:00
.browserslistrc upgrade to Angular 12 2021-09-24 21:52:14 +03:00
.dockerignore no message 2018-06-27 13:29:21 +03:00
.editorconfig rxjs refactor 2018-11-27 19:33:17 +02:00
.gitignore no message 2018-05-28 12:50:42 +03:00
Dockerfile ci changes 2021-01-22 10:32:07 +02:00
Dockerfile.CI ci changes 2021-01-22 10:32:07 +02:00
README.md no message 2018-05-28 12:50:42 +03:00
angular.json upgrade to Angular 12 2021-09-24 21:52:14 +03:00
mime.types Improve self deployment 2020-04-27 16:21:03 +03:00
nginx-custom.conf Introduced Facet Search Component On Dataset Public Listing 2018-10-05 09:56:50 +03:00
nginx.conf Improve self deployment 2020-04-27 16:21:03 +03:00
nginx.conf.CI ci changes 2021-01-22 10:32:07 +02:00
package.json Description boxes in admin forms replaced with rich text editor <angular-editor>. 2021-10-12 18:14:22 +03:00
protractor.conf.js rxjs refactor 2018-11-27 19:33:17 +02:00
start_nginx.sh ci changes 2021-01-22 10:32:07 +02:00
tsconfig.json upgrade to Angular 12 2021-09-24 21:52:14 +03:00
tslint.json upgrade to Angular 12 2021-09-24 21:52:14 +03:00

README.md

DmpFrontend2

This project was generated with Angular CLI version 1.7.4.

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.