nuxeo-development-framework 0.5.0 → 0.5.4
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 +26 -20
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +2 -2
- package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +7 -4
- package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +6 -3
- 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 +5 -3
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +5 -9
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +6 -4
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +2 -2
- package/esm2015/lib/components/filter/filter/filter.component.js +1 -1
- package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +2 -2
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +26 -20
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +2 -1
- package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +2 -1
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +3 -1
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +3 -1
- package/package.json +1 -1
package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare class CorrespondenceTagsComponent implements OnInit, OnChanges {
|
|
|
15
15
|
removable: boolean;
|
|
16
16
|
loading: boolean;
|
|
17
17
|
correspondence: any;
|
|
18
|
+
customClass: any;
|
|
18
19
|
correspondenceId: any;
|
|
19
20
|
tagsList: any[];
|
|
20
21
|
tagsFrom: FormGroup;
|
|
@@ -24,5 +25,5 @@ export declare class CorrespondenceTagsComponent implements OnInit, OnChanges {
|
|
|
24
25
|
addTag(): void;
|
|
25
26
|
deleteTag(tagId: any): void;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceTagsComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceTagsComponent, "cts-correspondence-tags", never, { "correspondence": "correspondence"; }, {}, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceTagsComponent, "cts-correspondence-tags", never, { "correspondence": "correspondence"; "customClass": "customClass"; }, {}, never, never>;
|
|
28
29
|
}
|
|
@@ -21,6 +21,7 @@ export declare class AttachmentsPageProviderComponent implements OnInit {
|
|
|
21
21
|
provider: any;
|
|
22
22
|
/** Ancestor ID */
|
|
23
23
|
ancestorId: any;
|
|
24
|
+
params: {};
|
|
24
25
|
/** Emitted on attachment delete */
|
|
25
26
|
deleteSuccess: EventEmitter<any>;
|
|
26
27
|
/** Emits total documents count when they're loaded */
|
|
@@ -33,5 +34,5 @@ export declare class AttachmentsPageProviderComponent implements OnInit {
|
|
|
33
34
|
getAttachments(): void;
|
|
34
35
|
deleteDocument(event: any, attachment: any): void;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentsPageProviderComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentsPageProviderComponent, "cts-attachments-page-provider", never, { "provider": "provider"; "ancestorId": "ancestorId"; }, { "deleteSuccess": "deleteSuccess"; "documentsCount": "documentsCount"; }, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentsPageProviderComponent, "cts-attachments-page-provider", never, { "provider": "provider"; "ancestorId": "ancestorId"; "params": "params"; }, { "deleteSuccess": "deleteSuccess"; "documentsCount": "documentsCount"; }, never, never>;
|
|
37
38
|
}
|
|
@@ -43,6 +43,8 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
43
43
|
customPrefix: any;
|
|
44
44
|
/** to allow custom action to be performed outside the component */
|
|
45
45
|
useCustomAddEditAction: any;
|
|
46
|
+
/** to allow custom parent property name to be paassed from outside the component */
|
|
47
|
+
customParentProperty: any;
|
|
46
48
|
/** emitted when item is selected */
|
|
47
49
|
onSelecting: EventEmitter<any>;
|
|
48
50
|
/** emitted when action is clicked */
|
|
@@ -70,5 +72,5 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
70
72
|
hasErrors(): boolean;
|
|
71
73
|
onAction(e: any): void;
|
|
72
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormDepartmentComponent, [null, null, { optional: true; self: true; }]>;
|
|
73
|
-
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"; }, { "onSelecting": "onSelecting"; "actionClicked": "actionClicked"; }, never, never>;
|
|
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>;
|
|
74
76
|
}
|
|
@@ -18,7 +18,7 @@ export declare class DepartmentApiService {
|
|
|
18
18
|
constructor(CallApiService: CallApiService, translation: TranslationService, nuxeoService: NuxeoService, adapter: AdapterService, environment: any);
|
|
19
19
|
getDepartmentTree(customPageProvider?: any): Observable<any>;
|
|
20
20
|
getDepartmentDetails(code: any, customPageProvider?: any): Observable<any>;
|
|
21
|
-
getDepartmentNestedTree(code: any, customPageProvider?: any): Observable<any>;
|
|
21
|
+
getDepartmentNestedTree(code: any, customPageProvider?: any, customParentCodeProperty?: any): Observable<any>;
|
|
22
22
|
getDepartment(uid: any, fields?: any): Observable<any>;
|
|
23
23
|
createDepartment(Department: any, parentId: any, customOperation?: any, fields?: any): Observable<unknown>;
|
|
24
24
|
createDepartmentInRoot(Department: any, customOperation?: any): Observable<unknown>;
|
|
@@ -60,6 +60,8 @@ export declare class TreeviewSelectComponent implements OnInit, OnChanges, OnDes
|
|
|
60
60
|
useCustomAddEditAction: boolean;
|
|
61
61
|
/** custom prefix to be used for adapting data coming from api */
|
|
62
62
|
customPrefix: any;
|
|
63
|
+
/** custom parent property name to be passed from outside the component */
|
|
64
|
+
customParentProperty: any;
|
|
63
65
|
actionClicked: EventEmitter<any>;
|
|
64
66
|
dropdownTreeviewComponent: DropdownTreeviewComponent;
|
|
65
67
|
filterText: string;
|
|
@@ -97,5 +99,5 @@ export declare class TreeviewSelectComponent implements OnInit, OnChanges, OnDes
|
|
|
97
99
|
*/
|
|
98
100
|
update(item: any): void;
|
|
99
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeviewSelectComponent, never>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeviewSelectComponent, "app-dynamic-form-treeview-select", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "config": "config"; "items": "items"; "value": "value"; "multiple": "multiple"; "defaultSelect": "defaultSelect"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "useCustomAddEditAction": "useCustomAddEditAction"; "customPrefix": "customPrefix"; }, { "valueChange": "valueChange"; "plusClicked": "plusClicked"; "actionClicked": "actionClicked"; }, never, never>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeviewSelectComponent, "app-dynamic-form-treeview-select", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "config": "config"; "items": "items"; "value": "value"; "multiple": "multiple"; "defaultSelect": "defaultSelect"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "useCustomAddEditAction": "useCustomAddEditAction"; "customPrefix": "customPrefix"; "customParentProperty": "customParentProperty"; }, { "valueChange": "valueChange"; "plusClicked": "plusClicked"; "actionClicked": "actionClicked"; }, never, never>;
|
|
101
103
|
}
|