How to use ng2-alfresco-core - 5 common examples

To help you get started, we’ve selected a few ng2-alfresco-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Alfresco / alfresco-ng2-components / ng2-components / ng2-alfresco-upload / src / components / file-uploading-dialog.component.spec.ts View on Github external
beforeEach(async(() => {
        TestBed.configureTestingModule({
            imports: [
                CoreModule.forRoot()
            ],
            declarations: [
                FileUploadingDialogComponent,
                FileUploadingListComponent
            ],
            providers: [
                UploadService
            ]
        }).compileComponents();
    }));
github Alfresco / alfresco-ng2-components / ng2-components / ng2-activiti-tasklist / src / components / activiti-create-task-attachment.component.spec.ts View on Github external
beforeEach(async(() => {
        TestBed.configureTestingModule({
            imports: [
                CoreModule.forRoot()
            ],
            declarations: [
                ActivitiCreateTaskAttachmentComponent
            ],
            providers: [
                { provide: AlfrescoTranslationService },
                ActivitiContentService
            ]
        }).compileComponents();
    }));
github Alfresco / alfresco-ng2-components / ng2-components / ng2-activiti-form / src / components / widgets / container / container.widget.spec.ts View on Github external
beforeEach(async(() => {
        TestBed.configureTestingModule({
            imports: [
                CoreModule.forRoot(),
                MaterialModule
            ],
            declarations: [FormFieldComponent, ContentWidgetComponent, WIDGET_DIRECTIVES, MASK_DIRECTIVE],
            providers: [
                FormService,
                EcmModelService,
                ActivitiAlfrescoContentService
            ]
        }).compileComponents();
    }));
github Alfresco / alfresco-ng2-components / ng2-components / ng2-alfresco-upload / src / components / upload-button.component.spec.ts View on Github external
beforeEach(async(() => {
        TestBed.configureTestingModule({
            imports: [
                CoreModule.forRoot()
            ],
            declarations: [
                UploadButtonComponent
            ],
            providers: [
                UploadService,
                {provide: AlfrescoTranslationService, useClass: TranslationMock}
            ]
        }).compileComponents();
    }));
github Alfresco / alfresco-ng2-components / ng2-components / ng2-activiti-processlist / src / components / activiti-create-process-attachment.component.spec.ts View on Github external
beforeEach(async(() => {
        TestBed.configureTestingModule({
            imports: [
                CoreModule.forRoot()
            ],
            declarations: [
                ActivitiCreateProcessAttachmentComponent
            ],
            providers: [
                { provide: AlfrescoTranslationService, useClass: TranslationMock },
                ActivitiContentService
            ]
        }).compileComponents();
    }));

ng2-alfresco-core

Alfresco Angular 2 Components core

Apache-2.0
Latest version published 7 years ago

Package Health Score

61 / 100
Full package analysis

Popular ng2-alfresco-core functions