@alfresco/adf-content-services 8.1.0-16047635687 → 8.1.0-16072835889

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.
@@ -40,6 +40,9 @@ export declare class AspectListComponent implements OnInit {
40
40
  hasEqualAspect: boolean;
41
41
  isPanelOpen: boolean[];
42
42
  private readonly destroyRef;
43
+ private customAspectsLoaded;
44
+ private standardAspectsLoaded;
45
+ private hasMoreAspects;
43
46
  constructor(aspectListService: AspectListService, nodeApiService: NodesApiService);
44
47
  ngOnInit(): void;
45
48
  onCheckBoxClick(event: Event): void;
@@ -49,6 +52,7 @@ export declare class AspectListComponent implements OnInit {
49
52
  getId(aspect: any): string;
50
53
  getTitle(aspect: any): string;
51
54
  private updateEqualityOfAspectList;
55
+ private loadAspects;
52
56
  static ɵfac: i0.ɵɵFactoryDeclaration<AspectListComponent, never>;
53
57
  static ɵcmp: i0.ɵɵComponentDeclaration<AspectListComponent, "adf-aspect-list", never, { "nodeId": { "alias": "nodeId"; "required": true; }; "excludedAspects": { "alias": "excludedAspects"; "required": false; }; }, { "valueChanged": "valueChanged"; "updateCounter": "updateCounter"; }, never, never, true, never>;
54
58
  }
@@ -0,0 +1,21 @@
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 { AspectPaging } from '@alfresco/js-api';
18
+ export interface CustomAspectPaging {
19
+ standardAspectPaging: AspectPaging;
20
+ customAspectPaging: AspectPaging;
21
+ }
@@ -20,4 +20,5 @@ export * from './services/aspect-list.service';
20
20
  export * from './services/node-aspect.service';
21
21
  export * from './services/dialog-aspect-list.service';
22
22
  export * from './aspect-list-dialog-data.interface';
23
+ export * from './interfaces/custom-aspect-paging.interface';
23
24
  export * from './aspect-list.module';
@@ -1,17 +1,19 @@
1
1
  import { AlfrescoApiService } from '../../services/alfresco-api.service';
2
2
  import { AppConfigService } from '@alfresco/adf-core';
3
3
  import { Observable } from 'rxjs';
4
- import { AspectEntry, AspectsApi } from '@alfresco/js-api';
4
+ import { AspectPaging, AspectsApi, ListAspectsOpts } from '@alfresco/js-api';
5
+ import { CustomAspectPaging } from '../interfaces/custom-aspect-paging.interface';
5
6
  import * as i0 from "@angular/core";
7
+ export declare const StandardAspectsWhere = "(modelId in ('cm:contentmodel', 'emailserver:emailserverModel', 'smf:smartFolder', 'app:applicationmodel' ))";
8
+ export declare const CustomAspectsWhere = "(not namespaceUri matches('http://www.alfresco.*'))";
6
9
  export declare class AspectListService {
7
10
  private alfrescoApiService;
8
11
  private appConfigService;
9
12
  private _aspectsApi;
10
13
  get aspectsApi(): AspectsApi;
11
14
  constructor(alfrescoApiService: AlfrescoApiService, appConfigService: AppConfigService);
12
- getAspects(): Observable<AspectEntry[]>;
13
- getStandardAspects(whiteList: string[]): Observable<AspectEntry[]>;
14
- getCustomAspects(whiteList?: string[]): Observable<AspectEntry[]>;
15
+ getAllAspects(standardOpts?: ListAspectsOpts, customOpts?: ListAspectsOpts): Observable<CustomAspectPaging>;
16
+ getAspects(whiteList: string[], opts?: ListAspectsOpts): Observable<AspectPaging>;
15
17
  private filterAspectByConfig;
16
18
  getVisibleAspects(): string[];
17
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AspectListService, never>;
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.1.0-16047635687",
4
+ "version": "8.1.0-16072835889",
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.1.0-16047635687",
24
+ "@alfresco/js-api": ">=9.1.0-16072835889",
25
25
  "@ngx-translate/core": ">=16.0.0",
26
- "@alfresco/adf-core": ">=8.1.0-16047635687"
26
+ "@alfresco/adf-core": ">=8.1.0-16072835889"
27
27
  },
28
28
  "keywords": [
29
29
  "content-services",