import { Routes } from '@angular/router';

export const globalMastersRoutes: Routes = [
  {
    path: 'countries',
    loadComponent: () => import('./countries/pages/country-list/country-list').then((m) => m.CountryList),
    data: { childTitle: 'Country Management', parentTitle: 'Global Master', subParentTitle: 'Configuration' },
  },
  {
    path: 'states',
    loadComponent: () => import('./states/pages/state-list/state-list').then((m) => m.StateList),
    data: { childTitle: 'State Management', parentTitle: 'Global Master', subParentTitle: 'Configuration' },
  },
  {
    path: 'cities',
    loadComponent: () => import('./cities/pages/city-list/city-list').then((m) => m.CityList),
    data: { childTitle: 'City Management', parentTitle: 'Global Master', subParentTitle: 'Configuration' },
  },
  {
    path: 'currencies',
    loadComponent: () => import('./currencies/pages/currency-list/currency-list').then((m) => m.CurrencyList),
    data: { childTitle: 'Currency Management', parentTitle: 'Global Master', subParentTitle: 'Configuration' },
  },
  {
    path: 'languages',
    loadComponent: () => import('./languages/pages/language-list/language-list').then((m) => m.LanguageList),
    data: { childTitle: 'Language Management', parentTitle: 'Global Master', subParentTitle: 'Configuration' },
  },
  {
    path: 'timezones',
    loadComponent: () => import('./timezones/pages/timezone-list/timezone-list').then((m) => m.TimezoneList),
    data: { childTitle: 'Timezone Management', parentTitle: 'Global Master', subParentTitle: 'Configuration' },
  }
];
