From 1d1c73bd1765141f3faf099cd3a6d603ff853d32 Mon Sep 17 00:00:00 2001 From: gkbishnoi07 Date: Tue, 11 Aug 2026 19:05:18 +0000 Subject: [PATCH 1/4] fix(refer): offer only 104 and 1097 as additional referral services The Refer/Revisit "additional services" dropdown bound the entire masterData.additionalServices list. Filter it to only 104 and 1097 (matched on serviceName, the identifier the rest of the refer flow keys off). Fixes bugfest [19]. --- .../refer/cancer-refer/cancer-refer.component.ts | 7 ++++++- .../refer/general-refer/general-refer.component.ts | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts b/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts index 7b298056..dba49e17 100644 --- a/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts +++ b/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts @@ -107,7 +107,12 @@ export class CancerReferComponent implements OnInit, DoCheck, OnDestroy { this.masterdataService.doctorMasterData$.subscribe(masterData => { if (masterData) { this.higherHealthcareCenter = masterData.higherHealthCare; - this.additionalServices = masterData.additionalServices; + // [19] Only 104 and 1097 are offered as additional referral services. + this.additionalServices = ( + masterData.additionalServices || [] + ).filter((s: any) => + ['104', '1097'].includes(String(s?.serviceName).trim()) + ); this.referralReason = masterData.referralReason; console.log(masterData.revisitDate); console.log('hi'); diff --git a/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts b/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts index b862e534..1e551f86 100644 --- a/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts +++ b/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts @@ -187,7 +187,12 @@ export class GeneralReferComponent implements OnInit, DoCheck, OnDestroy { this.instituteFlag = true; sessionStorage.setItem('instFlag', 'true'); } - this.additionalServices = masterData.additionalServices; + // [19] Only 104 and 1097 are offered as additional referral services. + this.additionalServices = ( + masterData.additionalServices || [] + ).filter((s: any) => + ['104', '1097'].includes(String(s?.serviceName).trim()) + ); console.log(masterData.revisitDate); console.log('hi'); this.revisitDate = masterData.revisitDate; From 45caf48d5a355c28d4b7fa71081f4b60af2b5a02 Mon Sep 17 00:00:00 2001 From: gkbishnoi07 Date: Wed, 19 Aug 2026 04:49:54 +0000 Subject: [PATCH 2/4] chore(refer): remove explanatory comments per review --- .bf9.log | 204 ++++++++++++++++++ Common-UI | 2 +- .../cancer-refer/cancer-refer.component.ts | 1 - .../general-refer/general-refer.component.ts | 1 - 4 files changed, 205 insertions(+), 3 deletions(-) create mode 100644 .bf9.log diff --git a/.bf9.log b/.bf9.log new file mode 100644 index 00000000..8ac548d0 --- /dev/null +++ b/.bf9.log @@ -0,0 +1,204 @@ +- Generating browser application bundles (phase: setup)... + TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. For more information, see https://angular.dev/tools/cli/build#configuring-browser-compatibility + NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning. +✔ Browser application bundle generation complete. +✔ Browser application bundle generation complete. +- Copying assets... +✔ Copying assets complete. +- Generating index html... +✔ Index html generation complete. + +Initial chunk files | Names | Raw size +vendor.js | vendor | 7.36 MB | +main.js | main | 813.87 kB | +styles.css | styles | 176.35 kB | +polyfills.js | polyfills | 116.12 kB | +runtime.js | runtime | 13.34 kB | + + | Initial total | 8.48 MB + +Lazy chunk files | Names | Raw size +src_app_app-modules_nurse-doctor_nurse-doctor_routes_ts.js | app-modules-nurse-doctor-nurse-doctor-routes | 6.41 MB | +Common-UI_v2_registrar_registration_module_ts.js | Common-UI-v2-registrar-registration-module | 794.78 kB | +default-Common-UI_v2_ui_accordion_index_ts-src_app_app-modules_core_components_beneficiary-de-64931d.js | app-modules-nurse-doctor-nurse-doctor-routes | 331.87 kB | +src_app_app-modules_lab_lab_routes_ts.js | app-modules-lab-lab-routes | 152.28 kB | +default-Common-UI_v2_ui_date-picker_index_ts-Common-UI_v2_ui_stepper_index_ts.js | Common-UI-v2-registrar-registration-module | 129.79 kB | +src_app_app-modules_data-sync_dataSync_routes_ts.js | app-modules-data-sync-dataSync-routes | 66.84 kB | +Common-UI_v2_feedback_feedback_module_ts.js | Common-UI-v2-feedback-feedback-module | 53.15 kB | +default-src_app_app-modules_core_components_beneficiary-worklist_beneficiary-worklist_compone-8d04d2.js | app-modules-nurse-doctor-nurse-doctor-routes | 50.88 kB | +default-Common-UI_v2_ui_tabs_index_ts.js | app-modules-nurse-doctor-nurse-doctor-routes | 40.77 kB | +default-Common-UI_v2_ui_pagination_index_ts.js | Common-UI-v2-registrar-registration-module | 35.79 kB | +default-Common-UI_v2_ui_checkbox_index_ts-Common-UI_v2_ui_sheet_index_ts.js | Common-UI-v2-registrar-registration-module | 33.38 kB | +default-src_app_app-modules_core_components_data-sync-login_data-sync-login_component_ts.js | app-modules-nurse-doctor-nurse-doctor-routes | 28.89 kB | +src_app_app-modules_pharmacist_pharmacist_routes_ts.js | app-modules-pharmacist-pharmacist-routes | 23.41 kB | + +Build at: 2026-08-16T16:36:29.239Z - Hash: edb8157c4315dd34 - Time: 37683ms + +Warning: Common-UI/v2/registrar/abha-components/generate-abha-component/generate-abha-component.component.ts:46:5 - warning NG8113: NgIf is not used within the template of GenerateAbhaComponentComponent + +46 NgIf, +   ~~~~ + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:57:20 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +57 +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:66:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +66 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:87:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +87 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:96:22 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +96 +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:99:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +99 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:109:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +109 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:135:20 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +135 +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:144:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +144 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:154:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +154 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:178:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +178 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:187:22 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +187 +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:190:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. + +190 *ngTemplateOutlet=" +   ~~~~~~~~~~~~~~~~ + + Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 + 46 templateUrl: './beneficiary-details.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component BeneficiaryDetailsComponent. + + +Warning: src/app/app-modules/nurse-doctor/examination/cancer-examination/gynecological-examination/gynecological-examination.component.html:189:37 - warning NG8107: The left side of this optional chain operation does not include 'null' or 'undefined' in its type, therefore the '?.' operator can be replaced with the '.' operator. + +189 [disabled]="!viewFiles?.length" +   ~~~~~~ + + src/app/app-modules/nurse-doctor/examination/cancer-examination/gynecological-examination/gynecological-examination.component.ts:61:16 + 61 templateUrl: './gynecological-examination.component.html', +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Warning occurs in the template of component GynecologicalExaminationComponent. + + +Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts depends on 'file-saver'. CommonJS or AMD dependencies can cause optimization bailouts. +For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies + +Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts depends on 'html2canvas'. CommonJS or AMD dependencies can cause optimization bailouts. +For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies + +Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/nurse-doctor/reports/reports.component.ts depends on 'exceljs'. CommonJS or AMD dependencies can cause optimization bailouts. +For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies + +Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/nurse-doctor/shared/services/audio-recording.service.ts depends on 'moment'. CommonJS or AMD dependencies can cause optimization bailouts. +For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies + +Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/nurse-doctor/shared/services/audio-recording.service.ts depends on 'recordrtc'. CommonJS or AMD dependencies can cause optimization bailouts. +For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies + +Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/set-password/set-password.component.ts depends on 'crypto-js'. CommonJS or AMD dependencies can cause optimization bailouts. +For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies + + diff --git a/Common-UI b/Common-UI index 209356cf..96503ea0 160000 --- a/Common-UI +++ b/Common-UI @@ -1 +1 @@ -Subproject commit 209356cf324fb19ca5705e62c58931062468147f +Subproject commit 96503ea0089896bf6908c4302ba0c67252230958 diff --git a/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts b/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts index dba49e17..b0965aa2 100644 --- a/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts +++ b/src/app/app-modules/nurse-doctor/refer/cancer-refer/cancer-refer.component.ts @@ -107,7 +107,6 @@ export class CancerReferComponent implements OnInit, DoCheck, OnDestroy { this.masterdataService.doctorMasterData$.subscribe(masterData => { if (masterData) { this.higherHealthcareCenter = masterData.higherHealthCare; - // [19] Only 104 and 1097 are offered as additional referral services. this.additionalServices = ( masterData.additionalServices || [] ).filter((s: any) => diff --git a/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts b/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts index 1e551f86..7afa0bf8 100644 --- a/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts +++ b/src/app/app-modules/nurse-doctor/refer/general-refer/general-refer.component.ts @@ -187,7 +187,6 @@ export class GeneralReferComponent implements OnInit, DoCheck, OnDestroy { this.instituteFlag = true; sessionStorage.setItem('instFlag', 'true'); } - // [19] Only 104 and 1097 are offered as additional referral services. this.additionalServices = ( masterData.additionalServices || [] ).filter((s: any) => From 41ba243ccad4c5e816061b46666fd3d09414a564 Mon Sep 17 00:00:00 2001 From: gkbishnoi07 Date: Wed, 19 Aug 2026 07:04:51 +0000 Subject: [PATCH 3/4] chore: remove accidentally-committed build log (.bf9.log) --- .bf9.log | 204 ------------------------------------------------------- 1 file changed, 204 deletions(-) delete mode 100644 .bf9.log diff --git a/.bf9.log b/.bf9.log deleted file mode 100644 index 8ac548d0..00000000 --- a/.bf9.log +++ /dev/null @@ -1,204 +0,0 @@ -- Generating browser application bundles (phase: setup)... - TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. For more information, see https://angular.dev/tools/cli/build#configuring-browser-compatibility - NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning. -✔ Browser application bundle generation complete. -✔ Browser application bundle generation complete. -- Copying assets... -✔ Copying assets complete. -- Generating index html... -✔ Index html generation complete. - -Initial chunk files | Names | Raw size -vendor.js | vendor | 7.36 MB | -main.js | main | 813.87 kB | -styles.css | styles | 176.35 kB | -polyfills.js | polyfills | 116.12 kB | -runtime.js | runtime | 13.34 kB | - - | Initial total | 8.48 MB - -Lazy chunk files | Names | Raw size -src_app_app-modules_nurse-doctor_nurse-doctor_routes_ts.js | app-modules-nurse-doctor-nurse-doctor-routes | 6.41 MB | -Common-UI_v2_registrar_registration_module_ts.js | Common-UI-v2-registrar-registration-module | 794.78 kB | -default-Common-UI_v2_ui_accordion_index_ts-src_app_app-modules_core_components_beneficiary-de-64931d.js | app-modules-nurse-doctor-nurse-doctor-routes | 331.87 kB | -src_app_app-modules_lab_lab_routes_ts.js | app-modules-lab-lab-routes | 152.28 kB | -default-Common-UI_v2_ui_date-picker_index_ts-Common-UI_v2_ui_stepper_index_ts.js | Common-UI-v2-registrar-registration-module | 129.79 kB | -src_app_app-modules_data-sync_dataSync_routes_ts.js | app-modules-data-sync-dataSync-routes | 66.84 kB | -Common-UI_v2_feedback_feedback_module_ts.js | Common-UI-v2-feedback-feedback-module | 53.15 kB | -default-src_app_app-modules_core_components_beneficiary-worklist_beneficiary-worklist_compone-8d04d2.js | app-modules-nurse-doctor-nurse-doctor-routes | 50.88 kB | -default-Common-UI_v2_ui_tabs_index_ts.js | app-modules-nurse-doctor-nurse-doctor-routes | 40.77 kB | -default-Common-UI_v2_ui_pagination_index_ts.js | Common-UI-v2-registrar-registration-module | 35.79 kB | -default-Common-UI_v2_ui_checkbox_index_ts-Common-UI_v2_ui_sheet_index_ts.js | Common-UI-v2-registrar-registration-module | 33.38 kB | -default-src_app_app-modules_core_components_data-sync-login_data-sync-login_component_ts.js | app-modules-nurse-doctor-nurse-doctor-routes | 28.89 kB | -src_app_app-modules_pharmacist_pharmacist_routes_ts.js | app-modules-pharmacist-pharmacist-routes | 23.41 kB | - -Build at: 2026-08-16T16:36:29.239Z - Hash: edb8157c4315dd34 - Time: 37683ms - -Warning: Common-UI/v2/registrar/abha-components/generate-abha-component/generate-abha-component.component.ts:46:5 - warning NG8113: NgIf is not used within the template of GenerateAbhaComponentComponent - -46 NgIf, -   ~~~~ - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:57:20 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -57 -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:66:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -66 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:87:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -87 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:96:22 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -96 -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:99:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -99 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:109:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -109 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:135:20 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -135 -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:144:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -144 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:154:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -154 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:178:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -178 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:187:22 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -187 -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.html:190:10 - warning NG8116: A structural directive `ngTemplateOutlet` was used in the template without a corresponding import in the component. Make sure that the directive is included in the `@Component.imports` array of this component. - -190 *ngTemplateOutlet=" -   ~~~~~~~~~~~~~~~~ - - Common-UI/v2/registrar/beneficiary-details/beneficiary-details.component.ts:46:18 - 46 templateUrl: './beneficiary-details.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component BeneficiaryDetailsComponent. - - -Warning: src/app/app-modules/nurse-doctor/examination/cancer-examination/gynecological-examination/gynecological-examination.component.html:189:37 - warning NG8107: The left side of this optional chain operation does not include 'null' or 'undefined' in its type, therefore the '?.' operator can be replaced with the '.' operator. - -189 [disabled]="!viewFiles?.length" -   ~~~~~~ - - src/app/app-modules/nurse-doctor/examination/cancer-examination/gynecological-examination/gynecological-examination.component.ts:61:16 - 61 templateUrl: './gynecological-examination.component.html', -    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Warning occurs in the template of component GynecologicalExaminationComponent. - - -Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts depends on 'file-saver'. CommonJS or AMD dependencies can cause optimization bailouts. -For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies - -Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts depends on 'html2canvas'. CommonJS or AMD dependencies can cause optimization bailouts. -For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies - -Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/nurse-doctor/reports/reports.component.ts depends on 'exceljs'. CommonJS or AMD dependencies can cause optimization bailouts. -For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies - -Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/nurse-doctor/shared/services/audio-recording.service.ts depends on 'moment'. CommonJS or AMD dependencies can cause optimization bailouts. -For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies - -Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/nurse-doctor/shared/services/audio-recording.service.ts depends on 'recordrtc'. CommonJS or AMD dependencies can cause optimization bailouts. -For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies - -Warning: /home/gk/AMRIT/MMU-UI/src/app/app-modules/set-password/set-password.component.ts depends on 'crypto-js'. CommonJS or AMD dependencies can cause optimization bailouts. -For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies - - From e8e13bbf7eaf55e610fdfe466834b2a7f056fa16 Mon Sep 17 00:00:00 2001 From: gkbishnoi07 Date: Wed, 19 Aug 2026 16:21:57 +0000 Subject: [PATCH 4/4] chore: bump Common-UI to include #82 (registration mandatory fields) --- Common-UI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common-UI b/Common-UI index 96503ea0..a5b78ec4 160000 --- a/Common-UI +++ b/Common-UI @@ -1 +1 @@ -Subproject commit 96503ea0089896bf6908c4302ba0c67252230958 +Subproject commit a5b78ec4b7ce8bfc369a88d23ccecce9c345e0e1