mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* Angular 9 compatibility: add explicit types to prevent automatic deep imports If you do not provide an explicit return type to a function then TypeScript will try to guess it and create a dynamic import type for the `.d.ts` files. Often the imports incorrectly point to a path deep within a package, rather than accessing the type via the correct public facing import. From Angular v9, using ivy, such deep imports cause compilation errors and will prevent this library from being used for ivy enabled applications. This commit fixes this problem for a component and a service that the adf-core library exports. * Angular 9 compatibility: import DOCUMENT from `@angular/common` In Angular 7 importing `DOCUMENT` from `platform-browser` was deprecated, and it was removed completely in Angular 8. * fix type afterlast alpha * fix type after last alpha * fix types demo shell
Alfresco Core Library
Contains a variety of components, directives and services used throughout ADF
Documentation
See the ADF Core section of the docs index for all available documentation on this library.
Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration, see this page.
If you plan using this component with projects generated by Angular CLI, please refer to the following article: Using ADF with Angular CLI
Install
npm install @alfresco/adf-core