nuxeo-development-framework 3.2.9 → 3.3.1-snapshot
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 +62 -30
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +1 -1
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +14 -3
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +4 -9
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +2 -2
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +2 -2
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +6 -2
- package/esm2015/lib/components/filter/filter/filter.component.js +1 -1
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +1 -1
- package/esm2015/lib/components/table/table/table.component.js +6 -2
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
- package/esm2015/lib/shared-services/mainfolder.service.js +23 -15
- package/fesm2015/nuxeo-development-framework.js +52 -30
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +6 -3
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +1 -1
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +3 -1
- package/lib/components/table/table/table.component.d.ts +3 -1
- package/lib/shared-services/mainfolder.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { TranslationService } from '../../../../Core/services/translation/translation.service';
|
|
@@ -17,7 +17,7 @@ import * as i0 from "@angular/core";
|
|
|
17
17
|
* >
|
|
18
18
|
* </app-dynamic-form-department>
|
|
19
19
|
*/
|
|
20
|
-
export declare class DynamicFormDepartmentComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
20
|
+
export declare class DynamicFormDepartmentComponent implements ControlValueAccessor, OnInit, OnChanges, OnDestroy {
|
|
21
21
|
private translation;
|
|
22
22
|
private departmentApi;
|
|
23
23
|
control: NgControl;
|
|
@@ -45,6 +45,8 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
45
45
|
useCustomAddEditAction: any;
|
|
46
46
|
/** to allow custom parent property name to be paassed from outside the component */
|
|
47
47
|
customParentProperty: any;
|
|
48
|
+
/** to allow custom paramsto be passed to get departments request from outside the component */
|
|
49
|
+
customParams: {};
|
|
48
50
|
/** emitted when item is selected */
|
|
49
51
|
onSelecting: EventEmitter<any>;
|
|
50
52
|
/** emitted when action is clicked */
|
|
@@ -60,6 +62,7 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
60
62
|
get showError(): boolean;
|
|
61
63
|
constructor(translation: TranslationService, departmentApi: DepartmentApiService, control: NgControl);
|
|
62
64
|
ngOnInit(): void;
|
|
65
|
+
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
63
66
|
ngOnDestroy(): void;
|
|
64
67
|
recursiveFill(entries: any, level?: number): Promise<any>;
|
|
65
68
|
getLisOfOptions(): Promise<void>;
|
|
@@ -72,5 +75,5 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
72
75
|
hasErrors(): boolean;
|
|
73
76
|
onAction(e: any): void;
|
|
74
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormDepartmentComponent, [null, null, { optional: true; self: true; }]>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormDepartmentComponent, "app-dynamic-form-department", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "placeholder": "placeholder"; "multiple": "multiple"; "searchable": "searchable"; "label": "label"; "defaultSelect": "defaultSelect"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "pp_departmentTree": "pp_departmentTree"; "customPrefix": "customPrefix"; "useCustomAddEditAction": "useCustomAddEditAction"; "customParentProperty": "customParentProperty"; }, { "onSelecting": "onSelecting"; "actionClicked": "actionClicked"; }, never, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormDepartmentComponent, "app-dynamic-form-department", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "placeholder": "placeholder"; "multiple": "multiple"; "searchable": "searchable"; "label": "label"; "defaultSelect": "defaultSelect"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "pp_departmentTree": "pp_departmentTree"; "customPrefix": "customPrefix"; "useCustomAddEditAction": "useCustomAddEditAction"; "customParentProperty": "customParentProperty"; "customParams": "customParams"; }, { "onSelecting": "onSelecting"; "actionClicked": "actionClicked"; }, never, never>;
|
|
76
79
|
}
|
|
@@ -16,7 +16,7 @@ export declare class DepartmentApiService {
|
|
|
16
16
|
private environment;
|
|
17
17
|
arabic: any;
|
|
18
18
|
constructor(CallApiService: CallApiService, translation: TranslationService, nuxeoService: NuxeoService, adapter: AdapterService, environment: any);
|
|
19
|
-
getDepartmentTree(customPageProvider?: any): Observable<any>;
|
|
19
|
+
getDepartmentTree(customPageProvider?: any, customParams?: any): Observable<any>;
|
|
20
20
|
getDepartmentDetails(code: any, customPageProvider?: any): Observable<any>;
|
|
21
21
|
getDepartmentNestedTree(code: any, customPageProvider?: any, customParentCodeProperty?: any): Observable<any>;
|
|
22
22
|
getDepartment(uid: any, fields?: any): Observable<any>;
|
|
@@ -84,6 +84,8 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
84
84
|
isSearchPage: boolean;
|
|
85
85
|
/** allow multiselect rows with checkbox */
|
|
86
86
|
multiSelectRows: boolean;
|
|
87
|
+
/** to show 1st row with custom template in the table*/
|
|
88
|
+
customFirstRow: boolean;
|
|
87
89
|
highlightSelectedCard: boolean;
|
|
88
90
|
filterParams: {};
|
|
89
91
|
pageNum: number;
|
|
@@ -104,5 +106,5 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
104
106
|
onMultiRowSelectValue(event: any): void;
|
|
105
107
|
PaginationChange(event: any): void;
|
|
106
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
107
|
-
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"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "highlightSelectedCard": "highlightSelectedCard"; "filterParams": "filterParams"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; }, never, never>;
|
|
109
|
+
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"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "filterParams": "filterParams"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; }, never, never>;
|
|
108
110
|
}
|
|
@@ -83,6 +83,8 @@ export declare class TableComponent implements OnInit {
|
|
|
83
83
|
highlightSelectedCard: boolean;
|
|
84
84
|
/** allow multiselect rows with checkbox */
|
|
85
85
|
multiSelectRows: boolean;
|
|
86
|
+
/** to show 1st row with custom template in the table*/
|
|
87
|
+
customFirstRow: boolean;
|
|
86
88
|
/** flage used to disable actions if there was multi selected rows */
|
|
87
89
|
disabledActions: boolean;
|
|
88
90
|
isArabic: boolean;
|
|
@@ -104,5 +106,5 @@ export declare class TableComponent implements OnInit {
|
|
|
104
106
|
cardSelected(card: any): void;
|
|
105
107
|
cardFocused(index: any): void;
|
|
106
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
107
|
-
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"; "tableActions": "tableActions"; "format": "format"; "defultSort": "defultSort"; "highlightSelectedCard": "highlightSelectedCard"; "multiSelectRows": "multiSelectRows"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "onIconSelected": "onIconSelected"; "actionOnRow": "actionOnRow"; "onSorting": "onSorting"; "onMultiRowSelected": "onMultiRowSelected"; }, never, never>;
|
|
109
|
+
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"; "tableActions": "tableActions"; "format": "format"; "defultSort": "defultSort"; "highlightSelectedCard": "highlightSelectedCard"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "onIconSelected": "onIconSelected"; "actionOnRow": "actionOnRow"; "onSorting": "onSorting"; "onMultiRowSelected": "onMultiRowSelected"; }, never, never>;
|
|
108
110
|
}
|
|
@@ -15,11 +15,11 @@ export declare class MainfolderService {
|
|
|
15
15
|
categoryObj: any;
|
|
16
16
|
localStoragKeys: any;
|
|
17
17
|
constructor(nuxeoService: NuxeoService, appConfigService: AppConfigService, userPreference: UserPreferencesService);
|
|
18
|
-
fetchfileManager_mainFolderId(apiName?: any): Observable<any>;
|
|
18
|
+
fetchfileManager_mainFolderId(apiName?: any, failIfEmptyRes?: boolean): Observable<any>;
|
|
19
19
|
fetchMyFilesManager_mainFolderId(): Observable<any>;
|
|
20
20
|
fetchArchiveManager_mainFolderId(): Observable<any>;
|
|
21
21
|
fetchcategory_mainFolderId(): Observable<any>;
|
|
22
|
-
save_fileManagerObj_ToLocalStorage(apiName?: string): Observable<any>;
|
|
22
|
+
save_fileManagerObj_ToLocalStorage(apiName?: string, failIfEmptyRes?: boolean): Observable<any>;
|
|
23
23
|
save_myfilesManagerObj_ToLocalStorage(): Observable<any>;
|
|
24
24
|
save_ArchiveManagerObject_ToLocalStorage(): Observable<any>;
|
|
25
25
|
save_categoryObj_ToLocalStorage(): Observable<any>;
|