argos/dmp-frontend
Konstantina Galouni 193e7410a8 Added rich text area field type for response in dataset > chapter > section > questions.
1. dataset-profile.module.ts: Added in declarations "DatasetProfileEditorRichTextAreaFieldComponent".
2. dataset-profile-editor-composite-field.component.html: Added RichTextArea as input field type for response to a question.
3. dataset-profile-editor-composite-field.component.ts: In method "addNewInput()" added case for RichTextArea.
4. dataset-profile-field-view-style.ts & view-style-enum.ts: Added RichTextArea.
5. field-data.ts: Added interface RichTextAreaFieldData.
6. enum-utils.service.ts: In methods "toDatasetProfileFieldViewStyleString()" and "toDatasetProfileViewTypeString()" added cases for RichTextArea
7. field-editor-model.ts: Added richTextarea.
8. component-profile-editor-default-value.component.html: Added <mat-form-field> for RichTextArea (how rich text area is initialized when this type is selected as response).
9. dataset-profile-editor-field.component.html: Added <mat-option> for RichTextArea (to select it) and <app-dataset-profile-editor-rich-text-area-field-component> (to show it).
10. dataset-profile-editor-field.component.ts: Added RichTextArea case everywhere.
11. dataset-wizard.component.ts & dmp-editor.component.ts: In method "_getPlaceHolder()" added case for richTextarea.
12. dataset-description-form.module.ts: Imported RichTextEditorModule.
13. form-field.component.html: Added RichTextArea case with <rich-text-editor-component>.
14. assets/i18n/: Added DATASET-PROFILE-EDITOR.STEPS.FORM.FIELD.FIELDS.FIELD-RICH-TEXT-AREA-TITLE, DATASET-PROFILE-EDITOR.STEPS.FORM.FIELD.FIELDS.FIELD-RICH-TEXT-AREA-PLACEHOLDER and DMP-EDITOR.TYPES.DATASET-PROFILE-FIELD-VIEW-STYLE.RICH-TEXT-AREA.
15. field-data/rich-text-area-field-data-editor-model.ts & field-type/rich-textarea/: [NEW] Files for Rich Text Area field type.
2021-11-01 15:30:21 +02:00
..
e2e no message 2018-05-28 12:50:42 +03:00
src Added rich text area field type for response in dataset > chapter > section > questions. 2021-11-01 15:30:21 +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.