Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
import { ContentNodeShareModule } from '@alfresco/adf-content-services';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { ToggleSharedComponent } from './toggle-shared.component';
export function components() {
return [ToggleSharedComponent];
}
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
ExtensionsModule,
ContentNodeShareModule
],
declarations: components(),
exports: components(),
entryComponents: components()
})
export class ToggleSharedModule {}
import { MaterialModule } from '../material.module';
import { FileUploadingDialogComponent } from './components/file-uploading-dialog.component';
import { FileUploadingListRowComponent } from './components/file-uploading-list-row.component';
import { FileUploadingListComponent } from './components/file-uploading-list.component';
import { UploadButtonComponent } from './components/upload-button.component';
import { UploadVersionButtonComponent } from './components/upload-version-button.component';
import { UploadDragAreaComponent } from './components/upload-drag-area.component';
import { FileUploadErrorPipe } from './pipes/file-upload-error.pipe';
import { CoreModule } from '@alfresco/adf-core';
import { FileDraggableDirective } from './directives/file-draggable.directive';
import { ToggleIconDirective } from './directives/toggle-icon.directive';
import { A11yModule } from '@angular/cdk/a11y';
@NgModule({
imports: [
CoreModule.forChild(),
CommonModule,
MaterialModule,
A11yModule
],
declarations: [
FileDraggableDirective,
UploadDragAreaComponent,
UploadButtonComponent,
UploadVersionButtonComponent,
FileUploadingDialogComponent,
FileUploadingListComponent,
FileUploadingListRowComponent,
FileUploadErrorPipe,
ToggleIconDirective
],
exports: [
*/
import { NgModule } from '@angular/core';
import { DialogService } from './services/dialog.service';
import { ConfirmationDialogComponent } from './components/confirmation-dialog/confirmation-dialog.component';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
import { RouterModule } from '@angular/router';
import { MatIconModule } from '@angular/material';
@NgModule({
imports: [
CommonModule,
MatIconModule,
RouterModule,
CoreModule.forChild(),
],
providers: [ DialogService ],
declarations: [
ConfirmationDialogComponent
],
entryComponents: [ ConfirmationDialogComponent ],
exports: [
CommonModule,
MatIconModule,
RouterModule
]
})
export class ConfirmationDialogModule {}
const routes: Routes = [
{
path: '',
data: {
title: 'APP.PREVIEW.TITLE',
navigateMultiple: true
},
component: AppViewerComponent
}
];
@NgModule({
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
ContentDirectiveModule,
DirectivesModule,
AppInfoDrawerModule,
CoreExtensionsModule.forChild(),
AppToolbarModule
],
declarations: [AppViewerComponent],
exports: [AppViewerComponent]
})
export class AppViewerModule {}
import { Routes, RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
const routes: Routes = [
{
path: '',
component: SettingsComponent,
data: {
title: 'Settings'
}
}
];
@NgModule({
imports: [CommonModule, CoreModule.forChild(), RouterModule.forChild(routes)],
declarations: [SettingsComponent]
})
export class AppSettingsModule {}
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { CoreModule } from '@alfresco/adf-core';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { MaterialModule } from '../material.module';
import { WebscriptComponent } from './webscript.component';
@NgModule({
imports: [
CommonModule,
MaterialModule,
CoreModule.forChild()
],
exports: [
WebscriptComponent
],
declarations: [
WebscriptComponent
]
})
export class WebScriptModule {}
import { CustomNameColumnComponent } from '../components/dl-custom-components/name-column/name-column.component';
import {
LibraryNameColumnComponent,
LibraryStatusColumnComponent,
TrashcanNameColumnComponent,
LibraryRoleColumnComponent
} from '@alfresco/adf-content-services';
import { ToggleSharedComponent } from '../components/common/toggle-shared/toggle-shared.component';
import { ViewNodeComponent } from '../components/toolbar/view-node/view-node.component';
export function setupExtensions(service: AppExtensionService): Function {
return () => service.load();
}
@NgModule({
imports: [CommonModule, CoreModule.forChild(), ExtensionsModule]
})
export class CoreExtensionsModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: CoreExtensionsModule,
providers: [
{
provide: APP_INITIALIZER,
useFactory: setupExtensions,
deps: [AppExtensionService],
multi: true
}
]
};
}
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see .
*/
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
import { ContentModule } from '@alfresco/adf-content-services';
import { NodePermissionsDialogComponent } from './permission-dialog/node-permissions.dialog';
import { PermissionsManagerComponent } from './permission-manager/permission-manager.component';
@NgModule({
imports: [CommonModule, CoreModule.forChild(), ContentModule.forChild()],
declarations: [PermissionsManagerComponent, NodePermissionsDialogComponent],
exports: [PermissionsManagerComponent, NodePermissionsDialogComponent],
entryComponents: [NodePermissionsDialogComponent]
})
export class AppPermissionsModule {}
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see .
*/
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { ToggleSharedModule } from './toggle-shared/toggle-shared.module';
import { ContentNodeShareModule } from './content-node-share/content-node-share.module';
import { ShareDialogComponent } from './content-node-share/content-node-share.dialog';
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
ExtensionsModule,
ContentNodeShareModule,
ToggleSharedModule
],
entryComponents: [ShareDialogComponent]
})
export class AppSharedModule {}
import { CardViewErrorRefItemComponent } from './services/cardview-properties/error-ref-item/error-ref-item.component';
import { CardViewMessageItemComponent } from './services/cardview-properties/message-item/message-item.component';
import { CardViewProcessMessagesItemComponent } from './services/cardview-properties/process-messages-item/process-messages-item.component';
import { ProcessMessagesEffects } from './store/process-messages.effects';
import { MessagesDialogComponent } from 'ama-sdk/src/lib/messages/messages-dialog.component';
import { MessagesService } from 'ama-sdk/src/lib/messages/messages.service';
import { CardViewMultiInstanceItemComponent } from './services/cardview-properties/multi-instance-item/multi-instance-item.component';
import { ClipboardService } from './services/clipboard/clipboard.service';
import { CardViewMessagePayloadItemComponent } from './services/cardview-properties/message-payload-item/message-payload-item.component';
import { CardViewMessageVariableMappingComponent } from './services/cardview-properties/message-variable-mapping/message-variable-mapping.component';
import { CardViewDueDateItemComponent } from './services/cardview-properties/due-date-item/due-date-item.component';
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
ProcessEditorRoutingModule,
EffectsModule.forFeature([ProcessEditorEffects, ProcessVariablesEffects, ProcessMessagesEffects]),
AmaStoreModule.registerEntity({
key: PROCESSES_ENTITY_KEY,
reducer: processEntitiesReducer
}),
StoreModule.forFeature(PROCESS_EDITOR_STATE_NAME, processEditorReducer),
SharedModule,
WorkbenchLayoutModule,
VariablesModule,
MatTooltipModule,
MatChipsModule,
CodeEditorModule,
DragDropModule,
InputMappingTableModule,
OutputMappingTableModule