Konstantina Galouni
9ab9e6abc9
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 |
||
---|---|---|
.. | ||
e2e | ||
src | ||
.browserslistrc | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
Dockerfile.CI | ||
README.md | ||
angular.json | ||
mime.types | ||
nginx-custom.conf | ||
nginx.conf | ||
nginx.conf.CI | ||
package.json | ||
protractor.conf.js | ||
start_nginx.sh | ||
tsconfig.json | ||
tslint.json |
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.