nuxeo-development-framework 5.6.1 → 5.6.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 +27 -3
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/reports/ndf-reports/base/base-custom-report.js +10 -1
- package/esm2015/lib/components/reports/ndf-reports/charts-components/graph-chart/graph-chart.component.js +4 -1
- package/esm2015/lib/components/reports/ndf-reports/models/details.js +1 -1
- package/esm2015/lib/components/reports/ndf-reports/services/chart-data-transformers.service.js +11 -3
- package/esm2015/lib/components/reports/ndf-reports/services/chart-plugins-registry.service.js +6 -2
- package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/table-column.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/table-config.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/models/types.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +27 -3
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/reports/ndf-reports/base/base-custom-report.d.ts +1 -0
- package/lib/components/reports/ndf-reports/models/details.d.ts +1 -1
- package/lib/components/reports/ndf-reports/services/chart-plugins-registry.service.d.ts +1 -1
- package/lib/components/tables/ndf-table/models/table-column.d.ts +0 -4
- package/lib/components/tables/ndf-table/models/table-config.d.ts +1 -13
- package/lib/components/tables/ndf-table/models/types.d.ts +0 -11
- package/package.json +2 -2
- package/src/docs/ndf-reports.doc.md +1213 -0
- package/src/docs/ndf-table.doc.md +1 -1
|
@@ -47,6 +47,7 @@ export declare abstract class BaseCustomReport extends DestroySubject {
|
|
|
47
47
|
get config(): CustomChart;
|
|
48
48
|
constructor(injector: Injector);
|
|
49
49
|
chartReady(chart: Chart): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
50
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCustomReport, never>;
|
|
51
52
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCustomReport, never, never, { "direction": "direction"; "definition": "definition"; "data": "data"; "criteria": "criteria"; "config": "config"; }, {}, never>;
|
|
52
53
|
}
|
|
@@ -28,7 +28,7 @@ export declare class ChartPluginsRegistry {
|
|
|
28
28
|
* @param key The key of the plugin to retrieve
|
|
29
29
|
* @returns The plugin instance or undefined if not found
|
|
30
30
|
*/
|
|
31
|
-
get(key: string): Plugin<ChartType
|
|
31
|
+
get(key: string): Plugin<ChartType>;
|
|
32
32
|
/**
|
|
33
33
|
* Remove a plugin by its key
|
|
34
34
|
* @param key The key of the plugin to remove
|
|
@@ -21,13 +21,9 @@ export interface TableColumnConfig {
|
|
|
21
21
|
headerClass?: string;
|
|
22
22
|
vocabularyId?: string;
|
|
23
23
|
actions?: TableColumnAction[];
|
|
24
|
-
useBadge?: boolean;
|
|
25
24
|
template?: string;
|
|
26
25
|
custom1stCellTemplate?: string;
|
|
27
26
|
translatePrefix?: string;
|
|
28
|
-
isOrginalKey?: string | boolean;
|
|
29
|
-
isBooleanValue?: boolean;
|
|
30
|
-
cardActions?: any[];
|
|
31
27
|
order?: number;
|
|
32
28
|
defaultVisible?: boolean;
|
|
33
29
|
options?: Record<string, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableColumnAction, TableColumnConfig } from './table-column';
|
|
2
2
|
import { NdfTableOptions } from './table-options';
|
|
3
|
-
import { TableDefaultSortModel, TablePaginationOptions,
|
|
3
|
+
import { TableDefaultSortModel, TablePaginationOptions, TableSortOptions } from './types';
|
|
4
4
|
import { EvaluatedString } from '../../../../shared';
|
|
5
5
|
/**
|
|
6
6
|
* Configuration type for the NDF Table component.
|
|
@@ -36,14 +36,6 @@ export declare type NdfTableConfig = TablePaginationOptions & {
|
|
|
36
36
|
quickFilters?: string;
|
|
37
37
|
/** Configuration for table columns. */
|
|
38
38
|
columns: TableColumnConfig[];
|
|
39
|
-
/** List of column identifiers with dynamic visibility. */
|
|
40
|
-
columnsWithDynamicVisibiltiy?: string[];
|
|
41
|
-
/** List of column identifiers with dynamic display. */
|
|
42
|
-
columnsWithDynamicDisplay?: string[];
|
|
43
|
-
/** List of filter identifiers with dynamic display. */
|
|
44
|
-
filtersWithDynamicDisplay?: string[];
|
|
45
|
-
/** Configuration for responsive columns. */
|
|
46
|
-
responsiveColumns?: TableColumnConfig[];
|
|
47
39
|
/** Specifies the full width of the table. */
|
|
48
40
|
fullWidth?: string;
|
|
49
41
|
/** Prefix for table-related identifiers. */
|
|
@@ -60,10 +52,6 @@ export declare type NdfTableConfig = TablePaginationOptions & {
|
|
|
60
52
|
tableActions?: TableColumnAction[];
|
|
61
53
|
/** Highlights the selected card if set to true. */
|
|
62
54
|
highlightSelectedCard?: boolean;
|
|
63
|
-
/** Tabs configuration for the table. */
|
|
64
|
-
tabs?: TableTab[];
|
|
65
|
-
/** Array of sorting configurations. */
|
|
66
|
-
sortingArray?: TableSortingArray[];
|
|
67
55
|
/** Determines when to skip aggregation: 'never' or 'onPageChange'. */
|
|
68
56
|
skipAggregation?: 'never' | 'onPageChange';
|
|
69
57
|
/** Range configuration for the table. */
|
|
@@ -11,17 +11,6 @@ export declare type TableDefaultSortModel = {
|
|
|
11
11
|
name: string;
|
|
12
12
|
dir: string;
|
|
13
13
|
};
|
|
14
|
-
export declare type TableSortingArray = {
|
|
15
|
-
id: string;
|
|
16
|
-
componentType: string;
|
|
17
|
-
pageProvider?: string;
|
|
18
|
-
config?: {
|
|
19
|
-
propertyAr: string;
|
|
20
|
-
propertyEn: string;
|
|
21
|
-
filterParam: string;
|
|
22
|
-
};
|
|
23
|
-
languages?: string[];
|
|
24
|
-
};
|
|
25
14
|
export declare type TableTab = {
|
|
26
15
|
tabTitle: string;
|
|
27
16
|
fields: Record<string, string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxeo-development-framework",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "12.2.3",
|
|
6
6
|
"@angular/common": "12.2.3",
|
|
@@ -83,4 +83,4 @@
|
|
|
83
83
|
"fesm2015": "fesm2015/nuxeo-development-framework.js",
|
|
84
84
|
"typings": "nuxeo-development-framework.d.ts",
|
|
85
85
|
"sideEffects": false
|
|
86
|
-
}
|
|
86
|
+
}
|