@@ -230,6 +230,10 @@ <h6><b>Properties</b></h6>
230230 < li >
231231 < a href ="#isMenuOpen " > isMenuOpen</ a >
232232 </ li >
233+ < li >
234+ < span class ="modifier "> Public</ span >
235+ < a href ="#nativeAppServiceService " > nativeAppServiceService</ a >
236+ </ li >
233237 < li >
234238 < a href ="#showAIButton " > showAIButton</ a >
235239 </ li >
@@ -287,12 +291,12 @@ <h3 id="constructor">Constructor</h3>
287291 < tbody >
288292 < tr >
289293 < td class ="col-md-4 ">
290- < code > constructor(sectionService: < a href ="../injectables/SectionService.html " target ="_self "> SectionService</ a > , userService: < a href ="../injectables/UserService.html " target ="_self "> UserService</ a > )</ code >
294+ < code > constructor(sectionService: < a href ="../injectables/SectionService.html " target ="_self "> SectionService</ a > , userService: < a href ="../injectables/UserService.html " target ="_self "> UserService</ a > , nativeAppServiceService: < a href =" ../injectables/NativeAppServiceService.html " target =" _self " > NativeAppServiceService </ a > )</ code >
291295 </ td >
292296 </ tr >
293297 < tr >
294298 < td class ="col-md-4 ">
295- < div class ="io-line "> Defined in < a href ="" data-line ="35 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:35 </ a > </ div >
299+ < div class ="io-line "> Defined in < a href ="" data-line ="36 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:36 </ a > </ div >
296300 </ td >
297301 </ tr >
298302
@@ -346,6 +350,22 @@ <h3 id="constructor">Constructor</h3>
346350
347351 </ td >
348352 </ tr >
353+ < tr >
354+ < td > nativeAppServiceService</ td >
355+
356+ < td >
357+ < code > < a href ="../injectables/NativeAppServiceService.html " target ="_self " > NativeAppServiceService</ a > </ code >
358+ </ td >
359+
360+ < td >
361+ No
362+ </ td >
363+
364+ < td >
365+ < p > Provides functionality related to the native mobile app environment.</ p >
366+
367+ </ td >
368+ </ tr >
349369 </ tbody >
350370 </ table >
351371 </ div >
@@ -384,8 +404,8 @@ <h3>HostListeners</h3> <table class="table table-sm table-bordered">
384404
385405 < tr >
386406 < td class ="col-md-4 ">
387- < div class ="io-line "> Defined in < a href ="" data-line ="67 "
388- class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:67 </ a > </ div >
407+ < div class ="io-line "> Defined in < a href ="" data-line ="69 "
408+ class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:69 </ a > </ div >
389409 </ td >
390410 </ tr >
391411
@@ -454,8 +474,8 @@ <h3 id="methods">
454474
455475 < tr >
456476 < td class ="col-md-4 ">
457- < div class ="io-line "> Defined in < a href ="" data-line ="81 "
458- class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:81 </ a > </ div >
477+ < div class ="io-line "> Defined in < a href ="" data-line ="83 "
478+ class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:83 </ a > </ div >
459479 </ td >
460480 </ tr >
461481
@@ -553,8 +573,8 @@ <h3 id="methods">
553573
554574 < tr >
555575 < td class ="col-md-4 ">
556- < div class ="io-line "> Defined in < a href ="" data-line ="67 "
557- class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:67 </ a > </ div >
576+ < div class ="io-line "> Defined in < a href ="" data-line ="69 "
577+ class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:69 </ a > </ div >
558578 </ td >
559579 </ tr >
560580
@@ -628,8 +648,8 @@ <h3 id="methods">
628648
629649 < tr >
630650 < td class ="col-md-4 ">
631- < div class ="io-line "> Defined in < a href ="" data-line ="56 "
632- class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:56 </ a > </ div >
651+ < div class ="io-line "> Defined in < a href ="" data-line ="58 "
652+ class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:58 </ a > </ div >
633653 </ td >
634654 </ tr >
635655
@@ -677,7 +697,7 @@ <h3 id="inputs">
677697 </ tr >
678698 < tr >
679699 < td class ="col-md-4 ">
680- < div class ="io-line "> Defined in < a href ="" data-line ="35 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:35 </ a > </ div >
700+ < div class ="io-line "> Defined in < a href ="" data-line ="36 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:36 </ a > </ div >
681701 </ td >
682702 </ tr >
683703
@@ -708,7 +728,7 @@ <h3 id="inputs">
708728 </ tr >
709729 < tr >
710730 < td class ="col-md-4 ">
711- < div class ="io-line "> Defined in < a href ="" data-line ="32 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:32 </ a > </ div >
731+ < div class ="io-line "> Defined in < a href ="" data-line ="33 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:33 </ a > </ div >
712732 </ td >
713733 </ tr >
714734
@@ -721,6 +741,38 @@ <h3 id="inputs">
721741
722742 </ tbody >
723743 </ table >
744+ < table class ="table table-sm table-bordered ">
745+ < tbody >
746+ < tr >
747+ < td class ="col-md-4 ">
748+ < a name ="nativeAppServiceService "> </ a >
749+ < span class ="name ">
750+ < span class ="modifier "> Public</ span >
751+ < span > < b > nativeAppServiceService</ b > </ span >
752+ < a href ="#nativeAppServiceService "> < span class ="icon ion-ios-link "> </ span > </ a >
753+ </ span >
754+ </ td >
755+ </ tr >
756+ < tr >
757+ < td class ="col-md-4 ">
758+ < i > Type : </ i > < code > < a href ="../injectables/NativeAppServiceService.html " target ="_self " > NativeAppServiceService</ a > </ code >
759+
760+ </ td >
761+ </ tr >
762+ < tr >
763+ < td class ="col-md-4 ">
764+ < div class ="io-line "> Defined in < a href ="" data-line ="48 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:48</ a > </ div >
765+ </ td >
766+ </ tr >
767+
768+ < tr >
769+ < td class ="col-md-4 ">
770+ < div class ="io-description "> Provides functionality related to the native mobile app environment.</ div >
771+ </ td >
772+ </ tr >
773+
774+ </ tbody >
775+ </ table >
724776 < table class ="table table-sm table-bordered ">
725777 < tbody >
726778 < tr >
@@ -739,7 +791,7 @@ <h3 id="inputs">
739791 </ tr >
740792 < tr >
741793 < td class ="col-md-4 ">
742- < div class ="io-line "> Defined in < a href ="" data-line ="27 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:27 </ a > </ div >
794+ < div class ="io-line "> Defined in < a href ="" data-line ="28 " class ="link-to-prism "> src/app/shared/hamburger-menu/hamburger-menu.component.ts:28 </ a > </ div >
743795 </ td >
744796 </ tr >
745797
@@ -763,6 +815,7 @@ <h3 id="inputs">
763815import { CommonModule } from '@angular/common';
764816import { SectionService } from '../../service/section/section.service';
765817import { UserService } from '../../service/localStorage/user.service';
818+ import { NativeAppServiceService } from '../../service/native-app/native-app-service.service';
766819
767820/**
768821 * Hamburger menu component for mobile or compact navigation.
@@ -803,8 +856,9 @@ <h3 id="inputs">
803856 *
804857 * @param sectionService Service for managing and broadcasting the active section.
805858 * @param userService Service for managing user preferences
859+ * @param nativeAppServiceService Provides functionality related to the native mobile app environment.
806860 */
807- constructor(private sectionService: SectionService, private userService: UserService) {
861+ constructor(private sectionService: SectionService, private userService: UserService, public nativeAppServiceService: NativeAppServiceService, ) {
808862 this.sectionService.currentSection$.subscribe(section => {
809863 this.showAIButton = section !== 'ai';
810864 });
@@ -871,7 +925,8 @@ <h3 id="inputs">
871925 </div>
872926</div> -->
873927
874- <div *ngIf="has_ai_access" class="md:hidden fixed top-[0.1rem] right-3 z-50 hamburger-menu-container">
928+ <div *ngIf="has_ai_access" class="md:hidden fixed right-3 z-50 hamburger-menu-container"
929+ [ngClass]="nativeAppServiceService.isNativeApp() ? 'top-[2rem]' : 'top-[0.1rem]'">
875930 <button *ngIf="showAIButton" (click)="navigateAndClose('ai', $event)"
876931 class="text-lg text-[var(--color-white)] py-[0.65rem]">
877932 <img src="assets/img/icon/icons8-ai-96.png" alt="Menu" class="w-[24px] h-[24px]"
@@ -912,7 +967,7 @@ <h3 id="inputs">
912967< script src ="../js/libs/htmlparser.js "> </ script >
913968< script src ="../js/libs/deep-iterator.js "> </ script >
914969< script >
915- var COMPONENT_TEMPLATE = '<div><!-- <div class="md:hidden fixed top-1 right-4 z-50 hamburger-menu-container"> <button (click)="toggleMenu()" class="text-lg text-[var(--color-white)] py-2"> <img src="assets/img/icon/icons8-menu-vertical-50.png" alt="Menu" class="w-[24px] h-[24px]" style="filter: invert(100%); transition: filter 0.3s ease;"> </button> <div *ngIf="isMenuOpen" class="fixed top-[3rem] right-[0.2rem] bg-[--color-surface] rounded-lg shadow-lg mt-2 w-[10rem]"> <ul class="flex flex-col"> <li> <a href="#" (click)="navigateAndClose(\'search\', $event)" class="block px-4 py-2 hover:bg-[--list-hover]">🔍 Search</a> </li> <li> <a href="#" (click)="navigateAndClose(\'settings\', $event)" class="block px-4 py-2 hover:bg-[--list-hover]">⚙️ Settings</a> </li> </ul> </div></div> --><div *ngIf="has_ai_access" class="md:hidden fixed top-[0.1rem] right-3 z-50 hamburger-menu-container"> <button *ngIf="showAIButton" (click)="navigateAndClose(\'ai\', $event)" class="text-lg text-[var(--color-white)] py-[0.65rem]"> <img src="assets/img/icon/icons8-ai-96.png" alt="Menu" class="w-[24px] h-[24px]" style="filter: invert(100%); transition: filter 0.3s ease;"> </button></div></div>'
970+ var COMPONENT_TEMPLATE = '<div><!-- <div class="md:hidden fixed top-1 right-4 z-50 hamburger-menu-container"> <button (click)="toggleMenu()" class="text-lg text-[var(--color-white)] py-2"> <img src="assets/img/icon/icons8-menu-vertical-50.png" alt="Menu" class="w-[24px] h-[24px]" style="filter: invert(100%); transition: filter 0.3s ease;"> </button> <div *ngIf="isMenuOpen" class="fixed top-[3rem] right-[0.2rem] bg-[--color-surface] rounded-lg shadow-lg mt-2 w-[10rem]"> <ul class="flex flex-col"> <li> <a href="#" (click)="navigateAndClose(\'search\', $event)" class="block px-4 py-2 hover:bg-[--list-hover]">🔍 Search</a> </li> <li> <a href="#" (click)="navigateAndClose(\'settings\', $event)" class="block px-4 py-2 hover:bg-[--list-hover]">⚙️ Settings</a> </li> </ul> </div></div> --><div *ngIf="has_ai_access" class="md:hidden fixed right-3 z-50 hamburger-menu-container" [ngClass]="nativeAppServiceService.isNativeApp() ? \'top-[2rem]\' : \'top-[0.1rem]\'"> <button *ngIf="showAIButton" (click)="navigateAndClose(\'ai\', $event)" class="text-lg text-[var(--color-white)] py-[0.65rem]"> <img src="assets/img/icon/icons8-ai-96.png" alt="Menu" class="w-[24px] h-[24px]" style="filter: invert(100%); transition: filter 0.3s ease;"> </button></div></div>'
916971 var COMPONENTS = [ { 'name' : 'AddExpenseComponent' , 'selector' : 'app-add-expense' } , { 'name' : 'AiComponent' , 'selector' : 'app-ai' } , { 'name' : 'AppComponent' , 'selector' : 'app-root' } , { 'name' : 'BudgetComponent' , 'selector' : 'app-budget' } , { 'name' : 'CalendarComponent' , 'selector' : 'app-calendar' } , { 'name' : 'CategoryDropdownComponent' , 'selector' : 'app-category-dropdown' } , { 'name' : 'DownloadComponentComponent' , 'selector' : 'app-download-component' } , { 'name' : 'ExpenseDetailsModalComponent' , 'selector' : 'app-expense-details-modal' } , { 'name' : 'ExpenseListComponent' , 'selector' : 'app-expense-list' } , { 'name' : 'ExpenseWiseComponent' , 'selector' : 'app-expense-wise' } , { 'name' : 'FooterComponent' , 'selector' : 'app-footer' } , { 'name' : 'FormModelComponent' , 'selector' : 'app-form-model' } , { 'name' : 'GlobalLoaderComponent' , 'selector' : 'app-global-loader' } , { 'name' : 'GraphsComponent' , 'selector' : 'app-graphs' } , { 'name' : 'HamburgerMenuComponent' , 'selector' : 'app-hamburger-menu' } , { 'name' : 'HomeComponent' , 'selector' : 'app-home' } , { 'name' : 'InstallAppPopupComponentComponent' , 'selector' : 'app-install-app-popup-component' } , { 'name' : 'ListExpensesComponent' , 'selector' : 'app-list-expenses' } , { 'name' : 'MusicComponent' , 'selector' : 'app-music' } , { 'name' : 'NavbarComponent' , 'selector' : 'app-navbar' } , { 'name' : 'PieChartComponent' , 'selector' : 'app-pie-chart' } , { 'name' : 'PlaylistMusicComponent' , 'selector' : 'app-playlist-music' } , { 'name' : 'SearchButtonComponent' , 'selector' : 'app-search-button' } , { 'name' : 'SearchMusicComponent' , 'selector' : 'app-search-music' } , { 'name' : 'SettingItemComponent' , 'selector' : 'app-setting-item' } , { 'name' : 'SettingsComponent' , 'selector' : 'app-settings' } , { 'name' : 'SidebarComponent' , 'selector' : 'app-sidebar' } , { 'name' : 'SplashScreenComponent' , 'selector' : 'app-splash-screen' } , { 'name' : 'TemplatePlaygroundComponent' , 'selector' : 'template-playground-root' } , { 'name' : 'ToastComponent' , 'selector' : 'app-toast' } ] ;
917972 var DIRECTIVES = [ ] ;
918973 var ACTUAL_COMPONENT = { 'name' : 'HamburgerMenuComponent' } ;
0 commit comments