Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 1 | import {xosHeader} from './header/header'; |
| 2 | import {xosFooter} from './footer/footer'; |
| 3 | import {xosNav} from './nav/nav'; |
| 4 | import routesConfig from './routes'; |
| 5 | import {xosLogin} from './login/login'; |
Matteo Scandolo | 9f87f30 | 2016-12-13 18:11:10 -0800 | [diff] [blame] | 6 | import {xosTable} from './table/table'; |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 7 | import {XosRuntimeStates} from './services/runtime-states'; |
| 8 | import {IXosNavigationService} from './services/navigation'; |
Matteo Scandolo | 5655bdc | 2016-12-16 08:32:15 -0800 | [diff] [blame] | 9 | import {PageTitle} from './services/page-title'; |
Matteo Scandolo | d58d504 | 2016-12-16 16:59:21 -0800 | [diff] [blame] | 10 | import {ConfigHelpers} from './services/helpers/config.helpers'; |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 11 | import {xosLinkWrapper} from './link-wrapper/link-wrapper'; |
| 12 | import {XosFormHelpers} from './form/form-helpers'; |
| 13 | import {xosForm} from './form/form'; |
| 14 | import {xosField} from './field/field'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 15 | import 'angular-toastr'; |
Matteo Scandolo | 6f45e26 | 2017-01-09 14:47:26 -0800 | [diff] [blame] | 16 | import {xosAlert} from './alert/alert'; |
Matteo Scandolo | ac8c8c2 | 2017-01-09 15:04:32 -0800 | [diff] [blame] | 17 | import {xosValidation} from './validation/validation'; |
Matteo Scandolo | 9d7940c | 2017-01-19 18:28:43 -0800 | [diff] [blame] | 18 | import {xosSidePanel} from './side-panel/side-panel'; |
| 19 | import {XosSidePanel} from './side-panel/side-panel.service'; |
Matteo Scandolo | 4222a43 | 2017-01-23 12:18:40 -0800 | [diff] [blame] | 20 | import {XosComponentInjector} from './services/helpers/component-injector.helpers'; |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 21 | import {XosKeyboardShortcut} from './services/keyboard-shortcut'; |
| 22 | import {xosKeyBindingPanel} from './key-binding/key-binding-panel'; |
Matteo Scandolo | 8b2370c | 2017-02-02 17:19:07 -0800 | [diff] [blame] | 23 | import {xosPagination} from './pagination/pagination'; |
| 24 | import {PaginationFilter} from './pagination/pagination.filter'; |
Matteo Scandolo | ba0d92e | 2017-03-02 16:47:46 -0800 | [diff] [blame] | 25 | import {XosDebouncer} from './services/helpers/debounce.helper'; |
Matteo Scandolo | 710dc15 | 2017-04-11 13:54:23 -0700 | [diff] [blame] | 26 | import {ArrayToListFilter} from './table/array-to-list.filter'; |
Matteo Scandolo | 9b46004 | 2017-04-14 16:24:45 -0700 | [diff] [blame] | 27 | import {xosLoader} from './loader/loader'; |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 28 | |
| 29 | export const xosCore = 'xosCore'; |
| 30 | |
| 31 | angular |
Matteo Scandolo | 67c105f | 2017-01-09 09:30:52 -0800 | [diff] [blame] | 32 | .module('xosCore', [ |
| 33 | 'ui.router', |
| 34 | 'toastr', |
| 35 | 'ui.bootstrap.typeahead' |
| 36 | ]) |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 37 | .config(routesConfig) |
Matteo Scandolo | 1aee198 | 2017-02-17 08:33:23 -0800 | [diff] [blame] | 38 | .provider('XosRuntimeStates', XosRuntimeStates) |
| 39 | .service('XosNavigationService', IXosNavigationService) |
Matteo Scandolo | 5655bdc | 2016-12-16 08:32:15 -0800 | [diff] [blame] | 40 | .service('PageTitle', PageTitle) |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 41 | .service('XosFormHelpers', XosFormHelpers) |
Matteo Scandolo | d58d504 | 2016-12-16 16:59:21 -0800 | [diff] [blame] | 42 | .service('ConfigHelpers', ConfigHelpers) |
Matteo Scandolo | 9d7940c | 2017-01-19 18:28:43 -0800 | [diff] [blame] | 43 | .service('XosSidePanel', XosSidePanel) |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 44 | .service('XosKeyboardShortcut', XosKeyboardShortcut) |
Matteo Scandolo | 4222a43 | 2017-01-23 12:18:40 -0800 | [diff] [blame] | 45 | .service('XosComponentInjector', XosComponentInjector) |
Matteo Scandolo | ba0d92e | 2017-03-02 16:47:46 -0800 | [diff] [blame] | 46 | .service('XosDebouncer', XosDebouncer) |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 47 | .directive('xosLinkWrapper', xosLinkWrapper) |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 48 | .component('xosHeader', xosHeader) |
| 49 | .component('xosFooter', xosFooter) |
| 50 | .component('xosNav', xosNav) |
Matteo Scandolo | 9f87f30 | 2016-12-13 18:11:10 -0800 | [diff] [blame] | 51 | .component('xosLogin', xosLogin) |
Matteo Scandolo | 9b46004 | 2017-04-14 16:24:45 -0700 | [diff] [blame] | 52 | .component('xosLoader', xosLoader) |
Matteo Scandolo | 8b2370c | 2017-02-02 17:19:07 -0800 | [diff] [blame] | 53 | .component('xosPagination', xosPagination) |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 54 | .component('xosTable', xosTable) |
| 55 | .component('xosForm', xosForm) |
Matteo Scandolo | 6f45e26 | 2017-01-09 14:47:26 -0800 | [diff] [blame] | 56 | .component('xosField', xosField) |
Matteo Scandolo | ac8c8c2 | 2017-01-09 15:04:32 -0800 | [diff] [blame] | 57 | .component('xosAlert', xosAlert) |
Matteo Scandolo | 9d7940c | 2017-01-19 18:28:43 -0800 | [diff] [blame] | 58 | .component('xosValidation', xosValidation) |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 59 | .component('xosSidePanel', xosSidePanel) |
Matteo Scandolo | 8b2370c | 2017-02-02 17:19:07 -0800 | [diff] [blame] | 60 | .component('xosKeyBindingPanel', xosKeyBindingPanel) |
Matteo Scandolo | 710dc15 | 2017-04-11 13:54:23 -0700 | [diff] [blame] | 61 | .filter('pagination', PaginationFilter) |
| 62 | .filter('arrayToList', ArrayToListFilter); |