nuxeo-development-framework 1.9.2 → 1.9.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 +154 -51
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +1 -1
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +8 -3
- package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +1 -1
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +117 -26
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +5 -1
- package/esm2015/lib/components/filter/filter/filter.component.js +1 -1
- package/esm2015/lib/components/table/table/table.component.js +25 -15
- package/esm2015/lib/components/table/table.module.js +5 -4
- package/fesm2015/nuxeo-development-framework.js +137 -34
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +4 -1
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +16 -1
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +4 -3
- package/lib/components/table/table/table.component.d.ts +2 -0
- package/lib/components/table/table.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -22,6 +23,8 @@ export declare class DynamicFormSlideToggleitemComponent implements ControlValue
|
|
|
22
23
|
checked: boolean;
|
|
23
24
|
/** @deprecated Not used */
|
|
24
25
|
theme: String;
|
|
26
|
+
/** event to emit to outside to tell about toggling */
|
|
27
|
+
onToggle: EventEmitter<any>;
|
|
25
28
|
onChange: any;
|
|
26
29
|
onTouched: any;
|
|
27
30
|
constructor(control: NgControl);
|
|
@@ -33,5 +36,5 @@ export declare class DynamicFormSlideToggleitemComponent implements ControlValue
|
|
|
33
36
|
setValue(event: any): void;
|
|
34
37
|
ngOnInit(): void;
|
|
35
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormSlideToggleitemComponent, [{ optional: true; self: true; }]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormSlideToggleitemComponent, "cts-dynamic-form-slide-toggleitem", never, { "label": "label"; "disabled": "disabled"; "checked": "checked"; "theme": "theme"; }, {}, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormSlideToggleitemComponent, "cts-dynamic-form-slide-toggleitem", never, { "label": "label"; "disabled": "disabled"; "checked": "checked"; "theme": "theme"; }, { "onToggle": "onToggle"; }, never, never>;
|
|
37
40
|
}
|
|
@@ -2,6 +2,9 @@ import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
+
import { EvaluatorsService } from '../../../directive/permissions/evaluators.service';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
/**
|
|
7
10
|
* Dynamic search component uses [Dynamic Table]{@link DynamicTableComponent} & [Dynamic Filter]{@link DynamicFilterComponent} internally,
|
|
@@ -29,6 +32,9 @@ import * as i0 from "@angular/core";
|
|
|
29
32
|
export declare class DynamicSearchComponent implements OnInit, OnChanges {
|
|
30
33
|
private route;
|
|
31
34
|
private router;
|
|
35
|
+
private evaluatorService;
|
|
36
|
+
private nuxeoService;
|
|
37
|
+
private environment;
|
|
32
38
|
breakpointObserver: BreakpointObserver;
|
|
33
39
|
text: string;
|
|
34
40
|
aggregations: any;
|
|
@@ -65,18 +71,27 @@ export declare class DynamicSearchComponent implements OnInit, OnChanges {
|
|
|
65
71
|
customResponsiveStyle: boolean;
|
|
66
72
|
openCloseFilterFromOutside: boolean;
|
|
67
73
|
theme: any;
|
|
68
|
-
|
|
74
|
+
useToggleFilters: any;
|
|
75
|
+
quickFilters: string;
|
|
76
|
+
savedPersFilterValue: any;
|
|
77
|
+
savedDepFilterValue: any;
|
|
78
|
+
resultSets: any[];
|
|
79
|
+
constructor(route: ActivatedRoute, router: Router, evaluatorService: EvaluatorsService, nuxeoService: NuxeoService, environment: any, breakpointObserver: BreakpointObserver);
|
|
69
80
|
ngOnChanges(changes: SimpleChanges): void;
|
|
70
81
|
ngOnInit(): void;
|
|
82
|
+
constructParamsFunction(params: any): {};
|
|
71
83
|
updateQueryParams(newQueryparams: object): void;
|
|
72
84
|
searchInputPopulate(): void;
|
|
73
85
|
FilterSelected(val: any): void;
|
|
74
86
|
paginationChange(event: any): void;
|
|
75
87
|
getTableData(data: any): void;
|
|
76
88
|
submitForm(): void;
|
|
89
|
+
getToggleFilters(): "" | "personalFilter" | "departmentFilter";
|
|
90
|
+
setOptionValue(searchedText: any): void;
|
|
77
91
|
onOpenFilter(): void;
|
|
78
92
|
breakpoint(): void;
|
|
79
93
|
performAction(action: any): void;
|
|
94
|
+
search(term: string): Observable<any>;
|
|
80
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicSearchComponent, never>;
|
|
81
96
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicSearchComponent, "cts-dynamic-search", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "sortingBy": "sortingBy"; "fullTextParamName": "fullTextParamName"; "filter": "filter"; "onRowSelected": "onRowSelected"; "sortingArray": "sortingArray"; "customResponsiveStyle": "customResponsiveStyle"; "openCloseFilterFromOutside": "openCloseFilterFromOutside"; "theme": "theme"; }, { "actionOnRow": "actionOnRow"; }, never, never>;
|
|
82
97
|
}
|
|
@@ -6,14 +6,15 @@ import * as i4 from "../dynamic-table/dynamic-table.module";
|
|
|
6
6
|
import * as i5 from "../dynamic-filter/dynamic-filter.module";
|
|
7
7
|
import * as i6 from "../dynamic-form/dynamic-form.module";
|
|
8
8
|
import * as i7 from "@angular/forms";
|
|
9
|
-
import * as i8 from "@
|
|
10
|
-
import * as i9 from "@
|
|
9
|
+
import * as i8 from "@angular/material/autocomplete";
|
|
10
|
+
import * as i9 from "@ngx-translate/core";
|
|
11
|
+
import * as i10 from "@angular/material/progress-spinner";
|
|
11
12
|
/**
|
|
12
13
|
* @title
|
|
13
14
|
* Dynamic Search Module
|
|
14
15
|
*/
|
|
15
16
|
export declare class DynamicSearchModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicSearchModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicSearchModule, [typeof i1.DynamicSearchComponent], [typeof i2.CommonModule, typeof i3.CardModule, typeof i4.DynamicTableModule, typeof i5.DynamicFilterModule, typeof i6.DynamicFormModule, typeof i7.ReactiveFormsModule, typeof i7.FormsModule, typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicSearchModule, [typeof i1.DynamicSearchComponent], [typeof i2.CommonModule, typeof i3.CardModule, typeof i4.DynamicTableModule, typeof i5.DynamicFilterModule, typeof i6.DynamicFormModule, typeof i7.ReactiveFormsModule, typeof i8.MatAutocompleteModule, typeof i7.FormsModule, typeof i9.TranslateModule, typeof i10.MatProgressSpinnerModule], [typeof i1.DynamicSearchComponent]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicSearchModule>;
|
|
19
20
|
}
|
|
@@ -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
|
+
/** flage used to disable actions if there was multi selected rows */
|
|
87
|
+
disabledActions: boolean;
|
|
86
88
|
isArabic: boolean;
|
|
87
89
|
tableWidth: string;
|
|
88
90
|
tableColumns: any[];
|
|
@@ -8,12 +8,13 @@ import * as i6 from "@ngx-translate/core";
|
|
|
8
8
|
import * as i7 from "@angular/material/tooltip";
|
|
9
9
|
import * as i8 from "../../directive/directive.module";
|
|
10
10
|
import * as i9 from "../dynamic-view/dynamic-view.module";
|
|
11
|
+
import * as i10 from "@angular/material/checkbox";
|
|
11
12
|
/**
|
|
12
13
|
* @title
|
|
13
14
|
* Table Module
|
|
14
15
|
*/
|
|
15
16
|
export declare class TableModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.DynamicColumnComponent], [typeof i3.CommonModule, typeof i4.NgxDatatableModule, typeof i5.PipesModule, typeof i6.TranslateModule, typeof i7.MatTooltipModule, typeof i8.DirectiveModule, typeof i9.DynamicViewModule, typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.DynamicColumnComponent], [typeof i3.CommonModule, typeof i4.NgxDatatableModule, typeof i5.PipesModule, typeof i6.TranslateModule, typeof i7.MatTooltipModule, typeof i8.DirectiveModule, typeof i9.DynamicViewModule, typeof i10.MatCheckboxModule], [typeof i1.TableComponent, typeof i2.DynamicColumnComponent, typeof i4.NgxDatatableModule]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
19
20
|
}
|