@alfresco/adf-content-services 8.4.0-20233595538 → 8.4.0-20234340352
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/fesm2022/adf-content-services.mjs +41 -62
- package/fesm2022/adf-content-services.mjs.map +1 -1
- package/lib/document-list/components/document-list.component.d.ts +2 -0
- package/lib/document-list/components/filter-header/filter-header.component.d.ts +12 -7
- package/package.json +3 -3
- package/lib/document-list/components/document-list.token.d.ts +0 -18
|
@@ -308,6 +308,8 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
308
308
|
updatePagination(requestPaginationModel: RequestPaginationModel): void;
|
|
309
309
|
private syncPagination;
|
|
310
310
|
onFilterSelectionChange(activeFilters: FilterSearch[]): void;
|
|
311
|
+
onFilterSearchResultsReady(nodePaging: NodePaging): void;
|
|
312
|
+
onFiltersCleared(): void;
|
|
311
313
|
resetNewFolderPagination(): void;
|
|
312
314
|
private handleError;
|
|
313
315
|
getPreselectedNodesBasedOnSelectionMode(): NodeEntry[];
|
|
@@ -15,29 +15,34 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
-
import {
|
|
18
|
+
import { DataSorting, PaginationModel } from '@alfresco/adf-core';
|
|
19
19
|
import { FilterSearch } from './../../../search/models/filter-search.interface';
|
|
20
|
+
import type { NodePaging } from '@alfresco/js-api';
|
|
20
21
|
import * as i0 from "@angular/core";
|
|
21
22
|
export declare class FilterHeaderComponent implements OnInit, OnChanges {
|
|
22
|
-
private documentList;
|
|
23
|
-
private searchFilterQueryBuilder;
|
|
24
23
|
/** (optional) Initial filter value to sort . */
|
|
25
24
|
value: any;
|
|
26
25
|
/** The id of the current folder of the document list. */
|
|
27
26
|
currentFolderId: string;
|
|
27
|
+
/** Pagination model from the document list */
|
|
28
|
+
pagination: PaginationModel;
|
|
29
|
+
/** Sorting configuration from the document list */
|
|
30
|
+
sorting: DataSorting[];
|
|
28
31
|
/** Emitted when a filter value is selected */
|
|
29
32
|
filterSelection: EventEmitter<FilterSearch[]>;
|
|
33
|
+
/** Emitted when search results are ready */
|
|
34
|
+
searchResultsReady: EventEmitter<NodePaging>;
|
|
35
|
+
/** Emitted when filters are cleared and document list should reload */
|
|
36
|
+
filtersCleared: EventEmitter<void>;
|
|
30
37
|
isFilterServiceActive: boolean;
|
|
38
|
+
private readonly searchFilterQueryBuilder;
|
|
31
39
|
private readonly destroyRef;
|
|
32
|
-
constructor(documentList: any, searchFilterQueryBuilder: SearchHeaderQueryBuilderService);
|
|
33
40
|
ngOnInit(): void;
|
|
34
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
35
42
|
onFilterSelectionChange(): void;
|
|
36
43
|
resetFilterHeader(): void;
|
|
37
|
-
initDataPagination(): void;
|
|
38
|
-
initDataSorting(): void;
|
|
39
44
|
private configureSearchParent;
|
|
40
45
|
private initSearchHeader;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterHeaderComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterHeaderComponent, "adf-filter-header", never, { "value": { "alias": "value"; "required": false; }; "currentFolderId": { "alias": "currentFolderId"; "required": true; }; }, { "filterSelection": "filterSelection"; }, never, never, true, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterHeaderComponent, "adf-filter-header", never, { "value": { "alias": "value"; "required": false; }; "currentFolderId": { "alias": "currentFolderId"; "required": true; }; "pagination": { "alias": "pagination"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; }, { "filterSelection": "filterSelection"; "searchResultsReady": "searchResultsReady"; "filtersCleared": "filtersCleared"; }, never, never, true, never>;
|
|
43
48
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-content-services",
|
|
3
3
|
"description": "Alfresco ADF content services",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-20234340352",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@angular/platform-browser": ">=14.1.3",
|
|
22
22
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
23
23
|
"@angular/router": ">=14.1.3",
|
|
24
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
24
|
+
"@alfresco/js-api": ">=9.4.0-20234340352",
|
|
25
25
|
"@ngx-translate/core": ">=16.0.0",
|
|
26
|
-
"@alfresco/adf-core": ">=8.4.0-
|
|
26
|
+
"@alfresco/adf-core": ">=8.4.0-20234340352"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"content-services",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { InjectionToken } from '@angular/core';
|
|
18
|
-
export declare const ADF_DOCUMENT_PARENT_COMPONENT: InjectionToken<unknown>;
|