Changes in / [7899209:79ae621]
- Location:
- src/Clients/Angular/finki-chattery
- Files:
-
- 10 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clients/Angular/finki-chattery/package-lock.json
r7899209 r79ae621 1746 1746 } 1747 1747 }, 1748 "@tinymce/tinymce-angular": { 1749 "version": "4.0.0", 1750 "resolved": "https://registry.npmjs.org/@tinymce/tinymce-angular/-/tinymce-angular-4.0.0.tgz", 1751 "integrity": "sha512-CmsKournkWWK5O7d8qgZQPvRC76z36GjeD3ZAHZEY/kUXKWAIXfbrHxxgQq9m7+wlfZq9QNgRx5ufN9y9N46DQ==", 1752 "requires": { 1753 "tslib": "^1.10.0" 1754 }, 1755 "dependencies": { 1756 "tslib": { 1757 "version": "1.14.1", 1758 "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 1759 "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" 1760 } 1761 } 1762 }, 1748 1763 "@types/glob": { 1749 1764 "version": "7.1.3", -
src/Clients/Angular/finki-chattery/package.json
r7899209 r79ae621 29 29 "@ngrx/store-devtools": "^11.0.1", 30 30 "@ngx-translate/core": "^13.0.0", 31 "@tinymce/tinymce-angular": "^4.0.0", 31 32 "moment": "^2.29.1", 32 33 "ng2-file-upload": "^1.4.0", -
src/Clients/Angular/finki-chattery/src/app/app.component.ts
r7899209 r79ae621 1 1 import { Component, OnInit } from '@angular/core'; 2 import { LoaderService } from './core/services';2 import { LoaderService, RedirectService } from './core/services'; 3 3 4 4 @Component({ … … 8 8 }) 9 9 export class AppComponent implements OnInit { 10 constructor(public loader: LoaderService ) {}10 constructor(public loader: LoaderService, private redirect: RedirectService) {} 11 11 12 ngOnInit(): void {} 12 ngOnInit(): void { 13 this.redirect.redirectLoggedInUser(); 14 } 13 15 } -
src/Clients/Angular/finki-chattery/src/app/modules/questioning/components/questioning-components.ts
r7899209 r79ae621 3 3 import { QuestionsPreviewGeneralComponent } from './questions-preview-general/questions-preview-general.component'; 4 4 import { QuestionsSearchComponent } from './questions-search/questions-search.component'; 5 import { AskQuestionComponent } from './ask-question/ask-question.component'; 5 6 6 7 export const QUESTIONING_COMPONENTS: any[] = [ … … 8 9 QuestionsPreviewGeneralComponent, 9 10 QuestioningGeneralComponent, 10 QuestionsSearchComponent 11 QuestionsSearchComponent, 12 AskQuestionComponent 11 13 ]; -
src/Clients/Angular/finki-chattery/src/app/modules/questioning/questioning.routes.ts
r7899209 r79ae621 5 5 import { QuestionsPreviewGeneralComponent } from './components/questions-preview-general/questions-preview-general.component'; 6 6 import { QuestionsSearchComponent } from './components/questions-search/questions-search.component'; 7 import { AuthorizedStudentGuard } from 'src/app/core/guards/authorized-student.guard'; 8 import { AskQuestionComponent } from './components/ask-question/ask-question.component'; 7 9 8 10 const routes: Routes = [ … … 22 24 }, 23 25 { 26 path: 'ask', 27 pathMatch: 'full', 28 component: AskQuestionComponent, 29 canActivate: [AuthorizedStudentGuard] 30 } 31 { 24 32 path: ':questionUid', 25 33 component: QuestionPreviewGeneralComponent -
src/Clients/Angular/finki-chattery/src/app/shared-app/models/index.ts
r7899209 r79ae621 4 4 export * from './category-state-view-models.models'; 5 5 export * from './question-state-enums.models'; 6 export * from './categories.models'; -
src/Clients/Angular/finki-chattery/src/app/shared-app/shared-app.module.ts
r7899209 r79ae621 7 7 import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker'; 8 8 import { FileUploadModule } from 'ng2-file-upload'; 9 import { EditorModule } from '@tinymce/tinymce-angular'; 9 10 10 11 import { COMPONENTS } from './components/components'; … … 25 26 FlexLayoutModule, 26 27 FileUploadModule, 27 NgxMaterialTimepickerModule 28 NgxMaterialTimepickerModule, 29 EditorModule 28 30 ], 29 31 exports: [ … … 38 40 DIRECTIVES, 39 41 PIPES, 40 SharedMaterialModule 42 SharedMaterialModule, 43 EditorModule 41 44 ] 42 45 })
Note:
See TracChangeset
for help on using the changeset viewer.