Changeset 31a8672 for src/Clients


Ignore:
Timestamp:
10/11/21 13:08:06 (3 years ago)
Author:
Стојков Марко <mst@…>
Branches:
dev
Children:
81e1ed6
Parents:
cba21c9
Message:

Frontend component for asking question

Location:
src/Clients/Angular/finki-chattery
Files:
13 added
7 edited

Legend:

Unmodified
Added
Removed
  • src/Clients/Angular/finki-chattery/package-lock.json

    rcba21c9 r31a8672  
    17461746      }
    17471747    },
     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    },
    17481763    "@types/glob": {
    17491764      "version": "7.1.3",
  • src/Clients/Angular/finki-chattery/package.json

    rcba21c9 r31a8672  
    2929    "@ngrx/store-devtools": "^11.0.1",
    3030    "@ngx-translate/core": "^13.0.0",
     31    "@tinymce/tinymce-angular": "^4.0.0",
    3132    "moment": "^2.29.1",
    3233    "ng2-file-upload": "^1.4.0",
  • src/Clients/Angular/finki-chattery/src/app/app-routing.module.ts

    rcba21c9 r31a8672  
    66    path: '**',
    77    redirectTo: 'public/home'
     8  },
     9  {
     10    path: 'questions',
     11    loadChildren: () => import('./modules/questioning/questioning.module').then((x) => x.QuestioningModule)
    812  }
    913];
  • src/Clients/Angular/finki-chattery/src/app/app.component.html

    rcba21c9 r31a8672  
    22  <mat-progress-bar class="global-loader" [class.hidden]="!(loader.isLoading | async)" mode="indeterminate"></mat-progress-bar>
    33  <router-outlet></router-outlet>
    4   <button (click)="login()">LOGIN</button>
    54</main>
  • src/Clients/Angular/finki-chattery/src/app/app.component.ts

    rcba21c9 r31a8672  
    11import { Component, OnInit } from '@angular/core';
    2 import { AuthService, LoaderService, RedirectService } from './core/services';
     2import { LoaderService, RedirectService } from './core/services';
    33
    44@Component({
     
    88})
    99export class AppComponent implements OnInit {
    10   constructor(public loader: LoaderService, private redirect: RedirectService, private auth: AuthService) {}
     10  constructor(public loader: LoaderService, private redirect: RedirectService) {}
    1111
    1212  ngOnInit(): void {
    1313    this.redirect.redirectLoggedInUser();
    1414  }
    15 
    16   public login(): void {
    17     this.auth.login();
    18   }
    1915}
  • src/Clients/Angular/finki-chattery/src/app/shared-app/models/index.ts

    rcba21c9 r31a8672  
    11export * from './error.models';
    22export * from './user.models';
     3export * from './categories.models';
  • src/Clients/Angular/finki-chattery/src/app/shared-app/shared-app.module.ts

    rcba21c9 r31a8672  
    77import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';
    88import { FileUploadModule } from 'ng2-file-upload';
     9import { EditorModule } from '@tinymce/tinymce-angular';
    910
    1011import { COMPONENTS } from './components/generic/components';
     
    2728    FlexLayoutModule,
    2829    FileUploadModule,
    29     NgxMaterialTimepickerModule
     30    NgxMaterialTimepickerModule,
     31    EditorModule
    3032  ],
    3133  exports: [
     
    3941    COMPONENTS,
    4042    DIRECTIVES,
    41     PIPES
     43    PIPES,
     44    SharedMaterialModule,
     45    EditorModule
    4246  ]
    4347})
Note: See TracChangeset for help on using the changeset viewer.