Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | 2x | import { NavigationItem } from './account-navigation.component';
export const navigationItems: NavigationItem[] = [
{ id: 'my-account', localizationKey: 'account.my_account.overview.link', routerLink: '/account' },
{
id: 'my-purchases',
localizationKey: 'account.requisitions.purchases',
faIcon: 'cart-shopping',
isCollapsed: true,
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
children: [
{
id: 'orders',
localizationKey: 'account.order_history.link',
routerLink: '/account/orders',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'recurring-orders',
localizationKey: 'account.recurring_orders.navigation.link',
routerLink: '/account/recurring-orders',
serverSetting: 'recurringOrder.enabled',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'requisitions',
localizationKey: 'account.requisitions.requisitions',
routerLink: '/account/requisitions/buyer',
serverSetting: 'services.OrderApprovalServiceDefinition.runnable',
permission: 'APP_B2B_PURCHASE',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'quotes',
localizationKey: 'account.navigation.quotes.link',
routerLink: '/account/quotes',
feature: 'quoting',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'order-templates',
localizationKey: 'account.ordertemplates.link',
routerLink: '/account/order-templates',
feature: 'orderTemplates',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'wishlists',
localizationKey: 'account.wishlists.link',
routerLink: '/account/wishlists',
feature: 'wishlists',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
],
},
{
id: 'my-approvals',
localizationKey: 'account.requisitions.myapprovals',
faIcon: 'check',
isCollapsed: true,
serverSetting: 'services.OrderApprovalServiceDefinition.runnable',
permission: ['APP_B2B_ORDER_APPROVAL', 'APP_B2B_MANAGE_COSTCENTER'],
children: [
{
id: 'approvals',
localizationKey: 'account.requisitions.approvals',
routerLink: '/account/requisitions/approver',
serverSetting: 'services.OrderApprovalServiceDefinition.runnable',
permission: ['APP_B2B_ORDER_APPROVAL', 'APP_B2B_MANAGE_COSTCENTER'],
},
],
},
{
id: 'my-organization',
localizationKey: 'account.requisitions.organization',
faIcon: 'briefcase',
isCollapsed: true,
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
children: [
{
id: 'addresses',
localizationKey: 'account.saved_addresses.link',
routerLink: '/account/addresses',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'users',
localizationKey: 'account.organization.user_management',
routerLink: '/account/organization/users',
permission: 'APP_B2B_MANAGE_USERS',
},
{
id: 'cost-centers',
localizationKey: 'account.organization.cost_center_management',
routerLink: '/account/organization/cost-centers',
feature: 'costCenters',
permission: 'APP_B2B_MANAGE_COSTCENTER',
},
{
id: 'punchout',
localizationKey: 'account.punchout.link',
routerLink: '/account/punchout',
feature: 'punchout',
permission: 'APP_B2B_MANAGE_PUNCHOUT',
},
{
id: 'org-settings',
localizationKey: 'account.organization.org_settings',
routerLink: '/account/organization/settings',
permission: 'APP_B2B_MANAGE_USERS',
},
],
},
{
id: 'my-profile',
localizationKey: 'account.profile.myprofile',
faIcon: 'gear',
isCollapsed: true,
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
children: [
{
id: 'payment',
localizationKey: 'account.payment.link',
routerLink: '/account/payment',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'notifications',
localizationKey: 'account.notifications.link',
routerLink: '/account/notifications',
feature: 'productNotifications',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
{
id: 'profile',
localizationKey: 'account.profile.link',
routerLink: '/account/profile',
notRole: ['APP_B2B_CXML_USER', 'APP_B2B_OCI_USER'],
},
],
},
{
id: 'order-templates',
localizationKey: 'account.ordertemplates.link',
routerLink: '/account/order-templates',
feature: 'orderTemplates',
permission: 'APP_B2B_SEND_PUNCHOUT_BASKET',
},
{
id: 'logout',
localizationKey: 'account.navigation.logout.link',
faIcon: 'right-from-bracket',
routerLink: '/logout',
},
];
|