nuxeo-development-framework 5.5.1 → 5.5.2
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/bundles/nuxeo-development-framework.umd.js +52 -22
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/ndf-config-editor/constants/index.js +2 -2
- package/esm2015/lib/components/reports/ndf-reports/models/details.js +1 -1
- package/esm2015/lib/components/reports/ndf-reports/models/ndf-reports.config.js +1 -1
- package/esm2015/lib/components/reports/ndf-reports/services/index.js +2 -1
- package/esm2015/lib/components/reports/ndf-reports/services/report-details.service.js +29 -0
- package/esm2015/lib/components/reports/ndf-reports/utilities/reports-table.mapper.js +3 -2
- package/esm2015/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.js +7 -7
- package/esm2015/lib/components/tables/ndf-table/models/table-column.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/table-options.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/services/ndf-table.service.js +2 -2
- package/esm2015/lib/shared/constants/editor-config-type.js +5 -0
- package/esm2015/lib/shared/constants/index.js +2 -0
- package/esm2015/lib/shared/index.js +2 -1
- package/esm2015/lib/shared/services/base/base-editor-config.service.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/nuxeo-development-framework.js +49 -23
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/ndf-config-editor/constants/index.d.ts +1 -1
- package/lib/components/reports/ndf-reports/containers/ndf-reports/ndf-reports.component.d.ts +1 -1
- package/lib/components/reports/ndf-reports/models/details.d.ts +5 -1
- package/lib/components/reports/ndf-reports/models/ndf-reports.config.d.ts +1 -1
- package/lib/components/reports/ndf-reports/services/index.d.ts +1 -0
- package/lib/components/reports/ndf-reports/services/report-details.service.d.ts +12 -0
- package/lib/components/tables/ndf-table/models/table-column.d.ts +1 -0
- package/lib/components/tables/ndf-table/models/table-options.d.ts +1 -1
- package/lib/shared/constants/index.d.ts +1 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/services/base/base-editor-config.service.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2015/lib/components/ndf-config-editor/constants/type.js +0 -5
- /package/lib/{components/ndf-config-editor/constants/type.d.ts → shared/constants/editor-config-type.d.ts} +0 -0
package/lib/components/reports/ndf-reports/containers/ndf-reports/ndf-reports.component.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export declare class NdfReportsComponent extends DestroySubject implements OnIni
|
|
|
64
64
|
reloadStrategy?: "never" | "always";
|
|
65
65
|
};
|
|
66
66
|
get reportConfig(): {
|
|
67
|
-
details?: import("../../models").ReportDetailsConfig
|
|
67
|
+
details?: Required<import("../../models").ReportDetailsConfig>;
|
|
68
68
|
items: import("../../models").ReportDefinitionModel[];
|
|
69
69
|
};
|
|
70
70
|
jsonEditorEnabled: boolean;
|
|
@@ -2,12 +2,16 @@ import { TableColumnConfig, TableExportConfig, TableSortConfig, TableSortOptions
|
|
|
2
2
|
import { NdfReportsRequest } from './request';
|
|
3
3
|
import { EvaluatedString } from '../../../../shared';
|
|
4
4
|
export declare type ReportDetailsConfig = {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
source?: ReportDetailsKey | ReportConfigOptions;
|
|
7
|
+
};
|
|
8
|
+
export declare type ReportDetailsKey = string;
|
|
9
|
+
export declare type ReportConfigOptions = {
|
|
5
10
|
request?: Partial<NdfReportsRequest> & {
|
|
6
11
|
actions?: {
|
|
7
12
|
beforeSubmit?: EvaluatedString<'payload'>;
|
|
8
13
|
};
|
|
9
14
|
};
|
|
10
|
-
enabled: boolean;
|
|
11
15
|
columns?: TableColumnConfig[];
|
|
12
16
|
fields?: Record<string, string>;
|
|
13
17
|
prefix?: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { BaseEditorConfigService } from '../../../../shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { NdfTableConfig } from '../../../tables';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ReportDetailsService extends BaseEditorConfigService {
|
|
7
|
+
readonly injector: Injector;
|
|
8
|
+
constructor(injector: Injector);
|
|
9
|
+
getTableConfiguration(key: string, localPath?: string): Observable<NdfTableConfig>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportDetailsService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReportDetailsService>;
|
|
12
|
+
}
|
|
@@ -45,7 +45,7 @@ export declare type CustomCriteriaModel = {
|
|
|
45
45
|
export declare type TableExportConfig = {
|
|
46
46
|
enabled: boolean;
|
|
47
47
|
request: NdfRequestConfig;
|
|
48
|
-
docTypeName: 'task' | 'request' | 'record';
|
|
48
|
+
docTypeName: 'task' | 'request' | 'record' | 'nonDocUsage' | 'document' | 'docUsage';
|
|
49
49
|
blobName: string;
|
|
50
50
|
defaultType: 'excel' | 'docx' | 'pdf';
|
|
51
51
|
allowedTypes?: LabelValue<string, 'excel' | 'docx' | 'pdf'>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './editor-config-type';
|
package/lib/shared/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { BaseService } from './base.service';
|
|
|
2
2
|
import { AppConfigService } from '../../../configuration/app-config.service';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { Injector } from '@angular/core';
|
|
5
|
+
import { NDF_EDITOR_TYPE } from '../../constants';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export declare type ConfigType = (typeof NDF_EDITOR_TYPE)[keyof typeof NDF_EDITOR_TYPE];
|
|
6
8
|
export interface ConfigResponseModel {
|
|
7
9
|
submitted: boolean;
|
|
8
10
|
uid?: string;
|
|
@@ -15,7 +17,7 @@ export interface ConfigResponseModel {
|
|
|
15
17
|
}
|
|
16
18
|
export interface ConfigRequestModel {
|
|
17
19
|
key: string;
|
|
18
|
-
type:
|
|
20
|
+
type: ConfigType;
|
|
19
21
|
app?: string;
|
|
20
22
|
localPath?: string;
|
|
21
23
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const NDF_EDITOR_TYPE = {
|
|
2
|
-
REPORTS: 'report',
|
|
3
|
-
TABLES: 'table'
|
|
4
|
-
};
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvbmRmLWNvbmZpZy1lZGl0b3IvY29uc3RhbnRzL3R5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFHO0lBQzlCLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLE1BQU0sRUFBRSxPQUFPO0NBQ04sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBOREZfRURJVE9SX1RZUEUgPSB7XHJcblx0UkVQT1JUUzogJ3JlcG9ydCcsXHJcblx0VEFCTEVTOiAndGFibGUnXHJcbn0gYXMgY29uc3Q7XHJcbiJdfQ==
|
|
File without changes
|