nuxeo-development-framework 4.5.5 → 4.5.7
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 +90 -92
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/charts/components/base-chart.component.js +2 -5
- package/esm2015/lib/components/charts/components/chart.component.js +25 -33
- package/esm2015/lib/components/charts/components/data-chart.component.js +36 -38
- package/esm2015/lib/components/charts/defaults/doughnut.js +6 -9
- package/esm2015/lib/components/charts/defaults/line.js +9 -20
- package/esm2015/lib/components/charts/defaults/pie.js +6 -11
- package/esm2015/lib/components/diagrams/utilities/remove.util.js +2 -2
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +2 -2
- package/esm2015/lib/components/dynamic-table/directives/empty-state.directive.js +28 -0
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +19 -5
- package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +7 -24
- package/esm2015/lib/components/dynamic-table/index.js +2 -0
- package/esm2015/lib/components/dynamic-table/public-api.js +5 -0
- package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +2 -2
- package/esm2015/lib/components/table/table/table.component.js +5 -2
- package/esm2015/public-api.js +2 -4
- package/fesm2015/nuxeo-development-framework.js +131 -138
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/charts/components/base-chart.component.d.ts +1 -2
- package/lib/components/diagrams/utilities/remove.util.d.ts +3 -2
- package/lib/components/dynamic-table/directives/empty-state.directive.d.ts +9 -0
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +5 -2
- package/lib/components/dynamic-table/dynamic-table.module.d.ts +7 -6
- package/lib/components/dynamic-table/index.d.ts +1 -0
- package/lib/components/dynamic-table/public-api.d.ts +4 -0
- package/lib/components/table/table/table.component.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -3
|
@@ -9,7 +9,6 @@ export declare abstract class BaseChartComponent<TType extends ChartType = Chart
|
|
|
9
9
|
width: string | undefined;
|
|
10
10
|
height: string | undefined;
|
|
11
11
|
responsive: boolean;
|
|
12
|
-
legend: boolean;
|
|
13
12
|
fontFamily: string;
|
|
14
13
|
fontSize: number;
|
|
15
14
|
onReady: EventEmitter<Chart>;
|
|
@@ -17,5 +16,5 @@ export declare abstract class BaseChartComponent<TType extends ChartType = Chart
|
|
|
17
16
|
getChart(): Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint)[], unknown>;
|
|
18
17
|
protected refresh(): void;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent<any>, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseChartComponent<any>, never, never, { "type": "type"; "plugins": "plugins"; "width": "width"; "height": "height"; "responsive": "responsive"; "
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseChartComponent<any>, never, never, { "type": "type"; "plugins": "plugins"; "width": "width"; "height": "height"; "responsive": "responsive"; "fontFamily": "fontFamily"; "fontSize": "fontSize"; }, { "onReady": "onReady"; }, never>;
|
|
21
20
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NodeEditor } from 'rete';
|
|
2
|
-
import { BaseNodeClass
|
|
2
|
+
import { BaseNodeClass } from '../models/base-node.model';
|
|
3
|
+
import { Connection } from '../models/connection.model';
|
|
3
4
|
import { Schemes } from '../types';
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
@@ -27,4 +28,4 @@ export declare const removeConnections: (node: BaseNodeClass, editor: NodeEditor
|
|
|
27
28
|
* @param predicate
|
|
28
29
|
* @returns
|
|
29
30
|
*/
|
|
30
|
-
export declare const getConnections: (editor: NodeEditor<Schemes>, predicate: (connection: Connection) => boolean) => Connection<import("
|
|
31
|
+
export declare const getConnections: (editor: NodeEditor<Schemes>, predicate: (connection: Connection) => boolean) => Connection<import("nuxeo-development-framework").ContentNode<unknown>, BaseNodeClass<unknown>>[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const EMPTY_TEMPLATE: InjectionToken<EmptyTemplateDirective>;
|
|
4
|
+
export declare class EmptyTemplateDirective {
|
|
5
|
+
template: TemplateRef<any>;
|
|
6
|
+
constructor(template: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EmptyTemplateDirective, "[emptyTemplate]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { AdapterService } from '../../../core/adapters/adapter.service';
|
|
4
4
|
import { CallApiService } from '../../../core/services/callApi/call-api.service';
|
|
@@ -67,6 +67,9 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
67
67
|
pageProvider: any;
|
|
68
68
|
/** Controls number of items per page in table */
|
|
69
69
|
pageSize: any;
|
|
70
|
+
legacyLoading: boolean;
|
|
71
|
+
showTotalRecord: boolean;
|
|
72
|
+
emptyTemplate: TemplateRef<any> | undefined;
|
|
70
73
|
private _pageNumber;
|
|
71
74
|
set pageNumber(value: string | number);
|
|
72
75
|
get pageNum(): number;
|
|
@@ -131,5 +134,5 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
131
134
|
PaginationChange(event: any): void;
|
|
132
135
|
onChangePageSize(pageSize: number): void;
|
|
133
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "pageNumber": "pageNumber"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "customFilters": "customFilters"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "showActionsAsMenu": "showActionsAsMenu"; "filterParams": "filterParams"; "skipAggregation": "skipAggregation"; "customUrl": "customUrl"; "format": "format"; "pageSizes": "pageSizes"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; "onPageChange": "onPageChange"; "onLoad": "onLoad"; "onInitialize": "onInitialize"; },
|
|
137
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "legacyLoading": "legacyLoading"; "showTotalRecord": "showTotalRecord"; "pageNumber": "pageNumber"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "customFilters": "customFilters"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "showActionsAsMenu": "showActionsAsMenu"; "filterParams": "filterParams"; "skipAggregation": "skipAggregation"; "customUrl": "customUrl"; "format": "format"; "pageSizes": "pageSizes"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; "onPageChange": "onPageChange"; "onLoad": "onLoad"; "onInitialize": "onInitialize"; }, ["emptyTemplate"], never>;
|
|
135
138
|
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./dynamic-table/dynamic-table.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
3
|
+
import * as i2 from "./directives/empty-state.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../table/table.module";
|
|
6
|
+
import * as i5 from "../pagination/pagination.module";
|
|
7
|
+
import * as i6 from "../../shared/libraryShared.module";
|
|
8
|
+
import * as i7 from "@ngx-translate/core";
|
|
8
9
|
/**
|
|
9
10
|
* @title
|
|
10
11
|
* Dynamic Table API
|
|
11
12
|
*/
|
|
12
13
|
export declare class DynamicTableModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicTableModule, [typeof i1.DynamicTableComponent], [typeof
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicTableModule, [typeof i1.DynamicTableComponent, typeof i2.EmptyTemplateDirective], [typeof i3.CommonModule, typeof i4.TableModule, typeof i5.PaginationModule, typeof i6.LibrarySharedModule, typeof i7.TranslateModule], [typeof i1.DynamicTableComponent, typeof i2.EmptyTemplateDirective]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicTableModule>;
|
|
16
17
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -93,6 +93,7 @@ export declare class TableComponent implements OnInit, OnChanges {
|
|
|
93
93
|
customFirstRow: boolean;
|
|
94
94
|
/** flage used to disable actions if there was multi selected rows */
|
|
95
95
|
showActionsAsMenu: boolean;
|
|
96
|
+
messages: Record<string, string>;
|
|
96
97
|
disabledActions: boolean;
|
|
97
98
|
isArabic: boolean;
|
|
98
99
|
tableWidth: string;
|
|
@@ -118,5 +119,5 @@ export declare class TableComponent implements OnInit, OnChanges {
|
|
|
118
119
|
cardSelected(card: any): void;
|
|
119
120
|
cardFocused(index: any): void;
|
|
120
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "cts-table", never, { "rows": "rows"; "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "pageCount": "pageCount"; "totalRecords": "totalRecords"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "vocItemTranslationPrefix": "vocItemTranslationPrefix"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "format": "format"; "defultSort": "defultSort"; "highlightSelectedCard": "highlightSelectedCard"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "showActionsAsMenu": "showActionsAsMenu"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "onIconSelected": "onIconSelected"; "actionOnRow": "actionOnRow"; "onSorting": "onSorting"; "onMultiRowSelected": "onMultiRowSelected"; }, never, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "cts-table", never, { "rows": "rows"; "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "pageCount": "pageCount"; "totalRecords": "totalRecords"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "vocItemTranslationPrefix": "vocItemTranslationPrefix"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "format": "format"; "defultSort": "defultSort"; "highlightSelectedCard": "highlightSelectedCard"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "showActionsAsMenu": "showActionsAsMenu"; "messages": "messages"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "onIconSelected": "onIconSelected"; "actionOnRow": "actionOnRow"; "onSorting": "onSorting"; "onMultiRowSelected": "onMultiRowSelected"; }, never, never>;
|
|
122
123
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -71,9 +71,7 @@ export * from './lib/components/dynamic-form/components/dynamic-form/form-builde
|
|
|
71
71
|
export * from './lib/components/dynamic-form/dynamic-form.module';
|
|
72
72
|
export * from './lib/components/dynamic-search/dynamic-search.module';
|
|
73
73
|
export * from './lib/components/dynamic-search/dynamic-search/dynamic-search.component';
|
|
74
|
-
export * from './lib/components/dynamic-table
|
|
75
|
-
export * from './lib/components/dynamic-table/dynamic-table/dynamic-table.component';
|
|
76
|
-
export * from './lib/components/dynamic-table/services/dynamic-table.service';
|
|
74
|
+
export * from './lib/components/dynamic-table';
|
|
77
75
|
export * from './lib/components/dynamic-view/boolean-viewer/boolean-viewer.component';
|
|
78
76
|
export * from './lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component';
|
|
79
77
|
export * from './lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component';
|