mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Upgrade ng2-alfresco-webscript
This commit is contained in:
@@ -15,6 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { NgModule } from '@angular/core';
|
||||
import { HttpModule } from '@angular/http';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { TranslateModule } from 'ng2-translate/ng2-translate';
|
||||
|
||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
|
||||
import { WebscriptComponent } from './src/webscript.component';
|
||||
|
||||
/**
|
||||
@@ -23,10 +32,26 @@ import { WebscriptComponent } from './src/webscript.component';
|
||||
|
||||
export * from './src/webscript.component';
|
||||
|
||||
export default {
|
||||
components: [WebscriptComponent]
|
||||
};
|
||||
|
||||
export const WEBSCRIPTCOMPONENT: [any] = [
|
||||
export const WEBSCRIPT_DIRECTIVES: any[] = [
|
||||
WebscriptComponent
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
HttpModule,
|
||||
TranslateModule,
|
||||
CoreModule,
|
||||
DataTableModule
|
||||
],
|
||||
declarations: [
|
||||
...WEBSCRIPT_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
],
|
||||
exports: [
|
||||
...WEBSCRIPT_DIRECTIVES
|
||||
]
|
||||
})
|
||||
export class WebScriptModule {}
|
||||
|
Reference in New Issue
Block a user