Best JavaScript code snippet using argos
breadCrumbs.service.ts
Source:breadCrumbs.service.ts
1/**2 * Created by ZeroInfinity on 12/27/2016.3 */4import { Injectable } from '@angular/core';5import { MenuItem } from 'primeng/primeng';6import { IBreadCrumbsInfo } from "./IBreadCrumbsInfo";7@Injectable()8export class BreadCrumbsService {9 private breadCrumbs: IBreadCrumbsInfo[] = [];10 constructor() {11 // Initialize the whole bread crumbs for the whole site;12 // Home page13 this.homeBreadCrumbAdd();14 // Admin Home Page15 this.adminBreadCrumbAdd();16 // Admin FormBuilder17 this.adminFormBuilderPage();18 // Admin Form Builder Add19 this.adminFormBuilderAddFormPage()20 //Admin Form Builder Details21 this.adminFormBuilderDetailsFormPage();22 //Calendar Page23 this.calendarPage();24 //TestFacilities Page25 this.testFacilitiesPage();26 //Test Facilities Add Page27 this.testFacilitiesAddPage();28 //Test Facilities Details Page29 this.testFacilitiesDetailsPage();30 //Equipment Page31 this.equipmentPage();32 //Equipment Add33 this.equipmentAddPage();34 //Equipment Details35 this.equipmentDetailsPage();36 //EquipmentType Page37 this.equipmentTypePage();38 //EquipmentType Add39 this.equipmentTypeAddPage();40 //EquipmentType Details41 this.equipmentTypeDetailsPage();42 //TestTemplate Page43 this.testTemplatePage();44 //TestTemplate Add Page45 this.testTemplateAddPage();46 //TestTemplate Details47 this.testTemplateDetailsPage();48 //User Page49 this.userPage();50 //User Add Page51 this.userAddPage();52 //User Details Page53 this.userDetailsPage();54 //Project Page55 this.projectPage();56 //TestRequest Page57 this.testRequestPage();58 //TestRequest Add Page59 this.testRequestAddPage();60 //FunctionGroup Page61 this.functionGroupPage();62 //FunctionGroup Add Page63 this.functionGroupAddPage();64 //FunctionGroup Details Page65 this.functionGroupDetailsPage();66 //Tenant Page67 this.tenantPage();68 //Tenant Add Page69 this.tenantAddPage();70 //Tenant Details Page71 this.tenantDetailsPage();72 // Admin Vehicle Home Page73 this.adminVehicleHomePage();74 // Lookups Home Page75 this.lookupsBreadCrumbAdd();76 // Admin Shift Page77 this.adminShiftPage();78 // Admin Shift Add Page79 this.adminShiftAddPage();80 // Admin Shift Details Page81 this.adminShiftDetailsPage();82 //Admin Holiday Page83 this.adminHolidayPage();84 // Admin Holiday Add Page85 this.adminHolidayAddPage();86 // Admin Holiday Details Page87 this.adminHolidayDetailsPage();88 //Admin Step Page89 this.adminStepPage();90 // // Admin Step Add Page91 // this.adminStepAddPage();92 // // Admin Step Details Page93 // this.adminStepDetailsPage();94 //Admin Units Page95 this.adminUnitsPage();96 // Admin Units Add Page97 this.adminUnitsAddPage();98 // Admin Units Details Page99 this.adminUnitsDetailsPage();100 //Admin BuildLevels Page101 this.adminBuildLevelsPage();102 // Admin BuildLevels Add Page103 this.adminBuildLevelsAddPage();104 // Admin BuildLevels Details Page105 this.adminBuildLevelsDetailsPage();106 //Admin Market Page107 this.adminMarketPage();108 // Admin Market Add Page109 this.adminMarketAddPage();110 // Admin Market Details Page111 this.adminMarketDetailsPage();112 //Admin Platform Page113 this.adminPlatformPage();114 // Admin Platform Add Page115 this.adminPlatformAddPage();116 // Admin Platform Details Page117 this.adminPlatformDetailsPage();118 //Admin TitanRole Page119 this.adminTitanRolePage();120 // Admin TitanRole Add Page121 this.adminTitanRoleAddPage();122 // Admin TitanRole Details Page123 this.adminTitanRoleDetailsPage();124 //Admin MilestoneStatus Page125 this.adminMilestoneStatusPage();126 // Admin MilestoneStatus Add Page127 this.adminMilestoneStatusAddPage();128 // Admin MilestoneStatus Details Page129 this.adminMilestoneStatusDetailsPage();130 //Admin ProjectStatus Page131 this.adminProjectStatusPage();132 // Admin ProjectStatus Add Page133 this.adminProjectStatusAddPage();134 // Admin ProjectStatus Details Page135 this.adminProjectStatusDetailsPage();136 //Admin ProjectRole Page137 this.adminProjectRolePage();138 // Admin ProjectRole Add Page139 this.adminProjectRoleAddPage();140 // Admin ProjectRole Details Page141 this.adminProjectRoleDetailsPage();142 //Admin Milestone Page143 this.adminMilestonePage();144 // Admin Milestone Add Page145 this.adminMilestoneAddPage();146 // Admin Milestone Details Page147 this.adminMilestoneDetailsPage();148 //Admin MilestoneCategory Page149 this.adminMilestoneCategoryPage();150 // Admin MilestoneCategory Add Page151 this.adminMilestoneCategoryAddPage();152 // Admin MilestoneCategory Details Page153 this.adminMilestoneCategoryDetailsPage();154 //Admin MilestoneType Page155 this.adminMilestoneTypePage();156 // Admin MilestoneType Add Page157 this.adminMilestoneTypeAddPage();158 // Admin MilestoneType Details Page159 this.adminMilestoneTypeDetailsPage();160 //Admin Grade Page161 this.adminGradePage();162 // Admin Grade Add Page163 this.adminGradeAddPage();164 // Admin Grade Details Page165 this.adminGradeDetailsPage();166 //Admin ModelName Page167 this.adminModelNamePage();168 // Admin ModelName Add Page169 this.adminModelNameAddPage();170 // Admin ModelName Details Page171 this.adminModelNameDetailsPage();172 //Admin ModelYear Page173 this.adminModelYearPage();174 // Admin ModelYear Add Page175 this.adminModelYearAddPage();176 // Admin ModelYear Details Page177 this.adminModelYearDetailsPage();178 //Admin Access Page179 this.adminAccessPage();180 // Admin Access Add Page181 this.adminAccessAddPage();182 // Admin Access Details Page183 this.adminAccessDetailsPage();184 //Admin AccessGroup Page185 this.adminAccessGroupPage();186 // Admin AccessGroup Add Page187 this.adminAccessGroupAddPage();188 // Admin AccessGroup Details Page189 this.adminAccessGroupDetailsPage();190 //Admin Permission Page191 this.adminPermissionPage();192 // Admin Permission Add Page193 this.adminPermissionAddPage();194 // Admin Permission Details Page195 this.adminPermissionDetailsPage();196 //Admin Role Page197 this.adminRolePage();198 // Admin Role Add Page199 this.adminRoleAddPage();200 // Admin Role Details Page201 this.adminRoleDetailsPage();202 //Admin MaintenanceFrequency Page203 this.adminMaintenanceFrequencyPage();204 // // Admin MaintenanceFrequency Add Page205 // this.adminMaintenanceFrequencyAddPage();206 // // Admin MaintenanceFrequency Details Page207 // this.adminMaintenanceFrequencyDetailsPage();208 //Admin OperatingHours Page209 this.adminOperatingHoursPage();210 // // Admin OperatingHours Add Page211 // this.adminOperatingHoursAddPage();212 // // Admin OperatingHours Details Page213 // this.adminOperatingHoursDetailsPage();214 //Admin TestStatus Page215 this.adminTestStatusPage();216 // Admin TestStatus Add Page217 this.adminTestStatusAddPage();218 // Admin TestStatus Details Page219 this.adminTestStatusDetailsPage();220 //Admin TestRole Page221 this.adminTestRolePage();222 // Admin TestRole Add Page223 this.adminTestRoleAddPage();224 // Admin TestRole Details Page225 this.adminTestRoleDetailsPage();226 //Admin DownTimeReason Page227 this.adminDownTimeReasonPage();228 // Admin DownTimeReason Add Page229 this.adminDownTimeReasonAddPage();230 // Admin DownTimeReason Details Page231 this.adminDownTimeReasonDetailsPage();232 //Admin TestActivity Page233 this.adminTestActivityPage();234 // Admin TestActivity Add Page235 this.adminTestActivityAddPage();236 // Admin TestActivity Details Page237 this.adminTestActivityDetailsPage();238 //Admin Priority Page239 this.adminPriorityPage();240 // Admin Priority Add Page241 this.adminPriorityAddPage();242 // Admin Priority Details Page243 this.adminPriorityDetailsPage();244 //Admin Judgement Page245 this.adminJudgementPage();246 // Admin Judgement Add Page247 this.adminJudgementAddPage();248 // Admin Judgement Details Page249 this.adminJudgementDetailsPage();250 //Admin TestStage Page251 this.adminTestStagePage();252 // Admin TestStage Add Page253 this.adminTestStageAddPage();254 // Admin TestStage Details Page255 this.adminTestStageDetailsPage();256 //Admin RequirementItemType Page257 this.adminRequirementItemTypePage();258 // Admin RequirementItemType Add Page259 this.adminRequirementItemTypeAddPage();260 // Admin RequirementItemType Details Page261 this.adminRequirementItemTypeDetailsPage();262 //Admin SensorType Page263 this.adminSensorTypePage();264 // Admin SensorType Add Page265 this.adminSensorTypeAddPage();266 // Admin SensorType Details Page267 this.adminSensorTypeDetailsPage();268 //Admin StepFrequency Page269 this.adminStepFrequencyPage();270 // Admin StepFrequency Add Page271 this.adminStepFrequencyAddPage();272 // Admin StepFrequency Details Page273 this.adminStepFrequencyDetailsPage();274 //Admin TestMode Page275 this.adminTestModePage();276 // Admin TestMode Add Page277 this.adminTestModeAddPage();278 // Admin TestMode Details Page279 this.adminTestModeDetailsPage();280 //Admin StepType Page281 this.adminStepTypePage();282 // Admin StepType Add Page283 this.adminStepTypeAddPage();284 // Admin StepType Details Page285 this.adminStepTypeDetailsPage();286 //Admin TestType Page287 this.adminTestTypePage();288 // Admin TestType Add Page289 this.adminTestTypeAddPage();290 // Admin TestType Details Page291 this.adminTestTypeDetailsPage();292 //Admin TestRequirement Page293 this.adminTestRequirementPage();294 // Admin TestRequirement Add Page295 this.adminTestRequirementAddPage();296 // Admin TestRequirement Details Page297 this.adminTestRequirementDetailsPage();298 //Admin TestVerificationMethod Page299 this.adminTestVerificationMethodPage();300 // Admin TestVerificationMethod Add Page301 this.adminTestVerificationMethodAddPage();302 // Admin TestVerificationMethod Details Page303 this.adminTestVerificationMethodDetailsPage();304 //Admin VehicleType Page305 this.adminVehicleTypePage();306 // Admin VehicleType Add Page307 this.adminVehicleTypeAddPage();308 // Admin VehicleType Details Page309 this.adminVehicleTypeDetailsPage();310 //Admin EngineCode Page311 this.adminEngineCodePage();312 // Admin EngineCode Add Page313 this.adminEngineCodeAddPage();314 // Admin EngineCode Details Page315 this.adminEngineCodeDetailsPage();316 }317 // Home Page Bread Crumbs318 private homeBreadCrumbAdd() {319 let menuItems = [];320 menuItems.push(this.homeBreadCrumbItem());321 let homePage = { pageName: 'Home', items: menuItems };322 this.addToBreadCrumbs(homePage);323 }324 private homeBreadCrumbItem() {325 let menuItem = { label: 'Home', routerLink: ['/'] }326 return menuItem;327 }328 // Admin Bread Crumbs Section329 //Admin Home Page Bread Crumbs330 private adminBreadCrumbAdd() {331 let menuItems = [];332 menuItems.push(this.homeBreadCrumbItem());333 // menuItems.push(this.adminHomePageBCItems());334 let adminHomePage = { pageName: 'Admin', items: menuItems };335 this.addToBreadCrumbs(adminHomePage);336 }337 private adminHomePageBCItems() {338 let menuItem = { label: 'Admin', routerLink: ['/admin'] };339 return menuItem;340 }341 // Admin Form Builder Home Page342 private adminFormBuilderPage() {343 let menuItems = [];344 menuItems.push(this.homeBreadCrumbItem());345 menuItems.push(this.adminHomePageBCItems());346 menuItems.push(this.adminFormBuilderPageBCItems());347 let bcInfoItems: IBreadCrumbsInfo;348 bcInfoItems = { pageName: 'FormBuilderHomePage', items: menuItems };349 this.addToBreadCrumbs(bcInfoItems);350 }351 private adminFormBuilderPageBCItems() {352 let menuItem = { label: 'Form Builder', routerLink: 'app/body/Admin/formBuilders' };353 return menuItem;354 }355 // Admin Form Builder Add Bread Crumbs356 private adminFormBuilderAddFormPage() {357 let menuItems = [];358 menuItems.push(this.homeBreadCrumbItem());359 menuItems.push(this.adminHomePageBCItems());360 menuItems.push(this.adminFormBuilderPageBCItems());361 menuItems.push(this.adminFormBuilderAddFormPageBCItems());362 let bcInfoItems = [];363 bcInfoItems.push({ pageName: 'FormBuilderAddForm', items: this.adminFormBuilderAddFormPageBCItems() });364 this.addToBreadCrumbs(bcInfoItems);365 }366 private adminFormBuilderAddFormPageBCItems() {367 let menuItem = { label: 'Add Form', routerLink: 'app/body/Admin/FormBuilder/add/' };368 return menuItem;369 }370 // Admin Form Builder Details Page Bread Crumbs371 private adminFormBuilderDetailsFormPage() {372 let menuItems = [];373 menuItems.push(this.homeBreadCrumbItem());374 menuItems.push(this.adminFormBuilderPageBCItems());375 menuItems.push(this.adminFormBuilderDetailsFormPageBCItems());376 let bcInfoItems = [];377 bcInfoItems.push({ pageName: 'FormBuilderDetailsForm', items: menuItems });378 this.addToBreadCrumbs(bcInfoItems);379 }380 private adminFormBuilderDetailsFormPageBCItems() {381 let menuItem = { label: 'Details Form', routerLink: 'app/body/Admin/FormBuilder/details/' };382 return menuItem;383 }384 // Lookups Home Page Bread Crumbs385 private lookupsBreadCrumbAdd() {386 let menuItems = [];387 menuItems.push(this.homeBreadCrumbItem());388 menuItems.push(this.adminHomePageBCItems());389 let bcInfoItems: IBreadCrumbsInfo;390 bcInfoItems = { pageName: 'Lookups', items: menuItems };391 this.addToBreadCrumbs(bcInfoItems);392 }393 private lookupsHomePageBCItems() {394 let menuItem = { label: 'Lookups', routerLink: ['/lookup'] };395 return menuItem;396 }397 // Calendar Page Bread Crumbs398 private calendarPage() {399 let menuItems = [];400 menuItems.push(this.homeBreadCrumbItem());401 let bcInfoItems: IBreadCrumbsInfo;402 bcInfoItems = { pageName: 'CalendarHomePage', items: menuItems };403 this.addToBreadCrumbs(bcInfoItems);404 }405 private calendarPageBCItems() {406 let menuItem = { label: 'Calendar', routerLink: ['/calendar'] };407 return menuItem;408 }409 // TestFacilities Page Bread Crumbs410 private testFacilitiesPage() {411 let menuItems = [];412 menuItems.push(this.homeBreadCrumbItem());413 let bcInfoItems: IBreadCrumbsInfo;414 bcInfoItems = { pageName: 'TestFacilitiesHomePage', items: menuItems };415 this.addToBreadCrumbs(bcInfoItems);416 }417 private testFacilitiesPageBCItems() {418 let menuItem = { label: 'Test Facilities', routerLink: ['/testFacilities'] };419 return menuItem;420 }421 private testFacilitiesAddPage() {422 let menuItems = [];423 menuItems.push(this.homeBreadCrumbItem());424 menuItems.push(this.testFacilitiesPageBCItems());425 let bcInfoItems: IBreadCrumbsInfo;426 bcInfoItems = { pageName: 'TestFacilitiesAddPage', items: menuItems };427 this.addToBreadCrumbs(bcInfoItems);428 }429 private testFacilitiesAddPageBCItems() {430 let menuItem = { label: 'Test Facilities Add', routerLink: ['/testFacilities'] };431 return menuItem;432 }433 private testFacilitiesDetailsPage() {434 let menuItems = [];435 menuItems.push(this.homeBreadCrumbItem());436 menuItems.push(this.testFacilitiesPageBCItems());437 let bcInfoItems: IBreadCrumbsInfo;438 bcInfoItems = { pageName: 'TestFacilitiesDetailsPage', items: menuItems };439 this.addToBreadCrumbs(bcInfoItems);440 }441 private testFacilitiesDetailsPageBCItems() {442 let menuItem = { label: 'Test Facilities Details', routerLink: ['/testFacilities'] };443 return menuItem;444 }445 // EquipmentType Page Bread Crumbs446 private equipmentTypePage() {447 let menuItems = [];448 menuItems.push(this.homeBreadCrumbItem());449 let bcInfoItems: IBreadCrumbsInfo;450 bcInfoItems = { pageName: 'EquipmentTypeHomePage', items: menuItems };451 this.addToBreadCrumbs(bcInfoItems);452 }453 private equipmentTypePageBCItems() {454 let menuItem = { label: 'Equipment Type', routerLink: ['/equipmenttype'] };455 return menuItem;456 }457 private equipmentTypeAddPage() {458 let menuItems = [];459 menuItems.push(this.homeBreadCrumbItem());460 menuItems.push(this.equipmentTypePageBCItems());461 let bcInfoItems: IBreadCrumbsInfo;462 bcInfoItems = { pageName: 'EquipmentTypeAddPage', items: menuItems };463 this.addToBreadCrumbs(bcInfoItems);464 }465 private equipmentTypeAddPageBCItems() {466 let menuItem = { label: 'EquipmentType Add', routerLink: ['/equipmenttype'] };467 return menuItem;468 }469 private equipmentTypeDetailsPage() {470 let menuItems = [];471 menuItems.push(this.homeBreadCrumbItem());472 menuItems.push(this.equipmentTypePageBCItems());473 let bcInfoItems: IBreadCrumbsInfo;474 bcInfoItems = { pageName: 'EquipmentTypeDetailsPage', items: menuItems };475 this.addToBreadCrumbs(bcInfoItems);476 }477 private equipmentTypeDetailsPageBCItems() {478 let menuItem = { label: 'EquipmentType Details', routerLink: ['/equipmenttype'] };479 return menuItem;480 }481 // Equipment Page Bread Crumbs482 private equipmentPage() {483 let menuItems = [];484 menuItems.push(this.homeBreadCrumbItem());485 let bcInfoItems: IBreadCrumbsInfo;486 bcInfoItems = { pageName: 'EquipmentHomePage', items: menuItems };487 this.addToBreadCrumbs(bcInfoItems);488 }489 private equipmentPageBCItems() {490 let menuItem = { label: 'Equipment', routerLink: ['/equipment'] };491 return menuItem;492 }493 private equipmentAddPage() {494 let menuItems = [];495 menuItems.push(this.homeBreadCrumbItem());496 menuItems.push(this.equipmentPageBCItems());497 let bcInfoItems: IBreadCrumbsInfo;498 bcInfoItems = { pageName: 'EquipmentAddPage', items: menuItems };499 this.addToBreadCrumbs(bcInfoItems);500 }501 private equipmentAddPageBCItems() {502 let menuItem = { label: 'Equipment Add', routerLink: ['/equipment'] };503 return menuItem;504 }505 private equipmentDetailsPage() {506 let menuItems = [];507 menuItems.push(this.homeBreadCrumbItem());508 menuItems.push(this.equipmentPageBCItems());509 let bcInfoItems: IBreadCrumbsInfo;510 bcInfoItems = { pageName: 'EquipmentDetailsPage', items: menuItems };511 this.addToBreadCrumbs(bcInfoItems);512 }513 private equipmentDetailsPageBCItems() {514 let menuItem = { label: 'Equipment Details', routerLink: ['/equipment'] };515 return menuItem;516 }517 // TestTemplate Page Bread Crumbs518 private testTemplatePage() {519 let menuItems = [];520 menuItems.push(this.homeBreadCrumbItem());521 menuItems.push(this.adminHomePageBCItems());522 let bcInfoItems: IBreadCrumbsInfo;523 bcInfoItems = { pageName: 'TestTemplateHomePage', items: menuItems };524 this.addToBreadCrumbs(bcInfoItems);525 }526 private testTemplatePageBCItems() {527 let menuItem = { label: 'TestTemplate', routerLink: ['/testTemplate'] };528 return menuItem;529 }530 private testTemplateAddPage() {531 let menuItems = [];532 menuItems.push(this.homeBreadCrumbItem());533 menuItems.push(this.adminHomePageBCItems());534 menuItems.push(this.testTemplatePageBCItems());535 let bcInfoItems: IBreadCrumbsInfo;536 bcInfoItems = { pageName: 'TestTemplateAddPage', items: menuItems };537 this.addToBreadCrumbs(bcInfoItems);538 }539 private testTemplateAddPageBCItems() {540 let menuItem = { label: 'TestTemplate Add', routerLink: ['/testTemplate'] };541 return menuItem;542 }543 private testTemplateDetailsPage() {544 let menuItems = [];545 menuItems.push(this.homeBreadCrumbItem());546 menuItems.push(this.adminHomePageBCItems());547 menuItems.push(this.testTemplatePageBCItems());548 let bcInfoItems: IBreadCrumbsInfo;549 bcInfoItems = { pageName: 'TestTemplateDetailsPage', items: menuItems };550 this.addToBreadCrumbs(bcInfoItems);551 }552 private testTemplateDetailsPageBCItems() {553 let menuItem = { label: 'TestTemplate Details', routerLink: ['/testTemplate'] };554 return menuItem;555 }556 // User Page Bread Crumbs557 private userPage() {558 let menuItems = [];559 menuItems.push(this.homeBreadCrumbItem());560 menuItems.push(this.adminHomePageBCItems());561 let bcInfoItems: IBreadCrumbsInfo;562 bcInfoItems = { pageName: 'UserHomePage', items: menuItems };563 this.addToBreadCrumbs(bcInfoItems);564 }565 private userPageBCItems() {566 let menuItem = { label: 'Users', routerLink: ['/user'] };567 return menuItem;568 }569 private userAddPage() {570 let menuItems = [];571 menuItems.push(this.homeBreadCrumbItem());572 menuItems.push(this.adminHomePageBCItems());573 menuItems.push(this.userPageBCItems());574 let bcInfoItems: IBreadCrumbsInfo;575 bcInfoItems = { pageName: 'UserAddPage', items: menuItems };576 this.addToBreadCrumbs(bcInfoItems);577 }578 private userAddPageBCItems() {579 let menuItem = { label: 'User Add', routerLink: ['/user'] };580 return menuItem;581 }582 private userDetailsPage() {583 let menuItems = [];584 menuItems.push(this.homeBreadCrumbItem());585 menuItems.push(this.adminHomePageBCItems());586 menuItems.push(this.userPageBCItems());587 let bcInfoItems: IBreadCrumbsInfo;588 bcInfoItems = { pageName: 'UserDetailsPage', items: menuItems };589 this.addToBreadCrumbs(bcInfoItems);590 }591 private userDetailsPageBCItems() {592 let menuItem = { label: 'User Details', routerLink: ['/user'] };593 return menuItem;594 }595 // Project Page Bread Crumbs596 private projectPage() {597 let menuItems = [];598 menuItems.push(this.homeBreadCrumbItem());599 let bcInfoItems: IBreadCrumbsInfo;600 bcInfoItems = { pageName: 'ProjectHomePage', items: menuItems };601 this.addToBreadCrumbs(bcInfoItems);602 }603 private projectPageBCItems() {604 let menuItem = { label: 'Project', routerLink: ['/project'] };605 return menuItem;606 }607 // TestRequest Page Bread Crumbs608 private testRequestPage() {609 let menuItems = [];610 menuItems.push(this.homeBreadCrumbItem());611 612 let bcInfoItems: IBreadCrumbsInfo;613 bcInfoItems = { pageName: 'TestRequestHomePage', items: menuItems };614 this.addToBreadCrumbs(bcInfoItems);615 }616 private testRequestPageBCItems() {617 let menuItem = { label: 'Test Request', routerLink: ['/testRequest'] };618 return menuItem;619 }620 private testRequestAddPage() {621 let menuItems = [];622 menuItems.push(this.homeBreadCrumbItem());623 menuItems.push(this.testRequestPageBCItems());624 let bcInfoItems: IBreadCrumbsInfo;625 bcInfoItems = { pageName: 'TestRequestAddPage', items: menuItems };626 this.addToBreadCrumbs(bcInfoItems);627 }628 private testRequestAddPageBCItems() {629 let menuItem = { label: 'TestRequest Add', routerLink: ['/testRequest'] };630 return menuItem;631 }632 // FunctionGroup Page Bread Crumbs633 private functionGroupPage() {634 let menuItems = [];635 menuItems.push(this.homeBreadCrumbItem());636 menuItems.push(this.adminHomePageBCItems());637 let bcInfoItems: IBreadCrumbsInfo;638 bcInfoItems = { pageName: 'FunctionGroupHomePage', items: menuItems };639 this.addToBreadCrumbs(bcInfoItems);640 }641 private functionGroupPageBCItems() {642 let menuItem = { label: 'Function Group', routerLink: ['/functionGroup'] };643 return menuItem;644 }645 private functionGroupAddPage() {646 let menuItems = [];647 menuItems.push(this.homeBreadCrumbItem());648 menuItems.push(this.adminHomePageBCItems());649 menuItems.push(this.functionGroupPageBCItems());650 let bcInfoItems: IBreadCrumbsInfo;651 bcInfoItems = { pageName: 'FunctionGroupAddPage', items: menuItems };652 this.addToBreadCrumbs(bcInfoItems);653 }654 private functionGroupAddPageBCItems() {655 let menuItem = { label: 'FunctionGroup Add', routerLink: ['/functionGroup'] };656 return menuItem;657 }658 private functionGroupDetailsPage() {659 let menuItems = [];660 menuItems.push(this.homeBreadCrumbItem());661 menuItems.push(this.adminHomePageBCItems());662 menuItems.push(this.functionGroupPageBCItems());663 let bcInfoItems: IBreadCrumbsInfo;664 bcInfoItems = { pageName: 'FunctionGroupDetailsPage', items: menuItems };665 this.addToBreadCrumbs(bcInfoItems);666 }667 private functionGroupDetailsPageBCItems() {668 let menuItem = { label: 'FunctionGroup Details', routerLink: ['/functionGroup'] };669 return menuItem;670 }671 // Tenant Page Bread Crumbs672 private tenantPage() {673 let menuItems = [];674 menuItems.push(this.homeBreadCrumbItem());675 menuItems.push(this.adminHomePageBCItems());676 let bcInfoItems: IBreadCrumbsInfo;677 bcInfoItems = { pageName: 'TenantHomePage', items: menuItems };678 this.addToBreadCrumbs(bcInfoItems);679 }680 private tenantPageBCItems() {681 let menuItem = { label: 'Tenant', routerLink: ['/tenant'] };682 return menuItem;683 }684 private tenantAddPage() {685 let menuItems = [];686 menuItems.push(this.homeBreadCrumbItem());687 menuItems.push(this.adminHomePageBCItems());688 menuItems.push(this.tenantPageBCItems());689 let bcInfoItems: IBreadCrumbsInfo;690 bcInfoItems = { pageName: 'TenantAddPage', items: menuItems };691 this.addToBreadCrumbs(bcInfoItems);692 }693 private tenantAddPageBCItems() {694 let menuItem = { label: 'Tenant Add', routerLink: ['/tenant'] };695 return menuItem;696 }697 private tenantDetailsPage() {698 let menuItems = [];699 menuItems.push(this.homeBreadCrumbItem());700 menuItems.push(this.adminHomePageBCItems());701 menuItems.push(this.tenantPageBCItems());702 let bcInfoItems: IBreadCrumbsInfo;703 bcInfoItems = { pageName: 'TenantDetailsPage', items: menuItems };704 this.addToBreadCrumbs(bcInfoItems);705 }706 private tenantDetailsPageBCItems() {707 let menuItem = { label: 'Tenant Details', routerLink: ['/tenant'] };708 return menuItem;709 }710 // Admin Vehicle Home Page Bread Crumbs711 private adminVehicleHomePage() {712 let menuItems = [];713 menuItems.push(this.homeBreadCrumbItem());714 menuItems.push(this.adminHomePageBCItems());715 menuItems.push(this.adminVehicleHomePageBCItems());716 let bcInfoItems: IBreadCrumbsInfo;717 bcInfoItems = { pageName: 'adminVehicleHomePage', items: menuItems };718 this.addToBreadCrumbs(bcInfoItems);719 }720 private adminVehicleHomePageBCItems() {721 let menuItem = { label: 'Vehicle', routerLink: ['/admin'] };722 return menuItem;723 }724 // Admin Shift Bread Crumbs725 private adminShiftPage() {726 let menuItems = [];727 menuItems.push(this.homeBreadCrumbItem());728 menuItems.push(this.adminHomePageBCItems());729 menuItems.push(this.lookupsHomePageBCItems());730 let bcInfoItems: IBreadCrumbsInfo;731 bcInfoItems = { pageName: 'ShiftHomePage', items: menuItems };732 this.addToBreadCrumbs(bcInfoItems);733 }734 private adminShiftPageBCItems() {735 let menuItem = { label: 'Shift', routerLink: ['/admin/vehicle/shift'] };736 return menuItem;737 }738 private adminShiftAddPage() {739 let menuItems = [];740 menuItems.push(this.homeBreadCrumbItem());741 menuItems.push(this.adminHomePageBCItems());742 menuItems.push(this.lookupsHomePageBCItems());743 menuItems.push(this.adminShiftPageBCItems());744 let bcInfoItems: IBreadCrumbsInfo;745 bcInfoItems = { pageName: 'ShiftAddPage', items: menuItems };746 this.addToBreadCrumbs(bcInfoItems);747 }748 private adminShiftAddPageBCItems() {749 let menuItem = { label: 'Add Shift', routerLink: ['/admin/vehicle/shift'] };750 return menuItem;751 }752 private adminShiftDetailsPage() {753 let menuItems = [];754 menuItems.push(this.homeBreadCrumbItem());755 menuItems.push(this.adminHomePageBCItems());756 menuItems.push(this.lookupsHomePageBCItems());757 menuItems.push(this.adminShiftPageBCItems());758 759 let bcInfoItems: IBreadCrumbsInfo;760 bcInfoItems = { pageName: 'ShiftDetailsPage', items: menuItems };761 this.addToBreadCrumbs(bcInfoItems);762 }763 private adminShiftDetailsPageBCItems() {764 let menuItem = { label: 'Shift Details', routerLink: ['/admin/vehicle/shift'] };765 return menuItem;766 }767 // Admin Holiday Bread Crumbs768 private adminHolidayPage() {769 let menuItems = [];770 menuItems.push(this.homeBreadCrumbItem());771 menuItems.push(this.adminHomePageBCItems());772 menuItems.push(this.lookupsHomePageBCItems());773 let bcInfoItems: IBreadCrumbsInfo;774 bcInfoItems = { pageName: 'HolidayHomePage', items: menuItems };775 this.addToBreadCrumbs(bcInfoItems);776 }777 private adminHolidayPageBCItems() {778 let menuItem = { label: 'Holiday', routerLink: ['/admin/vehicle/holiday'] };779 return menuItem;780 }781 private adminHolidayAddPage() {782 let menuItems = [];783 menuItems.push(this.homeBreadCrumbItem());784 menuItems.push(this.adminHomePageBCItems());785 menuItems.push(this.lookupsHomePageBCItems());786 menuItems.push(this.adminHolidayPageBCItems());787 let bcInfoItems: IBreadCrumbsInfo;788 bcInfoItems = { pageName: 'HolidayAddPage', items: menuItems };789 this.addToBreadCrumbs(bcInfoItems);790 }791 private adminHolidayAddPageBCItems() {792 let menuItem = { label: 'Add Holiday', routerLink: ['/admin/vehicle/holiday'] };793 return menuItem;794 }795 private adminHolidayDetailsPage() {796 let menuItems = [];797 menuItems.push(this.homeBreadCrumbItem());798 menuItems.push(this.adminHomePageBCItems());799 menuItems.push(this.lookupsHomePageBCItems());800 menuItems.push(this.adminHolidayPageBCItems());801 let bcInfoItems: IBreadCrumbsInfo;802 bcInfoItems = { pageName: 'HolidayDetailsPage', items: menuItems };803 this.addToBreadCrumbs(bcInfoItems);804 }805 private adminHolidayDetailsPageBCItems() {806 let menuItem = { label: 'Holiday Details', routerLink: ['/admin/vehicle/holiday'] };807 return menuItem;808 }809 // Admin Step Bread Crumbs810 private adminStepPage() {811 let menuItems = [];812 menuItems.push(this.homeBreadCrumbItem());813 menuItems.push(this.adminHomePageBCItems());814 menuItems.push(this.lookupsHomePageBCItems());815 let bcInfoItems: IBreadCrumbsInfo;816 bcInfoItems = { pageName: 'StepHomePage', items: menuItems };817 this.addToBreadCrumbs(bcInfoItems);818 }819 private adminStepPageBCItems() {820 let menuItem = { label: 'Step', routerLink: ['/admin/vehicle/step'] };821 return menuItem;822 }823 // private adminStepAddPage() {824 // let menuItems = [];825 // menuItems.push(this.homeBreadCrumbItem());826 // menuItems.push(this.adminHomePageBCItems());827 // menuItems.push(this.adminVehicleHomePageBCItems());828 // menuItems.push(this.adminStepPageBCItems());829 // let bcInfoItems: IBreadCrumbsInfo;830 // bcInfoItems = { pageName: 'StepAddPage', items: menuItems };831 // this.addToBreadCrumbs(bcInfoItems);832 // }833 // private adminStepAddPageBCItems() {834 // let menuItem = { label: 'Add Step', routerLink: ['/admin/vehicle/step'] };835 // return menuItem;836 // }837 // private adminStepDetailsPage() {838 // let menuItems = [];839 // menuItems.push(this.homeBreadCrumbItem());840 // menuItems.push(this.adminHomePageBCItems());841 // menuItems.push(this.adminVehicleHomePageBCItems());842 // menuItems.push(this.adminStepPageBCItems());843 // let bcInfoItems: IBreadCrumbsInfo;844 // bcInfoItems = { pageName: 'StepDetailsPage', items: menuItems };845 // this.addToBreadCrumbs(bcInfoItems);846 // }847 // private adminStepDetailsPageBCItems() {848 // let menuItem = { label: 'Step Details', routerLink: ['/admin/vehicle/step'] };849 // return menuItem;850 // }851 // Admin Units Bread Crumbs852 private adminUnitsPage() {853 let menuItems = [];854 menuItems.push(this.homeBreadCrumbItem());855 menuItems.push(this.adminHomePageBCItems());856 menuItems.push(this.lookupsHomePageBCItems());857 let bcInfoItems: IBreadCrumbsInfo;858 bcInfoItems = { pageName: 'UnitsHomePage', items: menuItems };859 this.addToBreadCrumbs(bcInfoItems);860 }861 private adminUnitsPageBCItems() {862 let menuItem = { label: 'Units', routerLink: ['/admin/vehicle/units'] };863 return menuItem;864 }865 private adminUnitsAddPage() {866 let menuItems = [];867 menuItems.push(this.homeBreadCrumbItem());868 menuItems.push(this.adminHomePageBCItems());869 menuItems.push(this.lookupsHomePageBCItems());870 menuItems.push(this.adminUnitsPageBCItems());871 let bcInfoItems: IBreadCrumbsInfo;872 bcInfoItems = { pageName: 'UnitsAddPage', items: menuItems };873 this.addToBreadCrumbs(bcInfoItems);874 }875 private adminUnitsAddPageBCItems() {876 let menuItem = { label: 'Add Units', routerLink: ['/admin/vehicle/units'] };877 return menuItem;878 }879 private adminUnitsDetailsPage() {880 let menuItems = [];881 menuItems.push(this.homeBreadCrumbItem());882 menuItems.push(this.adminHomePageBCItems());883 menuItems.push(this.lookupsHomePageBCItems());884 menuItems.push(this.adminUnitsPageBCItems());885 let bcInfoItems: IBreadCrumbsInfo;886 bcInfoItems = { pageName: 'UnitsDetailsPage', items: menuItems };887 this.addToBreadCrumbs(bcInfoItems);888 }889 private adminUnitsDetailsPageBCItems() {890 let menuItem = { label: 'Units Details', routerLink: ['/admin/vehicle/units'] };891 return menuItem;892 }893 // Admin BuildLevels Bread Crumbs894 private adminBuildLevelsPage() {895 let menuItems = [];896 menuItems.push(this.homeBreadCrumbItem());897 menuItems.push(this.adminHomePageBCItems());898 menuItems.push(this.lookupsHomePageBCItems());899 let bcInfoItems: IBreadCrumbsInfo;900 bcInfoItems = { pageName: 'BuildLevelsHomePage', items: menuItems };901 this.addToBreadCrumbs(bcInfoItems);902 }903 private adminBuildLevelsPageBCItems() {904 let menuItem = { label: 'BuildLevels', routerLink: ['/admin/vehicle/buildLevel'] };905 return menuItem;906 }907 private adminBuildLevelsAddPage() {908 let menuItems = [];909 menuItems.push(this.homeBreadCrumbItem());910 menuItems.push(this.adminHomePageBCItems());911 menuItems.push(this.lookupsHomePageBCItems());912 menuItems.push(this.adminBuildLevelsPageBCItems());913 let bcInfoItems: IBreadCrumbsInfo;914 bcInfoItems = { pageName: 'BuildLevelsAddPage', items: menuItems };915 this.addToBreadCrumbs(bcInfoItems);916 }917 private adminBuildLevelsAddPageBCItems() {918 let menuItem = { label: 'Add BuildLevels', routerLink: ['/admin/vehicle/buildLevel'] };919 return menuItem;920 }921 private adminBuildLevelsDetailsPage() {922 let menuItems = [];923 menuItems.push(this.homeBreadCrumbItem());924 menuItems.push(this.adminHomePageBCItems());925 menuItems.push(this.lookupsHomePageBCItems());926 menuItems.push(this.adminBuildLevelsPageBCItems());927 let bcInfoItems: IBreadCrumbsInfo;928 bcInfoItems = { pageName: 'BuildLevelsDetailsPage', items: menuItems };929 this.addToBreadCrumbs(bcInfoItems);930 }931 private adminBuildLevelsDetailsPageBCItems() {932 let menuItem = { label: 'BuildLevels Details', routerLink: ['/admin/vehicle/buildLevel'] };933 return menuItem;934 }935 // Admin Market Bread Crumbs936 private adminMarketPage() {937 let menuItems = [];938 menuItems.push(this.homeBreadCrumbItem());939 menuItems.push(this.adminHomePageBCItems());940 menuItems.push(this.lookupsHomePageBCItems());941 let bcInfoItems: IBreadCrumbsInfo;942 bcInfoItems = { pageName: 'MarketHomePage', items: menuItems };943 this.addToBreadCrumbs(bcInfoItems);944 }945 private adminMarketPageBCItems() {946 let menuItem = { label: 'Market', routerLink: ['/admin/vehicle/market'] };947 return menuItem;948 }949 private adminMarketAddPage() {950 let menuItems = [];951 menuItems.push(this.homeBreadCrumbItem());952 menuItems.push(this.adminHomePageBCItems());953 menuItems.push(this.lookupsHomePageBCItems());954 menuItems.push(this.adminMarketPageBCItems());955 let bcInfoItems: IBreadCrumbsInfo;956 bcInfoItems = { pageName: 'MarketAddPage', items: menuItems };957 this.addToBreadCrumbs(bcInfoItems);958 }959 private adminMarketAddPageBCItems() {960 let menuItem = { label: 'Add Market', routerLink: ['/admin/vehicle/market'] };961 return menuItem;962 }963 private adminMarketDetailsPage() {964 let menuItems = [];965 menuItems.push(this.homeBreadCrumbItem());966 menuItems.push(this.adminHomePageBCItems());967 menuItems.push(this.lookupsHomePageBCItems());968 menuItems.push(this.adminMarketPageBCItems());969 let bcInfoItems: IBreadCrumbsInfo;970 bcInfoItems = { pageName: 'MarketDetailsPage', items: menuItems };971 this.addToBreadCrumbs(bcInfoItems);972 }973 private adminMarketDetailsPageBCItems() {974 let menuItem = { label: 'Market Details', routerLink: ['/admin/vehicle/market'] };975 return menuItem;976 }977 // Admin Platform Bread Crumbs978 private adminPlatformPage() {979 let menuItems = [];980 menuItems.push(this.homeBreadCrumbItem());981 menuItems.push(this.adminHomePageBCItems());982 menuItems.push(this.lookupsHomePageBCItems());983 let bcInfoItems: IBreadCrumbsInfo;984 bcInfoItems = { pageName: 'PlatformHomePage', items: menuItems };985 this.addToBreadCrumbs(bcInfoItems);986 }987 private adminPlatformPageBCItems() {988 let menuItem = { label: 'Platform', routerLink: ['/admin/vehicle/platform'] };989 return menuItem;990 }991 private adminPlatformAddPage() {992 let menuItems = [];993 menuItems.push(this.homeBreadCrumbItem());994 menuItems.push(this.adminHomePageBCItems());995 menuItems.push(this.lookupsHomePageBCItems());996 menuItems.push(this.adminPlatformPageBCItems());997 let bcInfoItems: IBreadCrumbsInfo;998 bcInfoItems = { pageName: 'PlatformAddPage', items: menuItems };999 this.addToBreadCrumbs(bcInfoItems);1000 }1001 private adminPlatformAddPageBCItems() {1002 let menuItem = { label: 'Add Platform', routerLink: ['/admin/vehicle/platform'] };1003 return menuItem;1004 }1005 private adminPlatformDetailsPage() {1006 let menuItems = [];1007 menuItems.push(this.homeBreadCrumbItem());1008 menuItems.push(this.adminHomePageBCItems());1009 menuItems.push(this.lookupsHomePageBCItems());1010 menuItems.push(this.adminPlatformPageBCItems());1011 let bcInfoItems: IBreadCrumbsInfo;1012 bcInfoItems = { pageName: 'PlatformDetailsPage', items: menuItems };1013 this.addToBreadCrumbs(bcInfoItems);1014 }1015 private adminPlatformDetailsPageBCItems() {1016 let menuItem = { label: 'Platform Details', routerLink: ['/admin/vehicle/platform'] };1017 return menuItem;1018 }1019 // Admin TitanRole Bread Crumbs1020 private adminTitanRolePage() {1021 let menuItems = [];1022 menuItems.push(this.homeBreadCrumbItem());1023 menuItems.push(this.adminHomePageBCItems());1024 menuItems.push(this.lookupsHomePageBCItems());1025 let bcInfoItems: IBreadCrumbsInfo;1026 bcInfoItems = { pageName: 'TitanRoleHomePage', items: menuItems };1027 this.addToBreadCrumbs(bcInfoItems);1028 }1029 private adminTitanRolePageBCItems() {1030 let menuItem = { label: 'Titan Role', routerLink: ['/admin/vehicle/titanRole'] };1031 return menuItem;1032 }1033 private adminTitanRoleAddPage() {1034 let menuItems = [];1035 menuItems.push(this.homeBreadCrumbItem());1036 menuItems.push(this.adminHomePageBCItems());1037 menuItems.push(this.lookupsHomePageBCItems());1038 menuItems.push(this.adminTitanRolePageBCItems());1039 let bcInfoItems: IBreadCrumbsInfo;1040 bcInfoItems = { pageName: 'TitanRoleAddPage', items: menuItems };1041 this.addToBreadCrumbs(bcInfoItems);1042 }1043 private adminTitanRoleAddPageBCItems() {1044 let menuItem = { label: 'Add TitanRole', routerLink: ['/admin/vehicle/titanRole'] };1045 return menuItem;1046 }1047 private adminTitanRoleDetailsPage() {1048 let menuItems = [];1049 menuItems.push(this.homeBreadCrumbItem());1050 menuItems.push(this.adminHomePageBCItems());1051 menuItems.push(this.lookupsHomePageBCItems());1052 menuItems.push(this.adminTitanRolePageBCItems());1053 let bcInfoItems: IBreadCrumbsInfo;1054 bcInfoItems = { pageName: 'TitanRoleDetailsPage', items: menuItems };1055 this.addToBreadCrumbs(bcInfoItems);1056 }1057 private adminTitanRoleDetailsPageBCItems() {1058 let menuItem = { label: 'TitanRole Details', routerLink: ['/admin/vehicle/titanRole'] };1059 return menuItem;1060 }1061 // Admin MilestoneStatus Bread Crumbs1062 private adminMilestoneStatusPage() {1063 let menuItems = [];1064 menuItems.push(this.homeBreadCrumbItem());1065 menuItems.push(this.adminHomePageBCItems());1066 menuItems.push(this.lookupsHomePageBCItems());1067 let bcInfoItems: IBreadCrumbsInfo;1068 bcInfoItems = { pageName: 'MilestoneStatusHomePage', items: menuItems };1069 this.addToBreadCrumbs(bcInfoItems);1070 }1071 private adminMilestoneStatusPageBCItems() {1072 let menuItem = { label: 'MilestoneStatus', routerLink: ['/admin/vehicle/milestoneStatus'] };1073 return menuItem;1074 }1075 private adminMilestoneStatusAddPage() {1076 let menuItems = [];1077 menuItems.push(this.homeBreadCrumbItem());1078 menuItems.push(this.adminHomePageBCItems());1079 menuItems.push(this.lookupsHomePageBCItems());1080 menuItems.push(this.adminMilestoneStatusPageBCItems());1081 let bcInfoItems: IBreadCrumbsInfo;1082 bcInfoItems = { pageName: 'MilestoneStatusAddPage', items: menuItems };1083 this.addToBreadCrumbs(bcInfoItems);1084 }1085 private adminMilestoneStatusAddPageBCItems() {1086 let menuItem = { label: 'Add MilestoneStatus', routerLink: ['/admin/vehicle/milestoneStatus'] };1087 return menuItem;1088 }1089 private adminMilestoneStatusDetailsPage() {1090 let menuItems = [];1091 menuItems.push(this.homeBreadCrumbItem());1092 menuItems.push(this.adminHomePageBCItems());1093 menuItems.push(this.lookupsHomePageBCItems());1094 menuItems.push(this.adminMilestoneStatusPageBCItems());1095 let bcInfoItems: IBreadCrumbsInfo;1096 bcInfoItems = { pageName: 'MilestoneStatusDetailsPage', items: menuItems };1097 this.addToBreadCrumbs(bcInfoItems);1098 }1099 private adminMilestoneStatusDetailsPageBCItems() {1100 let menuItem = { label: 'MilestoneStatus Details', routerLink: ['/admin/vehicle/milestoneStatus'] };1101 return menuItem;1102 }1103 // Admin ProjectStatus Bread Crumbs1104 private adminProjectStatusPage() {1105 let menuItems = [];1106 menuItems.push(this.homeBreadCrumbItem());1107 menuItems.push(this.adminHomePageBCItems());1108 menuItems.push(this.lookupsHomePageBCItems());1109 let bcInfoItems: IBreadCrumbsInfo;1110 bcInfoItems = { pageName: 'ProjectStatusHomePage', items: menuItems };1111 this.addToBreadCrumbs(bcInfoItems);1112 }1113 private adminProjectStatusPageBCItems() {1114 let menuItem = { label: 'Project Status', routerLink: ['/admin/vehicle/projectStatus'] };1115 return menuItem;1116 }1117 private adminProjectStatusAddPage() {1118 let menuItems = [];1119 menuItems.push(this.homeBreadCrumbItem());1120 menuItems.push(this.adminHomePageBCItems());1121 menuItems.push(this.lookupsHomePageBCItems());1122 menuItems.push(this.adminProjectStatusPageBCItems());1123 let bcInfoItems: IBreadCrumbsInfo;1124 bcInfoItems = { pageName: 'ProjectStatusAddPage', items: menuItems };1125 this.addToBreadCrumbs(bcInfoItems);1126 }1127 private adminProjectStatusAddPageBCItems() {1128 let menuItem = { label: 'Add ProjectStatus', routerLink: ['/admin/vehicle/projectStatus'] };1129 return menuItem;1130 }1131 private adminProjectStatusDetailsPage() {1132 let menuItems = [];1133 menuItems.push(this.homeBreadCrumbItem());1134 menuItems.push(this.adminHomePageBCItems());1135 menuItems.push(this.lookupsHomePageBCItems());1136 menuItems.push(this.adminProjectStatusPageBCItems());1137 let bcInfoItems: IBreadCrumbsInfo;1138 bcInfoItems = { pageName: 'ProjectStatusDetailsPage', items: menuItems };1139 this.addToBreadCrumbs(bcInfoItems);1140 }1141 private adminProjectStatusDetailsPageBCItems() {1142 let menuItem = { label: 'ProjectStatus Details', routerLink:['/admin/vehicle/projectStatus'] };1143 return menuItem;1144 }1145 // Admin ProjectRole Bread Crumbs1146 private adminProjectRolePage() {1147 let menuItems = [];1148 menuItems.push(this.homeBreadCrumbItem());1149 menuItems.push(this.adminHomePageBCItems());1150 menuItems.push(this.lookupsHomePageBCItems());1151 let bcInfoItems: IBreadCrumbsInfo;1152 bcInfoItems = { pageName: 'ProjectRoleHomePage', items: menuItems };1153 this.addToBreadCrumbs(bcInfoItems);1154 }1155 private adminProjectRolePageBCItems() {1156 let menuItem = { label: 'Project Role', routerLink: ['/admin/vehicle/projectRole'] };1157 return menuItem;1158 }1159 private adminProjectRoleAddPage() {1160 let menuItems = [];1161 menuItems.push(this.homeBreadCrumbItem());1162 menuItems.push(this.adminHomePageBCItems());1163 menuItems.push(this.lookupsHomePageBCItems());1164 menuItems.push(this.adminProjectRolePageBCItems());1165 let bcInfoItems: IBreadCrumbsInfo;1166 bcInfoItems = { pageName: 'ProjectRoleAddPage', items: menuItems };1167 this.addToBreadCrumbs(bcInfoItems);1168 }1169 private adminProjectRoleAddPageBCItems() {1170 let menuItem = { label: 'Add ProjectRole', routerLink: ['/admin/vehicle/projectRole'] };1171 return menuItem;1172 }1173 private adminProjectRoleDetailsPage() {1174 let menuItems = [];1175 menuItems.push(this.homeBreadCrumbItem());1176 menuItems.push(this.adminHomePageBCItems());1177 menuItems.push(this.lookupsHomePageBCItems());1178 menuItems.push(this.adminProjectRolePageBCItems());1179 let bcInfoItems: IBreadCrumbsInfo;1180 bcInfoItems = { pageName: 'ProjectRoleDetailsPage', items: menuItems };1181 this.addToBreadCrumbs(bcInfoItems);1182 }1183 private adminProjectRoleDetailsPageBCItems() {1184 let menuItem = { label: 'ProjectRole Details', routerLink:['/admin/vehicle/projectRole'] };1185 return menuItem;1186 }1187 // Admin Milestone Bread Crumbs1188 private adminMilestonePage() {1189 let menuItems = [];1190 menuItems.push(this.homeBreadCrumbItem());1191 menuItems.push(this.adminHomePageBCItems());1192 menuItems.push(this.lookupsHomePageBCItems());1193 let bcInfoItems: IBreadCrumbsInfo;1194 bcInfoItems = { pageName: 'MilestoneHomePage', items: menuItems };1195 this.addToBreadCrumbs(bcInfoItems);1196 }1197 private adminMilestonePageBCItems() {1198 let menuItem = { label: 'Milestone', routerLink: ['/admin/vehicle/milestone'] };1199 return menuItem;1200 }1201 private adminMilestoneAddPage() {1202 let menuItems = [];1203 menuItems.push(this.homeBreadCrumbItem());1204 menuItems.push(this.adminHomePageBCItems());1205 menuItems.push(this.lookupsHomePageBCItems());1206 menuItems.push(this.adminMilestonePageBCItems());1207 let bcInfoItems: IBreadCrumbsInfo;1208 bcInfoItems = { pageName: 'MilestoneAddPage', items: menuItems };1209 this.addToBreadCrumbs(bcInfoItems);1210 }1211 private adminMilestoneAddPageBCItems() {1212 let menuItem = { label: 'Add Milestone', routerLink: ['/admin/vehicle/milestone'] };1213 return menuItem;1214 }1215 private adminMilestoneDetailsPage() {1216 let menuItems = [];1217 menuItems.push(this.homeBreadCrumbItem());1218 menuItems.push(this.adminHomePageBCItems());1219 menuItems.push(this.lookupsHomePageBCItems());1220 menuItems.push(this.adminMilestonePageBCItems());1221 let bcInfoItems: IBreadCrumbsInfo;1222 bcInfoItems = { pageName: 'MilestoneDetailsPage', items: menuItems };1223 this.addToBreadCrumbs(bcInfoItems);1224 }1225 private adminMilestoneDetailsPageBCItems() {1226 let menuItem = { label: 'Milestone Details', routerLink: ['/admin/vehicle/milestone'] };1227 return menuItem;1228 }1229 // Admin MilestoneCategory Bread Crumbs1230 private adminMilestoneCategoryPage() {1231 let menuItems = [];1232 menuItems.push(this.homeBreadCrumbItem());1233 menuItems.push(this.adminHomePageBCItems());1234 menuItems.push(this.lookupsHomePageBCItems());1235 let bcInfoItems: IBreadCrumbsInfo;1236 bcInfoItems = { pageName: 'MilestoneCategoryHomePage', items: menuItems };1237 this.addToBreadCrumbs(bcInfoItems);1238 }1239 private adminMilestoneCategoryPageBCItems() {1240 let menuItem = { label: 'Milestone Category', routerLink: ['/admin/vehicle/milestoneCategory'] };1241 return menuItem;1242 }1243 private adminMilestoneCategoryAddPage() {1244 let menuItems = [];1245 menuItems.push(this.homeBreadCrumbItem());1246 menuItems.push(this.adminHomePageBCItems());1247 menuItems.push(this.lookupsHomePageBCItems());1248 menuItems.push(this.adminMilestoneCategoryPageBCItems());1249 let bcInfoItems: IBreadCrumbsInfo;1250 bcInfoItems = { pageName: 'MilestoneCategoryAddPage', items: menuItems };1251 this.addToBreadCrumbs(bcInfoItems);1252 }1253 private adminMilestoneCategoryAddPageBCItems() {1254 let menuItem = { label: 'Add MilestoneCategory', routerLink: ['/admin/vehicle/milestoneCategory'] };1255 return menuItem;1256 }1257 private adminMilestoneCategoryDetailsPage() {1258 let menuItems = [];1259 menuItems.push(this.homeBreadCrumbItem());1260 menuItems.push(this.adminHomePageBCItems());1261 menuItems.push(this.lookupsHomePageBCItems());1262 menuItems.push(this.adminMilestoneCategoryPageBCItems());1263 let bcInfoItems: IBreadCrumbsInfo;1264 bcInfoItems = { pageName: 'MilestoneCategoryDetailsPage', items: menuItems };1265 this.addToBreadCrumbs(bcInfoItems);1266 }1267 private adminMilestoneCategoryDetailsPageBCItems() {1268 let menuItem = { label: 'MilestoneCategory Details', routerLink: ['/admin/vehicle/milestoneCategory'] };1269 return menuItem;1270 }1271 // Admin MilestoneType Bread Crumbs1272 private adminMilestoneTypePage() {1273 let menuItems = [];1274 menuItems.push(this.homeBreadCrumbItem());1275 menuItems.push(this.adminHomePageBCItems());1276 menuItems.push(this.lookupsHomePageBCItems());1277 let bcInfoItems: IBreadCrumbsInfo;1278 bcInfoItems = { pageName: 'MilestoneTypeHomePage', items: menuItems };1279 this.addToBreadCrumbs(bcInfoItems);1280 }1281 private adminMilestoneTypePageBCItems() {1282 let menuItem = { label: 'Milestone Type', routerLink: ['/admin/vehicle/milestoneType'] };1283 return menuItem;1284 }1285 private adminMilestoneTypeAddPage() {1286 let menuItems = [];1287 menuItems.push(this.homeBreadCrumbItem());1288 menuItems.push(this.adminHomePageBCItems());1289 menuItems.push(this.lookupsHomePageBCItems());1290 menuItems.push(this.adminMilestoneTypePageBCItems());1291 let bcInfoItems: IBreadCrumbsInfo;1292 bcInfoItems = { pageName: 'MilestoneTypeAddPage', items: menuItems };1293 this.addToBreadCrumbs(bcInfoItems);1294 }1295 private adminMilestoneTypeAddPageBCItems() {1296 let menuItem = { label: 'Add MilestoneType', routerLink: ['/admin/vehicle/milestoneType'] };1297 return menuItem;1298 }1299 private adminMilestoneTypeDetailsPage() {1300 let menuItems = [];1301 menuItems.push(this.homeBreadCrumbItem());1302 menuItems.push(this.adminHomePageBCItems());1303 menuItems.push(this.lookupsHomePageBCItems());1304 menuItems.push(this.adminMilestoneTypePageBCItems());1305 let bcInfoItems: IBreadCrumbsInfo;1306 bcInfoItems = { pageName: 'MilestoneTypeDetailsPage', items: menuItems };1307 this.addToBreadCrumbs(bcInfoItems);1308 }1309 private adminMilestoneTypeDetailsPageBCItems() {1310 let menuItem = { label: 'MilestoneType Details', routerLink:['/admin/vehicle/milestoneType'] };1311 return menuItem;1312 }1313 // Admin Grade Bread Crumbs1314 private adminGradePage() {1315 let menuItems = [];1316 menuItems.push(this.homeBreadCrumbItem());1317 menuItems.push(this.adminHomePageBCItems());1318 menuItems.push(this.lookupsHomePageBCItems());1319 let bcInfoItems: IBreadCrumbsInfo;1320 bcInfoItems = { pageName: 'GradeHomePage', items: menuItems };1321 this.addToBreadCrumbs(bcInfoItems);1322 }1323 private adminGradePageBCItems() {1324 let menuItem = { label: 'Grade', routerLink: ['/admin/vehicle/grade'] };1325 return menuItem;1326 }1327 private adminGradeAddPage() {1328 let menuItems = [];1329 menuItems.push(this.homeBreadCrumbItem());1330 menuItems.push(this.adminHomePageBCItems());1331 menuItems.push(this.lookupsHomePageBCItems());1332 menuItems.push(this.adminGradePageBCItems());1333 let bcInfoItems: IBreadCrumbsInfo;1334 bcInfoItems = { pageName: 'GradeAddPage', items: menuItems };1335 this.addToBreadCrumbs(bcInfoItems);1336 }1337 private adminGradeAddPageBCItems() {1338 let menuItem = { label: 'Add Grade', routerLink: ['/admin/vehicle/grade'] };1339 return menuItem;1340 }1341 private adminGradeDetailsPage() {1342 let menuItems = [];1343 menuItems.push(this.homeBreadCrumbItem());1344 menuItems.push(this.adminHomePageBCItems());1345 menuItems.push(this.lookupsHomePageBCItems());1346 menuItems.push(this.adminGradePageBCItems());1347 let bcInfoItems: IBreadCrumbsInfo;1348 bcInfoItems = { pageName: 'GradeDetailsPage', items: menuItems };1349 this.addToBreadCrumbs(bcInfoItems);1350 }1351 private adminGradeDetailsPageBCItems() {1352 let menuItem = { label: 'Grade Details', routerLink:['/admin/vehicle/grade'] };1353 return menuItem;1354 }1355 // Admin ModelName Bread Crumbs1356 private adminModelNamePage() {1357 let menuItems = [];1358 menuItems.push(this.homeBreadCrumbItem());1359 menuItems.push(this.adminHomePageBCItems());1360 menuItems.push(this.lookupsHomePageBCItems());1361 1362 let bcInfoItems: IBreadCrumbsInfo;1363 bcInfoItems = { pageName: 'ModelNameHomePage', items: menuItems };1364 this.addToBreadCrumbs(bcInfoItems);1365 }1366 private adminModelNamePageBCItems() {1367 let menuItem = { label: 'Model Name', routerLink: ['/admin/vehicle/modelName'] };1368 return menuItem;1369 }1370 private adminModelNameAddPage() {1371 let menuItems = [];1372 menuItems.push(this.homeBreadCrumbItem());1373 menuItems.push(this.adminHomePageBCItems());1374 menuItems.push(this.lookupsHomePageBCItems());1375 menuItems.push(this.adminModelNamePageBCItems());1376 let bcInfoItems: IBreadCrumbsInfo;1377 bcInfoItems = { pageName: 'ModelNameAddPage', items: menuItems };1378 this.addToBreadCrumbs(bcInfoItems);1379 }1380 private adminModelNameAddPageBCItems() {1381 let menuItem = { label: 'Add ModelName', routerLink: ['/admin/vehicle/modelName'] };1382 return menuItem;1383 }1384 private adminModelNameDetailsPage() {1385 let menuItems = [];1386 menuItems.push(this.homeBreadCrumbItem());1387 menuItems.push(this.adminHomePageBCItems());1388 menuItems.push(this.lookupsHomePageBCItems());1389 menuItems.push(this.adminModelNamePageBCItems());1390 let bcInfoItems: IBreadCrumbsInfo;1391 bcInfoItems = { pageName: 'ModelNameDetailsPage', items: menuItems };1392 this.addToBreadCrumbs(bcInfoItems);1393 }1394 private adminModelNameDetailsPageBCItems() {1395 let menuItem = { label: 'ModelName Details', routerLink:['/admin/vehicle/modelName'] };1396 return menuItem;1397 }1398 // Admin ModelYear Bread Crumbs1399 private adminModelYearPage() {1400 let menuItems = [];1401 menuItems.push(this.homeBreadCrumbItem());1402 menuItems.push(this.adminHomePageBCItems());1403 menuItems.push(this.lookupsHomePageBCItems());1404 let bcInfoItems: IBreadCrumbsInfo;1405 bcInfoItems = { pageName: 'ModelYearHomePage', items: menuItems };1406 this.addToBreadCrumbs(bcInfoItems);1407 }1408 private adminModelYearPageBCItems() {1409 let menuItem = { label: 'Model Year', routerLink: ['/admin/vehicle/modelYear'] };1410 return menuItem;1411 }1412 private adminModelYearAddPage() {1413 let menuItems = [];1414 menuItems.push(this.homeBreadCrumbItem());1415 menuItems.push(this.adminHomePageBCItems());1416 menuItems.push(this.lookupsHomePageBCItems());1417 menuItems.push(this.adminModelYearPageBCItems());1418 let bcInfoItems: IBreadCrumbsInfo;1419 bcInfoItems = { pageName: 'ModelYearAddPage', items: menuItems };1420 this.addToBreadCrumbs(bcInfoItems);1421 }1422 private adminModelYearAddPageBCItems() {1423 let menuItem = { label: 'Add ModelYear', routerLink: ['/admin/vehicle/modelYear'] };1424 return menuItem;1425 }1426 private adminModelYearDetailsPage() {1427 let menuItems = [];1428 menuItems.push(this.homeBreadCrumbItem());1429 menuItems.push(this.adminHomePageBCItems());1430 menuItems.push(this.lookupsHomePageBCItems());1431 menuItems.push(this.adminModelYearPageBCItems());1432 let bcInfoItems: IBreadCrumbsInfo;1433 bcInfoItems = { pageName: 'ModelYearDetailsPage', items: menuItems };1434 this.addToBreadCrumbs(bcInfoItems);1435 }1436 private adminModelYearDetailsPageBCItems() {1437 let menuItem = { label: 'ModelYear Details', routerLink:['/admin/vehicle/modelYear'] };1438 return menuItem;1439 }1440 // Admin Access Bread Crumbs1441 private adminAccessPage() {1442 let menuItems = [];1443 menuItems.push(this.homeBreadCrumbItem());1444 menuItems.push(this.adminHomePageBCItems());1445 menuItems.push(this.lookupsHomePageBCItems());1446 let bcInfoItems: IBreadCrumbsInfo;1447 bcInfoItems = { pageName: 'AccessHomePage', items: menuItems };1448 this.addToBreadCrumbs(bcInfoItems);1449 }1450 private adminAccessPageBCItems() {1451 let menuItem = { label: 'Access', routerLink:['/admin/vehicle/access'] };1452 return menuItem;1453 }1454 private adminAccessAddPage() {1455 let menuItems = [];1456 menuItems.push(this.homeBreadCrumbItem());1457 menuItems.push(this.adminHomePageBCItems());1458 menuItems.push(this.lookupsHomePageBCItems());1459 menuItems.push(this.adminAccessPageBCItems());1460 let bcInfoItems: IBreadCrumbsInfo;1461 bcInfoItems = { pageName: 'AccessAddPage', items: menuItems };1462 this.addToBreadCrumbs(bcInfoItems);1463 }1464 private adminAccessAddPageBCItems() {1465 let menuItem = { label: 'Add Access', routerLink: ['/admin/vehicle/access'] };1466 return menuItem;1467 }1468 private adminAccessDetailsPage() {1469 let menuItems = [];1470 menuItems.push(this.homeBreadCrumbItem());1471 menuItems.push(this.adminHomePageBCItems());1472 menuItems.push(this.lookupsHomePageBCItems());1473 menuItems.push(this.adminAccessPageBCItems());1474 let bcInfoItems: IBreadCrumbsInfo;1475 bcInfoItems = { pageName: 'AccessDetailsPage', items: menuItems };1476 this.addToBreadCrumbs(bcInfoItems);1477 }1478 private adminAccessDetailsPageBCItems() {1479 let menuItem = { label: 'Access Details', routerLink:['/admin/vehicle/access'] };1480 return menuItem;1481 }1482 // Admin AccessGroup Bread Crumbs1483 private adminAccessGroupPage() {1484 let menuItems = [];1485 menuItems.push(this.homeBreadCrumbItem());1486 menuItems.push(this.adminHomePageBCItems());1487 menuItems.push(this.lookupsHomePageBCItems());1488 let bcInfoItems: IBreadCrumbsInfo;1489 bcInfoItems = { pageName: 'AccessGroupHomePage', items: menuItems };1490 this.addToBreadCrumbs(bcInfoItems);1491 }1492 private adminAccessGroupPageBCItems() {1493 let menuItem = { label: 'Access Group', routerLink: ['/admin/vehicle/accessGroup'] };1494 return menuItem;1495 }1496 private adminAccessGroupAddPage() {1497 let menuItems = [];1498 menuItems.push(this.homeBreadCrumbItem());1499 menuItems.push(this.adminHomePageBCItems());1500 menuItems.push(this.lookupsHomePageBCItems());1501 menuItems.push(this.adminAccessGroupPageBCItems());1502 let bcInfoItems: IBreadCrumbsInfo;1503 bcInfoItems = { pageName: 'AccessGroupAddPage', items: menuItems };1504 this.addToBreadCrumbs(bcInfoItems);1505 }1506 private adminAccessGroupAddPageBCItems() {1507 let menuItem = { label: 'Add AccessGroup', routerLink: ['/admin/vehicle/accessGroup'] };1508 return menuItem;1509 }1510 private adminAccessGroupDetailsPage() {1511 let menuItems = [];1512 menuItems.push(this.homeBreadCrumbItem());1513 menuItems.push(this.adminHomePageBCItems());1514 menuItems.push(this.lookupsHomePageBCItems());1515 menuItems.push(this.adminAccessGroupPageBCItems());1516 let bcInfoItems: IBreadCrumbsInfo;1517 bcInfoItems = { pageName: 'AccessGroupDetailsPage', items: menuItems };1518 this.addToBreadCrumbs(bcInfoItems);1519 }1520 private adminAccessGroupDetailsPageBCItems() {1521 let menuItem = { label: 'AccessGroup Details', routerLink:['/admin/vehicle/accessGroup'] };1522 return menuItem;1523 }1524 // Admin Permission Bread Crumbs1525 private adminPermissionPage() {1526 let menuItems = [];1527 menuItems.push(this.homeBreadCrumbItem());1528 menuItems.push(this.adminHomePageBCItems());1529 menuItems.push(this.lookupsHomePageBCItems());1530 let bcInfoItems: IBreadCrumbsInfo;1531 bcInfoItems = { pageName: 'PermissionHomePage', items: menuItems };1532 this.addToBreadCrumbs(bcInfoItems);1533 }1534 private adminPermissionPageBCItems() {1535 let menuItem = { label: 'Permission', routerLink:['/admin/vehicle/permission'] };1536 return menuItem;1537 }1538 private adminPermissionAddPage() {1539 let menuItems = [];1540 menuItems.push(this.homeBreadCrumbItem());1541 menuItems.push(this.adminHomePageBCItems());1542 menuItems.push(this.lookupsHomePageBCItems());1543 menuItems.push(this.adminPermissionPageBCItems());1544 let bcInfoItems: IBreadCrumbsInfo;1545 bcInfoItems = { pageName: 'PermissionAddPage', items: menuItems };1546 this.addToBreadCrumbs(bcInfoItems);1547 }1548 private adminPermissionAddPageBCItems() {1549 let menuItem = { label: 'Add Permission', routerLink: ['/admin/vehicle/permission'] };1550 return menuItem;1551 }1552 private adminPermissionDetailsPage() {1553 let menuItems = [];1554 menuItems.push(this.homeBreadCrumbItem());1555 menuItems.push(this.adminHomePageBCItems());1556 menuItems.push(this.lookupsHomePageBCItems());1557 menuItems.push(this.adminPermissionPageBCItems());1558 let bcInfoItems: IBreadCrumbsInfo;1559 bcInfoItems = { pageName: 'PermissionDetailsPage', items: menuItems };1560 this.addToBreadCrumbs(bcInfoItems);1561 }1562 private adminPermissionDetailsPageBCItems() {1563 let menuItem = { label: 'Permission Details', routerLink:['/admin/vehicle/permission'] };1564 return menuItem;1565 }1566 // Admin Role Bread Crumbs1567 private adminRolePage() {1568 let menuItems = [];1569 menuItems.push(this.homeBreadCrumbItem());1570 menuItems.push(this.adminHomePageBCItems());1571 menuItems.push(this.lookupsHomePageBCItems());1572 let bcInfoItems: IBreadCrumbsInfo;1573 bcInfoItems = { pageName: 'RoleHomePage', items: menuItems };1574 this.addToBreadCrumbs(bcInfoItems);1575 }1576 private adminRolePageBCItems() {1577 let menuItem = { label: 'Role', routerLink: ['/admin/vehicle/role'] };1578 return menuItem;1579 }1580 private adminRoleAddPage() {1581 let menuItems = [];1582 menuItems.push(this.homeBreadCrumbItem());1583 menuItems.push(this.adminHomePageBCItems());1584 menuItems.push(this.lookupsHomePageBCItems());1585 menuItems.push(this.adminRolePageBCItems());1586 let bcInfoItems: IBreadCrumbsInfo;1587 bcInfoItems = { pageName: 'RoleAddPage', items: menuItems };1588 this.addToBreadCrumbs(bcInfoItems);1589 }1590 private adminRoleAddPageBCItems() {1591 let menuItem = { label: 'Add Role', routerLink: ['/admin/vehicle/role'] };1592 return menuItem;1593 }1594 private adminRoleDetailsPage() {1595 let menuItems = [];1596 menuItems.push(this.homeBreadCrumbItem());1597 menuItems.push(this.adminHomePageBCItems());1598 menuItems.push(this.lookupsHomePageBCItems());1599 menuItems.push(this.adminRolePageBCItems());1600 let bcInfoItems: IBreadCrumbsInfo;1601 bcInfoItems = { pageName: 'RoleDetailsPage', items: menuItems };1602 this.addToBreadCrumbs(bcInfoItems);1603 }1604 private adminRoleDetailsPageBCItems() {1605 let menuItem = { label: 'Role Details', routerLink: ['/admin/vehicle/role'] };1606 return menuItem;1607 }1608 // Admin MaintenanceFrequency Bread Crumbs1609 private adminMaintenanceFrequencyPage() {1610 let menuItems = [];1611 menuItems.push(this.homeBreadCrumbItem());1612 menuItems.push(this.adminHomePageBCItems());1613 menuItems.push(this.lookupsHomePageBCItems());1614 // menuItems.push(this.adminHolidayPageBCItems());1615 let bcInfoItems: IBreadCrumbsInfo;1616 bcInfoItems = { pageName: 'MaintenanceFrequencyHomePage', items: menuItems };1617 this.addToBreadCrumbs(bcInfoItems);1618 }1619 private adminMaintenanceFrequencyPageBCItems() {1620 let menuItem = { label: 'MaintenanceFrequency', routerLink: ['/admin/'] };1621 return menuItem;1622 }1623 // Admin OperatingHours Bread Crumbs1624 private adminOperatingHoursPage() {1625 let menuItems = [];1626 menuItems.push(this.homeBreadCrumbItem());1627 menuItems.push(this.adminHomePageBCItems());1628 menuItems.push(this.lookupsHomePageBCItems());1629 // menuItems.push(this.adminHolidayPageBCItems());1630 let bcInfoItems: IBreadCrumbsInfo;1631 bcInfoItems = { pageName: 'OperatingHoursHomePage', items: menuItems };1632 this.addToBreadCrumbs(bcInfoItems);1633 }1634 private adminOperatingHoursPageBCItems() {1635 let menuItem = { label: 'OperatingHours', routerLink: ['/admin/'] };1636 return menuItem;1637 }1638 // Admin TestStatus Bread Crumbs1639 private adminTestStatusPage() {1640 let menuItems = [];1641 menuItems.push(this.homeBreadCrumbItem());1642 menuItems.push(this.adminHomePageBCItems());1643 menuItems.push(this.lookupsHomePageBCItems());1644 let bcInfoItems: IBreadCrumbsInfo;1645 bcInfoItems = { pageName: 'TestStatusHomePage', items: menuItems };1646 this.addToBreadCrumbs(bcInfoItems);1647 }1648 private adminTestStatusPageBCItems() {1649 let menuItem = { label: 'Test Staus', routerLink: ['/admin/vehicle/testStatus'] };1650 return menuItem;1651 }1652 private adminTestStatusAddPage() {1653 let menuItems = [];1654 menuItems.push(this.homeBreadCrumbItem());1655 menuItems.push(this.adminHomePageBCItems());1656 menuItems.push(this.lookupsHomePageBCItems());1657 menuItems.push(this.adminTestStatusPageBCItems());1658 let bcInfoItems: IBreadCrumbsInfo;1659 bcInfoItems = { pageName: 'TestStatusAddPage', items: menuItems };1660 this.addToBreadCrumbs(bcInfoItems);1661 }1662 private adminTestStatusAddPageBCItems() {1663 let menuItem = { label: 'Add TestStatus', routerLink: ['/admin/vehicle/testStatus'] };1664 return menuItem;1665 }1666 private adminTestStatusDetailsPage() {1667 let menuItems = [];1668 menuItems.push(this.homeBreadCrumbItem());1669 menuItems.push(this.adminHomePageBCItems());1670 menuItems.push(this.lookupsHomePageBCItems());1671 menuItems.push(this.adminTestStatusPageBCItems());1672 let bcInfoItems: IBreadCrumbsInfo;1673 bcInfoItems = { pageName: 'TestStatusDetailsPage', items: menuItems };1674 this.addToBreadCrumbs(bcInfoItems);1675 }1676 private adminTestStatusDetailsPageBCItems() {1677 let menuItem = { label: 'TestStatus Details', routerLink:['/admin/vehicle/testStatus'] };1678 return menuItem;1679 }1680 // Admin TestRole Bread Crumbs1681 private adminTestRolePage() {1682 let menuItems = [];1683 menuItems.push(this.homeBreadCrumbItem());1684 menuItems.push(this.adminHomePageBCItems());1685 menuItems.push(this.lookupsHomePageBCItems());1686 let bcInfoItems: IBreadCrumbsInfo;1687 bcInfoItems = { pageName: 'TestRoleHomePage', items: menuItems };1688 this.addToBreadCrumbs(bcInfoItems);1689 }1690 private adminTestRolePageBCItems() {1691 let menuItem = { label: 'Test Role', routerLink:['/admin/vehicle/testRole'] };1692 return menuItem;1693 }1694 private adminTestRoleAddPage() {1695 let menuItems = [];1696 menuItems.push(this.homeBreadCrumbItem());1697 menuItems.push(this.adminHomePageBCItems());1698 menuItems.push(this.lookupsHomePageBCItems());1699 menuItems.push(this.adminTestRolePageBCItems());1700 let bcInfoItems: IBreadCrumbsInfo;1701 bcInfoItems = { pageName: 'TestRoleAddPage', items: menuItems };1702 this.addToBreadCrumbs(bcInfoItems);1703 }1704 private adminTestRoleAddPageBCItems() {1705 let menuItem = { label: 'Add TestRole', routerLink: ['/admin/vehicle/testRole'] };1706 return menuItem;1707 }1708 private adminTestRoleDetailsPage() {1709 let menuItems = [];1710 menuItems.push(this.homeBreadCrumbItem());1711 menuItems.push(this.adminHomePageBCItems());1712 menuItems.push(this.lookupsHomePageBCItems());1713 menuItems.push(this.adminTestRolePageBCItems());1714 let bcInfoItems: IBreadCrumbsInfo;1715 bcInfoItems = { pageName: 'TestRoleDetailsPage', items: menuItems };1716 this.addToBreadCrumbs(bcInfoItems);1717 }1718 private adminTestRoleDetailsPageBCItems() {1719 let menuItem = { label: 'TestRole Details', routerLink:['/admin/vehicle/testRole'] };1720 return menuItem;1721 }1722 // Admin DownTimeReason Bread Crumbs1723 private adminDownTimeReasonPage() {1724 let menuItems = [];1725 menuItems.push(this.homeBreadCrumbItem());1726 menuItems.push(this.adminHomePageBCItems());1727 menuItems.push(this.lookupsHomePageBCItems());1728 let bcInfoItems: IBreadCrumbsInfo;1729 bcInfoItems = { pageName: 'DownTimeReasonHomePage', items: menuItems };1730 this.addToBreadCrumbs(bcInfoItems);1731 }1732 private adminDownTimeReasonPageBCItems() {1733 let menuItem = { label: 'Down Time Reason', routerLink: ['/admin/vehicle/downTimeReason'] };1734 return menuItem;1735 }1736 private adminDownTimeReasonAddPage() {1737 let menuItems = [];1738 menuItems.push(this.homeBreadCrumbItem());1739 menuItems.push(this.adminHomePageBCItems());1740 menuItems.push(this.lookupsHomePageBCItems());1741 menuItems.push(this.adminDownTimeReasonPageBCItems());1742 let bcInfoItems: IBreadCrumbsInfo;1743 bcInfoItems = { pageName: 'DownTimeReasonAddPage', items: menuItems };1744 this.addToBreadCrumbs(bcInfoItems);1745 }1746 private adminDownTimeReasonAddPageBCItems() {1747 let menuItem = { label: 'Add DownTimeReason', routerLink: ['/admin/vehicle/downTimeReason'] };1748 return menuItem;1749 }1750 private adminDownTimeReasonDetailsPage() {1751 let menuItems = [];1752 menuItems.push(this.homeBreadCrumbItem());1753 menuItems.push(this.adminHomePageBCItems());1754 menuItems.push(this.lookupsHomePageBCItems());1755 menuItems.push(this.adminDownTimeReasonPageBCItems());1756 let bcInfoItems: IBreadCrumbsInfo;1757 bcInfoItems = { pageName: 'DownTimeReasonDetailsPage', items: menuItems };1758 this.addToBreadCrumbs(bcInfoItems);1759 }1760 private adminDownTimeReasonDetailsPageBCItems() {1761 let menuItem = { label: 'DownTimeReason Details', routerLink:['/admin/vehicle/downTimeReason'] };1762 return menuItem;1763 }1764 // Admin TestActivity Bread Crumbs1765 private adminTestActivityPage() {1766 let menuItems = [];1767 menuItems.push(this.homeBreadCrumbItem());1768 menuItems.push(this.adminHomePageBCItems());1769 menuItems.push(this.lookupsHomePageBCItems());1770 let bcInfoItems: IBreadCrumbsInfo;1771 bcInfoItems = { pageName: 'TestActivityHomePage', items: menuItems };1772 this.addToBreadCrumbs(bcInfoItems);1773 }1774 private adminTestActivityPageBCItems() {1775 let menuItem = { label: 'Test Activity',routerLink:['/admin/vehicle/testActivity'] };1776 return menuItem;1777 }1778 private adminTestActivityAddPage() {1779 let menuItems = [];1780 menuItems.push(this.homeBreadCrumbItem());1781 menuItems.push(this.adminHomePageBCItems());1782 menuItems.push(this.lookupsHomePageBCItems());1783 menuItems.push(this.adminTestActivityPageBCItems());1784 let bcInfoItems: IBreadCrumbsInfo;1785 bcInfoItems = { pageName: 'TestActivityAddPage', items: menuItems };1786 this.addToBreadCrumbs(bcInfoItems);1787 }1788 private adminTestActivityAddPageBCItems() {1789 let menuItem = { label: 'Add TestActivity', routerLink: ['/admin/vehicle/testActivity'] };1790 return menuItem;1791 }1792 private adminTestActivityDetailsPage() {1793 let menuItems = [];1794 menuItems.push(this.homeBreadCrumbItem());1795 menuItems.push(this.adminHomePageBCItems());1796 menuItems.push(this.lookupsHomePageBCItems());1797 menuItems.push(this.adminTestActivityPageBCItems());1798 let bcInfoItems: IBreadCrumbsInfo;1799 bcInfoItems = { pageName: 'TestActivityDetailsPage', items: menuItems };1800 this.addToBreadCrumbs(bcInfoItems);1801 }1802 private adminTestActivityDetailsPageBCItems() {1803 let menuItem = { label: 'TestActivity Details', routerLink:['/admin/vehicle/testActivity'] };1804 return menuItem;1805 }1806 // Admin Priority Bread Crumbs1807 private adminPriorityPage() {1808 let menuItems = [];1809 menuItems.push(this.homeBreadCrumbItem());1810 menuItems.push(this.adminHomePageBCItems());1811 menuItems.push(this.lookupsHomePageBCItems());1812 let bcInfoItems: IBreadCrumbsInfo;1813 bcInfoItems = { pageName: 'PriorityHomePage', items: menuItems };1814 this.addToBreadCrumbs(bcInfoItems);1815 }1816 private adminPriorityPageBCItems() {1817 let menuItem = { label: 'Priority', routerLink:['/admin/vehicle/priority'] };1818 return menuItem;1819 }1820 private adminPriorityAddPage() {1821 let menuItems = [];1822 menuItems.push(this.homeBreadCrumbItem());1823 menuItems.push(this.adminHomePageBCItems());1824 menuItems.push(this.lookupsHomePageBCItems());1825 menuItems.push(this.adminPriorityPageBCItems());1826 let bcInfoItems: IBreadCrumbsInfo;1827 bcInfoItems = { pageName: 'PriorityAddPage', items: menuItems };1828 this.addToBreadCrumbs(bcInfoItems);1829 }1830 private adminPriorityAddPageBCItems() {1831 let menuItem = { label: 'Add Priority', routerLink: ['/admin/vehicle/priority'] };1832 return menuItem;1833 }1834 private adminPriorityDetailsPage() {1835 let menuItems = [];1836 menuItems.push(this.homeBreadCrumbItem());1837 menuItems.push(this.adminHomePageBCItems());1838 menuItems.push(this.lookupsHomePageBCItems());1839 menuItems.push(this.adminPriorityPageBCItems());1840 let bcInfoItems: IBreadCrumbsInfo;1841 bcInfoItems = { pageName: 'PriorityDetailsPage', items: menuItems };1842 this.addToBreadCrumbs(bcInfoItems);1843 }1844 private adminPriorityDetailsPageBCItems() {1845 let menuItem = { label: 'Priority Details', routerLink:['/admin/vehicle/priority'] };1846 return menuItem;1847 }1848 // Admin Judgement Bread Crumbs1849 private adminJudgementPage() {1850 let menuItems = [];1851 menuItems.push(this.homeBreadCrumbItem());1852 menuItems.push(this.adminHomePageBCItems());1853 menuItems.push(this.lookupsHomePageBCItems());1854 let bcInfoItems: IBreadCrumbsInfo;1855 bcInfoItems = { pageName: 'JudgementHomePage', items: menuItems };1856 this.addToBreadCrumbs(bcInfoItems);1857 }1858 private adminJudgementPageBCItems() {1859 let menuItem = { label: 'Judgement', routerLink: ['/admin/vehicle/judgement'] };1860 return menuItem;1861 }1862 private adminJudgementAddPage() {1863 let menuItems = [];1864 menuItems.push(this.homeBreadCrumbItem());1865 menuItems.push(this.adminHomePageBCItems());1866 menuItems.push(this.lookupsHomePageBCItems());1867 menuItems.push(this.adminJudgementPageBCItems());1868 let bcInfoItems: IBreadCrumbsInfo;1869 bcInfoItems = { pageName: 'JudgementAddPage', items: menuItems };1870 this.addToBreadCrumbs(bcInfoItems);1871 }1872 private adminJudgementAddPageBCItems() {1873 let menuItem = { label: 'Add Judgement', routerLink: ['/admin/vehicle/judgement'] };1874 return menuItem;1875 }1876 private adminJudgementDetailsPage() {1877 let menuItems = [];1878 menuItems.push(this.homeBreadCrumbItem());1879 menuItems.push(this.adminHomePageBCItems());1880 menuItems.push(this.lookupsHomePageBCItems());1881 menuItems.push(this.adminJudgementPageBCItems());1882 let bcInfoItems: IBreadCrumbsInfo;1883 bcInfoItems = { pageName: 'JudgementDetailsPage', items: menuItems };1884 this.addToBreadCrumbs(bcInfoItems);1885 }1886 private adminJudgementDetailsPageBCItems() {1887 let menuItem = { label: 'Judgement Details', routerLink:['/admin/vehicle/judgement'] };1888 return menuItem;1889 }1890 // Admin TestStage Bread Crumbs1891 private adminTestStagePage() {1892 let menuItems = [];1893 menuItems.push(this.homeBreadCrumbItem());1894 menuItems.push(this.adminHomePageBCItems());1895 menuItems.push(this.lookupsHomePageBCItems());1896 let bcInfoItems: IBreadCrumbsInfo;1897 bcInfoItems = { pageName: 'TestStageHomePage', items: menuItems };1898 this.addToBreadCrumbs(bcInfoItems);1899 }1900 private adminTestStagePageBCItems() {1901 let menuItem = { label: 'Test Stage', routerLink: ['/admin/vehicle/testStage'] };1902 return menuItem;1903 }1904 private adminTestStageAddPage() {1905 let menuItems = [];1906 menuItems.push(this.homeBreadCrumbItem());1907 menuItems.push(this.adminHomePageBCItems());1908 menuItems.push(this.lookupsHomePageBCItems());1909 menuItems.push(this.adminTestStagePageBCItems());1910 let bcInfoItems: IBreadCrumbsInfo;1911 bcInfoItems = { pageName: 'TestStageAddPage', items: menuItems };1912 this.addToBreadCrumbs(bcInfoItems);1913 }1914 private adminTestStageAddPageBCItems() {1915 let menuItem = { label: 'Add TestStage', routerLink: ['/admin/vehicle/testStage'] };1916 return menuItem;1917 }1918 private adminTestStageDetailsPage() {1919 let menuItems = [];1920 menuItems.push(this.homeBreadCrumbItem());1921 menuItems.push(this.adminHomePageBCItems());1922 menuItems.push(this.lookupsHomePageBCItems());1923 menuItems.push(this.adminTestStagePageBCItems());1924 let bcInfoItems: IBreadCrumbsInfo;1925 bcInfoItems = { pageName: 'TestStageDetailsPage', items: menuItems };1926 this.addToBreadCrumbs(bcInfoItems);1927 }1928 private adminTestStageDetailsPageBCItems() {1929 let menuItem = { label: 'TestStage Details', routerLink:['/admin/vehicle/testStage'] };1930 return menuItem;1931 }1932 // Admin RequirementItemType Bread Crumbs1933 private adminRequirementItemTypePage() {1934 let menuItems = [];1935 menuItems.push(this.homeBreadCrumbItem());1936 menuItems.push(this.adminHomePageBCItems());1937 menuItems.push(this.lookupsHomePageBCItems());1938 let bcInfoItems: IBreadCrumbsInfo;1939 bcInfoItems = { pageName: 'RequirementItemTypeHomePage', items: menuItems };1940 this.addToBreadCrumbs(bcInfoItems);1941 }1942 private adminRequirementItemTypePageBCItems() {1943 let menuItem = { label: 'Requirement Item Type', routerLink: ['/admin/vehicle/requirementItemType'] };1944 return menuItem;1945 }1946 private adminRequirementItemTypeAddPage() {1947 let menuItems = [];1948 menuItems.push(this.homeBreadCrumbItem());1949 menuItems.push(this.adminHomePageBCItems());1950 menuItems.push(this.lookupsHomePageBCItems());1951 menuItems.push(this.adminRequirementItemTypePageBCItems());1952 let bcInfoItems: IBreadCrumbsInfo;1953 bcInfoItems = { pageName: 'RequirementItemTypeAddPage', items: menuItems };1954 this.addToBreadCrumbs(bcInfoItems);1955 }1956 private adminRequirementItemTypeAddPageBCItems() {1957 let menuItem = { label: 'Add RequirementItemType', routerLink: ['/admin/vehicle/requirementItemType'] };1958 return menuItem;1959 }1960 private adminRequirementItemTypeDetailsPage() {1961 let menuItems = [];1962 menuItems.push(this.homeBreadCrumbItem());1963 menuItems.push(this.adminHomePageBCItems());1964 menuItems.push(this.lookupsHomePageBCItems());1965 menuItems.push(this.adminRequirementItemTypePageBCItems());1966 let bcInfoItems: IBreadCrumbsInfo;1967 bcInfoItems = { pageName: 'RequirementItemTypeDetailsPage', items: menuItems };1968 this.addToBreadCrumbs(bcInfoItems);1969 }1970 private adminRequirementItemTypeDetailsPageBCItems() {1971 let menuItem = { label: 'RequirementItemType Details', routerLink: ['/admin/vehicle/requirementItemType'] };1972 return menuItem;1973 }1974 // Admin SensorType Bread Crumbs1975 private adminSensorTypePage() {1976 let menuItems = [];1977 menuItems.push(this.homeBreadCrumbItem());1978 menuItems.push(this.adminHomePageBCItems());1979 menuItems.push(this.lookupsHomePageBCItems());1980 let bcInfoItems: IBreadCrumbsInfo;1981 bcInfoItems = { pageName: 'SensorTypeHomePage', items: menuItems };1982 this.addToBreadCrumbs(bcInfoItems);1983 }1984 private adminSensorTypePageBCItems() {1985 let menuItem = { label: 'Sensor Type', routerLink: ['/admin/vehicle/sensorType'] };1986 return menuItem;1987 }1988 private adminSensorTypeAddPage() {1989 let menuItems = [];1990 menuItems.push(this.homeBreadCrumbItem());1991 menuItems.push(this.adminHomePageBCItems());1992 menuItems.push(this.lookupsHomePageBCItems());1993 menuItems.push(this.adminSensorTypePageBCItems());1994 let bcInfoItems: IBreadCrumbsInfo;1995 bcInfoItems = { pageName: 'SensorTypeAddPage', items: menuItems };1996 this.addToBreadCrumbs(bcInfoItems);1997 }1998 private adminSensorTypeAddPageBCItems() {1999 let menuItem = { label: 'Add SensorType', routerLink: ['/admin/vehicle/sensorType'] };2000 return menuItem;2001 }2002 private adminSensorTypeDetailsPage() {2003 let menuItems = [];2004 menuItems.push(this.homeBreadCrumbItem());2005 menuItems.push(this.adminHomePageBCItems());2006 menuItems.push(this.lookupsHomePageBCItems());2007 menuItems.push(this.adminSensorTypePageBCItems());2008 let bcInfoItems: IBreadCrumbsInfo;2009 bcInfoItems = { pageName: 'SensorTypeDetailsPage', items: menuItems };2010 this.addToBreadCrumbs(bcInfoItems);2011 }2012 private adminSensorTypeDetailsPageBCItems() {2013 let menuItem = { label: 'SensorType Details', routerLink: ['/admin/vehicle/sensorType'] };2014 return menuItem;2015 }2016 // Admin StepFrequency Bread Crumbs2017 private adminStepFrequencyPage() {2018 let menuItems = [];2019 menuItems.push(this.homeBreadCrumbItem());2020 menuItems.push(this.adminHomePageBCItems());2021 menuItems.push(this.lookupsHomePageBCItems());2022 let bcInfoItems: IBreadCrumbsInfo;2023 bcInfoItems = { pageName: 'StepFrequencyHomePage', items: menuItems };2024 this.addToBreadCrumbs(bcInfoItems);2025 }2026 private adminStepFrequencyPageBCItems() {2027 let menuItem = { label: 'Step Frequency', routerLink: ['/admin/vehicle/stepFrequency'] };2028 return menuItem;2029 }2030 private adminStepFrequencyAddPage() {2031 let menuItems = [];2032 menuItems.push(this.homeBreadCrumbItem());2033 menuItems.push(this.adminHomePageBCItems());2034 menuItems.push(this.lookupsHomePageBCItems());2035 menuItems.push(this.adminStepFrequencyPageBCItems());2036 let bcInfoItems: IBreadCrumbsInfo;2037 bcInfoItems = { pageName: 'StepFrequencyAddPage', items: menuItems };2038 this.addToBreadCrumbs(bcInfoItems);2039 }2040 private adminStepFrequencyAddPageBCItems() {2041 let menuItem = { label: 'Add StepFrequency', routerLink: ['/admin/vehicle/stepFrequency'] };2042 return menuItem;2043 }2044 private adminStepFrequencyDetailsPage() {2045 let menuItems = [];2046 menuItems.push(this.homeBreadCrumbItem());2047 menuItems.push(this.adminHomePageBCItems());2048 menuItems.push(this.lookupsHomePageBCItems());2049 menuItems.push(this.adminStepFrequencyPageBCItems());2050 let bcInfoItems: IBreadCrumbsInfo;2051 bcInfoItems = { pageName: 'StepFrequencyDetailsPage', items: menuItems };2052 this.addToBreadCrumbs(bcInfoItems);2053 }2054 private adminStepFrequencyDetailsPageBCItems() {2055 let menuItem = { label: 'StepFrequency Details', routerLink: ['/admin/vehicle/stepFrequency'] };2056 return menuItem;2057 }2058 // Admin TestMode Bread Crumbs2059 private adminTestModePage() {2060 let menuItems = [];2061 menuItems.push(this.homeBreadCrumbItem());2062 menuItems.push(this.adminHomePageBCItems());2063 menuItems.push(this.lookupsHomePageBCItems());2064 let bcInfoItems: IBreadCrumbsInfo;2065 bcInfoItems = { pageName: 'TestModeHomePage', items: menuItems };2066 this.addToBreadCrumbs(bcInfoItems);2067 }2068 private adminTestModePageBCItems() {2069 let menuItem = { label: 'Test Mode', routerLink: ['/admin/vehicle/testMode'] };2070 return menuItem;2071 }2072 private adminTestModeAddPage() {2073 let menuItems = [];2074 menuItems.push(this.homeBreadCrumbItem());2075 menuItems.push(this.adminHomePageBCItems());2076 menuItems.push(this.lookupsHomePageBCItems());2077 menuItems.push(this.adminTestModePageBCItems());2078 let bcInfoItems: IBreadCrumbsInfo;2079 bcInfoItems = { pageName: 'TestModeAddPage', items: menuItems };2080 this.addToBreadCrumbs(bcInfoItems);2081 }2082 private adminTestModeAddPageBCItems() {2083 let menuItem = { label: 'Add TestMode', routerLink: ['/admin/vehicle/testMode'] };2084 return menuItem;2085 }2086 private adminTestModeDetailsPage() {2087 let menuItems = [];2088 menuItems.push(this.homeBreadCrumbItem());2089 menuItems.push(this.adminHomePageBCItems());2090 menuItems.push(this.lookupsHomePageBCItems());2091 menuItems.push(this.adminTestModePageBCItems());2092 let bcInfoItems: IBreadCrumbsInfo;2093 bcInfoItems = { pageName: 'TestModeDetailsPage', items: menuItems };2094 this.addToBreadCrumbs(bcInfoItems);2095 }2096 private adminTestModeDetailsPageBCItems() {2097 let menuItem = { label: 'TestMode Details', routerLink: ['/admin/vehicle/testMode'] };2098 return menuItem;2099 }2100 // Admin StepType Bread Crumbs2101 private adminStepTypePage() {2102 let menuItems = [];2103 menuItems.push(this.homeBreadCrumbItem());2104 menuItems.push(this.adminHomePageBCItems());2105 menuItems.push(this.lookupsHomePageBCItems());2106 let bcInfoItems: IBreadCrumbsInfo;2107 bcInfoItems = { pageName: 'StepTypeHomePage', items: menuItems };2108 this.addToBreadCrumbs(bcInfoItems);2109 }2110 private adminStepTypePageBCItems() {2111 let menuItem = { label: 'Step Type', routerLink: ['/admin/vehicle/stepType'] };2112 return menuItem;2113 }2114 private adminStepTypeAddPage() {2115 let menuItems = [];2116 menuItems.push(this.homeBreadCrumbItem());2117 menuItems.push(this.adminHomePageBCItems());2118 menuItems.push(this.lookupsHomePageBCItems());2119 menuItems.push(this.adminStepTypePageBCItems());2120 let bcInfoItems: IBreadCrumbsInfo;2121 bcInfoItems = { pageName: 'StepTypeAddPage', items: menuItems };2122 this.addToBreadCrumbs(bcInfoItems);2123 }2124 private adminStepTypeAddPageBCItems() {2125 let menuItem = { label: 'Add StepType', routerLink: ['/admin/vehicle/stepType'] };2126 return menuItem;2127 }2128 private adminStepTypeDetailsPage() {2129 let menuItems = [];2130 menuItems.push(this.homeBreadCrumbItem());2131 menuItems.push(this.adminHomePageBCItems());2132 menuItems.push(this.lookupsHomePageBCItems());2133 menuItems.push(this.adminStepTypePageBCItems());2134 let bcInfoItems: IBreadCrumbsInfo;2135 bcInfoItems = { pageName: 'StepTypeDetailsPage', items: menuItems };2136 this.addToBreadCrumbs(bcInfoItems);2137 }2138 private adminStepTypeDetailsPageBCItems() {2139 let menuItem = { label: 'StepType Details', routerLink: ['/admin/vehicle/stepType'] };2140 return menuItem;2141 }2142 // Admin TestType Bread Crumbs2143 private adminTestTypePage() {2144 let menuItems = [];2145 menuItems.push(this.homeBreadCrumbItem());2146 menuItems.push(this.adminHomePageBCItems());2147 menuItems.push(this.lookupsHomePageBCItems());2148 let bcInfoItems: IBreadCrumbsInfo;2149 bcInfoItems = { pageName: 'TestTypeHomePage', items: menuItems };2150 this.addToBreadCrumbs(bcInfoItems);2151 }2152 private adminTestTypePageBCItems() {2153 let menuItem = { label: 'Test Type', routerLink: ['/admin/vehicle/testType'] };2154 return menuItem;2155 }2156 private adminTestTypeAddPage() {2157 let menuItems = [];2158 menuItems.push(this.homeBreadCrumbItem());2159 menuItems.push(this.adminHomePageBCItems());2160 menuItems.push(this.lookupsHomePageBCItems());2161 menuItems.push(this.adminTestTypePageBCItems());2162 let bcInfoItems: IBreadCrumbsInfo;2163 bcInfoItems = { pageName: 'TestTypeAddPage', items: menuItems };2164 this.addToBreadCrumbs(bcInfoItems);2165 }2166 private adminTestTypeAddPageBCItems() {2167 let menuItem = { label: 'Add TestType', routerLink: ['/admin/vehicle/testType'] };2168 return menuItem;2169 }2170 private adminTestTypeDetailsPage() {2171 let menuItems = [];2172 menuItems.push(this.homeBreadCrumbItem());2173 menuItems.push(this.adminHomePageBCItems());2174 menuItems.push(this.lookupsHomePageBCItems());2175 menuItems.push(this.adminTestTypePageBCItems());2176 let bcInfoItems: IBreadCrumbsInfo;2177 bcInfoItems = { pageName: 'TestTypeDetailsPage', items: menuItems };2178 this.addToBreadCrumbs(bcInfoItems);2179 }2180 private adminTestTypeDetailsPageBCItems() {2181 let menuItem = { label: 'TestType Details', routerLink: ['/admin/vehicle/testType'] };2182 return menuItem;2183 }2184 // Admin TestRequirement Bread Crumbs2185 private adminTestRequirementPage() {2186 let menuItems = [];2187 menuItems.push(this.homeBreadCrumbItem());2188 menuItems.push(this.adminHomePageBCItems());2189 menuItems.push(this.lookupsHomePageBCItems());2190 let bcInfoItems: IBreadCrumbsInfo;2191 bcInfoItems = { pageName: 'TestRequirementHomePage', items: menuItems };2192 this.addToBreadCrumbs(bcInfoItems);2193 }2194 private adminTestRequirementPageBCItems() {2195 let menuItem = { label: 'Test Requirement', routerLink: ['/admin/vehicle/testRequirement'] };2196 return menuItem;2197 }2198 private adminTestRequirementAddPage() {2199 let menuItems = [];2200 menuItems.push(this.homeBreadCrumbItem());2201 menuItems.push(this.adminHomePageBCItems());2202 menuItems.push(this.lookupsHomePageBCItems());2203 menuItems.push(this.adminTestRequirementPageBCItems());2204 let bcInfoItems: IBreadCrumbsInfo;2205 bcInfoItems = { pageName: 'TestRequirementAddPage', items: menuItems };2206 this.addToBreadCrumbs(bcInfoItems);2207 }2208 private adminTestRequirementAddPageBCItems() {2209 let menuItem = { label: 'Add TestRequirement', routerLink: ['/admin/vehicle/testRequirement'] };2210 return menuItem;2211 }2212 private adminTestRequirementDetailsPage() {2213 let menuItems = [];2214 menuItems.push(this.homeBreadCrumbItem());2215 menuItems.push(this.adminHomePageBCItems());2216 menuItems.push(this.lookupsHomePageBCItems());2217 menuItems.push(this.adminTestRequirementPageBCItems());2218 let bcInfoItems: IBreadCrumbsInfo;2219 bcInfoItems = { pageName: 'TestRequirementDetailsPage', items: menuItems };2220 this.addToBreadCrumbs(bcInfoItems);2221 }2222 private adminTestRequirementDetailsPageBCItems() {2223 let menuItem = { label: 'TestRequirement Details', routerLink: ['/admin/vehicle/testRequirement'] };2224 return menuItem;2225 }2226 // Admin TestVerificationMethod Bread Crumbs2227 private adminTestVerificationMethodPage() {2228 let menuItems = [];2229 menuItems.push(this.homeBreadCrumbItem());2230 menuItems.push(this.adminHomePageBCItems());2231 menuItems.push(this.lookupsHomePageBCItems());2232 let bcInfoItems: IBreadCrumbsInfo;2233 bcInfoItems = { pageName: 'TestVerificationMethodHomePage', items: menuItems };2234 this.addToBreadCrumbs(bcInfoItems);2235 }2236 private adminTestVerificationMethodPageBCItems() {2237 let menuItem = { label: 'Test Verification Method', routerLink: ['/admin/vehicle/testVerificationMethod'] };2238 return menuItem;2239 }2240 private adminTestVerificationMethodAddPage() {2241 let menuItems = [];2242 menuItems.push(this.homeBreadCrumbItem());2243 menuItems.push(this.adminHomePageBCItems());2244 menuItems.push(this.lookupsHomePageBCItems());2245 menuItems.push(this.adminTestVerificationMethodPageBCItems());2246 let bcInfoItems: IBreadCrumbsInfo;2247 bcInfoItems = { pageName: 'TestVerificationMethodAddPage', items: menuItems };2248 this.addToBreadCrumbs(bcInfoItems);2249 }2250 private adminTestVerificationMethodAddPageBCItems() {2251 let menuItem = { label: 'Add TestVerificationMethod', routerLink: ['/admin/vehicle/testVerificationMethod'] };2252 return menuItem;2253 }2254 private adminTestVerificationMethodDetailsPage() {2255 let menuItems = [];2256 menuItems.push(this.homeBreadCrumbItem());2257 menuItems.push(this.adminHomePageBCItems());2258 menuItems.push(this.lookupsHomePageBCItems());2259 menuItems.push(this.adminTestVerificationMethodPageBCItems());2260 let bcInfoItems: IBreadCrumbsInfo;2261 bcInfoItems = { pageName: 'TestVerificationMethodDetailsPage', items: menuItems };2262 this.addToBreadCrumbs(bcInfoItems);2263 }2264 private adminTestVerificationMethodDetailsPageBCItems() {2265 let menuItem = { label: 'TestVerificationMethod Details', routerLink: ['/admin/vehicle/testVerificationMethod'] };2266 return menuItem;2267 }2268 // Admin VehicleType Bread Crumbs2269 private adminVehicleTypePage() {2270 let menuItems = [];2271 menuItems.push(this.homeBreadCrumbItem());2272 menuItems.push(this.adminHomePageBCItems());2273 menuItems.push(this.lookupsHomePageBCItems());2274 let bcInfoItems: IBreadCrumbsInfo;2275 bcInfoItems = { pageName: 'VehicleTypeHomePage', items: menuItems };2276 this.addToBreadCrumbs(bcInfoItems);2277 }2278 private adminVehicleTypePageBCItems() {2279 let menuItem = { label: 'Vehicle Type', routerLink: ['/admin/vehicle/vehicleType'] };2280 return menuItem;2281 }2282 private adminVehicleTypeAddPage() {2283 let menuItems = [];2284 menuItems.push(this.homeBreadCrumbItem());2285 menuItems.push(this.adminHomePageBCItems());2286 menuItems.push(this.lookupsHomePageBCItems());2287 menuItems.push(this.adminVehicleTypePageBCItems());2288 let bcInfoItems: IBreadCrumbsInfo;2289 bcInfoItems = { pageName: 'VehicleTypeAddPage', items: menuItems };2290 this.addToBreadCrumbs(bcInfoItems);2291 }2292 private adminVehicleTypeAddPageBCItems() {2293 let menuItem = { label: 'Add VehicleType', routerLink: ['/admin/vehicle/vehicleType'] };2294 return menuItem;2295 }2296 private adminVehicleTypeDetailsPage() {2297 let menuItems = [];2298 menuItems.push(this.homeBreadCrumbItem());2299 menuItems.push(this.adminHomePageBCItems());2300 menuItems.push(this.lookupsHomePageBCItems());2301 menuItems.push(this.adminVehicleTypePageBCItems());2302 let bcInfoItems: IBreadCrumbsInfo;2303 bcInfoItems = { pageName: 'VehicleTypeDetailsPage', items: menuItems };2304 this.addToBreadCrumbs(bcInfoItems);2305 }2306 private adminVehicleTypeDetailsPageBCItems() {2307 let menuItem = { label: 'VehicleType Details', routerLink: ['/admin/vehicle/vehicleType'] };2308 return menuItem;2309 }2310 // Admin EngineCode Bread Crumbs2311 private adminEngineCodePage() {2312 let menuItems = [];2313 menuItems.push(this.homeBreadCrumbItem());2314 menuItems.push(this.adminHomePageBCItems());2315 menuItems.push(this.lookupsHomePageBCItems());2316 let bcInfoItems: IBreadCrumbsInfo;2317 bcInfoItems = { pageName: 'EngineCodeHomePage', items: menuItems };2318 this.addToBreadCrumbs(bcInfoItems);2319 }2320 private adminEngineCodePageBCItems() {2321 let menuItem = { label: 'Engine Code', routerLink: ['/admin/vehicle/engineCode'] };2322 return menuItem;2323 }2324 private adminEngineCodeAddPage() {2325 let menuItems = [];2326 menuItems.push(this.homeBreadCrumbItem());2327 menuItems.push(this.adminHomePageBCItems());2328 menuItems.push(this.lookupsHomePageBCItems());2329 menuItems.push(this.adminEngineCodePageBCItems());2330 let bcInfoItems: IBreadCrumbsInfo;2331 bcInfoItems = { pageName: 'EngineCodeAddPage', items: menuItems };2332 this.addToBreadCrumbs(bcInfoItems);2333 }2334 private adminEngineCodeAddPageBCItems() {2335 let menuItem = { label: 'Add EngineCode', routerLink: ['/admin/vehicle/engineCode'] };2336 return menuItem;2337 }2338 private adminEngineCodeDetailsPage() {2339 let menuItems = [];2340 menuItems.push(this.homeBreadCrumbItem());2341 menuItems.push(this.adminHomePageBCItems());2342 menuItems.push(this.lookupsHomePageBCItems());2343 menuItems.push(this.adminEngineCodePageBCItems());2344 let bcInfoItems: IBreadCrumbsInfo;2345 bcInfoItems = { pageName: 'EngineCodeDetailsPage', items: menuItems };2346 this.addToBreadCrumbs(bcInfoItems);2347 }2348 private adminEngineCodeDetailsPageBCItems() {2349 let menuItem = { label: 'EngineCode Details', routerLink: ['/admin/vehicle/engineCode'] };2350 return menuItem;2351 }2352 public getBreadCrumbs() {2353 return this.breadCrumbs;2354 }2355 private addToBreadCrumbs(item) {2356 this.breadCrumbs.push(item);2357 }2358 private bcNavigation(event) {2359 console.log('BreadCrumb Service ----', event);2360 }...
breadCrumbs.service.js
Source:breadCrumbs.service.js
1"use strict";2var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {3 var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;4 if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);5 else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;6 return c > 3 && r && Object.defineProperty(target, key, r), r;7};8/**9 * Created by ZeroInfinity on 12/27/2016.10 */11var core_1 = require('@angular/core');12var BreadCrumbsService = (function () {13 function BreadCrumbsService() {14 // Initialize the whole bread crumbs for the whole site;15 this.breadCrumbs = [];16 // Home page17 this.homeBreadCrumbAdd();18 // Admin Home Page19 this.adminBreadCrumbAdd();20 // Admin FormBuilder21 this.adminFormBuilderPage();22 // Admin Form Builder Add23 this.adminFormBuilderAddFormPage();24 //Admin Form Builder Details25 this.adminFormBuilderDetailsFormPage();26 //Admin Calendar Page27 this.calendarPage();28 //Admin TestFacilities Page29 this.testFacilitiesPage();30 //Admin Test Facilities Add31 this.testFacilitiesAddPage();32 //Admin Test Facilities Details33 this.testFacilitiesDetailsPage();34 // Admin Vehicle Home Page35 this.adminVehicleHomePage();36 // Admin Shift Page37 this.adminShiftPage();38 // Admin Shift Add Page39 this.adminShiftAddPage();40 // Admin Shift Details Page41 this.adminShiftDetailsPage();42 //Admin Holiday Page43 this.adminHolidayPage();44 // Admin Holiday Add Page45 this.adminHolidayAddPage();46 // Admin Holiday Details Page47 this.adminHolidayDetailsPage();48 //Admin Step Page49 this.adminStepPage();50 // // Admin Step Add Page51 // this.adminStepAddPage();52 // // Admin Step Details Page53 // this.adminStepDetailsPage();54 //Admin Units Page55 this.adminUnitsPage();56 // Admin Units Add Page57 this.adminUnitsAddPage();58 // Admin Units Details Page59 this.adminUnitsDetailsPage();60 //Admin BuildLevels Page61 this.adminBuildLevelsPage();62 // Admin BuildLevels Add Page63 this.adminBuildLevelsAddPage();64 // Admin BuildLevels Details Page65 this.adminBuildLevelsDetailsPage();66 //Admin Market Page67 this.adminMarketPage();68 // Admin Market Add Page69 this.adminMarketAddPage();70 // Admin Market Details Page71 this.adminMarketDetailsPage();72 //Admin Platform Page73 this.adminPlatformPage();74 // Admin Platform Add Page75 this.adminPlatformAddPage();76 // Admin Platform Details Page77 this.adminPlatformDetailsPage();78 //Admin TitanRole Page79 this.adminTitanRolePage();80 // Admin TitanRole Add Page81 this.adminTitanRoleAddPage();82 // Admin TitanRole Details Page83 this.adminTitanRoleDetailsPage();84 //Admin MilestoneStatus Page85 this.adminMilestoneStatusPage();86 // Admin MilestoneStatus Add Page87 this.adminMilestoneStatusAddPage();88 // Admin MilestoneStatus Details Page89 this.adminMilestoneStatusDetailsPage();90 //Admin ProjectStatus Page91 this.adminProjectStatusPage();92 // // Admin ProjectStatus Add Page93 // this.adminProjectStatusAddPage();94 // // Admin ProjectStatus Details Page95 // this.adminProjectStatusDetailsPage();96 //Admin ProjectRole Page97 this.adminProjectRolePage();98 // // Admin ProjectRole Add Page99 // this.adminProjectRoleAddPage();100 // // Admin ProjectRole Details Page101 // this.adminProjectRoleDetailsPage();102 //Admin Milestone Page103 this.adminMilestonePage();104 // // Admin Milestone Add Page105 // this.adminMilestoneAddPage();106 // // Admin Milestone Details Page107 // this.adminMilestoneDetailsPage();108 //Admin MilestoneCategory Page109 this.adminMilestoneCategoryPage();110 // // Admin MilestoneCategory Add Page111 // this.adminMilestoneCategoryAddPage();112 // // Admin MilestoneCategory Details Page113 // this.adminMilestoneCategoryDetailsPage();114 //Admin MilestoneType Page115 this.adminMilestoneTypePage();116 // // Admin MilestoneType Add Page117 // this.adminMilestoneTypeAddPage();118 // // Admin MilestoneType Details Page119 // this.adminMilestoneTypeDetailsPage();120 //Admin Grade Page121 this.adminGradePage();122 // // Admin Grade Add Page123 // this.adminGradeAddPage();124 // // Admin Grade Details Page125 // this.adminGradeDetailsPage();126 //Admin ModelName Page127 this.adminModelNamePage();128 // // Admin ModelName Add Page129 // this.adminModelNameAddPage();130 // // Admin ModelName Details Page131 // this.adminModelNameDetailsPage();132 //Admin ModelYear Page133 this.adminModelYearPage();134 // // Admin ModelYear Add Page135 // this.adminModelYearAddPage();136 // // Admin ModelYear Details Page137 // this.adminModelYearDetailsPage();138 //Admin Access Page139 this.adminAccessPage();140 // // Admin Access Add Page141 // this.adminAccessAddPage();142 // // Admin Access Details Page143 // this.adminAccessDetailsPage();144 //Admin AccessGroup Page145 this.adminAccessGroupPage();146 // // Admin AccessGroup Add Page147 // this.adminAccessGroupAddPage();148 // // Admin AccessGroup Details Page149 // this.adminAccessGroupDetailsPage();150 //Admin Permission Page151 this.adminPermissionPage();152 // // Admin Permission Add Page153 // this.adminPermissionAddPage();154 // // Admin Permission Details Page155 // this.adminPermissionDetailsPage();156 //Admin Role Page157 this.adminRolePage();158 // // Admin Role Add Page159 // this.adminRoleAddPage();160 // // Admin Role Details Page161 // this.adminRoleDetailsPage();162 //Admin MaintenanceFrequency Page163 this.adminMaintenanceFrequencyPage();164 // // Admin MaintenanceFrequency Add Page165 // this.adminMaintenanceFrequencyAddPage();166 // // Admin MaintenanceFrequency Details Page167 // this.adminMaintenanceFrequencyDetailsPage();168 //Admin OperatingHours Page169 this.adminOperatingHoursPage();170 // // Admin OperatingHours Add Page171 // this.adminOperatingHoursAddPage();172 // // Admin OperatingHours Details Page173 // this.adminOperatingHoursDetailsPage();174 //Admin TestStatus Page175 this.adminTestStatusPage();176 // // Admin TestStatus Add Page177 // this.adminTestStatusAddPage();178 // // Admin TestStatus Details Page179 // this.adminTestStatusDetailsPage();180 //Admin TestRole Page181 this.adminTestRolePage();182 // // Admin TestRole Add Page183 // this.adminTestRoleAddPage();184 // // Admin TestRole Details Page185 // this.adminTestRoleDetailsPage();186 //Admin DownTimeReason Page187 this.adminDownTimeReasonPage();188 // // Admin DownTimeReason Add Page189 // this.adminDownTimeReasonAddPage();190 // // Admin DownTimeReason Details Page191 // this.adminDownTimeReasonDetailsPage();192 //Admin TestActivity Page193 this.adminTestActivityPage();194 // // Admin TestActivity Add Page195 // this.adminTestActivityAddPage();196 // // Admin TestActivity Details Page197 // this.adminTestActivityDetailsPage();198 //Admin Priority Page199 this.adminPriorityPage();200 // // Admin Priority Add Page201 // this.adminPriorityAddPage();202 // // Admin Priority Details Page203 // this.adminPriorityDetailsPage();204 //Admin Judgement Page205 this.adminJudgementPage();206 // // Admin Judgement Add Page207 // this.adminJudgementAddPage();208 // // Admin Judgement Details Page209 // this.adminJudgementDetailsPage();210 //Admin TestStage Page211 this.adminTestStagePage();212 // // Admin TestStage Add Page213 // this.adminTestStageAddPage();214 // // Admin TestStage Details Page215 // this.adminTestStageDetailsPage();216 //Admin RequirementItemType Page217 this.adminRequirementItemTypePage();218 // // Admin RequirementItemType Add Page219 // this.adminRequirementItemTypeAddPage();220 // // Admin RequirementItemType Details Page221 // this.adminRequirementItemTypeDetailsPage();222 //Admin SensorType Page223 this.adminSensorTypePage();224 // // Admin SensorType Add Page225 // this.adminSensorTypeAddPage();226 // // Admin SensorType Details Page227 // this.adminSensorTypeDetailsPage();228 //Admin StepFrequency Page229 this.adminStepFrequencyPage();230 // // Admin StepFrequency Add Page231 // this.adminStepFrequencyAddPage();232 // // Admin StepFrequency Details Page233 // this.adminStepFrequencyDetailsPage();234 //Admin TestMode Page235 this.adminTestModePage();236 // // Admin TestMode Add Page237 // this.adminTestModeAddPage();238 // // Admin TestMode Details Page239 // this.adminTestModeDetailsPage();240 //Admin StepType Page241 this.adminStepTypePage();242 // // Admin StepType Add Page243 // this.adminStepTypeAddPage();244 // // Admin StepType Details Page245 // this.adminStepTypeDetailsPage();246 //Admin TestType Page247 this.adminTestTypePage();248 // // Admin TestType Add Page249 // this.adminTestTypeAddPage();250 // // Admin TestType Details Page251 // this.adminTestTypeDetailsPage();252 //Admin TestRequirement Page253 this.adminTestRequirementPage();254 // // Admin TestRequirement Add Page255 // this.adminTestRequirementAddPage();256 // // Admin TestRequirement Details Page257 // this.adminTestRequirementDetailsPage();258 //Admin TestVerificationMethod Page259 this.adminTestVerificationMethodPage();260 // // Admin TestVerificationMethod Add Page261 // this.adminTestVerificationMethodAddPage();262 // // Admin TestVerificationMethod Details Page263 // this.adminTestVerificationMethodDetailsPage();264 //Admin VehicleType Page265 this.adminVehicleTypePage();266 // // Admin VehicleType Add Page267 // this.adminVehicleTypeAddPage();268 // // Admin VehicleType Details Page269 // this.adminVehicleTypeDetailsPage();270 //Admin EngineCode Page271 this.adminEngineCodePage();272 // // Admin EngineCode Add Page273 // this.adminEngineCodeAddPage();274 // // Admin EngineCode Details Page275 // this.adminEngineCodeDetailsPage();276 }277 // Home Page Bread Crumbs278 BreadCrumbsService.prototype.homeBreadCrumbAdd = function () {279 var menuItems = [];280 menuItems.push(this.homeBreadCrumbItem());281 var homePage = { pageName: 'Home', items: menuItems };282 this.addToBreadCrumbs(homePage);283 };284 BreadCrumbsService.prototype.homeBreadCrumbItem = function () {285 var menuItem = { label: 'Home', routerLink: ['/'] };286 return menuItem;287 };288 // Admin Bread Crumbs Section289 //Admin Home Page Bread Crumbs290 BreadCrumbsService.prototype.adminBreadCrumbAdd = function () {291 var menuItems = [];292 menuItems.push(this.homeBreadCrumbItem());293 // menuItems.push(this.adminHomePageBCItems());294 var adminHomePage = { pageName: 'Admin', items: menuItems };295 this.addToBreadCrumbs(adminHomePage);296 };297 BreadCrumbsService.prototype.adminHomePageBCItems = function () {298 var menuItem = { label: 'Admin', routerLink: ['/admin'] };299 return menuItem;300 };301 // Admin Form Builder Home Page302 BreadCrumbsService.prototype.adminFormBuilderPage = function () {303 var menuItems = [];304 menuItems.push(this.homeBreadCrumbItem());305 menuItems.push(this.adminHomePageBCItems());306 menuItems.push(this.adminFormBuilderPageBCItems());307 var bcInfoItems;308 bcInfoItems = { pageName: 'FormBuilderHomePage', items: menuItems };309 this.addToBreadCrumbs(bcInfoItems);310 };311 BreadCrumbsService.prototype.adminFormBuilderPageBCItems = function () {312 var menuItem = { label: 'Form Builder', routerLink: 'app/body/Admin/formBuilders' };313 return menuItem;314 };315 // Admin Form Builder Add Bread Crumbs316 BreadCrumbsService.prototype.adminFormBuilderAddFormPage = function () {317 var menuItems = [];318 menuItems.push(this.homeBreadCrumbItem());319 menuItems.push(this.adminHomePageBCItems());320 menuItems.push(this.adminFormBuilderPageBCItems());321 menuItems.push(this.adminFormBuilderAddFormPageBCItems());322 var bcInfoItems = [];323 bcInfoItems.push({ pageName: 'FormBuilderAddForm', items: this.adminFormBuilderAddFormPageBCItems() });324 this.addToBreadCrumbs(bcInfoItems);325 };326 BreadCrumbsService.prototype.adminFormBuilderAddFormPageBCItems = function () {327 var menuItem = { label: 'Add Form', routerLink: 'app/body/Admin/FormBuilder/add/' };328 return menuItem;329 };330 // Admin Form Builder Details Page Bread Crumbs331 BreadCrumbsService.prototype.adminFormBuilderDetailsFormPage = function () {332 var menuItems = [];333 menuItems.push(this.homeBreadCrumbItem());334 menuItems.push(this.adminFormBuilderPageBCItems());335 menuItems.push(this.adminFormBuilderDetailsFormPageBCItems());336 var bcInfoItems = [];337 bcInfoItems.push({ pageName: 'FormBuilderDetailsForm', items: menuItems });338 this.addToBreadCrumbs(bcInfoItems);339 };340 BreadCrumbsService.prototype.adminFormBuilderDetailsFormPageBCItems = function () {341 var menuItem = { label: 'Details Form', routerLink: 'app/body/Admin/FormBuilder/details/' };342 return menuItem;343 };344 // Calendar Page Bread Crumbs345 BreadCrumbsService.prototype.calendarPage = function () {346 var menuItems = [];347 menuItems.push(this.homeBreadCrumbItem());348 var bcInfoItems;349 bcInfoItems = { pageName: 'CalendarHomePage', items: menuItems };350 this.addToBreadCrumbs(bcInfoItems);351 };352 BreadCrumbsService.prototype.calendarPageBCItems = function () {353 var menuItem = { label: 'Calendar', routerLink: ['/calendar'] };354 return menuItem;355 };356 // TestFacilities Page Bread Crumbs357 BreadCrumbsService.prototype.testFacilitiesPage = function () {358 var menuItems = [];359 menuItems.push(this.homeBreadCrumbItem());360 var bcInfoItems;361 bcInfoItems = { pageName: 'TestFacilitiesHomePage', items: menuItems };362 this.addToBreadCrumbs(bcInfoItems);363 };364 BreadCrumbsService.prototype.testFacilitiesPageBCItems = function () {365 var menuItem = { label: 'Test Facilities', routerLink: ['/testFacilities'] };366 return menuItem;367 };368 BreadCrumbsService.prototype.testFacilitiesAddPage = function () {369 var menuItems = [];370 menuItems.push(this.homeBreadCrumbItem());371 menuItems.push(this.testFacilitiesPageBCItems());372 var bcInfoItems;373 bcInfoItems = { pageName: 'TestFacilitiesAddPage', items: menuItems };374 this.addToBreadCrumbs(bcInfoItems);375 };376 BreadCrumbsService.prototype.testFacilitiesAddPageBCItems = function () {377 var menuItem = { label: 'Test Facilities Add', routerLink: ['/testFacilities'] };378 return menuItem;379 };380 BreadCrumbsService.prototype.testFacilitiesDetailsPage = function () {381 var menuItems = [];382 menuItems.push(this.homeBreadCrumbItem());383 menuItems.push(this.testFacilitiesPageBCItems());384 var bcInfoItems;385 bcInfoItems = { pageName: 'TestFacilitiesDetailsPage', items: menuItems };386 this.addToBreadCrumbs(bcInfoItems);387 };388 BreadCrumbsService.prototype.testFacilitiesDetailsPageBCItems = function () {389 var menuItem = { label: 'Test Facilities Details', routerLink: ['/testFacilities'] };390 return menuItem;391 };392 // Admin Vehicle Home Page Bread Crumbs393 BreadCrumbsService.prototype.adminVehicleHomePage = function () {394 var menuItems = [];395 menuItems.push(this.homeBreadCrumbItem());396 menuItems.push(this.adminHomePageBCItems());397 menuItems.push(this.adminVehicleHomePageBCItems());398 var bcInfoItems;399 bcInfoItems = { pageName: 'adminVehicleHomePage', items: menuItems };400 this.addToBreadCrumbs(bcInfoItems);401 };402 BreadCrumbsService.prototype.adminVehicleHomePageBCItems = function () {403 var menuItem = { label: 'Vehicle', routerLink: ['/admin'] };404 return menuItem;405 };406 // Admin Shift Bread Crumbs407 BreadCrumbsService.prototype.adminShiftPage = function () {408 var menuItems = [];409 menuItems.push(this.homeBreadCrumbItem());410 menuItems.push(this.adminHomePageBCItems());411 menuItems.push(this.adminVehicleHomePageBCItems());412 var bcInfoItems;413 bcInfoItems = { pageName: 'ShiftHomePage', items: menuItems };414 this.addToBreadCrumbs(bcInfoItems);415 };416 BreadCrumbsService.prototype.adminShiftPageBCItems = function () {417 var menuItem = { label: 'Shift', routerLink: ['/admin/vehicle/shift'] };418 return menuItem;419 };420 BreadCrumbsService.prototype.adminShiftAddPage = function () {421 var menuItems = [];422 menuItems.push(this.homeBreadCrumbItem());423 menuItems.push(this.adminHomePageBCItems());424 menuItems.push(this.adminVehicleHomePageBCItems());425 menuItems.push(this.adminShiftPageBCItems());426 var bcInfoItems;427 bcInfoItems = { pageName: 'ShiftAddPage', items: menuItems };428 this.addToBreadCrumbs(bcInfoItems);429 };430 BreadCrumbsService.prototype.adminShiftAddPageBCItems = function () {431 var menuItem = { label: 'Add Shift', routerLink: ['/admin/vehicle/shift'] };432 return menuItem;433 };434 BreadCrumbsService.prototype.adminShiftDetailsPage = function () {435 var menuItems = [];436 menuItems.push(this.homeBreadCrumbItem());437 menuItems.push(this.adminHomePageBCItems());438 menuItems.push(this.adminVehicleHomePageBCItems());439 menuItems.push(this.adminShiftPageBCItems());440 var bcInfoItems;441 bcInfoItems = { pageName: 'ShiftDetailsPage', items: menuItems };442 this.addToBreadCrumbs(bcInfoItems);443 };444 BreadCrumbsService.prototype.adminShiftDetailsPageBCItems = function () {445 var menuItem = { label: 'Shift Details', routerLink: ['/admin/vehicle/shift'] };446 return menuItem;447 };448 // Admin Holiday Bread Crumbs449 BreadCrumbsService.prototype.adminHolidayPage = function () {450 var menuItems = [];451 menuItems.push(this.homeBreadCrumbItem());452 menuItems.push(this.adminHomePageBCItems());453 menuItems.push(this.adminVehicleHomePageBCItems());454 // menuItems.push(this.adminHolidayPageBCItems());455 var bcInfoItems;456 bcInfoItems = { pageName: 'HolidayHomePage', items: menuItems };457 this.addToBreadCrumbs(bcInfoItems);458 };459 BreadCrumbsService.prototype.adminHolidayPageBCItems = function () {460 var menuItem = { label: 'Holiday', routerLink: ['/admin/vehicle/holiday'] };461 return menuItem;462 };463 BreadCrumbsService.prototype.adminHolidayAddPage = function () {464 var menuItems = [];465 menuItems.push(this.homeBreadCrumbItem());466 menuItems.push(this.adminHomePageBCItems());467 menuItems.push(this.adminVehicleHomePageBCItems());468 menuItems.push(this.adminHolidayPageBCItems());469 var bcInfoItems;470 bcInfoItems = { pageName: 'HolidayAddPage', items: menuItems };471 this.addToBreadCrumbs(bcInfoItems);472 };473 BreadCrumbsService.prototype.adminHolidayAddPageBCItems = function () {474 var menuItem = { label: 'Add Holiday', routerLink: ['/admin/vehicle/holiday'] };475 return menuItem;476 };477 BreadCrumbsService.prototype.adminHolidayDetailsPage = function () {478 var menuItems = [];479 menuItems.push(this.homeBreadCrumbItem());480 menuItems.push(this.adminHomePageBCItems());481 menuItems.push(this.adminVehicleHomePageBCItems());482 menuItems.push(this.adminHolidayPageBCItems());483 var bcInfoItems;484 bcInfoItems = { pageName: 'HolidayDetailsPage', items: menuItems };485 this.addToBreadCrumbs(bcInfoItems);486 };487 BreadCrumbsService.prototype.adminHolidayDetailsPageBCItems = function () {488 var menuItem = { label: 'Holiday Details', routerLink: ['/admin/vehicle/holiday'] };489 return menuItem;490 };491 // Admin Step Bread Crumbs492 BreadCrumbsService.prototype.adminStepPage = function () {493 var menuItems = [];494 menuItems.push(this.homeBreadCrumbItem());495 menuItems.push(this.adminHomePageBCItems());496 menuItems.push(this.adminVehicleHomePageBCItems());497 var bcInfoItems;498 bcInfoItems = { pageName: 'StepHomePage', items: menuItems };499 this.addToBreadCrumbs(bcInfoItems);500 };501 BreadCrumbsService.prototype.adminStepPageBCItems = function () {502 var menuItem = { label: 'Step', routerLink: ['/admin/vehicle/step'] };503 return menuItem;504 };505 // private adminStepAddPage() {506 // let menuItems = [];507 // menuItems.push(this.homeBreadCrumbItem());508 // menuItems.push(this.adminHomePageBCItems());509 // menuItems.push(this.adminVehicleHomePageBCItems());510 // menuItems.push(this.adminStepPageBCItems());511 // let bcInfoItems: IBreadCrumbsInfo;512 // bcInfoItems = { pageName: 'StepAddPage', items: menuItems };513 // this.addToBreadCrumbs(bcInfoItems);514 // }515 // private adminStepAddPageBCItems() {516 // let menuItem = { label: 'Add Step', routerLink: ['/admin/vehicle/step'] };517 // return menuItem;518 // }519 // private adminStepDetailsPage() {520 // let menuItems = [];521 // menuItems.push(this.homeBreadCrumbItem());522 // menuItems.push(this.adminHomePageBCItems());523 // menuItems.push(this.adminVehicleHomePageBCItems());524 // menuItems.push(this.adminStepPageBCItems());525 // let bcInfoItems: IBreadCrumbsInfo;526 // bcInfoItems = { pageName: 'StepDetailsPage', items: menuItems };527 // this.addToBreadCrumbs(bcInfoItems);528 // }529 // private adminStepDetailsPageBCItems() {530 // let menuItem = { label: 'Step Details', routerLink: ['/admin/vehicle/step'] };531 // return menuItem;532 // }533 // Admin Units Bread Crumbs534 BreadCrumbsService.prototype.adminUnitsPage = function () {535 var menuItems = [];536 menuItems.push(this.homeBreadCrumbItem());537 menuItems.push(this.adminHomePageBCItems());538 menuItems.push(this.adminVehicleHomePageBCItems());539 var bcInfoItems;540 bcInfoItems = { pageName: 'UnitsHomePage', items: menuItems };541 this.addToBreadCrumbs(bcInfoItems);542 };543 BreadCrumbsService.prototype.adminUnitsPageBCItems = function () {544 var menuItem = { label: 'Units', routerLink: ['/admin/vehicle/units'] };545 return menuItem;546 };547 BreadCrumbsService.prototype.adminUnitsAddPage = function () {548 var menuItems = [];549 menuItems.push(this.homeBreadCrumbItem());550 menuItems.push(this.adminHomePageBCItems());551 menuItems.push(this.adminVehicleHomePageBCItems());552 menuItems.push(this.adminUnitsPageBCItems());553 var bcInfoItems;554 bcInfoItems = { pageName: 'UnitsAddPage', items: menuItems };555 this.addToBreadCrumbs(bcInfoItems);556 };557 BreadCrumbsService.prototype.adminUnitsAddPageBCItems = function () {558 var menuItem = { label: 'Add Units', routerLink: ['/admin/vehicle/units'] };559 return menuItem;560 };561 BreadCrumbsService.prototype.adminUnitsDetailsPage = function () {562 var menuItems = [];563 menuItems.push(this.homeBreadCrumbItem());564 menuItems.push(this.adminHomePageBCItems());565 menuItems.push(this.adminVehicleHomePageBCItems());566 menuItems.push(this.adminUnitsPageBCItems());567 var bcInfoItems;568 bcInfoItems = { pageName: 'UnitsDetailsPage', items: menuItems };569 this.addToBreadCrumbs(bcInfoItems);570 };571 BreadCrumbsService.prototype.adminUnitsDetailsPageBCItems = function () {572 var menuItem = { label: 'Units Details', routerLink: ['/admin/vehicle/units'] };573 return menuItem;574 };575 // Admin BuildLevels Bread Crumbs576 BreadCrumbsService.prototype.adminBuildLevelsPage = function () {577 var menuItems = [];578 menuItems.push(this.homeBreadCrumbItem());579 menuItems.push(this.adminHomePageBCItems());580 menuItems.push(this.adminVehicleHomePageBCItems());581 var bcInfoItems;582 bcInfoItems = { pageName: 'BuildLevelsHomePage', items: menuItems };583 this.addToBreadCrumbs(bcInfoItems);584 };585 BreadCrumbsService.prototype.adminBuildLevelsPageBCItems = function () {586 var menuItem = { label: 'BuildLevels', routerLink: ['/admin/vehicle/buildLevel'] };587 return menuItem;588 };589 BreadCrumbsService.prototype.adminBuildLevelsAddPage = function () {590 var menuItems = [];591 menuItems.push(this.homeBreadCrumbItem());592 menuItems.push(this.adminHomePageBCItems());593 menuItems.push(this.adminVehicleHomePageBCItems());594 menuItems.push(this.adminBuildLevelsPageBCItems());595 var bcInfoItems;596 bcInfoItems = { pageName: 'BuildLevelsAddPage', items: menuItems };597 this.addToBreadCrumbs(bcInfoItems);598 };599 BreadCrumbsService.prototype.adminBuildLevelsAddPageBCItems = function () {600 var menuItem = { label: 'Add BuildLevels', routerLink: ['/admin/vehicle/buildLevel'] };601 return menuItem;602 };603 BreadCrumbsService.prototype.adminBuildLevelsDetailsPage = function () {604 var menuItems = [];605 menuItems.push(this.homeBreadCrumbItem());606 menuItems.push(this.adminHomePageBCItems());607 menuItems.push(this.adminVehicleHomePageBCItems());608 menuItems.push(this.adminBuildLevelsPageBCItems());609 var bcInfoItems;610 bcInfoItems = { pageName: 'BuildLevelsDetailsPage', items: menuItems };611 this.addToBreadCrumbs(bcInfoItems);612 };613 BreadCrumbsService.prototype.adminBuildLevelsDetailsPageBCItems = function () {614 var menuItem = { label: 'BuildLevels Details', routerLink: ['/admin/vehicle/buildLevel'] };615 return menuItem;616 };617 // Admin Market Bread Crumbs618 BreadCrumbsService.prototype.adminMarketPage = function () {619 var menuItems = [];620 menuItems.push(this.homeBreadCrumbItem());621 menuItems.push(this.adminHomePageBCItems());622 menuItems.push(this.adminVehicleHomePageBCItems());623 var bcInfoItems;624 bcInfoItems = { pageName: 'MarketHomePage', items: menuItems };625 this.addToBreadCrumbs(bcInfoItems);626 };627 BreadCrumbsService.prototype.adminMarketPageBCItems = function () {628 var menuItem = { label: 'Market', routerLink: ['/admin/vehicle/market'] };629 return menuItem;630 };631 BreadCrumbsService.prototype.adminMarketAddPage = function () {632 var menuItems = [];633 menuItems.push(this.homeBreadCrumbItem());634 menuItems.push(this.adminHomePageBCItems());635 menuItems.push(this.adminVehicleHomePageBCItems());636 menuItems.push(this.adminMarketPageBCItems());637 var bcInfoItems;638 bcInfoItems = { pageName: 'MarketAddPage', items: menuItems };639 this.addToBreadCrumbs(bcInfoItems);640 };641 BreadCrumbsService.prototype.adminMarketAddPageBCItems = function () {642 var menuItem = { label: 'Add Market', routerLink: ['/admin/vehicle/market'] };643 return menuItem;644 };645 BreadCrumbsService.prototype.adminMarketDetailsPage = function () {646 var menuItems = [];647 menuItems.push(this.homeBreadCrumbItem());648 menuItems.push(this.adminHomePageBCItems());649 menuItems.push(this.adminVehicleHomePageBCItems());650 menuItems.push(this.adminMarketPageBCItems());651 var bcInfoItems;652 bcInfoItems = { pageName: 'MarketDetailsPage', items: menuItems };653 this.addToBreadCrumbs(bcInfoItems);654 };655 BreadCrumbsService.prototype.adminMarketDetailsPageBCItems = function () {656 var menuItem = { label: 'Market Details', routerLink: ['/admin/vehicle/market'] };657 return menuItem;658 };659 // Admin Platform Bread Crumbs660 BreadCrumbsService.prototype.adminPlatformPage = function () {661 var menuItems = [];662 menuItems.push(this.homeBreadCrumbItem());663 menuItems.push(this.adminHomePageBCItems());664 menuItems.push(this.adminVehicleHomePageBCItems());665 var bcInfoItems;666 bcInfoItems = { pageName: 'PlatformHomePage', items: menuItems };667 this.addToBreadCrumbs(bcInfoItems);668 };669 BreadCrumbsService.prototype.adminPlatformPageBCItems = function () {670 var menuItem = { label: 'Platform', routerLink: ['/admin/vehicle/platform'] };671 return menuItem;672 };673 BreadCrumbsService.prototype.adminPlatformAddPage = function () {674 var menuItems = [];675 menuItems.push(this.homeBreadCrumbItem());676 menuItems.push(this.adminHomePageBCItems());677 menuItems.push(this.adminVehicleHomePageBCItems());678 menuItems.push(this.adminPlatformPageBCItems());679 var bcInfoItems;680 bcInfoItems = { pageName: 'PlatformAddPage', items: menuItems };681 this.addToBreadCrumbs(bcInfoItems);682 };683 BreadCrumbsService.prototype.adminPlatformAddPageBCItems = function () {684 var menuItem = { label: 'Add Platform', routerLink: ['/admin/vehicle/platform'] };685 return menuItem;686 };687 BreadCrumbsService.prototype.adminPlatformDetailsPage = function () {688 var menuItems = [];689 menuItems.push(this.homeBreadCrumbItem());690 menuItems.push(this.adminHomePageBCItems());691 menuItems.push(this.adminVehicleHomePageBCItems());692 menuItems.push(this.adminPlatformPageBCItems());693 var bcInfoItems;694 bcInfoItems = { pageName: 'PlatformDetailsPage', items: menuItems };695 this.addToBreadCrumbs(bcInfoItems);696 };697 BreadCrumbsService.prototype.adminPlatformDetailsPageBCItems = function () {698 var menuItem = { label: 'Platform Details', routerLink: ['/admin/vehicle/platform'] };699 return menuItem;700 };701 // Admin TitanRole Bread Crumbs702 BreadCrumbsService.prototype.adminTitanRolePage = function () {703 var menuItems = [];704 menuItems.push(this.homeBreadCrumbItem());705 menuItems.push(this.adminHomePageBCItems());706 menuItems.push(this.adminVehicleHomePageBCItems());707 var bcInfoItems;708 bcInfoItems = { pageName: 'TitanRoleHomePage', items: menuItems };709 this.addToBreadCrumbs(bcInfoItems);710 };711 BreadCrumbsService.prototype.adminTitanRolePageBCItems = function () {712 var menuItem = { label: 'TitanRole', routerLink: ['/admin/vehicle/titanRole'] };713 return menuItem;714 };715 BreadCrumbsService.prototype.adminTitanRoleAddPage = function () {716 var menuItems = [];717 menuItems.push(this.homeBreadCrumbItem());718 menuItems.push(this.adminHomePageBCItems());719 menuItems.push(this.adminVehicleHomePageBCItems());720 menuItems.push(this.adminTitanRolePageBCItems());721 var bcInfoItems;722 bcInfoItems = { pageName: 'TitanRoleAddPage', items: menuItems };723 this.addToBreadCrumbs(bcInfoItems);724 };725 BreadCrumbsService.prototype.adminTitanRoleAddPageBCItems = function () {726 var menuItem = { label: 'Add TitanRole', routerLink: ['/admin/vehicle/titanRole'] };727 return menuItem;728 };729 BreadCrumbsService.prototype.adminTitanRoleDetailsPage = function () {730 var menuItems = [];731 menuItems.push(this.homeBreadCrumbItem());732 menuItems.push(this.adminHomePageBCItems());733 menuItems.push(this.adminVehicleHomePageBCItems());734 menuItems.push(this.adminTitanRolePageBCItems());735 var bcInfoItems;736 bcInfoItems = { pageName: 'TitanRoleDetailsPage', items: menuItems };737 this.addToBreadCrumbs(bcInfoItems);738 };739 BreadCrumbsService.prototype.adminTitanRoleDetailsPageBCItems = function () {740 var menuItem = { label: 'TitanRole Details', routerLink: ['/admin/vehicle/titanRole'] };741 return menuItem;742 };743 // Admin MilestoneStatus Bread Crumbs744 BreadCrumbsService.prototype.adminMilestoneStatusPage = function () {745 var menuItems = [];746 menuItems.push(this.homeBreadCrumbItem());747 menuItems.push(this.adminHomePageBCItems());748 menuItems.push(this.adminVehicleHomePageBCItems());749 var bcInfoItems;750 bcInfoItems = { pageName: 'MilestoneStatusHomePage', items: menuItems };751 this.addToBreadCrumbs(bcInfoItems);752 };753 BreadCrumbsService.prototype.adminMilestoneStatusPageBCItems = function () {754 var menuItem = { label: 'MilestoneStatus', routerLink: ['/admin/vehicle/milestoneStatus'] };755 return menuItem;756 };757 BreadCrumbsService.prototype.adminMilestoneStatusAddPage = function () {758 var menuItems = [];759 menuItems.push(this.homeBreadCrumbItem());760 menuItems.push(this.adminHomePageBCItems());761 menuItems.push(this.adminVehicleHomePageBCItems());762 menuItems.push(this.adminMilestoneStatusPageBCItems());763 var bcInfoItems;764 bcInfoItems = { pageName: 'MilestoneStatusAddPage', items: menuItems };765 this.addToBreadCrumbs(bcInfoItems);766 };767 BreadCrumbsService.prototype.adminMilestoneStatusAddPageBCItems = function () {768 var menuItem = { label: 'Add MilestoneStatus', routerLink: ['/admin/vehicle/milestoneStatus'] };769 return menuItem;770 };771 BreadCrumbsService.prototype.adminMilestoneStatusDetailsPage = function () {772 var menuItems = [];773 menuItems.push(this.homeBreadCrumbItem());774 menuItems.push(this.adminHomePageBCItems());775 menuItems.push(this.adminVehicleHomePageBCItems());776 menuItems.push(this.adminMilestoneStatusPageBCItems());777 var bcInfoItems;778 bcInfoItems = { pageName: 'MilestoneStatusDetailsPage', items: menuItems };779 this.addToBreadCrumbs(bcInfoItems);780 };781 BreadCrumbsService.prototype.adminMilestoneStatusDetailsPageBCItems = function () {782 var menuItem = { label: 'MilestoneStatus Details', routerLink: ['/admin/vehicle/milestoneStatus'] };783 return menuItem;784 };785 // Admin ProjectStatus Bread Crumbs786 BreadCrumbsService.prototype.adminProjectStatusPage = function () {787 var menuItems = [];788 menuItems.push(this.homeBreadCrumbItem());789 menuItems.push(this.adminHomePageBCItems());790 menuItems.push(this.adminVehicleHomePageBCItems());791 // menuItems.push(this.adminHolidayPageBCItems());792 var bcInfoItems;793 bcInfoItems = { pageName: 'ProjectStatusHomePage', items: menuItems };794 this.addToBreadCrumbs(bcInfoItems);795 };796 BreadCrumbsService.prototype.adminProjectStatusPageBCItems = function () {797 var menuItem = { label: 'ProjectStatus', routerLink: ['/admin/'] };798 return menuItem;799 };800 // Admin ProjectRole Bread Crumbs801 BreadCrumbsService.prototype.adminProjectRolePage = function () {802 var menuItems = [];803 menuItems.push(this.homeBreadCrumbItem());804 menuItems.push(this.adminHomePageBCItems());805 menuItems.push(this.adminVehicleHomePageBCItems());806 // menuItems.push(this.adminHolidayPageBCItems());807 var bcInfoItems;808 bcInfoItems = { pageName: 'ProjectRoleHomePage', items: menuItems };809 this.addToBreadCrumbs(bcInfoItems);810 };811 BreadCrumbsService.prototype.adminProjectRolePageBCItems = function () {812 var menuItem = { label: 'ProjectRole', routerLink: ['/admin/'] };813 return menuItem;814 };815 // Admin Milestone Bread Crumbs816 BreadCrumbsService.prototype.adminMilestonePage = function () {817 var menuItems = [];818 menuItems.push(this.homeBreadCrumbItem());819 menuItems.push(this.adminHomePageBCItems());820 menuItems.push(this.adminVehicleHomePageBCItems());821 // menuItems.push(this.adminHolidayPageBCItems());822 var bcInfoItems;823 bcInfoItems = { pageName: 'MilestoneHomePage', items: menuItems };824 this.addToBreadCrumbs(bcInfoItems);825 };826 BreadCrumbsService.prototype.adminMilestonePageBCItems = function () {827 var menuItem = { label: 'Milestone', routerLink: ['/admin/'] };828 return menuItem;829 };830 // Admin MilestoneCategory Bread Crumbs831 BreadCrumbsService.prototype.adminMilestoneCategoryPage = function () {832 var menuItems = [];833 menuItems.push(this.homeBreadCrumbItem());834 menuItems.push(this.adminHomePageBCItems());835 menuItems.push(this.adminVehicleHomePageBCItems());836 // menuItems.push(this.adminHolidayPageBCItems());837 var bcInfoItems;838 bcInfoItems = { pageName: 'MilestoneCategoryHomePage', items: menuItems };839 this.addToBreadCrumbs(bcInfoItems);840 };841 BreadCrumbsService.prototype.adminMilestoneCategoryPageBCItems = function () {842 var menuItem = { label: 'MilestoneCategory', routerLink: ['/admin/'] };843 return menuItem;844 };845 // Admin MilestoneType Bread Crumbs846 BreadCrumbsService.prototype.adminMilestoneTypePage = function () {847 var menuItems = [];848 menuItems.push(this.homeBreadCrumbItem());849 menuItems.push(this.adminHomePageBCItems());850 menuItems.push(this.adminVehicleHomePageBCItems());851 // menuItems.push(this.adminHolidayPageBCItems());852 var bcInfoItems;853 bcInfoItems = { pageName: 'MilestoneTypeHomePage', items: menuItems };854 this.addToBreadCrumbs(bcInfoItems);855 };856 BreadCrumbsService.prototype.adminMilestoneTypePageBCItems = function () {857 var menuItem = { label: 'MilestoneType', routerLink: ['/admin/'] };858 return menuItem;859 };860 // Admin Grade Bread Crumbs861 BreadCrumbsService.prototype.adminGradePage = function () {862 var menuItems = [];863 menuItems.push(this.homeBreadCrumbItem());864 menuItems.push(this.adminHomePageBCItems());865 menuItems.push(this.adminVehicleHomePageBCItems());866 // menuItems.push(this.adminHolidayPageBCItems());867 var bcInfoItems;868 bcInfoItems = { pageName: 'GradeHomePage', items: menuItems };869 this.addToBreadCrumbs(bcInfoItems);870 };871 BreadCrumbsService.prototype.adminGradePageBCItems = function () {872 var menuItem = { label: 'Grade', routerLink: ['/admin/'] };873 return menuItem;874 };875 // Admin ModelName Bread Crumbs876 BreadCrumbsService.prototype.adminModelNamePage = function () {877 var menuItems = [];878 menuItems.push(this.homeBreadCrumbItem());879 menuItems.push(this.adminHomePageBCItems());880 menuItems.push(this.adminVehicleHomePageBCItems());881 // menuItems.push(this.adminHolidayPageBCItems());882 var bcInfoItems;883 bcInfoItems = { pageName: 'ModelNameHomePage', items: menuItems };884 this.addToBreadCrumbs(bcInfoItems);885 };886 BreadCrumbsService.prototype.adminModelNamePageBCItems = function () {887 var menuItem = { label: 'ModelName', routerLink: ['/admin/'] };888 return menuItem;889 };890 // Admin ModelYear Bread Crumbs891 BreadCrumbsService.prototype.adminModelYearPage = function () {892 var menuItems = [];893 menuItems.push(this.homeBreadCrumbItem());894 menuItems.push(this.adminHomePageBCItems());895 menuItems.push(this.adminVehicleHomePageBCItems());896 // menuItems.push(this.adminHolidayPageBCItems());897 var bcInfoItems;898 bcInfoItems = { pageName: 'ModelYearHomePage', items: menuItems };899 this.addToBreadCrumbs(bcInfoItems);900 };901 BreadCrumbsService.prototype.adminModelYearPageBCItems = function () {902 var menuItem = { label: 'ModelYear', routerLink: ['/admin/'] };903 return menuItem;904 };905 // Admin Access Bread Crumbs906 BreadCrumbsService.prototype.adminAccessPage = function () {907 var menuItems = [];908 menuItems.push(this.homeBreadCrumbItem());909 menuItems.push(this.adminHomePageBCItems());910 menuItems.push(this.adminVehicleHomePageBCItems());911 // menuItems.push(this.adminHolidayPageBCItems());912 var bcInfoItems;913 bcInfoItems = { pageName: 'AccessHomePage', items: menuItems };914 this.addToBreadCrumbs(bcInfoItems);915 };916 BreadCrumbsService.prototype.adminAccessPageBCItems = function () {917 var menuItem = { label: 'Access', routerLink: ['/admin/'] };918 return menuItem;919 };920 // Admin AccessGroup Bread Crumbs921 BreadCrumbsService.prototype.adminAccessGroupPage = function () {922 var menuItems = [];923 menuItems.push(this.homeBreadCrumbItem());924 menuItems.push(this.adminHomePageBCItems());925 menuItems.push(this.adminVehicleHomePageBCItems());926 // menuItems.push(this.adminHolidayPageBCItems());927 var bcInfoItems;928 bcInfoItems = { pageName: 'AccessGroupHomePage', items: menuItems };929 this.addToBreadCrumbs(bcInfoItems);930 };931 BreadCrumbsService.prototype.adminAccessGroupPageBCItems = function () {932 var menuItem = { label: 'AccessGroup', routerLink: ['/admin/'] };933 return menuItem;934 };935 // Admin Permission Bread Crumbs936 BreadCrumbsService.prototype.adminPermissionPage = function () {937 var menuItems = [];938 menuItems.push(this.homeBreadCrumbItem());939 menuItems.push(this.adminHomePageBCItems());940 menuItems.push(this.adminVehicleHomePageBCItems());941 // menuItems.push(this.adminHolidayPageBCItems());942 var bcInfoItems;943 bcInfoItems = { pageName: 'PermissionHomePage', items: menuItems };944 this.addToBreadCrumbs(bcInfoItems);945 };946 BreadCrumbsService.prototype.adminPermissionPageBCItems = function () {947 var menuItem = { label: 'Permission', routerLink: ['/admin/'] };948 return menuItem;949 };950 // Admin Role Bread Crumbs951 BreadCrumbsService.prototype.adminRolePage = function () {952 var menuItems = [];953 menuItems.push(this.homeBreadCrumbItem());954 menuItems.push(this.adminHomePageBCItems());955 menuItems.push(this.adminVehicleHomePageBCItems());956 // menuItems.push(this.adminHolidayPageBCItems());957 var bcInfoItems;958 bcInfoItems = { pageName: 'RoleHomePage', items: menuItems };959 this.addToBreadCrumbs(bcInfoItems);960 };961 BreadCrumbsService.prototype.adminRolePageBCItems = function () {962 var menuItem = { label: 'Role', routerLink: ['/admin/'] };963 return menuItem;964 };965 // Admin MaintenanceFrequency Bread Crumbs966 BreadCrumbsService.prototype.adminMaintenanceFrequencyPage = function () {967 var menuItems = [];968 menuItems.push(this.homeBreadCrumbItem());969 menuItems.push(this.adminHomePageBCItems());970 menuItems.push(this.adminVehicleHomePageBCItems());971 // menuItems.push(this.adminHolidayPageBCItems());972 var bcInfoItems;973 bcInfoItems = { pageName: 'MaintenanceFrequencyHomePage', items: menuItems };974 this.addToBreadCrumbs(bcInfoItems);975 };976 BreadCrumbsService.prototype.adminMaintenanceFrequencyPageBCItems = function () {977 var menuItem = { label: 'MaintenanceFrequency', routerLink: ['/admin/'] };978 return menuItem;979 };980 // Admin OperatingHours Bread Crumbs981 BreadCrumbsService.prototype.adminOperatingHoursPage = function () {982 var menuItems = [];983 menuItems.push(this.homeBreadCrumbItem());984 menuItems.push(this.adminHomePageBCItems());985 menuItems.push(this.adminVehicleHomePageBCItems());986 // menuItems.push(this.adminHolidayPageBCItems());987 var bcInfoItems;988 bcInfoItems = { pageName: 'OperatingHoursHomePage', items: menuItems };989 this.addToBreadCrumbs(bcInfoItems);990 };991 BreadCrumbsService.prototype.adminOperatingHoursPageBCItems = function () {992 var menuItem = { label: 'OperatingHours', routerLink: ['/admin/'] };993 return menuItem;994 };995 // Admin TestStatus Bread Crumbs996 BreadCrumbsService.prototype.adminTestStatusPage = function () {997 var menuItems = [];998 menuItems.push(this.homeBreadCrumbItem());999 menuItems.push(this.adminHomePageBCItems());1000 menuItems.push(this.adminVehicleHomePageBCItems());1001 // menuItems.push(this.adminHolidayPageBCItems());1002 var bcInfoItems;1003 bcInfoItems = { pageName: 'TestStatusHomePage', items: menuItems };1004 this.addToBreadCrumbs(bcInfoItems);1005 };1006 BreadCrumbsService.prototype.adminTestStatusPageBCItems = function () {1007 var menuItem = { label: 'Test Staus', routerLink: ['/admin/'] };1008 return menuItem;1009 };1010 // Admin TestRole Bread Crumbs1011 BreadCrumbsService.prototype.adminTestRolePage = function () {1012 var menuItems = [];1013 menuItems.push(this.homeBreadCrumbItem());1014 menuItems.push(this.adminHomePageBCItems());1015 menuItems.push(this.adminVehicleHomePageBCItems());1016 // menuItems.push(this.adminHolidayPageBCItems());1017 var bcInfoItems;1018 bcInfoItems = { pageName: 'TestRoleHomePage', items: menuItems };1019 this.addToBreadCrumbs(bcInfoItems);1020 };1021 BreadCrumbsService.prototype.adminTestRolePageBCItems = function () {1022 var menuItem = { label: 'Test Role', routerLink: ['/admin/'] };1023 return menuItem;1024 };1025 // Admin DownTimeReason Bread Crumbs1026 BreadCrumbsService.prototype.adminDownTimeReasonPage = function () {1027 var menuItems = [];1028 menuItems.push(this.homeBreadCrumbItem());1029 menuItems.push(this.adminHomePageBCItems());1030 menuItems.push(this.adminVehicleHomePageBCItems());1031 // menuItems.push(this.adminHolidayPageBCItems());1032 var bcInfoItems;1033 bcInfoItems = { pageName: 'DownTimeReasonHomePage', items: menuItems };1034 this.addToBreadCrumbs(bcInfoItems);1035 };1036 BreadCrumbsService.prototype.adminDownTimeReasonPageBCItems = function () {1037 var menuItem = { label: 'DownTimeReason', routerLink: ['/admin/'] };1038 return menuItem;1039 };1040 // Admin TestActivity Bread Crumbs1041 BreadCrumbsService.prototype.adminTestActivityPage = function () {1042 var menuItems = [];1043 menuItems.push(this.homeBreadCrumbItem());1044 menuItems.push(this.adminHomePageBCItems());1045 menuItems.push(this.adminVehicleHomePageBCItems());1046 // menuItems.push(this.adminHolidayPageBCItems());1047 var bcInfoItems;1048 bcInfoItems = { pageName: 'TestActivityHomePage', items: menuItems };1049 this.addToBreadCrumbs(bcInfoItems);1050 };1051 BreadCrumbsService.prototype.adminTestActivityPageBCItems = function () {1052 var menuItem = { label: 'TestActivity', routerLink: ['/admin/'] };1053 return menuItem;1054 };1055 // Admin Priority Bread Crumbs1056 BreadCrumbsService.prototype.adminPriorityPage = function () {1057 var menuItems = [];1058 menuItems.push(this.homeBreadCrumbItem());1059 menuItems.push(this.adminHomePageBCItems());1060 menuItems.push(this.adminVehicleHomePageBCItems());1061 // menuItems.push(this.adminHolidayPageBCItems());1062 var bcInfoItems;1063 bcInfoItems = { pageName: 'PriorityHomePage', items: menuItems };1064 this.addToBreadCrumbs(bcInfoItems);1065 };1066 BreadCrumbsService.prototype.adminPriorityPageBCItems = function () {1067 var menuItem = { label: 'Priority', routerLink: ['/admin/'] };1068 return menuItem;1069 };1070 // Admin Judgement Bread Crumbs1071 BreadCrumbsService.prototype.adminJudgementPage = function () {1072 var menuItems = [];1073 menuItems.push(this.homeBreadCrumbItem());1074 menuItems.push(this.adminHomePageBCItems());1075 menuItems.push(this.adminVehicleHomePageBCItems());1076 // menuItems.push(this.adminHolidayPageBCItems());1077 var bcInfoItems;1078 bcInfoItems = { pageName: 'JudgementHomePage', items: menuItems };1079 this.addToBreadCrumbs(bcInfoItems);1080 };1081 BreadCrumbsService.prototype.adminJudgementPageBCItems = function () {1082 var menuItem = { label: 'Judgement', routerLink: ['/admin/'] };1083 return menuItem;1084 };1085 // Admin TestStage Bread Crumbs1086 BreadCrumbsService.prototype.adminTestStagePage = function () {1087 var menuItems = [];1088 menuItems.push(this.homeBreadCrumbItem());1089 menuItems.push(this.adminHomePageBCItems());1090 menuItems.push(this.adminVehicleHomePageBCItems());1091 // menuItems.push(this.adminHolidayPageBCItems());1092 var bcInfoItems;1093 bcInfoItems = { pageName: 'TestStageHomePage', items: menuItems };1094 this.addToBreadCrumbs(bcInfoItems);1095 };1096 BreadCrumbsService.prototype.adminTestStagePageBCItems = function () {1097 var menuItem = { label: 'TestStage', routerLink: ['/admin/'] };1098 return menuItem;1099 };1100 // Admin RequirementItemType Bread Crumbs1101 BreadCrumbsService.prototype.adminRequirementItemTypePage = function () {1102 var menuItems = [];1103 menuItems.push(this.homeBreadCrumbItem());1104 menuItems.push(this.adminHomePageBCItems());1105 menuItems.push(this.adminVehicleHomePageBCItems());1106 // menuItems.push(this.adminHolidayPageBCItems());1107 var bcInfoItems;1108 bcInfoItems = { pageName: 'RequirementItemTypeHomePage', items: menuItems };1109 this.addToBreadCrumbs(bcInfoItems);1110 };1111 BreadCrumbsService.prototype.adminRequirementItemTypeBCItems = function () {1112 var menuItem = { label: 'RequirementItemType', routerLink: ['/admin/'] };1113 return menuItem;1114 };1115 // Admin SensorType Bread Crumbs1116 BreadCrumbsService.prototype.adminSensorTypePage = function () {1117 var menuItems = [];1118 menuItems.push(this.homeBreadCrumbItem());1119 menuItems.push(this.adminHomePageBCItems());1120 menuItems.push(this.adminVehicleHomePageBCItems());1121 // menuItems.push(this.adminHolidayPageBCItems());1122 var bcInfoItems;1123 bcInfoItems = { pageName: 'SensorTypeHomePage', items: menuItems };1124 this.addToBreadCrumbs(bcInfoItems);1125 };1126 BreadCrumbsService.prototype.adminSensorTypeBCItems = function () {1127 var menuItem = { label: 'SensorType', routerLink: ['/admin/'] };1128 return menuItem;1129 };1130 // Admin StepFrequency Bread Crumbs1131 BreadCrumbsService.prototype.adminStepFrequencyPage = function () {1132 var menuItems = [];1133 menuItems.push(this.homeBreadCrumbItem());1134 menuItems.push(this.adminHomePageBCItems());1135 menuItems.push(this.adminVehicleHomePageBCItems());1136 // menuItems.push(this.adminHolidayPageBCItems());1137 var bcInfoItems;1138 bcInfoItems = { pageName: 'StepFrequencyHomePage', items: menuItems };1139 this.addToBreadCrumbs(bcInfoItems);1140 };1141 BreadCrumbsService.prototype.adminStepFrequencyBCItems = function () {1142 var menuItem = { label: 'StepFrequency', routerLink: ['/admin/'] };1143 return menuItem;1144 };1145 // Admin TestMode Bread Crumbs1146 BreadCrumbsService.prototype.adminTestModePage = function () {1147 var menuItems = [];1148 menuItems.push(this.homeBreadCrumbItem());1149 menuItems.push(this.adminHomePageBCItems());1150 menuItems.push(this.adminVehicleHomePageBCItems());1151 // menuItems.push(this.adminHolidayPageBCItems());1152 var bcInfoItems;1153 bcInfoItems = { pageName: 'TestModeHomePage', items: menuItems };1154 this.addToBreadCrumbs(bcInfoItems);1155 };1156 BreadCrumbsService.prototype.adminTestModeBCItems = function () {1157 var menuItem = { label: 'TestMode', routerLink: ['/admin/'] };1158 return menuItem;1159 };1160 // Admin StepType Bread Crumbs1161 BreadCrumbsService.prototype.adminStepTypePage = function () {1162 var menuItems = [];1163 menuItems.push(this.homeBreadCrumbItem());1164 menuItems.push(this.adminHomePageBCItems());1165 menuItems.push(this.adminVehicleHomePageBCItems());1166 // menuItems.push(this.adminHolidayPageBCItems());1167 var bcInfoItems;1168 bcInfoItems = { pageName: 'StepTypeHomePage', items: menuItems };1169 this.addToBreadCrumbs(bcInfoItems);1170 };1171 BreadCrumbsService.prototype.adminStepTypeBCItems = function () {1172 var menuItem = { label: 'StepType', routerLink: ['/admin/'] };1173 return menuItem;1174 };1175 // Admin TestType Bread Crumbs1176 BreadCrumbsService.prototype.adminTestTypePage = function () {1177 var menuItems = [];1178 menuItems.push(this.homeBreadCrumbItem());1179 menuItems.push(this.adminHomePageBCItems());1180 menuItems.push(this.adminVehicleHomePageBCItems());1181 // menuItems.push(this.adminHolidayPageBCItems());1182 var bcInfoItems;1183 bcInfoItems = { pageName: 'TestTypeHomePage', items: menuItems };1184 this.addToBreadCrumbs(bcInfoItems);1185 };1186 BreadCrumbsService.prototype.adminTestTypeBCItems = function () {1187 var menuItem = { label: 'TestType', routerLink: ['/admin/'] };1188 return menuItem;1189 };1190 // Admin TestRequirement Bread Crumbs1191 BreadCrumbsService.prototype.adminTestRequirementPage = function () {1192 var menuItems = [];1193 menuItems.push(this.homeBreadCrumbItem());1194 menuItems.push(this.adminHomePageBCItems());1195 menuItems.push(this.adminVehicleHomePageBCItems());1196 // menuItems.push(this.adminHolidayPageBCItems());1197 var bcInfoItems;1198 bcInfoItems = { pageName: 'TestRequirementHomePage', items: menuItems };1199 this.addToBreadCrumbs(bcInfoItems);1200 };1201 BreadCrumbsService.prototype.adminTestRequirementBCItems = function () {1202 var menuItem = { label: 'TestRequirement', routerLink: ['/admin/'] };1203 return menuItem;1204 };1205 // Admin TestVerificationMethod Bread Crumbs1206 BreadCrumbsService.prototype.adminTestVerificationMethodPage = function () {1207 var menuItems = [];1208 menuItems.push(this.homeBreadCrumbItem());1209 menuItems.push(this.adminHomePageBCItems());1210 menuItems.push(this.adminVehicleHomePageBCItems());1211 // menuItems.push(this.adminHolidayPageBCItems());1212 var bcInfoItems;1213 bcInfoItems = { pageName: 'TestVerificationMethodHomePage', items: menuItems };1214 this.addToBreadCrumbs(bcInfoItems);1215 };1216 BreadCrumbsService.prototype.adminTestVerificationMethodBCItems = function () {1217 var menuItem = { label: 'TestVerificationMethod', routerLink: ['/admin/'] };1218 return menuItem;1219 };1220 // Admin VehicleType Bread Crumbs1221 BreadCrumbsService.prototype.adminVehicleTypePage = function () {1222 var menuItems = [];1223 menuItems.push(this.homeBreadCrumbItem());1224 menuItems.push(this.adminHomePageBCItems());1225 menuItems.push(this.adminVehicleHomePageBCItems());1226 // menuItems.push(this.adminHolidayPageBCItems());1227 var bcInfoItems;1228 bcInfoItems = { pageName: 'VehicleTypeHomePage', items: menuItems };1229 this.addToBreadCrumbs(bcInfoItems);1230 };1231 BreadCrumbsService.prototype.adminVehicleTypeBCItems = function () {1232 var menuItem = { label: 'VehicleType', routerLink: ['/admin/'] };1233 return menuItem;1234 };1235 // Admin EngineCode Bread Crumbs1236 BreadCrumbsService.prototype.adminEngineCodePage = function () {1237 var menuItems = [];1238 menuItems.push(this.homeBreadCrumbItem());1239 menuItems.push(this.adminHomePageBCItems());1240 menuItems.push(this.adminVehicleHomePageBCItems());1241 // menuItems.push(this.adminHolidayPageBCItems());1242 var bcInfoItems;1243 bcInfoItems = { pageName: 'EngineCodeHomePage', items: menuItems };1244 this.addToBreadCrumbs(bcInfoItems);1245 };1246 BreadCrumbsService.prototype.adminEngineCodeBCItems = function () {1247 var menuItem = { label: 'EngineCode', routerLink: ['/admin/'] };1248 return menuItem;1249 };1250 BreadCrumbsService.prototype.getBreadCrumbs = function () {1251 return this.breadCrumbs;1252 };1253 BreadCrumbsService.prototype.addToBreadCrumbs = function (item) {1254 this.breadCrumbs.push(item);1255 };1256 BreadCrumbsService.prototype.bcNavigation = function (event) {1257 console.log('BreadCrumb Service ----', event);1258 };1259 BreadCrumbsService = __decorate([1260 core_1.Injectable()1261 ], BreadCrumbsService);1262 return BreadCrumbsService;1263}());...
homeBreadCrumb.js
Source:homeBreadCrumb.js
1import React, { Component } from 'react';2import { Breadcrumb } from 'antd';3import HomeBreadCrumbItem from './homeBreadCrumbItem'4import * as Style from '../../style/myStyle'5class homeBreadCrumb extends Component {6 render() {7 const pathComponents = this.props.pathName.split("/");8 return (9 <Breadcrumb style={Style.homeLayoutBreadcrumb}>10 {pathComponents.map(11 function (pathComponent) { return <HomeBreadCrumbItem pathComponent={pathComponent} /> }12 )}13 </Breadcrumb>14 );15 }16}...
Using AI Code Generation
1var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;2var HomeBreadcrumbItem = require('argos/Views/_EditBase').prototype.HomeBreadcrumbItem;3var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;4var HomeBreadcrumbItem = require('argos/Views/_DetailBase').HomeBreadcrumbItem;5var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;6var HomeBreadcrumbItem = require('argos/Views/_DetailBase').HomeBreadcrumbItem;7var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;8var HomeBreadcrumbItem = require('argos/Views/_DetailBase').HomeBreadcrumbItem;9var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;10var HomeBreadcrumbItem = require('argos/Views/_DetailBase').HomeBreadcrumbItem;11var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;12var HomeBreadcrumbItem = require('argos/Views/_DetailBase').HomeBreadcrumbItem;
Using AI Code Generation
1require([2], function(3) {4 Detail.prototype.createLayout = function() {5 return this.layout || (this.layout = [{6 children: [{7 }]8 }]);9 };10});11require([12], function(13) {14 Detail.prototype.createLayout = function() {15 return this.layout || (this.layout = [{16 children: [{17 }]18 }]);19 };20});21require([22], function(23) {24 Detail.prototype.createLayout = function() {25 return this.layout || (this.layout = [{26 children: [{27 }]28 }]);29 };30});
Using AI Code Generation
1import Utility from 'argos/Utility';2const home = Utility.getHomeBreadcrumbItem();3import { getHomeBreadcrumbItem } from 'argos/Utility';4const home = getHomeBreadcrumbItem();5import { Utility } from 'argos/Utility';6const home = Utility.getHomeBreadcrumbItem();7import { getHomeBreadcrumbItem } from 'argos/Utility';8const home = getHomeBreadcrumbItem();9import Utility from 'argos/Utility';10const home = Utility.getHomeBreadcrumbItem();11import { getHomeBreadcrumbItem } from 'argos/Utility';12const home = getHomeBreadcrumbItem();13import { Utility } from 'argos/Utility';14const home = Utility.getHomeBreadcrumbItem();15import { getHomeBreadcrumbItem } from 'argos/Utility';16const home = getHomeBreadcrumbItem();17import Utility from 'argos/Utility';18const home = Utility.getHomeBreadcrumbItem();19import { getHomeBreadcrumbItem } from 'argos/Utility';20const home = getHomeBreadcrumbItem();21import { Utility } from 'argos/Utility';22const home = Utility.getHomeBreadcrumbItem();23import { getHomeBreadcrumbItem } from 'argos/Utility';24const home = getHomeBreadcrumbItem();25import Utility from 'argos/Utility';
Using AI Code Generation
1var HomeBreadcrumbItem = require('argos/Views/_DetailBase').prototype.HomeBreadcrumbItem;2var homeBreadcrumbItem = new HomeBreadcrumbItem();3homeBreadcrumbItem.text = 'Home';4homeBreadcrumbItem.view = 'home';5homeBreadcrumbItem.options = { returnTo: 0, trigger: true };6homeBreadcrumbItem.key = 'home';7homeBreadcrumbItem.descriptor = 'Home';8homeBreadcrumbItem.title = 'Home';9homeBreadcrumbItem.resourceKind = 'home';10homeBreadcrumbItem.resourceProperty = 'home';11homeBreadcrumbItem.resourcePredicate = 'home';12homeBreadcrumbItem.resourceTitle = 'home';13homeBreadcrumbItem.resourceText = 'home';14homeBreadcrumbItem.resourceTextProperty = 'home';15homeBreadcrumbItem.resourceTextProperty = 'home';
Using AI Code Generation
1require([2], function(3) {4 navigation.addHomeBreadcrumb();5});6require([7], function(8) {9 navigation.addHomeBreadcrumb('Home');10});11require([12], function(13) {14 navigation.addHomeBreadcrumb('Home');15});16require([17], function(18) {19 navigation.addHomeBreadcrumb('Home');20});21require([22], function(23) {
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!