aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/ng1.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/ng1.module.ts')
-rw-r--r--src/angular/ng1.module.ts15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/angular/ng1.module.ts b/src/angular/ng1.module.ts
index 6f636f4..4aba999 100644
--- a/src/angular/ng1.module.ts
+++ b/src/angular/ng1.module.ts
@@ -1,6 +1,6 @@
-import { SdcUiComponentsModule } from './index';
import { downgradeComponent, downgradeInjectable } from "@angular/upgrade/static";
import * as Components from './components';
+import * as Services from './services';
declare const angular: any;
let SdcUiComponentsNg1Module = null;
@@ -38,7 +38,7 @@ if (typeof angular !== "undefined") {
}));
// Modals
- SdcUiComponentsNg1Module.service('SdcModalService', downgradeInjectable(Components.ModalService));
+ SdcUiComponentsNg1Module.service('SdcModalService', downgradeInjectable(Services.ModalService));
SdcUiComponentsNg1Module.directive('sdcModal', downgradeComponent({
component: Components.ModalComponent,
inputs: ['size', 'title', 'message', 'buttons', 'type'],
@@ -50,7 +50,7 @@ if (typeof angular !== "undefined") {
}));
// Notifications
- SdcUiComponentsNg1Module.service('SdcNotificationService', downgradeInjectable(Components.NotificationsService));
+ SdcUiComponentsNg1Module.service('SdcNotificationService', downgradeInjectable(Services.NotificationsService));
SdcUiComponentsNg1Module.directive('sdcNotificationContainer', downgradeComponent({
component: Components.NotificationContainerComponent
}));
@@ -130,6 +130,13 @@ if (typeof angular !== "undefined") {
inputs: ['arrow-direction', 'css-class', 'title', 'open'],
outputs: ['accordionChanged']
}));
+
+ // Multiline Ellipsis
+ SdcUiComponentsNg1Module.directive('multilineEllipsis', downgradeComponent({
+ component: Components.MultilineEllipsisComponent,
+ inputs: ['lines', 'line-height', 'className'],
+ outputs: ['hasEllipsisChanged']
+ }));
}
-export {SdcUiComponentsNg1Module};
+export { SdcUiComponentsNg1Module };