Eugenio Romano 210f1d8f59 [#4961] Angular v9 (ivy) compatibility fixes #5153 (#5156)
* 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
2019-10-15 15:22:42 +01:00
..
2019-08-29 16:35:30 +01:00
2019-09-20 13:31:31 +01:00
2019-02-12 01:18:43 +00:00
2019-10-14 18:28:01 +01:00
2019-10-08 10:30:06 +01:00
2019-02-12 01:18:43 +00:00
2019-10-14 18:32:35 +01:00
2019-10-14 18:28:01 +01:00
2019-10-07 10:59:45 +01:00
2019-08-29 16:35:30 +01:00
2019-10-06 18:05:52 +01:00
2019-10-10 12:32:50 +01:00
2019-06-20 12:32:41 +01:00
2019-09-30 17:34:25 +01:00
2019-02-12 01:18:43 +00:00

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

License

Apache Version 2.0