Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
  2. import { ActionFabComponent } from './action-fab/action-fab.component';
  3. import { FloatBtnComponent } from '~/app/float-btn.component';
  4. import { PatientActionBarComponent } from './patient-action-bar/patient-action-bar.component';
  5. import { PatientTopHeaderComponent } from './patinet-top-header-component';
  6.  
  7.  
  8. @NgModule({
  9. declarations: [
  10. ActionFabComponent,
  11. FloatBtnComponent,
  12. PatientActionBarComponent,
  13. PatientTopHeaderComponent
  14. ],
  15. imports: [
  16. ],
  17. exports: [
  18. PatientActionBarComponent,
  19. PatientTopHeaderComponent
  20. ],
  21. schemas: [
  22. NO_ERRORS_SCHEMA
  23. ],
  24. entryComponents: [
  25. ActionFabComponent
  26. ],
  27. providers: [],
  28. })
  29. export class PatientSharedModule
  30.  
  31. import { DatePipe } from '@angular/common';
  32. import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
  33. import { ReactiveFormsModule } from '@angular/forms';
  34. import { NativeScriptCommonModule } from 'nativescript-angular/common';
  35. import { NativeScriptFormsModule } from 'nativescript-angular/forms';
  36. import { NativeScriptUIAutoCompleteTextViewModule } from 'nativescript-ui-autocomplete/angular/autocomplete-directives';
  37. import { NativeScriptUIChartModule } from 'nativescript-ui-chart/angular/chart-directives';
  38. import { NativeScriptUIListViewModule } from 'nativescript-ui-listview/angular/listview-directives';
  39. import { ActionService } from '~/app/services/action/action.service';
  40. import { AppNotificationService } from '~/app/services/app-notification-service';
  41. import { ChartService } from '~/app/services/chart/chart.service';
  42. import { sharedModule } from '../shared-mudule';
  43. import { ActionRoutingModule } from './action-routing-module';
  44. import { ActionComponent } from './action/action.component';
  45. import { DoctorOrdersComponent } from './doctor-orders/doctor-orders.component';
  46. import { PatientSharedModule } from './patient-shared.module';
  47.  
  48. @NgModule({
  49. imports: [
  50. NativeScriptCommonModule,
  51. NativeScriptUIListViewModule,
  52. NativeScriptUIChartModule,
  53. NativeScriptFormsModule,
  54. ReactiveFormsModule,
  55. sharedModule,
  56. PatientSharedModule,
  57. NativeScriptFormsModule,
  58. ActionRoutingModule,
  59. NativeScriptUIAutoCompleteTextViewModule
  60. ],
  61. declarations: [
  62. ActionComponent,
  63. DoctorOrdersComponent,
  64.  
  65.  
  66. ],
  67. schemas: [
  68. NO_ERRORS_SCHEMA
  69. ],
  70. providers: [
  71. DatePipe,
  72. ChartService,
  73. ActionService,
  74. AppNotificationService
  75. ],
  76. entryComponents: [
  77. DoctorOrdersComponent,
  78.  
  79.  
  80. ]
  81. })
  82. export class ActionModule {
  83. constructor() {
  84. console.log('action module initiated');
  85. }
  86. }
  87.  
  88. <patient-action-bar [patientName]='patientName'></patient-action-bar>
  89. <GridLayout rows="*" columns="*" height="100%" width="100%">
  90. <ActivityIndicator [busy]="isLoading" class="indicator"></ActivityIndicator> <RL:Ripple row="0" rippleColor="#fff" style="margin-top: 2px;">
  91. <GridLayout class="float-btn-cat" (tap)="doctorOrderButtonClicked"
  92. [class.button-clicked]="doctorOrderButtonClicked">
  93. <Label class="fas float-btn-cat-text-fawesome" (tap)="selectDoctorOrder()" text="&#xf0f0;"
  94. [style.color]="doctorOrderButtonClicked ? '#FF8910' : '#FFFFFF'"></Label>
  95. </GridLayout>
  96. </RL:Ripple>
  97. </GridLayout>
  98. </StackLayout>
  99. </GridLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement