@alfresco/adf-core 8.4.0-17806466306 → 8.4.0-17829814673
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -16
- package/api/lib/adf-http-client.service.d.ts +9 -9
- package/fesm2022/adf-core.mjs +591 -863
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +34 -22
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/lib/auth/interfaces/authentication-service.interface.d.ts +7 -5
- package/lib/auth/services/authentication.service.d.ts +8 -6
- package/lib/auth/services/base-authentication.service.d.ts +6 -6
- package/lib/core.module.d.ts +7 -8
- package/lib/form/components/form-base.component.d.ts +1 -1
- package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -0
- package/lib/form/components/widgets/core/form.model.d.ts +2 -1
- package/lib/login/components/login-dialog/login-dialog.component.d.ts +1 -0
- package/lib/mock/public-api.d.ts +0 -1
- package/lib/notifications/notification-history.module.d.ts +2 -4
- package/lib/notifications/public-api.d.ts +0 -1
- package/lib/testing/index.d.ts +0 -1
- package/package.json +4 -5
- package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
- package/schematics/migrations/schematics/migrations/7_0_0/index.js +46 -59
- package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
- package/schematics/migrations/schematics/migrations/collection.json +0 -5
- package/lib/datatable/components/mocks/datatable.mock.d.ts +0 -21
- package/lib/mock/data-column.mock.d.ts +0 -51
- package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
- package/lib/testing/core.story.module.d.ts +0 -9
package/README.md
CHANGED
|
@@ -9,7 +9,6 @@ Contains a variety of components, directives and services used throughout ADF
|
|
|
9
9
|
- [Documentation](#documentation)
|
|
10
10
|
- [Prerequisites](#prerequisites)
|
|
11
11
|
- [Install](#install)
|
|
12
|
-
- [Storybook](#storybook)
|
|
13
12
|
- [License](#license)
|
|
14
13
|
|
|
15
14
|
<!-- tocstop -->
|
|
@@ -34,21 +33,6 @@ necessary configuration, see this [page](https://github.com/Alfresco/alfresco-ng
|
|
|
34
33
|
npm install @alfresco/adf-core
|
|
35
34
|
```
|
|
36
35
|
|
|
37
|
-
## Storybook
|
|
38
|
-
|
|
39
|
-
In case you would like to aggregate all the stories from core library use
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
nx run core:storybook
|
|
43
|
-
```
|
|
44
|
-
And navigate to `http://localhost:4400/`.
|
|
45
|
-
|
|
46
|
-
To create a Storybook core library build use
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
nx run core:build-storybook
|
|
50
|
-
```
|
|
51
|
-
|
|
52
36
|
## License
|
|
53
37
|
|
|
54
38
|
[Apache Version 2.0](https://github.com/Alfresco/alfresco-ng2-components/blob/master/LICENSE)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Emitters as JsApiEmitters, HttpClient as JsApiHttpClient } from '@alfresco/js-api';
|
|
1
|
+
import { Emitters as JsApiEmitters, HttpClient as JsApiHttpClient, EventEmitterInstance, EventEmitterEvents } from '@alfresco/js-api';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { RequestOptions, SecurityOptions } from './interfaces';
|
|
4
|
-
import ee, { Emitter } from 'event-emitter';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export interface Emitters {
|
|
7
|
-
readonly eventEmitter:
|
|
8
|
-
readonly apiClientEmitter:
|
|
6
|
+
readonly eventEmitter: EventEmitterInstance;
|
|
7
|
+
readonly apiClientEmitter: EventEmitterInstance;
|
|
9
8
|
}
|
|
10
|
-
export declare class AdfHttpClient implements
|
|
9
|
+
export declare class AdfHttpClient implements JsApiHttpClient {
|
|
11
10
|
private httpClient;
|
|
12
|
-
|
|
13
|
-
off: ee.EmitterMethod;
|
|
14
|
-
once: ee.EmitterMethod;
|
|
11
|
+
private eventEmitter;
|
|
15
12
|
_disableCsrf: boolean;
|
|
16
|
-
emit: (type: string, ...args: any[]) => void;
|
|
17
13
|
get disableCsrf(): boolean;
|
|
18
14
|
set disableCsrf(disableCsrf: boolean);
|
|
19
15
|
private defaultSecurityOptions;
|
|
20
16
|
constructor(httpClient: HttpClient);
|
|
17
|
+
on(event: EventEmitterEvents, fn: (...args: any[]) => void, context?: any): this;
|
|
18
|
+
off(event: EventEmitterEvents, fn?: (...args: any[]) => void, context?: any): this;
|
|
19
|
+
once(event: EventEmitterEvents, fn: (...args: any[]) => void, context?: any): this;
|
|
20
|
+
emit(event: EventEmitterEvents, ...args: any[]): boolean;
|
|
21
21
|
setDefaultSecurityOption(options: any): void;
|
|
22
22
|
merge(...objects: any[]): any;
|
|
23
23
|
request<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T>;
|