2016-08-25 15:18:27 -07:00
|
|
|
import {NgModule, ModuleWithProviders} from '@angular/core';
|
2016-08-08 11:31:47 -07:00
|
|
|
import {MdLineModule} from './line/line';
|
|
|
|
|
import {RtlModule} from './rtl/dir';
|
|
|
|
|
import {MdRippleModule} from './ripple/ripple';
|
|
|
|
|
import {PortalModule} from './portal/portal-directives';
|
|
|
|
|
import {OverlayModule} from './overlay/overlay-directives';
|
2016-09-29 23:48:42 +01:00
|
|
|
import {A11yModule, A11Y_PROVIDERS} from './a11y/index';
|
|
|
|
|
import {OVERLAY_PROVIDERS} from './overlay/overlay';
|
2016-09-23 20:13:24 -07:00
|
|
|
|
2016-08-08 11:31:47 -07:00
|
|
|
|
2016-03-14 16:50:45 -07:00
|
|
|
// RTL
|
2016-08-08 11:31:47 -07:00
|
|
|
export {Dir, LayoutDirection, RtlModule} from './rtl/dir';
|
2016-03-14 16:50:45 -07:00
|
|
|
|
|
|
|
|
// Portals
|
2016-06-02 15:51:17 -07:00
|
|
|
export {
|
|
|
|
|
Portal,
|
|
|
|
|
PortalHost,
|
|
|
|
|
BasePortalHost,
|
|
|
|
|
ComponentPortal,
|
|
|
|
|
TemplatePortal
|
|
|
|
|
} from './portal/portal';
|
|
|
|
|
export {
|
|
|
|
|
PortalHostDirective,
|
|
|
|
|
TemplatePortalDirective,
|
2016-08-08 11:31:47 -07:00
|
|
|
PortalModule,
|
2016-06-02 15:51:17 -07:00
|
|
|
} from './portal/portal-directives';
|
|
|
|
|
export {DomPortalHost} from './portal/dom-portal-host';
|
|
|
|
|
|
|
|
|
|
// Overlay
|
2016-07-22 13:26:06 -07:00
|
|
|
export {Overlay, OVERLAY_PROVIDERS} from './overlay/overlay';
|
|
|
|
|
export {OverlayContainer} from './overlay/overlay-container';
|
2016-06-02 15:51:17 -07:00
|
|
|
export {OverlayRef} from './overlay/overlay-ref';
|
|
|
|
|
export {OverlayState} from './overlay/overlay-state';
|
|
|
|
|
export {
|
|
|
|
|
ConnectedOverlayDirective,
|
|
|
|
|
OverlayOrigin,
|
2016-08-08 11:31:47 -07:00
|
|
|
OverlayModule,
|
2016-06-02 15:51:17 -07:00
|
|
|
} from './overlay/overlay-directives';
|
2016-09-01 22:04:14 -07:00
|
|
|
export * from './overlay/position/connected-position-strategy';
|
|
|
|
|
export * from './overlay/position/connected-position';
|
2016-05-20 15:16:12 -07:00
|
|
|
|
|
|
|
|
// Gestures
|
2016-06-02 15:51:17 -07:00
|
|
|
export {MdGestureConfig} from './gestures/MdGestureConfig';
|
2016-06-01 13:56:23 -07:00
|
|
|
|
2016-07-25 16:18:00 -04:00
|
|
|
// Ripple
|
2016-08-25 15:18:27 -07:00
|
|
|
export {MdRipple, MdRippleModule} from './ripple/ripple';
|
2016-07-25 16:18:00 -04:00
|
|
|
|
2016-06-02 15:51:17 -07:00
|
|
|
// a11y
|
|
|
|
|
export {
|
|
|
|
|
AriaLivePoliteness,
|
|
|
|
|
MdLiveAnnouncer,
|
2016-08-08 11:31:47 -07:00
|
|
|
LIVE_ANNOUNCER_ELEMENT_TOKEN,
|
2016-06-02 15:51:17 -07:00
|
|
|
} from './a11y/live-announcer';
|
2016-06-30 08:32:53 -07:00
|
|
|
|
2016-09-23 15:42:03 -07:00
|
|
|
export {FocusTrap} from './a11y/focus-trap';
|
|
|
|
|
export {InteractivityChecker} from './a11y/interactivity-checker';
|
|
|
|
|
|
2016-09-28 15:23:22 +01:00
|
|
|
export {A11yModule} from './a11y/index';
|
|
|
|
|
|
2016-06-30 08:32:53 -07:00
|
|
|
export {
|
|
|
|
|
MdUniqueSelectionDispatcher,
|
|
|
|
|
MdUniqueSelectionDispatcherListener
|
|
|
|
|
} from './coordination/unique-selection-dispatcher';
|
2016-08-08 11:31:47 -07:00
|
|
|
|
|
|
|
|
export {MdLineModule, MdLine, MdLineSetter} from './line/line';
|
|
|
|
|
|
2016-09-01 22:04:14 -07:00
|
|
|
// Style
|
|
|
|
|
export {applyCssTransform} from './style/apply-transform';
|
|
|
|
|
|
|
|
|
|
// Error
|
|
|
|
|
export {MdError} from './errors/error';
|
|
|
|
|
|
|
|
|
|
// Annotations.
|
|
|
|
|
export {BooleanFieldValue} from './annotations/field-value';
|
|
|
|
|
|
|
|
|
|
// Misc
|
|
|
|
|
export {ComponentType} from './overlay/generic-component-type';
|
|
|
|
|
|
|
|
|
|
// Keybindings
|
|
|
|
|
export * from './keyboard/keycodes';
|
|
|
|
|
|
2016-10-19 14:01:48 -07:00
|
|
|
export * from './compatibility/style-compatibility';
|
|
|
|
|
|
2016-10-18 13:31:56 -07:00
|
|
|
// Animation
|
|
|
|
|
export * from './animation/animation';
|
|
|
|
|
|
2016-08-08 11:31:47 -07:00
|
|
|
|
|
|
|
|
@NgModule({
|
2016-09-23 20:13:24 -07:00
|
|
|
imports: [MdLineModule, RtlModule, MdRippleModule, PortalModule, OverlayModule, A11yModule],
|
|
|
|
|
exports: [MdLineModule, RtlModule, MdRippleModule, PortalModule, OverlayModule, A11yModule],
|
2016-08-08 11:31:47 -07:00
|
|
|
})
|
2016-08-25 15:18:27 -07:00
|
|
|
export class MdCoreModule {
|
|
|
|
|
static forRoot(): ModuleWithProviders {
|
|
|
|
|
return {
|
|
|
|
|
ngModule: MdCoreModule,
|
2016-09-29 23:48:42 +01:00
|
|
|
providers: [A11Y_PROVIDERS, OVERLAY_PROVIDERS],
|
2016-08-25 15:18:27 -07:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|