diff --git a/ng8-seed/package-lock.json b/ng8-seed/package-lock.json index ba42d44..817ea97 100644 --- a/ng8-seed/package-lock.json +++ b/ng8-seed/package-lock.json @@ -702,6 +702,43 @@ } } }, + "@fortawesome/angular-fontawesome": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@fortawesome/angular-fontawesome/-/angular-fontawesome-0.5.0.tgz", + "integrity": "sha512-5IR/jNMddiEpgApcqSMfp7l5kZqOtxQYzkSLW6iZ4MZHbQQ+Kc9tu9qi2hro6VFSk/sPxeYEzkzGZUNrMYiwOg==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@fortawesome/fontawesome-common-types": { + "version": "0.2.25", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.25.tgz", + "integrity": "sha512-3RuZPDuuPELd7RXtUqTCfed14fcny9UiPOkdr2i+cYxBoTOfQgxcDoq77fHiiHcgWuo1LoBUpvGxFF1H/y7s3Q==" + }, + "@fortawesome/fontawesome-svg-core": { + "version": "1.2.25", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.25.tgz", + "integrity": "sha512-MotKnn53JKqbkLQiwcZSBJVYtTgIKFbh7B8+kd05TSnfKYPFmjKKI59o2fpz5t0Hzl35vVGU6+N4twoOpZUrqA==", + "requires": { + "@fortawesome/fontawesome-common-types": "^0.2.25" + } + }, + "@fortawesome/free-brands-svg-icons": { + "version": "5.11.2", + "resolved": "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-5.11.2.tgz", + "integrity": "sha512-wKK5znpHiZ2S0VgOvbeAnYuzkk3H86rxWajD9PVpfBj3s/kySEWTFKh/uLPyxiTOx8Tsd0OGN4En/s9XudVHLQ==", + "requires": { + "@fortawesome/fontawesome-common-types": "^0.2.25" + } + }, + "@fortawesome/free-solid-svg-icons": { + "version": "5.11.2", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.11.2.tgz", + "integrity": "sha512-zBue4i0PAZJUXOmLBBvM7L0O7wmsDC8dFv9IhpW5QL4kT9xhhVUsYg/LX1+5KaukWq4/cbDcKT+RT1aRe543sg==", + "requires": { + "@fortawesome/fontawesome-common-types": "^0.2.25" + } + }, "@ngtools/webpack": { "version": "8.2.2", "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-8.2.2.tgz", @@ -726,6 +763,30 @@ } } }, + "@ngx-share/button": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@ngx-share/button/-/button-7.1.4.tgz", + "integrity": "sha512-XgmrQhpnB8CuRSdLYPWZgSz/zcJC7dNdK40MUjZA/0Z5tzMVkhcvrig6MRD0JBoBDbLd2HPG3XlfoWQqMZicZQ==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@ngx-share/buttons": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@ngx-share/buttons/-/buttons-7.1.4.tgz", + "integrity": "sha512-dcJm2qY5IvJH7FuzpyRTeBXpg86WkSqXfEaHMGHCKWwptM8twZxyyZwVorDLrtsMEHabUzw1mhqlX6DsiqSobA==", + "requires": { + "tslib": "^1.9.0" + } + }, + "@ngx-share/core": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@ngx-share/core/-/core-7.1.4.tgz", + "integrity": "sha512-N6j1/7/I27Wfz1Uoy15uQ8fpRkPZXF1g9+dKrkEh6yi9jKmqNjr1hHB59DHfxrTGivxAgEEFgZMgnPzTd+2kcQ==", + "requires": { + "tslib": "^1.9.0" + } + }, "@ngx-translate/core": { "version": "10.0.2", "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-10.0.2.tgz", @@ -1226,6 +1287,11 @@ "tslib": "^1.9.0" } }, + "angular-socialshare": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/angular-socialshare/-/angular-socialshare-2.3.11.tgz", + "integrity": "sha1-BTKLM9mF/Zt+FQAmPCCpqg+ELJk=" + }, "angular-sortablejs": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/angular-sortablejs/-/angular-sortablejs-2.7.0.tgz", @@ -7520,6 +7586,14 @@ "tslib": "^1.9.0" } }, + "ngx-social-button": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/ngx-social-button/-/ngx-social-button-1.0.4.tgz", + "integrity": "sha512-4viKbk68w0cZx2njg6gdrSi5e9ndqtSdAst+eWn1dW2C46QlIe/bTRLECZzBzkMm3YzinZMMgwzWG+6ZEcM32A==", + "requires": { + "tslib": "^1.9.0" + } + }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", diff --git a/ng8-seed/package.json b/ng8-seed/package.json index 1164eac..b6c0928 100644 --- a/ng8-seed/package.json +++ b/ng8-seed/package.json @@ -14,7 +14,7 @@ "dependencies": { "@agm/core": "^1.0.0-beta.5", "@angular/animations": "^8.2.2", - "@angular/cdk": "^7.0.3", + "@angular/cdk": "^7.3.7", "@angular/common": "^8.2.2", "@angular/compiler": "^8.2.2", "@angular/core": "^8.2.2", @@ -24,10 +24,18 @@ "@angular/platform-browser": "^8.2.2", "@angular/platform-browser-dynamic": "^8.2.2", "@angular/router": "^8.2.2", + "@fortawesome/angular-fontawesome": "^0.5.0", + "@fortawesome/fontawesome-svg-core": "^1.2.25", + "@fortawesome/free-brands-svg-icons": "^5.11.2", + "@fortawesome/free-solid-svg-icons": "^5.11.2", + "@ngx-share/button": "^7.1.4", + "@ngx-share/buttons": "^7.1.4", + "@ngx-share/core": "^7.1.4", "@ngx-translate/core": "^10.0.2", "@ngx-translate/http-loader": "^3.0.1", "@swimlane/ngx-datatable": "^15.0.2", "angular-calendar": "^0.26.4", + "angular-socialshare": "^2.3.11", "angular-sortablejs": "^2.6.0", "angular-tree-component": "^8.4.0", "chart.js": "^2.7.3", @@ -53,6 +61,7 @@ "ngx-cookie-service": "^2.2.0", "ngx-perfect-scrollbar": "5.0.0-7", "ngx-slick-carousel": "^0.4.6", + "ngx-social-button": "^1.0.4", "perfect-scrollbar": "^1.4.0", "quill": "^1.3.6", "rxjs": "^6.3.3", diff --git a/ng8-seed/src/app/app.module.ts b/ng8-seed/src/app/app.module.ts index 6370fff..d2f3279 100644 --- a/ng8-seed/src/app/app.module.ts +++ b/ng8-seed/src/app/app.module.ts @@ -51,7 +51,7 @@ import { AuthGuardService } from './shared/guards/auth-guard.service'; import { MatTableDataSource, MatTableModule, MatSlideToggleModule, MatRadioModule, MatButtonModule } from '@angular/material'; import { SchoolDetailsService } from './shared/school-details.service'; // import { AddEventModule } from './add-event.module'; -import {HashLocationStrategy,LocationStrategy} from '@angular/common'; +import {HashLocationStrategy,LocationStrategy,PathLocationStrategy} from '@angular/common'; import {CookieService} from 'ngx-cookie-service' import { LoginComponent } from './components/login/login.component'; import { RegisterComponent } from './components/register/register.component'; @@ -59,8 +59,14 @@ import { ReqListComponent } from './components/req-list/req-list.component'; import { UserProfileComponent } from './components/user-profile/user-profile.component'; import { SuccessComponent } from './components/payment-status/success/success.component'; import { FailureComponent } from './components/payment-status/failure/failure.component'; -import { UserCertificateComponent } from './components/user-certificate/user-certificate.component'; +import { UserCertificateComponent, userCertificateDisplay } from './components/user-certificate/user-certificate.component'; import { PrivacyPolicyComponent } from './components/privacy-policy/privacy-policy.component'; +import { + NgxSocialButtonModule, + SocialServiceConfig +} from "ngx-social-button"; +import { PasswordChangeComponent } from './components/password-change/password-change.component'; +import { ShareButtonsModule } from '@ngx-share/buttons'; export function HttpLoaderFactory(http: HttpClient) { @@ -70,6 +76,13 @@ export function HttpLoaderFactory(http: HttpClient) { export function createTranslateLoader(http: HttpClient) { return new TranslateHttpLoader(http, './assets/i18n/', '.json'); } +export function getAuthServiceConfigs() { + let config = new SocialServiceConfig() + .addFacebook("Your-Facebook-app-id") + .addGoogle("Your-Google-Client-Id") + .addLinkedIn("Your-LinkedIn-Client-Id"); + return config; +} const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { suppressScrollX: true @@ -95,6 +108,8 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { FailureComponent, UserCertificateComponent, PrivacyPolicyComponent, + PasswordChangeComponent, + userCertificateDisplay // ProjectListComponent ], @@ -139,6 +154,8 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { MatSlideToggleModule, MatProgressBarModule, // MDBBootstrapModule.forRoot() + NgxSocialButtonModule, + ShareButtonsModule ], providers: [ TranslateService, @@ -153,8 +170,12 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { multi: true },AuthGuardService, SchoolDetailsService, + { + provide: SocialServiceConfig, + useFactory: getAuthServiceConfigs + }, ], - entryComponents: [], + entryComponents: [PasswordChangeComponent,UserCertificateComponent], bootstrap: [AppComponent] }) export class AppModule { } diff --git a/ng8-seed/src/app/app.routing.ts b/ng8-seed/src/app/app.routing.ts index 6d47b44..56b0b07 100644 --- a/ng8-seed/src/app/app.routing.ts +++ b/ng8-seed/src/app/app.routing.ts @@ -15,7 +15,7 @@ import { Component } from '@angular/core'; import { UserProfileComponent } from './components/user-profile/user-profile.component'; import { SuccessComponent } from './components/payment-status/success/success.component'; import { FailureComponent } from './components/payment-status/failure/failure.component'; -import { UserCertificateComponent } from './components/user-certificate/user-certificate.component'; +import { UserCertificateComponent, userCertificateDisplay } from './components/user-certificate/user-certificate.component'; import { PrivacyPolicyComponent } from './components/privacy-policy/privacy-policy.component'; export const AppRoutes: Routes = [{ path: '', @@ -67,7 +67,7 @@ export const AppRoutes: Routes = [{ }, { path:'user-certificate', - component:UserCertificateComponent + component:userCertificateDisplay }, { canActivate:[AuthGuardService], diff --git a/ng8-seed/src/app/components/contribute/contribute.component.html b/ng8-seed/src/app/components/contribute/contribute.component.html index 7432aae..8e6539e 100644 --- a/ng8-seed/src/app/components/contribute/contribute.component.html +++ b/ng8-seed/src/app/components/contribute/contribute.component.html @@ -203,5 +203,5 @@ \ No newline at end of file +
A/C Name : Tamil Nadu State Parent Teacher Association - CSR Funds
A/C Number : 142301000022944
@@ -102,6 +106,7 @@
IFSC : IOBA0001423
Bank : Indian Overseas Bank
Branch : College Road, Chennai
+
Please despatch your Cheque / DD to the below address :
-
+
Please despatch your Cheque / DD to the below address :
+
The Secretary,
Tamil Nadu State Parent Teachers Association
6, College Rd, Subba Road Avenue,
Nungambakkam, Chennai 600006
- Tamil Nadu